#site_nav .dropdown {
  position: relative;
  float: left;
  padding: 5px 0;
  margin: 8px 0 0 14px;
  line-height: 22px;
  font-size: 16px;
  /*font-family: 'Amperserif';*/
  text-transform: uppercase;
  z-index: 999;
  /*letter-spacing: -0.1px;*/
}
#site_nav .dropdown:first-child {
  /*margin-left: 32px;*/
  margin-left: 0;
}

#site_nav .dropdown .has-right-separator {
  border: none;
}

#site_nav .dropdown .selected {
  cursor: pointer;
  color: rgb(242,238,224);
  z-index: 9;
  position: relative;
  left: 15px;
/*  width: 100%;*/
  padding-right: 38px;
  font-size: 23px;
  display: inline-block;
  float: left;
}

#site_nav .dropdown .arrow {
  /*position: absolute;
  right: 5px;
  bottom: 12px;*/
  right: 10px;
  position: relative;
  top: 10px;
  float: left;
  cursor: pointer;
  z-index: 99;
  width: 0; 
  height: 0; 
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

#site_nav .dropdown.open .arrow {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  border-bottom: none;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

#site_nav .dropdown a {
  text-decoration: none;
  color: #fff;
}

#site_nav .dropdown ul {
  /*position: absolute;
  z-index: 99;
  display: block;
  padding: 5px 8px 0 0;
  max-height: 210px;*/
  position: relative;
/*  width: 100%;*/
  display: block;
  padding: 5px 0 0 15px;
}

#site_nav .dropdown ul li {
  padding: 0 25px 0 0;
  border-top: 1px solid #666!important;
  line-height: 32px;
  display: block;
}

#site_nav .dropdown ul li a {
  color: #808080;
}

#site_nav .dropdown ul li a:hover {
  color: rgb(242,238,224);
}

#site_nav .dropdown .background {
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  /*max-height: 245px;*/
  max-height: 0;
}
#site_nav .dropdown.open .background {
  background: rgba(0,0,0,0.8);
  max-height: 245px;
}

.dropdown .viewport {
  position: absolute;
  z-index: 99;
  max-height: 210px;
  top: 28px;

  overflow: hidden;
/*
  width: 100%;
*/
  display: none;

}
.dropdown.open .viewport {
  display: block;
}
.dropdown .overview {
  position: relative;
  left: 0;
  top: 0;
}
.dropdown .thumb .end,
.dropdown .thumb {
  background-color: #ccc;
}
.dropdown .scrollbar {
  position: absolute;
  right: -6px;
  top: 28px;
  width: 5px;
  display: none;
  z-index: 999;
}
.dropdown.open .scrollbar {
  display: block;
}
.dropdown .track {
  background-color: #000;
  height: 100%;
  width: 5px;
  position: relative;
  padding: 1px 1px 1px 1px!important;
  border-top: 1px solid #000;
}
.dropdown .scrollbar .thumb {
  height: 10px;
  width: 5px;
  cursor: pointer;
  overflow: hidden;
  position: absolute;
  top: 0;
}
.dropdown .thumb .end {
  overflow: hidden;
  height: 5px;
  width: 5px;
}



/*
#episode-list ul li a:before {
  content: 'EPISODE';
}
*/

/* sub navigation component */
/*
#sub-navigation {
  position: relative;
  height: 37px;
  background: transparent;
  width: 100%;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  color: #DFDAC4;
  float: left;
}

#season-numbers {
  position: absolute;
  background-color: #ced0c3;
  font-size: 13px;
  color: rgb(109, 109, 109);
  left: 1px;
  z-index: 99;
}

#season-numbers a {
  width: 100%; 
  display: block;
  color: black;
  text-decoration: none;
}

#season-numbers-ul li {
  border-bottom: solid 1px rgb(184, 178, 178);
}

#season-numbers-ul li:hover {
  cursor: pointer;
}

#season-numbers-ul .each-season {
  width: 128px;
  height: 21px;
  text-align: left;
  padding-left: 10px;
  padding-right: 29px;
  padding-bottom: 4px;
  padding-top: 11px;
}

#season-numbers-ul .each-season .season-checkmark {
  background-image: url(/profiles/aetv/modules/custom/aetv_episode/images/seasonsCheckmark.png);
  width: 15px;
  height: 12px;
  display: inline-block;
  position: relative;
  right: -50%;
}

#season-numbers-ul .each-season:hover {
  background-color: #b8b8ac;
}


#slideout-season-select {
  width: 140px;
  float: left;
  display: block;
  padding-top: 11px;
  padding-bottom: 10px;
  z-index: 100;
  background-color: #1f323d;
  position: relative;
}

#text-episode {
  float: left;
  padding-top: 11px;
  padding-bottom: 10px;
  z-index: 100;
  background-color: #1f323d;
  position: relative;
}

#slideout-season-select #current-season {
  float: left;
  margin-left: 23px;
}

#slideout-season-select .season-selector {
  width: 24px;
  height: 22px;
  display: inline-block;
  background-image: url("/profiles/aetv/modules/custom/aetv_episode/images/seasonsButton.png");
  float: left;
  margin-top: -3px;
  margin-left: 7px;
}

#slideout-season-select .season-selector:hover {
  opacity: 0.3;
}

.navigation-item {
  text-align: center;
  padding: 13px;
  margin-bottom: -13px;
  color: #DFDAC4;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
}

.navigation-item-right {
  position: relative;
  text-align: center;
  padding: 13px;
  margin-bottom: -13px;
  color: #DFDAC4;
  float: right;
  left: -111px;
  background-color: #3b3b3b;
}

.has-right-separator {
  border-left: solid 1px #1a2b34;
  border-right: solid 1px #2a3c47;
}

.disabled-arrow {
  color: rgb(86, 92, 76);
}

#current-episode {
  color: #1f323d;
  width: 33px;
  position: relative;
  float: left;
  padding-top: 11px;
  padding-bottom: 10px;
  font-size: 18px;
  font-family: 'AmperstandardLight';
  z-index: 100;
  background-color: #0a63b0;
}

#current-episode-bg {
  top: -10px;
  position: absolute;
  z-index: -1;
  width: 0;
  height: 0;
  left: 50%;
  margin-left: -10px;
}

#episode-numbers-wrapper {
  overflow: hidden;
  position: relative;
}

#episode-numbers {
  padding-right: 0px;
  padding-left: 0px;
  position: relative;
}

#episode-numbers ul {
  list-style-type: none;
  height: 45px;
  margin-top: -13px;
  list-style-position: inside;
}

#episode-numbers li {
  width: 40px;
}

#episode-numbers li a {
  color: #b1b3a4;
  text-decoration: none;
}

#episode-numbers-ul a:hover {
  color: white;
  text-decoration: none;
}

#current-cast {
  color: #000000;
  position: relative;
  width: 131px;
  background-color: #D5D7C8;
}

#current-cast-bg {
  position: absolute;
  z-index: -1;
  width: 0;
  height: 0;
  left: 50%;
  margin-left: -10px;
}

.cast-numbers-list {
  width: 140px !important;
}

.navigation-wrapper {
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: absolute;
  left: 376px;
  border-left: solid 1px #404040;
}

.js .slide-wrapper {
 position: relative;
}

.navigation-elements {
  position: relative;
}

.navigation-elements ul {
  list-style: none;
}

.navigation-elements ul li, .navigation-elements .empty-item {
  float: left;
  display: block;
  min-width: 30px;
  width: 58px;
  padding: 0;
  text-align: center;
  margin: 0 0 0 0;
}

.navigation-elements .empty-item {
  height: 37px;	
}

.navigation-elements ul li[data-current-episode=""] a {
  color: #5a5955;
}

.navigation-elements ul li[data-active="active"] a {
  color: #5a5955;
}

.navigation-elements ul li a {
  color: #b3ad9d;
  font-size: 18px;
  font-family: 'Roboto Condensed', sans-serif;  
  text-decoration: none;
  display: block;
  padding: 11px 0 10px 0;
}

.navigation-elements ul li:last-child, .navigation-elements .empty-item {
  border-right: 0px;
}

#sub-navigation .show-prev, #sub-navigation .show-next {
  display: block;
}

#sub-navigation .show-prev {
  border-right: 1px solid #2d2d2d;
  float: left;
}

#sub-navigation .bx-prev {
  background: transparent url(/profiles/aetv/themes/custom/aetv/images/navi-left-active.png) no-repeat 25px 10px;
  min-width: 30px;
  width: 60px;
  height: 17px;
  padding: 10px 0;
  text-indent: -10000px;
}

#sub-navigation .show-prev div, #sub-navigation .show-next div {
  position: relative;
}

#sub-navigation .bx-prev.disabled {
  background: transparent url(/profiles/aetv/themes/custom/aetv/images/navi-left-inactive.png) no-repeat 25px 10px;
  min-width: 30px;
  width: 60px;
  height: 17px;
  padding: 10px 0;
  cursor: default;
}

#sub-navigation .show-next {
  position: absolute;
  right: 111px;
  bottom: 0;
  background: #1f323d;
}

#sub-navigation .show-next a, #sub-navigation .show-next div, #sub-navigation .bx-next.disabled {
  background: transparent url(/profiles/aetv/themes/custom/aetv/images/navi-right-active.png) no-repeat 23px 10px;
  min-width: 30px;
  width: 60px;
  height: 17px;
  padding: 10px 0;
}

#sub-navigation .bx-next.disabled {
  background: transparent url(/profiles/aetv/themes/custom/aetv/images/navi-right-inactive.png) no-repeat 23px 10px;
  cursor: default;
}

#sub-navigation .show-prev a, #sub-navigation .show-next a {
  position: relative;
  text-indent: -10000px;
  display: inline-block;
  cursor: pointer;
}
*/
/* overrides for /show/cast/* */
.bio-cast ul li { min-width: 80px; width: 167px;  }
.bio-cast ul li a {
  font-size: inherit;
  font-family: 'Roboto Condensed', sans-serif;
}
.bio-cast ul li[data-active="active"] a { color: #5a5955; }
.bio-cast .show-prev, .bio-cast .show-next { display: inline-block; }
.bio-cast .navigation-wrapper { top: 0; left: 233px; }
.bio-cast #current-cast { float: left; width: 146px; z-index: 100; }


/* overrides for /show/cast/cast-group */
.bio-group .navigation-wrapper { left: 219px; }
.bio-group ul li { width: 158px; }
