/* Global Style */

:root {
    --theme-green: #00c49d;
    --bg-light-gray: #f7f7ff;
    --light-blue: #7988eb;
    --dark-blue: #2e356f;
    --bold-blue: #35428b;
    --color-link: #7988eb !important;
    --color-link-visited: #7988eb !important;
    --color-link-active: #7988eb !important;
}

.text-light-blue {
    color: var(--light-blue);
}

div#page {
    padding-bottom: 30px;
}

.gform_wrapper.gform_validation_error button.btn-theme.btn-theme-default.custom-submit-button,
.gfield--type-captcha>.gfield_label {
    display: none !important;

}

.gform_wrapper.gform_validation_error .gform_footer input[type="submit"] {
    _display: none !important;
}

.request-brochure-popup .gform_wrapper.gform_validation_error .gform_footer input[type="submit"] {
    display: inline-block !important;
}

.wp-block-button__link {
    text-decoration: none;
    padding: 15px 35px !important;
    border-radius: 40px !important;
    font-size: 0.875rem !important;
    height: 55px;
    position: relative;
    line-height: 1em;
    display: inline-flex;
    align-items: center;
    background-color: var(--theme-green) !important;
    border: 0 !important;
    justify-content: center;
}

.wp-block-buttons .wp-block-button:hover .wp-block-button__link,
.wp-block-button.is-style-primary:hover .wp-block-button__link {
    color: #fff !important;
    background-color: var(--light-blue) !important;
}

.wp-block-cgb-block-products-navigation-bar .wp-block-button.is-style-alternative .wp-block-button__link,
.wp-block-buttons .wp-block-button.is-style-alternative .wp-block-button__link {
    color: #fff !important;
}

.wp-block-cgb-block-products-navigation-bar .wp-block-button.is-style-alternative .wp-block-button__link:hover {
    background-color: var(--light-blue) !important;
}

.products-navigation .wp-block-button__link {
    height: auto !important;
}

p,
li {
    line-height: 1.4em;
    font-size: 1rem;
}

.wp-block-list li {
    margin-bottom: 8px;
}

body.single-post table td p {
    margin: 0;
}

body.single-post table td {
    font-size: 1rem;
    padding: 10px 0;
}

.btn-theme {
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 0.875rem;
    height: 55px;
    position: relative;
    line-height: 1em;
    display: inline-flex;
    align-items: center;
}

.btn-theme-blue:active,
.btn-theme-default:active,
.btn-theme-green-outline:active,
#open_brochure_popup:active {
    color: #fff;
}

.btn-theme-default {
    background-color: var(--theme-green);
    color: #fff;
    text-transform: uppercase;
}

.btn-theme-default:hover,
.btn-theme-default:hover span.btn-arrow-icon {
    background-color: var(--light-blue);
}

.btn-theme-blue {
    background-color: var(--bold-blue);
    color: #fff;
}

.btn-theme-blue-outline {
    border: 2px solid var(--bold-blue);
    color: var(--bold-blue);
}

.btn-theme-green-outline {
    color: #fff;
    border: 2px solid var(--theme-green) !important;
}

.btn-theme-green-outline:hover {
    background-color: var(--theme-green);
}

.btn-theme-white-outline {
    color: var(--theme-green) !important;
    border: 2px solid #fff !important;
}

.btn-theme-blue:hover {
    background-color: var(--theme-green);
}

.btn-theme-blue-outline:hover {
    border-color: var(--theme-green);
    color: var(--theme-green);
}

.btn-theme span.btn-arrow-icon {
    position: absolute;
    width: 55px;
    height: 55px;
    top: 0;
    right: -47px;
    border-radius: 50%;
    display: flex;
}

.btn-theme-default span.btn-arrow-icon {
    background-color: var(--theme-green);

}

.btn-theme span.btn-arrow-icon img {
    width: 16px;
    margin: auto;
}

.container.full-width {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.container.boxed {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading-block {
    max-width: 980px;
    margin: 0 auto;
}

h3.section-heading {
    color: var(--dark-blue);
    font-size: 2.25rem;
    text-align: center;
    line-height: 1.3em;
    margin-top: 20px;
    margin-bottom: 25px;
}

p.section-subtitle {
    color: var(--light-blue);
    text-align: center;
    margin-top: 0;
    font-size: 1.25rem;
}

.section-heading-block p {
    text-wrap: balance;
}

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

.text-white {
    color: #fff !important;
}

.bg-blue {
    background-color: var(--dark-blue);
}

.bg-dark-blue {
    background-color: var(--dark-blue) !important
}

.btn-center-block {
    text-align: center;
}

.btn-center-block .btn-theme {
    text-align: center;
    text-transform: uppercase;
}

.d-flex {
    display: flex;
}

.book-call-back {
    position: fixed;
    background-color: var(--light-blue);
    right: -115px;
    top: 400px;
    transform: rotate(270deg);
    border-radius: 22px 22px 0 0;
    z-index: 9;
}

.book-call-back:hover {
    background-color: var(--theme-green);
}

.book-call-back a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 20px 60px;
    font-size: 1.125rem;
    font-weight: 600;
}

.book-call-back a:active {
    color: #fff;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    padding: 10px 16px 10px 12px !important;
    border-radius: 0 30px 30px 0;
    background-color: var(--light-blue) !important;
    border: 2px solid #fff;
    border-left: 0;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a:hover {
    background-color: var(--theme-green) !important;
}


/* Request Brochure Popup */

body.show-brochure-popup {
    position: relative;
}

body.show-brochure-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000bf;
    z-index: 9;
}

body.show-brochure-popup .request-brochure-popup {
    z-index: 9;
}

.request-brochure-popup .close-popup {
    position: absolute;
    right: 28px;
    top: 26px;
    background-color: var(--theme-green);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.request-brochure-popup .close-popup:hover {
    background-color: var(--light-blue);
}

.request-brochure-popup .close-popup img {
    width: 14px;
    margin-left: 1px;
}

.request-brochure-popup {
    width: 940px;
    margin: 0 auto;
    position: fixed;
    top: 10vh;
    left: calc(50% - 470px);
    border-radius: 40px;
    overflow: hidden;
    display: none;
}

.request-brochure-popup .right-col {
    background-color: #fff;
}

.gform_confirmation_message a {
    display: block;
    margin-top: 6px;
    color: var(--dark-blue);
    text-decoration: none;
}

.gform_wrapper.gform_validation_error .gform_footer input[type="submit"] {
    width: auto !important;
    border: 0 !important;
    background-color: var(--theme-green) !important;
    color: #fff;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 0.875rem;
    height: 55px !important;
    position: relative;
    line-height: 1em;
    display: inline-flex;
    align-items: center;
}

.popup-content {
    display: flex;
}

.request-brochure-popup>.popup-content>div {
    width: 50%;
}

.request-brochure-popup a.btn-theme {
    float: right;
    margin-right: 55px;
    margin-top: 26px;
}

.request-brochure-popup .left-col {
    display: flex;
    align-items: end;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    background: url(/wp-content/uploads/2024/10/brochure_box_bg.jpg);
    background-size: cover;
    background-position: right;
}

.request-brochure-popup .ab-logo {
    width: 202px;
    margin-bottom: 30px;
    margin-left: 20px;
    position: relative;
    z-index: 9;
}

.request-brochure-popup .right-col {
    padding: 2.5em 2em 2em 0;
}

.request-brochure-popup h3 {
    margin-bottom: 35px;
    color: var(--color-theme-primary);
    font-weight: 600;
    font-size: 1.75rem;
}

.request-brochure-popup h3 span {
    color: var(--light-blue);
    text-decoration: underline;
}

.request-brochure-popup .gform_heading {
    display: none;
}

.request-brochure-popup .gform_footer {
    text-align: right;
    padding-right: 55px !important;
}

.gform_wrapper .gform_footer input[type="submit"] {
    width: 0 !important;
    height: 0;
    padding: 0;
    margin: 0 !important;
    border: 0;
}

.request-brochure-popup .custom-submit-button {
    border: 0;
}

.gform-field-label {
    color: #8d8d8d;
    text-transform: uppercase;
    font-weight: 300 !important;
    font-size: 0.75rem !important;
}

.request-brochure-popup .gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
    border: 0 !important;
    border-bottom: 1px solid var(--light-blue) !important;
    padding-left: 0 !important;
    color: var(--dark-blue);
    font-size: 0.875rem;
    padding: 5px 4px !important;
    min-height: auto !important;
    margin-bottom: 0 !important;
}

.request-brochure-popup .address_state.ginput_address_state {
    width: 100% !important;
}

.request-brochure-popup label.gform-field-label.gform-field-label--type-sub {
    display: none !important;
}

.request-brochure-popup .gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus {
    outline: 0;
}

.request-brochure-popup .gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file])::placeholder {
    color: var(--dark-blue);
    font-size: 0.875rem;
    opacity: 0;
}

.request-brochure-popup .gform_legacy_markup_wrapper .top_label div.ginput_container {
    margin-top: 0;
}

.request-brochure-popup .gfield_checkbox label {
    text-transform: none;
}

.request-brochure-popup .gfield-choice-input {
    margin-top: 0 !important;
    position: relative;
    top: 2px;
}

.request-brochure-popup .gfield_checkbox>li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.request-brochure-popup .ginput_container_address .gform-grid-col {
    width: 100% !important;
    padding-right: 0 !important;
}

.request-brochure-popup .gform_wrapper.gform_validation_error {
    height: 480px;
    overflow: auto;
    padding-right: 10px;
}

.request-brochure-popup .gform_legacy_markup_wrapper .gform_validation_errors>h2.hide_summary {
    line-height: 1.4em;
    margin: 0 10px !important;
}

.request-brochure-popup .gform_legacy_markup_wrapper div.validation_error {
    padding: 6px 0 !important;
}

/* width */
.request-brochure-popup .gform_wrapper::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.request-brochure-popup .gform_wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.request-brochure-popup .gform_wrapper::-webkit-scrollbar-thumb {
    background: #a9a9a9;
}

/* Handle on hover */
.request-brochure-popup .gform_wrapper::-webkit-scrollbar-thumb:hover {
    background: #9b9b9b;
}

/* /Request Brochure Popup */


/* Main Page Banner */

section.main-banner {
    position: relative;
}

.banner-content-block {
    display: flex;
    border-radius: 40px;
}

.banner-image img {
    border-radius: 35px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.125rem;
}

body.pojo-a11y-resize-font-130 .banner-content h4,
body.pojo-a11y-resize-font-140 .banner-content h4,
body.pojo-a11y-resize-font-150 .banner-content h4,
body.pojo-a11y-resize-font-160 .banner-content h4,
body.pojo-a11y-resize-font-130 .banner-content h4 span,
body.pojo-a11y-resize-font-140 .banner-content h4 span,
body.pojo-a11y-resize-font-150 .banner-content h4 span,
body.pojo-a11y-resize-font-160 .banner-content h4 span {
    font-size: 1.5rem !important;
}

body.pojo-a11y-resize-font-130 .main-navigation #primary-menu>li>a,
body.pojo-a11y-resize-font-140 .main-navigation #primary-menu>li>a,
body.pojo-a11y-resize-font-150 .main-navigation #primary-menu>li>a,
body.pojo-a11y-resize-font-160 .main-navigation #primary-menu>li>a {
    font-size: 1.125rem !important;
}

body.pojo-a11y-resize-font-130 .main-navigation #primary-menu li.nav-search a,
body.pojo-a11y-resize-font-140 .main-navigation #primary-menu li.nav-search a,
body.pojo-a11y-resize-font-150 .main-navigation #primary-menu li.nav-search a,
body.pojo-a11y-resize-font-160 .main-navigation #primary-menu li.nav-search a {
    font-size: 0 !important;
}

.banner-content h4 img {
    width: 30px;
}

.banner-content h4,
.banner-content h4 a {
    color: var(--dark-blue);
}

.banner-content h4 a {
    font-weight: 500;
}

.banner-content h4 span {
    color: var(--theme-green);
    font-weight: bold;
}

.banner-content h1 {
    margin-top: 20px;
    margin-bottom: 35px;
    font-size: 3.75rem;
    color: var(--dark-blue);
}

.banner-content img.review-rating {
    max-width: 200px;
    margin-top: 40px;
    margin-bottom: 45px;
}

.banner-buttons {
    display: flex;
    align-items: center;
    gap: 35px;
}

.banner-buttons .btn-theme {
    padding-left: 30px;
    padding-right: 30px;
}

.banner-image {
    position: relative;
}

.banner-image a {
    position: absolute;
    z-index: 1;
    right: -6px;
    bottom: -6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--theme-green);
    padding: 8px 25px 6px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-bottom-right-radius: 35px;
    border-top-left-radius: 35px;
    border: 6px solid #fff;
    text-align: center;
    line-height: 1.2em;
}

.main-banner .banner-image a:hover {
    background-color: var(--light-blue);
}

.banner-image a img {
    width: 30px;
    border-radius: 0;
    margin-right: 5px;
}

/* /Main Page Banner */


/* Testimonials */

.testimonial {
    width: calc(33.333% - 100px);
    position: relative;
}

.testimonials-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5em;
    margin-bottom: 5em;
    padding: 0 5em;
}

.testimonial-text {
    background-color: var(--bold-blue);
    padding: 50px 30px 15px;
    border-radius: 22px;
    position: relative;
    z-index: 1;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 492px;
}

.testimonial-text p {
    color: #fff;
    font-size: 0.875rem;
}

.tilted-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    border-radius: 22px;
    transform: rotate(10deg);
}

.testimonial .person-img {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 7px solid var(--bold-blue);
    ;
    top: -50px;
    right: -50px;
    z-index: 1;
}

.testimonial .person-img img {
    border-radius: 50%;
    background-color: #2d3877;
}

.testimonial img.comma-icon {
    position: absolute;
    z-index: 2;
    top: -25px;
    left: -35px;
    width: 70px;
}

.testimonial-text::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 60px;
    width: 0;
    height: 0;
    border-left: 0px solid transparent;
    border-right: 50px solid transparent;
    border-top: 50px solid var(--bold-blue);
}

.call-review {
    max-width: 700px;
    margin: 120px auto 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-review .call-us {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--dark-blue);
}

.call-review .call-us a {
    color: var(--dark-blue);
}

.call-review .call-us span {
    display: block;
    color: var(--theme-green);
    font-weight: bold;
}

img.reviews-icon {
    width: 250px;
}

.call-review .call-us img {
    width: 65px;
    margin-right: 10px;
}

.call-review .call-us p,
.call-review .call-us p a {
    font-size: 1.675rem;
    color: var(--dark-blue);
}

.call-review .call-us p span {
    display: block;
    color: var(--theme-green);
    font-weight: bold;
}

.call-review-separator {
    background-color: var(--dark-blue);
    width: 3px;
    height: 130px;
    margin: 0 55px;
}

/* /Testimonials */


/* Adjustable Beds */

.adjustable-beds {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 30px;
    padding-left: 4em;
    padding-right: 4em;
}

.adjustable-beds .adjustable-bed {
    width: calc(33.333% - 40px);
    background-color: #fff;
    padding: 15px;
    border-radius: 22px;
}

.adjustable-beds .bed-image-block {
    position: relative;
    height: 330px;
}

.adjustable-beds img.bed-image {
    border-radius: 22px 22px 35px 22px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adjustable-beds .bed-image-block a {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
}

.adjustable-beds .bed-types {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color: #f0f2ff;
    border-radius: 40px;
    text-align: center;
    gap: 21px;
    padding: 8px 30px 5px;
}

.adjustable-beds .bed-type img {
    height: 25px;
    margin: 0 auto;
}

.adjustable-beds .bed-type span {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--dark-blue);
}

body.page-template-beds .adjustable-beds .bed-type span {
    color: var(--bold-blue);
}

.adjustable-beds .adjustable-bed h3 {
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 8px 0 0;
    line-height: 1.3em;
}

.adjustable-beds .adjustable-bed p {
    margin: 5px 0 15px;
}

.adjustable-beds .bed-details {
    padding-left: 20px;
    padding-right: 20px;
}

.adjustable-beds .bed-details .product-fabric {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.product-fabrics .more-fabric {
    display: none;
}

.adjustable-beds .product-fabrics {
    display: flex;
    gap: 6px;
}

.adjustable-beds .product-fabrics.show-all-fabrics {
    flex-wrap: wrap;
}

.show-all-fabrics .more-fabric {
    display: block;
}

.adjustable-beds .bed-details .product-fabric img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.adjustable-beds .product-fabrics span {
    color: #7e7e7e;
    font-size: 0.875rem;
    cursor: pointer;
}

/* /Adjustable Beds */


/* Responsive */

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .request-brochure-popup {
        width: 90%;
        left: 5%;
    }

    .request-brochure-popup .gform_wrapper {
        height: 345px;
        overflow: auto;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none;
    }
}

@media (max-width: 767px) {

    body.single-post .entry-content h1 {
        font-size: 2rem;
        line-height: 1.2em;
    }

    body.single-post .entry-content h2 {
        line-height: 1.2em;
        font-size: 1.75rem;
    }

    body.single-post .entry-content h3 {
        font-size: 1.375rem;
    }

    body.single-post .entry-content>ul {
        padding-left: 25px;
    }

    .banner-image a {
        border-radius: 25px 0 0 0;
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .banner-image a img {
        width: 25px;
    }

    .main-banner .down-arrow {
        width: 48px;
        height: 48px;
        padding: 12px;
        left: calc(50% - 24px);
        bottom: -14px;
    }

    .banner-buttons .btn-theme {
        width: 85%;
        justify-content: center;
    }

    .hide-mobile {
        display: none;
    }

    h3.section-heading br {
        display: none;
    }

    .btn-theme-default span.btn-arrow-icon {
        display: none;
    }

    .testimonials>.container.full-width {
        padding-left: 15px;
        padding-right: 15px;
    }

    .testimonials-content {
        flex-direction: column;
        padding: 0;
    }

    .testimonial {
        width: 80%;
    }

    .testimonial:not(:last-child) {
        margin-bottom: 130px;
    }

    .person-img {
        right: 6px;
    }

    .call-review {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .call-review-separator {
        height: 3px;
        width: 85%;
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .call-review .call-us p {
        margin-bottom: 25px;
        font-size: 1.5rem;
    }

    .gform_wrapper {
        height: 345px;
        overflow: auto;
    }

    .gform_wrapper.gform_validation_error {
        height: 350px;
    }

    .request-brochure-popup .left-col {
        display: none;
    }

    .request-brochure-popup {
        width: 90%;
        left: 5%;
        top: 8vh;
    }

    .request-brochure-popup .right-col {
        width: 100% !important;
        padding: 40px 20px 20px;
    }

    .gform_legacy_markup_wrapper .gform_footer {
        padding-right: 0 !important;
        text-align: center;
    }

    body.show-brochure-popup .request-brochure-popup {
        z-index: 99999;
    }

    .request-brochure-popup h3 {
        font-size: 1.5rem;
    }

    .pojo-a11y-toolbar-toggle {
        top: 18vh;
    }

    .adjustable-beds {
        gap: 30px;
    }

    .adjustable-beds .bed-types {
        gap: 12px;
        justify-content: center;
    }

    .adjustable-beds .bed-type span {
        font-size: 0.7rem;
    }

    .adjustable-beds .bed-type img {
        height: 18px;
    }

    .book-call-back {
        background-color: transparent;
        transform: rotate(0deg);
        right: 0;
        top: 62vh;
    }

    .book-call-back a {
        padding: 0;
        font-size: 0;
        background-color: transparent;
        width: 52px;
    }

    #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
        padding: 5px 10px !important;
    }
}

@media screen and (min-width: 1366px) {
    .single-post .entry-content>* {
        max-width: 1100px!important;
        max-width: var(--content-max-width-x-large)!important;
    }
}