/* -- General -- */

:root {
    --gaf-red: #D71921;
}
.maincontent {
    display: block !important;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 16px;
    letter-spacing: .015em;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}
.r_main-wrapper {
    max-width: 1550px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.r_h1,
.r_h2,
.r_h3 {
    margin: 20px 0;
    line-height: 1.05em;
    color: #111;
}
.r_h1 {
    position: relative;
    font-size: 3em;
    font-weight: 700;
    border-left: 4px solid var(--gaf-red);
    padding-left: 20px;
    color: #fff;
}
.r_h1-alt {
    display: block;
    margin-top: 10px;
    font-size: .75em;
    font-weight: 300;
    font-style: italic;
    line-height: 1.05em;
}
.r_h2 {
    font-size: 2.6em;
    font-weight: 700;
}
.r_h3 {
    font-size: 1.4em;
    font-weight: 600;
}
.maincontent p {
    font-size: 1.05em;
    line-height: 1.4em;
    font-weight: 500;
}



/* -- Hero -- */

#r_hero_global {
    padding: 100px 20px;
    background-image: url(/imageserver/Reusable/GAF/ventilation/hero-bg.webp);
    background-size: cover;
    background-position: 65% 25%;
    background-blend-mode: overlay;
    background-color: #282828;
}
.r_hero-wrapper {
    max-width: 1550px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.r_hero-content {
    max-width: 1000px;
    width: 100%;
}
.r_hero-content p {
    font-size: 1.15em;
    font-style: italic;
    color: #fff;
}



/* -- Nav -- */

.r_product-nav-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    background-color: #e8e8e8;
    border: 2px solid #d4d4d4;
}
.r_product-nav-item {
    width: 25%;
}
.r_product-nav-button {
    position: relative;
    width: 100%;
    background-color: transparent;
    border: none;
    text-align: center;
    padding: 10px;
    font-size: 1.05em;
    font-weight: 500;
    transition: color .4s, background-color .4s;
}
.r_product-nav-button::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 35%;
    width: 0;
    height: 3px;
    background-color: var(--gaf-red);
    transition: width .4s;
}
.r_active {
    color: var(--gaf-red);
    background-color: #fff;
}
.r_active::after {
    width: 30%;
}
.r_nav-disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}



/* -- Main -- */

#r_main_global {
    padding: 125px 3%;
    background-color: #f4f4f4;
}
.r_product-list-wrapper {
    padding-top: 60px;
    transition: opacity .4s, transform .4s;
}
.r_product-list-wrapper h2 {
    text-align: center;
}
.r_product-list {
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto 20px;
    padding: 0;
    list-style: none;
}
.r_product-item {
    width: 23.5%;
    padding: 40px 20px 50px;
    margin: 20px .75%;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .25);
    border-top: 4px solid var(--gaf-red);
    background-color: #fff;
    opacity: 1;
}
.r_product-item img {
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto 60px;
    box-shadow: 0 5px 10px rgba(5, 5, 5, .15);
    border-radius: 10px;
    transition: transform .4s;
}
.product-img-link:hover img,
.product-img-link:focus img {
    transform: scale(1.1);
}
.r_product-list-wrapper h3 sup {
    font-size: .6em;
    color: #656565;
    top: -.6em;
}
.r_product-item p {
    font-size: .95em;
}
.r_fade-out {
    opacity: 0;
    transform: translateX(-30px);
}
.r_display-none {
    display: none;
}



/* -- Responsiveness -- */

@media (max-width: 1400px) {
    .r_product-nav-item {
        width: 50%;
    }
}

@media (max-width: 1300px) {
    .r_product-item {
        width: 31.8333333333%;
    }
}

@media (max-width: 981px) {
    .r_product-item {
        width: 48.5%;
    }
}

@media (max-width: 750px) {
    .r_h1 {
        font-size: 2.5em;
    }
    .r_h2 {
        font-size: 2.3em;
    }

    #r_main_global {
        padding: 100px 20px;
    }
    .r_product-nav-item {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .r_product-item {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 550px) {
    .r_h1,
    .r_h2 {
        font-size: 2em;
    }
}