*, *::before, *::after {
    animation-play-state: paused !important;
}

.calendarBtnWrap {
    vertical-align: top;
    margin-top: -3px;
}

.calendarBtnWrap > a {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    background: #f5f5f5;
    border: 1px solid #d5d5d5;
    color: #555;
    font-size: 13px;
    margin: 0px 10px;
    border-radius: 3px;
    padding: 0px 8px;
}

.csToday {
    position: absolute;
    right: 0px;
    top: 20px;
}
.csToday > a {
    font-size: 1.3rem;
    color: #4571d3;
    font-weight: bold;
}

/* ======================================================================== */

/* body {
    font-family: Tahoma;
  } */

h1 {
    position: relative;
    /* margin: .67em 0; */
    padding-bottom: 10px;
    color: #444;
    padding-top: 10px;
    margin-bottom: 20px;
}

.calendar_title {
    font-size: 1.8em;
    font-weight: bold;
}

#calendar-wrap header {
    text-align: center;
}

#calendar {
    width: 100%;
}

#calendar a {
    color: #8e352e;
    text-decoration: none;
}

#calendar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#calendar li {
    display: block;
    float: left;
    width: calc((100% - -6px) / 7);
    padding: 5px;
    box-sizing:border-box;
    border: 1px solid #ccc;
    margin-right: -1px;
    margin-bottom: -1px;
}

#calendar ul.weekdays {
    height: 40px;
    background: #4571d3;
}


#calendar ul.weekdays li:first-child {
    color: #ff5388;
}

#calendar ul.weekdays li:last-child {
    color: #69e1ff;
}

#calendar ul.weekdays li {
    text-align: center;
    text-transform: uppercase;
    line-height: 20px;
    border: none !important;
    padding: 10px 6px;
    color: #fff;
    font-size: 13px;
    border-right: 1px solid rgba(255,255,255,0.5);
}

#calendar .days li {
    min-height: 130px;
}

#calendar .days li:hover {
    cursor: pointer;
    background: #eee;
}

#calendar .date {
    text-align: center;
    margin-bottom: 5px;
    /* padding: 4px; */
    float: right;
    font-size: 14px;
    font-weight: bold;
}

#calendar .event {
    clear: both;
    display: block;
    font-size: 13px;
    border-radius: 4px;
    padding: 5px;
    margin-top: 25px;
    margin-bottom: 5px;
    line-height: 14px;
    background: #f2f8ff;
    border: 1px solid #d1deed;
    color: #009aaf;
    text-decoration: none;
}

#calendar .event-desc {
    color: #666;
    margin: 2px;
    line-height: 16px;
    text-decoration: none;  
    word-break: break-all;
    cursor: pointer;
}

#calendar .other-month {
    background: #f5f5f5;
    color: #666;
}

/* ============================
        Mobile Responsiveness
    ============================*/


@media(max-width: 768px) {

    #calendar .weekdays, #calendar .other-month {
        display: none;
    }

    #calendar li {
        height: auto !important;
        border: 1px solid #ccc;
        width: 100%;
        padding: 10px;
        margin-bottom: -1px;
    }

    #calendar .days li {
        min-height: 100px;
    }

    #calendar .date {
        float: none;
    }

    .csToday {
        position: relative;
        height:30px;
        /* right: 1px;
        top: 17px;
        font-size: 1.3rem; */
    }
    
    .csToday a{
     
    }

    #calendar .date {
        text-align: center;
        margin-bottom: 5px;
        /* padding: 4px; */
        float: left;
        /* float: right; */
    }
}


@media(max-width: 480px) {
    .calendar_title {
        font-size: 1.5em;
    }

    .calendarBtnWrap {
        vertical-align: top;
        margin-top: -5px;
    }
}