.calendar {
    border-width: 1px;
    border-color: rgb(224, 224, 224);
    border-style: solid;
    background-color: rgb(248, 248, 248);
    box-shadow: 0px 4px 20px 0px rgba(230, 232, 233, 0.004);
    margin-top: 50px;
}
.fc-row.fc-week.fc-widget-content.fc-rigid{
    display: none;
    height: auto!important;
}
.week_tabs_item_link {
    font-size: 16px;
    color: rgb(48, 48, 48);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    display: block;
    padding: 5px 0;
    border-width: 1px;
    border-color: rgb(224, 224, 224);
    border-style: solid;
    background-color: rgb(255, 255, 255);
    height: 39px;
    outline: none;
    text-decoration: none!important;
    transition: .3s;
    padding: 9px 0;
}
.week_tabs_item{
    padding: 0 5px;
    float: left;
    width: 16.666%;
    position: relative;
    bottom: -1px;
}
.week_tabs_item_link.current {
    background-color: rgb(248, 248, 248);
    box-shadow: 0px 4px 20px 0px rgba(230, 232, 233, 0.004);
    border-bottom: none;
}
.week_tabs_item_link:hover{
    background-color: rgb(248, 248, 248);
}
.calendar_header,
.week_tabs{
    background: #fff;
}
.fc-toolbar.fc-header-toolbar {
    display: none;
}
.fc-unthemed .fc-content, .fc-unthemed .fc-divider, .fc-unthemed .fc-list-heading td, .fc-unthemed .fc-list-view, .fc-unthemed .fc-popover, .fc-unthemed .fc-row, .fc-unthemed tbody, .fc-unthemed td, .fc-unthemed th, .fc-unthemed thead {
    border-color: transparent;
    border: none!important;
}
th.fc-day-header.fc-widget-header span{
    display: block;
    border-width: 1px;
    border-color: rgb(224, 224, 224);
    border-style: solid;
    background-color: rgb(255, 255, 255);
    height: 39px;
    font-size: 15px;
    color: #007bcb;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
}
th.fc-day-header.fc-widget-header{
    padding: 5px;
}
.fc-ltr .fc-basic-view .fc-day-top .fc-day-number {
    background-color: rgb(0, 123, 203);
    height: 30px;
    display: block;
    float: none;
    padding: 4px 10px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
    box-sizing: border-box;
}
td.fc-day-top{
    padding: 0 5px 0 5px;
}
.fc-unthemed td.fc-today{
    background: none;
}
.fc-event, .fc-event-dot {
    background-color: #fff;
    border: none;
    border-radius: 0;
    margin: 0 1px 0!important;
    height: 100%;
}
.week_tabs_list.clearfix{
    padding: 0 5px;
    border-bottom: 1px solid #e0e0e0;
}
.fc-row.fc-week.fc-widget-content.fc-rigid thead td{
    padding-bottom: 0;
}
.fc-row.fc-week.fc-widget-content.fc-rigid tbody td{
    padding: 0 5px;
}
.fc-event{
    color: #000000;
    font-size: 14px;
}
.doctor_post{
    font-size: 12px;
    color: #007ac7!important;
    font-weight: bold;
}
.fc-event:hover {
    color: #007ac7;
    text-decoration: none;
}
.fc-day-grid-event .fc-content{
    white-space: normal;
}
.fc-event{
    padding: 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    margin: 1px;
}
.fc-row.fc-rigid .fc-content-skeleton{
    position: relative;
}
.fc-scroller.fc-day-grid-container{
    height: auto!important;
    padding: 5px 5px 10px 5px;
}
.fc-bg tbody td:before{
    content: '';
    position: absolute!important;
    height: calc(100% - 5px);
    width: calc(100% - 10px);
    left: 5px;
    top: 5px;
    z-index: 0!important;
    border: 1px solid rgb(223, 223, 223);
    background: #fff;
    box-sizing: border-box;
}
.fc-row.fc-week.fc-widget-content.fc-rigid tbody td {
    position: relative;
}
.fc-bg tbody td.fc-today:before {
    border-color: rgb(0, 122, 199);
}
td.fc-day-top.fc-thu.fc-today.today:after{
    content: '';
    display: block;
    position: absolute;
    height: 100%;
}
.fc-ltr .fc-basic-view .fc-day-top.fc-past .fc-day-number *{
    color: #999999!important;
}
.fc-ltr .fc-basic-view .fc-day-top.fc-past .fc-day-number{
    background: #999999!important
}
.fc-row.fc-widget-header{
    padding: 5px 5px 0;
}
.fc-ltr .fc-basic-view .fc-day-top.fc-sat .fc-day-number,
.fc-ltr .fc-basic-view .fc-day-top.fc-sun .fc-day-number{
    background: #c72a00;
}
.month_list{
    background: #fff;
    white-space: nowrap;
    padding: 0 80px;
    border-bottom: 1px solid #dfdfdf;
    font-size: 0;
    text-align: center;
    margin: 0 20px;
}
.month_item {
    display: inline-block;
    position: relative;
    bottom: -10px;
    background: #fff;
    padding: 0 10px;
}
.month_link {
    font-size: 30px;
    color: rgb(0, 122, 199);
    line-height: 1.2;
    text-decoration: none!important;
    position: relative;
}
.month_link.current{
    font-size: 40px;
    color: rgb(0, 122, 199);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}
.month_link.disabled{
    color: #999999!important;
    cursor: default;
    opacity: 1!important;
}
.next_month_link{
    padding-left: 30px;
}
.prev_month_link{
    padding-right: 30px;
}
.next_month_link:before,
.prev_month_link:before{
    content: '';
    display: block;
    position: absolute;
    width: 30px;
    height: 100%;
    top: 1px;
}
.prev_month_link:before{
    right: 0;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAQCAYAAADAvYV+AAAALklEQVQokWNgwAcqjtczVB3/D8FHG0YVkqmQgYGBoepoA1xxxfF6/IpHNZCpAQB4dX/RKrWo4wAAAABJRU5ErkJggg==) center no-repeat;
}
.prev_month_link.disabled:before{
    right: -10px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAQCAYAAADAvYV+AAAAL0lEQVQoke3LoREAAAjDwG4OW/QyLSgsAk30R1oCAiigbOfDG5Qk2zkYiBX/cB0aFSSiMW2StRsAAAAASUVORK5CYII=) center no-repeat;
}
.next_month_link:before{
    left: -10px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAQCAYAAADAvYV+AAAAMElEQVQokWNgqDrawFB1/D9D1fH/DBXH6xkIglENVNdQcbwerrjqaMOoQjIVMjAAAHh1f9En6IBjAAAAAElFTkSuQmCC) center no-repeat;
}
.month_link:focus,
.month_link:hover{
    color: rgb(0, 122, 199);
}
.month_link:hover{
    opacity: .8;
}
.year_number{
    font-size: 40px;
    color: rgb(153, 153, 153);
    font-weight: bold;
    line-height: 1.2;
}
.calendar_header{
    position: relative;
    padding-bottom: 40px
}
.year_block{
    position: absolute;
    right: 15px;
    top: 10px;
    background: #fff;
    padding-right: 35px;
    padding-left: 10px;
}
.year_description {
    font-size: 20px;
    color: rgb(153, 153, 153);
    line-height: 1.2;
    text-align: center;
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    display:  block;
    position: absolute;
    right: 0;
    bottom: 11px;
}
.day_block{
    font-size: 40px;
    color: rgb(153, 153, 153);
    font-weight: bold;
    line-height: 1.2;
    position: absolute;
    left: 15px;
    top: 10px;
    background: #fff;
    padding-right: 10px;
}
.fc-day-top.fc-other-month {
    opacity: 1;
}
th.fc-day-header.fc-widget-header.fc-sun span,
th.fc-day-header.fc-widget-header.fc-sat span{
    color: #c72a00;
}
span.fc-time {
    display: none;
}
@media(max-width: 992px){  
    .calendar_container{
        min-width: 100%;
    }
    .calendar {
        overflow: auto;
    }
    .calendar > div {
        min-width: 950px;
    }
}
