/* ---------- General ---------- */

:root {
    --r_black: #1a1a1a;
    --r_blue: #214C77;
}
.maincontent {
    display: block !important;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: .025rem;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    background-color: #f6f8fd;
    overflow: hidden;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.45em;
    font-weight: 400;
    color: #111;
}

.r_h1,
.r_h2,
.r_h3,
.r_h4 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    position: relative;
    line-height: 1.15em;
    margin: 20px auto;
    color: #181818;
}
.r_h2-wrapper {
    background: #e0e2e8;
    padding: 45px 30px;
    text-align: center;
}
.r_h2 {
    font-size: 2.2em;
    font-weight: 600;
}
.r_h2-sub {
    display: block;
    font-size: .8em;
    line-height: 1.15em;
    color: #808080;
    font-weight: 300;
    font-style: italic;
    margin-top: 8px;
}
.r_h3 {
    font-size: 2.33em;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}
.r_h4 {
    font-size: 1.8em;
    font-weight: 700;
}
.r_h5 {
    width: fit-content;
    font-size: .85em;
    font-weight: 700;
    background-color: rgba(61, 139, 217, .15);
    color: var(--r_blue);
    margin-bottom: 25px;
    padding: 6px 22px;
    border-radius: 25px;
}
.r_h6 {
    font-weight: 700;
    font-size: .95em;
    text-transform: uppercase;
    color: #111;
    padding-left: 5px;
}
.r_thin {
    font-weight: 300;
}
.r_bold {
    font-weight: 800;
}
/* .r_bold {
    font-weight: 700;
}
.r_blue {
    color: var(--r_blue);
}
.r_sup {
    font-weight: 300;
    color: #50525d;
    margin-left: 3px;
} */

.r_space-around,
.r_space-around-lg,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 80px 5%;
}
.r_space-around-lg {
    padding: 120px 5%;
}
.r_space-around-sm {
    padding: 50px 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 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-sm {
    max-width: 550px;
}
.r_img-wrapper img {
    width: 100%;
    height: auto;
    background-color: #e0e0e0;
    box-shadow: 0 5px 15px rgba(5, 5, 5, .15);
    border: 3px solid #fdfdfd;
    border-radius: 5px;
}
.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-inline: auto;
}
.r_content-wrapper {
    max-width: 1500px;
}
.r_content-wrapper-md {
    max-width: 1350px;
}
.r_content-wrapper-sm {
    max-width: 1200px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}

.r_text-center {
    text-align: center;
}

.r_underline {
    width: 100px;
    margin: 20px auto;
    border-top: 4px solid var(--r_blue);
}
.r_underline-left {
    margin-left: 0;
}

.r_site-button {
    position: relative;
    display: block;
    width: fit-content;
    font-size: .85em;
    margin: 35px 0 20px;
    padding: 10px 22px;
    color: var(--r_blue);
    font-weight: 700;
    border-radius: 25px;
    border: 2px solid var(--r_blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: background-color .3s, color .3s;
}
.r_site-button:hover,
.r_site-button:focus {
    background-color: var(--r_blue);
    color: #fff;
    text-decoration: none;
}
.r_site-button-left {
    margin-left: 0;
}
.r_site-button-icon {
    width: 22px;
    height: auto;
    margin-right: 8px;
    fill: var(--r_blue);
    transition: fill .3s;
}
.r_site-button:hover .r_site-button-icon ,
.r_site-button:focus .r_site-button-icon  {
    fill: #fff;
}

.r_fade-right-to-left {
    -webkit-animation: fadeRightToLeft .6s ease-in-out .2s backwards;
    animation: fadeRightToLeft .6s ease-in-out .2s backwards;
}
.r_fade-delay {
    animation-delay: .6s;
}
@keyframes fadeRightToLeft  {
    from { opacity: 0.001; transform: translateX(35px); }
    to { opacity: 1; transform: translateX(0px); }
}



/* -- Hero -- */

#r_hero_section {
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url(/imageserver/Reusable/wincore_windows/hero_bg.webp);
    background-size: cover;
    background-position: center;
}
#r_hero_section::before { /* Overlay */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 20, 33, .9) 40%, rgba(10, 20, 33, .1) 95%);
    z-index: -1;
}
.r_hero-content {
    max-width: 850px;
    margin-left: 0;
}
.r_h1 {
    font-size: 3.5em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 15px #202020;
    text-transform: uppercase;
}
.r_h1-sub {
    display: block;
    font-size: .65em;
    line-height: 1.15em;
    font-weight: 200;
    color: #e2e4e8;
    font-style: italic;
    text-shadow: 0 0 15px #202020;
    text-transform: none;
    margin-top: 15px;
}
.r_h1-highlight {
    font-weight: 400;
}



/* -- Intro -- */

#r_intro_section {
    background: linear-gradient(135deg, #a2a4a8 25%, transparent 25%);
}
.r_intro-wrapper {
    max-width: 1820px;
}
.r_intro-content {
    background-color: #fff;
    box-shadow: 0 8px 15px rgba(5, 5, 5, .1);
    padding: 45px 30px;
    margin-left: 0;
    max-width: 850px;
    width: 100%;
}
.r_intro-content p {
    font-size: .95em;
    margin-block: 20px;
}



/* -- About -- */

#r_about_section {
    background: linear-gradient(135deg, #151515 15%, #152545 85%);
    text-align: center;
}
.r_about-wrapper h2 {
    color: #fff;
}
.r_about-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 3%;
    margin: 40px auto 20px;
    padding: 0;
}
.r_about-item {
    max-width: 750px;
    width: calc(33.3333333333% - (6% / 3));
    margin: 25px auto;
    padding: 45px 30px;
    border-radius: 15px;
    background-color: #222432;
    box-shadow: 0 8px 15px rgba(5, 5, 5, .3);
}
.r_about-logo {
    display: block;
    width: 100%;
    height: auto;
    margin: 10px auto 40px;
}
.r_about-logo-warranty {
    max-width: 175px;
}
.r_about-logo-stormforce {
    max-width: 285px;
    margin-block: 40px 60px;
}
.r_about-logo-energystar {
    max-width: 105px;
    margin-bottom: 50px;
}
.r_about-item h3 {
    font-size: 1.25em;
    font-weight: 700;
    text-transform: uppercase;
    margin-block: 10px 20px;
    color: #fff;
}
.r_about-item p {
    font-size: .9em;
    color: #e0e2ed;
    max-width: 500px;
    width: 100%;
    margin: 10px auto;
}



/* -- Window Types - Nav -- */

#r_window_picker {
    display: flex;
    flex-wrap: wrap;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    background-color: #fdfdfd;
    border-top: 2px solid #d2d4d8;
}

.r_window-type-nav-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    font-size: .95em;
    font-weight: 600;
    border: 2px solid var(--r_blue);
    background-color: var(--r_blue);
    color: #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 25px;
    display: none;
    transition: background-color .3s, color .3s;
}
.r_window-type-nav-button:hover,
.r_window-type-nav-button:focus {
    background-color: #fff;
    color: #111;
}

.r_window-type-nav-container {
    position: relative;
    width: 20%;
    background-color: #f6f8fd;
}
.r_window-type-nav .r_window-type-nav-header {
    font-weight: 700;
    font-size: .95em;
    text-transform: uppercase;
    margin-top: 20px;
    padding: 20px 30px;
    border-bottom: 1px dashed var(--r_blue);
}
.r_window-type-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.r_window-type-nav-list li a {
    position: relative;
    display: block;
    padding: 15px 30px;
    margin: 0;
    font-size: .85em;
    font-weight: 400;
    color: #111;
    text-decoration: none;
    z-index: 0;
    transition: color .3s, font-weight .3s;
}
.r_window-type-nav-list li a:hover,
.r_window-type-nav-list li a:focus {
    text-decoration: none;
    outline: none;
}
.r_window-type-nav-list li a.r_active-link {
    color: #fff;
    font-weight: 700;
}
.r_window-type-nav-list li a::before,
.r_window-type-nav-list li a::after {
    content: "";
    position: absolute;
    inset: 4px 10px;
    width: 20%;
    background-color: #e8e8e8;
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    transition: background-color .3s, width .3s, opacity .3s;
}
.r_window-type-nav-list li a::before {
    width: calc(100% - 20px);
}
.r_window-type-nav-list li a:hover::before,
.r_window-type-nav-list li a:focus::before {
    opacity: 1;
}
.r_window-type-nav-list li a.r_active-link::after {
    opacity: 1;
    width: calc(100% - 20px);
    background-color: var(--r_blue);
}



/* -- Window Types - Info -- */

.r_window-type-container {
    width: 80%;
    opacity: 1;
    background-color: #fff;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(5, 5, 5, .15);
    transition: opacity .3s;
}
.r_invisible {
    opacity: 0;
}

.r_window-type-block {
    display: none;
}
#single_hung {
    display: block; /* Show by default */
}



/* -- Window Products - Header -- */

.r_header-section {
    background-size: cover;
    background-position: center 65%;
    background-color: rgba(18, 41, 64, .75);
    background-blend-mode: overlay;
}
#r_header_single_hung {
    background-image: url(/imageserver/Reusable/wincore_windows/hero_single_hung.webp);
}
#r_header_double_hung,
#r_header_double_slider {
    background-image: url(/imageserver/Reusable/wincore_windows/hero_double_hung.webp);
}
#r_header_casement {
    background-image: url(/imageserver/Reusable/wincore_windows/hero_casement_awning.webp);
}
#r_header_picture {
    background-image: url(/imageserver/Reusable/wincore_windows/hero_picture.webp);
}
#r_header_geometric {
    background-image: url(/imageserver/Reusable/wincore_windows/hero_geometric.webp);
}
#r_header_bay_bow {
    background-image: url(/imageserver/Reusable/wincore_windows/hero_bay_bow.webp);
}
.r_header-section p {
    font-size: .9em;
    color: #fff;
}
.r_header-wrapper {
    margin-left: 0;
    max-width: 800px;
}



/* --  Window Series - Info -- */

.r_series-container {
    opacity: 1;
    transition: opacity .3s;
}
.r_invisible {
    opacity: 0;
}

.r_series-block {
    display: none;
}
#single_hung_5400_series {
    display: block; /* Show by default */
}

.r_series-nav-section {
    margin: 20px 20px -10px 20px;
    padding-block: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(5, 5, 5, .15);
}
.r_series-nav .r_series-nav-header {
    font-weight: 700;
    font-size: .95em;
    text-transform: uppercase;
    margin-block: 20px 15px;
}
.r_series-nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
    margin: 0 0 20px;
    padding: 0;
}
.r_series-nav-list li {
    width: calc(25% - (9% / 4));
    margin-block: 10px;
}
.r_series-nav-list li a {
    position: relative;
    display: block;
    width: 100%;
    padding: 8px 20px;
    border: 1px solid var(--r_blue);
    color: #111;
    border-radius: 25px;
    text-align: center;
    font-size: .85em;
    font-weight: 400;
    z-index: 0;
    transition: font-weight .3s, background-color .3s, color .3s;
}
.r_series-nav-list li a:hover,
.r_series-nav-list li a:focus {
    background-color: #e8e8e8;
    text-decoration: none;
}
.r_series-nav-list li a.r_active-link {
    background-color: transparent;
    color: #fff;
    font-weight: 700;
}
.r_series-nav-list li a::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 20%;
    background-color: #e8e8e8;
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    transition: background-color .3s, width .3s, opacity .3s;
}
.r_window-type-nav-list li a:hover::before,
.r_window-type-nav-list li a:focus::before {
    opacity: 1;
}
.r_series-nav-list li a.r_active-link::after {
    opacity: 1;
    width: 100%;
    background-color: var(--r_blue);
}



/* --  Window Series - Features -- */

.r_features-section {
    padding-top: 0;
    margin-top: -30px;
}
.r_standard-features-wrapper,
.r_features-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
    margin: 0 auto 20px;
}
.r_standard-features-content {
    width: calc(55% - 3% / 2);
}
.r_standard-features-preview {
    width: calc(45% - 3% / 2);
}
.r_standard-features-img {
    display: block;
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: -10px auto 30px;
    padding-block: 20px;
    background-color: rgba(61, 139, 217, .08);
    border-radius: 20px;
}
.r_standard-features-no-img {
    position: relative;
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: -10px auto 30px;
    background-color: rgba(61, 139, 217, .08);
    border-radius: 20px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .9em;
    font-weight: 700;
    z-index: 0;
}
.r_standard-features-no-img::before,
.r_standard-features-no-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    transform: rotate(45deg);
    background-color: #fff;
    z-index: -1;
}
.r_standard-features-no-img::before {
    transform: rotate(45deg);
}
.r_standard-features-no-img::after {
    transform: rotate(-45deg);
}
.r_standard-features-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}
.r_standard-features-list li p {
    position: relative;
    font-size: .9em;
    margin-bottom: 20px;
    padding-left: 24px;
}
.r_standard-features-list li p::before,
.r_standard-features-list li p::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
}
.r_standard-features-list li p::before {
    top: 6px;
    left: 2px;
    background-color: var(--r_blue);
}
.r_standard-features-list li p::after {
    top: 10px;
    left: 6px;
    background-color: #b6b8bd;
}
.r_standard-features-sub-list {
    list-style: none;
    margin: 20px 0 45px;
    padding: 0 0 0 10px;
}

.r_features-box {
    width: calc(33.3333333333% - 6% / 3);
    margin-block: 20px;
}
.r_features-box .r_note {
    font-size: .7em;
    color: #86888d;
    font-style: italic;
}
.r_features-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 20px 0;
    padding: 0;
    gap: 15px;
}
.r_features-color {
    display: block;
    width: 65px;
    height: 65px;
    margin-bottom: 5px;
}
.r_features-color-white {
    background-color: #ededed;
}
.r_features-color-tan {
    background-color: #d5caaa;
}
.r_features-color-clay {
    background-color: #c3baa9;
}
.r_features-color-brown {
    background-color: #42352F;
}
.r_features-color-bronze {
    background-color: #353734;
}
.r_features-color-black,
.r_features-color-black-smooth {
    background-color: #000000;
}
.r_features-color-hunter-green {
    background-color: #1E4238;
}
.r_features-color-earthtone {
    background-color: #676155;
}
.r_features-color-silver {
    background-color: #85868A;
}
.r_features-img {
    display: block;
    width: 65px;
    height: auto;
}
.r_features-list li p {
    font-size: .7em;
    line-height: 1.15em;
    font-weight: 500;
    margin: 8px 0 0;
    color: #50525d;
    text-align: center;
}



/* -- Window Products - Back To Top -- */

#back_to_top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background-color: var(--r_gaf-red);
    border: none;
    border-radius: 50%;
    opacity: 0;
    z-index: 9999;
    transition: opacity .33s;
}
#back_to_top::after {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
}



/* -- Responsiveness -- */

@media (max-width: 1450px) {
    .r_window-type-nav-button {
        display: block;
    }
    .r_window-type-nav-container,
    .r_window-type-container {
        width: 100%;
        margin: 0;
    }
    .r_window-type-nav {
        position: fixed;
        max-width: 500px;
        padding-bottom: 25px;
        width: calc(100% - 40px);
        inset: auto auto 90px -100%;
        z-index: 5;
        border-radius: 10px;
        box-shadow: 0 8px 15px rgba(5, 5, 5, .1);
        background-color: #fff;
        transition: left .3s;
    }
    .r_window-type-nav-open {
        left: 20px;
    }
}

@media (max-width: 1024px) {
    .r_standard-features-box {
        width: 100%;
    }
    .r_standard-features-content {
        order: 2;
    }
    .r_standard-features-preview {
        order: 1;
        background-color: rgba(61, 139, 217, .08);
        margin-block: 30px 55px;
    }
    .r_standard-features-img {
        margin-block: 35px;
        max-width: 350px;
        background-color: transparent;
    }
    .r_features-box {
        width: calc(50% - 3% / 2);
    }

    .r_about-item {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .r_series-nav-list li {
        width: calc(33.3333333333% - (6% / 3));
    }
}

@media (max-width: 750px) {
    .r_h1 {
        font-size: 3em;
    }
    .r_h2 {
        font-size: 2em;
    }
    #r_hero_section {
        min-height: 550px;
    }
    #r_hero_section::before { /* Overlay */
        background: linear-gradient(rgba(10, 20, 33, .75) 0 0);
    }
}

@media (max-width: 600px) {
    .r_series-nav-list li {
        width: calc(50% - (3% / 2));
    }

    .r_features-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .r_h1 {
        font-size: 2.5em;
    }
    .r_h2 {
        font-size: 1.8em;
    }

    #r_hero_section {
        min-height: 500px;
    }

    #r_intro_section {
        padding: 0;
    }
    .r_intro-content {
        padding: 65px 20px;
    }

    .r_space-around,
    .r_space-around-sm {
        padding-inline: 20px;
    }
    .r_space-around-lg {
        padding: 80px 20px;
    }
    .r_text-center {
        text-align: left;
    }

    .r_series-nav-list li {
        width: 100%;
    }
}