

@media (min-width: 992px){ 
    ::-webkit-scrollbar-button { 
        background-image:url(''); 
        background-repeat:no-repeat; 
        width:6px; 
        height:0px 
    } 

    ::-webkit-scrollbar-track { 
        background-color:#000; 
        -webkit-box-shadow:0px 0px 3px #000 inset; 
        box-shadow:0px 0px 3px #000 inset; 
    } 

    ::-webkit-scrollbar-thumb { 
        -webkit-border-radius: 5px; 
        border-radius: 5px; 
        background-color:#ad854a; 
        -webkit-box-shadow:0px 1px 1px #fff inset; 
        box-shadow:0px 1px 1px #fff inset; 
        background-image:url('../img/59610063.png'); 
        background-position:center; 
        background-repeat:no-repeat; 
    } 

    ::-webkit-resizer{ 
        background-image:url(''); 
        background-repeat:no-repeat; 
        width:7px; 
        height:0px 
    } 

    ::-webkit-scrollbar{ 
        width: 8px; 
    }
}

@media (max-width: 1230px){
    header .menu-box nav ul{
        gap: 25px;
    }
}

@media (max-width: 1200px){
    .sect.head-sect .title-box .title{
        font-size: 82px;
    }

    .sect.contacts .title-box.sect-title {
        padding-left: 35vw;
    }

    .sect.contacts::after {
        width: calc(415px + 20px);
    }

    .sect:first-child {
        padding-top: 170px;
    }

    header .columns{
        grid-gap: 50px;
    }

    .menu-box{
        position: fixed;
        top: 0;
        right: 0;        
        transform: translateX(110%);
        z-index: 888;
        background-color: #000;
        width: 260px;
        height: 100vh;
        box-shadow: 5px 5px 10px #000;
        transition: right .2s ease-out;
        -o-transition: right .2s ease-out;
        -moz-transition: right .2s ease-out;
        -webkit-transition: right .2s ease-out;
    }

    .menu-box .scroller{
        padding: 100px 30px 40px;
        height: 100%;
        overflow-x:hidden;
        overflow-y: scroll;
        grid-gap: 60px;
        grid-template-columns: 1fr;
        grid-auto-rows: min-content;
    }

    header .menu-box .mob-menu-info{
        display: block;
    }

    header .menu-box .phones-list{
        grid-gap: 10px;  
        display: grid;
    }

    header .menu-box nav ul{
        display: grid;
        grid-gap: 30px;
        font-size: 16px;
    }

    header .menu-box nav ul li {
        margin-right: 0;
    }

    header .menu-bt{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        position: relative;
        transition: .2s ease;
        -o-transition: .2s ease;
        -moz-transition: .2s ease;
        -webkit-transition: .2s ease;
        z-index: 1001;
        display: inline-block;
    }

    .menu-bt .line{
        position: absolute;
        width: 70%;
        height: 2px;
        background-color: #fff;
        transition: .2s ease;
        -o-transition: .2s ease;
        -moz-transition: .2s ease;
        -webkit-transition: .2s ease;
        transform-origin: center;
    }

    .menu-bt .line:nth-child(1){
        top: 10px;
        right: 15%;
    }

    .menu-bt .line:nth-child(2){
        top: 19px;
        width: 50%;
        right: 15%;
    }

    .menu-bt .line:nth-child(3){
        top: 28px;
        width: 60%;
        left: initial;
        right: 15%;
    }


    .menu-bt.active .line:nth-child(1) {
        top: 19px;
        transform: translateX(-50%) rotate(45deg);
    }

    .menu-bt.active .line:nth-child(2){
        width: 200%;
        opacity: 0;
    }

    .menu-bt.active .line:nth-child(3) {
        top: 19px;
        transform: translateX(0%) rotate(-45deg);
        width: 70%;
        right: 16%;
    }

    .overlay-bg{
        display: block;
    }

    header{
        padding: 15px 0;
    }

    header .columns{
        grid-template-columns: 1fr auto auto auto;
        grid-gap: 30px;
    }

    header .menu-block{
        order: 1;
        display: flex;
    } 

    header .mob-box{
        display: flex;
    }
}

@media (max-width: 992px){
    .customize-support header {
        top: 0;
    }

    .sect.head-sect .title-box .title{
        font-size: 72px;
    }

    header .logo-box img{
        max-width:110px;
    }

    .sect.head-sect .img-box {
        width: 35%;
        margin-top: 20px;
    }

    .sect.head-sect {
        padding-top: 150px;
    }

    .sect.head-sect .contacts-box{
        font-size: 18px;
    }

    .sect.services .columns{
        grid-gap: 50px;
        grid-template-columns: 3fr 1fr;
    }

    .sect.services .list-box{
        padding: 40px 30px;
    }

    .sect.services .list-box ul li .price{
        font-size: 18px;
    }

    .sect.services .title-box.sect-title .title {
        margin-bottom: -50px;
        font-size: 45px;
    }

    .sect.about-us .columns{
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }

    .sect.about-us .rows {
        grid-gap: 40px;
    }

    .sect.about-us .img-box {
        width: 550px;
        margin: -40px auto 0;
    }

    .sect.about-us .img-box img{
        margin-left: 60px;
    }

    .sect.contacts .columns {
        grid-template-columns: 2fr 300px;
    }

    .sect.contacts::after {
        width: 320px;
    }

    .sect.contacts .contacts-info .item::before{
        top: 2px;
    }

    .sect:first-child {
        padding-top: 110px;
    }

    .sect.head-sect {
        padding-top: 100px;
    }

    .sect.seo-block .container {
        max-width: 80vw;
    } 

    .items-list.blog-posts{
        grid-template-columns: repeat(3, 1fr);
    }

    .main-content>.columns, 
    .main-wrap.single .page-head-box .title-box{
        grid-gap: 30px;
    }
    
}

@media (max-width: 767px){
    .gallery, .gallery.owl-carousel .owl-stage-outer {
        width: calc(100vw - 40px)!important;
    }

    .gallery{
        margin-top: 0;
    }

    .owl-nav button.owl-next{
        right: -15px;
    }

    .owl-nav button.owl-prev{
        left: -15px;
    }

    .owl-nav button span{
        width: 48px;
        height: 48px;
    }

    .owl-nav button span::after, .owl-nav button span::before {
        width: 8px;
        top: 48%;
        left: 21px;
    }

    .gallery .owl-item .item{
        transform: scale(1);
    }

    .sect.services .columns,
    .sect.contacts .columns{
        grid-template-columns: 1fr;
    }

    header .logo-box img,
    header.active .logo-box img{
        max-width: 100px;
    }

    .sect.atmo .video-box{
        width: 100%;
    }
    
    .sect.about-us .img-box {
        width: 100%;
        margin: -20px auto 0;
    }

    .sect.about-us .img-box img {
        margin-left: initial;
    }

    .sect.about-us .text-box{
        font-size: 15px;
    }

    .sect.about-us{
        padding-bottom: 50px;
    }
    
    .title-box.sect-title .title,
    .sect.services .title-box.sect-title .title,
    .seo-block .text-box h2{
        font-size: 32px;
    }

    .sect.services .title-box.sect-title .title{
        margin-bottom: 0;
        text-align: left;
    }

    .mobile-barbers-level-descr.hid-text-box .text-box{
        -webkit-line-clamp: 5;
    }

    .sect {
        padding: 50px 0;
    }

    .sect.services .columns{
        grid-gap: 40px;
    }

    .sect.services .img-box{
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
    }

    .sect.sect.services{
        padding-bottom: 50px;
    }

    .sect.services .list-box {
        padding: 20px;
    }

    .sect.services .list-box ul li{
        align-items: center;
    }

    .sect.services .list-box ul li.head .price-col:last-child .info-popover-text{
        left: initial;
        right: 0;
        transform: translateX(35px) translateY(4px);
    }

    .sect.services .list-box ul li.head .price-col:last-child .info-popover.top.show .info-popover-text{
        transform: translateX(35px) translateY(0);
    }
    
    .sect.services .list-box ul li.head .price-col:last-child .info-popover-text::before{
        left: initial;
        right: 40px;
        transform: initial;
    }

    .sect.head-sect .title-box .title {
        font-size: 9vw;
    }

    .sect.head-sect .contacts-box {
        position: relative;
        font-size: 16px;
    }

    .sect.head-sect .img-box {
        width: 100%;
        max-width: 250px;
        margin-top: 0;
    }

    .sect.head-sect{
        position: relative;
    }

    .sect.head-sect::before{
        content: '';
        width: 100%;
        height:55%;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 1;
        background: rgba(255,255,255,0);
        background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.7) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(0,0,0,0.65)));
        background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.7) 100%);
        background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.7) 100%);
        background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.7) 100%);
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(0,0,0,0.7) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#000000', GradientType=0 );
    }

    .sect.atmo{
        padding-top: 50px;
    }

    .sect.atmo .title-box{
        padding-top: 20px;
    }

    .sect.atmo .video-block{
        padding: 40px 0 50px;
    }

    .sect.atmo::before,
    .bg-line-2{
        height: 50px;
        background-size: auto 140%;
    }

    .sect.contacts{
        padding: 90px 0;
    }

    .sect.contacts::before,
    .sect.contacts::after{
        width: calc(100vw - 30px);
    }

    .sect.contacts .title-box.sect-title {
        padding-left: 0;
    }

    .sect.services .list-box ul li i{
        display: block;
        font-size: 14px;
    }

    .sect.services .list-box ul li .price {
        font-size: 17px;
    }

    .sect.services .list-box ul li .price .price-cur {
        font-size: 13px;
    }

    .sect.services .list-box ul li .service-info{
        margin-bottom: 5px;
    }

    .sect.contacts .contacts-info {
        font-size: 18px;
    }

    .sect.contacts .contacts-info .item::before {
        top: -1px;
    }

    footer .copyright{
        grid-template-columns: 1fr;
        grid-gap: 10px;
        text-align: center;
        padding: 20px 0;
    }

    .sect.seo-block .container {
        max-width: initial;
    }

    .mob-posts-slider {
        width: 100vw;
        overflow-x: scroll;
        margin: 0 -20px;
        padding: 0 20px;
    }

    .mob-posts-slider::-webkit-scrollbar{
		-webkit-appearance: none;
		display: none;
		opacity: 0;
		width:0;
		height: 0;
	}

    .sect.our-masters{
        padding-bottom: 50px;
    }

    .sect.our-masters .items-list{
        display: grid;
        grid-gap: 20px;
    }

    .sect.our-masters .items-list .item {
        width: 290px;
    }

    .sect.our-masters .items-list .item .name{
        font-size: 18px;
    }

    .sect.seo-block .text-box {
        font-size: 15px;
    }  

    .items-list.blog-posts{
        grid-template-columns: repeat(2, 1fr);
    }

    .pagination-box {
        margin-top: 10px;
    }

    .sect:first-child {
        padding-top: 100px;
    }

    .main-content>.columns, 
    .cta-block .columns,
    .main-wrap.single .page-head-box .title-box{
        grid-template-columns: 1fr;
    }

    .cta-block .columns{
        text-align: center;
    }

    .cta-block{
        padding: 16px;
    }

    .main-wrap.single .page-head-box {
        grid-column-start: initial;
    }

    .item-post.min{
        grid-template-columns: auto 1fr;
    }

    .item-post.min .img-box{
        max-width:200px;
    }

    .sidebar{
        margin-top: 30px;
    }

    .mob-posts-slider .item-post{
        width: 290px;
    }

    .mob-posts-slider .items-list.blog-posts{
        grid-gap: 20px;
    }
}

@media (max-width: 600px){
    header .mob-box .phone{
        font-size: 0;
        padding: 0;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
}

@media (max-width: 480px){
    .main-wrap.single .post-info{
        grid-gap: 10px;
        grid-template-columns: 1fr;
    }

    .sect.head-sect .bg-mob{
        display: block;
    }

    .sect.head-sect .bg-pc{
        display: none;
    }

    .sect.contacts {
        background: url(../img/bg-contacts-mob.webp) no-repeat center center;
    }

    .sect.services .list-box {
        padding: 0;
    }

    .sect.services .list-box ul{
        grid-gap: 0;
    }

    .sect.services .list-box ul li.head{
        display: none;
    }

    .sect.services .list-box ul li{
        grid-template-columns: 1fr;
        grid-gap: 5px 20px;
        border-bottom: 1px solid;
        padding: 20px;
        font-size: 16px;
    }

    .sect.services .list-box ul li .service-info .description{
        font-size: 14px;
    }

    .sect.services .list-box ul li:last-child{
        border: none;
    }

    .sect.services .list-box ul li .price{
        display: grid;
        grid-template-columns: 115px auto auto;
        justify-content: flex-start;
        align-items: flex-end;
        text-align: left;
    }

    .sect.services .list-box ul li span::before{
        display: block;
        color: #000;
        font-size: 13px;
        margin-bottom: 2px;

    }

    .sect.services .list-box ul li span:nth-child(2)::before{
        content: 'барбер';
    }

    .sect.services .list-box ul li span:nth-child(3)::before{
        content: 'топ барбер';
    }

    .sect.services .list-box ul li .price .price-cur {
        margin-left: 5px;
        margin-bottom: 1px;
    }

    .item-post.min .img-box {
        max-width: 150px;
    }

    .item-post .date, .item-post .descr {
        font-size: 14px;
    }

    footer .copyright{
        text-align: left;
    }

    .mobile-barbers-level-descr{
        display: block;
    }

}

@media (max-width: 430px){
    .items-list.blog-posts{
        grid-template-columns: 1fr;
    }

    header .columns{
        grid-gap: 25px;
    }

    header .logo-box img, header.active .logo-box img{
        max-width: 85px;
    }
}