.calendar_empty {
    background-color: #ececec !important;
}

.calendar-week{
    background: #fff;
    color: #d7d7d7;
    font-size: 1rem;
    line-height: 2rem;
}

.calendar-month{
    background-color: rgb(125, 152, 170);
    color: #fff;
    font-size: 1.2rem;
    line-height: 2rem;
    text-align: center;
}

.calendar-year{
    padding:0px 20px;
    background-color: #fff;
    font-size: 1rem;
    line-height: 2rem;
    text-transform: uppercase;
    text-align: center;
}

tbody.calendar-days tr td a {
    padding: 0;
    text-decoration: none;
    color: black;
    height: 3.2rem;
    width: 100%;
    line-height: 3.2rem;
    display: block;
}

tbody.calendar-days tr td {
    padding: 0;
    margin: 0;
    border: 1px solid #ececec;
    text-align: center;
    width: 14.28571428571429%;
    height: 80px;
}

tbody.calendar-days tr div{
    height: 100%;
}

.calendar-table {
    width: 100%;
    font-family: sans-serif;
    border-collapse: separate;
    border-spacing: 0;
}

.calendar-table{
    text-align: center;
}

.calendar-button{
    cursor: pointer;
    line-height: normal;
}

.calendar-button a{
    width: 100% !important;
    height: 20% !important;
    line-height: 1rem !important;
}

.calendar-button span{
    width: 100% !important;
    height: 80% !important;
    font-size: 12px;
    line-height: 0 !important;
}

.calendar-highlight-text{
    color: black;
}

.calendar-button:hover{
    background-color: rgb(115, 142, 160);
    color: white;
}

.calendar-button:hover a{
    background-color: rgb(115, 142, 160);
    color: white;
}

.calendar-blocked:hover a {
    background-color: white !important;
    cursor: not-allowed;
    color: #888;
}

.calendar-highlighted{
    background-color: lightblue;
}

.calendar-highlighted:hover span{
    color: white;
}

.calendar-blocked, .calendar-highlighted-blocked{
    cursor: not-allowed;
    opacity: 0.5;
    color: #888;
}

.calendar-blocked a, .calendar-blocked span, .calendar-highlighted-blocked a, .calendar-highlighted-blocked span{
    color: #888 !important;
}

.calendar-highlighted-blocked:hover{
    background-color: lightblue !important;
}

.calendar-highlighted-blocked:hover a{
    background-color: lightblue !important;
    color: #888;
}

.calendar-highlighted-blocked:hover span{
    color: #888;
}

.calendar-blocked:hover{
    background-color: #fff !important;
    color: #888 !important;
}

.calendar-selected span{
    color: white !important;
}

.calendar-selected, .calendar-selected a{
    background-color: rgb(125, 152, 170);
    color: white !important;
}

@media screen and (max-width: 540px) {
    .calendar-highlighted span{
        font-size: 10px;
    }

    .calendar-button a{
        height: 10% !important;
    }

    .calendar-button span{
        height: 90% !important;
    }
}
