/**
 * Zabuto Calendar
 */

div.zabuto_calendar {
    margin: 0;
    padding: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
     -ms-animation: fadein 2s; /* Internet Explorer */
      -o-animation: fadein 2s; /* Opera < 12.1 */
         animation: fadein 2s;
}

div.zabuto_calendar .table {
    width: 100%;
    max-width: 700px;
    margin: 0;
    padding: 0;
}

div.zabuto_calendar .table th,
div.zabuto_calendar .table td {
    padding: 4px 2px;
    text-align: center;
}

div.zabuto_calendar .table tr th,
div.zabuto_calendar .table tr td {
    background-image: linear-gradient(to bottom, #FDFEFE 0%,#E5E7E9 100%);
    border-color: #ffffff;
}

div.zabuto_calendar .table tr.calendar-month-header th {
    background-color: #ffffff;
}
div.zabuto_calendar .table tr.calendar-month-header th:nth-child(2) span::before {
    margin-left: 110px;
    cursor: pointer;
    content:"";
    display:block;
    position:absolute;
    height:24px;  /*height of icon */
    width: 24px;  /*width of icon */
    background-image: url("../images/icons8-refresh-24.png")
}
div.zabuto_calendar .table tr.calendar-month-header th span {
    cursor: pointer;
    display: inline-block;
    padding-bottom: 10px;
}
div.zabuto_calendar .table tr.calendar-month-header th span:hover{
    color:#330000
}

div.zabuto_calendar .table tr.calendar-dow-header th {
    background-color: #ffffff;
}

div.zabuto_calendar .table tr:last-child {
    border-bottom: 1px solid #ffffff;
}

div.zabuto_calendar .table tr.calendar-month-header th {
    padding-top: 12px;
    padding-bottom: 4px;
}

div.zabuto_calendar .table-bordered tr.calendar-month-header th {
    border-left: 0;
    border-right: 0;
}

div.zabuto_calendar .table-bordered tr.calendar-month-header th:first-child {
    border-left: 1px solid #dddddd;
}

div.zabuto_calendar div.calendar-month-navigation {
    cursor: pointer;
    margin: 0;
    padding: 0;
    padding-top: 5px;
}

div.zabuto_calendar tr.calendar-dow-header th,
div.zabuto_calendar tr.calendar-dow td {
    width: 14%;
}

div.zabuto_calendar .table tr td div.day {
    font-size: 16px;
    margin: 0;
    padding-bottom: 9px;
    padding-top: 9px;
    font-weight: 700;
    width: 35.89px;
    border-radius: 10px;
    display: inline-block;
    height: 39px;
}
div.zabuto_calendar .table tr td div.day:hover {
    color: #7F8C8D;
}
/* actions and events */
div.zabuto_calendar .table tr td.event div.day,
div.zabuto_calendar ul.legend li.event {
    background-color: #0E1DD2;
}

div.zabuto_calendar .table tr td.dow-clickable,
div.zabuto_calendar .table tr td.event-clickable {
    cursor: pointer;
    vertical-align: inherit;
}

/* 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: 1.1em; */
    font-size: 16px;
    padding-left: 9px;
    padding-right: 9px;
    padding-bottom: 9px;
    padding-top: 12px;
    font-weight: 700;
    width: 35.89px;
    height: 39px;
    background-color: #0076B7;
    display: block;
    margin-top: -9px;
}

/* legend */
div.zabuto_calendar div.legend {
    margin-top: 5px;
    text-align: center;
}

div.zabuto_calendar div.legend span {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #333;
    font-size: 14px;
    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: 0.9em;
    border-radius: 5px 5px 5px 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 3px;
}

div.my-calendar.test {
    background-color: #0076B7;
}

.blue {
    /* background-color: #0076B7; */
    color: white;
    background-image: linear-gradient(to bottom, #5DADE2 0%, #2E86C1 100%);
}
.blue:hover{
    background-image: linear-gradient(to bottom, #5DADE2 0%, #154360 100%);
}

.red {
    /* background-color: #E2001A; */
    color: white;
    background-image: linear-gradient(to bottom, #E91E63 0%, #E53935 100%);
}
.red:hover{
    background-image: linear-gradient(to bottom, #E91E63 0%, #641E16 100%);
}

.purple {
    background-image: linear-gradient(to bottom, #6666FF 0%,#6600FF 100%);
    color: white;
}
.purple:hover{
    background-image: linear-gradient(to bottom, #6666FF 0%, #4A235A 100%);
}

.orange {
    background-image: linear-gradient(to bottom, #FF8A65 0%,#FF5722 100%);
    color: white;
}
.orange:hover{
    background-image: linear-gradient(to bottom, #FF8A65 0%, #6E2C00 100%);
}

/* responsive */
@media (max-width: 979px) {
    div.zabuto_calendar .table th,
    div.zabuto_calendar .table td {
        padding: 2px 1px;
    }
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  /* Firefox < 16 */
  @-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  /* Safari, Chrome and Opera > 12.1 */
  @-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  /* Internet Explorer */
  @-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  /* Opera < 12.1 */
  @-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

@media screen and (max-width: 415px) {
    /* legend */
    div.zabuto_calendar div.legend {
        margin-top: 5px;
        text-align: justify;
    }
}