﻿:root {
    --max-width: 1440px;
    --dark-blue: #1c1539;
    --blue: #2a2589;
    --purple: #462c84;
    --light-blue: #87C5DE;
    --header-height: 64px;
    --orange: #ff7722;
    --yellow: #ffad2e;
    --sub-heading: 1.25em;
    --tertiary-heading: 3rem;
    --field-grey: #DCD9E1;
    --aside-width: 260px;
  }
  @media ( max-width: 1100px ) {
    :root {
      --sub-heading: 1.7em;
    }
  }
  html {
    box-sizing: border-box;
    height: 100%;
  }
  *, *:before, *:after {
    box-sizing: inherit;
  }
  body {
    width: 100%;
    height: 100%;
    padding: var(--header-height) 0 0;
    margin: 0;
    background: #35323e;
    color: var(--dark-blue);
    font: 16.5px/1em "Lato", Arial, Helvetica, sans-serif;
  }
  body > header {
    background: var(--dark-blue);
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    padding: 0 20px;
  }
  body > header nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 13px 0;
    height: 100%;
    position: relative;
  }
  body > header nav > a {
    position: relative;
    width: 140px;
    height: 38px;
  }
  body > header nav > a img {
    display: block;
  }
  body > header ul {
    list-style: none;
    padding: 0;
  }
  @media ( max-width: 767px ) {
    body > header nav > a {
      margin: 0 auto;
      display: block;
    }
  }
  @media ( min-width: 768px ) {
    body > header nav > * {
      float: left;
    }
    body > header li {
      float: left;
    }
    body > header nav > ul {
      margin: 0 0 0 38px;
    }
    ::-webkit-scrollbar {
      width: 10px;
      height: 10px;
      background: #655f77;
    }
    ::-webkit-scrollbar-corner {
      background-color: #868099;
    }
    ::-webkit-scrollbar-thumb {
      background-color: #868099;
      cursor: pointer;
    }
    body > main > .faqs::-webkit-scrollbar {
      background: #726c85;
    }
    body > main > .faqs::-webkit-scrollbar-thumb {
      background-color: #9792aa;
    }
  }
body > header nav > ul > li:nth-last-child(1) > ul .btn.btn-secondary {
  border: 0 !important;
  background: none !important;
  color: #fff !important;
  padding: 10px 25px;
  font-family: 'Lato Regular', sans-serif;
}
body > header nav > ul > li ul li a[href*="/Dashboard/Profile"] {
  background: no-repeat 25px 50% / 20px url(/img/icon-user.svg);
  padding-left: calc(25px + 30px);
}
  @media ( min-width: 768px ) {
    body > header nav > ul > li:nth-last-child(1) > ul {
      right: 0;
      position: absolute;
    }
    body > header nav > ul > li:nth-last-child(1) > ul li {
      float: right;
      position: relative;
    }
    body > header nav > ul > li ul li a[href*="Dashboard"]:after,
    body > header nav > ul > li:nth-last-child(1) > ul .btn.btn-secondary:after {
      content: '';
      position: absolute;
      border-left: 1px solid #fff;
      top: 0;
      left: 9px;
      height: 100%;
    }
    body > header nav > ul > li ul li a[href*="/Dashboard"] {
      margin-right: -10px;
    }
    body > header nav > ul > li ul li a[href*="Dashboard"]:after {
      left: 6px;
    }
  }
  body > footer li {
    display: inline-block;
  }
  body > header li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Lato Regular', sans-serif;
    display: block;
    padding: 10px 25px;
    position: relative;
  }
  body > header li a:hover,
  body.About > header li a[href*="About"],
  body.FlySafair > header li a[href*="FlySafair"],
  body.CareSA > header li a[href*="CareSA"],
  body.KingPrice > header li a[href*="KingPrice"],
  body.B4i > header li a[href*="B4i"] {
      color: var(--orange);
  }
  body > header li a[href*="Login"] {
    text-transform: uppercase;
    font-weight: normal;
    font-family: "Lato", sans-serif;
  }
  body > header li a:before,
  body > header nav > ul > li:nth-last-child(1) > ul .btn.btn-secondary:before {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 0;
    left: 50%;
    opacity: 0;
    border-bottom: 2px solid var(--light-blue);
    transition: opacity .13s, left .23s, width .23s;
  }
@media ( min-width: 768px ) {
  body > header a[href*="Login"]:after {
    content: '';
    position: absolute;
    border-left: 1px solid #fff;
    height: 100%;
    width: 1px;
    left: 6px;
    top: 0;
  }
}
.no-b4i a[href*="B4i"],
.no-king-price a[href*="KingPrice"] {
  display: none;
}
  body > header li a:hover:before,
  body.About > header li a[href*="About"]:before,
  body.FlySafair > header li a[href*="FlySafair"]:before,
  body.CareSA > header li a[href*="CareSA"]:before,
  body.KingPrice > header li a[href*="KingPrice"]:before,
  body.B4i > header li a[href*="B4i"]:before,
  body > header nav > ul > li:nth-last-child(1) > ul .btn.btn-secondary:hover:before {
    left: 25px;
    width: calc(100% - 50px);
    opacity: 1;
  }
.full-height {
  min-height: calc( 100vh - 561px ); /* 561 = header + footer + sub-page todos heights */
}
  img {
    transition: opacity .33s;
  }
  img[data-src] {
    opacity: 0;
  }
  body > main {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    /* overflow: hidden; */
    background: #fff;
  }
  section[role="banner"] {
    position: relative;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
  }
  section[role="banner"] > main {
    position: relative;
  }
  section[role="banner"] > main:before {
    content: '';
    display: block;
  }
  @media ( max-width: 767px ) {
    .home section[role="banner"] > main:before {
      padding: 90vh 0 0;
    }
    .sub-page section[role="banner"] > main:before {
      padding: 40vw 0 0;
    }
    body > header nav > ul > li:nth-last-child(1) > ul li:nth-child(1) a {
      max-width: 120px;
    }
    section[role="banner"] > main > div {
      padding: 0 0 1em;
    }
  }
  section[role="banner"] > main > div {
      background: var(--yellow)
  }
  .Home section[role="banner"] > main > div:before,
  .About section[role="banner"] > main > div:before {
    content: '';
    position: absolute;
    width: 30%;
    height: 100%;
    background: repeat 100% 0 url(/img/banner-bg-yellow.png);
    z-index: 1;
  }
  @media ( min-width: 768px ) {
    section[role="banner"] > main:before {
      padding: 530px 0 0;
    }
    body.sub-page section[role="banner"] > main:before {
      padding: 23.7% 0 0;
    }
    section[role="banner"] > main > div {
        position: absolute;
        top: 0;
        height: 100%;
        left: 50%;
        margin: 0 0 0 -50vw;
    }
}
section[role="banner"] > main > div > div {
  max-width: var(--max-width);
  padding: 0 2em;
  position: relative;
  z-index: 2;
}
section[role="banner"] > main div p:nth-child(2) {
  font-family: 'Caveat', sans-serif;
  font-weight: bold;
  font-size: 2.1em;
  line-height: 1em;
  transform: skewY(-1deg);
}
body.Home section[role="banner"] > main > div > div iframe {
  width: 100%;
  height: 100%;
}
section[role="banner"].two-column > main > div > div > div {
  position: relative;
}
section[role="banner"] a {
  color: var(--dark-blue);
  text-decoration: none;
}
  @media ( max-width: 767px ) {
    body.Home section[role="banner"] > main > div > div {
        padding-top: 2em;
    }
    body.Home section[role="banner"] img {
      display: block;
      width: 100%;
      margin-bottom: 2em;
    }
  }
  @media ( min-width: 768px ) {
    section[role="banner"] > main > div > div {
      margin: 5% auto;
    }
    section[role="banner"] > main > div {
      width: 100vw
    }
    .win .Home section[role="banner"] > main > div {
      width: calc(100vw - 5px);
    }
    section[role="banner"] > main > div > div {
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
    }
    section[role="banner"].two-column > main > div > div > div:nth-child(2) {
      width: 48%;
      padding-top: 2em;
    }
    section[role="banner"].two-column > main > div > div > div:nth-child(1) {
      width: 48%;
    }
  }
  p {
    margin: 0 0 1em;
    line-height: 146%;
  }
  p:nth-last-child(1) {
    margin-bottom: 0;
  }
  h1 {
    font-family: 'DIN 2014 Narrow', 'Lato Bold', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
  }
  h2 {
    background: var(--dark-blue);
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    flex: 0 0 100%;
    margin: 0;
    padding: 1em 0;
    font-size: var(--sub-heading);
    font-family: 'DIN 2014 Narrow', 'Lato Bold', Arial, Helvetica, sans-serif;
    line-height: 1em;
  }
  h2 span {
    transform: scaleX(var(--din-scale));
    font-weight: normal;
    transform-origin: center;
    display: block;
  }
  h3,
  .sub-page h1,
  .About h1 {
    color: var(--orange);
    text-align: center;
    margin: 0 0 .8em;
    padding: 0;
    font-size: var(--tertiary-heading);
    font-family: 'Caveat', sans-serif;
    line-height: 1em;
    transform: scaleX(var(--din-scale));
    font-weight: normal;
    transform-origin: center;
    text-transform: none;
  }
h4 {
  margin: 0 0 1em;
  font-family: 'Lato Bold', sans-serif;
  font-size: 1.25em;
}
h5 {
  margin: 0 0 1em;
  font-family: 'Lato Bold', sans-serif;
  font-size: 1.04em;
  line-height: 1.4em;
}
body > main > .faqs {
  position: fixed;
  top: var(--header-height );
  z-index: 1000;
  padding: 2em;
  height: calc(100vh - var(--header-height ));
  overflow: auto;
  right: -550px;
  transition: right .23s, left .23s;
}
.faqs .close {
  display: none;
}
body > main > .faqs .close {
  display: block;
}
body.viewing-faqs > main > .faqs {
  right: 0;
}
@media ( max-width: 767px ) {
  body > main > .faqs {
    left: 100vw;
    width: 100vw;
    background: #fff;
  }
  body.viewing-faqs > main > .faqs {
    left: 0;
  }
}
.faqs h4 {
  line-height: 1.4em;
}
@media ( min-width: 768px ) {
  body > main > .faqs {
    background: #faf9fb;
    width: 30%;
    min-width: 450px;
    max-width: 550px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .25);
    font-size: .9em;
  }
}
.faqs .search:after {
  content: 'No results found.';
  display: block;
  position: absolute;
  margin-top: 5px;
  opacity: 0;
  transition: opacity .23s;
}
.faqs .search.no-results:after {
  opacity: 1;
}
.faqs > section {
  margin: 0 0 4em;
}
.faqs > section:nth-last-child(1) {
  margin: 0;
}
.faqs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--field-grey);
  border-bottom: 0;
  background: #fff;
}
.faqs li > div {
  line-height: 1.4em;
}
.faqs .hidden {
  display: none
}
.faqs li.expanded,
.faqs li > div:nth-child(1) {
  border-bottom: 1px solid var(--field-grey);
}
.faqs li.expanded > div:nth-child(1) {
  border-bottom: 1px solid #fff;
}
.faqs li > div:nth-child(1) {
  cursor: pointer;
  position: relative;
  transition: color .23s, border .23s;
  padding: .8em 40px .8em 1em;
}
.faqs li > div:nth-child(1):hover {
  color: var(--orange);
}
.faqs li > div:nth-child(1):after {
  content: '';
  position: absolute;
  top: 17px;
  right: 13px;
  width: 15px;
  height: 18px;
  transform: rotate(180deg);
  background: no-repeat 100% 50% / contain url(/img/icon-arrow-up.svg);
  transition: opacity .4s;
}
.faqs li > div:nth-child(1):before {
  content: '';
  position: absolute;
  top: 16px;
  right: 13px;
  width: 15px;
  height: 18px;
  opacity: 0;
  background: no-repeat 100% 50% / contain url(/img/icon-arrow-up.svg);
  transition: opacity .4s;
}
.faqs li.expanded > div:nth-child(1):before {
  opacity: 1;
}
.faqs li.expanded > div:nth-child(1):after {
  opacity: 0;
}
.faqs li > div:nth-child(2) {
  height: 0;
  overflow: hidden;
  padding: 0 1em;
  transition: height .23s, padding .23s;
  color: #838090;
}
.faqs li.expanded > div:nth-child(2) {
  padding: 0 1em .8em;
}
  .content {
    background: #fff;
    margin: 0 auto;
    flex: 1;
    clear: both;
  }
body.sub-page #app h3 + p {
    text-align: center;
}
form#account {
  max-width: 510px;
  margin: 0 auto;
  padding: 2em;
}
form#account h4,
.form.forgot-password h4 {
  font-family: 'Lato Black', sans-serif;
  text-transform: uppercase;
  text-align: center;
}
@media ( max-width: 767px ) {
  body > footer li {
    padding-bottom: 2em;
  }
  body > footer ul {
    max-width: 280px;
  }
  body > footer ul li:nth-child(4) a:before {
    display: none;
  }
  body > main > .content {
      padding: 3em 10%;
  }
  .content.video,
  body.pep .content.intro {
    padding: 0;
  }
  #app {
      background: #fff;
      padding: 2em 1em 4em;
  }
}
@media ( min-width: 768px ) {
    body.sub-page #app {
      margin: 0 auto;
    }
    #app {
        background: #fff;
        padding: 2em 2em 4em;
    }
}