#fleet-services #calendar {
    width: 100%;
    margin-top: 20px;
}
#fleet-services #calendar .clndr-controls {
    padding: 14px;
    background-color: #ca064d;
    color: #fff;
    text-align: center;
    position: relative;
    height: 50px;
    font-weight: bold;
    font-size: 16px;
}
#fleet-services #calendar .clndr-controls .clndr-control-button {
    position: absolute;
    height: 100%;
    width: 100px;
    left: 0px;
    top: 0px;
    line-height: 50px;
    z-index: 1;
}
#fleet-services #calendar .clndr-controls .clndr-control-button.rightalign {
    right: 0px;
    left: auto;
}
#fleet-services #calendar .clndr-controls .month {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    line-height: 50px;
    text-transform: uppercase;
}
#fleet-services #calendar .clndr-controls .clndr-previous-button,
#fleet-services #calendar .clndr-controls .clndr-next-button {
    width: 30px;
    cursor: pointer;
    -webkit-user-select: none;
    /* Chrome/Safari */

    -moz-user-select: none;
    /* Firefox */

    -ms-user-select: none;
    /* IE10+ */

}

#fleet-services #calendar .clndr-controls .clndr-today-button {
    font-size: 12px;
    padding: 5px 20px;
    border-radius: 20px;
    background-color: #f5ebf0;
    color: #ba7095;
    font-weight: bold;
    cursor: pointer;
    float: right;
    height: 28px;
    line-height: 20px;
    margin-right: 25%;
    margin-left: calc(-25% - 90px);
    width: 90px;
    margin-top: 11px;
}

#fleet-services #calendar .clndr-controls .clndr-previous-button:hover,
#fleet-services #calendar .clndr-controls .clndr-next-button:hover {
    opacity: 0.5;
}
#fleet-services #calendar .clndr-table {
    width: 100%;
}
#fleet-services #calendar .clndr-table .header-days {
    width: 100%;
    background-color: #803F86;
    border-bottom: 10px solid #fff;
}
#fleet-services #calendar .clndr-table .header-days .header-day {
    width: 14.2857%;
    padding: 14px;
    text-align: center;
    color: white;
    font-weight: bold;
}

#fleet-services #calendar.edit .clndr-table .day,
#fleet-services #calendar .clndr-table .day {
    cursor: auto;
}

#fleet-services #calendar .clndr-table .day .overlay {
    display: none;
    background-color: rgba(100, 100, 100, 0.5);
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 2;
    align-items: center;
}
#fleet-services #calendar .clndr-table .day .overlay i {
    margin: 0 auto;
    color: #fff;
}
#fleet-services #calendar .clndr-table .day .overlay i:before {
    font-size: 40px;
}
#fleet-services #calendar .clndr-table .day:hover .overlay {
    display: flex;
}

#fleet-services #calendar .clndr-table .day,
#fleet-services #calendar .clndr-table .empty {
    width: 14.2857%;
    height: 80px;
    /* margin-top: 5px; */
    position: relative;
    /* font-weight: bold; */
    background-color: #ddd;
    border: 3px solid #fff;
    padding: 0px;
    padding-left: 0px;
}

#fleet-services #calendar .clndr-table .day.overbooking {
    background-color: rgb(204, 0, 0, 0.3) !important;
}
#fleet-services #calendar .clndr-table .day.overbooking .day-contents {
    /* color: #fff; */
}

#fleet-services #calendar .clndr-table .empty {
    background-color: #fff;
}

#fleet-services #calendar .clndr-table .day.calendar-dow-0,
#fleet-services #calendar .clndr-table .day.calendar-dow-1,
#fleet-services #calendar .clndr-table .day.calendar-dow-2,
#fleet-services #calendar .clndr-table .day.calendar-dow-3,
#fleet-services #calendar .clndr-table .day.calendar-dow-4 {
    background-color: #eee;
}

#fleet-services #calendar .clndr-table .day-contents {
    /* padding: 24px 0; */
    height: 100%;
    /* line-height: 80px; */
    text-align: center;
    color: #CA064D;
    font-size: 16px;
    border: 3px solid transparent;
    /* color: #4f4f4f; */
    /* background-color: #fff; */
    font-weight: bold;
}

#fleet-services #calendar .clndr-table .day.event,
#fleet-services #calendar .clndr-table .empty.event {
    padding-bottom: 4px;
    border-bottom: 2px solid #803F86;
}
#fleet-services #calendar .clndr-table .day.adjacent-month,
#fleet-services #calendar .clndr-table .empty.adjacent-month,
#fleet-services #calendar .clndr-table .past {
    opacity: 0.75;
}
#fleet-services #calendar .clndr-table .today {
    /* background-color: rgba(255, 171, 64, 0.5) !important; */
    background-image: none;
    /* color: #fff; */
}
#fleet-services #calendar .clndr-table .today .day-contents {
    border: 3px solid #ca064d;
    /* color: #fff; */
}

/* #fleet-services #calendar .defQuantity,
#fleet-services #calendar .resNum {
    position: absolute;
    width: 46%;
    height: 50%;
    color: #4f4f4f;
    z-index: 1;
} */
#fleet-services #calendar .defQuantity p {
    width: 100%;
    text-align: right !important;
    /* padding-right: 5px; */
    /* padding-bottom: 0px;
    padding-top: 6px;
    line-height: inherit !important; */
}


#fleet-services #calendar .overbooking .defQuantity,
#fleet-services #calendar .overbooking .resNum {
    /* color: #fff; */
}

#fleet-services #calendar .serviceCont {
    margin: 5px 0px;
    /* margin: 4px 0px; */
    /* border-radius: 10px; */
    text-align: left;
    cursor: pointer;
}

#fleet-services #calendar .serviceCont span {
    /* background-color: #fffffff0; */
    font-size: 13px;
    /* padding: 0px 2px; */
}

#fleet-services #calendar .defQuantity {
    /* top: 0px;
    right: 0px; */
    color: #1c1c1c;
    font-size: 16px;
    margin-top: 14px;
    margin-bottom: 10px;
    min-height: 50px;
}

#fleet-services #calendar .resNum {
    bottom: 0px;
    right: 0px;
}

#fleet-services #calendar .defQuantity p,
#fleet-services #calendar .resNum p {
    font-size: 16px;
    line-height: 30px;
    /* text-align: left; */
    display: inline;
}

#fleet-services #calendar .defQuantity p#refunded, #fleet-services #calendar .defQuantity p#waiting {
    /* display: none; */
    white-space: nowrap;
}

#fleet-services #calendar .defQuantity p i {
    padding-left: 4px;
}

#fleet-services #calendar .defQuantity p#dailyReserved i, #fleet-services #calendarLegend p#dailyReserved i {
    /* color: #ec8383; */
    color: #4faabf;
}

#fleet-services #calendar .defQuantity p#timeReserved i, #fleet-services #calendarLegend p#timeReserved i {
    color: #ffc965;
}

#fleet-services #calendar .defQuantity p#refunded i, #fleet-services #calendarLegend p#refunded i {
    /* color: #b5b5b5; */
    color: #ec8383;
}

#fleet-services #calendar .defQuantity p#spaces i, #fleet-services #calendarLegend p#spaces i {
    color: #74c774;
}

#fleet-services #calendar .defQuantity p span, #fleet-services #calendarLegend p span, #fleet-services #calendarLegend div div, #fleet-services #calendarLegend div span {
    font-weight: normal !important;
}

#fleet-services #calendarLegend i,
#fleet-services .serviceCont i,
#fleet-services #calendarLegend div div {
    width: 14px;
    text-align: center;
    margin-right: 8px;
    padding: 0px 10px;
    border-radius: 5px;
}

#fleet-services #calendarLegend > div {
    margin: 2px 0px;
    cursor: pointer;
}

#fleet-services #calendarLegend > div > span:hover, #fleet-services .serviceCont > span:hover {
    font-weight: bold !important;
}

#fleet-services #calendar .modified {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 20px;
    width: 20px;
    border-left: 10px solid #ca064d;
    border-bottom: 10px solid #ca064d;
    border-top: 10px solid rgba(0, 0, 0, 0);
    border-right: 10px solid rgba(0, 0, 0, 0);
}

#fleet-services #calendar .defQuantity i:before,
#fleet-services #calendar .resNum i:before {
    font-size: 16px;
    margin-right: 5px;
}

#fleet-services .unavailable {
    background-color: #ff6c8fa1 !important;
    background-image: repeating-linear-gradient(135deg, transparent, transparent 25px, rgba(255,255,255,.5) 25px, rgba(255,255,255,.5) 50px) !important;
}
#fleet-services #calendarLegend .unavailable {
    background-color: #ff6c8fa1 !important;
    background-image: repeating-linear-gradient(135deg, transparent, transparent 4px, rgba(255,255,255,.5) 4px, rgba(255,255,255,.5) 8px) !important;
}

@media all and (max-width: 768px) {
    #fleet-services #calendar .clndr-table {
        width: 100%;
        border: none;
    }
    #fleet-services #calendar .event-listing {
        display: none;
    }

}
