@font-face{font-family:'GothamPro';src:url('/assets/fonts/GothamPro.woff') format('woff');font-weight:400;font-style:normal}
@font-face{font-family:'GothamPro';src:url('/assets/fonts/GothamPro-Light.woff') format('woff');font-weight:300;font-style:normal}
@font-face{font-family:'GothamPro';src:url('/assets/fonts/GothamPro-Bold.woff') format('woff');font-weight:600;font-style:normal}

*,*:before,*:after{
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}
html, body{
    height: 100%;
    font-family: GothamPro;
    scroll-behavior: smooth;
}
body.lock{
    overflow: hidden;
}
li a{
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
}
ul{
    list-style: none;
}
@media only screen
and(max-width: 375px)
and (device-height: 812px)
and (-webkit-device-pixel-ratio: 3){
    .bg__first{
        background-attachment: scroll;
    }
    .bg__second {
        background-attachment: scroll;
    }
}

.form{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
    position: relative;
}
.wrapper{

}
.container{
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 10px;
}
.btn {
    cursor: pointer;
}
.orders_block {
    display: none;
    width: 100%;
    padding: 150px 20px 50px;
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 10;
}
.orders_block.form {
    position: relative;
}
.errors {
    color: #7c2b2a;
    background-color: #fce3e3;
    padding-right: 3.87506rem;
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #f0615e;
    border-radius: .25rem;
    display: block;
}
.success {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #36b97d;
    border-radius: .25rem;
    color: #135d3b;
    background-color: #dcf3e8;
    display: block;
}
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}
.header:before{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.6);
    z-index: 2;
}
.header__body{
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
    flex-flow: row wrap;
}
.header__logo{
    flex: 0 0 100px;
    z-index: 3;
    margin-top: 15px;
    margin-bottom: 5px;
}
.header__logo img{
    max-width: 100%;
    display: block;
}
.header__burger{
    display: none;
}
.header__menu{

}
.header__list{
    display: flex;
    position: relative;
    z-index: 2;
}

.header__list li{
    list-style: none;
    margin: 0 0 0 20px;
    padding: 29px 15px;
}
.header__link{
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 18px;
    text-decoration: none;
}
.header__list li:hover{
    background: #4d6186;;
}
.header__contacts{
    text-align: left;
    margin-top: 10px;
}
.header__contacts span{
    display: block;
}
.bg__first{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('/assets/images/4441200.webp'), url('/assets/images/4441200.jpg') no-repeat;
    background-position: right 48% top 50%;
    background-position-x: 48%;
    background-position-y: 50%;
    background-size: cover;
    /*background-attachment: fixed;*/
    height: 100vh;
}
.bg__second{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('/assets/images/IMG_2969.webp'), url('/assets/images/IMG_2969.jpg') no-repeat;
    background-position: top 0px right 400px;
    background-position-x: 80%;
    background-position-y: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.content{
    width: 100%;
    padding: 0 20px;
}
.offset__top_70{
    padding-top: 70px;
}
.offset__top_30 {
    padding-top: 40px;
}
.offset__top_40 {
    padding-top: 40px;
}
.offset__bottom_70{
    padding-bottom: 70px;
}
.offset__bottom_100{
    padding-bottom: 100px;
}
.offset__top_150{
    padding-top: 150px;
}
.offset__top_220{
    margin-top: 220px;
}
.offset__bottom_150{
    padding-bottom: 150px;
}

.block__image{
    width: 100%;
}
.block__image img{
    width: 100%;
    display: block;
}
.text__justify{
    text-align: justify;
}
.text__center{
    text-align: center;
}
.text__red{
    color: #7f0037;
}
.text__white{
    color: #FFFFFF;
}
.text__grey{
    color: #afafaf;
}
.text__black{
    color: #000000;
}
.text__main{
    color: #233164;
}
.text__uppercase{
    text-transform: uppercase;
}
.text__bold{
    font-weight: 600;
}
.font__14{
    font-size: 14px;
}
.font__16{
    font-size: 16px;
    line-height: 1.55;
}
.weight__300{
    font-weight: 300;
}
.margin__top_20{
    margin-top: 20px;
}
.margin__top_10{
    margin-top: 10px;
}
.content__fluid{
    width: 100%;
    margin: 0;
    padding: 0;
}
.bg__grey{
    background-color: #f2f2f5;
}
.bg__white{
    background-color: #FFFFFF;
}
.block{
    display: block;
}
.footer{
    width: 100%;
    background-color: #FFFFFF;
}
.copyight{
    margin-top:15px;
    margin-bottom: 15px;
    text-align: center;
    color: #FFFFFF;
    padding-bottom: 15px;
}
.bg__first h3{
    font-size: 24px;
    font-weight: 600;
    color: #d6805f;
    z-index: 5;
    display: block;
}
.bg__first h1{
    font-size: 52px;
    color: #d6805f;
    line-height: 1.23;
    padding-bottom: 30px;
}
.bg__first span{
    font-size: 20px;
    font-weight: 300;
    color: #afafaf;
    display: block;
    line-height: 1.55;
}
.first__block{
    padding-top: 350px;
}
.second__block{
    padding-top: 135px;
    padding-bottom: 135px;
    display: flex;
    flex-direction: row;
}
.second__left{
    max-width: 460px;
}
.second__right{
    padding-left: 100px;
    position: relative;
}
.image_first{
    width: 448px;
    height: 448px;
    background: url(/assets/images/young-man-barbershop.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.image_second{
    width: 364px;
    height: 224px;
    background: url(/assets/images/handsome-man-shaving.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: -130px;
    margin-left: 200px;
}
}
.btn{
    padding: 22px 60px;
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
    width: auto;
    min-width: 1px;
    display: inline-block;
    margin-top: 70px;
}
.btn-main{
    background: #ef815d;
}
.bg__grey{
    background-color: #eeeeee;
}
.program__title{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 600;
    color: #233164;
}
.program__title:after{
    content: '';
    width: 50px;
    height: 0;
    border-top: 3px solid #1f5bff;
    display: block;
    margin: 10px 0 10px;
    opacity: 0.6;
}
.side__20{
    padding-left: 20px;
    padding-right: 20px;
}
.list{
    list-style: disc;
    padding-left: 20px;
}
#program li{
    padding: 10px 0;
}
.border__center:before, .border__center:after{
    content: '';
    display: block;
    width: 140px;
    height: 0;
    border-top: 1px solid #ef815d;
    margin-left: auto;
    margin-right: auto;
}
.border__center:before{
    margin-bottom: 40px;
}
.border__center:after{
    margin-top: 40px;
}
.help__block{
    font-size: 26px;
    color: #233164;
    font-weight: 600;
    text-align: center;
    line-height: 1.23;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.education__block{
    display: flex;
    flex-direction: row;
}
.education__title{
    font-weight: 600;
    font-size: 24px;
}
.bg__three{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('/assets/images/contacts-bg.webp');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.text__input{
    width: 100%;
    padding: 20px 20px;
    border-radius: 7px;
    font-size: 16px;
    border: none;
    margin-bottom: 20px;
    display: block;
    box-sizing: border-box;
}
.post__button{
    width: 100%;
    padding: 20px 20px;
    border-radius: 7px;
    border: none;
    font-size: 16px;
    background: #ef815d;
    color: #FFFFFF;
    cursor: pointer;
}

.post__button_order{
    width: 100%;
    padding: 20px 20px;
    border-radius: 7px;
    border: none;
    font-size: 16px;
    background: #ef815d;
    color: #FFFFFF;
    cursor: pointer;
}
.close_form{
    position: absolute;
    top: -15px;
    right: -15px;
    width: 21px;
    height: 21px;
    cursor: pointer;
}
.close_form span:before, .close_form span:after{
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    display: block;
    position: absolute;
}
.close_form span:before{
    transform: rotate(45deg);
    margin-top: -1px;
}
.close_form span:after{
    transform: rotate(-45deg);
    margin-bottom: 1px;
}
.line{
    width: 100px;
    height: 1px;
    background: #233164;
    margin-top: 45px;
    margin-right: auto;
    margin-left: auto;
}
.phone{
    margin: 45px auto;
    width: 100%;
    display: inline-block;
    text-align: center;
    color: #233164;
    font-size: 24px;
}
.social{
    width: 100%;
    text-align: center;
    padding-bottom: 15px;
}
.social a{
    margin: 0 5px;
    text-decoration: none;
}
.social svg{
    fill: #233164;
}
.price__block{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.price__old{
    color: #ef815d;
    text-decoration: line-through;
    margin-right: 10px;
}
.second__title{
    color: #233164;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 42px;
    line-height: 1.23;
    padding-left: 20px;
}
.second{
    color: #233164;
    list-style: none;
    padding-top: 14px;
    padding-bottom: 40px;
    padding-left: 20px;
}
.second li{
    font-size: 20px;
    line-height: 1.45;
    padding-top: 21px;
    font-weight: 300;
}
.flag__right:after{
    content: '';
    border: 20px solid transparent; border-left: 20px solid white;
    position: absolute;
    right: calc(50% - 40px);
    display: block
}
.flag__left:before{
    content: '';
    border: 20px solid transparent; border-right: 20px solid white;
    position: absolute;
    left: calc(50% - 40px);
    display: block;
}
.item__block{
    width: 100%;
    background-color: #FFFFFF;
    position: relative;
    font-weight: 600;
    display: flex;
    flex-direction: row;
}
.item__block span{
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.55;
    display: block;
}
.text__block{
    padding: 50px 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 320px;
    width: 50%;
    font-size: 20px;
}
.image__block{
    height: 320px;
    width: 50%;
}
.text__block span{
    font-weight: 300;
    font-size: 18px;
    padding-top: 20px;
    display: block;
}
.education__block{
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}
.education__image{
    width: 50%;
}
.education__content{
    width: 50%;
    padding: 50px 50px 60px;
}
.education__content span{
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    display: block;
}
.btn__custom{
    border-radius: 5px;
    padding: 15px 20px;
    background: #ef815d;
    text-transform: none;
    font-size: 16px;
    margin-top: 20px;
}
.program__block{
    position: relative;
}
.program{
    width: 540px;
    margin-top: 40px;
    position: relative;
    padding: 60px 80px 60px 60px;
}
.video{
    width: 600px;
    margin-left: 500px;
    margin-top: -400px;
    position: relative;
    z-index: 3;
}
h5{
    font-size: 28px;
    color: #ef815d;
}
.lector__block{
    font-size: 20px;
    line-height: 1.55;
    max-width: 760px;
}
.about__block span{
    font-size: 52px;
    color: #ef815d;
    font-weight: 600;
    display: block;
    line-height: 1.55;
}
.ul li{
    padding: 15px 0;
}
.contact__title{
    font-size: 42px;
    line-height: 1.23;
    margin-bottom: 30px;
    font-weight: 400;
}
.btn{
    padding: 22px 30px;
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
    width: auto;
    min-width: 1px;
    display: inline-block;
    margin-top: 70px;
}

@media(max-width: 1209px){
    .video{
        width: 550px;
        margin-left: 500px;
        margin-top: -400px;
        position: relative;
        z-index: 3;
    }
    .header__list li {
        list-style: none;
        margin: 0 0 0 20px;
        padding: 29px 5px;
    }
    .header__link{
        font-size: 16px;
    }
}
@media(max-width: 1099px){
    .program__block{
        display: flex;
        flex-direction: column;
    }
    .program{
        width: 100%;
    }
    .video{
        width: 100%;
        padding-top: 40px;
        margin: 0px 0px;
    }
}
@media(max-width: 919px){
    .header__list li{
        padding: 30px 5px;
        margin: 0px 0px;
    }
    .header__link{
        font-size: 14px;
    }

    .second__title{
        font-weight: 400;
        text-transform: uppercase;
        font-size: 30px;
        line-height: 1.23;
        padding-left: 20px;
    }
    .second{
        list-style: none;
        padding-top: 14px;
        padding-bottom: 40px;
        padding-left: 20px;
    }
    .second li{
        font-size: 20px;
        line-height: 1.45;
        padding-top: 21px;
        font-weight: 300;
    }
    .contact__title{
        margin-bottom: 20px;
    }
    h5{
        font-size: 28px;
        color: #ef815d;
    }

    .about__block span{
        font-size: 30px;
        color: #ef815d;
        font-weight: 600;
        display: block;
        line-height: 1.55;
    }
    .second__block{
        flex-direction: column;
        width: 100%;
    }
    .second__left{
        width: 100%;
        max-width: 100%;
    }
    .second__right{
        width: 100%;
        padding-left: 0px;
    }
    .second__image{
        width: 100%;
        margin-bottom: 20px;

    }
    .image_first{
        background: url("/assets/images/young-man-barbershop.webp"), url("/assets/images/young-man-barbershop.jpg");
        height: 320px;
        -webkit-background-size: cover;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;

    }
    .image_second{
        background: url("/assets/images/handsome-man-shaving.webp");
        height: 215px;
        background-size: cover;
        -webkit-background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        margin-top: 0;
        margin-left: 0;

    }
}
@media(max-width: 767px) {

    .first__block {
        padding-top: 200px;
    }

    .header:before {
        top: 0;
    }

    .header__body {
        height: 50px;
    }

    .header__logo {
        flex: 0 0 60px;
        margin-top: 0;
    }

    .footer__body {
        width: 100%;
        padding-top: 10px;
    }

    .footer__logo {
        width: 100px;
        margin-right: auto;
        margin-left: auto;
        display: block;
    }

    .footer__logo img {
        max-width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__menu {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
    }

    .footer__list {
        text-align: center;
        list-style: none;
    }

    .footer__list li {
        padding: 5px 0;
    }

    .footer__list .header__link {
        font-size: 16px;
    }

    .header__burger {
        display: block;
        position: relative;
        width: 30px;
        height: 21px;
        z-index: 3;
    }

    .header__burger:before,
    .header__burger:after {
        content: '';
        position: absolute;
        background-color: #FFFFFF;
        height: 3px;
        width: 100%;
        left: 0;
        transition: all 0.3s ease 0s;
    }

    .header__burger:before {
        top: 0;
    }

    .header__burger:after {
        bottom: 0;
    }

    .header__burger span {
        position: absolute;
        background-color: #FFFFFF;
        left: 0;
        width: 100%;
        height: 3px;
        top: 9px;
        transition: all 0.3s ease 0s;
    }

    .header__contacts {
        display: none;
    }

    .header__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000000;
        padding: 70px 10px 10px 10px;
        transition: all 0.3s ease 0s;
        overflow: auto;
    }

    .header__menu.active {
        top: 0;
    }

    .header__list {
        display: block;
    }

    .header__list li {
        margin: 0 0 20px 0;
        padding: 0;
    }

    .header__burger.active:before {
        transform: rotate(45deg);
        top: 9px
    }

    .header__burger.active:after {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .header__burger.active span {
        transform: scale(0);
    }

    .header__link {
        font-size: 24px;
    }

    .container {
        width: 100%;
    }

    .bg__first h1 {
        font-size: 30px;
        color: #d6805f;
        line-height: 1.55;
        padding-bottom: 30px;
    }

    .bg__first span {
        font-size: 16px;
        font-weight: 300;
        color: #afafaf;
        display: block;
        line-height: 1.55;
    }

    .second__title {
        font-weight: 400;
        text-transform: uppercase;
        font-size: 30px;
        line-height: 1.23;
        padding-left: 0px;
    }

    .second {
        list-style: none;
        padding-top: 14px;
        padding-bottom: 40px;
        padding-left: 0px;
    }

    .second li {
        font-size: 20px;
        line-height: 1.45;
        padding-top: 21px;
        font-weight: 300;
    }

    .block__title {
        font-size: 24px;
        font-weight: 600;
        text-align: center;
        text-transform: uppercase;
        padding-bottom: 20px;
    }

    .item__title {
        font-size: 18px;
        font-weight: 600;
        padding-bottom: 10px;
    }

    .li__left_20 {
        list-style: none;
        padding-left: 20px;
    }

    .block__image {
        padding-bottom: 10px;
    }

    .item__time {
        font-size: 16px;
        font-weight: bold;
        color: #7f0037;
        padding: 10px 0;
    }

    .schedule {
        width: 16px;
        height: 16px;
        padding-left: -20px;
        background: url('/images/schedule.jpg');
        display: inline-block;
        margin-right: 10px;
    }

    .item__addres {
        font-size: 16px;
        font-weight: bold;
        color: #6a6a6a;
        padding: 10px 0;
    }

    .place {
        width: 16px;
        height: 19px;
        padding-left: -20px;
        background: url('/images/place.jpg');
        background-repeat: no-repeat;
        background-position: center center;
        display: inline-block;
        margin-right: 10px;
    }

    .item__speaker {
        font-weight: bold;
        font-size: 14px;
        color: #000000;
        padding: 8px 0;
    }

    .item__speaker span {
        font-weight: normal;
    }

    .item__description {
        font-weight: bold;
        font-size: 14px;
        color: #000000;
        padding: 8px 0;
    }

    .item__description ul {
        font-weight: normal;
    }

    .block__maps {
        margin-top: 20px;
    }

    .offset__top_220 {
        margin-top: 0;
    }

    .btn__custom {
        border-radius: 5px;
        padding: 13px 20px;
        background: #ef815d;
        text-transform: none;
        font-size: 13px;
        margin-top: 20px;
    }

    .phone {
        font-size: 18px;
    }

    .orders_block {

        padding-top: 100px;
    }
}
@media(max-width: 459px){
    .first__block{
        padding-top: 150px;
    }
    .item__block{
        display: flex;
        flex-direction: column;
    }
    .item__block div{
        width: 100%;
    }
    .text__block span{
        font-size: 13px;
    }
    .m-order-1{
        order: 1;
    }
    .m-order-2{
        order: 2;
    }
    .education__block{
        flex-direction: column;
        margin-bottom: 20px;
    }
    .education__image{
        width: 100%;
        height: 150px;
    }
    .education__content{
        padding: 50px 50px 60px;
        width: 100%;
    }
    .education__content span{
        margin-top: 8px;
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1.45;
        font-weight: 300;
        display: block;
    }
    .education__title{
        font-size: 16px;
        color: #233164;
    }
    .contact__title{
        font-size: 30px;
        line-height: 1.23;
        margin-bottom: 18px;
        font-weight: 400;
    }
    .contact__down_title{
        font-weight: 300;
        font-size: 14px;
        line-height: 1.45;
    }
    .text__block{
        height: auto;
        padding-top: 50px;
        padding-bottom: 50px;
        color: #233164;
    }
    .m-order-1{
        order: 1;
    }
    .m-order-2{
        order: 2;
    }
    .flag__right:after, .flag__left:before{
        border: none;
        display: none;
    }
}
