@import url("https:////fonts.googleapis.com/css?family=Lato:300,400,900");
@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Libre+Franklin');

/* Globals
=====================================================================*/
html, body {
  margin:0;
  padding:0;
  height: 100%;
  width: 100%;
  /* overflow-x: hidden; */
}
body {
  background: #fff;
  color: #333;
  font-family: Libre Franklin;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.8em;
  text-transform: none;
  color: #000;;
  line-height: 1.75em;
}
.wrapper {
  position: relative;
  min-height: 100vh;
}
banner {
  position: relative;
}
hr {
  max-width: 95rem;
  margin: 1rem auto;
}
ul {list-style: square;}
.section-title {
  padding-bottom: 2em !important;
}
.square-picture-right {
  margin-bottom: 15em;
}

/* Back To Top Button
=====================================================================*/
#back-to-top-button {
  display: inline-block;
  background-color: #1d437d;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  margin: 30px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s;
  z-index: 99999;
  display: none;
}
#back-to-top-button::after {
  content: "\21E7";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#back-to-top-button:hover {
  cursor: pointer;
}

/* Alert
=====================================================================*/
.alert, .alert-success, .alert-danger {
  color:#fff;
  padding: 2em;
  margin: 0 0 2em 0;
  font-weight: bold;
}

.alert-danger {
  background: #f6242a;
}

.alert-success {
  background: #0d91ca;
}

.alert h3, .alert-success h3 {
  color:#fff;
}

/* Utilities
=====================================================================*/
.red-bg {background:#ee2e24;}
.blue-bg {background:#0d91ca;}
.lt-blue-bg {background:#9fd0f0;}
.green-bg {background:#8dc640;}

.red {color:#ee2e24;}
.blue {color:#0a599c;}
.green {color:#8dc640;}
.black {color:#000000;}
.white {color:#ffffff;}
.uppercase {text-transform: uppercase;}

.svg-list-image {
  float:left;
  margin:-12px 10px 0 0;
  width:40px;
}

/* Typography
=====================================================================*/
a, a:hover {color:#1d437d;text-decoration: underline;}
p {
  font-weight: 300;
  margin: 2em 0;
  line-height: 1.8em;
}
/* p:first-of-type {margin-top: 0;} */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: .02em;
  margin:0;
  padding:0;
}
h1 {
  font-size: 3em;
  line-height: 1.1em;
}
h2 {
  font-size: 2em;
  line-height: 1.3em;
}
h3 {
  font-size: 1.75em;
  line-height: 1.3em;
}
h4 {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .06em;
  line-height: 1.4em;
  text-transform: uppercase;
}
h2.green {padding: 5px 0 10px 0;}


/* Buttons
=====================================================================*/
button {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding:1em 3em;
}
.large-blue-button, .large-red-button {
  margin: .5em 0;
}
.large-blue-button {
  background:#0d91ca;
  font-size: 2em;
  color:#fff;
  padding:.5em .75em;
}
.large-red-button {
  background:#ee2e24;
  font-size: 22px;
  color:#fff;
  padding:2em 0;
  width: 100%;
}
.green-button {
  background:#8dc640;
  color:#fff;
  margin: .5em 0;
}
.black-button, .white-button, .outline-button {
  margin: 2em 0 0 0;
}
.black-button {
  color:#fff;
  background:#000;
}
.white-button {
  color:#000;
  background:#fff;
}
.red-button {
  color:#fff;
  background:#ee2e24;
}
.outline-button {
  color:#000;
  border: 1px solid #000;
}
.calculator-button {
  background:#a0d1ef;
  color:#ee2e24;
  font-size: 1.75em;
  margin-top:1em;
  padding:.5em .75em;
}
.admin-button button {
  margin: 0 0 0 0 !important;
}

/* Annoucement Banner
=====================================================================*/
#annoucement-banner {
  background: #111844;
  color: #fff;
  padding:2em 0;
}
#annoucement-banner a {

  color: #fff;
  text-decoration: none;
}
#annoucement-banner p {
  font-size: 1em;
  margin: 0 !important;
}

/* Header & Navigation
=====================================================================*/
header {
  height: 100%;
  width: 100%;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color:#111844;
  z-index: 8888;
  padding:2em;
}
header a {text-decoration: none;}
/* keep the right side of the main nav aligned */
.menu-end {
  padding-right: 0 !important;
}
/* navigation and hover color */
.right-nav ul li a{
  font-weight: 400;
  letter-spacing: .02em;
  color:#111844 !important;
  padding:1em 1em 0 1em;
}
.right-nav ul li a:hover {
  color:#1d437d !important;
  text-decoration: none;
}
/* apply now nav button */
.right-nav ul li a.apply-nav, .right-nav ul li a.apply-nav a:hover {
  background: #1d437d;
  color:#fff !important;
}
.right-nav ul li a.active {
  color: #1d437d !important;
}
/* header call and email */
header .right-nav h2 {font-size: 24px; color:#f6242a;padding:0px;margin:0 0 15px 0;}
header .right-nav h2:first-of-type {margin:0;}
header .right-nav h2 a {color:#000;font-weight: 400;}

/* Home Page Banners
=====================================================================*/
banner, section {margin:0 !important;}

#about.anchor, #companies.anchor, #team.anchor, #book.anchor {
    display: block;
    position: relative;
    top: -275px;
    visibility: hidden;
}
/* common elements */
#about-banner .banner-content, #companies-banner .banner-content, #team-banner .banner-content, #book-banner .banner-content, #annual-report-banner .banner-content  {
  position: absolute;
  padding:2.5em;
  top:10%;
  left:1.5em;
  color:#fff;
}
/* about banner */
#about-banner {
  padding-bottom: 45%;
  background: no-repeat url("../img/home/about-banner.jpg");
  background-size: cover;
  background-position: 50% 30%;
}
#about-banner .banner-content  {
  top:5%;
  left:1.5em;
}
/* companies banner */
#companies-banner {
  padding-bottom: 40%;
  background:linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../img/home/companies-banner.jpg');
  background-size: cover;
  background-position: 50% 20%;
}
/* team banner */
#team-banner {
  padding-bottom: 40%;
  background: no-repeat url("../img/home/team-banner.jpg");
  background-size: cover;
  background-position: 50% 20%;
}
/* annual report banner */
#annual-report-banner {
  padding-bottom: 40%;
  background:linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)), url('../img/home/annual-report-banner.jpg');
  /* background: no-repeat url("../img/home/annual-report-banner.jpg"); */
  background-size: cover;
  background-position: left bottom;
}
#annual-report-banner .banner-content {
  top:5%;
}
/* book banner */
#book-banner {
  padding-bottom: 40%;
  background: no-repeat url("../img/home/book-banner.jpg");
  background-size: cover;
  background-position: 50% 20%;
}

/* Interior Pages
=====================================================================*/
section, .section .special-end-section {
  padding:2em 3.5em 3.5em 3.5em !important;
}
/* company-logos */
.company-logos img {
  height:175px;
  padding-bottom: 4em;
  padding-right: 2em;
}
/* team */
.team-bio {
  padding-top: 4em;
}
.team-bio:last-of-type {
  padding-bottom: 8em;
}
.team-bio img {
  width:200px;
}
.team-bio p {
  margin: 1em 0 0 0 !important;
}
.team-bio p.name-title {
  color:#1d437d;
  line-height: 1.5em;
}

/* Footer
=====================================================================*/
footer {
  padding: 4em;
  background:#111844;
  color: #fff;
  font-size: .85em;
}
footer a, footer a:hover {color:#fff;text-decoration: none;}
footer h2 {color: #fff;}
footer p {text-transform: uppercase; margin-top: 0 !important;}
footer .footer-nav p {margin:0 0 1.5em 0;}

footer button {margin:0 !important;}
footer .footer-company {margin-top: 2em;}

.footer-logo {}
.footer-logo img {width:100%;}

.social-icons { margin:10px 0 0 0; }
.social-icons svg {
  font-size: 4em;
  padding-right: 10px;
}


/* Media Queries
=====================================================================*/

@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px) {
  body {font-size:.75em;}

}
/* Small only */
@media screen and (max-width: 39.9375em) {
  /* globals */
  .wrapper { margin: 0; }
  section, footer { padding:2em !important; }
  .large-red-button { font-size: 18px; }
  .footer-badges {width:55%;}

  /* typography */
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.5em;
  }
  #back-to-top-button {
    bottom: 10px;
    right: 0px;
  }
  /* home banners */
  #about-banner .banner-content, #companies-banner .banner-content, #team-banner .banner-content, #annual-report-banner .banner-content, #book-banner .banner-content  {
    top: 5%;
    left:0em;
  }
  #about-banner, #companies-banner, #team-banner, #annual-report-banner, #book-banner {
    padding-bottom: 65%;
    background-position: 50% 30%;
  }
  #about-banner .banner-content {
    top:0;
    padding-top: 1.5em;
  }
  /* annual report banner */
  #annual-report-banner { padding-bottom: 110% !important; }
  #annual-report-banner .banner-content { top:5%; }
  #annual-report-banner h1 { font-size: 2em;padding-bottom: 1.5em;}
  #annual-report-banner .black-button { margin: 0 10px .5em 0; }

  /* company-logos */
  .company-logos {
    text-align: center;
  }

}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  .wrapper { margin: 0; }
  section, footer { padding:2em !important; }

  /* home banners */
  #about-banner .banner-content h1, #companies-banner .banner-content h1, #team-banner .banner-content h1, #annual-report-banner .banner-content h1, #book-banner .banner-content h1  {
    font-size: 2.5em;
  }
  #about-banner .banner-content {
    top:0;
    padding-top: 1.5em;
  }

  #annual-report-banner { padding-bottom: 75%; }
  #annual-report-banner .banner-content {
    top:10;
    left:0;
    padding:.5em 2em;
    color:#fff;
  }
  #annual-report-banner h1 { font-size: 2em;}
  #annual-report-banner .black-button { margin: .5em 10px 0 0; }

  #back-to-top-button {
    bottom: 10px;
    right: 10px;
  }

}
