/**
 * Zabuto Calendar
 */

div.zabuto_calendar {
    margin: -0.7%;
    padding: 0;
    width: 101%;
    height: 100%;
    font-family: Lato;
}

div.zabuto_calendar .table {
    width: 100%;
    margin: 0 auto;
    border: none;
    border-collapse:separate; 
    border-spacing: 2px;

}

div.zabuto_calendar .table th,
div.zabuto_calendar .table td {
    padding: 4px 2px;
    text-align: left;
    border: none;
}

div.zabuto_calendar .table tr th,
div.zabuto_calendar .table tr td {
    background-color: #ffffff;
}

div.zabuto_calendar .table tr.calendar-month-header th {
    background-color: #fafafa;
}

div.zabuto_calendar .table tr.calendar-month-header th span {
    cursor: pointer;
    display: inline-block;
    color:black;
}

div.zabuto_calendar .table tr.calendar-dow-header th {
    background-color: #f0f0f0;
}

/*div.zabuto_calendar .table tr:last-child {
    border-bottom: 1px solid #dddddd;
}*/

div.zabuto_calendar .table-bordered tr.calendar-month-header th {
    border-left: 0;
    border-right: 0;
    background-color: rgba(255, 255, 255, 0.01);
    
}

div.zabuto_calendar .table-bordered tr.calendar-month-header th:first-child {
    position: absolute;
    margin-left: -80px;
    margin-top: 275px;
}

div.zabuto_calendar .table-bordered tr.calendar-month-header th:last-child {
    position: absolute;
    margin-left:75%; /*955px;*/
    margin-top: 275px;
}

div.zabuto_calendar .table-bordered tr.calendar-month-header th:nth-child(2) {
    font-size: 25px;
    position: absolute;    
    margin-top: -45px;
}

div.zabuto_calendar div.calendar-month-navigation {
    cursor: pointer;
    margin: 0;
    padding: 0;
    padding-top: 5px;
}

div.zabuto_calendar tr.calendar-dow td {
    color: #4f4f4f;
    background-color: rgb(237,238,235);
    border: 2px solid white;
    background-size: cover;
    background-position: center;
    height: 113px !important;
    width: 99px !important;
}

 div.zabuto_calendar tr.calendar-dow td .numberOfEvents {
    max-width: 25%;
    text-align: center;
    margin-left: 37.5%;
    margin-top: 15%;
    border-radius: 50%;
    background: #878786;
    color: white;
    font-size: 21px;
}

div.zabuto_calendar .table tr td div.day {
    padding-left: 1px;
    text-align: left;
    font-weight: 700;
    font-size: 20px;
}

div.zabuto_calendar .table tr td .event {
    display: block;
    text-align: left;
    font-size: 0.7em;
}

div.zabuto_calendar .table tr td div.day span {
        background-color: #4f4f4f;
}


/* actions and events */
div.zabuto_calendar .table tr td.event div.day,
div.zabuto_calendar ul.legend li.event {
    background-color: #fff0c3;
}

div.zabuto_calendar .table tr td.dow-clickable,
div.zabuto_calendar .table tr td.event-clickable {
    cursor: pointer;
}

/* badge */
div.zabuto_calendar .badge-today,
div.zabuto_calendar div.legend span.badge-today {
    background-color: #357ebd;
    color: #ffffff;
    text-shadow: none;
}

div.zabuto_calendar .badge-event,
div.zabuto_calendar div.legend span.badge-event {
    background-color: #ff9b08;
    color: #ffffff;
    text-shadow: none;
}

div.zabuto_calendar .badge-event {
    font-size: 0.95em;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 4px;
}

/* legend */
div.zabuto_calendar div.legend {
    text-align: left;
    margin-left: 4px;
    margin-top: 2%;
}

div.zabuto_calendar div.legend span {
    font-weight: 700;
}

div.zabuto_calendar div.legend span.legend-text:after,
div.zabuto_calendar div.legend span.legend-block:after,
div.zabuto_calendar div.legend span.legend-list:after,
div.zabuto_calendar div.legend span.legend-spacer:after {
    content: ' ';
}

div.zabuto_calendar ul.legend {
    display: inline-block;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

div.zabuto_calendar ul.legend li {
    display: inline-block;
    height: 11px;
    width: 11px;
}

div.zabuto_calendar ul.legend li:last-child {
    margin-right: 5px;
}

div.zabuto_calendar div.legend span.badge {
    font-size: 0.9em;
    border-radius: 5px 5px 5px 5px;
    padding: 2px 5px 3px 5px;
}

/* responsive */
@media (max-width: 992px) {
    div.zabuto_calendar .table th,
    div.zabuto_calendar .table td {
        padding: 2px 1px;
    }
}