/*.mis-calendar {
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    text-align: center;
    font: 15px/1em inherit;
    color: #545A5C;
}*/
.calender-view {
    width: 100%;
    position:relative;
    overflow: hidden;
}

.calendar-header {
    position: relative;
    text-align: center;
}
.calender-view table{
    table-layout: fixed;
}
.header-today {
    position: absolute;
    left: 5px;
    border: 1px solid #2da170;
    padding: 9px 15px 6px 15px;
    border-radius: 10px;
    top: -5px;
    color:#2da170;
}
.mis-calendar a {
    text-decoration: none;
    color: inherit;
}

.mis-calendar .calendar-header .simple-calendar-btn {
    display: inline-block;
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    color: #CBD1D2;
    border-radius: 50%;
    background: #f1f1f1;
}

    .mis-calendar .calendar-header .simple-calendar-btn:hover {
        /*background: #CBD1D2;
    color: white;*/
    }

    .mis-calendar .calendar-header .simple-calendar-btn:before {
        content: '\f105';
        /*position: absolute;
            top: -10px;*/
        left: 8px;
        font-size: 18px;
        font-weight: 600;
        font-family: "Font Awesome 5 Free";
    }

.mis-calendar .calendar-header .btn-prev {
    top: 7px;
    right: 35px;
    transform: rotate(180deg);
    font-size: 18px;
    transition: inherit;
}

.mis-calendar .calendar-header .btn-next {
    top: 7px;
    right: 0;
    transition: inherit;
}

    .mis-calendar .calendar-header .btn-next:before {
        /*transform: rotate(45deg);*/
    }

.mis-calendar .calendar-header .month {
    padding: 0 25px 0 25px;
    margin: 0;
    /*float: left;*/
    font-size: 19px;
}

    .mis-calendar .calendar-header .month .year {
        /*font-size: 0.6em;
            font-weight: 100;
            float: right;*/
        padding: 0px 0px 0px 10px;
        font-size: 19px;
    }

.mis-calendar table {
    width: 100%;
    margin: 20px 0 0 0;
    border-spacing: 0px;
}

.mis-calendar thead {
    font-size: 1.2em;
    font-weight: 600;
    text-align:center;
}

.mis-calendar td {
    padding: 5px;
}

    .mis-calendar td div {
        width: 100%;
    }

.mis-calendar .day {
    position: relative;
    display: inline-block;
    /*width: 2.5em;line-height: 2.2em;*/
    min-height: 80px;
    border-radius: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    cursor: pointer;
}

    .mis-calendar .day:hover {
        border: 1px solid #e87f00;
    }

    .mis-calendar .day.today {
        background: #2da170 ;
        color: white;
    }

        .mis-calendar .day.today.has-event:after {
            background: white;
        }

    .mis-calendar .day.wrong-month {
        color: #CBD1D2;
    }

        .mis-calendar .day.wrong-month:hover {
            border: 1px solid #CBD1D2;
        }

    /*.mis-calendar .day.has-event:after {
        content: '';
        position: absolute;
        top: calc(50% + .6em);
        left: calc(50% - 2px);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #e87f00;
    }*/

    .mis-calendar .day.disabled {
        cursor: default;
    }

        .mis-calendar .day.disabled:hover {
            border: 1px solid #CBD1D2;
        }



.mis-calendar .filler {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #545A5C;
    transform: translate(-50%, -50%);
}

.mis-calendar .day.event-selected {
    background: #59e800;
    color: white;
}



/*  Event Hover List*/

.past-event,
.current-event,
.upcoming-event,
.selected-event
 {
}
.past-event{
    background:#ffeed3;
    border:1px solid #ffc466 !important;
}
.current-event{
    background:#ecfff4;
    border:1px solid #43dc80 !important;
}
.upcoming-event{
    background:#eee6ff;
    border:1px solid #8850ff !important;
}
.event-selected{
    color:#FFF !important;
}
.event-selected.past-event{
    background:#ffc466 !important;
    border:1px solid #ffc466 !important;
}
.event-selected.current-event{
    background:#43dc80 !important;
    border:1px solid #43dc80 !important;
}
.event-selected.upcoming-event{
    background:#8850ff !important;
    border:1px solid #8850ff !important;
}



.day-num {
    display: block;
    width: 100%;
}

.event-count {
    display: block;
    width: 100%;
    white-space: nowrap;
}
.past-event .event-count{
    color:#ffc466;
}
.current-event .event-count{
    color:#43dc80;
}
.upcoming-event .event-count{
    color:#8850ff;
}
.event-selected .event-count{
    color:#FFF !important;
}
.event-titles {
    padding: 10px;
    margin: 0;
    position: absolute;
    max-height: 0;
    width: 0;
    overflow: hidden;
    opacity: 0;
    top: 0;
    left: 100px;
    transition: all 0.6s ease;
    background: #FFF;
    z-index: 3;
    box-shadow: 0 0 5px #ccc;
    border-radius: 8px;
}
tr td:last-child .event-titles, tr td:nth-last-child(2) .event-titles{
    left: -200px;
}
.day:hover .event-titles {
    max-height: 400px;
    width: 200px;
    overflow: auto;
    opacity: 1;
}

.event-titles li {
    list-style: none;
    display: block;
    padding: 5px 10px;
    color:#2da170;
    border-bottom:1px solid #ccc;
    font-weight:100;
}
.event-titles li:last-child {
    border-bottom:0px solid #ccc;
}


.events-widget {
    position: absolute;
    background: #FFF;
    width: 400px;
    top: 0px;
    height: 100%;    
    transition:all .6s ease;
    right: -400px;
    padding: 0;
    border: 1px solid #CBD1D2;
    border-radius: 5px;
}
/*.events-widget{
    position: absolute;
    left: -21px;
    background: linear-gradient(to right, #2da170 40%, #FFF 40.00001%);
    padding: 10px;
    color: #FFF;
    top: calc(50% - 200px);
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    height: 400px;
    display: flex;
    align-content: center;
    align-items: center;
    border-radius: 50%;
    padding-right: 41px;
    z-index: 0;
}*/
.events-widget.active {
    right: 0px;
    box-shadow: 0 0 10px #ccc;
}
.events-widget ul{
    margin:0;
    padding:0;
    position:relative;
    height: 100%;
    overflow-y: auto;
}
.events-widget ul li{
    list-style:none;
}
.events-widget-trigger {
    position: absolute;
    left: -40px;
    background: #2da170;
    padding: 5px;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0px;
    border-radius: 4px;
    cursor: pointer;
    width: 38px;
    height: 38px;
    text-align: center;
    transition: all 0.3s ease;
}
/*.events-widget-trigger:hover{
    background: #289165;
}*/
.events-widget.active .events-widget-trigger{
    left: -38px;
    border-radius: 4px 0px 0px 4px;
}
.fa-angle-double-left{

}
.fa-angle-double-right{
    display:none;
}
.events-widget.active .fa-angle-double-left{
    display:none;
}
.events-widget.active .fa-angle-double-right{
    display:unset;
}

.event-item{
    display:block;
    padding:15px;
    cursor:pointer;
    border-bottom:1px solid #eee;
}
.event-item *{
    cursor:pointer;
}
ul .event-item:nth-child(even){
    background-color:#f1f1f1;
}
.event-item label{
    width:100%;
    margin-bottom:0;
}
.event-item-title{
    color:#2da170;
}
.event-item-time{
    font-size:12px;
    color:#666;
}
.event-full-info{
    display:none;
    padding:20px;
    background:#cbfedf;
}
.event-item.active .event-full-info{
    display:block;
}