.x-col:has(.od-scheduler-container) {
    display: flex;
    place-content: center;
}
.od-scheduler-container {
    width: 700px;
    max-width: 700px !important;
    background-color: rgb(255,255,255);
}
.od-scheduler-form {
    font-family: inherit;
    margin: 0 auto; /* Center the container horizontally */
    padding: 15px 15px; /* Add padding to the container */
    /* border: solid 1px;
    border-radius: 20px; */
    min-height: 800px;
    margin-bottom: 50px !important;
}
.od-scheduler-row {
    display: flex; /* Use flexbox for the row layout */
    flex-wrap: wrap; /* Allow row items to wrap to the next line */
    margin: 15px 15px; /* Add negative margin to counteract container padding */
    gap: 10px;
}
.od-scheduler-col {
    flex: 1; /* Make columns flexible to distribute space evenly */
    /* padding: 0 15px; */
    box-sizing: border-box; /* Include padding in the column width */
}
.od-scheduler-col-1 {
    flex: 1;
}
.od-scheduler-col-2 {
    flex: 2;
}
.od-scheduler-col-3 {
    flex: 3;
}
.od-scheduler-col-4 {
    flex: 4;
}
.od-scheduler-col-5 {
    flex: 5;
}
.od-scheduler-col-6 {
    flex: 6;
}
.od-scheduler-col-7 {
    flex: 7;
}
.od-scheduler-col-8 {
    flex: 8;
}
.od-scheduler-col-9 {
    flex: 9;
}
.od-scheduler-row:has(.od-scheduler-spinner) {
    text-align: center;
}
.od-scheduler-spinner-first-loading {
    width: 64px;
    height: 64px;
}
.od-scheduler-row:has(.od-scheduler-spinner-first-loading) {
    text-align: center;
}
.od-scheduler-loading {
    display: none;
}
.od-scheduler-form-title {
    margin: 5px;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    line-height: 1;
}
.od-scheduler-centered {
    text-align: center;
}
.od-scheduler-left {
    text-align: left;
}
.od-scheduler-right {
    text-align: right;
}
.od-scheduler-align-center {
    align-self: center;
}

/* -------- Appointment Type -------- */

.od-apt-type-page {

}

.od-apt-type-btn {
    display: inline-block;
    padding: 10px 20px;
    width: -webkit-fill-available;
    background-color: rgb(228 228 231);
    color: rgb(63 63 70); /* Text color */
    text-decoration: none !important;
    border: 1px solid rgb(228 228 231); /* Button border */
    border-radius: 5px; /* Rounded corners */
    text-align: left;
    font-weight: 500;
    outline: none;
}

.od-apt-type-btn:hover {
    color:rgb(63 63 70);
    background-color: rgb(212 212 216); /* Hover background color */
    border-color: rgb(212 212 216); /* Hover border color */
}

/* -------- Appointment Slot -------- */

.od-apt-slot-page {
    /* display: none; */
}
.od-apt-slot-page .od-scheduler-form-title {
    text-align: center;
}
.od-scheduler-row:has(.od-scheduler-avatar-description) {
    margin-bottom: 0;
}
.od-scheduler-col:has(.od-scheduler-avatar) {
    flex: 1;
    align-self: center;
    text-align: right;
}
.od-scheduler-col:has(.od-scheduler-avatar-description) {
    flex: 8;
    text-align: left;
}
.od-scheduler-avatar {
    width: 50px;
    max-width: unset;
}
.od-scheduler-avatar-description{
    color:#ccc;
    margin: 0;
}
.od-scheduler-avatar-practice-name{
    line-height: 0.8;
    margin: 0;
}

/* -------- Appointment Data -------- */
.od-apt-data-page {
    /* display: none; */
}
.od-apt-data-page .od-apt-details {
    background-color: #ccc !important;
    padding: 15px 20px;
    border-radius: 10px;
}
.od-apt-data-page .od-apt-details .od-scheduler-col {
    align-self: end;
}
.od-apt-data-page  .od-apt-details p {
    line-height: 1;
    margin: 10px 0px;
}
.od-apt-data-page .od-apt-details-date {
    text-align: left;
}
.od-apt-data-page .od-apt-details-address p, .od-apt-data-page .od-apt-details-date p {
    color: #000000;
}
.od-apt-data-page .od-apt-details-date p:is(:nth-child(1)) {
    font-size: 15px;
    font-weight: bold;
}
.od-apt-data-page .od-apt-details-date p:is(:nth-child(2)) {
    /* font-weight: 600; */
}
.od-apt-data-page .od-apt-details-address {
    text-align: left;
}
.od-apt-data-page .od-apt-details-address p:is(:nth-child(1)) {
    /* font-weight: 600; */
}
.od-apt-data-page .od-scheduler-form-title {
    margin-top: 40px;
}
.od-apt-data-page input,  .od-apt-data-page select{
    width: 100% !important;
    height: 2.65em !important;
    background-color: #fff;
    border: 1px solid #6b7280 !important;
    border-width: 1px;
    padding: 0 .65rem !important;
    font-size: 15px !important;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: #000000 !important;
    margin: 0 !important;
    border-radius: .375rem;
    /*width: calc(100% - 25px);*/
    outline: none;
}
.od-apt-data-page select {
    width: 100%;
    /* padding: 5px 10px; */
    height: auto;
}
.od-scheduler-pid-form span {
    float: left;
}
.od-scheduler-pid-form label {
    text-align: left;
    color: #000000;
}
.od-scheduler-pid-form input, .od-scheduler-pid-form textarea {
    width: -webkit-fill-available;
}
.od-scheduler-is-guardian-description {
    margin-bottom: 0px;
}
.od-scheduler-is-guardian {
    margin-top: 0px;
}
.od-scheduler-is-guardian .od-scheduler-col{
    padding-right: 0;
    text-align: left;
}
.od-scheduler-is-guardian input{
    width: auto !important;
    margin-right: 5px;
    outline: none;
}
.od-scheduler-is-guardian label {
    display: inline-flex;
    padding: 0 10px;
}
.od-apt-data-btn, .od-pat-info-btn, .od-check-data-btn {
    display: inline-block;
    padding: 10px 20px;
    width: -webkit-fill-available;
    background-color: rgb(59 130 246);
    color: white; /* Text color */
    text-decoration: none !important;
    border: 1px solid rgb(59 130 246); /* Button border */
    border-radius: 5px; /* Rounded corners */
    text-align: center;
    font-weight: 500;
    margin: 40px 0px 20px 0px;
}
.od-scheduler-submission-button {
    display: inline-block;
    padding: 10px 20px;
    width: -webkit-fill-available;
    background-color: rgb(59 130 246);
    color: white; /* Text color */
    text-decoration: none !important;
    border: 1px solid rgb(59 130 246); /* Button border */
    border-radius: 5px; /* Rounded corners */
    text-align: center;
    font-weight: 500;
    margin: 40px 10px 20px 10px;
}
.od-apt-data-btn:hover, .od-check-data-btn:hover, .od-pat-info-btn:hover {
    background-color: rgb(22, 108, 247);
    border-color: rgb(22, 108, 247);
    color: white;
}
.od-scheduler-patient-info-submission {
    display: none;
}
.is-insurance-description {
    margin-bottom: 0px;
}
.is-insurance-description .od-scheduler-col {
    text-align: left;
}
.is-insurance-description label {
    display: inline-flex;
}
.od-scheduler-is-guardian-yes-description {
    margin-top: 20px;
    text-align: left;
    line-height: 1;
}
.od-scheduler-is-guardian-yes-description h5 {
    font-family: inherit;
}
.is-insurance-valid {
    margin: 0px 15px !important;
}
.is-insurance-valid input{
    width: auto !important;
    outline: none;
}
.is-insurance-valid label {
    padding: 0 10px;
    display: inline-flex;
}
.od-scheduler-row:has(.is-insurance-valid-warning) {
    margin: 0px 15px;
}
.is-insurance-valid-warning {
    margin: 0;
}
.od-scheduler-is-guardian-yes  {
    display: none;
}
.od-scheduler-is-guardian-yes textarea{
    background-color: #fff;
    border-color: #6b7280;
    border-width: 1px;
    padding: .2rem .75rem;
    font-size: 15px !important;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: #000000;
    margin: 0;
    border-radius: .375rem;
}
.od-scheduler-is-guardian-no  {
    /* padding: 0px 10px; */
    display: none;
}
.od-scheduler-is-guardian-no h3 {
    margin-bottom: 0px;
}
.od-scheduler-is-guardian-insurance {
    display: none;
}
.od-scheduler-sex {
    -webkit-appearance: none;
    background-image: url('../img/arrow.svg');
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 20px; /* Adjust the padding to make space for the arrow */
}
.od-scheduler-insurance {
    -webkit-appearance: none;
    background-image: url('../img/arrow.svg');
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 20px; /* Adjust the padding to make space for the arrow */
}

/* -------- Appointment submission -------- */
.od-thanks-page {

}
.od-thanks-page .od-apt-details {
    background-color: #ccc;
    padding: 20px 10px;
}
.od-thanks-page .od-apt-details .od-scheduler-col {
    align-self: end;
}
.od-thanks-page  .od-apt-details p {
    line-height: 0.5;
}
.od-thanks-page .od-apt-details-date {
    padding: 10px 0px;
    text-align: left;
}
.od-thanks-page .od-apt-details-date p{
    color: rgb(0,0,0);
}
.od-thanks-page .od-apt-details-date p:is(:nth-child(1)) {
    font-size: 13px;
}
.od-thanks-page .od-apt-details-date p:is(:nth-child(2)) {
    font-weight: 600;
}
.od-thanks-page .od-apt-details-address {
    padding: 10px 0px;
    text-align: left;
}
.od-thanks-page .od-apt-details-address p:is(:nth-child(1)) {
    font-size: 13px;
}
.od-thanks-page .od-apt-details-address p:is(:nth-child(2)) {
    font-weight: 500;
}
.od-thanks-page .od-add-to-calendar p:is(:nth-child(1)) {
    font-size: 13px;
}
.od-thanks-page .od-add-to-calendar {
    padding: 10px 0px;
    font-size: clamp(16px, 4vw, 22px);
}
.od-thanks-page .od-apt-details-text {
    padding: 10px 0px;
    text-align: left;
}
.od-thanks-page .od-apt-details-text p {
    line-height: 1.4;
}
.od-thanks-page .od-scheduler-form-title {
    margin-top: 40px;
}
.od-thanks-page .od-shedule-description {
    margin: 20px 0px;
    padding: 10px 20px;
}
.od-thanks-page .od-shedule-description p{
    line-height: 1.4;
}

/* ----- Stepper for Appointment ----- */
.od-stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    text-align: left;
}
.od-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}
.od-step-number {
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    opacity: 0.4;
}
.od-step-number a{ 
    color: #fff !important;
    text-decoration: none;
    outline: none;
    font-weight: bold;
}
.od-step.active .od-step-number {
    background-color: #000;
    font-size:36px;
    width: 60px;
    height: 60px;
    opacity: 1;
}
.od-step-border {
    width: 10px;
    height: 1px;
    color: #ccc;
    background-color: #ccc;
    border: none;
    margin: 0px 3px;
}
.od-stepper-disabled {
    cursor: not-allowed; /* Change cursor to not-allowed */
    pointer-events: none; /* Disable pointer events */
}

/*-- Dropdown Element --*/
.od-dropdown {
    position: relative;
    display: inline-block;
}
.od-dropdown-trigger {
    display: inline-flex;
    gap: 5px;
    padding: 10px 18px;
    background-color: rgb(228 228 231);
    color: rgb(63 63 70); /* Text color */
    text-decoration: none !important;
    border: 1px solid rgb(228 228 231); /* Button border */
    border-radius: 30px; /* Rounded corners */
    text-align: left;
    font-weight: 500;
    margin: 5px;
    outline: none;
}
.od-dropdown-trigger svg {
    width: 24px;
    vertical-align: text-bottom;
    color: rgb(63 63 70); /* Text color */
}
.od-dropdown-trigger:hover {
    color:rgb(63 63 70);
    background-color: rgb(212 212 216); /* Hover background color */
    border-color: rgb(212 212 216); /* Hover border color */
}
.od-dropdown-menu {
    display: none;
    margin: 0px 30px;
    left: 15px;
    position: absolute;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.od-dropdown-menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.od-dropdown-menu a:hover {
    background-color: #ddd;
    color: black;
}
.od-dropdown.show .od-dropdown-menu {
    display: block;
}

/*-- Filter Dropdown Element --*/
.od-filter-dropdown {
    position: relative;
    display: inline-block;
    width: -webkit-fill-available;
}
.od-filter-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    padding: .2rem .75rem;
    background-color: #fff;
    color: #000;
    text-decoration: none !important;
    border: 1px solid #6b7280 !important;
    border-radius: .375rem;
    text-align: left;
    font-size: 100% !important;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    outline: none;
}
.od-filter-dropdown-trigger svg {
    width: 24px;
    vertical-align: text-bottom;
    color: rgb(63 63 70); /* Text color */
}
.od-filter-dropdown-trigger:hover {
    color: black !important;
}
.od-filter-dropdown-menu {
    display: none;
    width: 100%;
    position: absolute;
    background-color: #f1f1f1;
}
.od-filter-dropdown-menu a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    display: flex;
    text-align: left;
    outline: none;
}
.od-filter-dropdown-menu a:hover {
    background-color: #ddd;
    color: black !important;
}
.od-filter-dropdown.show {
    margin-bottom: 80px;
}
.od-filter-dropdown.show .od-filter-dropdown-menu {
    display: block;
}
.od-filter-box {
    margin: 10px !important;
    width: -webkit-fill-available !important;
}
.od-filter-dropdown-item-input {
    width: 100%;
    margin: 0px;
    position: absolute;
    background-color: #fff;
    z-index: 1;
    max-height: 150px;
    overflow-y: auto;
    top: 0px;
    border: 1px solid #6b7280;
    border-bottom: none;
}
.od-filter-dropdown-item-input input {
    margin-bottom: 11px !important;
}
.od-filter-dropdown-item-list {
    width: 100%;
    margin: 0px;
    position: absolute;
    background-color: #fff;
    z-index: 1;
    max-height: 150px;
    overflow-y: auto;
    top: 46px;
    border: 1px solid #6b7280;
    border-top: none;
    margin-top: 10px;
}

/* -- Calendar --*/
#od-scheduler-sub-calendar {
    text-align: center;
}
.od-scheduler-calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #ddd;
}
.od-scheduler-calendar-header .month-year {
    font-size: 20px;
    font-weight: bold;
    margin: 0 10px;
}  
#od-scheduler-sub-calendar table {
    width: 100%;
    border-collapse: collapse;
}  
#od-scheduler-sub-calendar th, #od-scheduler-sub-calendar td {
    padding: 5px;
    /* border: 1px solid #ddd; */
    font-size: 13px;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    border-top: none;
    color: rgb(0, 0, 0);
}  
#od-scheduler-sub-calendar tbody { 
    border-bottom: 1px solid #ddd;
}
.od-scheduler-line {
    height: 1px;
    border-width: 0;
    color: #ddd;
    background-color: #ddd;
}
#od-scheduler-sub-calendar th {
    /* background-color: #f2f2f2; */
}
#od-scheduler-sub-calendar svg {
    width: 24px;
    vertical-align: text-bottom;
    color: rgb(63 63 70); /* Text color */
}
#od-scheduler-sub-calendar .od-apt-slot-btn, .od-scheduler-calendar-next-schedule {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgb(228 228 231);
    color: rgb(63 63 70); /* Text color */
    text-decoration: none !important;
    border: 1px solid rgb(228 228 231); /* Button border */
    border-radius: 5px; /* Rounded corners */
    text-align: left;
    font-weight: 700;
    font-size: 12px !important;
    margin: 0px;
    outline: none;
}
#od-scheduler-sub-calendar .od-apt-slot-btn:hover, .od-scheduler-calendar-next-schedule:hover {
    color:rgb(63 63 70);
    background-color: rgb(212 212 216); /* Hover background color */
    border-color: rgb(212 212 216); /* Hover border color */
}
#od-scheduler-sub-calendar th {
    width:20%;
}
#od-scheduler-sub-calendar th span:is(:nth-child(1)) {
    color: #aaa;
}
#od-scheduler-sub-calendar th:is(:nth-child(1)), #od-scheduler-sub-calendar th:is(:nth-child(2)) {
    width:auto;
}
#od-scheduler-sub-calendar th:is(:nth-child(3)), #od-scheduler-sub-calendar th:is(:last-child){
    width:20px;
}
#od-scheduler-sub-calendar td span:is(:nth-child(1)) {
    line-height: 1.2;
    display: inline-table;
}
.od-scheduler-calendar-next-shedule {
    margin: 30px 5px;
}
.od-scheduler-calendar-next-shedule a {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}
.od-scheduler-calendar-next-shedule a:hover {
    background-color: #29552b;
}
.od-shedule-description {
    margin: 20px 0px;
    border-radius: 10px;
    background: rgb(255,171,64);
    margin-top: 20px;
    padding: 10px 20px;
}
.od-shedule-description p{
    margin: 0px !important;
    color: #fff;
    font-weight: bold;
}
.od-scheduler-col:has(.od-dropdown) {
    flex: 6;
    text-align: center;
}
.od-scheduler-col:has(.od-scheduler-calendar-button) {
    flex: 4;
    text-align: left;
}
.od-scheduler-calendar-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(228 228 231);
    color: rgb(63 63 70); /* Text color */
    text-decoration: none !important;
    border: 1px solid rgb(228 228 231); /* Button border */
    border-radius: 30px; /* Rounded corners */
    text-align: left;
    font-weight: 500;
    margin: 5px;   
    outline: none;
}
.od-scheduler-calendar-button svg {
    width: 24px;
    vertical-align: text-bottom;
    color: rgb(63 63 70); /* Text color */
}
.od-scheduler-calendar-button:hover {
    color:rgb(63 63 70);
    background-color: rgb(212 212 216); /* Hover background color */
    border-color: rgb(212 212 216); /* Hover border color */
}
.od-main-calendar {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    z-index: 999;
}
.od-next-five-days, .od-today {
    color: white !important;
    background-color: black;
    border-radius: 9999px;
    width: initial;
    aspect-ratio: 1 / 1;
    justify-self: center;
}
.od-calendar-content {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.od-scheduler-month-year {
    color: rgb(0, 0, 0);
}
.od-day {
    padding: 5px;
    text-align: center;
    cursor: pointer;
    color: rgb(0, 0, 0);
}
.od-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.od-disabled {
    color: #ccc; /* Change text color to gray */
    cursor: not-allowed; /* Change cursor to not-allowed */
    pointer-events: none; /* Disable pointer events */
}
.od-loading-disabled {
    /* color: #ccc; Change text color to gray */
    cursor: not-allowed; /* Change cursor to not-allowed */
    pointer-events: none; /* Disable pointer events */
    opacity: 0.5; /* Reduce opacity for a disabled look */
}
.od-previous-month-day, .od-next-month-day {
    color: #ccc; /* Change text color to gray */
}
.od-previous-month, .od-next-month {
    outline: none;
    border: none;
    background-color: transparent;
}
.od-previous-month svg, .od-next-month svg{
    width: 24px;
}
.od-previous-month:hover, .od-next-month:hover {
    cursor: pointer;
    color: #ccc;
}
.od-next-month-trigger, .od-previous-month-trigger {
    outline: none;
}
.x-row-inner:has(.od-scheduler-container) h3 {
    display: none;
}
.x-row-inner:has(.od-scheduler-container) .x-text .pdefault {
    display: none;
}
.x-modal-content:has(.od-scheduler-container) .x-row-inner div:has(.x-text .pdefault) {
    padding: 0;
}
.od-scheduler-note {
    width: -webkit-fill-available;
}
#od-pat-confirm-page .od-scheduler-sensitive-patient-info .od-scheduler-col {
    display: contents;
}
#od-check-patient-type-page .od-scheduler-sensitive-patient-info .od-scheduler-col {
    display: contents;
}
.od-pat-info-page .od-scheduler-pid-form input {
    border: 1px solid #6b7280 !important;
    color: #000;
}
@media screen and (max-width: 842px) {
    .od-scheduler-container {
        min-width: auto;
        width: unset;
    }
    .od-scheduler-col:has(.od-dropdown) {
        flex: auto;
        text-align: left;
        margin-bottom: 10px;
    }
    .od-scheduler-col:has(.od-scheduler-calendar-button) {
        flex: auto;
        text-align: left;
    }
    .od-scheduler-col {
        flex: 1;
    }
    #od-scheduler-sub-calendar th {
        width: 100%;
    }
    .od-dropdown-menu {
        margin: 0px;
    }
}

@media screen and (max-width: 500px) {
    .od-scheduler-form {
        padding: 0;
        border: none;
        font-family: inherit;
    }
    .od-scheduler-row {
        margin: 15px 10px;
        gap: 10px;
    }
    .od-scheduler-col {
        /* padding: 0px  !important; */
    }
    .od-scheduler-is-guardian {
        margin-top: 0px !important;
    }
    .od-scheduler-is-guardian-description {
        margin-bottom: 0px;
    }
    .is-insurance-description {
        margin-bottom: 0px;
    }
    .od-dropdown-menu {
        margin: 0px;
    }
    .is-insurance-valid {
        margin: 0px 15px !important;
    }
    .is-insurance-valid .od-scheduler-col {
        /*padding: 0px 10px !important;*/
    }
    .od-scheduler-is-guardian-insurance .od-scheduler-col {
        /* padding: 0px; */
        /* margin: 0px 15px !important; */
    }
    .od-step-border {
        width: 5px;
        border: none;
        margin: 0px 2px;
    }
}