/* -- General -- */

.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: 500;
    color: #111;
}
.maincontent .r_note {
    font-style: italic;
    font-weight: 300;
    font-size: .9em;
}

.r_space-around,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 90px 5%;
}
.r_space-around-sm {
    padding: 60px 5%;
}
.r_text-center {
    text-align: center;
}

.r_content-wrapper-md,
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.r_content-wrapper-md {
    max-width: 1550px;
}
.r_content-wrapper-sm {
    max-width: 1400px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}

.r_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.r_col-sm {
    width: 45%;
    padding: 20px 25px;
}
.r_col-lg {
    width: 55%;
    padding: 20px 25px;
}
.r_img-wrapper {
    position: relative;
    max-width: 550px;
    width: 100%;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
}
.r_img-wrapper::after {
    content: "";
    position: absolute;
    inset: 4px 12px 12px 4px;
    border: 3px solid #fff;
}
.r_img-wrapper img {
    width: 100%;
    height: auto;
    background-color: #eee;
}

.r_h2 {
    position: relative;
    font-size: 1.75em;
    font-weight: 800;
    margin: 20px 0 15px;
    line-height: 1.05em;
    color: #111;
}
.r_h2-lines {
    display: inline-block;
    padding: 0 10px;
}
.r_h2-lines::before,
.r_h2-lines::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 2px;
    background-color: var(--accent-color);
}
.r_h2-lines::before {
    right: 100%;
}
.r_h2-lines::after {
    left: 100%;
}

.r_underline-sm {
    width: 100px;
    height: 4px;
    background-color: #aaa;
    margin: 15px auto;
    border: none;
}
.r_underline-lg {
    position: relative;
    display: block;
    width: 100%;
    height: 8px;
    margin: 10px 0;
    background-color: #d0d0d0;
}
.r_underline-lg::before,
.r_underline-lg::after {
    content: "";
    position: absolute;
    background-color: #d0d0d0;
}
.r_underline-lg::before {
    height: 2px;
    inset: -8px 0 auto;
}
.r_underline-lg::after {
    height: 4px;
    inset: auto 0 -10px;
}



/* -- Hero -- */

#r_hero_section {
    position: relative;
    padding: 140px 10%;
    background-color: #303030;
    background-image: url("/imageserver/Reusable/gutters21/hero_bg_install.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 25% center;
    background-blend-mode: overlay;
    text-align: center;
}
#r_hero_section::after {
    content: "";
    position: absolute;
    inset: auto 0 5px;
    height: 2px;
    background-color: #f0f0f0;
}
.r_h1 {
    font-size: 2.25em;
    font-weight: 800;
    margin: 20px 0 15px;
    line-height: 1.05em;
    color: #fff;
}
.r_hero-wrapper p {
    font-weight: 600;
    font-size: 1.05em;
    line-height: 1.2em;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 20px;
}



/* -- Popular Gutter Types -- */

#r_types_section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 400px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .33) 50%, #fff 100%), url(/imageserver/Reusable/gutters21/abstract_bg.webp);
    background-size: cover;
    background-position: 75% 75%;
    z-index: -1;
}
.r_types-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    gap: 2%;
}
.r_types-item {
    width: 49%;
    margin: 20px auto;
    padding: 40px 30px;
    text-align: center;
    border-top: 3px solid #656565;
    background: linear-gradient(135deg, #fff 20px, #eee 20px, #eee 40px, #fff 40px, #fff 50px, #eee 50px, #eee 60px, #fff 60px);
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
}
.r_types-icon {
    max-width: 125px;
    width: 100%;
    height: auto;
    margin: 10px auto 35px;
    padding: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
    border-radius: 10px;
}
.r_types-item h3 {
    font-size: 1.1em;
    margin: 15px auto;
    font-weight: 700;
}
.r_types-item .r_underline-sm {
    width: 40px;
    background-color: var(--accent-color);
}
.r_types-item p {
    font-size: .9em;
    font-weight: 400;
}



/* -- Color Picker -- */

.r_color-picker-wrapper {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr 1fr;
}
.r_item-text {
    padding: 20px 25px 0;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    align-self: flex-end;
}
.r_item-colors {
    padding: 0 20px 25px;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    align-self: flex-start;
}
.r_item-color-picker {
    padding: 20px 25px;
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}

.r_color-picker-preview {
    position: relative;
    display: grid;
    max-width: 550px;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
}
.r_color-picker-preview img {
    display: block;
    width: 100%;
    height: 100%;
}
.r_preview-roof-desat {
    grid-column: 1/2;
    grid-row: 1/2;
}
.r_preview-overlaySvg {
    grid-column: 1/2;
    grid-row: 1/2;
    background-color: #f2f3ec; /* 80 Deg White default color */
    height: 100%;
    width: 100%;
    mix-blend-mode: overlay;
    z-index: 2;
}
.r_preview-house {
    grid-column: 1/2;
    grid-row: 1/2;
    z-index: 3;
}
#r_selected_color {
    position: absolute;
    inset: auto auto 20px 20px;
    text-align: center;
    font-weight: 700;
    margin: 0;
    padding: 5px 15px;
    background-color: #fff;
    font-size: 1em;
    color: #111;
}

.r_gutter-colors {
    margin: 50px auto 20px;
}
.r_col-gallery {
    width: 100%;
}
.r_gutter-colors .swiper-slide {
    width: 100px;
    height: auto;
    transition: opacity .4s;
}
.r_gutter-colors .swiper-slide:hover {
    opacity: .5;
}
.r_gutter-colors .r_color-box {
    display: block;
    width: 100%;
    height: 100px;
}
.r_gutter-colors .r_color-name {
    font-size: .65em;
    font-weight: 500;
    margin: 3px 0 0;
}
.r_gutter-colors .swiper-button-prev,
.r_gutter-colors .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background-color: #111;
    border-radius: 20px;
    width: 20px;
    height: 40px;
    font-weight: 800;
}
.r_gutter-colors .swiper-button-next::after,
.r_gutter-colors .swiper-button-prev::after {
    font-size: 15px;
}
.r_gutter-colors .swiper-button-next {
    right: 5px;
}
.r_gutter-colors .swiper-button-prev {
    left: 5px;
}



/* -- Responsiveness -- */

@media (max-width: 1200px) {
    .r_intro-wrapper {
        align-items: flex-start;
    }
}

@media (max-width: 981px) {
    .r_wrapper {
        max-width: 750px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .r_col-sm,
    .r_col-lg {
        width: 100%;
        padding: 0;
    }
    .r_img-wrapper {
        max-width: 500px;
        margin-bottom: 35px;
    }

    .r_types-item {
        width: 100%;
    }

    .r_color-picker-wrapper {
        display: block;
    }
    .r_item-text,
    .r_item-colors,
    .r_item-color-picker {
        padding: 0;
    }
    .r_item-color-picker {
        margin: 50px auto;
    }
}

@media (max-width: 750px) {
    .r_space-around {
        padding: 70px 20px;
    }
    .r_space-around-sm {
        padding: 70px 20px;
    }

    .r_h1 {
        font-size: 2em;
    }
    .r_h2 {
        font-size: 1.6em;
    }

    #r_hero_section {
        padding: 110px 5%;
    }
}

@media (max-width: 550px) {
    .r_text-center {
        text-align: left;
    }

    .r_h1 {
        font-size: 1.75em;
    }
    .r_h2 {
        font-size: 1.45em;
    }
    .r_h2-lines {
        padding: 0;
    }
    .r_h2-lines::before,
    .r_h2-lines::after {
        display: none;
    }

    #r_hero_section {
        padding: 80px 20px;
    }
}