  /* ------------------------- responsive styles for widths over 576px ------------------------- */
@media screen and (min-width: 576px) {
    form#mobile-searchform {
        display: none;
    }

    .mobile-contact-links {
        display: none;
    }
}

/* ------------------------- responsive styles for widths over 768px ------------------------- */
@media screen and (min-width: 768px) {
    body:not(.single-case_study) .custom-row-content img {
        width: 100%;
    }
    section#callout-wrapper > .callout-image {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    #content .padding {
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .featured-image-col {
        margin-bottom: 2rem;
    }

    .callout-image::after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
    }

    .brands-row > [class*="col"]+[class*="col"] {
        margin-left: 1rem;
    }

}

/* ------------------------- responsive styles for widths over 992px ------------------------- */
@media screen and (min-width: 992px) {
    /* .services-row > [class*="col-lg"]:nth-child(n+4) {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    } */

    #menu-item-sidenav-toggle {
        display: none;
    }
}

/* ------------------------- responsive styles for widths over 1200px ------------------------- */
@media screen and (min-width: 1200px) {
    .wrapper {
        padding: 4rem;
    }

    .container {
        max-width: 1540px;
    }
}

/* ------------------------- responsive styles for widths under 1200px ------------------------- */
@media screen and (max-width: 1200px) {
    .container {
        max-width: none;
    }
}

/* ------------------------- responsive styles for widths under 992px ------------------------- */
@media screen and (max-width: 992px) {
    ul#main-menu > li:not(#menu-item-sidenav-toggle):not(#menu-item-nav-search) {
        display: none;
    }

    ul#footer-nav {
        justify-content: flex-start;
    }

    .custom-modal .image-col {
        padding-top: 100%;
    }
}

/* ------------------------- responsive styles for widths under 768px ------------------------- */
@media screen and (max-width: 768px) {
    div#featured-tabs {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .featured-section-wrapper .nav-link {
        max-width: 120px;
        min-width: 100px;
        width: 25vw;
    }
    .featured-section-wrapper .nav-link {
        padding: 0.75rem;
        padding-top: calc( 0.75rem + 4px);
    }
    .featured-section-wrapper .nav-link.active::before {
        width: 100%;
        height: 4px;
    }

    .featured-col {
        flex-direction: column;
    }
    .nav-image.video::after {
        font-size: 1.5rem;
    }

    .highlights-wrapper > .section-inner {
        padding: 2rem;
    }

    [class*="col-md"]+[class*="col-md"]:not(.col-6):not(.header-button-col) {
        margin-top: 2rem;
    }

    .featured-image.page-image::before {
        content: '';
/*         padding-top: 50%; */
        width: 100%;
        display: block;
    }

    .footer-widget {
        text-align: center;
    }

    .entry-title, .section-title, .page-title {
        margin-bottom: 1rem;
    }

    #page .title-wrapper {
        margin-bottom: 2.5rem;
    }

    .header-button-col {
        margin-bottom: 2rem;
    }

    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .loop-post-row hr {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    #hp-content-wrapper .featured-image {
        background-image: url(/wp-content/uploads/2020/06/Building-Drawing-1.png);
        background-repeat: no-repeat;
        padding-top: 60%;
        background-size: cover;
        background-position: center;
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }

    #hp-content-wrapper {
        padding-top: 2rem;
    }

    .title-wrapper.has-link h2.text-uppercase.section-title.underline {
        margin-left: 0;
    }

    h1.product-line+.page-title {
        margin-bottom: 2rem;
    }

    .single-product .row.breadcrumbs-row {
        margin-bottom: 1rem;
    }

    section#callout-wrapper .row {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    section#callout-wrapper {
        font-size: 1.5rem;
        line-height: 2rem;
        padding: 2rem 0;
    }

    .col-inner.bg-gray {
        padding: 2rem;

    }

    .custom-row+.custom-row {
        margin-top: 2rem;
    }

    .home h1 {
        font-size: 3.5rem;
    }

    .home h1 span {
        margin-left: 25px;
    }
}

@media screen and (max-width: 620px) {
    .list-col {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

/* ------------------------- responsive styles for widths under 576px ------------------------- */
@media screen and (max-width: 576px) {
    ul#main-menu > li#menu-item-nav-search {
        display: none;
    }

    #top-nav-wrapper {
        display: none;
    }

    #content {
        margin-top: 95px;
    }

    ul#footer-nav {
        flex-direction: column;
    } 
    
    ul.top-bar-social-nav {
        max-width: 145px;
        margin-bottom: 0.25rem;
    }
    .resources-container {
        padding: 0rem 0.5rem;
    }

    .btn:not(#searchsubmit):not(#mobile-searchsubmit), .gform_button {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
        line-height: 1.1rem;
    }

    .custom-card-col.cat, .custom-card-col.leader, .custom-card-col.distributor {
        margin-bottom: 1.5rem;
    }

    .card.custom-card .card-body {
        padding: 0.5rem;
    }

    .custom-card a.btn {
        min-width: none;
        width: 100%;
    }

    .title-wrapper.has-link {
        text-align: center;
    }
    
    .title-wrapper.has-link > * {
        width: 100%;
    }
    .title-wrapper.has-link > * {
        position: relative;
        right: 0;
    }
    
    .title-wrapper.has-link > .section-title {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 450px) {
    .custom-card-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 1020px) and (min-width: 778px) {
    #rev_slider_1_1 .tp-bullets {
        display: none !important;
    }
}
@media screen and (max-width: 778px) {
    .slide-title {
        font-size: 1.5rem;
    }
    
    .home rs-layer p {
        font-size: 1rem;
        line-height: 1.5rem;   
    }

    .section-title {
        line-height: 1.5rem !important;
    }
    #rev_slider_1_1 .tp-bullets {
        transform: translateX(-50%) !important;
        top: 95% !important;
    }
    #rev_slider_1_1 br {
        display: none;
    }
}

@media screen and (max-width: 480px) {   
    .slide-title {
        font-size: 1.25rem;
    }
    
    .home rs-layer p {
        font-size: 0.9rem;
        line-height: 1.5rem;   
    }

    .section-title {
        line-height: 1.5rem !important;
    }
}