@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 !important;
  padding: 0;
  height: 100%;
  width: 100%;
}
body {
  background: #fff;
  color: #333;
  font-family: Libre Franklin;
  font-weight: 400;
  font-style: normal;
  font-size: 14px !important;
  line-height: 1.8em;
  text-transform: none;
  color: #000;
  line-height: 1.75em;
  margin: 0 !important;
}
.wrapper {
  position: relative;
  min-height: 100vh;
  margin: 0 !important;
  display: grid;
  grid-template-rows: 1fr auto;
}
hr {
  max-width: 95rem;
  margin: 1rem auto;
}
ul {
  list-style: square;
}
.section-headline {
  padding-bottom: 1em;
}
.square-picture-right {
  margin-bottom: 15em;
}

/* Back To Top Button
=====================================================================*/
#back-to-top-button {
  display: inline-block;
  background-color: #101b39;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  margin: 30px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s;
  z-index: 99999;
  display: none;
  cursor: pointer !important;
}
#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;
}

/* Contact Form
=====================================================================*/
.contact-form-container {
  padding: 2em;
}
.contact-form-header {
  background: #101b39;
  padding: 1em 2em;
}
.contact-form-header img {
  height: 40px !important;
}

/* Alert
=====================================================================*/
.alert,
.alert-success,
.alert-danger {
  color: #fff;
  padding: 2em;
  margin: 0 0 0em 0;
  font-weight: bold;
}
.alert-danger {
  background: #f6242a;
}
.alert-success {
  background: #101b39;
}
.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;
}
.lt-blue {
  color: #111844;
}
.blue {
  color: #1d437d;
}
.dk-blue {
  color: #101b39;
}
.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: #ee2e24;
  text-decoration: underline;
}
p {
  font-weight: 300;
  margin: 1em 0;
  line-height: 1.8em;
}
.team p {
  margin: 0;
  line-height: 1.5em;
}
/* p:first-of-type {margin-top: 0;} */
h1,
h2,
h3,
h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.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;
  padding-bottom: 1em;
}
h4 {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4em;
  text-transform: uppercase;
}
h2.green {
  padding: 5px 0 10px 0;
}
.blue-bold {
  font-weight: bold;
  color: #111844;
}

/* Buttons
=====================================================================*/
button {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1em 3em;
  cursor: pointer !important;
}
.large-blue-button,
.large-red-button {
  margin: 0.5em 0.5em 0.5em 0;
  font-size: 1.4em;
  color: #fff;
  padding: 0.75em;
  line-height: 1.25em;
  cursor: pointer !important;
}
.large-blue-button {
  background: #101b39;
}
.large-red-button {
  background: #ee2e24;
}
.blue-button {
  background: #007bb6;
  color: #fff;
}
footer .large-red-button {
  font-size: 1em;
  height: 4.5em;
}
.medium-red-button {
  font-size: 1.1em;
  color: #fff;
  background: #ee2e24;
  cursor: pointer !important;
}
.green-button {
  background: #8dc640;
  color: #fff;
  margin: 0.5em 0;
  cursor: pointer !important;
}
.black-button,
.white-button,
.outline-button {
  margin: 2em 0 0 0;
  cursor: pointer !important;
}
.black-button {
  color: #fff;
  background: #000;
}
.white-button {
  color: #000;
  background: #fff;
}
.red-button {
  color: #fff;
  background: #ee2e24;
  cursor: pointer !important;
}
.outline-button {
  color: #000;
  border: 1px solid #000;
}
.calculator-button {
  background: #a0d1ef;
  color: #ee2e24;
  font-size: 1.75em;
  margin-top: 1em;
  padding: 0.5em 0.75em;
  cursor: pointer !important;
}
.admin-button button {
  margin: 0 0 0 0 !important;
  cursor: pointer !important;
}

/* Annoucement Banner
=====================================================================*/
#annoucement-bar {
  background: #111844;
  color: #fff;
  padding: 2em;
  margin: 0 !important;
}
.annoucement-bar-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: bold;
  font-size: 1.5em;
  cursor: pointer;
}
#annoucement-bar h2 {
  font-size: 2vw;
}
#annoucement-bar a {
  color: #fff;
  text-decoration: none;
}
#annoucement-bar 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;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  z-index: 8888;
}
.header-top {
  background: #101b39;
  padding: 2em 1.5em;
}
.menu {
  padding: 0 0 0 1.5em;
}
.footer-nav {
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo img {
  max-width: 350px;
}
#logo img {
  max-width: 250px;
}
/* .header-top .logo {padding:0 0 0 2.5em;} */
.header-nav,
.footer-nav {
  padding: 1em 0 0 0;
}
.nav-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 0.5fr;
  grid-column-gap: 8em;
  grid-gap: 10px;
  align-items: center;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 0.5fr;
  grid-column-gap: 10em;
  grid-gap: 10px;
  align-items: center;
}

.header-nav ul li {
  text-align: left;
  /* background: #101b39; */
}
.footer-nav ul li {
  text-align: center;
  background: #007bb6;
  display: flex;
  align-items: center;
  justify-content: center;
  /*
  -moz-border-radius-topright: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-bottomright: 10px; 
  -moz-border-radius-bottomleft: 10px;                
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px; 
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px; 
  */
}
.header-nav ul li a,
.footer-nav ul li a {
  color: hsl(224, 56%, 14%) !important;
  padding: 0 1.5em 1em 1em !important;
  display: flex;
  /* align-items: center;
  justify-content: center; */
  /* height:4em; */
  text-decoration: none;
}

.footer-nav ul li a {
  color: #fff !important;
  align-items: center;
  justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em !important;
}

.header-nav ul li a:hover,
.dropdown.menu > li.is-active > a {
  color: #9fd0f0 !important;
  color: #101b39 !important;
  text-decoration: none;
}
.dropdown.menu > li.is-active > a {
  color: #0d91ca !important;
  text-decoration: none;
}
.footer-nav-grid.dropdown.menu > li.is-active > a {
  color: #fff !important;
}

.footer-nav ul li a:hover {
  color: #fff !important;
}

footer .is-dropdown-submenu {
  background-color: transparent !important;
}

.header-nav .dropdown.menu > li.is-dropdown-submenu-parent > a::after,
.footer-nav .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
  display: none;
}
.is-dropdown-submenu {
  min-width: 13.65vw !important;
  border: none;
  padding: 0 1em 0 0 !important;
}

.header-nav ul li ul li a,
.footer-nav ul li ul li a {
  /* height: 2.5em; */
  text-transform: capitalize;
}

.is-dropdown-submenu > li {
  /* height:2vh; */
}

header a {
  text-decoration: none;
}
header a:hover {
  text-decoration: none;
  color: #fff;
}
/* keep the right side of the main nav aligned */

.header-contact {
  padding-bottom: 0px;
}
.menu-end {
  padding-right: 0 !important;
}

/* header call and email */
header h2 {
  font-size: 1.25em;
  color: #f6242a;
  padding: 0px;
  margin: 0 0 0 0;
}
header h2:first-of-type {
  margin: 0;
}
header h2 a {
  color: #fff;
  font-weight: 400;
  text-transform: lowercase;
}

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

banner img {
  max-height: 45vh;
  overflow: hidden;
  width: 100%;
  object-fit: cover !important;
  object-position: center 100;
}
#about-banner img {
  object-position: center top;
}
section:first-of-type {
  padding-top: 2em !important;
}
section:last-of-type {
  padding-bottom: 3em !important;
  padding-top: 1em !important;
}
section,
.section .special-end-section {
  padding: 0 2em 2em 2em !important;
}
section p:first-of-type {
  /* margin-top: .75em !important; */
}

@media screen and (max-width: 39.9375em) {
  section:first-of-type {
    padding-top: 2em !important;
    padding-bottom: 1.5em !important;
  }
  section:last-of-type {
    padding-bottom: 3em !important;
  }
  section,
  .section .special-end-section {
    padding: 0 1.5em 0 1.5em !important;
  }
  section p:first-of-type {
    margin-top: 1em !important;
  }
}
.banner-headline {
  background: #111844;
  color: #fff;
  padding: 1.25em 3em;
}

/* Interior Pages
=====================================================================*/
/* home */

.home-banner {
  position: relative;
  background: #ffffff url("/img/banners/adasr-banner.jpg") no-repeat center
    center;
  background-size: cover;
  height: 58vh;
}
.home-banner-buttons {
  position: absolute;
  width: 100%;
  bottom: 10px;
  right: 10px;
}
.home-contact-links a {
  text-decoration: none;
  color: #000;
}
.home-tiles {
  /* padding-top: 2em !important; */
}

.home-certified img {
  height: 10em;
  padding: 2em 0;
}
.home-certified img:nth-child(3) {
  padding-left: 2em;
  padding-right: 2em;
}

.interior-content-section h2 {
  padding-bottom: 1em;
}

.interior-content-section img,
.home-tiles img {
  max-width: 400px;
}
@media screen and (max-width: 39.9375em) {
  .interior-content-section img,
  .home-tiles img {
    max-width: 100%;
    margin-bottom: 1em;
  }
  h2 {
    font-size: 1.5em;
  }
}

/* apprenticeships */
.job-listing {
  padding-bottom: 2.5em !important;
}
.meet-apprenticeships {
  padding: 2em;
}
.meet-apprenticeships img {
  margin-bottom: 1em;
}

/* team */
.team-image {
  padding-bottom: 1em;
}
.team-entry {
  padding-bottom: 2em;
}
.team-bio {
  padding-bottom: 2em;
  padding-left: 0 !important;
}
.team-bio img {
  width: 300px;
  padding-top: 20px;
}
.team-bio p {
  margin: 1em 0 0 0 !important;
}
.team-bio p.name-title {
  color: #1d437d;
  line-height: 1.5em;
}
.team-bio p.name-title a,
.team-navigation a {
  text-decoration: none;
  color: #1d437d;
}
.team-bio p.name-title a.email {
  color: #ee2e24 !important;
}
.team-navigation a {
  color: #1d437d;
}
.team-navigation a:hover,
.team-navigation a.active {
  color: #ee2e24;
}
/* faq */
.faq-container: {
  padding: 4em 4em;
}
.faq-question-container {
  margin: 1em 0 0 0;
}
.faq-q {
  cursor: pointer;
}
.faq-a {
  display: none;
  margin: 1em 0;
}

/* Footer
=====================================================================*/
footer {
  padding: 2em 1.5em;
  background: #111844;
  color: #fff;
}
.footer-buttons {
  margin-left: -10px;
}
footer .logo img {
  height: 160px;
}
footer a,
footer a:hover {
  color: #fff;
  text-decoration: none;
}
footer h2 {
  color: #fff;
  font-size: 1.5em;
}
/* footer p {text-transform: uppercase;} */
footer .footer-nav p {
  font-size: 1em;
  padding: 0 1.5em 1em 1.5em !important;
}
footer .footer-content {
  padding-left: 2em;
}
.footer-social {
  margin-top: 1em;
}
.social-icons {
  margin: 10px 0 0 0;
}
.social-icons svg {
  font-size: 3em;
  padding-right: 10px;
}

@media screen and (max-width: 39.9375em) {
  .footer-info {
    padding: 0 1.5em;
  }
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  .footer-info {
    padding: 0 1.5em;
  }
}

.footer-links,
.footer-info {
  padding: 0.5em 0 0 0;
}

/* Media Queries
=====================================================================*/
@media screen and (max-width: 39.9375em) {
  .footer-links,
  .footer-info {
    padding: 0.5em 1.5em;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
  header {
    font-size: 1.3vw !important;
  }
  .right-nav ul li a {
    padding: 1em 0.9em 0 1vw;
  }
}
/* Small only */
/*
@media screen and (max-width: 39.9375em) {
  /* globals 
  .wrapper { margin: 0; }
  .footer-info {padding:0 1.5em;}
  .footer-links {text-align: right;padding-right:1.5em;}
  section:first-of-type {
    padding-top:2em !important;
    padding-bottom: 1.5em !important;
  }
  section:last-of-type {
    padding-bottom:3em !important;
  }
  section, .section .special-end-section {
    padding:0 1.5em 1.5em 1.5em !important;
  }
  section p:first-of-type {
    margin-top: 1em !important;
  }
  .large-red-button { font-size: 18px;   cursor: pointer !important;}
  .footer-badges {width:55%;}
  banner img {
    object-position: 0px 0px;
  }
  .banner-headline {
    background: #111844;
    color: #fff;
    padding:1.25em 1.5em;
  }
  /* typography 
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.5em;
  }

  /* annoucement banner 
  #annoucement-bar {
    /* position: fixed; 
    top:0;
    padding: 1.5em 2.5em;
    z-index: 9998;
  }
  #annoucement-bar h2 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  #annoucement-bar p {
    font-size: 13px;
    margin: 0 !important;
  }
  #back-to-top-button {
    bottom: 10px;
    right: 0px;
    cursor: pointer !important;
  }
  .home-tiles h2 {margin-top: .5em;}
  .home-banner-buttons .medium-red-button {
    margin-top:7px;
  }

  /* home banners 
  #about-banner .banner-content, #cars-banner .banner-content, #team-banner .banner-content, #contact-banner .banner-content  {
    top: 5%;
    left:0em;
  }
  #about-banner {
    background-size: 100%;
     background-position: 80% 100%;
  }
  footer .footer-content {padding-top: 2em; padding-left: 0 !important;}

  footer p {font-size: .9em;}


  /* misc 
  .team-bio img {width:50%;}
/*
}

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

  #header-mobile {
    /* position: absolute; */
    top: 0;
  }
  /* annoucement banner */
  #annoucement-bar {
    /* position: fixed; */
    top: 0;
    padding: 1.5em;
    z-index: 9998;
  }
  #annoucement-bar h2 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  #annoucement-bar p {
    font-size: 13px;
    margin: 0 !important;
  }
  .home-banner-buttons {
    width: 60%;
  }
  .home-banner-buttons .medium-red-button {
    margin-top: 7px;
  }
}
.debug {
  background: rgba(255, 0, 0, 0.5);
  border: 1px solid red;
}
