/*-- -------------------------- -->
<---         CORE STYLES        -->
<--- -------------------------- -*/

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''), url('/fonts/roboto-v29-latin-regular.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/roboto-v29-latin-regular.woff')
      format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''), url('/fonts/roboto-v29-latin-700.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/roboto-v29-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-900 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local(''), url('/fonts/roboto-v29-latin-900.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/roboto-v29-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@media screen and (min-width: 0px) {
  body {
    font-size: 17px;
  }

  .section {
    padding-top: 100/20em;
    padding-bottom: 100/20em;
  }

  .wrapper {
    width: 100%;
    max-width: 450/20em;
    margin: auto;
  }

  .mobile {
    display: block;
  }

  .desktop {
    display: none;
  }

  .skip {
    position: absolute;
    opacity: 0;
    z-index: -1000;
  }

  * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  :root {
    --primary: #a22b01;
    --darkPrimary: #842401;
    --tint: #e36f34;
    --shade: #ff8b00;
  }

  body,
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    font-family: 'Roboto', sans-serif;
  }

  a:hover {
    cursor: pointer;
  }

  p {
    margin-bottom: 20/20em;
  }

  p,
  li {
    line-height: 1.5em;
    font-size: 1em;
  }

  p,
  a,
  li {
    color: #292929;
    margin: 0;
    line-height: 28/20em;
    font-weight: normal;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
    line-height: 1.2em;
    color: #292929;
    margin-bottom: 30/20em;
  }

  .container {
    padding: 0 10/20em;
    margin: auto;
  }

  /* hidden desktop elements */

  .topper-flex,
  #brand,
  .call-strip-button,
  .background {
    display: none;
  }

  button {
    text-transform: uppercase;
  }

  .button-solid {
    color: #fff;
    display: block;
    margin: auto;
    text-align: center;
    text-decoration: none;
    background: var(--primary);
    line-height: 53/20;
    width: 162/18em;
    border-radius: 3/18em;
    font-size: 18/20em;
    font-family: 'Roboto', sans-serif;
    -webkit-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
    display: inline-block;
    font-weight: bold;
    position: relative;
    z-index: 1;

    &:before {
      content: '';
      position: absolute;
      display: block;
      height: 100%;
      width: 0%;
      background: var(--darkPrimary);
      opacity: 1;
      top: 0;
      left: 0;
      z-index: -1;
      border-radius: 3/18em;
      transition: width 0.3s;
    }

    &:hover {
      &:before {
        width: 100%;
      }
    }
  }

  button:hover {
    cursor: pointer;
    -webkit-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
  }

  .button-transparent {
    display: inline-block;
    background: transparent;
    border: 1/18em solid #fff;
    border-radius: 3/18em;
    text-align: center;
    font-size: 18/20em;
    margin: 10/18em 0;
    padding: 0px 30px;
    color: #fff;
    text-decoration: none;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
    white-space: nowrap;
    line-height: 50/18;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
  }

  .button-transparent:hover {
    color: #fff;
    background: var(--primary);
    border: none;
  }

  .hamburger {
    padding: 0;
    display: inline-block;
    cursor: pointer;
    -webkit-transition-property: opacity, -webkit-filter;
    transition-property: opacity, -webkit-filter;
    -o-transition-property: opacity, filter;
    transition-property: opacity, filter;
    transition-property: opacity, filter, -webkit-filter;
    -webkit-transition-duration: 0.15s;
    -o-transition-duration: 0.15s;
    transition-duration: 0.15s;
    -webkit-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    position: relative;
    z-index: 2000;
  }
  .hamburger:hover {
    opacity: 0.7;
    cursor: pointer;
  }
  .hamburger.is-active:hover {
    opacity: 0.7;
    cursor: pointer;
  }

  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: #000;
  }
  .hamburger-box {
    width: 30/20em;
    height: 24/20em;
    display: inline-block;
    position: relative;
    z-index: 2000;
  }
  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2/20em;
  }
  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 30/20em;
    height: 2/20em;
    background-color: #000;
    border-radius: 4/20em;
    position: absolute;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.15s;
    -o-transition-duration: 0.15s;
    transition-duration: 0.15s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
  }
  .hamburger-inner::before,
  .hamburger-inner::after {
    content: '';
    display: block;
  }
  .hamburger-inner::before {
    top: -10/20em;
  }
  .hamburger-inner::after {
    bottom: -10/20em;
    width: 20/20em;
  }

  /* * Spring */
  .hamburger--spring .hamburger-inner {
    top: 2/20em;
    -webkit-transition: background-color 0s 0.13s linear;
    -o-transition: background-color 0s 0.13s linear;
    transition: background-color 0s 0.13s linear;
    -webkit-transition-delay: 0.22s;
    -o-transition-delay: 0.22s;
    transition-delay: 0.22s;
  }
  .hamburger--spring .hamburger-inner::before {
    top: 10/20em;
    -webkit-transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    -o-transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19),
      -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    -webkit-transition-delay: 0.22s;
    -o-transition-delay: 0.22s;
    transition-delay: 0.22s;
  }
  .hamburger--spring .hamburger-inner::after {
    top: 20/20em;
    -webkit-transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    -o-transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1),
      transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19),
      -webkit-transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    -webkit-transition-delay: 0.22s;
    -o-transition-delay: 0.22s;
    transition-delay: 0.22s;
  }
  .hamburger--spring.is-active .hamburger-inner {
    -webkit-transition-delay: 0.22s;
    -o-transition-delay: 0.22s;
    transition-delay: 0.22s;
    background-color: transparent !important;
    background: #000;
  }
  .hamburger--spring.is-active .hamburger-inner::before {
    background: #000;
    top: 0;
    -webkit-transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.1s 0.15s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1),
      -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 10px, 0) rotate(45deg);
    transform: translate3d(0, 10px, 0) rotate(45deg);
  }
  .hamburger--spring.is-active .hamburger-inner::after {
    background: #000;
    width: 30/20em;
    top: 0;
    -webkit-transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333),
      transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1),
      -webkit-transform 0.13s 0.22s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-transform: translate3d(0, 10px, 0) rotate(-45deg);
    transform: translate3d(0, 10px, 0) rotate(-45deg);
  }

  /*-- -------------------------- -->
	<---         NAVIGATION         -->
	<--- -------------------------- -*/

  /* Hidden Elements */
  .nav-logo img,
  .call-us,
  .quote-nav-button {
    display: none;
  }

  .main-skip {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
  }

  .nav-comb {
    display: block !important;
    position: absolute;
    width: 530/20em;
    -webkit-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
    right: -280/20em;
    top: 350/20em;
    opacity: 0.4;
  }

  /* Top Mobile Navigation */
  .mobile-wrapper {
    height: 90/20em;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    position: relative;
    z-index: 1000;
    background: #777;
    border-bottom: 3/20em solid var(--primary);
  }

  .mobile-nav {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    z-index: 100;
    background: #fff;
  }

  .hamburger {
    position: absolute;
    right: 10/20em;
    top: 38/20em;
  }

  /* Navigation Links */

  .mobile-wrapper img {
    height: 68/20em;
    margin-top: 5/20em;
  }
  .navbar-menu {
    background: #f5f5f5;
    width: 0;
    position: absolute;
    right: 0;
    height: 100%;
    -webkit-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    z-index: 1000;
    max-width: 1250/20em;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .side-nav {
    pointer-events: none;
    position: relative;
    padding: 50/20em 0;
    position: absolute;
    right: 2em;
    visibility: hidden;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;

    ul {
      margin: 0;
      text-align: right;
      list-style: none;
      margin-top: 50/20em;
      transform: translateX(10/20em);

      li {
        margin-bottom: 20/20em;
      }
    }

    a {
      text-decoration: none;
      padding: 5/20em 10/20em 5/20em 10/20em;
      -webkit-transition: 0.3s ease-in-out;
      -o-transition: 0.3s ease-in-out;
      transition: 0.3s ease-in-out;
      -webkit-transition-delay: 0.2s;
      -o-transition-delay: 0.2s;
      transition-delay: 0.2s;
      opacity: 0;
      visibility: hidden;
      font-family: 'Roboto', sans-serif;
    }
  }

  #active-menu {
    border-right: 4/20em solid var(--primary);
    color: var(--primary);
  }
}

/* Ipad Pro */
@media screen and (min-width: 450px) and (max-width: 991px) {
  .container {
    max-width: 900/20em;
  }

  .mobile-nav {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Tablets */
@media screen and (min-width: 750px) and (max-width: 1023px) {
  .mobile-nav {
    max-width: 100%;
  }

  p {
    font-size: 1em;
  }
}

/* Small Desktop */
@media screen and (min-width: 1024px) {
  .mobile-nav {
    max-width: 100%;
  }

  section {
    padding: 100/20em 10/20em;
  }

  p {
    font-size: 1em;
  }

  /* Hidden Elements */
  .mobile-wrapper,
  .nav-comb {
    display: none !important;
  }

  /* Un-Hidden Elements */
  .side-nav a {
    opacity: 1;
    visibility: visible;
  }

  .quote-nav-button {
    display: block;
  }

  .container {
    max-width: 1100/20em;
  }

  /*navbar */
  nav {
    width: 100%;
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100/20em;
  }

  .navbar-menu {
    width: 96%;
    min-height: 100/20em;
    height: 153/20em;
    margin: auto;
    position: fixed;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 10000;
    left: 0;
    background: transparent;
    overflow: visible;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 1144/20em;

    .nav-logo {
      margin: 0 !important;
      position: absolute;
      left: 0px;
      height: 120/20em;
      width: 180/20em;
      top: 50%;
      transform: translateY(-50%);
      padding: 0;

      &:before {
        display: none;
      }

      img {
        width: 100%;
        height: auto;

        &.light {
          display: block;
        }
      }
    }
  }

  body {
    position: relative;
    font-size: 20px;

    &:before {
      content: '';
      top: 0;
      width: 100%;
      height: 148/20em;
      background: #fff;
      position: fixed;
      z-index: 1000;
      left: 0;
      box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }
  }

  #on-top {
    margin-right: 50/20em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .side-nav {
    padding: 0;
    width: 100%;
    max-width: 1450/20em;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    right: 0;
    background: transparent;
    border-radius: 5px;
    pointer-events: initial;

    ul {
      margin-top: 0;
      transform: translateX(0);

      li {
        margin: 0 0 0 15/18em;
        text-align: right;
        color: #fff;
        font-size: 18/20em;

        &:hover {
          a.link {
            color: #fff;
            &:before {
              width: 100%;
              opacity: 1;
              transform: translateY(-50%) scaleX(1);
            }
          }
        }
      }
    }

    a {
      padding: 0 25/18em;
      color: #000;
      -webkit-transition: 0.2s ease;
      -o-transition: 0.2s ease;
      transition: 0.2s ease;
      font-size: 18/18em;
      text-transform: capitalize;
      position: relative;
      font-weight: bold;

      &:before {
        cursor: pointer;
        -webkit-transition: 0.2s ease;
        -o-transition: 0.2s ease;
        transition: 0.2s ease;
        content: '';
        background: var(--primary);
        height: 40/18em;
        width: 100%;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleX(0);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s, transform 0.3s;
      }
    }

    a#active-menu {
      position: relative;
      border: none;
      color: #fff;
      padding-top: 0;
      padding-bottom: 0;
      font-weight: bold;

      &:before {
        cursor: pointer;
        -webkit-transition: 0.2s ease;
        -o-transition: 0.2s ease;
        transition: 0.2s ease;
        content: '';
        background: var(--primary);
        height: 40/18em;
        width: 100%;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: -1;
        opacity: 1;
        transition: opacity 0.3s, transform 0.3s;
      }
    }
  }
}

/* Regular Desktop */
@media screen and (min-width: 1300px) {
  .side-nav .schedule a {
    display: block;
  }
}

@media only screen and (min-width: 2000px) {
  body {
    font-size: 1vw;
  }
}

/*-- -------------------------- -->
<---           Footer           -->
<--- -------------------------- -*/

/* Mobile */
@media only screen and (min-width: 0em) {
  #footer {
    background: #3a3a3c;
    padding: 62/20em 0 76/20em;
    font-size: ~'min(4vw, 1.2em)';

    .left-section {
      margin: auto;
      margin-bottom: 50/20em;
      .logo {
        display: block;
        margin: auto;
        width: 200/20em;
        height: auto;
        margin-bottom: 30/20em;
        text-align: center;

        img {
          width: 100%;
          height: auto;
        }
      }

      p {
        font-size: 18/20em;
        line-height: 27/18;
        color: #fff;
        opacity: 0.9;
        text-align: center;
        width: 100%;
        width: 407/18em;
        margin: auto;
      }
    }

    .right-section {
      width: 96%;
      max-width: 407/20em;
      margin: auto;
      .lists {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width: 96%;
        max-width: 307/20em;
        margin: auto;
        margin-bottom: 50/20em;
        ul {
          padding: 0;
          margin-bottom: 0;
          margin-top: 0;

          &:nth-of-type(3) {
            margin-top: 50/20em;
            li {
              display: flex;
              justify-content: flex-start;
              align-items: center;
              margin-bottom: 16/20em;

              &:last-of-type {
                margin-bottom: 0;
              }

              img {
                display: inline-block;
                height: 24/20em;
                width: 24/20em;
                margin-right: 12/20em;
              }
            }
          }

          li {
            list-style: none;
            margin-bottom: 12/20em;

            a {
              text-decoration: none;
              color: #fff;
              opacity: 0.9;
              font-size: 18/20em;
              line-height: 21/18;
            }
          }
          h2 {
            color: #fff;
            font-size: 18/20em;
            line-height: 21/18;
            margin-bottom: 18/18em;
          }
        }
      }

      .buttons {
        display: flex;
        justify-content: center;
      }

      .button-solid {
        margin: 0;
        height: 53/18em;
        padding-top: 3/18em;
        width: 250/18em;
      }
    }
  }
}

/* Small Desktop */
@media only screen and (min-width: 64em) {
  #footer {
    font-size: ~'min(1.7vw, 1em)';
    .container {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: space-between;
      width: 100%;
      max-width: 1144/20em;
      margin: auto;
      padding: 0;
    }

    .left-section {
      width: 409/20em;
      margin: 0;

      .logo {
        text-align: left;
        margin-left: 0;
      }

      p {
        text-align: left;
      }
    }

    .right-section {
      .lists {
        width: 569/20em;
        margin: 0;
        max-width: initial;
        margin-bottom: 89/20em;

        ul {
          &:nth-of-type(3) {
            margin-top: 0;
          }

          li {
            a {
              position: relative;

              &:before {
                content: '';
                position: absolute;
                display: block;
                height: 2/18em;
                width: 0%;
                background: var(--primary);
                opacity: 1;
                bottom: -3/18em;
                left: 0;
                transition: width 0.3s;
              }

              &:hover {
                &:before {
                  width: 100%;
                }
              }
            }
          }
        }
      }

      .buttons {
        justify-content: flex-start;
      }
    }
  }
}
