/*дополнительные пользовательские стили*/
@media screen and (min-width: 1364px){
    .logo_and_menu-row .search_wrap{
        width: 680px !important;
    }
}

@media screen and (min-width: 1216px) and (max-width: 1363px){
    .logo_and_menu-row .search_wrap{
        width: 598px !important;
    }
}

@media screen and (max-width: 1215px){
    .logo_and_menu-row .search_wrap{
        width: 379px !important;
    }
}

.list-type-block.item-views .item{
    width: 100%;
}

.tabs .tab-content .toggle-block ul li{
    list-style-type: disc;
}

.flex-direction-nav a.flex-next::before{
    background-position: -30px 0 !important;
    margin-left: -3px !important;
}

.flexslider .slides > li {
    text-align: center;
}

.flexslider .slides img{
    max-height: 616px !important;
    width: auto !important;
}

.contacts-stores .item{
    width: 100%;
}

.company-block .item-views.front .info .body-info {
    margin: 41px -7px 0 0 !important;
    width: 100% !important;
}

#booking_area #phone{
    margin-bottom: 5px;
}

#booking_area span#mark{
    margin-top: 0;
    margin-bottom: 5px;
    display: block;
    padding: 5px;
    font-size: 14px;
}

/*медиа запросы на изменение высоты изображений (фото коллекива) в зависимости от ширины экрана*/
@media screen and (min-width: 1343px){
    .item-views.table-type-block.staff-items .item > .wrap > .wrap{
        height: 528px;
    }
}

@media screen and (max-width: 1342px){
    .item-views.table-type-block.staff-items .item > .wrap > .wrap{
        height: calc(100vw / 2.43);
    }

    @media screen and (min-width: 992px) and (max-width: 1200px){
        .item-views.table-type-block.staff-items .item > .wrap > .wrap{
            height: calc(100vw / 2.18);
        }
    }

    @media screen and (min-width: 768px) and (max-width: 991px){
        .item-views.table-type-block.staff-items .item > .wrap > .wrap{
            height: calc(100vw / 1.82);
        }
    }

    @media screen and (min-width: 501px) and (max-width: 767px){
        .item-views.table-type-block.staff-items .item > .wrap > .wrap{
            height: calc(100vw / 1.59);
        }
    }

    @media screen and (max-width: 500px){
        .item-views.table-type-block.staff-items .item > .wrap > .wrap{
            height: calc(100vw / 0.78);
        }
    }
}

.item-views.table-type-block.staff-items.staff .item{
    width: 100%;
}

.item-views.table-type-block .item:hover .body-info
{
    margin-top: -63px !important;
}

.detail.staff .top_block,
.detail.staff .top_block .top_right_block
{
    display: block;
}

.tabs .tab-content.usl {
    padding: 0;
}

.row.main-info{
    display: flex;
}

.online-booking{
    width: 100%;
}

.online-booking select,
.online-booking input,
.online-booking textarea
{
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 4px;
    background-color: #f2f4f5;
    font-size: 16px;
    line-height: 24px;
    padding-right: 16px;
    color: #0b1f33;
    padding-left: 18px;
    margin-bottom: 20px;
}

.online-booking select#date,
.online-booking select#time{
    width: 48%;
}

.online-booking select#date{
    margin-right: 2%;
}

.online-booking select#time{
    margin-left: 2%;
}

.online-booking textarea{
    height: 100px;
    padding-top: 14px;
    margin-bottom: 30px;
}

.online-booking #postButton{
    border: none;
    background: none;
}

#modal_worksheet{
    background: #3a3f4480;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2999;
}

#modal_content{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 650px;
    height: auto;
    z-index: 6100;
    transform: translateX(-50%) translateY(-50%);
    background: white;
}

.form.popup .form-header .description {
    font-size: 18px;
}

#close_window{
    display: block;
    position: absolute;
    right: 15px;
    top: 14px;
}

#content {
    padding: 30px 10px 100px !important;
}

@media screen and (max-width: 991px){
    .online-booking{
        padding: 0 10px !important;
        order: -1;
        margin-bottom: 30px;
    }

    .online-booking select#date,
    .online-booking select#time{
        width: 100%;
    }

    .online-booking select#date{
        margin-right: 0;
    }

    .online-booking select#time{
        margin-left: 0;
    }
}

@media screen and (max-width: 767px){
    .row.main-info{
        flex-wrap: wrap;
    }
    .company-block .item-views.front .preview-text{
        padding: 0 !important;
    }

    #modal_content{
        width: 320px;
    }

    #title_content.title{
        font-size: 20px;
    }

    .form.popup .form-header .text.online-b {
       padding: 0 !important;
    }
}

