/* ********** General ********** */

:root {
    --r_gaf-red: #d71920;
    --r_blue: #18346A;
}
.maincontent {
    display: block !important;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: .025rem;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    background-color: #f3f3f3;
    overflow: hidden;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.45em;
    font-weight: 400;
    color: #282828;
}
.r_p-highlight {
    color: #18346A;
    font-weight: 600;
    font-style: italic;
}
p.r_note {
    font-size: .8em;
    color: #606060;
    font-style: italic;
    margin-bottom: 20px;
}

.r_underline {
    width: 100%;
    margin: 0 auto;
    max-width: 1550px;
    width: 90%;
    border-radius: 50%;
    height: 2px;
    background-color: #a8a8a8;
    border: none;
}
.r_underline-sm {
    width: 100px;
    margin: 20px auto;
    border-top: 3px solid var(--r_gaf-red);
}
.r_underline-sm-left {
    margin-left: 0;
}

.r_h1,
.r_h2,
.r_h3,
.r_h4 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    position: relative;
    line-height: 1.15em;
    margin: 20px auto;
    color: #181818;
}
.r_h1 {
    font-size: 3em;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 0 15px #202020;
    text-transform: uppercase;
}
.r_h1-sup {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 30px;
    font-size: .3em;
    line-height: 1em;
    font-weight: 700;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.r_h2 {
    font-size: 2.25em;
    font-weight: 500;
}
.r_h2-sup {
    display: block;
    line-height: 1.15em;
    font-size: .8em;
    margin-bottom: 8px;
}
.r_h3 {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 30px;
}
.r_h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--r_gaf-red);
}
.r_h3-no-underline {
    text-align: center;
    text-transform: uppercase;
}
.r_h3-no-underline::after {
    display: none;
}
.r_h4 {
    font-size: 1.15em;
    font-weight: 600;
}
.r_h-sup {
    display: block;
    line-height: 1.15em;
    font-size: .6em;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--r_blue);
}
.r_thin {
    font-weight: 500;
}
.r_bold {
    font-weight: 700;
}
.r_blue {
    color: var(--r_blue);
}
.r_sup {
    font-weight: 300;
    color: #50525d;
    margin-left: 3px;
}

.r_space-around,
.r_space-around-lg,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 80px 5%;
}
.r_space-around-lg {
    padding: 120px 5%;
}
.r_space-around-sm {
    padding: 50px 5%;
}

.r_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.r_wrapper-align-top {
    align-items: flex-start;
}
.r_wrapper-reverse {
    flex-direction: row-reverse;
}
.r_col-sm {
    width: 45%;
    padding: 20px 30px;
}
.r_col-lg {
    width: 55%;
    padding: 20px 30px;
}
.r_img-wrapper {
    position: relative;
    max-width: 750px;
    width: 100%;
    margin: 20px auto;
}
.r_img-wrapper-sm {
    max-width: 550px;
}
.r_img-wrapper img {
    width: 100%;
    height: auto;
    background-color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    border: 3px solid #fdfdfd;
    border-radius: 5px;
}
.r_text-center {
    text-align: center;
}

.r_content-wrapper,
.r_content-wrapper-md,
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-inline: auto;
}
.r_content-wrapper {
    max-width: 1500px;
}
.r_content-wrapper-md {
    max-width: 1350px;
}
.r_content-wrapper-sm {
    max-width: 1200px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}
.r_content-wrapper-left {
    margin-left: 0;
}

.r_text-center {
    text-align: center;
}

.r_site-button {
    position: relative;
    display: block;
    width: fit-content;
    font-size: 1em;
    margin: 25px auto 20px;
    color: var(--r_blue);
    font-weight: 700;
    text-decoration: none;
    transition: color .3s;
}
.r_site-button:hover,
.r_site-button:focus {
    color: #50525d;
    text-decoration: none;
}
.r_site-button::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--r_blue);
    transition: width .3s, opacity .3s;
}
.r_site-button:hover::before,
.r_site-button:focus::before {
    width: 0;
    opacity: 0;
}
.r_site-button::after {
    content: "";
    position: absolute;
    top: 8px;
    right: -15px;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--r_blue);
    border-right: 2px solid var(--r_blue);
    transform: rotate(45deg);
    transition: border-color .3s, right .3s;
}
.r_site-button:hover::after,
.r_site-button:focus::after {
    border-color: #50525d;
    right: -20px;
}
.r_site-button-left {
    margin-left: 0;
}



/* -- Hero -- */

.r_hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 10px solid var(--r_gaf-red);
    text-align: center;
}
.r_hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: #404040;
    z-index: -1;
}
#r_hero_shingles::before {
    background-image: url(/imageserver/Reusable/GAF/gaf23/uhdz_bg.webp);
}
#r_hero_warranties::before {
    background-image: url(/imageserver/Reusable/GAF/gaf23/warranty_bg.webp);
}



/* -- Responsiveness -- */

@media (max-width: 1024px) {
    .r_wrapper {
        max-width: 750px;
        width: 100%;
        margin-inline: auto;
    }
    .r_col-sm,
    .r_col-lg {
        width: 100%;
        padding: 0;
    }
    .r_img-wrapper {
        max-width: 750px;
        margin-bottom: 40px;
    }
}

@media (max-width: 750px) {
    .r_hero-section {
        min-height: 475px;
    }
    .r_h1 {
        font-size: 2.6em;
    }
    .r_h1-sup {
        font-size: .35em;
    }
    .r_h2,
    .r_h3 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .r_hero-section {
        min-height: 450px;
    }
    .r_h1 {
        font-size: 2.2em;
    }
    .r_h1-sup {
        font-size: .4em;
    }
    .r_h2,
    .r_h3 {
        font-size: 1.8em;
    }

    .r_space-around,
    .r_space-around-sm {
        padding-inline: 20px;
    }
    .r_space-around-lg {
        padding: 80px 20px;
    }
    .r_text-center {
        text-align: left;
    }
}






/* ********** Warranty Page ********** */

/* -- Warranties - Logos -- */

.r_warr-logo-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 45px auto 20px;
    padding: 0;
}
.r_warr-logo {
    position: relative;
    margin: 0;
    text-align: center;
}
.r_warr-logo-5 {
    width: 20%;
}
.r_warr-logo-3 {
    width: calc(33.3333333333% - (6% / 3));
}
.r_warr-logo img {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform .33s;
}
.r_warr-logo-link {
    position: relative;
    border: none;
    background-color: transparent;
    width: 100%;
    padding: 30px 20px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: border-color .33s, box-shadow .33s;
}
.r_warr-logo-link:hover img,
.r_warr-logo-link:focus img {
    transform: scale(1.08);
}

.r_warr-logo-link-content {
    display: block;
    font-size: .85em;
    font-weight: 600;
    line-height: 1.25em;
    margin: 25px auto 0;
    transition: color .33s;
}
.r_warr-logo-link:hover .r_warr-logo-link-content,
.r_warr-logo-link:focus .r_warr-logo-link-content {
    color: var(--r_gaf-red);
}

.r_warr-logo-link-active {
    box-shadow: 0 5px 10px rgba(5, 5, 5, .15);
    border: 2px solid #d0d2dd;
}



/* -- Warranties - Info -- */

.r_warr-info-header {
    position: relative;
    padding-bottom: 90px;
    text-align: center;
    border-bottom: 4px solid var(--r_gaf-red);
    z-index: 1;
}
#r_shingle_and_accessory_wrapper .r_warr-info-header {
    background-color: #434854;
    color: #fff;
}
#r_roofing_system_wrapper .r_warr-info-header {
    background-color: #c9cbcb;
    color: #111;
}
#r_system_plus_wrapper .r_warr-info-header {
    background: linear-gradient(135deg, #1f9ac3, #073673, #0278c0);
    color: #fff;
}
#r_silver_pledge_wrapper .r_warr-info-header {
    background: linear-gradient(90deg, #abadae, #878b91, #636566);
    color: #fff;
}
#r_golden_pledge_wrapper .r_warr-info-header {
    background: linear-gradient(90deg, #937647, #cbb47a, #402a18);
    color: #fff;
}
.r_warr-info-header h3 {
    text-transform: uppercase;
    color: inherit;
    margin: 0;
    font-weight: 700;
}
.r_warr-link {
    position: absolute;
    inset: auto 0 0;
    transform: translateY(50%);
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    border-radius: 25px;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(5, 5, 5, .15);
    border: 2px solid #e0e0e0;
    color: var(--r_gaf-red);
    font-size: .9em;
    font-weight: 500;
    text-decoration: none;
    transition: color .33s, background-color .33s;
}
.r_warr-link:hover,
.r_warr-link:focus {
    background-color: var(--r_gaf-red);
    color: #fff;
    text-decoration: none;
}
.r_warr-link-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: sub;
    fill: var(--r_gaf-red);
    transition: fill .33s;
}
.r_warr-link:hover .r_warr-link-icon,
.r_warr-link:focus .r_warr-link-icon {
    fill: #fff;
}

.r_warranty-container {
    transition: opacity .33s;
}
.r_invisible {
    opacity: 0;
}

.r_warr-wrapper {
    display: none;
}
#r_shingle_and_accessory_wrapper {
    display: block;
}
.r_warr-info-wrapper h4 {
    text-align: center;
    font-weight: 700;
}
.r_warr-info-wrapper h4::after {
    display: none;
}
.r_warr-info-list {
    list-style: none;
    margin: 45px auto 20px;
    padding: 0;
    gap: 3%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.r_warr-info-item {
    position: relative;
    width: calc(33.3333333333% - (6% / 3));
    margin-block: 15px;
    padding: 40px 30px 40px 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(5, 5, 5, .15);
}
.r_warr-info-item h5 {
    margin-block: 10px 15px;
}

.r_warr-info-item-checkmark::before,
.r_warr-info-item-x::before {
    content: "";
    position: absolute;
    top: 48px;
    left: -8px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
}
.r_warr-info-item-checkmark::before {
    background-color: #29CC34;
}
.r_warr-info-item-x::before {
    background-color: var(--r_gaf-red);
}
.r_warr-info-item-checkmark::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 54px;
    border-bottom: 4px solid #fff;
    border-right: 4px solid #fff;
    transform: rotateZ(45deg);
    width: 8px;
    height: 15px;
}
.r_warr-info-item-x::after {
    content: "";
    position: absolute;
    left: 0px;
    top: 56px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%), linear-gradient(-135deg, transparent 40%, #fff 40%, #fff 60%, transparent 60%);
}
.r_warr-info-item p {
    position: relative;
    font-size: .95em;
    font-weight: 300;
}



/* -- Responsiveness -- */

@media (max-width: 1200px) {
    .r_warr-info-item {
        width: calc(50% - (3% / 2));
    }
}

@media (max-width: 1150px) {
    .r_warr-logo-wrapper {
        max-width: 950px;
    }
    .r_warr-logo-5 {
        width: calc(33.3333333333% - (6% / 3));
    }
}

@media (max-width: 750px) {
    .r_warr-logo-wrapper {
        max-width: 550px;
    }
    .r_warr-logo-5,
    .r_warr-logo-3 {
        width: calc(50% - (3% / 2));
    }

    .r_warr-info-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .r_warr-logo-5,
    .r_warr-logo-3 {
        width: 100%;
        margin-inline: auto;
    }
}