body {
  font-family: 'Noto Sans JP', sans-serif;
}

/* The content sections' rows sit directly inside .wrapper with no Bootstrap
   .container to absorb the row's negative ±15px gutters, which pushed them
   15px past the viewport and caused left/right scroll. Tiles already have
   zero padding, so the negative margins serve no purpose here. */
.site-container .row {
  margin-left: 0;
  margin-right: 0;
}

.hidden {
  display: none;
}

.clear-div,
.clear-20,
.clear-50,
.clear-100 {
  clear: both;
}

.clear-20 {
  margin-top: 20px;
}

.clear-50 {
  margin-top: 50px;
}

.clear-100 {
  margin-top: 100px;
}

.img-center {
  margin: 0 auto;
}

h2 {
  font-size: 2.5em;
  text-align: center;
}

.col-menu {
  padding-top: 20px;
  padding-bottom: 13px;
  background-color: #333;
  background-color: rgba(0, 0, 0, 0);
  font-size: 1.8em;
}

video#bgvid {
  width: 177.778vh;
  height: 100vh;
  min-width: 100vw;
  min-height: 56.25vw;
  background-image: url('img/cover-background.webp');
  background-size: cover;
}

@media screen and (max-device-width: 800px) {
  .cover-wrapper {
    background: url('img/cover-background.webp') #000 no-repeat center center;
  }

  video#bgvid { display: none; }
}

.wrapper .container {
  padding-top: 20px;
  padding-bottom: 40px;
}

.section {
  margin-bottom: 20px;
}

.container h3 {
  text-align: left;
}

/* prevents selecting brand on navigation bar */
.wrapper .container h3 /* .grid-heading, effectively */ {
  display: inline-block;
  margin-left: 0;
  padding: 5px 20px;
  /* Features */
  background-color: #444;
  background-color: rgba(67, 67, 67, 0.50);
}

.wrapper.artists {
  display: table;
  min-height: 100%;
}

.wrapper.artists .va {
  display: table-cell;
  vertical-align: middle;
}

.grid-heading {
  padding: 0;
  margin: 5px -15px;
}

.grid-heading h1 {
  font-size: 44px;
  text-align: center;
  margin: 0 20px;
}

@media (max-width: 992px) {
  .grid-heading h1 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .grid-heading h1 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .grid-heading h1 {
    display: none;
  }
}

#bpw-reel .grid-heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 24px;
  font-style: oblique;
  color: #FFF;
  text-align: center;
  padding: 0 20px;
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */
}

#bpw-reel .bpw-logo {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

@media (max-width: 600px) {
  .grid-heading h1 {
    display: none;
  }

  #bpw-reel .bpw-logo {
    display: block;
  }
}

.item {
  padding: 0;
  margin: 0 0;
}

/* Force each 3-up row in the work grid to start on a fresh line so tiny
   (sub-pixel / 1px) thumbnail height differences can't cause float
   "snagging" that leaves gaps between tiles. */
@media (min-width: 768px) {
  #client-work .item:nth-of-type(3n+1) {
    clear: left;
  }
}

.item img {
  width: 100%;
  height: 100%;
}

.item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  /* Features */
  width: 100%;
  padding: 10px 0;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.5);
  /* Font */
  text-align: center;
  color: white;
  font-size: 16px;
  /* Advanced */
  pointer-events: none;
}

.item-brand {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.item-brand.visible,
.item:hover .item-brand {
  display: block !important;
}

.item-brand div,
#bpw-reel .bpw-logo div {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 5%;
  right: 5%;
  margin: auto;
  width: 90%;
  height: 90%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.navbar-inverse {
  background-color: transparent;
  border: none;
}

.clients {
  min-height: 100vh;
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(img/clients.jpg);
}

@media (min-width: 768px) {
  .clients {
    background-size: 750px auto;
    min-height: 650px;
  }
}

@media (min-width: 992px) {
  .clients {
    background-size: 970px auto;
    min-height: 900px;
  }
}

@media (min-width: 1200px) {
  .clients {
    background-size: 1170px auto;
    min-height: 850px;
  }
}

.contact {
  position: relative;
  background-size: 100% auto;
  background-size: cover;
  background-position: center;
  text-align: center;
  white-space: no-wrap;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
}

.contact-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
}

.contact:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}

.contact .container {
  display: inline-block;
  vertical-align: middle;
}

.contact-header {
  background-color: rgba(0, 0, 0, 0.5);
}

.contact-section {
  text-transform: uppercase;
}

/* Decimal Point contact sits directly below the work grid. Give the black
   wrapper its own top padding (instead of a child's collapsing margin, which
   escaped the wrapper and exposed the page background as a gray band). */
.page-decimal #mission-contact-wrapper {
  padding-top: 120px;
}

.contact-section dl, .contact-section ul {
  text-align: center;
}

.section {
  margin-bottom: 0;
}

.section p {
  font-size: 24px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1100px;
  margin: 20px auto;
}

.section.about-section, .section.mission-section, .section.contact-section {
  padding: 0 20px;
}

.section.contact-section p {
  margin-bottom: 30px;
}

.section.contact-section .small {
  font-size: 16px;
}

.contact-header {
  position: absolute;
  left: 50%;
  top: -40px;
  width: 50%;
  height: 40px;
  margin-left: -25%;
}

.contact-header h4 {
  color: white;
  text-align: center;
  margin-top: 8px;
  font-size: 24px;
}

.contact-footer ul {
  list-style: none;
  display: inline-block;
  margin: 0 auto;
  padding: 0;
  min-height: 50px;
}

.contact-footer ul li {
  display: block;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  float: left;
  text-shadow: none;
}

.contact-footer > a {
  font-size: 14pt;
}

.contact-footer ul li a {
  font-size: 8pt;
}

.contact-logo {
  margin-bottom: 10px;
}

a.anchor {
  position: relative;
  display: block;
  top: -77px;
  visibility: hidden;
}

a,
a.focus,
button.focus,
input.focus,
textarea.focus,
img.focus {
	outline: none !important;
}

.anchor-work {
  position: relative;
  display: block;
  top: 270px;
  visibility: hidden;
}

.mfp-iframe-holder .mfp-content {
  max-width: 1100px;
}

#iframe-container .mfp-close {
  top: 2px;
  padding-right: 20px;
}

.credits-container {
  width: 100%;
  background: #000;
  color: #FFF;
  position: relative;
  display: inline-block;
  padding: 20px 20px 10px 20px;
}

.credits-container p {
  display: block;
  position: relative;
  line-height: 1.4em;

}

.credits-container .credits-left {
  width: 33%;
  display: inline-block;
  float: left;
}

.credits-container .credits-right {
  width: 66%;
  display: inline-block;
  text-align: center;
  float: right;
}

@media (max-width: 768px) {
  .break-mobile {
    display: inline-block;
    margin-top: 10px;
  }
}

/* About / bio portrait */
.about-portrait {
  display: block;
  width: 240px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 20px;
}

.about-title {
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .about-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .about-portrait {
    width: 180px;
  }
}




