@media screen and (max-width: 768px) {
.nav-control {
    width: 40px;
    height: 27px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.nav-control span {
    width: 100%;
    border-radius: 15px;
    height: 3px;
    background: #fff;
    transition: all linear .2s;
}
.nav-control.op span:nth-of-type(2) {
/*    display: none;*/
    opacity: 0;
}
.nav-control.op span:nth-child(1) {
    transform: translateY(10px) translateX(0px) rotate(45deg) ;
}
.nav-control.op span:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg) ;
}

.flex-b {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.flex-a {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.header {
    padding: 60px 0 10px;
    justify-content: flex-start
}
h1, .logo h4 {
    font-size: 18px;
}
    .logo {
        margin-bottom: 10px
    }
h1 span, .logo h4 span {
    font-size: 12px;
    margin-top: 0px
}
    .logo1{
        margin-bottom: 10px
    }
.logo1 p {
    margin: 0 0 0 15px;
    font-size: 18px;
    line-height: 20px;
}
.logo1 p span {
    font-size: 14px;
}
.tel {
    justify-content: flex-start;
    align-items: flex-start
}
.tel>a {
    display: none
}
.city {
    position: relative;
    width: 240px;
    text-align: left;
}
.city p {
    padding-left: 25px
}
.city p:before {
    left: 0px;
}
.select-city {
    top: 100%;
    padding: 10px 10px 0;
}
.select-city a {
    display: block;
    margin-bottom: 10px;
    position: relative
}
    .nav-bar {
        width: 100%;
        border: 1px solid;
        padding: 10px;
        background: #0063ff;
        justify-content: space-between;
        border: none;
        display: flex !important
    }
    .nav-bar a {
        color: #fff;
        font-size: 20px;
        font-family: 'Montserrat-Bold';
    }
.menu {
    display: none;
    z-index: 9;
    position: fixed;
    top: 48px
}
.menu a {
    padding: 12px 0px;
    border: none
}
.menu a:last-child {
    border-right : none;
}

.head-container {
    background: url(../img/slide0.jpg) 10% 50%/cover no-repeat;
    padding: 30px 0 40px;
}
.head-content {
    position: relative;
    padding-bottom: 60px
}
.head-content h2 {
    margin: 0px 0 30px;
    font-size: 28px;
    text-align: center
}
    .head-content h2 br {
        display: none
    }
.head-content h2+p {
    font-size: 22px;
    text-align: center
}

.free-master {
    right: 0;
    bottom: 0%;
    width: 130px;
    height: 130px;
}
.free-master p {
    font-size: 11px;
    text-align: center
}
.free-master span {
    font-size: 26px;
}
.but {
    width: 240px;
    height: 60px;
    font-size: 18px;
    border-radius: 30px;
}
.input {
    height: 60px;
    padding-left: 45px;
    font-size: 18px;
    border-radius: 30px;
}
.input-field {
    position: relative;
    z-index: 1;
    width: 320px;
    margin-bottom: 20px
}
.head-form {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 90px
}
.block {
    padding: 30px 0;
}
.headline {
    margin: 0 0 30px;
    font-size: 26px;
}
.masters-bl {
    margin-top: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.masters-it {
    width: 100%;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    padding-top: 20px
}
.master-info p {
    font-size: 14px;
    color: #4e4e4e
}
.master-info p span {
    color: #000;
    font-size: 16px;
}
.master-photo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end
}
.master-info {
    padding: 10px 15px;
    width: 100%
}
p.master-name {
    font-size: 22px;
}
.master-info_bl {
    padding: 10px 0;
}
.master-info_bl p span, .master-info_bl p b, .master-info_bl p a {
    display: block;
    width: auto;
}
.master-rate {
    margin-bottom: 15px;
}
.master-status {
    margin-top: 10px;
    justify-content: space-between
}
.masters-it .master-status span {
    font-size: 16px;
}

.zamok-bl {
    margin-top: 35px;
    align-items: flex-start
}
.zamok-it {
    width: 49%;
    text-align: center;
    margin-bottom: 20px
}
.zamok-bl_mod .zamok-it {
    width: 49%
}
.zamok-bl_mod .zamok-it img {
    width: 100%;
}
.zamok-it img {
    width: 100%;
    border-radius: 20px
}
.zamok-it p {
    font-size: 16px;
    margin: 10px 0;
    line-height: 25px
}
.zamok-it .but {
    width: 170px;
    height: 50px;
    font-size: 16px
}
.zamok-form {
    margin-top: 30px;
}
.zamok-form_mod {
    width: 100%;
    margin: 30px auto 0
}
.zamok-form .headline {
    font-size: 24px;
}
.zamok-form_otzyv {
    background: #fff;
    width: 100%;
    margin: 0 auto
}
.headline span {
    font-family: 'Montserrat-Medium';
    text-transform: none;
    font-size: 20px
}
.zamok-fr {
    padding: 0 10px;
}
.zamok-form_otzyv .zamok-fr {
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0 10px
}
.zamok-fr select {
    width: 280px;
    margin-bottom: 20px;
    height: 55px;
}
.zamok-fr .input {
    width: 280px;
    margin-bottom: 20px;
    height: 55px;
}
.zamok-fr .but {
    font-size: 18px;
    width: 280px;
    height: 55px
}
.zamok-form_otzyv .but {
    width: 280px
}
.zamok-form_otzyv .input, .zamok-form_otzyv select {
    margin-bottom: 25px
}
.zamok-form_otzyv .zamok-fr textarea {
    resize: none;
    width: 280px;
    padding: 20px;
    height: 120px;
}
.select-range {
    display: flex;
    align-items: center;
    margin: 0
}
.select-range img {
    margin-right: 5px;
}
.icon-it {
    width: 90%;
    margin-bottom: 20px;
    padding: 25px 0
}
.icon-it p {
    margin: 20px 0 0;
    font-size: 22px;
}
.icon-it p span {
    font-size: 34px;
}

.work {
    background: url(../img/bg2.jpg) 0% 0%/cover;
}
.work-bl {
    position: relative
}
.work-bl:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 95%;
    left: 30px
}
.work-bl p {
    font-size: 20px;
    margin-bottom: 20px;
}
.work-bl p span {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.tabs .nav {
    display: flex;
    justify-content: center
}
.tabs .nav a {
    text-transform: uppercase;
    position: relative;
    text-align: center
}


.otzyv {
    width: 100%;
    padding: 20px;
}
.otzyv>img {
    width: 175px !important;
    margin-right: 0px;
    margin-bottom: 15px
}
    .content {
        padding: 10px
    }
    .content img {
        width: 100%;
    }
footer {
    padding-top: 20px;
    background: #0063ff;
    color: #fff;
}
footer .logo {
    margin-bottom: 20px;
}
.foot-nav {
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    margin: 15px 0
}
.foot-nav a {
    width: 50%;
    margin-bottom: 10px;
    text-align: center
}
.foot-bot {
    margin-top: 20px;
    padding: 10px 0;
}
    .foot-bot a {
        margin-bottom: 10px
    }
.form-simple {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal .modal-dialog{
    width: 95%;
    margin: 90px auto 20px;
}
.modal-content {
    border-radius: 30px;
    width: auto;
}
.modal-body {
    background: #fff;
    border-radius: 30px;
    display: flex;
    justify-content: flex-end;
}
.modal-body .headline {
    font-size: 26px;
    margin: 0 0 20px
}
.modal-form {
    width: 100%;
    padding: 20px
}

.modal-dialog .close {
    opacity: 1;
    position: absolute;
    top: -40px;
    right: 0px;
    outline: none
}

.float-right {
    float: right;
    margin: 0 0 10px 25px;
    border-radius: 30px;
}
.float-left {
    float: left;
    margin: 0 25px 10px 0;
    border-radius: 30px;
}
}