@charset "UTF-8";

@media only screen and (min-width: 1301px) {
  #mainnav {
    display: block !important;
  }
}

@media only screen and (max-width: 1300px) {
  html {
    padding-top: 78px;
  }

  .page-cover #header,
  #header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--background-color);
    border-bottom: 1px solid #F0F0F0;
  }

  section .image-home {
    position: relative;
    height: calc(100vh - 78px);
    min-height: 640px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .cms-toolbar-expanded section .image-home {
    height: calc(100vh - 78px - 46px);
  }

  .header-inner {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.92);
    text-align: center;
  }

  .cms-toolbar-expanded #header {
    top: 46px;
  }

  #header .menu-toggle {
    display: block;
  }

  #mainnav {
    display: none;
    margin-top: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.92);
    width: 100%;
    text-align: center;
    color: var(--text-color);
    padding: calc(var(--site-padding) / 2) 0 var(--site-padding) 0;
    box-sizing: border-box;
    border-bottom: 1px solid #F0F0F0;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .header-socials {
    text-align: center;
  }

  .header-socials li a img {
    width: 40px;
  }

  .mainmenu li {
    display: block;
    text-align: center;
  }

  .mainmenu li span.link {
    cursor: pointer;
  }

  .mainmenu li.level-0 {
    display: block;
    margin-right: 0;
  }

  .mainmenu li.level-0 > .link {
    border: 0;
    padding: 12px;
  }

  .mainmenu li.level-0 > .link:hover,
  .mainmenu li.level-0.is-active > .link,
  .mainmenu li.level-0.is-selected > .link {
    color: var(--button-color);
  }

  .mainmenu li.level-0:last-child {
    padding: 12px 43px;
    margin: 0;
    text-align: center;
  }

  .mainmenu li .link {
    padding: 12px 43px;
  }

  .mainmenu li .link:hover {
    color: var(--button-color);
  }

  .mainmenu li.level-0:last-child > .link {
    padding: 12px 24px;
    display: inline-block;
  }

  .mainmenu li.level-1 > .submenu,
  .mainmenu li.level-0 > .submenu {
    width: 100%;
    position: static;
    padding: 0;
    border: 0;
    background-color: rgba(46, 95, 164, 0.09);
    border-radius: 0;
  }

  .logo {
    margin: 6px 0 6px 12px;
  }

  .logo img {
    width: 90px;
  }
}

@media only screen and (max-width: 1000px) {
  section .team-list .team-member {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 720px) {
  section .team-list .team-content .team-member-image {
    float: none;
    margin: 1.5em auto;
  }

  section .team-list .team-content-wrapper .team-content {
    text-align: center;
  }

  section .image-home .image-title-wrapper {
    font-size: 3em;
  }

  section .image-home .image-title > i {
    left: -75px;
    top: -40px;
  }

  section .image-home .image-subtitle > i {
    right: -75px;
    top: -35px;
  }

  section .team-plugin .team-content .team-member-image {
    padding: 0;
  }

  section .maps {
    display: block;
  }

  section .maps .map {
    width: 100%;
  }

  section .maps .map .text .map-address {
    height: auto;
  }
}

@media only screen and (max-width: 480px) {
  :root {
    --site-padding: 18px;
  }

  body {
    font-size: 16px;
  }

  section .image-cover {
    height: 480px;
  }

  .footer-links .footer-links-content .text {
    gap: var(--site-padding);
  }

  .button {
    font-size: 0.87em;
  }

  .button-gray {
    font-size: 1.1em;
  }

  section .image-home .image-title-wrapper {
    font-size: 2em;
  }

  section .image-home .image-title > i {
    left: -50px;
    top: -25px;
  }

  section .image-home .image-subtitle > i {
    right: -50px;
    top: -25px;
  }

  .branch-selector.form-field {
    flex-direction: column;
  }
}