/**
 * @author <viktor.s@overdose.digital>
 */

.text-white {
    color: #fff;
}

/*accordion styles*/
.main .advance-card.active p {
    display: inline;
}
/*promo video block*/
.main .video-decor-left__action {
    height: 100%;
    width: 100%;
}
/*review page*/
.page-template-reviews-page .page-h1 {
    font-family: NewzaldWeb-Book,serif;
}
._custom-retailer-page .page-content ._uphead {
    font-family:  NewzaldWeb-Book,serif
}
/*sleep guide*/
.page-template-sleep-guide-page .article-solution-box ._title {
    font-family: NewzaldWeb-Book,serif;
}
/*blog posts*/

.single .page-h1 {
    font-family: NewzaldWeb-Book,serif;
}
/*registration*/
._absolute-bg._absolute-title {
    font-family: NewzaldWeb-Book,serif!important;
}
.article-box__title {
    font-family: NewzaldWeb-Book,serif!important;
}
._custom-retailer-item-info h2 {
    font-family: NewzaldWeb-Book,serif!important;
}
.article-advice-box__content ._title,
.article-advice-box__content ._title-small {
    font-family: NewzaldWeb-Book,serif!important;
}
._custom-retailer-page .page-content ._description, ._custom-retailer-page .page-content ._description p {
    font-family: CalibreWeb-Regular;
}
._custom-retailer-item ._custom-retailer-item-info ._inf {
    font-family: CalibreWeb-Regular;
}
._contact-page-content {
    font-family: CalibreWeb-Regular;
}
.tech-description-point-text {
    font-family: CalibreWeb-Regular;
}

.article-grid-box__item.app-centered-box ._uphead span {
    display: inline-block;
}

/************************************* REVIEWS STYLES *****************************/
#yotpo-testimonials-custom-tab .yotpo-bottomline {
    display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;
}
#yotpo-testimonials-custom-tab .yotpo-bottomline .avg-score {
    float: none!important;
    position: relative!important;
    margin: 0!important;
    line-height: 1!important;
    top: auto!important;
    left: auto!important;
    transform: none!important;
    width: auto!important;
    height: auto!important;
    padding: 0!important;
    color: #2e1a47!important;
    font-family: "Open Sans";
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    font-size: 45px;
}
#yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-star,
#yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-half-star,
#yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-empty-star,
#yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-star,
#yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-half-star,
#yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-empty-star {
    font-size: 26px;
    height: 34px;
    line-height: 34px;
    vertical-align: middle;
}
#yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-stars {
    margin: 10px auto 10px;
}
@media (max-width: 767px) {
    #yotpo-testimonials-custom-tab .yotpo-display-wrapper > div {
        display: flex;
        flex-direction: column;
        align-content: center;
    }
    #yotpo-testimonials-custom-tab .yotpo-bottomline .avg-score {
        font-size: 40px;
    }
    #yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-star,
    #yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-half-star,
    #yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-empty-star,
    #yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-star,
    #yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-half-star,
    #yotpo-testimonials-custom-tab .yotpo-bottomline .yotpo-icon-empty-star {
        font-size: 15px;
    }
    #product-reviews .yotpo-pager,
    .product-reviews .yotpo-pager {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/*********************************** HEADER STYLES ******************************/

.main-header__search {
    padding-right: 0;
    margin-right: 0;
    padding-left: 5px;
    border: none;
    margin-left: 5px;
    border-left: 1px solid rgba(46,26,71,.16);
}

header .main-header {
    /*overflow: hidden;*/
}

/*********************************** FOOTER STYLES ******************************/

.main  .footer-promo.complete-decor {
    height: auto;
    max-width: unset;

}
.main .footer-promo .complete-decor__bg img {
    object-fit: cover;
    -o-object-position: right top;
    object-position: right top;
}
.main .footer-promo.complete-decor .content-center {
    max-width: 775px;
}
.footer-promo.comparison-wrap .content-center, .footer-promo.complete-decor .content-center {
    line-height: 1;
}
.shop-floating-block {
    display: none;
}
@media (max-width: 768px) {
    .main .footer-promo.complete-decor {
        max-height: unset;
    }
    .shop-floating-block {
        display: flex;
    }
}
/********************************** PROMO BLOCK STYLES **************************/
.main .content.text-white, .main .content-center.text-white {
    color: #fff;
}
/********************************** BASIC STYLES *****************************/
.basic-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
/********************************** PRODUCT PAGE *****************************/
.where-to-buy__wrap {
    width: 100%;
    max-width: 1160px;
    margin: auto;
    padding: 40px 0;
}
.where-to-buy__content {
    display: flex;
    flex-direction: revert;
    align-items: flex-end;
    justify-content: space-between;
}
.bg-beige-block {
    background: #F8F5F5;
    border: 1px solid #F8F5F5;
}
.where-to-buy__text-block {
    color: #2E1A47;
}
.where-to-buy__heading *{
    font-family: NewzaldWeb-Book;
    /*font-style: normal;*/
    /*font-weight: normal;*/
    font-size: 30px;
    line-height: 33px;
    margin-bottom: 20px;
}
.where-to-buy__text * {
    font-family: CalibreWeb-Regular,sans-serif;
    /*font-style: normal;*/
    /*font-weight: normal;*/
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
}

@media (max-width: 1200px) {
    .where-to-buy__wrap {
        padding: 40px 20px;
    }

}
@media (max-width: 766px) {
    .where-to-buy__wrap {
        padding: 20px;
    }
    .where-to-buy__content {
        flex-direction: column;
        align-items: center;
    }
    .where-to-buy__heading *{
        font-family: CalibreWeb-Medium,sans-serif;
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 10px;
    }
    .where-to-buy__text * {
        font-size: 16px;
        line-height: 17px;
    }
    .where-to-buy__bttn-block .bttn {
        margin: 10px 0;
    }
    .where-to-buy__bttn-block .bttn {
         font-family: CalibreWeb-Medium,sans-serif;
     }
}
#product-technology #available-here {
    padding-top: 35px;
}
#product-technology #available-here .bttn-row {
    margin-top: 40px;
}
#product-technology #available-here .content-center.big-text p {
    color: #2e1a47;
}
.main .availabe-here {
    margin: 0 auto;
    padding-top: 50px;
}
.main .availabe-here-row {
    margi-top: 40px;
}
.main .availabe-here__item img {
    width: 150px;
    height: 36px;
    object-fit: contain;
}
@media (max-width: 767px) {
    #product-technology #available-here .bttn-row {
        margin-top: 30px;

    }
    #product-technology #available-here .bttn-row bttn {
        margin: 10px 0;
    }
    .main .availabe-here {
        padding-top: 40px;
    }
    .where-to-buy__text-block {
        width: 100%;
    }
}


/********************************** Blog carousel *******************************/
.article-advice-slider {
    overflow:hidden;
    margin: auto;
    position: relative;
}
.blog-carousel-wrapper ._img {
    position: relative;
}
.blog-carousel-wrapper .swiper-slide {
    width: 836px!important;
    opacity: 0.6
}
.blog-carousel-wrapper .swiper-slide.swiper-slide-active {
    opacity: 1
}
.blog-carousel-wrapper .app-inline-bg {
    height: 402px;

}
.blog-carousel-wrapper ._content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 60px 35px;
}
.blog-carousel-wrapper ._content ._category-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.blog-carousel-wrapper ._content ._title {
    font-style: normal;
    font-weight: 300;
    font-size: 42px;
    line-height: 40px;
    text-align: center;
    margin-bottom: 30px;
}
.blog-carousel-wrapper ._content ._subtitle {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 14px;
    color: #414B56;
    margin-bottom: 30px;
}
.blog-carousel-wrapper ._content ._category-block ._time-to-read:after {
    content: '';
    width: 1px;
    height: 13px;
    margin: 0 20px;
    background-color: #2E1A47;
    display: inline-block;
    line-height: 1;
}

.article-advice-slider .swiper-button-next,
.article-advice-slider .swiper-button-prev  {
    width: 50px;
    height: 50px;
    top: 205px;
    background: #FFFFFF;
    border-radius: 1px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.article-advice-slider .swiper-button-prev {
    left: calc(((100% - 836px) / 2) - 74px);
    transform: rotate(180deg);
}
.article-advice-slider .swiper-button-next {
    right: calc(((100% - 836px) / 2) - 74px);
}
.article-advice-slider .swiper-pagination {
    position: static;
    margin-top: 60px;
    display: none;
}
.article-advice-slider .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    background: #D3D6D9;
    width: 10px;
    height: 10px;
    opacity: 1;
}
.article-advice-slider .swiper-pagination.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #2E1A47;
}
.article-advice-slider .block-border {
    width: calc(100% - 40px);
    max-width: 937px;
    height: 1px;
    opacity: 0.5;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    background: #2E1A47;
}


@media (min-width: 1300px) {
    .article-advice-slider .swiper-button-prev {
        left: calc(((100% - 836px) / 2) - 104px);
        transform: rotate(180deg);
    }
    .article-advice-slider .swiper-button-next {
        right: calc(((100% - 836px) / 2) - 104px);
    }
}
@media (max-width: 992px) {
    .article-advice-slider .swiper-button-prev {
        left: 20px;
    }
    .article-advice-slider .swiper-button-next {
        right: 20px;
    }
}

@media (max-width: 767px) {
    .blog-carousel-wrapper .swiper-slide {
        width: 335px!important;
    }
    .article-advice-slider .swiper-pagination {
        margin-top: 20px;
        display: block;
    }
    .article-advice-slider .block-border {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .article-advice-slider .swiper-button-prev {
        display: none;
    }
    .article-advice-slider .swiper-button-next {
        display: none;
    }
    .article-advice-slider ._category-block  a,
    .blog-carousel-wrapper ._content ._category-block ._time-to-read {
        color: #221048;
        font-size: 14px;
        line-height: 17px;
    }
    .article-advice-slider ._category-block ._uphead span {
        color: transparent;
    }
    .article-advice-slider ._category-block span a:not(:first-child) {
        display: none;
    }

    .blog-carousel-wrapper .app-inline-bg {
        height: 306px;
    }
    .blog-carousel-wrapper ._content ._title {
        font-size: 35px;
        line-height: 40px;
    }
    .blog-carousel-wrapper ._content {
        padding: 18px 20px 35px;
    }


}

/************************************* BLOG POSTS GRID *******************************/
.article-solution-box ._title {
    padding-bottom: 8px;
}
.article-solution-box .app-centered-box {
    padding: 60px 0 30px;
}
@media screen and (min-width: 992px) {
    .article-solution-box ._content {
        margin-bottom: 22px;
        min-height: unset;
    }
}
@media (max-width: 767px) {
    .article-solution-box .app-centered-box {
        padding: 32px 0;
    }
    .article-solution-box ._bottom-tools {
        padding-top: 18px;
    }
}

.blog-page-g-form {
    margin: 40px auto;
}
.page-template-sleep-guide-page .app-container {
    padding: 0 20px;
}
._d-grid {
    margin-top: unset;
    display: grid;
    grid-template-columns: repeat(3, 398px);
    grid-gap: 40px;
    justify-content: center;
}
._grid._d-grid:after,
._grid._d-grid:before {
    content: none;
}

._grid._d-grid ._col {
    width: 100%;
}

._grid-flex._grid-flex-wrap {
    flex-wrap: wrap;
}
.article-news-slice__item._padded {
    padding: 20px;
}
.article-news-slice__item._bg-beige {
    background-color: #F8F5F5;
}
.article-news-slice__item._bg-beige:hover {
    background-color: #F1F8FE;
}
.article-news-slice__item._style2 {
    margin: auto;
    max-width: 398px;
}
.article-news-slice__item._style2 .image-box {
    width: 357px;
    height: 332px;
    background-size: cover;
    transition: background .2s ease-out;
    margin: auto;
    margin-bottom: 25px;
    overflow: hidden;
}
.article-news-slice__item._style2 .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: .3s;
}
.article-news-slice__item._style2:hover .image-box img {
    transform: scale(1.2);
    transition-duration: .3s;
}
.article-news-slice__item._vertical-between._style2 .article-grid-box__item {
    text-align: left;
}
.article-news-slice__item._vertical-between._style2 .article-grid-box__item ._uphead {
    padding: 0;
    font-family: CalibreWeb-Regular, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.article-news-slice__item._style2 .article-grid-box__item {
    padding: 0;
}
.article-news-slice__item._style2 .article-grid-box__item._sm {
    min-height: unset;
}
.article-news-slice__item._style2 .article-grid-box__item ._uphead span:after,
.article-news-slice__item._style2 .article-grid-box__item ._uphead span:before {
    display: none;
}
.article-news-slice__item._style2 .article-grid-box__item ._title {
    font-family: CalibreWeb-Regular, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 26px;
    line-height: 25px;
    letter-spacing: 0.5px;
}
.article-news-slice__item._style2 .article-grid-box__item ._subtitle {
    font-family: CalibreWeb-Regular, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 15px;
    /* or 107% */
    /* Brand/Primary */
    color: #2E1A47;
    padding-bottom: 20px;
}

.article-news-slice__item._style2  a.read-more {
    font-family: CalibreWeb-Regular, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 26px;
    text-decoration: underline!important;
    color: #2E1A47;
    margin: 17px 0px;
}
@media screen and (min-width: 992px) {
    ._grid-flex-wrap ._col {
        margin-bottom: 40px;
    }
}
@media (max-width: 1300px) {
    .article-news-slice__item._style2 .image-box {
        width: 100%;
        height: 332px;
    }

    ._d-grid {
        grid-template-columns: repeat(3, 33.3333%);
        grid-gap: 1rem;
    }
    ._d-grid .article-news-slice__item._style2 {
        max-width: unset;
    }
}
@media screen and (max-width: 991px) {
    ._d-grid {
        grid-template-columns: repeat(1, 100%);
        grid-gap: 30px;
    }
    ._grid ._col + ._col {
        margin-top: 30px;
    }
    ._d-grid .article-news-slice__item._style2 {
        max-width: 550px;
    }
}

@media (max-width: 767px) {
    .blog-page-g-form {
        margin: 30px 0;
    }
    .article-news-slice__item._padded {
        max-width: 334px;
    }
    .article-news-slice__item._style2 .image-box {
        width: 100%;
        height: 332px;
    }
    .article-news-slice__item._style2 .article-grid-box__item ._title {
        font-size: 22px;
        line-height: 20px;
    }
}
@media (max-width: 374px) {
    .article-news-slice__item._style2 .image-box {
        width: 100%;
    }
}

/********************************** PAGENAVI PAGINATION ****************************/
.pagination-wrap .wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination-wrap .wp-pagenavi a, .pagination-wrap .wp-pagenavi span {
    margin: 0;
    background: #FFFFFF;
    color: #1A1A1A;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination-wrap .wp-pagenavi .nextpostslink,
.pagination-wrap .wp-pagenavi .previouspostslink {
    background: #2E1A47;
    color: #fff;
    border: 1px solid #2E1A47;
}
.pagination-wrap .current {
    border: 1px solid #2E1A47;
    box-sizing: border-box;
}
.pagination-wrap span.pages {
    display: none;
}
.pagination-wrap .wp-pagenavi a.nextpostslink, .pagination-wrap .wp-pagenavi .nextpostslink {
    order: 100
}
/************************************ EBOOk FORM ***************************/
#gform_13 .gform_description {
    font-size: 27px;
    line-height: 34px;
    text-align: center;
    color: #FFFFFF;
    max-width: 503px;
}
.gform_wrapper .gform_body ul.gform_fields li.gfield.label-btn>label.gfield_label._gfield-select-label {
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 4px;
    /* padding: 10px 17px; */
    color: #fff;
    text-transform: uppercase;
    height: 40px;
    max-width: 162px;
    display: flex!important;
    align-items: center;
    justify-content: center;
}
#gform_13  ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-family: CalibreWeb-Regular,sans-serif;
    color: #fff!important;
    opacity: 1; /* Firefox */
}
#gform_13 .gform_body ul.gform_fields li.gfield input[type=email],
#gform_13 .gform_body ul.gform_fields li.gfield input[type=num],
#gform_13 .gform_body ul.gform_fields li.gfield input[type=tel],
#gform_13 .gform_body ul.gform_fields li.gfield input[type=text],
#gform_13 .gform_body ul.gform_fields li.gfield textarea {
    padding: 13px 20px 15px 0!important;
}
._custom-gform-styles .gravity-form.download-ebook-form .gform_body .gfield .gfield_checkbox label {
    opacity: 1!important;
    font-size: 14px!important;
    line-height: 15px!important;
}
._custom-gform-styles .gravity-form.download-ebook-form .gform_body .gfield .gfield_checkbox label a{
    line-height: 15px!important;
}
#gform_13 #field_13_1 {
    margin-bottom: 0;
}
._custom-gform-styles .gravity-form.download-ebook-form .gform_heading h3.gform_title {
    display: none;
}
.gform_wrapper .gform_body ul.gform_fields li.gfield label.gfield_label._gfield-select-label {
    display: inline-block !important;
}
._custom-gform-styles .gravity-form.download-ebook-form .gfield_label {
    color: #fff;
}
.gform_confirmation_message_13.gform_confirmation_message {
    color: #fff;
}
@media (max-width: 767px) {
    .article-news-box.download-ebook-form.gravity-form {
        padding: 20px 0 0;
    }
}

/*CHAT WIDGET*/
#chat-widget-container {
    bottom: 30px !important;
}