
/* overrides for making heroResizer work */

#episodes-wrapper {
	background-color: transparent;
}

.cast-group-page .dart-tag {
	margin-right: 30px;	
}


.cast-group-page .tiles-holder {
	margin-left: 15px;
}

/* hero image */


.cast-group-page .cast-hero .hero-text {
  position: absolute;
  top: 2%;
  left: 25px;
}

.cast-group-page .cast-hero .episode-title {
  display: block;
  font-family: 'AmperstandardHeavy';
  font-size: 1.4vh;
  margin-top: 0;
}

.cast-group-page .cast-hero .episode-cta {
  font-family: 'AmperstandardLight';
  font-size: 1.4vh;
}

.cast-group-page .cast-hero .cast-text {
  bottom: 15%;
  padding: 0;
  position: absolute;
  color: #fff;
  left: 25px;
}

.cast-group-page .cast-hero .cast-header-text {
 font-size: 26px;
}

/* show name + text header */

.cast-group-page .show-title {
  height: 16px;
  font-family: 'AmperstandardHeavy';
  text-transform: uppercase;
  font-size: 15px;
  padding: 16px 0px 5px 25px;
  color: #0a63b0;
  margin-left: 0px;
}

.cast-group-page .show-title span {
  font-family: 'Amperscript';
  font-size: 15px;
  color: #1f323d;;
  text-transform: none;
}

/* cast panel */

.cast-group-page .cast-panel {
	float: left;
  margin: 0;
  width: 296px;
  height: 306px; 
  position: relative;
  font-size: .8em;
  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  -ms-perspective: 600px;
  -webkit-box-shadow: 0px 0px 3px 1px rgba(00, 00, 00, 0.2);
  box-shadow: 0px 0px 3px 1px rgba(00, 00, 00, 0.2);
  background: #0a63b0;
}

.cast-group-page .cast-panel .front {
  position: absolute;
  top: 0;
  z-index: 600;
  width: inherit;
  width: 296px;
  height: 210px;
  -webkit-backface-visibility: hidden;  
  -moz-backface-visibility: hidden;  
  backface-visibility: hidden;
  -webkit-transform: perspective(600px) rotateY(0deg);
  -moz-transform: perspective(600px) rotateY(0deg);
  transform: perspective(600px) rotateY(0deg);
  -o-transition: all .4s ease-in-out;
  -ms-transition: all 0s ease-in;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
}

.cast-group-page .cast-panel.flip .front {
  z-index: 600;
  -webkit-transform: perspective(600px) rotateY(180deg);
  -moz-transform: perspective(600px) rotateY(180deg);
  transform: perspective(600px) rotateY(180deg);
}

.cast-group-page .cast-panel .back {
  position: absolute;
  top: 0;
  z-index: 500;
  width: inherit;
  height: 210px;
  -webkit-backface-visibility: hidden;  
  -moz-backface-visibility: hidden;  
  backface-visibility: hidden;
  -webkit-transform: perspective(600px) rotateY(-180deg);
  -moz-transform: perspective(600px) rotateY(-180deg);
  transform: perspective(600px) rotateY(-180deg);
  -o-transition: all .4s ease-in-out;
  -ms-transition: all 0s ease-in;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
}

.cast-group-page .cast-panel.flip .back {
  z-index: 700;
  -webkit-transform: perspective(600px) rotateY(0deg);
  -moz-transform: perspective(600px) rotateY(0deg);
  transform: perspective(600px) rotateY(0deg);
}

.no-csstransforms3d .cast-group-page .cast-panel .back, .no-csstransforms3d .cast-group-page .cast-panel.flip .front {
  visibility: hidden;
}

.no-csstransforms3d .cast-group-page .cast-panel.flip .back, .no-csstransforms3d .cast-group-page .cast-panel .front {
  visibility: visible;
}

.cast-group-page .cast-panel h4, .cast-group-page .cast-panel h2, .cast-group-page .cast-panel h6, .cast-group-page .cast-panel .flipper {
	font-family: 'AmperstandardLight', sans-serif;
	color: #fff;
	padding: 0 0 0 14px;
	margin: 0;
}

.cast-group-page .cast-panel h4, .cast-group-page .cast-panel .header-text {
	margin: 10px 0 0 0;	
}

.cast-group-page .cast-panel .header-text {
  font-size: 16px;
  display: block;
}

.cast-group-page .cast-panel h2 {
	font-size: 24px;
	font-family: 'AmperstandardLight', sans-serif;
}

.cast-group-page .cast-panel .back h4 {
	margin: 10px 0 0 0;
  font-size: 15px;
  font-family: 'AmperstandardMedium';
}

.cast-group-page .cast-panel .thumb {
	max-width: 100%;
	max-height: 100%;	
}

.cast-group-page .cast-panel .flipper {
	cursor:pointer;
	position: absolute;
	bottom: 13px;
	left: 0;
	text-transform: uppercase;
	font-family: 'Amperserif';
  color: #f4f1e2;
}

.cast-group-page .cast-panel:hover .flipper, .cast-group-page .cast-panel .flipper:hover {
  color: #e8483f;

}

.cast-group-page .cast-panel .scrollpane {
    width: 236px;
    height: 212px;
    overflow: hidden;
    margin: 12px 0 0 14px;
    font-family: 'AmperstandardLight', sans-serif;
    color: #f4f1e2;
    font-size: 13px;
    letter-spacing: 0.5px;
    line-height: 18px;
}

.cast-group-page .cast-panel .icon {
	position: absolute;
	bottom: 0;
	right: 0;
}

.cast-group-page .cast-panel .vscroller-controls {
  position: absolute;
  top: 37px;
  right: 10px;	
}

.cast-group-page .vscroller-controls .scroll-down { margin-top: 3px; }

#sub-navigation.bio-group #current-cast {
	float: left;
}

#sub-navigation.bio-group #current-cast-bg {
  z-index: 100;
}

#sub-navigation.bio-group #current-cast span {
	position: relative;
  z-index: 150;
}

#sub-navigation.bio-group .show-next {
  bottom: -37px;
}

/* navigation flyout */
.cast-group-qtip { max-width: 229px !important; background-color: transparent !important;  border-width: 0 !important;  color: #53524f !important; }
.cast-group-qtip .qtip-tip canvas { display: none; }
.cast-group-qtip .qtip-content { padding: 5px 0 5px 9px; }
.cast-group-qtip .navi-fly { background-color: #d5d7c9;  color: #53524f;  padding: 20px; }
.cast-group-qtip .navi-fly .cast-name { font-size: 11px; }
.cast-group-qtip .navi-fly .cast-name-no-title { font-size: 16px;  margin: 0 0 17px 0; }
.cast-group-qtip .navi-fly .cast-title { font-size: 16px;  margin: 9px 0 17px 0; }
.cast-group-qtip .navi-fly .cast-thumb { margin: 20px 0 0 0;  width: 169px;  height: 149px; }
.cast-group-qtip .navi-fly .cast-thumb img { height: 100%;  width: 100%; }
.cast-group-qtip .tip { background: transparent url(/profiles/aetv/modules/custom/aetv_cast/images/flyoutTip.png) no-repeat;  height: 16px;  width: 23px;  margin: 0 auto; }
.cast-group-qtip .qtip-tablet {
  text-decoration: none;
}

.cast-group-page .qtip-close-tablet a {
  position: relative;
  text-indent: -10000px;
  background: transparent url(/profiles/aetv/modules/custom/aetv_episode/images/ep-nav-pop-close.png) no-repeat 50% 7px;
}

.cast-group-qtip.qtip-pos-br {
  margin-top: -10px;
  margin-left: -250px !important;
}


/* tablet in portrait and landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
  
	.cast-group-page .cast-panel .scrollpane {
	    width: 218px;
	}
  
}
