/**
 * Zabuto Calendar
 */

div.zabuto_calendar {
    margin: 0;
    padding: 1px 5px 9px 5px;
	border: 1px solid #C6C6C6;
	height: 100%;
	max-height: 234px;
}
div.zabuto_calendar_wrapper {
	height: 100%;
}
.hidden-week-row {
	display:none;
}
div.zabuto_calendar .table {
    width: 100%;
    margin: 0;
    padding: 0;
}

div.zabuto_calendar .table th,
div.zabuto_calendar .table td {
    padding: 6px 0px;
    text-align: center;
}

div.zabuto_calendar .table tr th,
div.zabuto_calendar .table tr td {
    background-color: #ffffff;
}

div.zabuto_calendar .table tr:last-child {
    border-bottom: 0px solid #dddddd;
}

/* month header */
div.zabuto_calendar .table tr.calendar-month-header td {
    background-color: #fff;
    font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border: none;
	
}

div.zabuto_calendar .table tr.calendar-month-header td span {
    cursor: pointer;
    display: inline-block;
    padding-bottom: 0px;
	
}

div.zabuto_calendar .table tr.calendar-month-header td {
    padding-top: 8px;
    padding-bottom: 4px;
}

div.zabuto_calendar .table-bordered tr.calendar-month-header td {
    border-left: 0;
    border-right: 0;
}

div.zabuto_calendar .table-bordered tr.calendar-month-header td:first-child {
    border-left: 1px solid #dddddd;
}

div.zabuto_calendar div.calendar-month-navigation {
    cursor: pointer;
    margin: 0;
    padding: 0;
    padding-top: 0px;
}

/* day-of-week header */
div.zabuto_calendar .table tr.calendar-dow-header th {
    background-color: #fff;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 24px;
	padding:0;
	color: rgba(52, 52, 52, 0.72);
	border-top: 1px solid #C6C6C6;
	border-bottom: 1px solid #C6C6C6;
}

div.zabuto_calendar tr.calendar-dow-header th,
div.zabuto_calendar tr.calendar-dow td {
    width: 20%;
	border-top: none;
}
div.zabuto_calendar tr.calendar-dow:first-child td {
	padding: 12px 0;
}
div.zabuto_calendar tr.calendar-dow td {
    padding: 6px 0 0 0;
}
/* day */
div.zabuto_calendar .table tr td div.day {
    margin: 0;
    padding-top: 0px;
    padding-bottom: 0px;
	color: #ccc;
	font-size: 0.75em;
	font-size: 12px;
	line-height: 28px;
    height: 26px;
}

/* actions and events */
div.zabuto_calendar .table tr td.event div.day,
div.zabuto_calendar ul.legend li.event {
    color: #000;
	position:relative;
}
div.zabuto_calendar td.event div.day:before {

}
div.zabuto_calendar td.event.active div.day {

}
div.zabuto_calendar .active .badge-event {
    background-color: #548AE7;
    color: #fff;
    text-shadow: none;
}
.badge {
    border-radius: .25rem;
}
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 div.legend span.badge-event {
    background-color: #ff9b08;
    color: #ffffff;
    text-shadow: none;
}
div.zabuto_calendar .badge-event {
    background-color: #fff;
    color: #000;
    text-shadow: none;
}
div.zabuto_calendar .badge-event {
    font-size: 12px;
    padding: .55em .4em .3em .4em;
    width: 25px;
    height: 25px;
	border-radius:25px;
	line-height: 14px;
}
div.other-month {
	background: #f7efef;
}
/* legend */
div.zabuto_calendar div.legend {
    margin-top: 5px;
    text-align: right;
	display:none;
}

div.zabuto_calendar div.legend span {
    color: #999999;
    font-size: 10px;
    font-weight: normal;
}

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 div.legend span.legend-spacer {
    padding-left: 25px;
}

div.zabuto_calendar ul.legend > span {
    padding-left: 2px;
}

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;
    margin-left: 5px;
}

div.zabuto_calendar ul.legend,
div.zabuto_calendar ul.legend li:first-child {
    margin-left: 7px;
}

div.zabuto_calendar ul.legend li:last-child {
    margin-right: 5px;
}

div.zabuto_calendar div.legend span.badge {
    font-size: 1em;
    border-radius: 5px 5px 5px 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 3px;
}

.cal-right {
	background-image:url('right.svg');
	width: 10px;
    height: 15px;
	text-align: right;
	margin-bottom: -2px;
}
.cal-left {
	background-image:url('left.svg');
	width: 10px;
    height: 15px;
	text-align: left;
	margin-bottom: -2px;
}

/* custom */

.calendar-dow-header th:nth-child(6), .calendar-dow-header th:nth-child(7), .calendar-dow td:nth-child(6), .calendar-dow td:nth-child(7)  {
	display:none;
}
.cal-left-container {
	text-align:left;
	padding-left:5px;
}
.cal-right-container {
	text-align:right;
	padding-right:5px;
}


/* responsive */
@media (max-width: 979px) {
    div.zabuto_calendar .table th,
    div.zabuto_calendar .table td {
        padding: 2px 1px;
    }
}
