/* -- General -- */

:root {
    --r_red: #A83338;
}
.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;
    overflow: hidden;
    background-color: #f2f4f8;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.45em;
    font-weight: 300;
    color: #111;
}
.r_h1,
.r_h2,
.r_h3,
p.r_h3,
.r_h4 {
    position: relative;
    margin: 20px 0;
    line-height: 1.05em;
    color: #111;
    font-weight: 600;
}
.r_h2 {
    font-size: 2.15em;
}
.r_h3,
p.r_h3 {
    font-size: 1.25em;
    margin-bottom: 15px;
}
.r_h4 {
    font-size: 1.05em;
    margin-top: 40px;
}
.r_highlight {
    font-weight: 700;
    color: var(--r_red);
}
p.r_sub-note {
    font-size: .85em;
    color: #606060;
    font-style: italic;
}

.r_space-around {
    position: relative;
    z-index: 0;
    padding: 80px 5%;
}
.r_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.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 img {
    width: 100%;
    height: auto;
    background-color: #e0e0e0;
    border-radius: 10px;
}
.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: 1100px;
}

.r_underline {
    max-width: 500px;
    width: 80%;
    height: 2px;
    border: none;
    background-color: #202020;
    margin: 30px auto;
}



/* -- Hero -- */

#r_hero_section {
    min-height: 500px;
    height: 100%;
    margin-bottom: 45px;
    z-index: 1;
}
.r_hero-bg-wrapper {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.r_hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 3px solid #f2f4f8;
    -webkit-animation: heroFadeIn 1s ease backwards;
    animation: heroFadeIn 1s ease backwards;
}
.r_hero-bg-1 {
    background-image: url(/imageserver/Reusable/mitten/hero_bg_01.webp);
    grid-column: 1;
    grid-row: 1 / 3;
    animation-delay: .2s;
}
.r_hero-bg-2 {
    background-image: url(/imageserver/Reusable/mitten/hero_bg_02.webp);
    grid-column: 2;
    grid-row: 1 / 3;
    animation-delay: .4s;
}
.r_hero-bg-3 {
    background-image: url(/imageserver/Reusable/mitten/hero_bg_03.webp);
    grid-column: 3;
    grid-row: 1 / 2;
    animation-delay: .6s;
}
.r_hero-bg-4 {
    background-image: url(/imageserver/Reusable/mitten/hero_bg_04.webp);
    grid-column: 3;
    grid-row: 2 / 3;
    animation-delay: .8s;
}
.r_hero-logo {
    display: block;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 250px;
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 15px 25px;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    border-radius: 8px;
    z-index: 1;
    -webkit-animation: logoFadeIn 1s ease backwards 1s;
    animation: logoFadeIn 1s ease backwards 1s;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes logoFadeIn {
    from { opacity: 0; transform: translateX(calc(-50% - 20px)); }
    to { opacity: 1; transform: translateX(-50%); }
}



/* -- Siding -- */

.r_siding-section {
    transition: transform .3s, opacity .3s;
}
.r_siding-list {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    list-style: none;
    gap: 2.5%;
}
.r_siding-item {
    width: calc((100% - (2.5% * 2)) / 3);
    margin-block: 30px;
    padding: 0;
    text-align: left;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    border-radius: 8px;
    background-color: #151515;
    overflow: hidden;
    transition: transform .33s;
}
.r_siding-item:hover {
    transform: translateY(-8px);
}
.r_siding-img {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-position: center;
    background-size: cover;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + 10px) 100%, calc(50% - 10px) calc(100% - 20px), 0 calc(100% - 20px));
    clip-path: polygon(0 0, 100% 0, 100% 100%, calc(50% + 10px) 100%, calc(50% - 10px) calc(100% - 20px), 0 calc(100% - 20px));
}
#west_ridge_bg {
    background-image: url(/imageserver/Reusable/mitten/west_ridge/west_ridge.webp);
}
#sentry_bg {
    background-image: url(/imageserver/Reusable/mitten/sentry/sentry.webp);
}
#sentry_variegated_bg {
    background-image: url(/imageserver/Reusable/mitten/sentry_variegated/sentry_variegated.webp);
}
#highland_bg {
    background-image: url(/imageserver/Reusable/mitten/highland/highland.webp);
}
#oregon_pride_bg {
    background-image: url(/imageserver/Reusable/mitten/oregon_pride/oregon_pride.webp);
}
#pleasant_view_bg {
    background-image: url(/imageserver/Reusable/mitten/pleasant_view/pleasant_view.webp);
}
#triple_4_bg {
    background-image: url(/imageserver/Reusable/mitten/triple_4/triple_4.webp);
}
#double_5_bg {
    background-image: url(/imageserver/Reusable/mitten/double_5/double_5.webp);
}
#beaded_7_bg {
    background-image: url(/imageserver/Reusable/mitten/beaded_7/beaded_7.webp);
}
#equinox_bg {
    background-image: url(/imageserver/Reusable/mitten/equinox/equinox.webp);
}
#jamb-fit_bg {
    background-image: url(/imageserver/Reusable/mitten/jamb-fit/jamb-fit.webp);
}
.r_siding-content {
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.r_siding-content::before {
    content: "";
    position: absolute;
    left: calc(50% - 25px);
    top: -12px;
    background-color: #a0a0a0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: -30px 0 0 #c0c0c0, -60px 0 0 #e0e0e0;
}
.r_siding-content::after {
    content: "";
    position: absolute;
    inset: auto 30px 70px;
    background-color: #505050;
    height: 2px;
    transition: right .33s, background-color .33s;
}
.r_siding-item:hover .r_siding-content::after {
    background-color: var(--r_red);
    right: 60px;
}
.r_siding-content .r_h3 {
    text-transform: uppercase;
    color: #fff;
}
.r_siding-content .r_h3-sub {
    display: block;
    font-size: .9em;
    font-weight: 300;
    line-height: 1.05em;
    margin-top: 10px;
    color: #c0c0c0;
    text-transform: none;
}
.r_link {
    display: block;
    max-width: fit-content;
    width: 100%;
    font-size: .9em;
    font-weight: 500;
    text-align: center;
    margin-block: 30px 20px;
    padding: 8px 15px;
    text-decoration: none;
    background-color: #151515;
    border: 2px solid var(--r_red);
    color: #fff;
    z-index: 1;
    box-shadow: 15px 0 0 #151515;
    transition: background-color .33s, color .33s;
}
.r_link:hover,
.r_link:focus {
    background-color: var(--r_red);
    color: #fff;
    text-decoration: none;
}

.r_container {
    display: none;
}
#r_siding_list {
    display: block;
}
.r_fade-to-left {
    transform: translateX(-25px);
    opacity: 0;
}
.r_fade-from-right {
    transform: translateX(50px);
}

.r_siding-nav-wrapper {
    display: none;
    flex-wrap: wrap;
    width: 100%;
    gap: 15px;
}
.r_siding-nav-wrapper-top {
    margin-bottom: 50px;
}
.r_siding-nav-wrapper-bottom {
    margin-top: 50px;
}
.r_siding-nav {
    position: relative;
    border: none;
    background-color: transparent;
    margin: 0;
    padding: 10px 20px;
    color: #707070;
    font-size: .9em;
    background-color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(5, 5, 5, .1);
    border-radius: 50px;
    transition: background-color .33s, color .33s;
}
.r_siding-nav:hover,
.r_siding-nav:focus {
    background-color: var(--r_red);
    color: #fff;
}
.r_siding-nav::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--r_red);
    transition: border-color .33s;
}
.r_siding-nav:hover::after,
.r_siding-nav:focus::after {
    border-color: #fff;
}

.r_siding-nav-prev,
.r_siding-nav-go-back {
    padding-left: 30px;
}
.r_siding-nav-go-back {
    margin-right: auto;
}
.r_siding-nav-next {
    padding-right: 30px;
}
.r_siding-nav-prev::after,
.r_siding-nav-go-back::after {
    border-left: 2px solid var(--r_red);
    left: 15px;
    transform: translateY(-50%) rotateZ(-45deg);
}
.r_siding-nav-next::after {
    border-right: 2px solid var(--r_red);
    right: 15px;
    transform: translateY(-50%) rotateZ(45deg);
}

.r_siding-logo {
    max-width: 225px;
    width: 100%;
    height: auto;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}
p.r_h2-sub {
    font-size: 1.25em;
    font-weight: 200;
    line-height: 1.05em;
    margin: -10px auto 30px;
    font-style: italic;
} 

.r_info-box {
    margin-block: 20px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(5, 5, 5, .2);
    padding: 50px 40px;
    text-align: left;
}
.r_info-box .r_h3 {
    z-index: 0;
    margin-bottom: 40px;
    color: var(--r_red);
    text-transform: uppercase;
}
.r_info-box .r_h3::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 2px;
    margin-top: -1px;
    background-color: #e0e0e0;
    z-index: -1;
}
.r_info-box .r_h3-inner {
    background-color: #fff;
    padding-right: 10px;
}



/* -- Colors -- */

.r_colors-wrapper {
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 0;
}
.r_colors-info-col {
    width: 40%;
    padding: 50px 40px;
}
.r_colors-gallery-col {
    width: 60%;
    padding: 50px 40px;
}

.r_previews-gallery {
    height: 450px;
    margin: 20px auto;
    border-radius: 8px;
}
.r_previews-gallery .swiper-slide {
    background-position: center;
    background-size: cover;
}
.r_previews-gallery .r_color-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.05em;
    font-weight: 400;
    background-color: #151515;
    margin: 0;
    padding: 8px 20px;
    backdrop-filter: blur(5px);
    border-radius: 8px;
    color: #fff;
}
.r_previews-gallery .swiper-button-prev,
.r_previews-gallery .swiper-button-next {
    color: #fff !important;
    font-weight: 800;
}
.r_previews-gallery .swiper-button-prev {
    left: 5px !important;
}
.r_previews-gallery .swiper-button-next {
    right: 5px !important;
}
.r_previews-gallery .swiper-button-prev::after,
.r_previews-gallery .swiper-button-next::after {
    font-size: 28px !important;
}

.r_colors-gallery {
    margin: 20px auto;
}
.r_colors-gallery .swiper-slide {
    max-width: 90px;
    width: 100%;
    height: 150px;
    text-align: center;
}
.r_colors-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid transparent;
    border-radius: 12px;
    transition: border-color .33s;
}
.r_colors-gallery .swiper-slide-thumb-active img {
    border-color: var(--r_red);
}
.r_colors-gallery .r_color-name {
    font-size: .7em;
    line-height: 1.15em;
    font-weight: 500;
    margin-top: 5px;
}

.r_loading-wrapper {
    position: relative;
}
.r_loader-animation {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    margin: 50px auto;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 5px solid #eee;
    border-top-color: rgb(238, 238, 238);
    border-top-color: var(--r_red);
    z-index: 3;
    animation: spin .5s linear infinite;
}
@keyframes spin {
    100% { transform: translateX(-50%) rotate(360deg); }
}
.r_loader-cover {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #f0f0f0;
    z-index: 2;
}



/* -- Specifications -- */

.r_specs-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2.5%;
}
.r_specs-profiles,
.r_specs-features {
    width: calc((100% - 2.5%) / 2);
}
.r_specs-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.r_specs-item {
    margin-bottom: 15px;
}
.r_specs-item p {
    position: relative;
    font-size: .95em;
}
.r_specs-item p {
    padding-left: 25px;
}
.r_specs-item p::before,
.r_specs-item p::after {
    content: "";
    position: absolute;
    -webkit-clip-path: polygon(50% 0, 100% 0, 50% 100%, 0 100%);
    clip-path: polygon(50% 0, 100% 0, 50% 100%, 0 100%);
}
.r_specs-item p::before {
    top: 7px;
    left: 0;
    width: 12px;
    height: 8px;
    background-color: var(--r_red);
}
.r_specs-item p::after {
    top: 12px;
    left: 5px;
    width: 10px;
    height: 6px;
    background-color: #151515;
}

.r_profiles-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: -20px 0 20px;
    padding: 0;
    gap: 4%;
}
.r_profiles-item {
    width: calc((100% - (4% * 2)) / 3);
    margin-block: 20px;
}
.r_profiles-img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid #e2e4e8;
    border-radius: 8px;
}
.r_profiles-item figcaption {
    font-size: .85em;
    line-height: 1.05em;
    font-weight: 400;
    color: #111;
    margin-top: 10px;
}



/* -- Responsiveness -- */

@media (max-width: 1200px) {
    .r_profiles-item {
        width: calc((100% - 4%) / 2);
    }
}

@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: 35px;
    }

    .r_hero-bg-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .r_hero-bg-1 {
        grid-column: 1;
        grid-row: 1;
    }
    .r_hero-bg-2 {
        grid-column: 2;
        grid-row: 1;
    }
    .r_hero-bg-3 {
        grid-column: 1;
        grid-row: 2;
    }
    .r_hero-bg-4 {
        grid-column: 2;
        grid-row: 2;
    }

    .r_siding-item {
        width: 48.5%;
    }

    .r_colors-wrapper {
        flex-direction: column-reverse;
    }

    .r_colors-info-col,
    .r_colors-gallery-col,
    .r_specs-profiles,
    .r_specs-features {
        width: 100%;
    }
    .r_colors-gallery-col {
        margin-bottom: -60px;
    }
    .r_profiles-item {
        width: calc((100% - (4% * 2)) / 3);
    }
}

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

    #r_hero_section {
        min-height: 400px;
    }

    .r_previews-gallery {
        height: 375px;
    }
    .r_previews-gallery .r_color-name {
        font-size: 1em;
    }
}

@media (max-width: 650px) {
    .r_siding-nav {
        font-size: .8em;
        padding-inline: 10px;
    }
    .r_siding-nav-go-back {
        width: 100%;
    }
    .r_siding-nav-prev,
    .r_siding-nav-next {
        width: calc(50% - 7.5px);
     }

    .r_siding-item {
        max-width: 500px;
        width: 100%;
        margin-inline: auto;
    }

    .r_profiles-item {
        width: calc((100% - 4%) / 2);
    }
}

@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_h2 {
        font-size: 1.85em;
    }

    #r_hero_section {
        min-height: 300px;
    }
    .r_previews-gallery .r_color-name {
        font-size: .95em;
    }

    .r_profiles-item {
        width: 100%;
    }

    .r_info-box,
    .r_colors-info-col,
    .r_colors-gallery-col {
        padding: 40px 25px;
    }
    .r_colors-gallery-col {
        padding-inline: 15px;
    }
    .r_previews-gallery {
        height: 300px;
    }
    .r_colors-wrapper {
        padding: 0;
    }
}