/* -- General -- */

:root {
    --r_cert-blue: #005eb8;
    --r_dark-blue: #00448a;
}
.maincontent {
    display: block !important;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: .015em;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    overflow: hidden;
}
.maincontent p {
    font-size: .95em;
    line-height: 1.35em;
    font-weight: 400;
    color: #111;
}



/* -- Hero -- */

#r_hero_section {
    background: linear-gradient(135deg, var(--r_dark-blue) 25%, var(--r_cert-blue) 75%);
    text-align: center;
    padding: 80px 5%;
}
.r_h1 {
    font-size: 2.5em;
    line-height: 1.05em;
    font-weight: 400;
    margin: 0;
    color: #fff;
}
.r_h1-highlight {
    font-weight: 800;
}



/* -- Products -- */

#r_products_page {
    display: flex;
    flex-wrap: wrap;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

.r_products-container {
    width: 75%;
    opacity: 1;
    transform: translateX(0);
    transition: opacity .3s, transform .3s;
}
.r_invisible {
    opacity: 0;
    transform: translateX(20px);
}

.r_products-nav {
    width: 25%;
    background-color: #f0f0f0;
    padding: 15px 0;
}
p.r_nav-header {
    margin: 20px 25px;
    font-weight: 700;
    border-bottom: 2px solid #c0c0c0;
    color: var(--r_dark-blue);
    padding-bottom: 5px;
}
.r_products-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.r_products-nav ul li a {
    display: block;
    padding: 10px 25px;
    margin: 0;
    font-size: .9em;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}
.r_products-nav ul li a:hover {
    background-color: #ddd;
    color: #111;
    text-decoration: none;
}
.r_products-nav ul li a.r_active-link {
    background-color: var(--r_dark-blue);
    color: #fff;
    font-weight: 600;
}

.r_products-wrapper {
    display: none;
}
#certaplank {
    display: block; /* Show by default */
}
.r_products-body {
    max-width: 1200px;
    width: 100%;
    padding: 50px 5%;
}
.r_products-body h2 {
    font-size: 2em;
    color: var(--r_dark-blue);
    font-weight: 800;
    border-bottom: 2px solid var(--r_cert-blue);
    padding-bottom: 10px;
    margin-bottom: 40px;
}
.r_products-body h3 {
    font-size: 1.15em;
    font-weight: 700;
    margin: 0 0 15px;
    color: var(--r_cert-blue);
    text-transform: uppercase;
}
.r_underline {
    margin: 50px 0;
    border-top: 1px solid var(--r_cert-blue);
}

.r_link {
    display: block;
    font-size: .9em;
    font-weight: 600;
    max-width: fit-content;
    width: 100%;
    text-align: center;
    margin-block: 30px 20px;
    padding: 8px 15px;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid var(--r_cert-blue);
    color: var(--r_dark-blue);
    border-radius: 5px;
    transition: background-color .2s, color .2s;
}
.r_link:hover,
.r_link:focus {
    background-color: var(--r_cert-blue);
    color: #fff;
    text-decoration: none;
}

.r_col-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}
.r_col-2 {
    width: 47.5%;
}

.r_details-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}
.r_details-item {
    position: relative;
    margin-bottom: 5px;
    padding-left: 15px;
}
.r_details-item::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 3px;
    width: 5px;
    height: 5px;
    background-color: var(--r_dark-blue);
    border-radius: 50%;
}
.r_details-item p {
    margin: 0;
    font-size: .9em;
}

.r_features-list {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}
.r_features-item {
    position: relative;
    width: 47.5%;
    margin-bottom: 25px;
}
.r_features-item h4 {
    font-size: .95em;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    padding-left: 8px;
    border-left: 2px solid var(--r_cert-blue);
}
.r_features-item p {
    margin: 0;
    font-size: .9em;
    padding-left: 8px;
}



/* -- Color & Preview Galleries --*/

.r_previews-gallery {
    margin: 40px auto 15px;
    height: 550px;
}
.r_previews-gallery .swiper-slide {
    background-position: center 75%;
    background-size: cover;
}
.r_previews-gallery .r_color-name {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #fff;
    color: var(--r_cert-blue);
    font-size: 1em;
    font-weight: 800;
    padding: 8px 15px;
}
.r_previews-gallery .swiper-button-prev,
.r_previews-gallery .swiper-button-next {
    color: #fff !important;
    font-weight: 800;
}
.r_previews-gallery .swiper-button-prev {
    left: 0 !important;
}
.r_previews-gallery .swiper-button-next {
    right: 0 !important;
}
.r_previews-gallery .swiper-button-prev::after,
.r_previews-gallery .swiper-button-next::after {
    font-size: 28px !important;
}

.r_zoom-in {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    background-image: url(/imageserver/Reusable/GAF/gaf23/gaf23-shingles/zoom_in_icon.svg);
    background-size: cover;
    background-position: center;
}

.r_colors-gallery {
    margin: 20px auto 50px;
}
.r_colors-gallery .swiper-slide {
    max-width: 110px;
    width: 100%;
    height: 160px;
}
.r_colors-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border: 4px solid transparent;
    transition: border-color .2s;
}
.r_colors-gallery .swiper-slide-thumb-active img {
    border-color: var(--r_cert-blue);
}
.r_colors-gallery .r_color-name {
    font-size: .65em;
    font-weight: 500;
    margin: 2px 0 0 4px;
}



/* -- Responsiveness -- */

@media (max-width: 981px) {
    .r_products-nav,
    .r_products-container {
        width: 100%;
    }
}

@media (max-width: 750px) {
    .r_h1 {
        font-size: 2.25em;
    }
    .r_products-body h2 {
        font-size: 1.8em;
    }

    .r_previews-gallery {
        height: 450px;
    }
}

@media (max-width: 650px) {
    .r_col-2,
    .r_features-item {
        width: 100%;
    }
    .r_col-2:first-child {
        margin-bottom: 40px;
    }
    .r_link {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .r_h1 {
        font-size: 2em;
    }
    .r_products-body h2 {
        font-size: 1.6em;
    }

    .r_products-body {
        padding-inline: 20px;
    }
    .r_previews-gallery {
        height: 350px;
    }
}