@charset "UTF-8";

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

@media only screen and (max-width: 1200px) {
  body {
    padding-top: 59px;
  }

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

  #header.is-active {
    border-color: transparent;
    background-color: transparent;
  }

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

  .cms-toolbar-expanded section .image-home {
    height: calc(100vh - 59px - 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;
  }

  #header.is-active .menu-toggle {
    background-size: 60%;
  }

  #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 {
    float: none;
  }

  .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 .link {
    padding: 12px 43px;
  }

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

  .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 {
    display: inline-block;
    margin: 12px 0 0 var(--site-padding);
    position: relative;
    z-index: 10000;
  }

  .logo img {
    width: 130px;
  }

  section .image-cover {
    background-attachment: initial;
  }

  section .flex-row > .text {
    flex: 1 1 calc(50% - 1.5rem);
  }

  section .counter-container {
    flex-direction: column;
    align-items: center;
    font-size: 0.75em;
  }

  section .counter-container .counter {
    width: max-content;
  }

  section .team-list .team-member-container {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2em 1em;
  }

  section .image-text {
    flex-direction: column;
  }

  section .image-text .item-image {
    width: 100%;
  }

  section .image-text:nth-child(odd) .item-image {
    order: initial;
  }

  section .image-text .item-text {
    width: 100%;
  }

  section .image-submenu-wrapper {
    display: none;
  }
}

@media only screen and (max-width: 1000px) {
  section .team-list .team-member-container {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .contact-wrapper {
      flex-direction: column;
  }

  .contact-wrapper .forms {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .contact-wrapper .map-canvas {
    order: 1;
    width: 100%;
  }

  .forms .form-sent p {
    padding: 2em 0;
  }
}

@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;
  }

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

  section .image-cover .image-title-wrapper {
    bottom: 10%;
    max-width: 70%;
  }

  section .team-list .team-member-container {
    grid-template-columns: 1fr 1fr;
  }

  section .image-text .item-text {
    flex-direction: column;
    gap: 1em;
    padding: 2em 3em;
  }

  section .image-text .item-text .counter {
    font-size: 9em;
  }

  section .image-text .item-text .content {
    font-size: 1.2em;
  }

  section .gallery {
    gap: 8px;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 18vw;
  }

  section .gallery-image {
    grid-column: span 3 !important;
    grid-row: span 3 !important;
  }

  section .flex-row > .text {
    flex: 1 1 100%;
  }
}

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

  body {
    font-size: 16px;
  }

  .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;
  }
}