/* -- General -- */

:root {
    --r_pink: #D40F7D;
    --r_black: #151825;
}

.maincontent {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    max-width: 100%;
    width: 100%;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: .025rem;
}

.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: 1450px;
}
.r_content-wrapper-md {
    max-width: 1350px;
}
.r_content-wrapper-sm {
    max-width: 1200px;
}
.r_content-wrapper-x-sm {
    max-width: 1050px;
}

.r_h1,
.r_h2,
.r_h3,
.r_h4 {
    position: relative;
    font-family: "Oswald", 'Poppins', 'Montserrat', sans-serif;
    margin: 20px 0;
    color: #111;
    line-height: 1.15em;
}
.r_h1 {
    font-size: 3em;
    font-weight: 800;
}
.r_h2 {
    font-size: 2.6em;
    font-weight: 600;
}
.r_h3 {
    font-size: 2.3em;
    font-weight: 800;
    margin-bottom: 15px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--r_pink);
}
.r_h4 {
    width: fit-content;
    margin-top: 45px;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 800;
    padding-right: 40px;
}
.r_h4::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--r_pink);
}
.r_h-sup {
    display: block;
    color: var(--r_pink);
    width: fit-content;
    font-size: .85em;
    font-weight: 700;
    margin-block: 20px -10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.r_h-sup-center {
    margin-inline: auto;
}
.maincontent p {
    font-size: .925em;
    line-height: 1.5em;
    font-weight: 400;
    color: #54565a;
}
.r_text-pink {
    color: var(--r_pink);
}
.r_text-bold {
    font-weight: 800;
}

.r_space-around,
.r_space-around-lg,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 85px 5%;
}
.r_space-around-lg {
    padding: 105px 5%;
}
.r_space-around-sm {
    padding: 55px 5%;
}
.r_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}
.r_wrapper-reverse {
    flex-direction: row-reverse;
}
.r_col-sm {
    width: calc(46% - (5% / 2));
    padding: 20px 0;
}
.r_col-lg {
    width: calc(54% - (5% / 2));
    padding: 20px 0;
}
.r_col-img {
    min-height: 100%;
    max-height: 600px;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
}
.r_col-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #eee;
}
.r_col-content {
    display: flex;
    align-items: center;
}
.r_text-center {
    text-align: center;
}

.r_underline {
    width: 115px;
    border-top: 4px solid var(--r_pink);
    margin: 20px auto 35px;
}
.r_underline-lg {
    border-color: #c4c6ca;
    width: calc(100% - 40px);
}

.r_site-button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: fit-content;
    width: 100%;
    gap: 8px;
    color: #151515;
    font-size: .815em;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    margin: 35px auto 20px;
    border: 1px solid var(--r_pink);
    border-radius: 5px;
    padding: 12px 18px;
    transition: background-color .33s, color .33s;
}
.r_site-button-light {
    color: #e4e6ea;
}
.r_site-button-left {
    margin-left: 0;
}
.r_site-button:hover,
.r_site-button:focus {
    text-decoration: none;
    background-color: var(--r_pink);
    color: #fff;
}
.r_site-button-icon {
    width: 17px;
    height: 17px;
    fill: var(--r_pink);
    border-radius: 50%;
    transition: fill .33s;
}
.r_site-button:hover .r_site-button-icon,
.r_site-button:focus .r_site-button-icon {
    fill: #fff;
}

.r_site-button-wrapper {
    margin: 35px auto 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.r_site-button-wrapper .r_site-button {
    margin: 0;
}



/* -- Hero -- */

#r_hero_section {
    background-image: url(/imageserver/Reusable/owens_corning/design_eyeq_hero_bg.webp);
    background-size: cover;
    background-position: 80% center;
    background-color: #242628;
    background-blend-mode: overlay;
}
.r_hero-wrapper .r_h-sup {
    margin-top: 10px;
}
.r_hero-wrapper h1 {
    color: #fff;
}
.r_hero-wrapper p {
    max-width: 850px;
    font-size: .9em;
    color: #e4e6ea;
}



/* -- Total Protection Roofing System -- */

.r_system-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5%;
    text-align: left;
    margin: 80px auto 0;
}
.r_system-col-diagram {
    width: calc(46% - (5% / 2));
}
.r_system-diagram {
    width: 100%;
    min-height: 800px;
    max-height: 100%;
    background-color: #eee;
    background-image: url(/imageserver/Reusable/owens_corning/total_protection_roofing_system/ice_water_barrier_products.webp);
    background-size: cover;
    background-position: center;
}
.r_system-col-info {
    width: calc(54% - (5% / 2));
    padding: 20px 0;
}
.r_system-heading {
    background-color: #f4f6fa;
    margin: 0 0 20px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
#r_system_heading_seal {
    background-color: #D40E7C;
    color: #fff;
}
#r_system_heading_defend {
    background-color: #6D6D6D;
    color: #fff;
}
#r_system_heading_breathe {
    background-color: #BDBDBD;
    color: #111;
}
.r_system-heading-icon {
    display: block;
    max-width: 40px;
    width: 100%;
    height: auto;
}
.r_system-heading h3 {
    margin: 0;
    color: inherit;
}
.r_system-heading h3::after {
    display: none;
}

.r_system-accordion {
    margin: 20px auto 40px;
}
.r_system-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-block: 10px;
    padding: 12px 15px;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 5px 12px rgba(0, 20, 60, .1);
    border-radius: 5px;
    border: 1px solid transparent;
    transition: border-color .33s;
}
.r_system-button:hover,
.r_system-button:focus {
    border-color: var(--r_pink);
}
.r_system-accordion-item-open .r_system-button {
    border-color: var(--r_pink);
}
.r_system-text {
    font-size: .875em;
    font-weight: 500;
}
.r_system-button-icon {
    position: relative;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-left: auto;
    border: 2px solid var(--r_pink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .33s ease, background-color .33s;
}
.r_system-button-icon::before,
.r_system-button-icon::after {
    content: '';
    position: absolute;
    background-color: var(--r_pink);
    transition: transform .33s ease, opacity .33s;
}
.r_system-button-icon::before {
    width: 10px;
    height: 2px;
}
.r_system-button-icon::after {
    width: 2px;
    height: 10px;
}
.r_system-accordion-item-open .r_system-button-icon {
    background: var(--r_pink);
    transform: rotate(180deg);
}
.r_system-accordion-item-open .r_system-button-icon::before,
.r_system-accordion-item-open .r_system-button-icon::after {
    background: #fff;
}
.r_system-accordion-item-open .r_system-button-icon::after {
    opacity: 0;
}
.r_system-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .33s ease;
}
.r_system-content-inner {
    padding: 10px 15px 25px;
}
.r_system-img {
    display: block;
    max-width: 500px;
    width: 100%;
    height: 0;
    background-color: #eee;
    margin: 0;
}
.r_system-content-inner p {
    font-size: .825em;
    padding: 0;
    margin: 0;
}
.r_system-content-inner .r_site-button {
    margin-block: 20px;
}



/* -- Request Quote -- */

#r_quote_section {
    background: linear-gradient(135deg, #050505 15%, var(--r_black) 85%);
}
.r_quote-wrapper h2 {
    color: #fff;
}
.r_quote-wrapper p {
  color: #e4e6ea;
}
.r_quote-wrapper .r_text-lg {
    font-size: 1.15em;
    font-weight: 300;
    margin-block: 20px;
    font-style: italic;
}



/* -- 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_col-img {
        margin-bottom: 40px;
    }

    .r_system-col-diagram,
    .r_system-col-info {
        max-width: 720px;
        width: 100%;
        margin-inline: auto;
    }
    .r_system-col-diagram {
        height: 0;
        overflow: hidden;
    }
    .r_system-img {
        height: auto;
        margin: 10px auto 40px;
    }
    .r_system-content-inner .r_site-button {
        margin-inline: auto;
    }
}

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

@media (max-width: 600px) {
    .r_hero-item {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .r_site-button-wrapper {
        flex-direction: column;
    }
    .r_site-button-wrapper .r_site-button {
        max-width: 100%;
    }

    .r_hiw-item {
        width: 100%;
    }
    .r_hiw-item:nth-of-type(3) {
        background-color: #fff;
        padding-bottom: 70px;
    }
    .r_hiw-item:nth-of-type(4) {
        background-color: #f4f6fa;
    }
}

@media (max-width: 480px) {
    .r_space-around,
    .r_space-around-sm {
        padding-inline: 20px;
    }
    .r_space-around-lg {
        padding: 80px 20px;
    }

    .r_h1 {
        font-size: 2.4em;
    }
    .r_h2 {
        font-size: 2.2em;
    }

    .r_hero-content {
        padding-inline: 30px;
    }

    .r_system-content-inner {
        padding-inline: 0;
    }
}