/* BIOS AND CAST PAGE CSS
-------------------------------*/
#cast h2{
  margin-top:40px;
  font-family:'StempelSchneidlerW01-Md';
  font-weight:700;
  font-size:350%;
}

#cast-bios, #creative-bios {
  list-style: none;
  text-align: center;
  margin-top:15px;
}

#cast-bios, #creative-bios {
  margin-bottom:75px;
}

#cast-bios .cast-member {
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.3em;
  text-transform: uppercase;
  cursor: pointer;
  width: 22%;
  margin: 1.35%;
  vertical-align: top;
}
#creative-bios .cast-member {
  vertical-align: top;
  position: relative;
  display: inline-block;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.3em;
  text-transform: uppercase;
  cursor: pointer;
  width: 22%;
  margin: 1.35%;
}

.cast-member:hover, .creative-member:hover {
  text-decoration: none;
}

.cast-member img, .creative-member img {
  width: 100%;
  height: auto;
}

.cast-name, .creative-name {
  font-size: 129%;
  font-weight: 400;
  margin: 3% -5% 0;
  font-family:'StempelSchneidlerW01-Bl_729415', Georgia, serif;
}

#creative-bios .cast-name, #creative-bios .creative-name {
  margin-top: 0;
}

.cast-role, .creative-role {
  margin-top: .25em;
  font-style: italic;
}

.cast-thumb, .creative-thumb {
  width: 100%;
  height: auto;
}
.cast-image, .creative-image {
  background-image: url('img/gfx_pic_bg_small.png');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 14px 15px 16px 15px !important;
}
/*
.cast-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity .25s;
  transition: opacity .25s;
  border: 1px solid #999;
}*/

/* OVERLAY CSS
-------------------------------*/
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 50px;
  left: 0;
  background: #53221d;
  /*z-index: 20000;*/
  z-index: 101;
  overflow-y: auto;
}
.overlay .container {
  max-width: 80% !important;
  width: 80% !important;
}
.overlay a:hover, .overlay a:active, .overlay a {
  text-decoration: none !important;
}
.overlay .castpic, .overlay .creativepic {
  background-image: url('img/gfx_pic_bg_large.png');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 1.4% 1.5% 1.5% 1.5% !important;
}
.overlay .castinfo a, .overlay .creativeinfo a {
  color: #e3d269 !important;
}
.overlay .castinfo h3, .overlay .creativeinfo h3 {
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.60);
  color: #f8c400 !important;
}
.overlay .castinfo p, .overlay .creativeinfo p {
  font-size: 141%;
  font-family: 'StempelSchneidlerW01-Me', sans-serif;
  line-height: 1.5;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.60);
  color:#fff !important;
}

/* Overlay closing cross */

.overlay .overlay-close {
  background: none;
  border: none;
  color: #f8c400 !important;
  display: block;
  float: right;
  font-family: 'DIN_1451 W01 Engschrift', sans-serif;
  font-size: 175%;
  font-weight: 700;
  margin: 1.5em;
  max-width: 50px !important;
  outline: none;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
  width: 50%;
}
.overlay-close img {
  width: 100%;
}
.overlay .fc-icon:after {
  font-size: 200% !important;
}
.overlay .overlay-next, .overlay .overlay-prev {
  display: block;
  position: absolute;
  top: 25%;
  outline: none;
  border: none;
  padding: 3px;
  font-size: 600%;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}
.overlay .overlay-next:after, .overlay .overlay-prev:after {
  display: inline;
  text-align: center;
  content: "\02039";
  font-weight: normal;
  /* baseline-shift: super; */
  margin-top: -3px;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  font-family: "Courier New", Courier, monospace;
  vertical-align: baseline;
  color: #f8c400 !important;
  margin-top: -1.5em;
  text-shadow: 0px 1px #000;
  text-decoration: none;
}
.overlay .overlay-next:hover:after, .overlay .overlay-prev:hover:after {
  color: #f8c400 !important;
  text-decoration: none;
}
.overlay .overlay-next:after {
  content: "\0203A";
  text-decoration: none;
}
.overlay-next {
  right: 1%;
  text-decoration: none;
}
.overlay-prev {
  content: "\02039";
  left: 1%;
  text-decoration: none;
}

/* Effects */

html, body {
  overflow-x: hidden;
}
#cast-bios, #creative-bios {
  /*overflow-x: hidden;*/
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}
#cast-bios.overlay-open, #creative-bios.overlay-open {
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
}
#creative-bios::after, #cast-bios::after {
  content: '';
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, visibility 0s 0.5s;
}
#cast-bios.overlay-open::after, #creative-bios.overlay-open::after {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.overlay-contentpush {
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.5s, visibility 0s 0.5s;
  transition: transform 0.5s, visibility 0s 0.5s;
}
.overlay-contentpush.open {
  visibility: visible;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}
#overlay-inner {
  clear: both;
  color: #fff !important;
  text-align: left;
  margin-top: 5em;
}
#overlay-inner h3 {
  margin: 0 auto 10px;
}
#overlay-inner img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* MEDIA QUERIES */

@media (max-width: 480px) {
  #overlay-inner {
    border: none;
    margin-top: 3em;
  }
  .overlay .overlay-close {
    width: 80px;
  }
  #overlay-inner h3 {
    margin: 0 auto 10px !important;
    font-size: 100% !important;
  }
  #overlay-inner p {
    font-size: 105% !important;
    line-height: 1.6 !important;
  }
  #overlay-inner img {
    /* display: none;*/
  }
  .cast-image, .creative-image {
    padding: 6% !important;
  }
  .overlay .castpic, .overlay .creativepic {
    padding: 3% !important;
  }
}
@media (max-width: 767px) {
  .overlay .container {
    max-width: 80% !important;
    width: 80% !important;
  }
  .overlay .overlay-close {
    width: 120px;
  }
  .overlay .col-sm-4 {
    padding: 5.5%;
    width: 60%;
    margin: 5% auto;
  }
  #overlay-inner {
    border: none;
    font-size: 100%;
    margin-top: 3em;
  }
  #overlay-inner h3 {
    margin: 0 auto 10px;
    font-size: 100%;
  }
  #overlay-inner p {}
  #overlay-inner img {
    /* display: none;*/
  }
  .cast-image, .creative-image {
    padding: 6% !important;
  }
  .overlay .castpic, .overlay .creativepic {
    padding: 3% !important;
  }

  #cast-bios .cast-member {
    font-size: 1.0rem;
    line-height: 1.3em;
    margin: 1.35%;
  }
  #creative-bios .cast-member {
    font-size: 1.1rem;
    line-height: 1.3em;
    margin: 1.2%;
  }
  #cast-bios, #creative-bios {
    margin-bottom:0 !important;
  }
  #cast h2{
    margin-top:25px;
    font-size:250%;
  }

}
@media (max-width: 540px) {
  .cast-image {
    padding: 5.5% 6% !important;
  }
  .overlay .castpic, .overlay .creativepic {
    padding: 3% !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .cast-image, .creative-image {
    padding: 6% !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .cast-image, .creative-image{
    padding: 6% !important;
  }
}
@media (min-width: 1200px) {}