#apbgf-gcal-connect {
    display: inline-block;
    color: #57B0EE;
    line-height: 1;
    font-size: 15px;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
    background-color: #57B0EE;
    border-style: solid;
    border-width: 1px;
    border-color: #57B0EE;
    border-radius: 10px;
    box-shadow: 0px 6px 18px 0px rgb(0 0 0 / 6%);                   
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding-bottom: 13px;
}
#apbgf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    background:  #fff url('../../images/loading.gif') no-repeat center center;
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    z-index: 10000;
}
#apbgf-cal-top-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;    
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    z-index: 10000;
}
#apbgf-cal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 560px;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    background:  #fff url('../../images/loading.gif') no-repeat center center;
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    z-index: 10000;
}
.gravity-booking_page_apbgf-calendar #apbgf-cal-overlay {
    max-width: unset!important;
}
.apbgf-cal-container {
    font-family: 'Poppins' , sans-serif !important;
    margin-top: 50px;
    padding: 0 20px 0 0;
    position: relative;
}
.apbgf-cal-container h3 {
    position: relative;
    background: transparent;
    border-radius: 8px 8px 0px 0px;
    padding: 25px;
    font-size: 22px;
    text-align: center;
    /* box-shadow: 0px 12px 32px 0px rgb(0 0 0 / 20%); */
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1;
    border: 2px solid var(--apbgf-cal-txt-color);
    max-width: 560px;
}
.gravity-booking_page_apbgf-calendar .apbgf-cal-container h3 {
    position: relative;
    background: #FFFFFF!important;
    border-radius: 8px 8px 0px 0px;
    padding: 25px;
    font-size: 22px;
    text-align: center;
    box-shadow: 0px 12px 32px 0px rgb(0 0 0 / 20%);
    margin: 0;
    position: relative;
    z-index: 1;
    line-height: 1;
    border: 2px solid #d9e9f8;
    max-width: unset;
}
.apbgf-timezone {
    position: absolute;
    right: 15px;
    font-size: 12px;
    height: 13px;
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 150px;
    text-align: right;
}
.apbgf-cal-container th {
    height: 30px;
    text-align: center;
    background: transparent!important;
}
.gravity-booking_page_apbgf-calendar .apbgf-cal-container th {
    background: #FFFFFF!important;   
}
.apbgf-cal-container td {
    height: 65px;
    background: transparent!important;
}
.gravity-booking_page_apbgf-calendar .apbgf-cal-container td {
    background: #FFFFFF!important;
    position: relative;
}
.apbgf-cal-container .today:not(.apbgf-selected) > span {
    color: #11ccaf;
    border:  1px solid #11ccaf;
    display: inline-flex;    
    border-radius: 20px;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
}
.apbgf-add-button {
    float: right;
    margin-left: 15px;
}
.apbgf-cal-table {
    width: 100%;
    margin:  0;
}
.gravity-booking_page_apbgf-calendar .apbgf-cal-table {
    background: #FFFFFF !important;
}
.gravity-booking_page_apbgf-calendar .apbgf-cal-table-bordered {
    border-collapse: collapse;    
}
.apbgf-cal-table-bordered {
    background: border-box;    
/*     border-collapse: collapse; */
    border-top: 0;
}
.apbgf-cal-table-bordered tbody tr td,
.apbgf-cal-table-bordered tbody tr th {
    border: 1px solid var(--apbgf-cal-txt-color);
    border-top: 0;
}
.gravity-booking_page_apbgf-calendar .apbgf-cal-table-bordered tbody tr td,
.gravity-booking_page_apbgf-calendar .apbgf-cal-table-bordered tbody tr th {
    border: 1px solid #d9e9f8;
    border-top: 0;
}
.apbgf-cal-table-bordered tbody tr th {
    padding: 14px 8px;
    width: 100px;
    font-weight: normal;
}
.apbgf-cal-table-bordered tbody tr td {
    padding: 15px 7.5px;
    vertical-align: middle;
    text-align: center;
}
.apbgf-month-changer {
    color: #000;
    margin: 0 10px;
    outline: none!important;
}
.apbgf-month-changer:hover, .apbgf-month-changer:focus {
    outline: none!important;
    box-shadow:  none!important;
}
.apbgf-month-changer:hover {    
    color: #11ccaf;
    box-shadow:  none!important;
}
.ginput_container_apbgf_appointment_calendar .apbgf-cal-container {
    margin: 30px 0 0 0;
    padding: 0;
    width: 100%;
    /* max-width: 575px;
    min-width: max-content; */
}
.apbgf-table-container {
    display: flex;
}
td.apbgf-not-available,
td.apbgf-holiday {
    pointer-events: none!important;
}
td.apbgf-available {
    background-color: var(--apbgf-cal-avl-day-bg-color) !important;
    color: var(--apbgf-cal-avl-day-txt-color) !important;
    cursor: pointer !important;
}
td.apbgf-selected {
    position: relative;
    background-color: var(--apbgf-cal-sel-day-bg-color) !important;
    color: var(--apbgf-cal-sel-day-txt-color) !important;
}
td.apbgf-selected.apbgf-caret-down:after {
    content: '';
    width: 12px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--apbgf-cal-sel-day-bg-color);
    position: absolute;
    height: 12px;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -12px;
}
span.apbgf-selected {
    background-color: var(--apbgf-cal-sel-day-bg-color) !important;
    color: var(--apbgf-cal-sel-day-txt-color) !important;
}
div#apbgf-timeslots-table-container {
    width: 100%;
    max-width: 310px;
    position: relative;
}
h4.slot-title, .demo-slot-title {
    font-size: 16px;
    padding: 9px;
    color: var(--apbgf-cal-header-txt-color);
    font-weight: normal;
    border-bottom: 1px solid var(--apbgf-cal-border-color);
    margin: 0 0 15px 0;
    text-align: center;    
    background: var(--apbgf-cal-header-bg-color);
}
#apbgf-timeslots-table-container-tr h4.slot-title {
    background: inherit!important;
    color: inherit!important;
    border: 0!important;
    padding: 0!important;
    font-size: 16px!important;
}
ul.apbgf-slot-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 13px;
}
#apbgf-timeslots-table-container ul.apbgf-slot-list li {
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
    width: 50%;
    padding-left: 7.5px;
    padding-right: 7.5px;
}
#apbgf-timeslots-table-container-tr ul.apbgf-slot-list li {
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
    width: 25%;
    padding-left: 7.5px;
    padding-right: 7.5px;
}
ul.apbgf-slot-list li > span {
    padding: 10px 7px;
    text-align: center;
    background: var(--apbgf-cal-avl-day-bg-color);
    color: var(--apbgf-cal-avl-day-txt-color);
    border: 1px solid var(--apbgf-cal-avl-day-txt-color);
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease 0s;
}
.apbgf-selected-capacity {
    display:none!important;
    margin-top: 5px;
    border: 1px solid var(--apbgf-cal-sel-day-bg-color) !important;
    box-shadow: none!important;
    -moz-box-shadow: none!important;
    -webkit-box-shadow: none!important;
    -o-box-shadow: none!important;
    -ms-box-shadow: none!important;
    border-radius: 3px!important;
    background: #fff!important;
    color: var(--apbgf-cal-txt-color)!important;
    font-size: 13px;
}
.apbgf-selected-capacity.show {
    display:inline-block!important;
}
.apbgf-selected-capacity::placeholder {
    color: var(--apbgf-cal-txt-color)!important;
    font-size: 13px;
}
/* Chrome, Safari, Edge, Opera */
.apbgf-selected-capacity::-webkit-outer-spin-button,
.apbgf-selected-capacity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
.apbgf-selected-capacity {
  -moz-appearance: textfield;
}
.apbgf-selected-capacity:focus,
.apbgf-selected-capacity:active {
    outline: none;
    box-shadow: none!important;
    -moz-box-shadow: none!important;
    -webkit-box-shadow: none!important;
    -o-box-shadow: none!important;
    -ms-box-shadow: none!important;
}
p.apbgf-slot-error {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apbgf-cal-txt-color);
}
div#apbgf-timeslots-table-container {
    max-height: 370px;
    overflow-y: scroll;
}
div#apbgf-timeslots-table-container::-webkit-scrollbar {
  width: 7px;               /* width of the entire scrollbar */
}

div#apbgf-timeslots-table-container::-webkit-scrollbar-track {
  background: transparent;        /* color of the tracking area */
}

div#apbgf-timeslots-table-container::-webkit-scrollbar-thumb {
  background-color: lightgray;
  border-radius: 20px;
}
.apbgf-cal-container td.apbgf-holiday {
    background-color: var(--apbgf-cal-hol-day-bg-color)!important;
    color: var(--apbgf-cal-hol-day-txt-color)!important;
}
ul.apbgf-slot-list li.apbgf-unavailable > span {
    background: #d6d8d9!important;
    border: 1px solid #d6d8d9!important;
    color: #999;
}
/* Tooltip container */
.apbgf-tooltip {
    position: relative;
}
span.apbgf-tooltip-text {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    background: var(--apbgf-cal-header-bg-color)!important;
    border-radius: 4px!important;
    top: -45px;
    color: var(--apbgf-cal-header-txt-color)!important;
    padding: 8px 5px!important;
    max-width: 100px;
    margin: auto;
    transition: all 0.3s ease 0s;
}
.apbgf-tooltip-text:after {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--apbgf-cal-header-bg-color);
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    width: 5px;
    margin: auto;
}
.apbgf-tooltip-text:hover {
    visibility: hidden!important;
    opacity: 0!important;
}
.apbgf-tooltip:not(.apbgf-unavailable):hover .apbgf-tooltip-text {
    visibility: visible;
    opacity: 1;
}
.apbgf-appointment-block span.apbgf-tooltip-text {
    display: inline-block;
    padding: 5px!important;
    background: #F5F5F5!important;
    border-radius: 3px!important;
    color: #000!important;
    border: 1px solid #000!important;
    z-index: 9;
    top: 35px;
    font-size: 12px;
    text-transform: capitalize;
    text-align: left;
    max-width: 135px;
}
.apbgf-appointment-block span.apbgf-tooltip-text::after {
    content: '';
    border-bottom: 4px solid #000;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    position: absolute;
    left: 20px;
    top: -9px;
    border-top: 4px solid transparent!important;
    right: unset!important;
    width: unset!important;
    bottom: unset!important;
    height: unset;
}
.apbgf-appointment-block .apbgf-pending {
    background-color: #ffa800;
    padding: 5px;
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    display: inline-block;
    margin-top: 10px;
    width: 75px;
    line-height: 1;
    text-align: center;
    font-family: 'Poppins-Regular';
}
.apbgf-appointment-block .apbgf-confirmed {
    background-color: #00aeff;
    padding: 5px;
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    display: inline-block;
    margin-top: 10px;
    width: 75px;
    line-height: 1;
    text-align: center;
    font-family: 'Poppins-Regular';
}
.apbgf-appointment-block .apbgf-visited {
    background-color: #48f1a7;
    padding: 5px;
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    display: inline-block;
    margin-top: 10px;
    width: 75px;
    line-height: 1;
    text-align: center;
    font-family: 'Poppins-Regular';
}
.apbgf-appointment-block .apbgf-cancelled {
    background-color: #ff0000;
    padding: 5px;
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    display: inline-block;
    margin-top: 10px;
    width: 75px;
    line-height: 1;
    text-align: center;
    font-family: 'Poppins-Regular';
}
.calander-content{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #D1E4F7;
    margin-top: 20px;
}
.calander-content .calander-top-heading{
    width: 40%;
}
.calander-content .calander-top-heading h2{
    color: #1d2327;
    font-family: 'Poppins-Regular' !important;
    font-size: 30px;
}
.calander-content .calander-top-loaction{
    width: 60%;
    text-align: right;
}
.calander-content .calander-top-loaction select{
    width: 30%;
    background-color: #fff;
    padding: 6px 10px;
    border: 1px solid #57b0ee;
    color: #2e455c;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    margin: 18px 10px 25px 0px;
    border-radius: 7px;
}
.calander-slots-color{
    text-align: right;
    margin-top: 40px;
}
.calander-slots-color ul {
    margin: 0;
    padding: 0;
    display: inline-block;
    background: #fff;
    border: 1px solid #57b0ee;
    border-radius: 6px;
    padding: 0px 20px;
}
.calander-slots-color ul li{
    display: inline-block;
    font-size: 15px;
    color: #818181;
    font-family: 'Poppins-Regular';
    padding: 10px 1px;
    padding-top: 10px;
    position: relative;
    margin: 0px 20px;
}
.calander-slots-color ul li:before{
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: -18px;
    border-radius: 50px;
    top: 13px;
}
.calander-slots-color ul li.pending:before{
    background: #ffa800;
}
.calander-slots-color ul li.confirmed:before{
    background: #00aeff;
}
.calander-slots-color ul li.visited:before{
    background: #48f1a7;
}
.calander-slots-color ul li.cancelled:before{
    background: #ff0000;
}
#apbgf_selected_bookings {
    margin-top: 15px;
}
#apbgf_selected_bookings .apbgf_selected_booking {
    letter-spacing: 1px;
    font-size: 12px;
    text-transform: uppercase;
    display: flex;
    margin-bottom: 8px;    
}
#apbgf_selected_bookings .apbgf_selected_booking .apbgf_delete_booking {
    margin-right: 5px;
    cursor: pointer;
}
.apbgf_service_other_wrapper {
    display: none;
    margin-top: 15px
}

@media screen and (max-width: 575px) {
    .apbgf-timezone {
        position: relative!important;
        display: block!important;
        margin-bottom: 12px!important;
        max-width: 100%!important;
        left: 0!important;
        text-align: center!important;
    }

    .apbgf-cal-container .apbgf-month-changer {
        font-size: 21px;
    }

    .apbgf-table-container {
        overflow-x: scroll;
    }

    .apbgf-cal-container h3 {
        padding: 12px 12px 0 12px;
    }
}