.calender-view {
    width: 100%;
    position:relative;
    overflow: hidden;
    margin: 0;
}

.calendar-header {
    position: relative;
    text-align: center;
}
.calender-view table{
    table-layout: fixed;
}
.header-today {
    position: absolute;
    left: 5px;
    top: 5px;
    color:#2da170;
    font-weight: 600;
    cursor: pointer;
    outline: none !important;
    transition: all 0.3s ease;
}
.header-today:hover{
    color: #2b9769;
    text-decoration: underline;
}
.full-calendar-btn{
    color: #fff !important;
    background: #2f7155;
    padding: 6px 25px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    cursor: pointer;
}
.mis-calendar a {
    text-decoration: none;
    color: inherit;
}
.mis-calendar table td{
    border: 1px solid #e7e7e7;
}
.mis-calendar table thead td{
    overflow: hidden;
    border-top: 0;
    cursor: default;
}
.mis-calendar table thead td:first-child{
    border-left: 0;
}
.mis-calendar table thead td:last-child{
    border-right: 0;
    color: #ff0000;
}
.mis-calendar table tbody tr:last-child td{
    border-bottom: 0;
}
.mis-calendar table tbody tr td:first-child{
    border-left: 0;
}
.mis-calendar table tbody tr td:last-child{
    border-right: 0;
    color: #ff0000 !important;
}
.mis-calendar table tbody tr td:last-child .day.wrong-month {
    color: #e78a8a !important;
}
.mis-calendar table tbody tr td:last-child .past-event:hover{
    color: #ff0000 !important;
}
.mis-calendar table tbody tr td:last-child .past-event.event-selected{
    color: #ff0000 !important;
}
.mis-calendar table tbody tr td:last-child .wrong-month.disabled{
    color: #ff0000 !important;
}
.mis-calendar table tbody tr td:last-child .wrong-month.disabled{
    color: #f5a0a0 !important;
}
.mis-calendar .calendar-header .simple-calendar-btn {
    display: inline-block;
    text-align: center;
    line-height: 20px;
    color: #CBD1D2;
}
.mis-calendar .calendar-header .simple-calendar-btn:hover{
    color: #a7a8a9;
}
 .mis-calendar .calendar-header .simple-calendar-btn:before {
        content: '\f0da';
        font-size: 25px;
        font-weight: 600;
        font-family: "Font Awesome 5 Free";
    }

.mis-calendar .calendar-header .btn-prev {
    transform: rotate(180deg);
    font-size: 18px;
    transition: inherit;
    position: absolute;
    top: 25px;
    right: 40px;

}

.mis-calendar .calendar-header .btn-next {
    font-size: 18px;
    transition: inherit;
    position: absolute;
    top: 28.5px;
    right: 8px;
}


.mis-calendar .calendar-header .month {
    margin: 0;
    font-size: 17px;
    position: absolute;
    right: 8px;
    top: 3px;
    cursor: default;
}

    .mis-calendar .calendar-header .month .year {
        padding: 0px 0px 0px 5px;
        font-size: 17px;
    }

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

.mis-calendar thead {
    font-size: 16px;
    font-weight: normal;
    text-align: center;
}

.mis-calendar td {
    padding: 8px;
    position: inherit !important;
}

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

.mis-calendar .day {
    position: relative;
    width: 50px;
    min-height: 50px;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mis-calendar .day:hover{
    background: #f1f1f1;
}
.event-count:hover .event-titles{
    text-align: left;
    max-height: 400px;
    overflow: auto;
    opacity: 1;
}
.mis-calendar .day.has-event::before{
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: transparent;
    left: 33px;
    top: -10px;
    border-radius: 30px;
    z-index: 11;

}
.mis-calendar .wrong-month.day.event-selected{
    color: #aaaaaa;
    /*border-color: #fff;*/
    /*background: #f5dfbb !important;*/
}
.mis-calendar .wrong-month.day.past-event .event-count {
    color: #fbebd1;
    border-color: #fbebd1;
}
.mis-calendar .wrong-month.day.past-event{
    color: #fff;
    border-color: #fbebd1 !important;
}
.mis-calendar .wrong-month.day.past-event:hover{
    color: #000;
    background: #fffcf6 !important;
}
.mis-calendar .wrong-month.day.past-event.event-selected:hover{
    color: #fff;
    background: #f9dfb5 !important;
}

    .mis-calendar .day.today.wrong-month {
        background: none;
        border:#fff;
        animation: inherit;
    }
    .mis-calendar .day.today.wrong-month:hover{
        background: #f1f1f1;
        border-color: #fff !important;
    }
    .mis-calendar .day.today.wrong-month.event-selected{
         background: #e9e7e7;
    }

    .mis-calendar .day.today {
        color: #fff;
        font-weight: 600;
        background: #36bd84;
        border-color: #278d62;
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	    transform: scale(1);
	    animation: pulse 3s infinite;
        z-index:1
    }
    .mis-calendar .day.today:hover{
        background: #2da170;
        border-color: #1b6445 !important;
    }
    .mis-calendar .day.today.event-selected{
        color: #fff !important;
        font-weight: 600;
        background: #2da170;
        border-color: #1b6445 !important;
    }

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

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

        .mis-calendar .day.wrong-month:hover {
            border: 1px solid #fff;
        }
    .mis-calendar .day.disabled {
        cursor: default;
    }



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

.mis-calendar .day.event-selected {
    background: #e9e7e7;
    border-color: #bbbbbb;

}



/*  Event Hover List*/

.past-event,
.current-event,
.upcoming-event,
.selected-event
 {
}
.past-event{
    background:#ffeed3;
    border:1px solid #ffc466 !important;
}
.past-event:hover{
    color: #fff;
    background: #ffc466 !important;
}
.past-event .event-titles li{
    color: #d99e41 !important;
}

.current-event{
    background:#ecfff4;
    border:1px solid #43dc80 !important;
}
.upcoming-event{
    background:#eee6ff;
    border:1px solid #8850ff !important;
}
.upcoming-event:hover{
    color: #fff;
    background: #8850ff !important;
}
.upcoming-event .event-titles li{
    color: #6b3fc9 !important;
}
.event-selected{
    font-weight: bold;
}
.wrong-month.upcoming-event{
    background: #f5f0ff;
    border: 1px solid #d2bdff !important;
}
.wrong-month.upcoming-event:hover{
    background: #d9c6ff !important;
}
.wrong-month.upcoming-event .event-count{
    color: #d2bdff;
    border-color: #d2bdff;
}


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

.wrong-month.event-selected.upcoming-event{
    background: #c0a5f9 !important;
    border: 1px solid #b593fd !important;
}

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

.event-count {
    display: block;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    overflow: hidden;
}
.past-event .event-count{
    color:#ffc466;
    border:1px solid #ffc466;
}
.current-event .event-count{
    color:#43dc80;
    border:1px solid #43dc80;
}
.upcoming-event .event-count{
    color:#8850ff;
    border:1px solid #8850ff;
    text-align: center;

}
.event-titles {
    font-size: 14px;
    line-height: 16px;
    padding: 10px;
    margin: 0;
    text-align: left;
    position: absolute;
    max-height: 0;
    width: 200px;
    overflow: hidden;
    opacity: 0;
    top: 0;
    left: 55px;
    transition: all 0.6s ease;
    background: #FFF;
    z-index: 3;
    box-shadow: 0 0 5px #ccc;
    border-radius: 8px;
}
.mis-calendar tr td:last-child .event-titles, .mis-calendar tr td:nth-last-child(2) .event-titles, .mis-calendar tr td:nth-last-child(3) .event-titles{
    left: -200px;
}
.mis-calendar tr:last-child td .event-titles,
.mis-calendar tr:nth-last-child(2) td .event-titles{
    bottom: 0;
    top: auto;
}
.day:hover .event-titles {
    text-align: left;
    max-height: 160px;
    overflow: auto;
    opacity: 1;
}

.event-titles li {
    list-style: none;
    text-align:left;
    display: block;
    padding: 5px 0px 5px 0px;
    color:#2da170;
    border-bottom:1px solid #ccc;
    font-weight:100;
}
.event-titles li:empty{
    display:none;
}
.event-titles li:first-child {
    padding-top: 0;
}
.event-titles li:only-child {
  padding: 0;
}
.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.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.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;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

@media only screen and (max-height: 700px) {
    .mis-calendar table thead td{
        padding: 4px;
        font-size: 14px;
    }
    .mis-calendar td{
        padding: 10px 10px 8px 8px;
    }
    .mis-calendar .calendar-header{
        padding-bottom: 15px;
    }
    .mis-calendar .day{
        width: 38px;
        min-height: 38px;
        border-radius: 10px;
        padding: 4px;
    }
    .event-count{
        font-size: 12px;
        width: 24px;
        height: 24px;
        top: -8px;
        right: -10px;
    }
    .full-calendar-btn{
        padding: 4px 16px;
    }
    .mis-calendar .calendar-header .month{
        font-size: 15px;
    }
    .mis-calendar .calendar-header .month .year {
        padding: 0px;
        font-size: 15px;
    }
    .event-titles{
        font-size: 13px;
        line-height: 15px;
        left: 38px;
        padding: 6px;
        width: 180px;
        border-radius: 4px;
        box-shadow: 0 0 3px #000;
    }
    .mis-calendar tr td:last-child .event-titles, .mis-calendar tr td:nth-last-child(2) .event-titles, .mis-calendar tr td:nth-last-child(3) .event-titles {
        left: -181px;
    }
    .day:hover .event-titles {
        max-height: 150px;
    }
    .mis-calendar .day.has-event::before{
        width: 24px;
        height: 24px;
        left: 22px;
        top: -8px;
    }
}