.calendar { position: relative; width: 950px; height: 470px; margin: 0 auto; background: rgba(255, 255, 255, 0.8); }
.calendar a { color:black; }
.calendar a:hover { text-decoration: none; }
.calendar .calendar_content { width: 950px; height: 470px; position: absolute; overflow: hidden; }
.calendar .calendar_content > ul { list-style: none; overflow: hidden; height: 470px; margin:0; padding:0; position: absolute; }
.calendar .calendar_content > ul > li { float: left; width: 950px; height: 470px; }
.calendar .prev, .calendar .next { position: absolute; width:36px; height:36px; z-index: 1; top:7px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; text-indent: -9999px; background: url(../images/calendar-arrow.png); }
.calendar .prev { left:5px; background-position: 5px 2px; }
.calendar .prev:hover { background-position: 5px -31px; }
.calendar .next { right:5px; background-position: -28px 2px; }
.calendar .next:hover { background-position: -28px -31px; }

.calendar_li table { width: 100%; border: 1px solid #ededed; }
.calendar_li table tr td { width: 107px; text-align: center; }

/*.calendar_li table thead { }*/
.calendar_li table thead tr td { height:50px; padding: 0 5px; }
.calendar_li table thead tr td strong { font-size: 2.1em; font-weight: normal; float:left; margin: 0 5px; }
.calendar_li table thead tr td span { float:left; margin-top: 11px; }

.calendar_li table thead tr.head { background:#f6f6f6; }
.calendar_li table thead tr.week {
    text-align: center;
    vertical-align: middle;
    color:#fff;
    background: rgb(94,139,58); /* Old browsers */
    background: -moz-linear-gradient(top,  rgb(94,139,58) 0%, rgb(130,182,67) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(94,139,58)), color-stop(100%,rgb(130,182,67))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgb(94,139,58) 0%,rgb(130,182,67) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgb(94,139,58) 0%,rgb(130,182,67) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgb(94,139,58) 0%,rgb(130,182,67) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgb(94,139,58) 0%,rgb(130,182,67) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5e8b3a', endColorstr='#82b643',GradientType=0 ); /* IE6-9 */
}

.calendar_li table thead tr td p.week-name {
    padding:0 !important;
    margin:0 !important;
    color:#628c2a !important;
    font-weight: 500 !important;
    font-size: 2em !important;
    line-height: 1.1;
}

.calendar_li table tbody { overflow: hidden; }
.calendar_li table tbody tr { overflow: hidden; }
.calendar_li table tbody tr td {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #fff;
}
.calendar_li table tbody tr td.even { background: #f7f7f7; }
.calendar_li table tbody tr td span { color: #dfdfdf }
.calendar_li table thead tr td.today { background: #628c2a; }
.calendar_li table tbody tr td.today { background: #dedede; }
.calendar_li table tbody tr td .datetime-container {
    height:308px;
    position: relative;
    overflow: hidden;
}
.calendar_li table tbody tr td .datetime-container ul {
    list-style:none;
    margin:0;
    padding:0;
    position:absolute;
}
.calendar_li table tbody tr td .button { display:block; height:28px; }
.calendar_li table tbody tr td .button a { padding: 4px; display: block; text-transform: uppercase; font-size: .9em; font-weight: bolder; color:#628c2a !important; }
.calendar_li table tbody tr td .button a:hover { background: #628c2a; color:#fff !important; }
/*.calendar_li table tbody tr td ul li:first-child { border-top: 2px solid #fff; }*/
.calendar_li table tbody tr td .block-promotion,
.calendar_li table tbody tr td .block-promotion-online {
    min-height: 54px;
    margin: 0 1px;
    font-weight: bold;
    background: #fcf7e3;
    font-size: 0.91em;
}
.calendar_li table tbody tr td .block-promotion {
    color:#f8b500;
}
.calendar_li table tbody tr td .block-promotion-online {
    color: #9e5d72;
}


.calendar_li table tbody tr td .block-promotion:hover { background: #f8b500 !important; }
.calendar_li table tbody tr td .block-promotion-online:hover { background: #9e5d72 !important; }
.calendar_li table tbody tr td .block-promotion a { color:#f8b500 !important; padding: 9px 0; }
.calendar_li table tbody tr td .block-promotion-online a { color:#9e5d72 !important; padding: 9px 0; }
.calendar_li table tbody tr td .block-promotion a:hover,
.calendar_li table tbody tr td .block-promotion-online a:hover { text-decoration: none; background: none !important; }
.calendar_li table tbody tr td ul li {
    text-align:center;
    width:135px;
    border-bottom: 2px solid #fff;
}
.calendar_li table tbody tr td ul li a,
.calendar_li table tbody tr td ul li span {
    text-align: center;
    display: block;
    padding: 3px 0;
}
.calendar_li table tbody tr td ul li a:hover { background: #84bc2d; color:white !important; }

.calendar_li table tfoot { border-top: 1px solid #ddd; }
.calendar_li table tfoot tr td { height:30px; padding: 0 10px; }

.calendar li.newroom span {
    color: #fff !important;
}
.calendar p.call_ask {
    margin-top:130px;
    text-align: center;
    color:#ccc;
}
.calendar.clinic li.newroom {
    display: none;
}
.calendar li.newroom p {
    display: inline-block;
    text-align:center;
    margin:0;
    padding:0;
    font-size:0.89em;
    background:#7fb33d;
}
.calendar li.newroom a {
    display: inline-block;
    width: 128px;
    /*height: 26px;*/
    padding:2px 2px;
    margin:0;
    border:1px solid #628c2a;
    border-top:none;
    line-height: 22px;
    font-size:0.89em;
    color: #fff;
    background:#7fb33d;
    cursor: default;
}
.calendar li span.reserved {
    text-decoration: line-through;
}
.calendar .day-date {
    height: 50px;
    margin-bottom: 1px;
    padding: 4px 5px 0;
    color: #FFF;
    border-bottom: 1px solid #ddd;
    background: transparent linear-gradient(to bottom, #5E8B3A 0%, #82B643 100%) repeat scroll 0% 0%;
}
.calendar .day-date strong {
    font-size: 2.1em;
    font-weight: normal;
    float: left;
    margin: 0px 5px;
}
.calendar .day-date span {
    float: left;
    margin-top: 11px;
    color: #fff;
}

.visit-type-choice {
    display: none;
    min-height: 430px;
    width: 100%;
    background: #fff;
}
.visit-type-choice p.h2 {
    font-size: 25px;
    margin-top: 50px;
}
.visit-type-choice a {
    display: inline-block;
    width: 300px;
    height: 200px;
    max-width: 100%;
    vertical-align: middle;
    margin: 40px 0;
}
.visit-type-choice a:hover img {
    width: 165px;
    height: 165px;
}
.visit-type-choice img {
    margin-bottom: 20px;
}
.visit-type-choice h2,
.visit-type-choice p {
    font-size: 24px;
    color: #757575;
}

.visit-online {
    width: 950px;
    min-height: 520px;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    margin: auto;
    padding-bottom: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    display:none;
    border-top:4px solid #84bc2d;
    border-bottom:4px solid #84bc2d;
    text-align: left;
}
.visit-online .flex-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.visit-online  hr {
    /*background: #84bc2d;*/
    margin-top: -40px;
    height: 3px;
    width: 350px;
    margin-left: 175px;
    z-index: 0;
}

.visit-online .reserve {
    max-width: 610px;
    margin: 40px 0 0 0 !important;
    padding-left: 80px;
    text-align: center;
    color: black;
    font-size: 2.4em;
    line-height: 1.2em;
    font-weight: 500;
    z-index: 1;
}

.visit-online span.place {
    background: #84bc2d;
    padding: 0 40px;
    color:#fff;
    display: inline-block;
    min-width: 502px;
    max-width: 100%;
    text-align: center;
    font-size: 0.6em;
    font-weight: 500;
}

.visit-online .reserve div.address {
    display: none;
}

.visit-online .reserve div.address span.city {
    /*background: #f6f6f6;*/
    text-align: center;
    color: black;
    font-size: 0.8em;
    line-height: 1.2em;
    font-weight: 500;
    margin: 60px 0 0 0 !important;
    padding: 0 20px !important;
    z-index: 1;
}

.visit-online .reserve div.address span.addr {
    font-size: 0.6em;
    line-height: 0.6em;
    display: block;
    padding: 8px 0 20px 0 !important;
    margin: 0 !important;
}

.visit-online .reserve div.address span.addr.phone,
.visit-online .reserve div.address span.addr.video {
    display: none;
}

.visit-online .therapist-info {
    position: absolute;
    z-index: 2;
    background: #84bc2d;
    color:#fff;
    display: inline-block;
    padding: 5px 10px 5px 20px;
    right: 0; bottom: 0;
    font-size: 1.5em;
    min-width: 340px;
}
.visit-online .close {
    width: 230px;
    height:35px;
    max-width: 100%;
    background-color: #84bc2d;
    position: absolute;
    z-index: 1000;
    left:0;
    top:0;
    opacity: 1;
    text-transform: uppercase;
    font-size: .9em;
    font-weight: 200;
    padding: 10px 0 10px 30px;
    color:#fff;
}
.visit-online .close:hover { background: #659123; }
.visit-online .left-block { float:left; padding-left:20px; }
.visit-online .right-block { float:left; padding-left: 40px; }
.visit-online .field { position: relative; margin:18px 0; text-align: left; }
.visit-online .field label { font-weight: normal; float:left; width:80px; text-align: left; }
.visit-online .field input[type="text"], .visit-online .field input[type="email"] { padding: 2px; width: 190px; }
.visit-online .field select { width:190px; }
.visit-online .field textarea { height: 80px; width: 500px; }
.visit-online .field textarea,
.visit-online .field input{ border:1px solid #ccc; }
.visit-online .field input.errors,
.visit-online .field select.errors,
.visit-online .field textarea.errors { border:1px solid red; background: rgba(255, 0, 0, 0.27);  }
.visit-online .field.field-date { margin-bottom: -6px; margin-top: 12px; }
.visit-online .field .date {
    background: url("../images/calendar.png") center left no-repeat;
    max-width: 220px;
    height: 35px;
    display: inline-block;
    padding-left: 40px;
    margin-top: -6px;
    margin-bottom: -20px !important;
    font-size:0.85em;
}
.visit-online .field .short_address {
    font-weight: bold;
}
.visit-online .attention .field { margin:0 0 10px 0; }
.visit-online .attention .field label { display: inline-block; }
.visit-online img.therapist-image {
    position: relative;
    bottom: -40px;
    z-index: 1;
}
.visit-online .checkbox {
    width: 500px;
    margin-left: 80px;
    font-size: 12px;
}
.visit-online .phone-verification {
    margin:15px 0 0 100px;
    /*display: inline-block;*/
}
.visit-online input.reservation { background:#0896ff; color:white; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; padding:5px 15px; font-size: 1.1em; margin:25px 0 0 100px; display: inline-block; }
.visit-online input.reservation {
    display: none;
    background:#fa2020;
    border:none;
}
.visit-online .sms_code {
    display: none;
    margin:0;
}
.visit-online .form-buttons {
    display: inline-block;
}
.info-links {
    display: inline-block;
    vertical-align: top;
    padding-top: 10px;
    padding-left: 40px;
}
.info-links a {
    display: block;
    color: #333;
}
.info-links i {
    margin-right: 5px;
}
#id_sms_code {
    /*width:100px !important;*/
    margin-right: 10px;
}
#errors {
    margin: 5px 0 0 90px;
}
.booking .errors {
    max-width:540px;
    margin: 0;
    color: red;
    text-align:left;
}
span.errors {
    position: absolute;
    bottom: -15px;
    left: 80px;
    font-size: 12px;
}
.booked {
    position: relative;
    z-index: 3;
    margin:100px 0 120px 50px;
    font-size: 1.6em;
    color:#84bc2d;
}
.booked h3 { background: #84bc2d; color: #fff; padding: 5px 10px; display: inline-block; }
.booked h3.thanks { margin:-5px 0 20px 0; clear: both; }
.booked p {
    font-size:0.7em;
}
.promotion-info, .promotion-info-online,
.booking-forms { display: none; position: relative}

.booking-forms {
    position: relative;
    max-width: 100%;
}
.ther-room {
    padding: 0 20px;
}
.booking-forms .visit_booking {

}
.promotion-info, .promotion-info-online {
    min-height: 450px;
    padding: 0 40px;
}
.promotion-info p.header, .promotion-info-online p.header { background: #84bc2d; color: #fff; padding: 5px 20px; display: inline-block; margin:100px 0 20px 0; text-align: center; font-size: 1.65em; }
.promotion-info p, .promotion-info-online p,
.promotion-info ul, .promotion-info-online ul {margin-left: 20px; }
.promotion-info ul {display: inline-block;}
.promotion-info ul li, .promotion-info-online ul li { color:#84bc2d; }
.promotion-info ul li span, .promotion-info-online ul li span { color: #010203; }
.promotion-info p, .promotion-info-online p { font-weight: 700; }
.promotion-info p.phone, .promotion-info-online p.phone { margin: 20px 0 0 20px; }
.promotion-info p strong, .promotion-info-online p strong { font-size: 1.4em; background: #84bc2d; color: #fff; padding: 5px 20px; }


.loading-ajax {
    display:none;
}
.loading-ajax img {
    margin-left: 100px;
    bottom: 30px;
    width: 30px;
}
.loading-ajax p { position:absolute; left:125px; padding-top:20px; font-weight:bold; }

.filter-room-ul { list-style: none; margin:0 0 10px 0; padding:0; }
.filter-room-ul li { margin-top:5px; margin-bottom: 5px; display: inline-block; }
.filter-room-ul li a.filter-room { padding: 6px 8px; color:#628c2a; border:1px solid #84bc2d; }
.filter-room-ul li a.filter-room.active { background: #84bc2d; color:#fff; }


.unavailable {
    background: url("../images/unavailable.png") center no-repeat;
}

.main-calendar {
    text-align: center;
    margin: 0 10px;
    /*height: 765px;*/
    background: #FFF url("../images/home-calendar-bg.jpg") no-repeat scroll center bottom;
}
.cal-head {
    color:#fff;
    background: #83b427;
    text-align: center;
    font-weight: 200;
    font-size: 2em;
    border-left: 15px solid #fff;
    border-right: 15px solid #fff;
    display: inline-block;
    padding: 7px 45px;
    /*background: #fff;*/
    margin-top: 60px;
}
.cal-head i {
    margin-right: 10px;
    color: #83b427;
}
.main-calendar hr {
    text-align: center;
    background: #83b427;
    height: 2px;
    margin-top: -30px;
    margin-bottom: 40px;
}
.main-calendar p.choices {
    text-align: center;
    font-weight: 100;
    font-size: 1.6em;
    color:#000;
    margin-bottom: 55px;
}
.booking {
    position: relative;
    text-align: center;
}
.mobile-calendar, .mobile-filter {
    display: none;
}
.mobile-calendar {
    position: relative;
    width: 100%;
    min-height: 250px;
    text-align: center;
    background-color: #fff;
}
.mobile-calendar .prev,
.mobile-calendar .next {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    z-index: 1;
    color: #fff;
    cursor: pointer !important;
}
.mobile-calendar .prev i,
.mobile-calendar .next i {
    line-height: 60px;
}
.mobile-calendar .prev {
    left: 15%;
}
.mobile-calendar .prev:hover {
    opacity: 1 !important;
}
.mobile-calendar .next {
    right: 15%;
}
.mobile-calendar .next:hover {
    opacity: 1 !important;
}
.mobile-calendar .slick-disabled {
    display: none !important;
}
.mobile-calendar table {
    width: 80%;
    margin: 0 10% 30px;
}
.mobile-calendar table thead tr.day {
    position: relative;
    font-size: 18px;
    line-height: 60px;
    color: #fff;
    background: transparent linear-gradient(to bottom, #5E8B3A 0%, #82B643 100%) repeat scroll 0% 0%;
}
.mobile-calendar table thead {

    /*background: #1c9845;*/
}
.mobile-calendar ul {
    margin-bottom: 7px;
    padding: 0;
    list-style: none;
    text-align: center;
}
.mobile-calendar li {
    float: left;
    width: 100%;
    height: 50px;
    margin-bottom: 5px;
    font-size: 16px;
}
.mobile-calendar li.newroom {
    width: 100%;
    height: 35px;
    text-align: left;
    overflow: hidden;
}
.mobile-calendar li a {
    display: block;
    line-height: 50px;
    margin: 3px;
}
.mobile-calendar li a.datetime {
    color: #000;
    background: #F7F7F7;
}
.mobile-calendar li a.room {
    padding-left: 20px;
    line-height: 35px;
    color: #fff;
    /*background: transparent linear-gradient(to bottom, #5E8B3A 0%, #82B643 100%) repeat scroll 0% 0%;*/
    background: #628C2A;
}
.mobile-calendar li span.reserved {
    text-decoration: line-through;
    color: #dfdfdf;
    line-height: 56px;
}
.mobile-calendar li .block-promotion {
    color: #f8b500;
    background: #fcf7e3;
    min-height: 54px;
}
.mobile-calendar li .block-promotion a {
    padding: 9px 0;
    color: #f8b500 !important;
    line-height: normal;
}
.mobile-filter {
    width: 90%;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}
.mobile-filter li {
    min-width: 100%;
    height: 40px;
    margin-bottom: 15px;
    padding: 0 5px;
    display: inline-block;
    /*float: left;*/
    text-align: center;
}
.mobile-filter li a.mobile-filter-room {
    width: 100%;
    box-sizing: border-box;
    padding: 0 5px;
    display: inline-block;
    line-height: 40px;
    color:#628c2a;
    border:1px solid #84bc2d;
}
.mobile-filter li a.mobile-filter-room.active {
    background: #84bc2d;
    color:#fff;
}
.visit-online .field .short_address .ther-name {
    display: none;
}
.loading {
    position: absolute;
    width: 950px;
    height: 470px;
    background-color:rgba(255,255,255,0.6);
    z-index: 10;
}
.mobile-loading {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 10;
}
.loading img, .loading p {
    position: relative;
    display: none;
}
.loading img {
    top: 230px;
}
.loading p {
    top: 240px;
}

#booking-nearest {
    display: inline-block;
    font-family: "Open Sans";
}
#booking-nearest .nearest {
    margin: 15px 0;
    padding: 5px 20px;
    border: 1px solid #ff9800;
    color: #575756;
    font-size: 28px;
}
#booking-nearest .free-date,
#booking-nearest .free-hour {
    display: inline-block;
}
#booking-nearest .free-hour {
    padding-left: 5px;
}
#booking-nearest strong {
    color: #ff9800;
}
#booking-nearest .reserves {
    margin-bottom: 30px;
    color: #fff;
    font-size: 22px;
    background-color: #ff9800;
}
#booking-nearest p.choices {
    font-size: 22px;
    color: #575756;
}
#booking-nearest img.nearestb-widget {
    position: fixed;
    top: 18%;
    right: 0;
    z-index: 1000;
}
@media (max-width: 1399px) {
#booking-nearest img.nearestb-widget {
        width: 90px;
        height: auto;
    }
}
@media (min-width: 992px) {
    .mobile-loading {
        display: none;
    }
}

@media (max-width: 991px) {
    .main-calendar {
        background: #fff;
    }
    .main-calendar h2 {
        width: 90%;
        display: inline-block;
        line-height: 1.3;
        margin-bottom: 30px;
    }
    .booking {
        padding: 0px 15px;
    }
    .calendar, .filter-room-ul {
        display: none;
    }
    .mobile-calendar, .mobile-filter {
        display: inline-block;
    }
    .visit-online {
        position: relative;
        width: 100%;
        /*margin:  0 15px 50px;*/
        padding: 0 15px 50px;
        height: auto;
        text-align: center;
        background-color: #f4f4f4;
        border-top: none;
        border-bottom: none;
    }
    .visit-online .close {
        position: static;
        display: inline-block;
        float: none;
        padding-left: 0;
    }
    .visit-online .flex-content {
        display: block
    }
    .visit-online .ther-room img,
    .visit-online .therapist-info {
        display: none;
    }
    .visit-online h2 {
        width: 100%;
        margin-top: 40px !important;
        margin-bottom: 130px !important;
    }
    .visit-online h2 span.place {
        display: none;
        /*width: auto;*/
        /*min-width: 90%;*/
        /*font-size: 0.938em;*/
    }
    .visit-online .field,
    .visit-online .attention .field {
        margin-top: 10px;
        text-align: center;
    }
    .visit-online .left-block,
    .visit-online .right-block {
        float: none;
        display: inline-block;
        width: 90%;
        margin-top: 0;
        padding-left: 0;
    }
    .visit-online .field.field-date {
        position: absolute;
        top: 110px;
        left: 0;
        right: 0;
        width: 90%;
        margin: auto;
    }
    .visit-online .field .date {
        max-width: 100%;
        height: auto;
        font-size: 1.188em;
        padding-left: 0;
        background: none;
    }
    .visit-online .field.field-phone {
        position: relative;
        top: 80px;
    }
    .visit-online .field.field-surname {
        position: relative;
        top: -80px;
    }
    .visit-online .field label {
        float: none;
        width: 100%;
    }
    .visit-online .field select {
        width: 100%;
        height: 35px;
    }
    .visit-online .field input[type="text"], .visit-online .field input[type="email"] {
        width: 100% !important;
        height: 35px;
        display: inline-block;
    }
    .visit-online .field textarea {
        width: 100%;
    }
    .visit-online .phone-verification,
    .visit-online input.reservation {
        margin-left: 0;
    }
    .visit-online .form-buttons {
        display: inline;
    }
    .booking .errors {
        max-width: 100%;
        /*margin: 20px 0 0;*/
        /*text-align: center;*/
    }
    span.errors {
        left: 0;
    }
    .booked {
        margin-left: 0;
    }
    .loading-ajax {
        position: relative;
        height: 50px;
    }
    .loading-ajax img, .loading-ajax p {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .visit-online .field .short_address .ther-name {
        display: block;
        font-weight: normal;
        line-height: 24px;
    }
    .visit-online .field .short_address .ther-name span {
        color: #659123;
        /*font-weight: bold;*/
    }
    .visit-online .checkbox {
        width: 100%;
        margin-left: 0;
        text-align: left;
    }
    .visit-online .reserve {
        width: 100%;
        padding: 0 !important;
    }
    .visit-online .reserve div.address {
        margin-bottom: 140px;
    }
    .visit-online span.place {
        max-width: 100%;
        min-width: auto;
    }
    .visit-online .field.field-date {
        top: 120px;
    }
    .info-links {
        display: block;
        vertical-align: top;
        padding-top: 40px;
        padding-left: 0;
    }

    .promotion-info p,
    .promotion-info p.phone,
    .promotion-info ul {
        margin-left: 0;
    }
    .promotion-info p.header {
        margin-top: 50px;
    }
    .promotion-info ul {
        text-align: left;
        padding-left: 20px;
    }
}

@media (max-width: 767px) {
    .main-calendar {
        margin-top: 0;
    }
    .cal-head {
        width: 90%;
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
        border-left: none;
        border-right: none;
    }
    .main-calendar hr {
        display: none;
    }
    .mobile-calendar table {
        width: 100%;
        margin: 0 0 30px;
    }
    .mobile-calendar .prev {
        left: 5%;
    }
    .mobile-calendar .next {
        right: 5%;
    }
}