/*
Table of Content:
@Custom Breakpoints
  (min-width: 2000px)
  (max-width: 1700px)
  (max-width: 1600px)
  (max-width: 1500px)
  (max-width: 1400px)
  (max-width: 1300px)
  (max-width: 1200px)
  (max-width: 1100px)
  (max-width: 1024px)
  (max-width: 992px) -> start of mobile menu
  (max-width: 400px)
  (max-height: 800px) -> for sticky sections on small height screen
@Bootstrap Breakpoints
  xl: (max-width: 1199px)
  lg: (max-width: 991px)
  md: (max-width: 767px)
  sm: (max-width: 575px)
*/

@media only screen and (min-width: 2000px) {
  .d-xxl-none {
    display: none !important;
  }

  .d-xxl-block {
    display: block !important;
  }

  .video {
    width: calc(1600px - 30px);
    margin: 0 auto;
  }

  .video .container {
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
  }
}

@media only screen and (max-width: 1700px) {
  html {
    /* font-size: 17px; */
  }

  .footer-secondary-menu {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 1600px) {
  html {
    /* font-size: 16px; */
  }

  .footer-secondary-menu {
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 1500px) {
  /* Global */

  html {
    /* font-size: 15px; */
  }

  .container {
    width: 100%;
  }

  /* Special Layouts */

  #header {
    height: 500px;
  }

  /* 404 */
  .layout-404-bg img {
    width: 600px;
  }

  /* Hero */
  .hero-lg .hero-header {
    white-space: normal;
    font-size: 6.5vw;
  }
}

@media only screen and (max-width: 1400px) {
  /* Global */

  html {
    /* font-size: 14px; */
  }

  .container {
    width: 100%;
  }

  h3 {
    font-size: 3rem;
  }

  .agc-logo {
    flex-basis: 25%;
  }

  #footer-navigation .menu {
    margin-right: 0;
  }

  /* Special Layouts */

  #header {
    margin-top: 70px;
  }

  /* Gravity Forms */
  .gform_wrapper textarea {
    height: 100px;
  }

  /* Accordion */
  .accordion-image {
    padding-right: 2rem;
  }

  /* List of Services */
  .tooltip-content {
    transform: translate(0, -100%);
  }

  .service-tooltip:hover .tooltip-content {
    transform: translate(0, calc(-100% - 20px));
    opacity: 1;
  }

  .quote {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 1300px) {
  /* Global */

  html {
    /* font-size: 13px; */
  }

  body {
    /* overflow-x: hidden; */
  }

  /* Typography */

  /* Header */

  header.container-fluid {
    /* height: 50px; */
  }

  #header {
    margin-top: 50px;
  }

  /* Header Navigation */

  #menu-primary-navigation .sub-menu a:before {
    height: 8px;
    width: 4px;
  }

  #menu-primary-navigation .menu-item-has-children > a:after {
    height: 7px;
    width: 10px;
    top: -1px;
    position: relative;
  }

  .footer-logo {
    width: 350px;
  }

  /* Helpers */

  .bg-image {
    height: 400px;
  }

  .fancybox-content {
    width: 70%;
  }

  /* Single */

  .single-blog-img {
    width: 100%;
    position: static;
    max-width: 100%;
  }

  /* Background Image */
  .spinning-logo {
    right: 1rem;
  }

  /* Stats */
  .metric-value {
    font-size: 5rem;
  }
}

@media only screen and (max-width: 1200px) {
  /* Global */
  html {
    /* font-size: 11px; */
  }

  .container {
    max-width: 100%;
    width: 100%;
  }

  .agc-logo {
    flex-basis: 20%;
  }

  /* Text/HTML */
  .layout-header {
    font-size: 2.5rem;
  }

  .card-copy .button {
    width: 100%;
  }

  /* Testimonials */
  .testimonial-img {
    max-width: 80%;
  }

  .author {
    margin-bottom: 2rem;
  }

  /* Content Cards */
  .content-card-title {
    font-size: 2rem;
  }

  /* Stats */
  .metrics {
    min-height: 350px;
  }

  .metric-value {
    font-size: 4rem;
  }

  .metric-label {
    font-size: 1rem;
  }

  .timeline-year-header.desktop-only {
    transform: translateX(-75%);
  }
}

@media only screen and (max-width: 1100px) {
  /* General */
  section {
    padding-top: calc(var(--section-padding) * 0.7);
    padding-bottom: calc(var(--section-padding) * 0.7);
  }

  /* .agc-logo {
    flex-basis: 17.5%;
  } */

  /* Hero */
  .hero-lg .hero-header {
    /* font-size: 5rem; */
  }

  .hero-copy {
    font-size: 2.5rem;
  }

  /* Footer */
  footer {
    padding-top: 4rem;
  }

  .footer-logo {
    max-width: 200px;
  }

  .footer-primary-row {
    /* flex-direction: column; */
  }

  .footer-main-menu {
    flex: 1;
  }

  #footer-navigation .menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: start;
    flex-direction: column;
    gap: 1rem;
    margin-right: 0;
  }

  #footer-navigation .menu > li > a {
    margin-bottom: 1rem;
  }

  .footer-secondary-row > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-secondary-menu {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-secondary-row {
    /* display: flex;
    justify-content: space-between;
    align-items: end;
    flex-direction: column !important;
    align-items: start !important;
    gap: 3rem; */
  }

  .bw-logo {
    justify-content: start !important;
  }

  #footer-secondary-navigation .menu {
    /* justify-content: start;
    flex-direction: column; */
    text-align: left;
    gap: 1rem;
  }
}

@media only screen and (max-width: 1024px) {
  /* Global */

  html {
    /* font-size: 16px; */
  }

  .container {
    /* width: 95%; */
  }

  /* Stairs */
  .stairs-pattern-lg:before {
    max-width: 216.5px;
    height: 56.5px;
    bottom: 30.5px;
    right: -1px;
  }

  .stairs-pattern-lg:after {
    height: 32.5px;
  }

  /* Header Navigation */

  #navigation {
    /* padding-right: 0;
    padding-left: 0; */
  }

  #menu-primary-navigation .sub-menu a,
  #menu-primary-navigation a {
    font-size: 0.8em;
  }

  /* 404 */
  .layout-404-bg img {
    width: 400px;
    bottom: -15px;
    right: -15px;
  }

  /* Special Layouts */

  #header {
    height: 400px;
  }

  #header.shorter {
    height: 300px;
  }

  .bg-image.parallax {
    background-attachment: unset;
  }

  .fancybox-content {
    width: 90%;
  }

  /* Isotope */

  .isotope .grid-item {
    margin-bottom: 45px;
  }

  /* BackgFull Width Image */
  .layout-full-width-image {
    max-height: 500px;
  }

  /* Card */
  .card-content {
    position: relative;
    transform: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
    top: auto !important;
    left: auto;
  }

  .card-copy {
    opacity: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .card-copy .btn-container {
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .linking-cards-header {
    margin-bottom: 4rem;
  }

  /* Testimonials */
  .quote {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 1200px) and (max-height: 750px) {
  /* Header Navigation */

  #menu-primary-navigation a {
    font-size: 0.95em;
  }

  /* Special Layouts */
  #header {
    height: 400px;
  }

  #header.shorter {
    height: 300px;
  }
}

@media only screen and (max-width: 992px) {
  /* Global */

  html {
    /* font-size: 13px; */
  }

  /* .row {
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 4em;
    padding-bottom: 4em;
  } */

  body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  header.container-fluid {
    width: calc(100% + 0.5rem);
    margin-left: -0.5rem;
  }

  body,
  header.container-fluid,
  #main-menu-navigation-container,
  .mobile-menu-footer {
    background-color: var(--color-sand);
  }

  #navigation {
    justify-content: space-between;
  }

  .container {
    max-width: 100%;
  }

  .py-small {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .pt-small {
    padding-top: 2em;
  }

  .pb-small {
    padding-bottom: 2em;
  }

  /* -- Mobile Menu -- */
  header.container-fluid {
    height: var(--header-height-mobile);
  }

  header .menu-overlay {
    top: var(--header-height-mobile);
  }

  .logged-in header .menu-overlay {
    top: calc(var(--header-wp-admin-bar) + var(--header-height-mobile));
  }

  .main-menu-cta {
    display: none;
  }

  .nav-icon {
    cursor: pointer;
  }

  .menu-mobile-only {
    display: block;
  }

  .menu-desktop-only {
    display: none;
  }

  .menu-main-menu-navigation-container {
    align-items: start;
  }

  .main-navigation-container {
    position: fixed;
    top: var(--header-height-mobile);
    z-index: 1;
    background: var(--color-black);
    width: 100%;
    left: 0;
    height: calc(100vh - var(--header-height-mobile));
    align-items: start;
    transform: translateX(-100%);
    opacity: 0;
    transition: 0.4s;
  }

  .main-menu-container .menu-item-has-children:before {
    display: none;
  }

  .open .main-navigation-container {
    opacity: 1;
    transform: none;
  }

  .logged-in .main-navigation-container {
    top: calc(var(--header-height-mobile) + var(--header-wp-admin-bar));
    height: calc(
      100vh - var(--header-height-mobile) - var(--header-wp-admin-bar)
    );
  }

  .main-header-navigation ul {
    flex-direction: column;
    font-size: 24px;
    width: 100%;
    gap: 0;
  }

  .menu-main-menu-navigation-container .menu li {
    margin: 0;
    height: auto;
  }

  .main-header-navigation ul a {
    width: 100%;
    display: block;
    padding: 20px;
    border-bottom: 2px solid var(--color-white-fade-40);
  }

  .main-header-navigation ul a:hover {
    opacity: 0.7;
  }

  .main-header-navigation ul .menu-cta a {
    text-align: left;
    color: var(--color-black);
  }

  #main-menu-navigation-container {
    height: calc(100% - var(--header-height-mobile));
  }

  .logged-in #main-menu-navigation-container {
    height: calc(
      100% - var(--header-height-mobile) - var(--header-wp-admin-bar)
    );
  }

  .main-menu-container {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    height: auto;
    height: calc(100% - var(--header-height-mobile));
    display: flex;
    flex-direction: column;
  }

  .logged-in .main-menu-container {
    top: calc(var(--header-height-mobile) + var(--header-wp-admin-bar));
    height: calc(
      100% - var(--header-height-mobile) - var(--header-wp-admin-bar)
    );
  }

  /* Mobile Menu */
  .main-menu-container li a {
    opacity: 1;
  }

  .main-menu-container .menu {
    display: flex;
    flex-direction: column;
  }

  .main-menu-container ul.menu {
    justify-content: start;
  }

  .main-menu-container ul.menu li {
    padding: 0;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    display: block;
    border-bottom: 0;
  }

  .main-menu-container ul.menu li:last-child a {
    border-bottom: none;
  }

  .main-menu-cta-mobile {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .main-menu-cta-mobile a {
    position: static;
    background-color: var(--color-red);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    font-size: 1.5rem;
  }

  .main-menu-container {
    transform: translateX(-100%);
    pointer-events: none;
    transition: 0.4s ease-in-out;
  }

  .open .main-menu-container {
    transform: translateX(0);
    pointer-events: auto;
  }

  .main-menu-container .sub-menu {
    /* position: static; */
    /* opacity: 1;
    padding: 0;
    background-color: transparent;
    padding-left: 2rem;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-in-out; */
  }

  .main-menu-container .open .sub-menu {
    max-height: 600px;
  }

  /* .main-menu-container li:hover .sub-menu,
  .main-menu-container .sub-menu {
    transform: none;
  } */

  .main-menu-container ul > li > a {
    height: auto;
  }

  .main-menu-container .sub-menu:before {
    content: none;
  }

  .main-menu-container li .sub-menu li:before {
    top: 2rem;
  }

  .main-menu-container li .sub-menu a {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-gray-secondary);
  }

  .main-menu-container .menu-item-has-children:after {
    content: none;
  }

  .main-menu-container ul.menu a {
    padding: 1.5rem 0;
    font-size: 1.5rem;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .main-menu-container ul.menu .menu-item-has-children > a {
    display: flex;
    gap: 1rem;
  }

  .main-menu-container ul.menu .menu-item-has-children > a:after {
    content: "";
    width: 16px;
    height: 10px;
    background-image: url(../images/icon-caret-black.svg);
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: 0.4s;
    display: block;
    transform: rotate(-90deg);
  }

  .main-menu-container li .sub-menu li:before {
    content: none;
  }

  .main-menu-container li .sub-menu li:hover a {
    padding-left: 0;
  }

  /* Sub Menu Logic */
  .main-menu-container li .sub-menu,
  .main-menu-container li:hover .sub-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    justify-content: flex-start;
    background-color: white;
    z-index: 1;
    transition: 0.4s ease-in-out;
    transform: translateX(100%);
    pointer-events: none;
    padding: 80px 0 0;
  }

  .main-menu-container li .sub-menu.show {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .main-menu-container li .sub-menu a {
    font-size: 16px;
    opacity: 1;
  }

  #mobile-menu-back-btn {
    display: flex;
    position: fixed;
    top: 3rem;
    left: 1rem;
    z-index: 2;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateX(100vw);
    transition: 0.4s ease-in-out;
  }

  #mobile-menu-back-btn:before {
    content: url(../images/icon-left-arrow.svg);
    position: relative;
    top: 2px;
  }

  #mobile-menu-back-btn.show {
    opacity: 1;
    transform: translateX(0);
  }

  /* #main-menu-navigation-container, */
  #main-menu-navigation-container {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    transform: translateX(-100%);
    pointer-events: none;
    transition: 0.7s;
    z-index: 1;
    height: 100%;
    width: 100%;

    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
  }

  .mobile-menu-footer {
    /* display: block; */
    border-top: 1px solid #e2ddd6;

    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .mobile-menu-footer-copy-container {
    background-color: #cacccb;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #020202;
  }

  .mobile-menu-footer-copy-container {
    margin-top: auto;
  }

  .mobile-menu-footer .button {
    background: #e2ddd6;
    display: flex;
    width: 390px;
    padding: 17.5px 0px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    border: 0;
    color: #242321;
    line-height: 21px; /* 131.25% */
    letter-spacing: 0.32px;
    text-transform: uppercase;
  }

  .mobile-menu-footer-button-container {
    display: flex;
    justify-content: center;
    padding: 1.5rem 30px 2rem;
  }

  .mobile-menu-footer-copy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }

  .mobile-menu-footer-copy hr {
    margin: 0;
    opacity: 1;
    width: 10px;
    border-top: 1.5px solid #7b7d7c;
  }

  .mobile-menu-footer-copy .text-gray {
    color: #7b7d7c;
  }

  .mobile-home-indicator {
    margin: 12px auto 0;
    width: 140px;
    height: 5px;
    background-color: var(--color-black);
    border-radius: 100px;
  }

  .menu-main-menu-navigation-container {
    /* position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    transform: translateX(-100%);
    pointer-events: none;
    transition: 0.7s;
    z-index: 1;
    height: 100%;
    width: 100%; */

    height: auto;
  }

  .logged-in #main-menu-navigation-container {
    top: calc(var(--header-height-mobile) + var(--header-wp-admin-bar));
  }

  header.open #main-menu-navigation-container {
    transform: none;
    pointer-events: auto;

    max-height: calc(100vh - var(--header-height-mobile));
    overflow-y: auto;
  }

  #navigation .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 2rem;
    justify-content: start;
  }

  .menu-main-menu-navigation-container > .menu a {
    padding: 1.5rem 1rem;
    display: block;
  }

  #navigation li {
    width: 100%;
  }

  #navigation .menu-mobile-only.menu-cta a {
    background-color: var(--color-brown);
    color: var(--color-black);
  }

  #services-sidebar-container {
    z-index: 3;
  }

  /* Header */

  header.container-fluid {
    height: calc(var(--header-height-mobile));
  }

  /* Header Navigation */

  .nav-icon.close:after {
    width: 100%;
  }

  .menu-primary-navigation-container,
  .logged-in .menu-primary-navigation-container {
    background: #f4f4f4;
    height: calc(100vh - 70px);
    width: 100%;
    left: 0;
    position: fixed;
    top: calc(-100vh - 70px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: scroll;
  }

  .logged-in .menu-primary-navigation-container,
  .logged-in .menu-primary-navigation-container {
    height: calc(100vh - 70px - 32px);
  }

  .menu-primary-navigation-container.visible {
    top: 69px;
  }

  .logged-in .menu-primary-navigation-container.visible {
    top: calc(69px + 32px);
  }

  #menu-primary-navigation {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    width: 100%;
    padding-top: 4em;
  }

  #menu-primary-navigation li,
  #menu-primary-navigation .sub-menu li {
    display: block;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    width: 100%;
  }

  #menu-primary-navigation a {
    font-size: 2.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    height: auto;
  }

  #menu-primary-navigation .sub-menu {
    display: none;
    position: relative;
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
  }

  #menu-primary-navigation .sub-menu li {
    padding: 0;
    margin: 0;
  }

  #menu-primary-navigation .sub-menu a {
    font-size: 2em;
    display: inline-block;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
  }

  #menu-primary-navigation .sub-menu a:after {
    display: none;
  }

  #menu-primary-navigation .menu-item-has-children > a:after {
    height: 10px;
    width: 14px;
  }

  #menu-primary-navigation .sub-menu a:before {
    display: none;
  }

  #menu-primary-navigation .sub-menu {
    /* Temporary */
    display: none;
  }

  /*  */
  #navigation .menu > li,
  #navigation .menu > li > a {
    height: auto;
  }

  #navigation .menu > li > a {
    /* First Level Items */
    font-size: var(--font-size-h4);
  }

  #navigation ul.sub-menu a {
    /* Second Level Items */
    color: var(--color-black-2);
    line-height: 21px; /* 131.25% */
    letter-spacing: 0.32px;
    opacity: 0.65;
  }

  #navigation ul.sub-menu li:last-child a {
    border-bottom: none;
  }

  #navigation .menu > li a {
    /* All <a> */
    width: 100%;
    display: block;
    font-weight: 700;
    padding: 1.2rem 30px;
  }

  #navigation .menu > li {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  #navigation .menu > li > ul.sub-menu {
    position: static;
    transform: none;
    background-color: transparent;
    box-shadow: none;
    width: 100%;
    max-height: 0;
    transition: opacity 0.4s ease 0s, max-height 0.4s ease 0.2s;
    opacity: 0;
    pointer-events: none;
  }

  #navigation ul li ul.sub-menu.show {
    pointer-events: auto;
    opacity: 1;
    transition: opacity 0.4s ease 0.2s, max-height 0.4s ease; /* Delay only on opacity */
  }

  #navigation .menu > li.menu-item-has-children > a:after {
    content: url(../images/icon-arrow-mobile-menu.svg);
    position: relative;
    opacity: 0.4;
    bottom: 3px;
    transform-origin: center;
    transition: 0.4s;
  }

  #navigation .menu > li.menu-item-has-children.show > a:after {
    transform: rotate(-180deg);
  }

  #navigation .menu .sub-menu a:after {
    content: url(../images/icon-mobile-arrow-right.svg);
    position: relative;
    opacity: 0.4;
    transform-origin: center;
    transition: 0.4s;
    margin-left: 0.5rem;
    transform: rotate(-45deg);
  }

  #navigation li:hover ul.sub-menu {
    transform: none;
  }

  /* Gravity Forms */

  .gform_wrapper div.validation_error {
    position: relative;
    top: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .gform_wrapper .gform_footer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .gform_wrapper li:nth-of-type(even) {
    padding-left: 15px;
  }

  .gform_wrapper textarea,
  .gform_wrapper
    input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not(
      [type="button"]
    ):not([type="image"]):not([type="file"]),
  .gform_wrapper select {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 900px) {
}

@media only screen and (max-width: 782px) {
}

@media only screen and (max-width: 767px) {
  /* Global */

  #wpadminbar {
    position: fixed !important;
  }

  html {
    /* font-size: 17px; */
  }

  .container {
    width: 100%;
  }

  /* .row {
    padding-top: 3em;
    padding-bottom: 3em;
  } */

  .py-small {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }

  .pt-small {
    padding-top: 1.5em;
  }

  .pb-small {
    padding-bottom: 1.5em;
  }

  /* Typography */

  /* Header */

  /* Header Navigation */

  #menu-primary-navigation {
    padding-top: 2em;
  }

  #menu-primary-navigation a {
    font-size: 1.3em;
  }

  #menu-primary-navigation .sub-menu > li:first-child {
    margin-top: 0.5em;
  }

  /* Special Layouts */

  #header {
    height: 300px;
  }

  /* HTML Video */

  .video {
    text-align: center;
  }

  /* Cards */

  /* Tables */

  table {
    display: block;
    overflow: scroll;
  }

  th,
  td {
    font-size: 0.7em;
  }

  td {
    line-height: 1.2;
  }

  th:last-of-type {
    padding-right: 2em;
  }

  td:last-of-type {
    padding-right: 2em;
  }

  /* Footer */
}

@media only screen and (max-width: 400px) {
}

@media only screen and (max-height: 800px), (max-width: 991px) {
  .sticky-sections {
    height: auto !important;
  }

  .sticky-section {
    position: relative;
    top: unset !important;
    height: auto;
  }

  #sticky-1 {
    margin-top: 0;
  }
}

@media (max-width: 500px) {
  .card:after {
    transform: translateY(70%);
  }
}

/**
*
* @Bootstrap Breakpoints - 
* The Breakpoints below matches the bootstrap breakpoints 
* But desktop-first approach
*
* xl: (max-width: 1199px)
* lg: (max-width: 991px)
* md: (max-width: 767px)
* sm: (max-width: 575px)
*
**/

/**
*** @xl and below  
**/
@media (max-width: 1199px) {
}

/**
*** @lg and below  
**/
@media (max-width: 991px) {
  .layout-full-width-image {
    background-attachment: scroll !important;
    background-position: center;
    background-size: cover;
  }

  /* 404 */
  .header-404 {
    font-size: 5rem;
  }

  .copy-404 {
    font-size: 2rem;
  }

  /* Footer */
  .footer-logo {
    display: none;
  }

  /* Hero */
  .layout-hero {
    padding-top: calc(var(--section-padding));
    padding-bottom: calc(var(--section-padding));
    min-height: 40vh;
  }

  .hero-lg.layout-hero {
    min-height: 60vh;
  }

  h1,
  .hero-header,
  .post-title {
    font-size: 3rem;
  }

  /* Footer */
  .footer-links {
    margin-top: 2rem;
  }

  .buildwitt-logo {
    text-align: left;
    margin-top: 2rem;
  }

  /* Stats */
  .metric-value {
    font-size: 3.5rem;
  }

  .metric-label {
    font-size: 1rem;
  }

  /* Featured Project */
  .featured-project-headline {
    margin-bottom: 0;
  }

  .featured-project-image img {
    width: 100%;
  }

  .image-text-buttons {
    margin-top: 2rem;
  }

  .image-text-buttons .button-group {
    flex-direction: column;
  }

  .image-text-buttons .button {
    width: 100%;
  }

  /* Linking Cards */
  .card-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Message */
  .message-img {
    max-width: 400px;
    width: 100%;
  }

  /* Accordion */
  .accordion {
    margin-top: 2rem;
  }

  /* Logos */
  .logos-list {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Project Slider Gallery */
  /* .container-slider-project-gallery {
    max-width: 100%;
    margin: auto;
    position: static;
  }

  .slider-project-gallery {
    margin: 0;
  }

  .container-slider-project-gallery {
    padding-left: 15px;
    padding-right: 15px;
  } */

  /* Contact */
  .contact-column {
    flex-direction: column;
    gap: 2rem;
  }

  /* Testimonials */
  .quote {
    font-size: 1.5rem;
  }

  /* Linking Cards */
  .linking-cards-header {
    margin-bottom: 2rem;
  }

  /* Text/HTML */
  .layout-header {
    margin-bottom: 1rem;
  }

  /* Timeline */
  .timeline-sidebar-container {
    display: none;
  }

  .progress-bar {
    right: unset;
    left: 15px;
  }

  .timeline-items-container {
    margin-top: 0 !important;
  }

  .timeline-year-header.desktop-only {
    display: none;
  }

  .timeline-year-header.mobile-only {
    display: block;
  }

  .timeline .circle-wrapper {
    position: absolute;
    height: 100%;
    left: -35px;
    min-width: 100px !important;
    max-width: 100px !important;
  }

  .timeline-item {
    position: relative;
  }
}

/**
*** @md and below   
**/
@media (max-width: 767px) {
  /* Section Spacing */
  .layout-accordion {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Stairs */
  .stairs-pattern:before {
    /* max-width: 216.5px;
    height: 56.5px;
    bottom: 30.5px;
    right: -1px; */
  }

  .stairs-pattern:after {
    /* height: 32.5px; */
  }

  .br-md-none br,
  h1 br,
  h2 br,
  h3 br,
  .layout-header br,
  .layout-subheader br {
    display: none;
  }

  #footer-navigation .menu {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer-secondary-menu {
    font-size: 0.75rem;
  }

  /* Hero */
  h1,
  .hero-header,
  .post-title {
    font-size: 2.5rem;
  }

  /* Hero */
  .hero-lg .hero-header {
    /* font-size: 3.5rem; */
  }

  .hero-copy {
    font-size: 1.75rem;
  }

  /* Footer */
  footer {
    background-image: none;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-links-header {
    margin-bottom: 1rem;
  }

  /* Layout: Background Image */
  .background-image-headline {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 2.5rem;
  }

  .background-image-headline {
    min-height: 500px;
  }

  .spinning-logo-container {
    transform: translateY(-35%) scale(0.6);
  }

  .card-cta.span-md-1,
  .card-cta.span-md-2 {
    grid-column: span 1;
  }

  .card:after {
    transform: translateY(75%);
  }

  .testimonial-slide {
    padding: 3rem;
    background-image: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Layout: Blog */
  .blog-slide-title {
    margin-bottom: 2rem;
  }

  /* Layout: Basic */
  .numbered-column {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Open Positions / Job Listings */
  .job-listing {
    flex-direction: column;
  }

  /* Contact Form */
  div.gform_wrapper.gravity-theme .gform_fields {
    display: block;
  }

  /* Testimonial */
  .testimonial-slide {
    padding: 2rem 3rem;
  }

  .testimonial-img {
    max-width: 300px;
    display: block;
    margin: auto;
  }

  .testimonial-slider-arrow {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .author {
    margin-bottom: 0;
  }

  /* Layout: Stats */
  .stats-list {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Layout: Cards */
  .card-title {
    font-size: 1.25rem;
  }

  /* Content Cards */
  .content-card-list {
    grid-template-columns: repeat(1, 1fr);
  }

  /* Logos */
  .logos-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /* CTA */
  .cta-header {
    font-size: 2.25rem;
  }

  /* Stats */
  .metrics {
    min-height: 0;
  }

  .metrics .metric-label {
    height: auto !important;
  }

  /* Message */
  .member-modal {
    padding: 7rem 2rem;
  }

  .member-modal .fancybox-close-small {
    height: 60px;
    width: 60px;
    right: 2rem;
  }

  /* Project Slider Gallery */
  .container-slider-project-gallery {
    overflow: hidden;
  }

  .slide-project-gallery {
    width: 250px;
  }

  /* Image & Text */
  .image-text-buttons {
    margin-top: 3rem;
  }
}

@media (max-width: 650px) {
  /* Layout: Stats */
  .card-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/**
*** @sm and below  
**/
@media (max-width: 575px) {
  /* Footer */
  .footer-secondary-row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 2rem;
  }

  #footer-secondary-navigation .menu {
    justify-content: center;
  }

  .button-group {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .layout-testimonials .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .side-arrow .slick-arrow.prev svg,
  .side-arrow .slick-arrow.next svg {
    height: 22px;
    width: 22px;
  }

  .side-arrow .slick-arrow.prev {
    left: -1rem;
  }

  .side-arrow .slick-arrow.next {
    right: -1rem;
  }

  .hero-background-container,
  .layout-cta,
  .layout-full-width-image {
    background-attachment: scroll;
  }

  /* Layout: Basic */
  .numbered-column {
    grid-template-columns: repeat(1, 1fr);
  }

  .background-image-headline {
    font-size: 2rem;
  }

  /* 404 */
  .layout-404-bg img {
    display: none;
  }

  /* Content Cards */
  .content-card-image {
    min-height: 300px;
  }

  /* Logos */
  .logos-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .layout-testimonials {
    padding-top: var(--section-padding-half);
  }

  .testimonial-img {
    display: none;
  }

  .layout-testimonials .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .testimonial-slide,
  .testimonial-slider-arrow {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonial-slide {
    padding-top: 0;
  }

  .btn.slick-arrow {
    width: 70px;
    height: 43px;
  }

  .featured-project-image img {
    min-height: 350px;
    object-fit: cover;
  }

  /* Layout: Hero */
  .hero-copy {
    font-size: 1.5rem;
  }

  .hero-lg .hero-header > span {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-lg .hero-header span .outline {
    flex-basis: 100%;
    justify-content: center;
  }

  .hero-lg .hero-header span div {
    flex: 0;
  }

  /* Hero */
  .hero-lg .hero-header {
    font-size: 3rem;
  }

  .hero-lg .outline {
    display: block;
  }

  .timeline-copy {
    font-size: 0.9rem;
  }

  /* Linking Cards */
  .linking-cards-header {
    margin-bottom: 3rem;
  }

  /* Message */
  .member-modal {
    padding: 5rem 2rem;
  }

  .member-modal .fancybox-close-small {
    height: 40px;
    width: 40px;
    right: 2rem;
    top: 1.25rem;
  }

  .member-name {
    font-size: 2rem;
  }

  /* Project Slider Gallery */
  .slide-project-gallery {
    width: 200px;
  }
}

@media (max-width: 440px) {
  /* Layout: Hero */
  .hero-copy {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  /* Hero */
  .hero-lg .hero-header {
    font-size: 2.5rem;
    white-space: nowrap;
  }

  .timeline-img {
    height: 250px;
    object-fit: cover;
  }
}

@media (max-width: 340px) {
  /* Layout: Hero */
  .hero-copy {
    font-size: 1rem;
  }
}
