/* -- General -- */

:root {
    --r_gaf-red: #d71920;
}
.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;
    background-color: #f3f3f3;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.35em;
    font-weight: 500;
    color: #282828;
}
.r_space-around {
    position: relative;
    z-index: 0;
    padding: 90px 5%;
}
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.r_content-wrapper-sm {
    max-width: 1450px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}
.r_content-left {
    margin-left: 0;
}



/* -- Hero -- */

#r_hero_section {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .2) 15%, rgba(0, 0, 0, .8) 85%), url(/imageserver/Reusable/GAF/gaf23/dark_abstract_bg.webp);
    background-size: cover;
    background-position: center;
    background-color: #404040;
    border-bottom: 4px solid var(--r_gaf-red);
    text-align: center;
}
#r_hero_section::after {
    content: "";
    position: absolute;
    height: 20px;
    inset: auto 0 -10px;
    border-top: 2px dashed #e0e0e0;
    border-bottom: 2px solid #151515;
}
.r_h1 {
    position: relative;
    font-size: 2.4em;
    font-weight: 700;
    margin: 15px 0 30px;
    line-height: 1.05em;
    color: #fff;
}
.r_h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--r_gaf-red);
}
.r_h1-thin {
    font-weight: 300;
}
#r_hero_section p {
    color: #fff;
    font-weight: 400;
}
#r_hero_section .r_solar-comp {
    position: relative;
    display: inline-block;
    font-size: .9em;
    margin-top: 12px;
    padding-left: 35px;
    font-weight: 700;
    font-style: italic;
}
#r_hero_section .r_solar-comp::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 25px;
    height: 25px;
    background-image: url(/imageserver/Reusable/GAF/gaf23/sun_icon.svg);
    background-size: cover;
    background-position: center;
}



/* -- Shingles -- */

#r_previews_gallery,
#r_colors_gallery {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
#r_previews_gallery {
    margin: 50px auto 15px;
    height: 500px;
}
#r_previews_gallery .swiper-slide {
    background-position: 15% center;
    background-size: cover;
}
#r_previews_gallery .r_shingle-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 1.1em;
    font-weight: 700;
    background-color: #fff;
    margin: 0;
    padding: 8px 20px;
    border: 2px solid var(--r_gaf-red);
}
.r_zoom-in {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border: 2px solid var(--r_gaf-red);
    border-radius: 10px;
    background-image: url(/imageserver/Reusable/GAF/gaf23/gaf23-shingles/zoom_in_icon.svg);
    background-size: cover;
    background-position: center;
}
#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_colors_gallery {
    margin: 20px auto 0;
}
#r_colors_gallery .swiper-slide {
    max-width: 125px;
    width: 100%;
    height: 180px;
}
#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_gaf-red);
}
#r_colors_gallery .r_color-name {
    font-size: .65em;
    font-weight: 500;
    margin: 2px 0 0 4px;
}

p.r_note {
    font-size: .85em;
    color: #606060;
    font-style: italic;
}



/* -- About -- */

.r_h2 {
    position: relative;
    font-size: 2.1em;
    font-weight: 600;
    margin: 15px 0 30px;
    line-height: 1.05em;
    color: #181818;
}
.r_h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--r_gaf-red);
}
.r_link {
    font-weight: 700;
    color: #484848;
    font-style: italic;
    text-decoration: underline;
}
.r_link:hover {
    color: #484848;
    text-decoration: none;
}
.r_underline {
    width: 100%;
    margin: 0 auto;
    max-width: 1550px;
    width: 90%;
    border-radius: 50%;
    height: 2px;
    background-color: #a8a8a8;
    border: none;
}

.r_logo-wrapper {
    display: flex;
    margin: 30px 0 15px;
}
.r_logo-wrapper img {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin: 8px;
}



/* -- Features & Benefits -- */

.r_benefits-list {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    list-style: none;
    gap: .75%;
}
.r_benefits-item {
    width: 31.8333333333%;
    margin: 15px auto;
    padding: 40px 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}
.r_benefits-icon {
    display: block;
    margin-bottom: 20px;
    width: 75px;
    height: 75px;
}
.r_fill-red {
    fill: var(--r_gaf-red);
}
.r_fill-none {
    fill: none;
}
.r_benefits-item h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 15px auto;
}
.r_benefits-item p {
    font-size: .95em;
}



/* -- Warranties -- */

.r_warranties-list {
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto 20px;
    padding: 0;
    list-style: none;
    gap: 1%;
}
.r_warranties-item {
    max-width: 500px;
    margin: 15px auto;
}
.r_warranties-item-4 {
    width: 23%;
}
.r_warranties-item-3 {
    width: 31.3333333333%;
}
.r_warranties-item img {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0px auto 30px;
}
.r_warranties-item h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 15px auto;
}
.r_warranties-item p {
    font-size: .95em;
}



/* -- Responsiveness -- */

@media (max-width: 1300px) {
    .r_warranties-item-4 {
        width: 48%;
    }
}

@media (max-width: 981px) {
    .r_benefits-item {
        width: 100%;
    }
    .r_benefits-content {
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .r_warranties-item-3 {
        width: 100%;
    }
}

@media (max-width: 750px) {
    .r_space-around {
        padding: 70px 20px;
    }
    .r_h1 {
        font-size: 2.15em;
    }
    .r_h2 {
        font-size: 1.9em;
    }

    #r_previews_gallery {
        height: 400px;
    }
    #r_previews_gallery .r_shingle-title {
        font-size: 1em;
    }

    .r_warranties-item-4 {
        width: 100%;
    }
}

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

    #r_previews_gallery {
        height: 300px;
    }
    #r_previews_gallery .r_shingle-title {
        font-size: .9em;
    }
}