
.tot_calendar {
    max-height: 700px;
}

/************************************************
 *                                          	*
 *              TOT CALENDAR LEGEND             *
 *                                         	 	*
 ************************************************
 */
.tot_calendar_legend {    
    position: absolute;
    top: 35px;    
    width: 160px;
    height: 80px;
    border: 2.77553px solid #F6A32A !important;
    padding: 3px;
}

.tot_calendar_legend.extra {        
    width: 350px;
    top: 10px;
}

.tot_calendar_legend h1 {
    font-weight: normal !important;
    font-size: 18.5035px !important;
    line-height: 130% !important;
    text-align: center;
    margin-bottom: 11px !important;
}

.tot_calendar_legend .legend_body {
    display: flex;
    flex-direction: row;    
}
.tot_calendar_legend .legend_body .legend_body_item {
    flex-grow: 1;
    text-align: center;
}
.tot_calendar_legend .legend_body .legend_body_item label {
    display: block;
    text-align: center;
    font-weight: normal;
    font-size: 11.1021px;
    line-height: 130%;
    color: #000;
}
.tot_calendar_legend .legend_body .legend_body_item span {
    display: inline-block;    
    width: 49.96px;
    height: 12.03px;
    background: #27AE60;
}
.tot_calendar_legend .legend_body .legend_body_item span.orange {    
    background: #F6A32A;
}
.tot_calendar_legend .legend_body .legend_body_item span.gray {    
    background: #BDBDBD;
}

.tot_calendar_legend .legend_body .legend_body_item span.ban-icon {
    display: inline-block;    
    position: relative;
    width: 15px;
    height: 15px;
    border: 2px solid #f65a41;
    background: inherit !important;
    border-radius: 50%;
}
.tot_calendar_legend .legend_body .legend_body_item span.ban-icon::after {    
    content: "";
    position: absolute;
    top: 0px;
    left: 4px;
    width: 2px;
    height: 12px;
    background: #f65a41;
    transform: rotate(45deg);
}


/************************************************
 *                                          	*
 *              TOT CALENDAR TABLE             *
 *                                         	 	*
 ************************************************
 */

.tot_calendar table {
    border: none !important;
}

/**
 *  Remove Default Scroll-y
 */
.tot_calendar .fc-scroller.fc-scroller-liquid-absolute {
    overflow: hidden hidden !important;
}
.tot_calendar .fc-daygrid-body.fc-daygrid-body-unbalanced {
    height: 100% !important;
}
.tot_calendar .fc-scrollgrid-sync-table {
    height: 100% !important;
}

/**
 * Toolbar Div Style
 */
.tot_calendar .fc-header-toolbar.fc-toolbar  {    
    justify-content: center !important;
    margin-bottom: 49.75px;
}

/*
 * Table Title Text Style
 */
.tot_calendar .fc-toolbar-title {    
    font-style: normal;
    font-weight: 600;
    font-size: 2em;
    line-height: 130%;
    color: #666666;
    min-width: 240px;  
    text-align: center;
    margin-left: 20px;  
    margin-right: 20px;  
}

/**
 * Prev, Next Buttons style
 */
.tot_calendar .fc-next-button.fc-button.fc-button-primary,
.tot_calendar .fc-prev-button.fc-button.fc-button-primary {
    background: inherit !important;
    border: none !important;
}

/**
 *  Arrows Icons Style
 */
.tot_calendar .fc-icon.fc-icon-chevron-right,
.tot_calendar .fc-icon.fc-icon-chevron-left {
    color: #A3A3A3 !important;
    font-size: 2em !important;
}

/* Header Cell Style*/
.tot_calendar tr {
    background: inherit !important;
}
.tot_calendar .fc-col-header-cell {
    background: inherit !important;
    padding-bottom: 11.1px;
    border: none !important;    
}
.tot_calendar .fc-col-header-cell div {
    border: none !important;
}
.tot_calendar .fc-col-header-cell div a{
    color: #666666 !important;
    font-weight: 500 !important;
}

/* Remove Header extra bottom space */
.tot_calendar table.fc-col-header {
    margin-bottom: 0px;
}


/**
 * Past days background
 */
.tot_calendar .fc-daygrid-day {
    border: 2px solid #E0E0E0 !important;
}
.tot_calendar .fc-daygrid-day.fc-day-past {
    background: #F2F2F2;    
}
.tot_calendar .fc-daygrid-day.fc-day-today {
    background: #FFF;
}
.tot_calendar .fc-daygrid-day a{    
    color: #666666 ;
    font-weight: 500;
    line-height: 130%;
    font-size: 1.375em;
}
.tot_calendar .fc-daygrid-day.fc-day-past a{    
    color: #BDBDBD;    
}
.tot_calendar .fc-daygrid-day.fc-day-future.fc-day-other .fc-daygrid-day-top{    
    /* opacity: 1; */
}
.tot_calendar .fc-daygrid-day.fc-day-future.fc-day-other a{    
    color: #B8B8B8;
}



/**/
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    /* min-height: 30.11px; */
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-top {
    padding: 0px;
    text-align: left;    
    min-width: 35px;
    display: inline;
    padding-top: 10px;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-top a{
    /* padding: 0px;     */
    /* margin-left: 10px;    */
    margin-top:-10px;        
    width: 100%;
    min-width: 41px;
    padding-left: 9px;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    z-index: 98;
    box-shadow: 1px -1px 18px -7px rgba(0,0,0,0.71);
    -webkit-box-shadow: 1px -1px 18px -7px rgba(0,0,0,0.71);
    -moz-box-shadow: 1px -1px 18px -7px rgba(0,0,0,0.71);
}

/* Events Mark Style */
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events{
    /* min-height: 91px !important;
    max-height: 91px !important; */
    min-height: 45px !important;
    max-height: 45px !important;
    position: absolute;
    left: 35px;
    /* background: red; */
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events div:nth-child(5){
    /* background: red; */
    visibility: hidden;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events div:nth-child(5)::after{
    /* background: red;  */
    width: 75px;
    height: 25px;
    content: "MORE...";
    visibility: visible !important;
    position: absolute;
    top: 3px;
    left: -2px;
    margin-top: -5px;
    font-size: 11px;
    /* line-height: 27px; */
    padding: 0px;
    /* float: right; */
    color: #4285F4;
    font-weight: 500;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a{
    font-size: 0.8em;
    color: #000;
    text-decoration: underline;
    pointer-events: none !important;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a .fc-event-time{
    display: none;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a .fc-event-title{
    text-align: left;
}

/*
 *  Event-Dots styles: [available, waiting, booked, unavailable]
 */
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a.tot_event_available .fc-daygrid-event-dot{    
    border-color: #219653;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a.tot_event_waiting .fc-daygrid-event-dot{    
    border-color: #F6A32A;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a.tot_event_booked .fc-daygrid-event-dot{    
    border-color: #BDBDBD;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a.tot_event_booked {    
    color: #BDBDBD;
    font-weight: normal;    
}

/* Event Unavailable */
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a.tot_event_unavailable {
    visibility: hidden;
    position: absolute;
    top: 0px;
    z-index: 99;
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a.tot_event_unavailable::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 2px;
    left: -34.5px;    
    border: 4px solid #ec4e51;
    border-radius: 100%;
    z-index: 2;
    visibility: visible;
    z-index:99;    
}
.tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events a.tot_event_unavailable::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 35px;
    top: 2px;
    left: -19px;
    background: #ec4e51;
    z-index: 3;
    visibility: visible;
    transform: rotate(45deg);
}


.tot_calendar .fc-daygrid-day {
    height: 50px !important;
    overflow: hidden;
    /* background: purple; */
}


/* [RESPONSIVE FIX] */



@media only screen and (max-width: 899px) {
    .blocker {
        padding: 0px;
    }
    .tot_calendar_legend {
        display: none;
    }
    .tot_calendar_legend.extra{
        display: inherit !important;
        margin: 0 auto !important;
        position: relative;
    }
    #booknow_modal {
        /* background: red; */
        position: fixed;
        left: 0px;
        top: 32px;
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 5px;
        width: 100%;
        height: 94%;
        max-height: 100%;
    }
    #booknow_calendar_guide,
    #booknow_calendar_customer {
        height: 100%;
    }
    #booknow_calendar_customer .fc-view-harness.fc-view-harness-active {
        height: 100%;
    }
    .tot_calendar .fc-header-toolbar.fc-toolbar {
        margin-bottom: 0px;
    }

    #booknow_calendar_guide .fc-view-harness.fc-view-harness-active {
        height: 550px !important;
    }
    
    .tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events div:nth-child(5)::after {
        margin-left: -30px;
    }    

    .tot_calendar .fc-daygrid-day .fc-daygrid-day-frame .fc-daygrid-day-events {
        min-height: 45px !important;
        max-height: 45px !important;
        /* background: red; */
    }
    
    
    /* tippy */
    [data-tippy-root] {
        position: fixed !important;
        margin: 0px auto !important;
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        top: 32px !important;
        left: 0px !important;
        height: 95%;
        overflow: scroll;
        transform: none !important;
    }
    .tippy-box {
        width: 100%;
        height: 100%;
        max-height: 100%;
    }
    .tippy-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
    }
    #booknow_popup_customer {
        width: 100% !important;
        height: 100% !important;
    }
    #booknow_popup_guide {
        width: 100% !important;
        height: 100% !important;
    }
    .event-list {
        max-height: 100%;
        height: 100%;
        /* background: yellow; */
    }
}

@media only screen and (max-width: 1468px) {
    .tot_calendar_legend.extra{
        display: inherit !important;
        margin: 0 auto !important;
        position: relative;
    }

    .tourmaster-user-content-block {
        padding: 0px;
    }
}


.fc-day-today .fc-daygrid-day-number,
.fc-day-future .fc-daygrid-day-number {
    cursor: pointer;
}