/* NEW HEADER STYLES */

.s-header{
    background: #fff;
    padding-bottom: 20px;
    z-index: 2000;
}
.uk-modal{
    z-index: 5000;
}
header.s-header{
    width: 100%;
    position: fixed;
    top: 43px;
    left: 0px;
}
.mys-header{
    padding-bottom: 0;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2003;
}
.s-container{
    margin: 0 auto;
}
.row{
    display: flex;
    flex-wrap: wrap;
}

.row.nowrap{
    flex-wrap: nowrap;
    align-items: center;
}
.s-container > .row{
    justify-content: space-between;
}

.points-block{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 370px;
    width: 100%;
    margin-top: 20px;
}
.points-line{
    font-size: 16px;
    color: #000;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.points-line span{
    flex-shrink: 0;
    margin-right: 15px;
    color: #393185;
}
.place-icon{
    background: url(images/icon-place-01.svg) center center no-repeat;
    width: 19px;
    height: 23px;
}

.mail-icon{
    background: url(images/icon-mail-01.svg) center center no-repeat;
    width: 19px;
    height: 23px;
}

.shedule-icon{
    background: url(images/icon-calendar-01.svg) center center no-repeat;
    width: 19px;
    height: 23px;
}

.s-header-logo {
    display: inline-flex;
	align-items: center;
    width: 370px;
}
.s-header-logo img{
    /* width: 321px; */
    max-width: 100%;
    /* padding-top: 20px; */
}
.header-buttons-wrapper{
    /* padding-top: 80px; */
    display: flex;
	/* justify-content: flex-end; */
}
.s-button {
    background: #fff;
    border: 2px solid #7c6eb0;
    border-radius: 27px;
    font-size: 18px;
    color: #393185;
    height: 54px;
    padding: 11px 45px;
    display: inline-block;
    box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.21);
    margin-right: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all .4s;
	white-space: nowrap;
}
.s-button:hover{
    box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.21);
    background: #7c6eb0;
    color: #fff;
}

.s-whatsapp.s-button{
    box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.21);
    /* box-shadow: none; */
    background: #7c6eb0;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.s-whatsapp.s-button:hover{
    background: #fff;
    color: #7c6eb0;
    box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.21);
    box-shadow: none;
}
.s-whatsapp .ic{
    background: url(images/whatsapp.svg) center center no-repeat;
    font-size: contain;
    width: 24px;
    height: 24px;
    margin-right: 15px;
}
.s-whatsapp:hover .ic{
	 background: url(images/whatsapp-blue.svg) center center no-repeat;
}
.header-line{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.s-header-nav{
    display: flex;
    padding-left: 0;
    margin-top: 22px;
}
.s-header-nav li{
    list-style: none;
    padding-right: 40px;
}
.s-header-nav li a{
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 21px;
    white-space: nowrap;
}
.s-header-nav li a:hover{
    text-decoration: underline;
}
.header-line-phone{
    display: flex;
    /* margin-top: 68px; */
}
.header-line-worktime{
    font-size: 16px;
    color: #000;
    max-width: 0px;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
}
.header-line-phone-wrapper {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.header-line-phone-wrapper .header-line-phone1{
    background: url(images/icon-phone-01.svg) left center no-repeat;
    font-size: 34px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    padding-left: 55px;
    background-size: 34px;
}
.header-line-phone-wrapper .header-line-phone1:hover{
    color: #b8b8b8;
    filter: grayscale(1);
}
.header-line-phone-wrapper .butn{
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
    cursor: pointer;
    padding-top: 2px;
}
.header-line-phone-wrapper .butn:hover{
    color: #b8b8b8;
}

.header-search-line {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 30px;
    width: 100%;
    box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.21);
}
@media (min-width: 970px){
    #header-menu>ul>li#header-menu-catalog {
        display: table-cell!important;
		background: #e20187;
    }
    #header-menu>ul>li#header-menu-catalog:hover{
        background: #000000;
    }
    #header-menu-catalog>a{
        background: none!important;
        height: 64px;
        width: 335px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        /* border-radius: 27px; */
        font-size: 18px;
        color: #fff;
        font-weight: 600;
    }
	#header-menu-catalog>a span{
		margin-left: -25px;
	}
    #header-menu-catalog ul{
        text-transform: uppercase;
    }
    #header-menu>ul>li {
        display: none!important;
    }
    #header-menu > ul > li.catalog > a > span::before,
    header > .bottom > .inner > .button-menu::before {
        display: none;
    }
    #header-menu > ul > li.catalog > a > span::after{
        background: none!important;
        content: '˅';
        transform: translateY(1px);
        margin-left: 10px;
    }
    #header-menu>ul>li:hover>.submenu{
        width: 100%;
    }
}

.s-search {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    background: #7c6eb0;
    padding-left: 8px;
    padding-right: 8px;
}
.s-search-text{
    font-size: 18px;
    color: #000;
    padding-left: 32px;
    flex-shrink: 0;
    padding-right: 30px;
    font-weight: 600;
}
.s-search-input{
    border: 2px solid #fff;
    max-width: 100%;
    height: 46px;
    border-radius: 27px;
    background: #fff;
    color: #000;
    /* box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.21); */
    width: 692px;
    font-size: 18px;
    font-weight: 600;
    padding-right: 50px;
    padding-left: 31px;
    transition: all .5s;
    width: 100%;
}
.s-search-input:focus{
    /* border: 2px solid #393185; */
    box-shadow: none;
}
.s-search-submit{
    position: absolute;
    background: #b8b8b8 url(/local/templates/ayaprint/img/magnifying-glass.svg) center center no-repeat;
    color: rgba(0,0,0,0);
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    right: 16px;
    top: 14px;
    border: none;
    font-weight: 600;
    background-size: 18px;
}
.s-search-submit:hover{
    background: #E5007D url(/local/templates/ayaprint/img/magnifying-glass.svg) center center no-repeat;
    background-size: 18px;
}

.s-calc-button{
	background: #b8b8b8;
    visibility: hidden;
    display: none!important;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding-left: 28px;
    padding-right: 28px;
    border-radius: 27px;
    margin-left: 30px;
}
.s-calc-button:hover{
    color: #fff;
	background: #E5007D;
}
.s-calc-button span {
    width: 27px;
    height: 35px;
    margin-right: 18px;
    display: block;
    background: url(images/calculator.svg) center center no-repeat;
    background-size: 35px;
}
#header-menu > ul > li.catalog > a > span{
    transform: translateY(-2px);
}
nav.main > ul{
    z-index: 100;
}
.fixed.s-header {
    box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.21);
}
.button-menu{
    display: none;
}

.header-menu-catalog>a{
    background: unset;
}
#header-menu > ul > li.active > a, #header-menu > ul > li:hover > a{
    background: unset!important;
}
@media(min-width: 1500px) {
    .s-container{
        width: 1440px;
    }
    .header-buttons-wrapper .s-calc-button{
        display: none;
    }
    .s-header-logo img{
        max-width: 90%;
    }
}

@media (min-width: 964px) and (max-width: 1499px) {
    .s-container{
        width: 962px;
    }
    .points-block{
        margin-left: 0;
        transform: none;
        padding-top: 28px;
    }
    .s-header-logo{
        max-width: 211px;
    }
    .s-header-logo img{
        max-width: 90%;
    }
    .header-buttons-wrapper .s-calc-button{
        display: none;
        height: 48px;
        font-size: 16px;
        margin-right: 26px;
    }
    .header-buttons-wrapper{
        flex: 1;
        padding-top: 30px;
        justify-content: flex-end;
    }
    .s-button{
        height: 48px;
        font-size: 16px;
        padding: 11px 30px;
    }
    .s-header-nav{
        /* max-width: 649px; */
        flex-wrap: wrap;
    }
    .s-header-nav li a{
        font-size: 18px;
    }
    .s-header-nav li{
        padding-bottom: 5px;
    }
    .header-line-phone{
        transform: none;
    }
    .header-line-phone-wrapper .header-line-phone1{
        font-size: 23px;
        padding-left: 41px;
        margin-left: 10px;
        background-size: 28px;
    }
    .s-header-nav{
        margin-top: 13px;
    }

    #header-menu-catalog > a{
        height: 64px;
        width: 302px;
        font-size: 16px;
    }
    .s-search-text{
        font-size: 16px;
        white-space: nowrap;
    }
    .header-search-line .s-calc-button{
        display: none;
    }
    .s-search{
        flex: 1;
    }
    .s-search-input {
        height: 48px;
        width: 100%;
        font-size: 16px;
        flex: 1;
    }
    .s-search-submit{
        top: 13px;
    }
    .header-search-line{
        width: 100%;
        margin-top: 5px;
    }

    .header-line-phone{
        margin-top: 20px;
    }
    header.s-header{
        padding-bottom: 15px;
    }
    .points-block{
        margin-top: 0;
    }
    header.s-header{
        top: 51px;
    }
}
@media (max-width: 970px) {
    .s-container{
        width: 758px;
    }
    .points-block{
        margin-left: 0;
        transform: none;
        padding-top: 28px;
    }
    .points-line{
        padding-top: 6px;
    }
    .s-header-logo{
        max-width: 250px;
    }
    .header-buttons-wrapper{
        flex: 1;
        padding-top: 44px;
        padding-left: 30px;
        justify-content: flex-end;
    }
    .s-button{
        height: 48px;
        font-size: 16px;
        padding: 11px 20px;
    }
    .header-buttons-wrapper .s-calc-button{
        display: none;
    }
    .s-header-nav{
        display: none;
    }
    .header-line-phone{
        /* transform: translateY(-123px); */
        width: 100%;
        justify-content: flex-end;
    }
    .header-line-phone-wrapper .header-line-phone1{
        font-size: 30px;
        padding-left: 44px;
        background-size: 28px;
    }
    .button-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 105px;
        background: #b8b8b8;
        border: none;
        height: 61px;
        /* border-radius: 24px; */
    }
	.button-menu:hover {
		background: #E5007D;
	}
    .s-search-text{
        display: none;
    }
    .header-search-line{
        width: 100%;
    }
    .s-search-input {
        height: 48px;
        width: 100%;
        font-size: 16px;
        flex: 1;
    }
    .s-search-submit{
        top: 12px;
    }
    .s-calc-button{
        display: none;
    }
    .s-search{
        flex: 1;
    }
    .button-menu span{
        display: block !important;
        width: 18px;
        height: 3px;
        background-color: #F5F5F5 !important;
        -webkit-border-radius: 1px;
        -moz-border-radius: 1px;
        border-radius: 1px;
        -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        margin: 3px;
    }
    .s-button{
        white-space: nowrap;
    }
    .s-header div,
    .s-header-logo{
        transition: none!important;
    }
    .row.nowrap{
        flex-wrap: wrap;
    }

    .points-block{
        padding-top: 8px;
    }
    .header-line-phone {
        margin-top: 6px;
    }
    
}

@media (max-width: 970px) and (min-width: 778px) {
    .header-line-phone{
        margin-top: -194px;
    }
    .butn{
        display: none;
    }
    header.s-header{
        padding-bottom: 15px;
    }
    .header-buttons-wrapper{
        padding-top: 64px;
        transform: translateY(-10px);
    }
    .points-block{
        margin-top: 0;
    }
    header.s-header{
        top: 66px;
    }
    #header-menu{
        z-index: 3000;
    }
    body.overlay:after{
        z-index: 2240;
    }
}

@media (max-width: 777px){
    .hpbutton{
        display: none;
    }
    .butn{
        display: none!important;
    }
    .s-container{
        width: 100%;
        max-width: 450px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .points-block{
        padding-top: 15px;
    }
    .header-buttons-wrapper{
        flex-direction: column-reverse;
    }
    .s-button{
        width: 100%;
        height: 42px;
        padding-left: 5px;
        padding-right: 5px;
        border-radius: 21px;
        border-width: 1px;
        font-size: 14px;
        margin-top: 14px;
        margin-right: 0;
    }
    .s-button+.s-button{
        margin-top: 0px;
    }
    .s-header-logo{
        max-width: 176px;
        display: flex;
		align-items: center;
    }
    .header-buttons-wrapper{
        padding-top: 0;
    }
    .header-line-phone{
        transform: none;
    }
    .header-search-line{
        margin-top: 20px;
        height: auto;
    }
    .header-line-phone-wrapper .header-line-phone1,
    .header-line-phone-wrapper{
        width: 100%;
    }
    .header-line-phone{
        padding-top: 10px;
    }
    .button-menu{
        width: 48px;
        height: 58px;
    }

    .header-buttons-wrapper{
        padding-left: 10px;
        align-items: center;
    }

    .s-search-input{
        height: 42px;
    }
    .s-search-submit{
        top: 11px;
        right: 12px;
    }
	.header-buttons-wrapper{
		padding-top: 20px;
    }
    .s-button{
        margin-top: 10px;
    }
    .header-search-line{
        margin-top: 0;
    }

    header.s-header{
        position: relative;
        padding-bottom: 20px;
        top: unset;
        left: unset;
    }
    .mys-header{
        position: relative;
        top: unset;
        left: unset;
    }
    .points-block{
        margin-top: 0;
        margin-bottom: 15px;
    }
    /* .s-header .row.ff{
        position: fixed;
        width: 430px;
        top: 0px;
        left: 0px;
        background: #fff;
        left: calc( 50% - 215px);
    } */
    header.s-header.ff{
        position: fixed;
        width: 100%;
        top: 0px;
        left: 0px;
        background: #fff;
        padding-top: 20px;
        z-index: 3000;
    }
    .header-buttons-wrapper{
        padding-top: 0;
    }
    #header-menu{
        z-index: 3000;
    }
    body.overlay:after{
        z-index: 2180;
    }
    .header-search-line{
        box-shadow: none;
    }

    .s-whatsapp.s-button:hover,
    .s-whatsapp.s-button{
        box-shadow: none;
    }
}
@media (max-width: 380px){
    .s-header-logo{
        max-width: 146px;
    }
}

.s-button:last-child{
    margin-right: 0;
}

@media (max-width: 425px) {

    .header-buttons-wrapper {
        align-items: center;
        justify-content: center;
    }
    .s-button {
        margin-top: 0;
    }
    .header-line-phone-wrapper{
        flex-direction: column;
    }
	.butn{
		display: block!important;
		text-align: left;
		align-self: center;
    }

    .s-header{
        padding-bottom: 20px;
    }
    .blash{
        /* z-index: 2190; */
        /* position: relative; */
    }
    #header-menu{
        z-index: 3000;
    }
}
@media (max-width: 398px) {
    .header-line-phone-wrapper .header-line-phone1{
        font-size: 28px;
    }
    /* .fixed .header-line-phone-wrapper .header-line-phone1 {
        font-size: 22px;
    } */
    .s-header-logo {
        max-width: 96px;
    }
    
}


.overlay header.s-header.ff{
    filter: brightness(0.5);
}


/* STRANGE THING*/
#li1{
    position: relative;
}
#li1>.submenu{
    display: none;
    position: absolute;
    background: #000;
}
#li1:hover>.submenu {
    display: block;
}


#li1 .submenu {
    column-gap: 50px;
    max-width: 400%;
    padding: 15px 80px 15px 20px;
    background-color: #ebf5fc;
    font-size: 14px;
    line-height: 40px;
    transition: left .2s, top .2s, opacity .2s;
    z-index: 1010;
}

#li1 .submenu a {
    display: inline;
    padding: 0;
    color: #3b3781;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
}

#li1 .submenu a:before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 10px;
    margin-right: 8px;
    background-color: #e31362
}

#li1 .submenu a:hover {
    background-color: transparent;
    color: #e31362
}

#li1 .submenu li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

#li1 .submenu li.parent>a>span {
    padding: 0
}

#li1 .submenu li.parent>a>span:after {
    content: none
}

#li1 .submenu li:hover>a {
    background-color: transparent
}

@media(max-width: 969px) and (min-width: 960px) {
    #header-menu{
        z-index: 3040;
    }
}