:root {
    --white-color: #FFFFFF;
}

html {
    min-height: 100%;
}

body {
    min-height: calc(100vh - 100px);
    background-color: var(--ter-color);
    color: var(--prim-color);
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;   
}

.main-body {
    margin-top: 125px;
}

a {
    color: var(--prim-color);
}
    a:hover {
        color: var(--prim-color);
        text-decoration: none !important;
    }


.field-validation-error {
    display: block; /* or inline-block if needed */
    word-break: break-word;
    hyphens: auto;
    padding-left: 2px;
    margin-right: -15px;
    font-size: 15px;
    line-height: 1.2 !important;
}

.btn-weekselector-left {
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
    height: 38px;
    width: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-weekselector-right {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    height: 38px;
    width: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.week-date-box {
    border-radius: 1px !important;
    height: 38px;
}

    .week-date-box:hover {
        box-shadow: none;
    }

    .week-date-box .dx-texteditor-input {
        margin-left: 40px;
        font-weight: 500 !important;
    }


@media (max-width: 768px) {
    .week-date-box .dx-texteditor-input {
        margin-left: 0px;
        font-weight: 500 !important;
    }
}

.icon-sm {
    font-size: 1.5em;
    margin-right: 5px;
}

.form-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    line-height: 1em !important;
    letter-spacing: 0.1em !important;
    margin-left: 12px;
}

.socialIcon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

svg path {
    fill: var(--prim-color);
}

.footer {
    position: fixed !important;
    padding: 5px;
    margin-top: 20px;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    flex-shrink: 0;
}

.dashboard-container {
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 20px;
}

@media (max-width: 992px) {
    .dashboard-container {
        padding-left: 45px;
        padding-right: 45px;
    }
}

@media (max-width: 767px) {
    .dashboard-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

#languagePartial {
    margin: 5px 5px 5px 5px;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid var(--foreground-color);
}

.nav-item .dropdown {
    position: relative !important;
}

.nav-item > .dropdown-menu {
    position: absolute !important;
}

.navbar-logo-container {
    left: 0; /* Align it to the left edge of its container */
    max-width: 100%; /* Ensure it doesn't overflow the container */
    text-align: left;
    padding: 0 0 0 15px;
    width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .navbar-logo-container {
        padding: 0 0 0 10px;
        width: 150px;
        max-width: 150px;
    }
}

.navbar-logo {
    max-height: 60px; /* Control max height */
    max-width: 285px; /* Control max width */
    height: auto;
    min-height: 100%;
    width: auto;
}

@media (max-width: 768px) {
    .navbar-logo {
        max-height: 60px; /* Reduce logo size */
        max-width: 150px;
        width: auto;
        height: auto;
        min-height: 100%;
    }
}

#accountPartial,
#languagePartial {
    margin: 5px 5px 5px 5px;
}

.navbar-without-sidebar-bg {
    background-color: transparent !important;
}

.navbar-with-sidebar-bg {
    background-color: var(--white-color) !important;
}


.dropdown-menu {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    color: var(--prim-color);
    border-color: var(--sec-color);
}

    .dropdown-menu .dropdown-item:hover {
        background-color: var(--sec-color);
    }

@media (max-width: 767px) {
    .center-md {
        text-align: center; /* Horizontally center */
    }
}

.col-header {
    text-align: left;
}

@media only screen and (max-width: 767px) {
    .col-header {
        text-align: center;
    }
}

.sessionModal {
    border: 5px solid var(--white-color);
    background-color: var(--white-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 9999; /* Ensure it's above other elements */
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-control:hover,
.form-check-input:focus,
.form-check-input:hover,
.dx-dropdowneditor-button-visible:focus,
.dx-dropdowneditor-icon:focus,
.dx-dropdowneditor-active,
.dx-selectbox.dx-state-hover,
.dx-datebox.dx-state-hover,
.dx-selectbox.dx-state-focused,
.dx-datebox.dx-state-focused,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
input[type="checkbox"]:focus,
.uneditable-input:focus,
.form-control:focus {
    border: 1px solid var(--prim-color) !important;
    box-shadow: none;
    outline: 0 none;
}

    .dx-state-hover input.dx-texteditor-input,
    .dx-editor-outlined input.dx-texteditor-input,
    .dx-dropdowneditor-active input.dx-texteditor-input,
    .dx-state-focused input.dx-texteditor-input,

    .dx-state-hover input.dx-texteditor-input,
    .dx-editor-outlined input.dx-texteditor-input,
    .dx-datebox-active input.dx-texteditor-input,
    .dx-state-focused input.dx-texteditor-input
    {
        border: 1px solid transparent !important;
        box-shadow: none;
        outline: 0 none;
    }

    .dx-state-hover .dx-dropdowneditor-icon,
    .dx-state-focused .dx-dropdowneditor-icon {
        background-color: transparent !important;
    }

.form-check-input:checked {
    background-color: var(--prim-color);
    border-color: var(--prim-color);
}

.form-check-input {
    border: 1px solid transparent;
    height: 20px;
    width: 20px;
}



.logo-sm {
    height: 3vh;
    margin-top: 7px;
    margin-left: 7px;
}

.twofactor-input {
    width: auto;
    margin-bottom: 0px !important;
}

@media only screen and (max-width: 768px) {
    .twofactor-input {
        width: 100%;
    }
}

.form-control {
    font-size: 16px;
}


.form-control {
    border-radius: 10px !important;
    border-color: transparent !important;
}

    .form-control::placeholder {
        color: var(--prim-color) !important;
        font-size: 16px;
    }




/*autofill coloring*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

input:-webkit-autofill {
    -webkit-text-fill-color: var(--prim-color) !important;
}
/*end autofill coloring*/

.align-right {
    text-align: right;
    border: 0;
}



span[data-mark] {
    font-size: 10px !important;
    top: -7px !important;
    margin-left: !important;
    text-align: left;
    font-weight: bold;
}

html {
    font-size: 16px !important;
    position: relative;
    min-height: 100%;
}

@media (max-width: 991px) {
    html {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 16px !important;
    }

    .card-scrollable {
        min-height: 200px !important;
    }
}

.prim {
    color: var(--prim-color);
}

.sec {
    color: var(--sec-color);
}

.text-prim {
    color: var(--prim-color) !important;
}

.c1 {
    color: var(--c1) !important;
}

.c2 {
    color: var(--c2) !important;
}

.bg-white {
    background-color: var(--white-color);
}

.card {
    border: none;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.card-main {
    width: 540px !important;
    min-height: 150px;
}

.card-prim {
    border: hidden;
    background-color: var(--prim-color);
    color: var(--background-color);
    border: 1px solid var(--foreground-color);
}

.card-sec {
    border: hidden;
    background-color: var(--foreground-color);
}

.card-scrollable {
    min-height: 200px !important;
    overflow-y: hidden !important;
}

.appointment-download-description {
    margin-top: 5px;
    font-size: 12px;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt--15 {
    margin-top: -15px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}


.mr-5 {
    margin-right: 5px;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10{
    margin-bottom: 10px !important;
}

.ml-12 {
    margin-left: 12px !important;
}

.form-bg-sm {
    max-width: 500px;
    margin: auto;
}

.form-bg-lg {
    max-width: 990px;
    margin: auto;
}

.form-bg {
    padding-top: 30px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 30px;
    border-radius: 10px;
    background-color: var(--foreground-color);
}

.btn-as-link {
    width: 100%;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.pl-10 {
    padding-left: 10px !important;
}

.btn {
    border-radius: 27px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .btn.narrow-left {
        padding-left: 5px !important;
    }

    .btn.narrow-right {
        padding-right: 5px !important;
    }

.btn-lg {
    height: 54px;
    font-size: 18px;
    min-width: 120px;
    padding-left: 30px;
    padding-right: 30px;
}

.btn-md {
    line-height: 1.1em !important;
    font-size: 14px !important;
    padding: 0px 15px !important;
    height: 33px;
    gap: 3px;
}

.btn-sm {
    height: 26px;
    letter-spacing: 0.025em;
    font-size: 11px;
    padding-top: 6px;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-primary {
    background-color: var(--prim-color); /* Primary background color */
    border-color: var(--prim-color); /* Primary border color */
    color: var(--ter-color) !important; /* Tertiary color for text */
    box-shadow: none; /* Ensure no shadow by default */
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary.active,
    .show > .btn-primary.dropdown-toggle {
        background-color: var(--ter-color); /* Secondary color for hover/focus background */
        border-color: var(--prim-color); /* Keep border primary color */
        color: var(--prim-color) !important; /* Primary color for text */
        box-shadow: none !important; /* Ensure no shadow for these states */
        outline: none; /* Remove default focus outline */
    }

    /* Additional fix for active and focus states */
    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary.active {
        background-color: var(--ter-color); /* Same background as hover */
        border-color: var(--prim-color); /* Keep border primary color */
        color: var(--prim-color) !important; /* Ensure text color is consistent */
        box-shadow: none;
    }



.btn-primary-inversed {
    background-color: var(--ter-color); /* Primary background color */
    border-color: var(--prim-color); /* Primary border color */
    color: var(--prim-color); /* Tertiary color for text */
    outline: none;
    box-shadow: none;
}

    .btn-primary-inversed:hover,
    .btn-primary-inversed:focus,
    .btn-primary-inversed.active {
        background-color: var(--prim-color) !important; /* Secondary color for hover/focus background */
        border-color: var(--ter-color); /* Keep border primary color */
        color: var(--ter-color); /* Primary color for text */
        box-shadow: none;
        outline: none;
    }

        .btn-primary-inversed:active,
        .btn-primary-inversed.active
        .show > .btn-primary-inversed.dropdown-toggle {
            background-color: var(--prim-color); /* Same background as hover */
            border-color: var(--prim-color); /* Keep border primary color */
            color: var(--ter-color) !important; /* Ensure text color is consistent */
            outline: none;
            box-shadow: none;
        }


.border-y {
    border-left: 2px solid var(--sec-color) !important;
    height: 24px; /* Set the height of the divider */
    margin: 0 18px; /* Adjust spacing around the divider */
}

.spacer-y {
    margin: 0 0 0 50px;
}

@media (max-width: 767px) {
    .border-y {
        height: 15px; /* Set the height of the divider */
        margin: 0 2px; /* Adjust spacing around the divider */
    }

    .spacer-y {
        margin: 0 0 0 0px;
    }
}

.a:visited {
    color: var(--sec-color) !important;
}

.a:link {
    color: var(--prim-color) !important;
}

.remove-border {
    border: hidden !important;
}

.dropdwon-border {
    border-radius: 20px !important;
}

.form-group {
    margin-bottom: 5px;
}

.btn-carousel-prev {
    text-align: left;
    align-items: flex-start;
}

.btn-carousel-next {
    text-align: right;
    align-items: flex-start;
    left: -20%;
}

.dx-dropdowneditor-icon::before {
    font-family: 'Material Symbols Outlined'; /* your material icon font */
    font-size: 20px;
}

.dx-selectbox .dx-dropdowneditor-icon::before {
    content: "arrow_drop_down" !important;
}

.dx-datebox .dx-dropdowneditor-icon::before {
    content: "event" !important;
}

.dx-texteditor-input {
    font-size: 16px !important;
    padding-left: 10px !important;
}


.dx-texteditor-input {
    font-size: 16px !important;
}

/*datebox*/
.dx-popup-title {
    display: none;
}

.dx-calendar-cell.dx-calendar-selected-date,
.dx-calendar-cell.dx-calendar-selected-date::after,
.dx-calendar-cell.dx-calendar-selected-date > span,
.dx-calendar-cell.dx-calendar-selected-date > span::after {
    background-color: transparent !important;
    color: black !important;
}

.dx-calendar-cell.dx-calendar-contoured-date,
.dx-calendar-cell.dx-calendar-contoured-date::after,
.dx-calendar-cell.dx-calendar-contoured-date > span,
.dx-calendar-cell.dx-calendar-contoured-date > span::after {
    box-shadow: none !important;
}

.dx-calendar-cell.dx-calendar-selected-date > span {
    border: 1px solid black !important;
    color: black !important;
    box-shadow: none !important;
}

.dx-calendar-cell.dx-state-hover,
.dx-calendar-cell.dx-state-hover::after,
.dx-calendar-cell.dx-state-hover > span,
.dx-calendar-cell.dx-state-hover > span::after {
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.dx-calendar-cell.dx-calendar-today,
.dx-calendar-cell.dx-calendar-today::after,
.dx-calendar-cell.dx-calendar-today > span,
.dx-calendar-cell.dx-calendar-today > span::after {
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.dx-calendar-cell.dx-calendar-empty-cell.dx-state-hover > span {
    outline: none !important;
    color: rgba(51,51,51,.24) !important;
}

.dx-calendar-cell.dx-state-hover > span {
    outline: 2px solid var(--prim-color) !important;
    color: black !important;
}

    .dx-calendar-cell.dx-state-hover > span::after {
        outline: 1px solid var(--prim-color) !important;
    }


/* Highlight overlay */
.dx-calendar-cell.day-hover-highlight > span {
    background-color: var(--sec-color) !important;
    pointer-events: none;
}

/* Highlight overlay */
.dx-calendar-cell.day-available-highlight > span {
    background-color: var(--prim-color) !important;
    pointer-events: none;
}


/*endDateBox*/


.dx-viewport, .dx-widget, .dx-texteditor-input, .dx-dropdowneditor {
    font-family: "Poppins", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 16px !important;
}

#weekDateBox .dx-texteditor-input, #monthDateBox .dx-texteditor-input {
    text-align: center;
}


.dx-texteditor-input {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

.dx-dropdowneditor-icon {
    background-color: transparent;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

.dx-datebox,
.dx-selectbox,
.dx-dropdowneditor {
    border: 1px solid transparent !important;
    border-radius: 20px !important;
    height: 38px !important;
}


.week-date-box .dx-datebox, .week-date-box {
    border-radius: 1px !important;
}

.dx-datebox::before {
    display: none !important;
}

.dx-texteditor-input,
.dx-texteditor-input:active {
    border-color: none !important;
    box-shadow: none !important;
    outline: 0 none;
}


.dx-label:before {
    background: none !important;
}

.dx-dropdowneditor-icon {
    color: var(--prim-color) !important;
}

.dx-item,
.dx-label,
.dx-texteditor-label,
.dx-placeholder,
.dx-texteditor-input {
    color: var(--prim-color) !important;
    padding-left: 12px !important;
}

.dx-list-item{
    border: 1px solid transparent !important;
}

.dx-list-item.dx-state-hover{
    border-color: transparent !important;
    background-color: var(--sec-color) !important;
}

.dx-placeholder {
    font-size: 16px !important;
    margin-left: 0px !important;
}


.checkbox-container {
    margin-top: 25px;
    display: flex;
    align-items: stretch; /* make wrapper and label container same height */
    gap: 0.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center; /* vertically center checkbox */
    justify-content: center;
    min-width: 25px;
}


.checkbox-label-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertically center text inside container */
}

.checkbox-label {
    margin: 0; /* remove top/bottom margins to avoid extra spacing */
    font-size: 0.8em;
    font-weight: 300;
    line-height: 1.2;
    word-break: break-word;
    hyphens: auto;
}

.privacy-link {
    margin-top: 0px;
}

    .privacy-link a {
        font-size: 0.8em;
        color: var(--prim-color) !important;
        text-decoration: underline;
    }
