body {
  overflow-x: hidden;
}

#mobile-nav .swtor-branding {
  background-image: url(/sites/all/files/en/eternalthrone/kotet-logo.png);
}

#mobile-subscribe-btn {
  text-align: center;
}

#home.lander-section {
  padding-top: 215px;
}

#home > .background {
  bottom: 270px;
  height: auto;
}

#kotfe .hero-content {
  padding-top: 200px;
}

.lander-section > .background::before {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left:0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
  content: '';
}

/* section backgrounds */
#overview .background {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/overview-bg.jpg);
}

#chapters .background {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/chapters-bg.jpg) !important;
}

#characters .background {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters-bg.jpg);
}

#media .background {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/media-bg.jpg);
}

#premium .background {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/premium-bg.jpg);
}

#rewards .background {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/rewards-bg.jpg) !important;
}

#rewards .rewards {
  background: none;
}

.card-image a.overlay {
  display:block;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
}

/* hero promos */
#heroPromos { position: absolute; width:1950px; height:100%; left: 50%; overflow: hidden; transform: translate3d(-50%, 0, 0); }
#heroPromos { opacity:1; -moz-transition:opacity 2s ease; -webkit-transition:opacity 2s ease; }
#heroPromos.loading { opacity:0; -moz-transition:opacity 0s ease; -webkit-transition:opacity 0s ease; }
#heroPromos::after,
#heroPromos::before {
  position: absolute;
  height: 100%;
  width: 300px;
  top: 0;
  z-index: 10;
  content: '';
}
#heroPromos::before {
  left: 0;
  background: -moz-linear-gradient(left,  rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to right,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
}

#heroPromos::after {
  right: 0;-
  background: -moz-linear-gradient(right,  rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(right,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to left,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
}

.home-promos,
.heroPromo {
  display: none;
}

.heroPromo:first-child {
  display: block;
}

.heroPromo {
  position:absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  z-index;
}

.heroPromo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(0,0,0,0.2);
}

.heroPromo .background {
  position:absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat:
  no-repeat;
  z-index: 0;
}

.heroPromo .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.heroPromo .preview-video {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  width: 100%;
  max-width: 100%;
  height: auto;
  background-size: cover;
}

.hero-content {
  position: relative;
  padding: 360px 0 60px;
  z-index: 10;
}

.hero-promo-title {
  font:60px/60px Berling, Times New Roman, serif;
  color:#fff;
  font-variant:small-caps;
  text-shadow:0 0 10px #000;
}
.hero-promo-title em {
  font-family:CustomTOR, Berling, Times New Roman;
  font-style:normal;
}

.hero-promo-title i em { font-family:Berling, Times New Roman; font-style:italic; }
.hero-promo-title sup { font-size:16px; vertical-align:super; }

.hero-description {
  font:normal 28px/36px "Open Sans", "News Gothic", "Arial Narrow", Arial, sans-serif;
  color:rgb(247, 243, 218);
  text-shadow:0 0 10px #000;
}

.hero-actions {
  display: block;
  margin: 40px auto;
}

.hero-actions .promo-btn {
  margin: 10px;
}

/* component / button styles */
.promo-btn {
  position: relative;
  display:inline-block;
  background: none;
  background-color: rgba(211, 174, 0, 0.7);
  border: solid 1px rgba(255, 255, 255, 0.4);
  font-size: 24px;
  line-height: 32px;
  padding: 14px 40px;
  color: #fff;
  margin: 0;
  height: auto;
  text-transform: uppercase;
  -webkit-transition:all 300ms ease;
  -moz-transition:all 300ms ease;
  -ms-transition:all 300ms ease;
  -o-transition:all 300ms ease;
  transition:all 300ms ease;
}

body.lang_de .promo-btn,
body.lang_fr .promo-btn {
  font-size: 24px;
  padding-left: 40px;
  padding-right: 40px;
}

.promo-btn:hover, .promo-btn:focus, .btn-primary:visited {
  color: #fff;
  border: solid 1px rgba(255, 255, 255, 0.6);
  box-shadow: rgba(255, 255, 255, 0.6) 0 0 20px inset;
  background-color: #d3ae00;
}

.btn-next {
  padding-right: 100px;
}

body.lang_de .btn-next,
body.lang_fr .btn-next {
  padding-right: 100px;
}

.btn-next .icon {
  position: absolute;
  display: block;
  right: 0;
  top: 0;
  height: 100%;
  width: 60px;
  background-color: #f9bd4b;
  line-height: 1px;
  font-family: FontAwesome;
  font-size: 36px;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-next .icon:after {
  position:absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  content: "\f18e";
}

.btn-info {
  font-size: 24px;
  line-height: 32px;
  font-weight: normal;
  padding: 14px 40px;
  border-color: rgba(200, 163, 78, 0.5);
  background-color: rgba(0,0,0, 0.5);
  box-shadow: 0 0 30px rgba(211, 174, 0, 0.2);
  border-radius: 2px;
  -webkit-transition: 200ms ease;
  -moz-transition: 200ms ease;
  -ms-transition: 200ms ease;
  -o-transition: 200ms ease;
  transition: 200ms ease;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:visited {
  border-color: rgba(200, 163, 78, 1);
  background-color: rgba(0,0,0, 0.8);
  color: #fff;
  box-shadow: none;
}

#prequel .background {
  transition: 200ms ease;
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/arcann.jpg);
}

#home .hero-banner {
  margin-bottom: -60px;
}

.hero-banner {
  position:relative;
  width: 100%;
  margin: 0;
}

.hero-banner .rewards {
  display: flex;
  flex-direction: row;
  background-color: #131313;
}

.hero-banner .reward {
  position: relative;
  display: flex;
  flex: 1;
  align-items: flex-end;
  min-height: 270px;
  border: solid 2px #000;
  overflow: hidden;
}

.reward .reward-info {
  position: absolute;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  top:0;
  bottom:0;
  right:0;
  left:0;
}

.reward .reward-background {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity:0.8;
  transition: opacity 300ms ease;
}

.reward:hover .reward-background {
  opacity: 1;
}

.reward .info {
  position: relative;
  z-index: 10;
}

/* overview/features */
#key-features .feature {
  position: relative;
  padding-top: 180px;
}

#key-features .feature::before {
  position: absolute;
  display: block;
  width: 150px;
  height: 150px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
}

.icon-sabers::before {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/icons/sabers.png);
}

.icon-faction::before {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/icons/dualfactions.png);
}

.icon-medals::before {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/icons/medal.png);
}

.icon-uprisings::before {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/icons/fire.png);
}

.icon-galactic-command::before {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/icons/galactic_command.png);
}

.icon-blasters::before {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/icons/blasters.png);
}

#rewards .reward {
  border: none !important;
}

#rewards .reward-title,
.reward-title {
  font: 28px/32px Berling, Times New Roman, serif;
  color: #e0a22c;
  font-variant: small-caps;
  text-shadow: 0 0 10px #000;
  text-transform: uppercase;
}

#rewardsBanner .reward-title {
  color: #fff;
}

#rewards .magnify.overlay {
  position:absolute;
  display: block;
  width: 100%;
  height: 100%;
}

#rewards .magnify.overlay img {
  float: none;
}

#rewards .reward-screenshot {
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #131313;
}

#rewards .reward-screenshot::before {
  background: none !important;
}

#rewardsBanner .cta-tab {
  top: 0;
  bottom:auto;
  border-bottom: solid 4px rgba(0, 0, 0, 1);
  z-index: 100 !important;
}

#rewardsBanner .cta-tab .tab-link {
  font-size: 16px;
}

#rewardsBanner .cta-tab .tab-link:before,
#rewardsBanner .cta-tab .tab-link:after {
  border-bottom: 36px solid #000;
}
#rewardsBanner .cta-tab .tab-link {
  background-color: #000;
}

#rewardsBanner .cta-tab .tab:after {
  border-top: 10px solid #000;
}

#rewardsBanner .reward-background,
#rewards .reward-screenshot {
  background-size: cover;
  background-position: center;
}

#rewardsBanner .shae-vizla .reward-background,
#rewards .shae-vizla .reward-screenshot {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/rewards/shae.jpg);
  background-position: top center;
}
#rewardsBanner .recon-walker .reward-background,
#rewards .recon-walker .reward-screenshot {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/rewards/walker.jpg);
  background-position: top center;
}

#rewardsBanner .early-access .reward-background,
#rewards .early-access .reward-screenshot {
  background-image: url(http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/rewards/early-access.jpg);
}

#rewards .reward-screenshot .reward-thumb {
  display: block !important;
}

#rewards .reward-date-info {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
#rewards .reward-date,
.reward-date {
  color: #fff;
  font-weight: 300;
  text-shadow: 0 0 10px #000;
  line-height: 18px;
}

#rewards .reward-date {
  margin-top: -5px;
}

.reward-date-label {
  font-weight: 100;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 12px;
}

#chapters .background {
  background-image: url(/sites/all/files/en/fallenempire/bothawui/planet.jpg);
  background-position: top center;
}

#chapters .chapters {
  list-style: none;
  color: #e0a22c;
}

#chapters .chapter-number,
#chapters .chapter-title {
  display: block;
  text-shadow: 0 0 30px #000000;
}

#chapters .chapter-number {
  position: relative;
  display: block;
  color: #e0a22c;
  font-size: 18px;
  padding: 0 40px;
  text-transform: uppercase;
}

#chapters .chapter-title {
  font-family: Berling;
  font-variant: small-caps;
  font-size: 32px;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #000;
}

#chapters .chapter p {
  padding-left: 40px;
  padding-right: 40px;
}

.overlayMedia .info-card,
#characters .info-card {
  display: flex;
}

.info-card {
  max-width: 990px !important;
}

.overlayMedia .info-card {
  min-height: 400px;
}

#character-cards {
  display:none;
}

.card-image {
  flex:1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-detail {
  flex: 1;
}

.info-card {
  position: relative;
  padding: 0;
  background: rgba(28, 27, 26, 0.8);
}

.card-name {
 font-family: Berling;
 font-variant: small-caps;
 font-size: 30px;
 line-height: 36px;
 color: #fff;
}

.card-title {
  display: block;
  text-transform: uppercase;
  line-height: 24px;
  color: #e0a22c;
  font-size: 18px;
}

.card-description {
  margin-top: 40px;
}

.card-detail {
  padding: 40px 60px;
}

#character-tree {
  display: flex;
}

#character-tree .character-name {
  font-family: "Open Sans";
  color: #fff;
  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
}

.group {
  display: flex;
  flex-direction: column;
  min-height: 200px;
  max-width: 480px;
}

.group-title {
  display: block;
  text-align: center;
}

.group.outlander {
  flex: 2;
  align-items: center;
}

.group.alliance {
  flex: 4;
}

.group.eternal-empire {
  flex: 4;
}

.tier {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 180px;
  flex-direction: row;
  justify-content: center;
}
.tier .character {
  position: relative;
  height: 100%;
  width: 170px;
}

.tier .character a {
  display: block;
}

.tier .character-icon {
  position: relative;
  height: 80px;
  width: 80px;
  margin: 10px auto;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.7);
}

.outlander .tier .character-icon {
  height:150px;
  width:150px;
  border-radius: 75px;
}

#character-tree .character .character-icon {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.character.outlander .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/outlander_100x100.jpg');
}

.character.valkorion .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/valkorian_100x100.jpg');
}

.character.senya .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/senya_100x100.jpg');
}

.character.arcann .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/arcann_100x100.jpg');
}

.character.thexann .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/thexan_100x100.jpg');
}

.character.vaylin .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/vaylin_100x100.jpg');
}

.character.scorpio .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/scorpio_100x100.jpg');
}

.character.lana .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/lana_100x100.jpg');
}

.character.theron .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/theron_100x100.jpg');
}

.character.gault .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/gault_100x100.jpg');
}

.character.vette .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/vette_100x100.jpg');
}

.character.torian .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/torian_100x100.jpg');
}

.character.t7 .character-icon {
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/characters/t7_100x100.jpg');
}

.tier .character-name {
  text-align: center;
}

.tier1::after,
.tier2::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: solid 2px #fff;
  border-bottom: none;
  border-top: none;
  width: 0;
  height: 70px;
  content: ''
}

.tier1::after {
  bottom:0;
}

.tier2::before,
.tier2::after {
  top:0;
}

.tier2::before{
  content: '';
  position: absolute;
  /* width: 100%; */
  border: solid 5px #fff;
  height: 70px;
  left: 16%;
  right: 15%;
  border-bottom: none;
}

.tier {
  padding-top: 80px;
}

.tier:first-of-type {
  padding-top: 0;
}

.tier3 {
  justify-content: flex-end;
}

#hero-background {
  background-position: top center;
  background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/betrayed-hero.jpg') !important;
}

/* responsive styles */
@media (min-width: 769px) {
  #prequel .background, #prequel #kotfe-get-started {
    opacity: 0.8;
  }

  #prequel:hover .background, #prequel:hover #kotfe-get-started {
    opacity: 1;
  }
  
  #rewardsBanner .cta-tab .tab-link {
    white-space: nowrap;
  }
  
}

@media(max-width: 768px) {
  #rewards .rewards {
    background-color: rgba(32, 32, 37, 0.7) !important;
  }

  .hero-banner .rewards {
    flex-direction: column !important;
  }

  .btn-next {
    width: auto !important;
  }

  .info-card .card-detail {
    padding-left: 15px;
    padding-right: 15px;
  }
  #hero-background {
    background-image: url('http://cdn-www.swtor.com/sites/all/files/en/eternalthrone/betrayed-750.jpg') !important;
  }
}

@media (max-width: 990px) {
  #character-cards {
    display: block !important;
  }

  #character-tree {
    display: none;
  }

  .info-card {
    flex-direction: column !important;
  }

  .info-card .card-image {
    width: 100%;
    height: 300px;
  }
}

@media (min-width: 990px) {
  #rewards .reward {
    margin: 0 5px;
  }

  .hero-banner .reward {
    transform: skewX(-.25rad);
  }
  
  .hero-banner .reward:first-of-type {
    margin-left: -35px;
  }
  
  .hero-banner .reward:first-of-type .reward-info {
    padding-left: 90px;
  }
  
  .hero-banner .reward:last-of-type {
    margin-right: -35px;
  }
  
  .hero-banner .reward:last-of-type .reward-info {
    padding-right: 90px;
  }
  
  .reward .reward-info {
    right: -35px;
    left: -35px;
    padding-left: 55px;
    padding-right: 55px;
    transform: skewX(.25rad);
  } 
  
}

@media (min-width: 1280px) {
  #rewards .reward-screenshot {
    height: 390px;
  }
}

/* portrait ratio */
@media (min-width: 992px) and (orientation:portrait) {
  #hero-background .preview-video {
    min-height: 800px !important;
  }
}

@media (max-height: 780px) and (orientation:landscape) {
  #hero-background .preview-video {
    min-height: 780px !important;
  }
}

@media only screen and (max-aspect-ratio: 123/88) {
  #hero-background .preview-video {
    min-height: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    max-width: none !important;
  }
}

@media only screen and (max-aspect-ratio: 546/391) {
  #hero-background .preview-video {
    min-height: 100% !important;
    max-height: 100% !important;
    width: auto;
    max-width: none;
  }
}
