/* -- General -- */

.maincontent {
    display: block !important;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: .015em;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}
.r_h1,
.r_h2,
.r_h3 {
    position: relative;
    margin: 20px 0;
    line-height: 1.05em;
    color: #111;
}
.r_h1 {
    font-size: 3.2em;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 15px #303030;
}
.r_h1-sup,
.r_h1-sub {
    display: block;
    font-size: .7em;
    line-height: 1.15em;
    font-weight: 200;
}
.r_h1-sup {
    margin-bottom: 10px;
}
.r_h1-sub {
    margin-top: 10px;
}
.r_h2 {
    font-size: 2.2em;
    font-weight: 600;
}
.r_h2-sub {
    display: block;
    font-size: .7em;
    line-height: 1.15em;
    margin-block: 10px 30px;
    font-weight: 200;
    padding-left: 10px;
    border-left: 5px solid var(--accent-color);
}
.r_h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
}
.r_h3-underline {
    margin-bottom: 30px;
}
.r_h3-underline::after {
    content: "";
    position: absolute;
    left: 1px;
    bottom: -15px;
    width: 5px;
    height: 5px;
    background-color: var(--accent-color);
    box-shadow: 15px 0 0 var(--accent-color), 30px 0 0 var(--accent-color);
}
.r_thin {
    font-weight: 300;
    color: #606060;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.45em;
    font-weight: 300;
    color: #111;
}

.r_underline {
    width: 120px;
    border-top: 2px solid var(--accent-color);
    margin: 20px auto 25px;
}
.r_underline-left {
    margin-left: 0;
}

.r_space-around {
    position: relative;
    z-index: 0;
    padding: 80px 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 25px;
}
.r_col-lg {
    width: 55%;
    padding: 20px 25px;
}
.r_img-wrapper {
    position: relative;
    max-width: 750px;
    width: 100%;
    margin: 20px auto;
}
.r_img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
}
.r_img-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}
.r_img-top-left {
    grid-row: 1 / 5;
    grid-column: 1 / 5;
}
.r_img-bottom-right {
    grid-row: 3 / 6;
    grid-column: 3 / 6;
}
.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-left: auto;
    margin-right: auto;
}
.r_content-wrapper {
    max-width: 1550px;
}
.r_content-wrapper-md {
    max-width: 1400px;
}
.r_content-wrapper-sm {
    max-width: 1250px;
}
.r_content-wrapper-x-sm {
    max-width: 950px;
}



/* -- Hero -- */

.r_hero-section {
    background-size: cover;
    background-position: center;
    min-height: 525px;
    display: flex;
    align-items: center;
    z-index: 1;
}
#r_hero_main {
    background-image: url(/imageserver/Reusable/remodeling2020/hero_bg.webp);
}
#r_hero_bathrooms {
    background-image: url(/imageserver/Reusable/remodeling2020/bathroom_banner1124x300-min.jpg);
}
#r_hero_kitchens {
    background-image: url(/imageserver/Reusable/remodeling2020/kitchen_banner-min.jpg);
}
#r_hero_room_renovations {
    background-image: url(/imageserver/Reusable/remodeling2020/xrenovations_banner.jpg.pagespeed.ic.B09o1trbKI.jpg);
}
#r_hero_basements {
    background-image: url(/imageserver/Reusable/remodeling2020/basement_banner-min.jpg);
}
.r_hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #050505 25%, #404250 75%);
    z-index: -1;
    opacity: .65;
}
.r_hero-section::after {
    content: "";
    position: absolute;
    inset: auto 0 -5px;
    height: 10px;
    background: repeating-linear-gradient(90deg, #f2f4f8 0, #f2f4f8 8px, transparent 8px, transparent 16px);
}
.r_hero-content {
    -webkit-animation: heroFadeIn .85s ease-in-out .25s backwards;
    animation: heroFadeIn .85s ease-in-out .25s backwards;
}
@keyframes heroFadeIn {
    from { transform: translateY(35px); opacity: 0.01; }
    to { transform: translateY(0); opacity: 1; }
}



/* -- Remodeling - Overview -- */

#r_intro_section {
    background-color: #f2f4f8;
}

.r_remodel-section {
    display: flex;
    flex-wrap: wrap;
}
.r_remodel-bg {
    position: relative;
    width: 45%;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 50px 0;
}
#r_remodel_bathrooms .r_remodel-bg {
    background-image: url(/imageserver/Reusable/remodeling2020/bathrooms_bg.webp);
}
#r_remodel_kitchens .r_remodel-bg {
    background-image: url(/imageserver/Reusable/remodeling2020/kitchens_bg.webp);
}
#r_remodel_room_renovations .r_remodel-bg {
    background-image: url(/imageserver/Reusable/remodeling2020/room_renovations_bg.webp);
}
#r_remodel_basements .r_remodel-bg {
    background-image: url(/imageserver/Reusable/remodeling2020/basements_bg.webp);
}
.r_remodel-bg p {
    position: absolute;
    top: 100px;
    right: -15px;
    background-color: rgba(5, 5, 5, .8);
    color: #fff;
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    margin: 0;
    font-size: 1.05em;
    border-radius: 8px;
    font-weight: 500;
}
.r_remodel-content {
    width: 55%;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.r_remodel-container {
    max-width: 750px;
    width: 100%;
}

.r_remodel-list {
    list-style: none;
    margin: 30px 0 50px;
    padding: 0 0 0 5px;
}
.r_remodel-item {
    margin-bottom: 10px;
}
.r_remodel-item p {
    position: relative;
    font-size: .95em;
    font-weight: 400;
    margin: 0;
    padding-left: 25px;
}
.r_remodel-item p::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    border-bottom: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
    transform: rotateZ(45deg);
    width: 8px;
    height: 15px;
}

.r_remodel-section:nth-of-type(odd) {
    position: relative;
    flex-direction: row-reverse;
    box-shadow: 0 0 15px rgba(5, 5, 5, .2);
    z-index: 1;
}
.r_remodel-section:nth-of-type(odd) .r_remodel-container {
    margin-left: auto;
}
.r_remodel-section:nth-of-type(odd) .r_remodel-bg {
    border-radius: 0 0 0 50px;
}
.r_remodel-section:nth-of-type(odd) .r_remodel-bg p {
    right: auto;
    left: -15px;
}

.r_link {
    display: block;
    max-width: 250px;
    width: 100%;
    font-size: .9em;
    font-weight: 500;
    text-align: center;
    margin-block: 20px;
    padding: 8px 20px;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #606060;
    color: #111;
    border-radius: 5px;
    transition: background-color .2s, color .2s;
}
.r_link:hover,
.r_link:focus {
    background-color: #606060;
    color: #fff;
    text-decoration: none;
}



/* -- Process -- */

#r_process_section {
    background-color: #f2f4f8;
}
.r_process-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    gap: 2.5%;
}
.r_process-item {
    position: relative;
    width: calc((100% - 5%) / 3);
    margin-block: 20px;
    padding: 40px 30px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
}
.r_process-img {
    display: block;
    max-width: 95px;
    width: 100%;
    height: auto;
    margin: 10px auto 40px;
}
.r_process-content {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
}
.r_process-content p {
    font-size: .95em;
    text-align: left;
    color: #404040;    
}
.r_process-num {
    position: absolute;
    top: -5px;
    left: -5px;
    font-size: 1.75em;
    font-weight: 300;
    color: #202020;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    width: 55px;
    height: 55px;
    border-radius: 0 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}



/* -- Remodeling - Services -- */

#r_svc_section {
    box-shadow: 0 0 15px rgba(5, 5, 5, .2);
    z-index: 1;
    overflow: hidden;
}
.r_svc-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    gap: 2.5%;
}
.r_svc-item {
    position: relative;
    margin: 30px auto;
    padding: 0;
    text-align: left;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
    height: 100%;
}
.r_svc-header {
    width: 40%;
    background-position: center;
    background-size: cover;
    border-radius: 0 0 35px 0;
}
#r_svc_vanities .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/bathrooms/svc_vanities.webp);
}
#r_svc_shower_to_tub .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/bathrooms/svc_shower_to_tub.webp);
}
#r_svc_shower_enclosures .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/bathrooms/svc_shower_enclosures.webp);
}
#r_svc_bath_refinishing .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/bathrooms/svc_bath_refinishing.webp);
}

#r_svc_functionality .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/kitchens/svc_functionality.webp);
}
#r_svc_storage .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/kitchens/svc_storage.webp);
}
#r_svc_countertops .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/kitchens/svc_countertops.webp);
}
#r_svc_hardware .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/kitchens/svc_hardware.webp);
}
#r_svc_lighting .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/kitchens/svc_lighting.webp);
}

#r_svc_prep_work .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/room_renovations/svc_prep_work.webp);
}
#r_svc_removal .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/room_renovations/svc_removal.webp);
}
#r_svc_lighting .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/room_renovations/svc_lighting.webp);
}
#r_svc_paint_job .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/room_renovations/svc_paint_job.webp);
}
#r_svc_electrical .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/room_renovations/svc_electrical.webp);
}

#r_svc_living_space .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/basements/svc_living_space.webp);
}
#r_svc_stay_organized .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/basements/svc_stay_organized.webp);
}
#r_svc_versatile_space .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/basements/svc_versatile_space.webp);
}
#r_svc_energy_costs .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/basements/svc_energy_costs.webp);
}
#r_svc_home_value .r_svc-header {
    background-image: url(/imageserver/Reusable/remodeling2020/basements/svc_home_value.webp);
}

.r_svc-num {
    position: absolute;
    top: -5px;
    left: -5px;
    font-size: 1.5em;
    font-weight: 300;
    color: #fff;
    background-color: #181818;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    width: 55px;
    height: 55px;
    border-radius: 0 0 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.r_svc-body {
    position: relative;
    width: 60%;
    padding: 40px 50px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.r_svc-body::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    background-color: #c2c4c8;
    box-shadow: -25px 0 0 #e2e4e8, 0 25px 0 #e2e4e8;
}
.r_svc-body p {
    font-size: .95em;
    color: #404040;
    max-width: 600px;
    width: 100%;
}
.r_svc-body h3 + p {
    font-style: italic;
    margin-top: 35px;
}

.r_svc-item:nth-of-type(even) {
    flex-direction: row-reverse;
}
.r_svc-item:nth-of-type(even) .r_svc-header {
    border-radius: 0 0 0 35px;
}



/* -- Remodeling - Styles -- */

#r_styles_section {
    background-color: #f2f4f8;
}
.r_styles-list {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    list-style: none;
    gap: 2.5%;
}
.r_styles-item {
    position: relative;
    width: calc((100% - 5%) / 3);
    margin-block: 20px;
    padding: 0;
    text-align: left;
}
.r_styles-header {
    position: relative;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .15);
}
.r_styles-img {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.r_styles-header h3 {
    position: absolute;
    font-size: 1.05em;
    bottom: -1px;
    left: -1px;
    background-color: #151515;
    color: #fff;
    margin: 0;
    padding: 15px 35px 15px 15px;
    -webkit-clip-path: polygon(0 0,calc(100% - 25px) 0,100% 100%,0 100%);
    clip-path: polygon(0 0,calc(100% - 25px) 0,100% 100%,0 100%);
}
.r_styles-item p {
    position: relative;
    font-size: .95em;
    color: #404040;
    margin-top: 60px;
}
.r_styles-item p::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: #c2c4c8;
    box-shadow: 25px 0 0 0 #e2e4e8, 50px 0 0 #e2e4e8;
}



/* -- Responsiveness -- */

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

@media (max-width: 1200px) {
    .r_remodel-bg,
    .r_remodel-content {
        width: 100%;
    }
    .r_remodel-bg,
    .r_remodel-section:nth-of-type(odd) .r_remodel-bg {
        height: 400px;
        border-radius: 0 0 20px 0;
    }
    .r_remodel-bg p,
    .r_remodel-section:nth-of-type(odd) .r_remodel-bg p {
        inset: auto auto -20px 5%;
    }
    .r_remodel-container,
    .r_remodel-section:nth-of-type(odd) .r_remodel-container {
        max-width: 900px;
        margin-inline: 0;
    }
}

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

    .r_process-item {
        width: 100%;
    }

    .r_svc-item,
    .r_svc-item:nth-of-type(odd) {
        width: calc((100% - 2.5%) / 2);
        height: auto;
        display: block;
    }
    .r_svc-header,
    .r_svc-body {
        width: 100%;
    }
    .r_svc-header,
    .r_svc-item:nth-of-type(even) .r_svc-header {
        height: 350px;
        border-radius: 0 0 35px 0;
    }
    .r_svc-body {
        display: block;
        padding: 40px 30px 50px;
    }

    .r_styles-item {
        width: 48.5%;
    }
}

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

    .r_remodel-bg,
    .r_remodel-section:nth-of-type(odd) .r_remodel-bg {
        height: 350px;
    }

    .r_svc-item,
    .r_svc-item:nth-of-type(odd) {
        max-width: 600px;
        width: 100%;
    }
}

@media (max-width: 650px) {
    .r_styles-item {
        max-width: 450px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 480px) {
    .r_space-around {
        padding-inline: 20px;
    }
    .r_text-center {
        text-align: left;
    }
    .r_text-center .r_underline {
        margin-left: 0;
    }

    .r_hero-section {
        min-height: 425px;
    }
    .r_h1 {
        font-size: 2.4em;
    }
    .r_h2 {
        font-size: 1.8em;
    }

    .r_remodel-bg,
    .r_remodel-section:nth-of-type(odd) .r_remodel-bg {
        height: 300px;
    }
    .r_remodel-bg p,
    .r_remodel-section:nth-of-type(odd) .r_remodel-bg p {
        left: 20px;
        right: 20px;
    }

    .r_svc-header {
        height: 300px;
    }
}