.gray-bg {
    font-family: 'Avenir', sans-serif !important;
    width: 100%;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
}

/* width */

.gray-bg ::-webkit-scrollbar {
    width: 5px;
}

/* Handle */

.gray-bg ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */

.gray-bg ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.gray-bg .calender_container {
    border-radius: 8px;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.08);
    width: auto;
    background-color: #fff;
    width: auto;
    height: auto;
}

.gray-bg .d-hide {
    display: none;
}

.gray-bg .ui-widget-header {
    background-color: transparent !important;
}

.gray-bg .ui-widget-header {
    border-color: transparent !important;
}

.gray-bg .ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border-color: transparent !important;
    padding: 0;
    border-radius: 50%;
    margin: 5px 8px !important;
    font-size: 15px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 36px;
}

.gray-bg .ui-datepicker th {
    font-size: 15px;
    font-weight: 200;
}

.gray-bg .ui-state-active,
.gray-bg .ui-widget-content .ui-state-active,
.gray-bg .ui-widget-header .ui-state-active {
  font-size: 18px !important;
  background-color: #d9f1ff !important;
}

.gray-bg .ui-datepicker {
    width: auto;
}

.gray-bg .ui-widget.ui-widget-content {
    border-color: transparent;
}

.ui-datepicker .ui-datepicker-prev {
    left: 75% !important;
}

.ui-datepicker .ui-datepicker-title {
    margin: 0 10px 20px;
    line-height: 1.8em;
    text-align: left;
}

.d-hide {
    display: none;
}

.calendar_container {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 55%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 1060px;
    transition: all 0.5s ease-in-out;
    /* opacity: 0; */
}

.date_conatiner {
    min-height: auto;
    width: 100%;
    overflow-x: auto;
    /* padding: 0 15px; */
}

.timezone-container{
    padding: 25px 15px 20px 15px;
}

.timezone-container .select2-container {
    width: 100% !important;
}

.date_conatiner::-webkit-scrollbar,
.date_conatiner::-webkit-scrollbar-thumb {
    height: 5px;
}

.custom-col-55 {
    display: flex;
    width: 55%;
}

.appt-inner {
    position: relative;
    display: flex;
    width: 100%;
}

.calendar_container.openSlider .custom-col-55 {
    width: 67%;
}

.details_container {
    position: relative;
    width: 45%;
    border-right: 1px solid #ccc;
}

.date_conatiner h2 {
    margin: 20px 0 20px 15px;
    font-weight: 500;
}

.time_conatiner {
    width: 35%;
    padding: 0 10px 0;
    display: none;
}

.time_conatiner h5 {
    font-size: 15px;
    margin-top: 80px;
    margin-bottom: 15px;
    font-weight: 500;
}

.time_date_container {
    height: 330px;
    overflow-y: scroll;
    padding-right: 15px;
}

.time_date_container p {
    font-size: 15px;
    font-weight: 500;
    padding: 11px 0;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #00a2ff;
    color: #666;
    margin: 0 0 20px 0;
    box-sizing: border-box !important;
    width: 100%;
    transition: all 0.3s ease;
}

.confirm_btn {
    display: none;
}

.time_details.active p {
    width: 50%;
    background-color: transparent;
    border: 1px solid #03a9f4;
}

.time_details.active p.confirm_btn {
    color: #fff;
}

.time_details.active p:nth-child(2) {
    margin-left: 10px;
    background-color: #00a2ff;
}

.time_details.active .confirm_btn {
    display: block;
}

.time_details.active p:nth-child(2) {
    background-color: #00a2ff;
    border: none;
}

.time_date_container p:hover {
    border: 1px solid #00a2ff;
    background-color: rgb(250, 253, 255);
    border-radius: 10px;
}

.time_details .date_select:hover {
    background-color: #03a9f4;
    color: #fff;
}

.ba_agent_image {
    padding: 30px 0 !important;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.comp_log {
    padding: 0 0 30px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px;
}
.comp_log img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100px;
    border-radius: 5px;
}
.comp_log .logo_header {
    text-align: center;
    padding-right: 7px;
}
.comp_log .logo_header h4 {
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 3px;
}
.comp_log .logo_img_container {
    margin: 0;
    padding: 10px;
}
.comp_log .logo_img {
    text-align: right;
    border-right: #ccc solid 1px;
}
.comp_log .logo_txt {
    font-weight: bold;
    text-align: left;
    word-wrap: break-word;
}
.details h4 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 0 20px;
    color: #949699;
}
.details h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    line-height: 32px;
    padding: 0 20px;
    margin: 10px 0;
    color: #4d5055;
}
.details .location_det {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    padding: 0 20px;
    margin-bottom: 20px;
    color: #949699;
}
.details .location_det span {
    font-size: 19px;
    margin-right: 5px;
}
.details p {
    font-size: 15px !important;
    line-height: 1.5 !important;
    padding: 0 20px;
    color: #4d5055;
}

.calendar_container.openSlider {
    width: 75%;
    transition: 0.5s all linear;
}

.calendar_container.openSlider .details_container {
    width: 37%;
}

.calendar_container.openSlider .date_conatiner {
    width: 65%;
}

.openSlider .time_conatiner {
    display: block;
    animation: slide 1s 1;
    /* animation-delay: 2s; */
}

#timezone-dropdown.invalid {
    border-color: #f06548;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f06548'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f06548' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 2rem center;
    background-size: calc(.75em + .5rem) calc(.75em + .5rem)
}

@keyframes slide {
    0% {
        transform: translateX(-20%);
        opacity: 0;
    }
    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

.ui-widget-header .ui-icon {
    background-image: url(../images/right-arrow.png) !important;
    background-size: 12px;
}
.ui-widget-header .ui-icon {
    background-position: center;
}
.ui-icon-circle-triangle-w {
    transform: rotate(180deg) !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    padding: 15px;
    border-radius: 50% !important;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background-color: rgba(242, 250, 255, 0.75);
    border: none !important;
}

.time_details {
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

/* Loader */
.appt-loader {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgb(255 255 255 / 61%);
    z-index: 10;
}

.show.appt-loader {
    display: flex !important;
}

.thank-popup {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #F7F7F7;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
}

.show.thank-popup {
    opacity: 1;
    visibility: visible;
}

.thank-popup-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

.thank-popup-btnGrp {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-popup-close {
    background: #26ae90;
    border: 1px solid #26ae90;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    transition: all ease 0.3s;
}

.thank-popup-close:hover {
    color: #26ae90;
    background: transparent;
}
.fatagent_crm_confirmation_container{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    width: 100%;
}
.fatagent_crm_confirmation_container img{
    width: 20px;
    height: auto;
    margin-right: 10px;
}
.fatagent_crm_add_to_calendar_select{
    border: none;
    background-color: transparent;
    min-width: 170px;
    border-bottom: 1px dotted #3f93cf;
    font-size: 15px;
    padding: 0 0 5px;
    color: #3f93cf;
}
.fatagent_crm_add_to_calendar_select:focus{
    outline: none;
}
.fatagent_crm_add_to_calendar_select option{
    color: #3f93cf;
}

.custom-contact-field {
    width: 100% !important;
    padding: 6px 10px !important;
    margin-top: 5px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border: 1px solid #ddd !important;
    outline: none;
}
.appointment-contact-save {
    font-size: 16px !important;
    padding: 7px 18px !important;
    border: 1px solid #efefef !important;
    border-radius: 4px !important;
    cursor: pointer;
    color: #FFF;
    background-color: #3f93cf;
}
.appointment-contact-form {
    padding: 20px;
    margin: 60px 0px;
    width: 100%;
    animation: slide 0.5s 1;
}
.back-to-calender {
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin: 10px 0px;
}
/* END */

@media (max-width: 1300px) {
    .calendar_container {
        width: 75%;
    }
    .details_container {
        width: 100%;
    }
    /* .calendar_container.openSlider .date_conatiner{
        width: 40%;
    } */
    .calendar_container.openSlider .details_container {
        width: 34%;
    }
    .calendar_container.openSlider {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .calendar_container {
        flex-direction: column;
        width: 60%;
    }
    .comp_log .logo_img {
        text-align: center;
        border-right: 0;
    }
    .comp_log .logo_txt {
        margin-top: 5px;
        text-align: center;
    }
    .comp_log .logo_txt p {
        margin: 0 0 3px;
    }
    .time_conatiner h5 {
        margin-top: 25px;
        margin-left: 5px;
    }
    .custom-col-55 {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .details_container {
        width: 100%;
        border-right: 0px solid transparent;
    }
    .date_conatiner {
        width: 100%;
        min-height: 400px;
    }

    .appt-inner {
        flex-wrap: wrap;
    }

    .calendar_container.openSlider .details_container {
        width: 100%;
    }
    .calendar_container.openSlider .date_conatiner {
        width: 100%;
    }
    .time_conatiner {
        width: 40%;
    }
    .time_date_container {
        padding: 0;
        margin-left: 7px;
        height: 480px;
    }

    .time_date_container p {
        font-size: 15px;
    }
    .calendar_container.openSlider .custom-col-55 {
        width: 100%;
    }
    .time_conatiner {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .gray-bg{
        align-items: flex-start;
        padding: 25px;
    
    }
}

@media (max-width: 700px) {
    .calendar_container.openSlider {
        width: 100%;
    }
    .calendar_container {
        width: 100%;
    }
    .custom-col-55 {
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
    }
    .calendar_container.openSlider .date_conatiner {
        width: 100%;
    }
    .time_conatiner {
        width: 100%;
    }
    .calendar_container.openSlider .custom-col-55 {
        width: 100%;
    }
}

@media (max-width: 445px) {
    .date_conatiner {
        padding: 0;
    }
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        margin: 4px 10px 10px !important;
        font-size: 14px;
        width: 25px;
        height: 25px;
        line-height: 25px;
    }
}

@media (max-width: 445px) {
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        margin: 4px 5px 10px !important;
    }
}
.showOn {
    display: flex;
    flex-direction: row;
    display: none;
}
.showOn p {
    width: 48%;
    margin-left: 2%;
}
.showOn p:nth-child(2) {
    margin-left: 0;
}

.bookable a {
    background-color: #F2FAFF !important;
    color: #0ea7ff !important;
}

.bookable a:hover {
    background-color: #D9F1FF !important
}

.notbookable span {
    background-color: transparent !important;
    color: #000 !important;
}

.ui-datepicker-today span {
    background-color: #f3f3f3 !important;
    color: #0ea7ff !important;
}

.ui-datepicker-today span::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #00A2FF;
    border-radius: 50%;
    transform:  translate(-120%, 600%);
}

.ui-state-default.ui-state-highlight {
    position: relative;
}

.ui-state-default.ui-state-highlight::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    margin-top: 13px;
    background-color: #00A2FF;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}