/* -- 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-top {
    width: 100%;
    margin-bottom: 25px;
}
.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: #404040;
    background-image: url("/imageserver/Reusable/gutters21/hero_bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 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;
}
.r_hero-icon {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 85px;
    height: 85px;
    padding: 5px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(5, 5, 5, .15);
    fill: #111;
    z-index: 1;
}



/* -- About -- */

.r_about-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}
.r_about-item {
    margin-bottom: 30px;
}
.r_about-item h3 {
    position: relative;
    font-size: 1em;
    margin: 0 0 10px;
    font-style: italic;
    font-weight: 700;
}
.r_about-item h3::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}
.r_about-item p {
    font-size: .9em;
    margin: 0;
    font-weight: 400;
}



/* -- Services -- */

#r_services_section {
    border-top: 2px solid #ddd;
}
#r_services_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_services-list {
    list-style: none;
    margin: 40px auto 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}
.r_services-item {
    position: relative;
    width: 32%;
    height: 400px;
    margin: 20px auto;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
    text-align: center;
    z-index: 0;
    background-size: cover;
    background-position: top center;
}
#r_services_repair_installation {
    background-image: url("/imageserver/Reusable/gutters21/services_repair_installation.webp");
}
#r_services_cleaning {
    background-image: url("/imageserver/Reusable/gutters21/services_cleaning.webp");
}
#r_services_protection {
    background-image: url("/imageserver/Reusable/gutters21/services_protection.webp");
}
.r_services-item h3 {
    position: absolute;
    inset: auto 0 0;
    font-size: 1.1em;
    height: 75px;
    margin: 0;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(5px);
    font-weight: 700;
    transition: height .4s, background-color .4s;
}
.r_services-item:hover h3 {
    height: 100%;
    background-color: rgba(255, 255, 255, .8);
}
.r_services-item .r_arrow {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(5, 5, 5, .15);
    transition: opacity .4s;
}
.r_services-item:hover .r_arrow  {
    opacity: 0;
}
.r_services-item .r_arrow::after {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 12px;
    height: 12px;
    border-top: 3px solid #111;
    border-right: 3px solid #111;
}
.r_services-content {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(25px);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s;
}
.r_services-item:hover .r_services-content {
    opacity: 1;
    transform: translateX(0);
    transition: transform .4s ease .3s, opacity .4s ease .3s;
}
.r_services-content p {
    font-size: .9em;
    max-width: 400px;
    width: 100%;
    margin: 0 auto 20px;
}

.r_services-link {
    position: relative;
    font-size: .95em;
    font-weight: 700;
    color: #111;
}
.r_services-link:hover,
.r_services-link:focus {
    text-decoration: none;
    color: #111;
}
.r_services-link::after {
    content: "";
    position: absolute;
    left: 30%;
    bottom: -5px;
    width: 40%;
    height: 2px;
    background-color: #111;
    transition: width .2s, left .2s;
}
.r_services-link:hover::after,
.r_services-link:focus::after {
    left: 0;
    width: 100%;
}
.r_services-link-inner::before,
.r_services-link-inner::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #111;
}
.r_services-link-inner::before {
    left: -25px;
}
.r_services-link-inner::after {
    right: -25px;
}



/* -- 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: 1350px) {
    .r_about-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_services-item {
        max-width: 600px;
        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;
    }
}