#calendar{
    height:100%;
}
.appt_grid{
    display:grid;
    grid-template-columns: 14px auto;
    grid-template-areas: "apptCtrls apptDisplay";
    width: 100%;
    height: calc(100% - 60px);
}
.appt_ctrls{
    grid-area: apptCtrls;
    justify-content: center;
}
.appt_display{
    grid-area: apptDisplay;
    justify-content: center;
}
#show-event-details{
    display:none;
    z-index:-1;
    position:fixed;
    padding:10px;
    border-radius:10px;
    border:1px solid #333;
    background-color:var(--pax-menu-bg);
}
#show-event-details div:not(.patient_profile_pic):not(.cx_reason_for_visit){
    font-size: 11px;
    font-weight: 300;
    color:var(--pax-fg-1);
}
#show-event-details div span{
    font-size: 13px !important;
    font-weight: 400;
}
#show-event-details div.cx_patient_profile_pic{
    width: 80px;
    height: 80px;
    display:inline-block;
    vertical-align:top;
}
#show-event-details div.cx_patient_profile_pic div{
    /* background-position: center top; */
    /* background-repeat: no-repeat; */
    /* background-size: 100px auto; */
    width: 80px;
    height: 80px;
    overflow:hidden;
}
#show-event-details div.cx_patient_profile_pic div img{
    width: 100px;
    margin-left: -10px;
}
#show-event-details div.cx_reason_for_visit{
    width: calc(100% - 80px);
    display:inline-block;
    height: 80px;
    overflow: hidden;
    vertical-align:top;
}
#show-event-details div.cx_reason_for_visit p{
    font-size: 11px !important;
    font-weight: 400;
    color:var(--pax-fg-1);
    margin:0px;
    padding-left:4px;
    line-height:1.3;
}

#cal-ctrls-bttn{
    width:100px;
    height:22px;
    transform:rotate(90deg);
    font-size:16px;
    line-height:16px;
    padding:4px 0px 0px 0px;
    text-align:center;
    position:absolute;
    right:-44px;
    top:76px;
    font-weight:500;
    letter-spacing:2px;
    color:#fff;
    background-color:var(--pax-theme-bar);
    border-radius:10px 10px 0px 0px;
    cursor:pointer;
    z-index:11200;
    border-left: 1px solid #4f4f4f;
    border-top: 1px solid #4f4f4f;
    border-right: 1px solid #4f4f4f;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#cal-stngs-bttn{
    width:120px;
    height:22px;
    transform:rotate(90deg);
    font-size:16px;
    line-height:16px;
    padding:4px 0px 0px 0px;
    text-align:center;
    position:absolute;
    right:-54px;
    top:192px;
    font-weight:500;
    letter-spacing:2px;
    color:#fff;
    background-color:var(--pax-theme-bar);
    border-radius:10px 10px 0px 0px;
    cursor:pointer;
    z-index:11200;
    border-left: 1px solid #4f4f4f;
    border-top: 1px solid #4f4f4f;
    border-right: 1px solid #4f4f4f;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#cal-ctrls{
background-color:var(--pax-theme-bar);
width:0px;
height:100%;
position:absolute;
top:0px;
left:-8px;
overflow:scroll;
color:#fff;
z-index:11100;
border: 1px solid #4f4f4f;
overflow-y: scroll;
overflow-x: hidden;
-ms-overflow-style: none !important;
scrollbar-width: none !important;
border-radius: 0px 20px 20px 0px;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
#cal-ctrls::-webkit-scrollbar {
display: none;
}
#cal-stngs{
background-color:var(--pax-theme-bar);
width:0px;
height:100%;
position:absolute;
top:0px;
left:-8px;
overflow:scroll;
color:#fff;
z-index:11100;
border: 1px solid #4f4f4f;
overflow-y: scroll;
overflow-x: hidden;
-ms-overflow-style: none !important;
scrollbar-width: none !important;
border-radius: 0px 20px 20px 0px;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
#cal-stngs::-webkit-scrollbar {
display: none;
}
#cal-ctrls-frame{
width:14px;
height:100%;
position:relative;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.pax-platform-frame {
    margin: 20px auto 20px auto !important;
    max-width: unset !important;
}
.pax_cal_inputs{
    border: 1px solid #444;
    border-radius: 12px;
    height: 24px;
    background-color: #fff;
    color: var(--pax-bttn-fg-2);
    line-height:14px;
    font-size:14px;
    padding: 0px;
}
.pax_cal_select{
    text-align-last: center;
    background-color: var(--pax-bttn-bg);
}

.pax_calendar_ctrls_frame{
    display:flex;
    align-content:space-around;
    height:24px;
    margin-bottom:20px;
}
.pax_calendar_ctrls_1{
    width: 135px;
    text-align: left;
}
.pax_calendar_ctrls_2{
    flex-grow:1;
    text-align: center;
}
.pax_calendar_ctrls_3{
    white-space: nowrap;
    width: 154px;
    text-align: right;
}
#cal_nav{
    background-image: var(--pax-ctrl-cal);
    background-position: center;
    background-size: 18px 18px;
    background-repeat: no-repeat;
    height:24px;
    width:40px;
    border:unset;
}
#cal_nav_frame:hover #cal_nav{
    background-image: var(--pax-ctrl-cal-hov);
    border: 1px solid var(--pax-fg-1);
}
#nav-date{
    position: absolute;
    opacity: 0;
    width: 40px;
    height: 24px;
    border: 0;
    overflow: hidden;
    cursor: pointer;
    padding:0px
}
#nav-date::-webkit-calendar-picker-indicator{
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    cursor: pointer;
}
th{
    font-weight:300;
}
table{
    margin-bottom:0px;
}

.fc-view-harness{
    margin-left:20px;
}

div.fc-timegrid-slots > table > tbody > tr > td.fc-timegrid-slot-label, th.fc-timegrid-axis, td.fc-timegrid-axis {
    background-color: var(--pax-bg-4);
}
.fc-timeline .fc-event-title, .fc-timegrid .fc-event-title, .fc-timeGridWeek-view .fc-event-title, .fc-listDay-view .fc-event-title, .fc-timeGrid-view .fc-event-title {
	text-shadow: 1px 1px 3px #777;
	padding-bottom: 3px;
}
.fc-event-title-container, .fc-list-event, .fc-daygrid-event{
    cursor: pointer;
}
.fc-button, .fc .fc-button-primary {
    --fc-button-border-color: var(--pax-cal-bttn-bord);
    --fc-button-bg-color: var(--pax-cal-bttn-bg);
    padding: 0.2em 0.65em !important;
}
.fc-button:hover, .fc .fc-button-primary:hover {
    --fc-button-hover-bg-color: var(--pax-cal-bttn-hov);
    --fc-button-hover-border-color: var(--pax-bttn-fg-2);
}
.fc-icon-chevron-right, .fc-icon-chevron-left {
    margin-top: -4px;
}
.fc-toolbar-title{
    font-weight: 300;
    font-size: 18px !important;
    letter-spacing:2px;
}
a.fc-timegrid-event > div.fc-event-main > div.fc-event-main-frame > div.fc-event-time {
    display:none;
}
#content-inside{
    width: 100%;
}
a.fc-daygrid-event > div {
    font-size: 13px !important;
}
div.fc-event-time {
    font-size: 13px !important;
    line-height:1;
}
div.fc-event-title, div.fc-event-title-container{
    font-size: 13px !important;
    font-weight:500;
    line-height:1;
}
a.fc-daygrid-event > div.fc-event-time {
    display: block;
}
a.fc-daygrid-more-link, a.fc-more-link{
    font-size: 13px !important;
    font-weight:500;
    display: inline-block;
    width: 100%;
}
a.fc-daygrid-more-link:hover, a.fc-more-link:hover{
    background-color: rgba(0, 0, 0, 0.1);
    text-decoration:none;
}
span.fc-popover-title{
    font-size: 15px !important;
    font-weight:500;
}
.fc .fc-non-business{
    background: rgba(225, 225, 225, 0.3);
}
.fc .fc-day-disabled{
    background: rgba(185, 185, 185, 0.3); 
}
.cal_time_block{
    opacity: 0.7 !important;
}
.cal_time_block div.fc-event-title{
    color: #fff;
}
th.fc-resource div.fc-scrollgrid-sync-inner span.fc-col-header-cell-cushion{
font-size:13px !important;
font-weight:500;
color:#fff;
}
th.fc-resource div.fc-scrollgrid-sync-inner{
    overflow:hidden;
    background-color: var(--pax-theme-bar);
}
.fc .fc-daygrid-day.fc-day-today, .fc .fc-timegrid-col.fc-day-today{
    --fc-today-bg-color: var(--pax-cal-hilite);
}
.fc-theme-standard .fc-list-day-cushion{
    --fc-neutral-bg-color: var(--pax-bg-1);
}
div#calendar div.fc-listDay-view table.fc-list-table  tr.fc-list-event td{
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;

}
div#calendar div.fc-listDay-view table.fc-list-table  tr.fc-list-event:hover td{
    background-color: var(--pax-row-hov);
    color: var(--pax-row-hov-fg);
    font-weight: 500;
}
@media screen and (max-width: 1199px) {
    a.fc-daygrid-event > div {
    font-size: 12px !important;
    }
    a.fc-daygrid-event > div.fc-event-time {
        display: none;
    }
    div.fc-event-time {
    font-size: 12px !important;
    }
    div.fc-event-title{
    font-size: 12px !important;
    }
    a.fc-daygrid-more-link, a.fc-more-link{
    font-size: 12px !important;
    }
    span.fc-popover-title{
    font-size: 14px !important;
    }
}
@media screen and (min-width: 801px) {
    .fc-view-harness {
        height: calc(100vh - 250px) !important;
    }
}
@media screen and (max-width: 800px) {
    a.fc-daygrid-event > div {
    font-size: 11px !important;
    }
    div.fc-event-time {
    font-size: 11px !important;
    }
    div.fc-event-title{
    font-size: 11px !important;
    }
    a.fc-daygrid-more-link, a.fc-more-link{
    font-size: 11px !important;
    }
    span.fc-popover-title{
    font-size: 13px !important;
    }
    a.fc-daygrid-event > div.fc-event-time {
        display: none;
    }
    .fc-view-harness {
        height: calc(100vh - 185px) !important;
    }
}


@media screen and (min-width: 501px) {
    .fc-toolbar-title{
    font-size: 18px !important;
    }
}
@media screen and (max-width: 500px) {
    .pax-platform-frame {
    margin: 10px auto 20px auto !important;
    }
    a.fc-daygrid-event > div {
    font-size: 10px !important;
    }
    a.fc-daygrid-event > div.fc-event-time {
        display: none;
    }
    div.fc-event-time {
    font-size: 10px !important;
    }
    div.fc-event-title{
    font-size: 10px !important;
    }
    a.fc-daygrid-more-link, a.fc-more-link{
    font-size: 10px !important;
    }
    span.fc-popover-title{
    font-size: 12px !important;
    }
    .fc-toolbar-title{
    font-size: 16px !important;
    }
    .pax_cal_inputs{
    line-height:12px;
    font-size:12px;
    padding: 0px;
    }
    .pax_calendar_ctrls_1{
    width: 110px;
    }
    .pax_calendar_ctrls_3{
    width: 124px;
    }
}

.fc-daygrid-body, .fc-scrollgrid-sync-table, .fc-scrollgrid {
    height:100%;
    margin-bottom:0px;
}
.fc-col-header {
    margin-bottom:0px;
}
.fc-scroller {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.fc-scroller::-webkit-scrollbar {
    display: none;
}
@media print {
    #selCalViewMode, .fc-button
    {
        display: none !important;
    }
    .pax_cal_select
    {
        border: unset;
    }
}
thead[role="presentation"] th{
    white-space: nowrap;
}
thead[role="presentation"] th a{
    font-size: 15px !important;
}
.fc-timegrid-slot-label-cushion,.fc-event-title,.fc-timegrid-axis-cushion{
    font-size: 15px !important;
}
@media screen and (max-width: 500px) {
    thead[role="presentation"] th a{
    font-size: 11px !important;
    }
    thead[role="presentation"] th{
    white-space: normal;
    }
    .fc-timegrid-slot-label-cushion,.fc-event-title,.fc-timegrid-axis-cushion{
    font-size: 11px !important;
    }
}

.fc-toolbar-title::before{
    content: var(--dow,"");
}