:root, [data-bs-theme=light] {
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
    --ax-link-color: #033e7c;
    --ax-link-hover-color: #0563c7;
    --ax-button-foreground: #ffffff;
}

[data-bs-theme=dark] {
    --ax-link-color: #0563c7;
    --ax-link-hover-color: #1081f9;
    --ax-button-foreground: #ffffff;
}

.btn.btn-primary {
    color: var(--ax-button-foreground);
    border-color: var(--ax-link-color);
    background-color: var(--ax-link-color);
}

.btn.btn-primary:hover {
    border-color: var(--ax-link-hover-color);
    background-color: var(--ax-link-hover-color);
}

a {
    color: var(--ax-link-color);
}

a:hover {
    color: var(--ax-link-hover-color);
}

.nav-link {
    color: var(--ax-link-color);
}

.nav-link:hover {
    color: var(--ax-link-hover-color);
}

.form-check-input:checked {
    background-color: var(--ax-link-hover-color);
    border-color: var(--ax-link-hover-color);
}

html {
    font-size: 14px;
}

.select2-results__option.select2-results__option--highlighted {
    background-color: var(--bs-secondary-color) !important;
    color: var(--bs-body-bg) !important;
}

[data-largetext=true] {
    font-size: 1.2em;
}

[data-bs-theme=dark] .select2-container--default .select2-selection--multiple, [data-bs-theme=dark] .select2-dropdown.select2-dropdown--below, [data-bs-theme=dark] .select2-dropdown.select2-dropdown--above {
    background-color: var(--bs-body-bg);
}

[data-bs-theme=dark] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme=dark] .select2-container--default .select2-results__option[aria-selected=true] {
    color: var(--bs-body-bg);
}

[data-bs-theme=dark] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--bs-secondary-color);
    color: var(--bs-body-bg);
}

[data-bs-theme=dark] .select2-dropdown {
    border-color: var(--bs-border-color);
}

[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-selection {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-dropdown {
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-selection {
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .ui-widget-content {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .ui-widget-header {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

[data-bs-theme=dark] .ui-widget-header .ui-state-hover {
    background-color: var(--bs-highlight-bg);
    color: var(--bs-highlight-color);
}

[data-bs-theme=dark] .ui-widget-header span.ui-icon {
    filter: brightness(300%);
}

[data-bs-theme=dark] .ui-datepicker-calendar a.ui-state-default {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .ui-datepicker-calendar a.ui-state-default.ui-state-hover {
    background-color: var(--bs-highlight-bg);
    color: var(--bs-highlight-color);
}

[data-bs-theme=dark] .ui-datepicker-calendar td.ui-state-disabled span.ui-state-default {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
    color: var(--bs-body-color);
}

[data-bs-theme=dark] .ui-widget.ui-widget-content {
    border-color: var(--bs-border-color);
}

[data-bs-theme=dark] #captcha {
    filter: invert() grayscale(100%);
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.active {
    text-decoration: underline
}

.form-group.required .control-label:after {
    content: "*";
}

label.control-label {
    font-weight: 600;
}

#coUsersList {
    display: none;
}

#coUsersList .couser-delete {
    display: none;
}

.modal-backdrop {
    opacity: 0.85 !important;
}

.uppercase {
    text-transform: uppercase;
}

.btn-check:active + .homepage-button.btn,
.btn-check:checked + .homepage-button.btn,
.homepage-button.btn.active,
.homepage-button.btn.show,
.homepage-button.btn:active {
    background-color: var(--ax-link-color) !important;
    border-color: var(--ax-link-color) !important;
}

.navbar-nav .nav-item .nav-link {
    margin-right: 0.5em;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.btn .btn-icon-left {
    margin-right: 12px;
}

.btn .btn-icon-right {
    margin-left: 12px;
}

.invalid-feedback.field-validation-error {
    display: block;
}

.input-validation-error {
    background-color: var(--bs-danger-bg-subtle);
}

.customlist {
    list-style-type: none;
    padding-left: 0;
}

ul.customlist li {
    position: relative;
    padding-left: 1em;
}

ul.customlist li::before {
    content: '-';
    position: absolute;
    left: 0;
}

.upload-form {
    border: solid 1px var(--bs-border-color);
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    min-height: 4rem;
    padding: 0.5rem;
}

.upload-form.dz-clickable {
    cursor: pointer;
}

.upload-message {
    width: 100%;
    height: 100%;
    text-align: center;
}

.upload-file-progress {
    display: none;
}

.dz-processing .upload-file-progress {
    display: auto;
}

.profilepicture {
    display: inline-block;
}

.select2-selection {
    border-color: var(--bs-border-color) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    white-space: pre-wrap;
}

/* Extra small devices (portrait phones, less than 576px) */
.w-xs-25 {
    width: 25% !important;
}

.w-xs-50 {
    width: 50% !important;
}

.w-xs-75 {
    width: 75% !important;
}

.w-xs-100 {
    width: 100% !important;
}

.fs-xs-1 {
    font-size: 1.375rem !important;
}

.fs-xs-2 {
    font-size: 1.325rem !important;
}

.fs-xs-3 {
    font-size: 1.3rem !important;
}

.fs-xs-4 {
    font-size: 1.275rem !important;
}

.fs-xs-5 {
    font-size: 1.25rem !important;
}

.fs-xs-6 {
    font-size: 1rem !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .w-sm-25 {
        width: 25% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-100 {
        width: 100% !important;
    }

    .fs-sm-1 {
        font-size: 1.375rem !important;
    }

    .fs-sm-2 {
        font-size: 1.325rem !important;
    }

    .fs-sm-3 {
        font-size: 1.3rem !important;
    }

    .fs-sm-4 {
        font-size: 1.275rem !important;
    }

    .fs-sm-5 {
        font-size: 1.25rem !important;
    }

    .fs-sm-6 {
        font-size: 1rem !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .w-md-25 {
        width: 25% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-100 {
        width: 100% !important;
    }

    .fs-md-1 {
        font-size: 1.375rem !important;
    }

    .fs-md-2 {
        font-size: 1.325rem !important;
    }

    .fs-md-3 {
        font-size: 1.3rem !important;
    }

    .fs-md-4 {
        font-size: 1.275rem !important;
    }

    .fs-md-5 {
        font-size: 1.25rem !important;
    }

    .fs-md-6 {
        font-size: 1rem !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .w-lg-25 {
        width: 25% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-100 {
        width: 100% !important;
    }

    .fs-lg-1 {
        font-size: 1.375rem !important;
    }

    .fs-lg-2 {
        font-size: 1.325rem !important;
    }

    .fs-lg-3 {
        font-size: 1.3rem !important;
    }

    .fs-lg-4 {
        font-size: 1.275rem !important;
    }

    .fs-lg-5 {
        font-size: 1.25rem !important;
    }

    .fs-lg-6 {
        font-size: 1rem !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .w-xl-25 {
        width: 25% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-100 {
        width: 100% !important;
    }

    .fs-xl-1 {
        font-size: 1.375rem !important;
    }

    .fs-xl-2 {
        font-size: 1.325rem !important;
    }

    .fs-xl-3 {
        font-size: 1.3rem !important;
    }

    .fs-xl-4 {
        font-size: 1.275rem !important;
    }

    .fs-xl-5 {
        font-size: 1.25rem !important;
    }

    .fs-xl-6 {
        font-size: 1rem !important;
    }
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid var(--ax-link-color) !important;
    background: var(--ax-link-color) !important;
    color: var(--ax-button-foreground) !important;
}

.home-buttons-gutter {
    --bs-gutter-x: 5rem;
}