/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 900; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 25% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

ul.header-nav li a{
    color:#fff;
    font-size:1.3em !important;
}

.main-text{
    color:#998877;
}

.header-content.fixed{
    background: linear-gradient(rgba(211, 173, 183, 0.9), rgba(255, 209, 247, 0.9));
    background: rgba(211, 173, 183, 0.9);
}

.header-nav li ul{
    left: 100%;
}

.info-blocks{
    padding-bottom:30px;
    background:#FBECE9;
}

.faq-item__content p{
    margin-bottom:20px;
}

.info-blocks__item-img{
    height:auto;
}

.saint-text{
    color:deeppink;
    font-family: 'Alex Brush', cursive !important;
}

.saint-text2{
    font-family: "Mrs Saint Delafield";
    font-family: 'Alex Brush', cursive !important;
    color:deeppink;
    font-size:30px;
}

.js-ll{
    background-attachment:fixed;
    background-position:18vw;
    background-repeat:repeat-x;
}

.advantages{
    padding-bottom:190px;
}

.info-blocks__item-descr{
    color:white !important;
}

.discount-info{
    transform: translate(40px,0) !important;
}

div.main-block
{
    background-position:center center;
    background-attachment:fixed;
}


.discount .wrapper-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: end;
    justify-content: flex-start;
}

.discount-info-left {
    max-width: 465px;
    margin-right: 84px;
    transform: translate(40px,0) !important;

}

.discount{
  background-attachment:fixed !important;
}

.insta-photos{
    background:lightpink;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

.insta-photo{
    position:relative;
    margin-bottom: 130px;
    border-radius: 20px;
    transition:all 750ms;
    z-index:1;
}

.insta-photo:hover{
    border-radius: 0px;
    transform:scale(1.18);
    z-index:100;
}

.t4e{
    width:100vw;text-align:center;padding-top:20px;color:white;transform:translate(0,40px);
}


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

div.blog-item img{
    width:175px !important;
}

.blog-item__title{
    text-transform:uppercase;
}




@media only screen and (max-width:990px){
    .info-blocks__item-descr{
        color:#222 !important;
    }
}

@media only screen and (max-width:767px){
    .info-blocks__item-desc{
        color:#333;
    }
.wrapper-chair{
    display:grid !important;
}
    .wrapper-chair .main-text{
        font-size: 53px;
        transform: translateX(-40px);
    }

    .wrapper-chair p{
        max-width: 90%;
    }
    .aboutParas{
        height:50vh;
        overflow-y:scroll;
    }

    .findyourglow{
        background-position:70% center;
    }

    .glow-info{
        background:rgba(255,255,255,.8);
    }

    div.blog-item img{
        width:100px !important;
    }

    .t4e{
        transform:translate(0,0);
    }

    .insta-photo{
        margin-bottom: 0px;

    }

    .insta-photos{
        margin-top:0px !important;
    }

    ul.header-nav li a{
        color:#333;
        font-size:1.2em !important;
    }

    .header-logo {
        width: 185px;
        padding-top:20px;
        padding-left:30px;
    }

    .header-nav li ul{
        left: 5px;
    }



div.main-block
    {
       background-position:left  !important;
        background-attachment:scroll;
        min-height:400px;
        padding-top:300px;
        height:400px;
    }

    .btn-menu{
        transform:translate(0,-50px);
    }

    .btn-menu span{
        background:deeppink;
    }

div.main-block .main-block__content h1.main-text{
    color:white;
}

    div.main-block .main-block__content p{
        color:white;
    }

    .discount-info{
        transform: translate(20px,0) !important;;
    }



    .discount-info-left {

        transform: translate(0,0) !important;
        width:100vw;
        margin-right:0;

    }

    .discount-info-left p{
        color:white;
        background:rgba(0,0,0,.55);
    }

    .discount-info-left .main-text,.discount-info-left .main-text span{
        margin-top:0px !important;
        text-align:right;
        color:white;
        opacity:1;
        text-shadow:1px 1px black,-1px 1px black,1px -1px black,-1px -1px black;
    }

    .advantages{
        padding-bottom:60px;
    }



    .discount{
        background-attachment:scroll !important;
    }

    .discount .wrapper>*{
        max-width:55%;
    }

    .discount .wrapper-left>*{
        max-width:90%;
    }

    .discount-contacts{
        background-position:-130px center;
    }

    .discount-contacts .wrapper>*{
        max-width:100% !important;
        background:rgba(255,255,255,.7);
    }


    .discount-info2{
        max-width:100vw !important;
        background:rgba(255,255,255,.5);
        padding:10px;
    }

    .discount-info {

        text-align: left;
    }

    .js-ll{
        background-attachment:scroll;
        background-position:40% center;
        background-repeat:repeat-x;

    }

    .header-box.active{
     right:inherit;
        left:0;
        top:0px;
    }

    .header-box{
        right:inherit;
        left:-280px;
    }

    .btn-menu{
        right:inherit;
        left:15px;
    }

    .discount-about{
        background-size:290%;
    }

}

@media only screen and (min-width: 800px){
    .info-blocks__item-img img {
        height:700px;
        object-fit:contain;
    }
}

@media only screen and (max-width: 821px) {

}
