
.ds {
    background-color: #3c3c3c;
    color: #a0a0a0;
}

.ds #calendar_wrap {
    border-color: #505050;
}

.ds .widget_calendar table {
    border-color: #505050;
}

.ds .widget_calendar tfoot td a {
    border-color: #505050;
}

.ds .widget_calendar caption,
.ds .widget_calendar thead,
.ds .widget_calendar th {
    color: #ffffff;
}

.ds .widget_calendar tbody td a:hover {
    color: #ffffff;
}

/* Calendar */
.ui-widget.ui-widget-content{
    width: 100%;
    border-radius: 0px;
}
.ui-datepicker .ui-datepicker-header{
    background-color: #118445;
    color: white;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
    text-align: center;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{    
    border: 1px solid #118445 !important;
    background: #118445 !important;
    color: white !important;
}
.ui-datepicker td span, .ui-datepicker td a{
    padding: 12px !important;
}
.appointment_detail{
    border: 1px solid #118445 !important;
    background: #118445 !important;
    color: white !important;
    font-size: 12px;
    border-radius: 40px;
    margin: 16px 0px;
}
.calendar-header {
    margin-bottom: 20px;
}

.calendar-navigation a {
    display: block;
    width: 28px;
    height: 28px;
    font-size: 24px;
    text-align: left;
}

.calendar-navigation a.next {
    text-align: right;
}

.week-days,
.week-row,
.month-box {
    font-size: 0;
}

.week-days {
    background-color: #118445;
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.week-days>div {
    position: relative;
    display: inline-block;
    width: 14.285714%;
    font-size: 12px;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 8px 0;
}

.day-cell {
    position: relative;
    padding: 25px 0;
    display: inline-block;
    width: 14.285714286%;
    text-align: center;
    cursor: pointer;
}

.day-cell+.day-cell {
    border-left: 2px solid #f0f0f0;
}

.day-cell.not-cur-month {
    cursor: default;
}

.appointment-calendar .day-cell.selected-day,
.day-cell.today {
    background-color: #118445;
}

.day-cell.selected-day>*,
.day-cell.today>* {
    color: #fff;
}

.day-cell.today:before {
    content: "TODAY";
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.week-row {
    border: 2px solid #f0f0f0;
}

.week-row+.week-row {
    border-top: none;
}

.week-row:last-child {
    border-radius: 0 0 3px 3px;
}

.day-cell * {
    font-size: 14px;
}

.day-date {
    color: #3c3c3c;
    font-weight: 600;
}

.not-cur-month .day-date {
    color: #787878;
    font-weight: 300;
}

@media (max-width: 639px) {
    .day-cell * {
        font-size: 12px;
    }
    .week-days>div {
        font-size: 12px;
    }
    .day-cell {
        padding: 20px 0;
    }
}

@media (max-width: 439px) {
    .day-cell * {
        font-size: 8px;
    }
    .day-cell .day-date {
        font-size: 12px;
    }
    .day-cell {
        padding: 15px 0;
    }
}

/* Appointment page */

.appointment-list {
    padding: 35px 40px 45px;
}

.appointment-list p {
    font-size: 20px;
}

.appointment-list ul {
    margin: 0;
    padding: 0;
}

.appointment-list li:first-child {
    border-top: 1px solid #505050;
}

.appointment-list li {
    padding: 10px 0;
    border-bottom: 1px solid #505050;
}

.appointment-list li div * {
    font-size: 14px;
}

.appointment-list li div.book-appointment a {
    font-size: 13px;
}

.appointment-list li>div {
    height: 40px;
    line-height: 40px;
    display: inline-block;
}

.appointment-time span {
    margin-left: 15px;
    color: #fff;
}

.appointment-slots {
    margin-left: 110px;
}

@media (max-width: 991px) {
    .appointment-slots {
        margin-left: 40px;
    }
    .boxed .appointment-list li>div {
        display: block;
        float: none;
    }
    .boxed .appointment-slots {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .appointment-list li>div {
        display: block;
        float: none;
    }
    .appointment-slots {
        margin-left: 0;
    }
}

.appointment-slots span {
    color: #d89b62;
}

.unavailable .appointment-slots span {
    color: #787878;
}

.book-appointment {
    float: right;
}

.appointment-list li i {
    position: relative;
    font-size: 20px;
    color: #118445;
    top: 1px;
    font-weight: 400;
}

.appointment-list .book-appointment a {
    width: 205px;
    border-radius: 0;
}

.appointment-list .unavailable .book-appointment a {
    background-color: #787878;
    border-color: #787878;
    color: #3c3c3c;
    pointer-events: none;
    cursor: default;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5em;    
    padding: 14px 20px 14px 20px;
 
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}
