* {
    font-family: "Google Sans", Verdana, sans-serif !important;
}

:root body {
    --bs-body-font-size: 0.9rem !important;
    --ck-border-radius: 0.375rem !important;
    --ck-spacing-unit: 0.6em;
    --ck-spacing-medium: calc(var(--ck-spacing-unit) * 0.8);
    --ck-spacing-tiny: calc(var(--ck-spacing-unit) * 0.3);
}

.notify-wrp {
    max-width: fit-content;
}

.notify-alert {
    margin: 0;
    max-width: 550px;
    width: auto;
    display: table !important;
    padding-right: 2rem;
}

.notify-alert .btn-close {
    right: 5px !important;
}

/* Firefox */
.login-form input[type="number"] {
    -moz-appearance: textfield;
}

.login-form input:focus {
    outline: none !important;
    border-color: inherit !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* Chrome, Safari, Edge, Opera */
.login-form input::-webkit-outer-spin-button,
.login-form input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.login-form input[type="number"] {
    -moz-appearance: textfield;
}

#overlay {
    background-color: rgba(var(--bs-secondary-bg-rgb), 0.8) !important;
    color: var(--bs-body-color-rgb) !important;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    text-align: center;
}

.overlay-box {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.spinner {
    margin: 0 auto;
    height: 40px;
    width: 40px;
    animation: rotate 0.8s infinite linear;
    border: 5px solid #0d6efd;
    border-right-color: transparent;
    border-radius: 50%;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.lang-position-top-right {
    top: 15px;
    right: 15px;
}

@media only screen and (max-width: 420px) {
    .lang-position-top-right {
        /* top: 15px;
        right: -70px; */
    }
}

.dataTables_filter label {
    width: 100%;
    display: flex;
    align-items: center;
}

.dataTables_filter input {
    width: 100% !important;
}

.ck.ck-editor__editable pre[data-language]::after {
    border-bottom-left-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

[data-bs-theme="dark"] pre[data-language] code {
    color: var(--bs-body-color) !important;
}

pre[data-language] {
    margin: 0 !important;
    position: relative;
    background: var(--bs-secondary-bg) !important;
    border: 1px solid rgba(var(--bs-body-color-rgb), 0.1) !important;
    border-radius: var(--bs-border-radius) !important;
    color: #353535;
    direction: ltr;
    font-style: normal;
    min-width: 200px;
    padding: 1em;
    tab-size: 4;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;
    display: flex;
    padding: 15px 10px;
    /* margin-top: 0 !important; */
    margin-top: 10px !important;
    font-size: 13px !important;
}

[data-bs-theme="dark"] pre[data-language] {
    border: 1px solid var(--bs-secondary-border-subtle) !important;
}

pre[data-language]:after {
    background: rgba(var(--bs-body-color-rgb), 0.3) !important;
    color: #FFF;
    font-size: 10px;
    line-height: 16px;
    padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
    right: 10px;
    top: -1px;
    white-space: nowrap;
    content: attr(data-language);
    position: absolute;
    border-bottom-left-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

pre[data-language] code {
    background: unset;
    border-radius: 0;
    padding: 0;
    font-weight: normal;
}

.ck-content pre[data-language] {
    border-radius: var(--bs-border-radius) !important;
}

.accordion-header .accordion-button p {
    margin-bottom: 0;
}

figure img {
    max-width: 100%;
    height: auto;
}

figure.image {
    text-align: center;
}

figure.image.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

figure.image.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.image {
    clear: both;
    display: table;
    margin: 0 auto;
    min-width: 50px;
    text-align: center;
}

.image.image_resized {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
}

.image-custom-width figure {
    width: 300px;
}

/* file upload add questions*/
.custom-file-upload input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.x_svg {
    transition: transform .7s ease;
}

.x_svg:hover {
    transform: rotate(90deg);
}

.x_svg_clientNav {
    transition: transform .7s ease;
    filter: invert(100);
}

.x_svg_clientNav:hover {
    transform: rotate(90deg);
}

#btn-logout:hover .x_svg_clientNav {
    transform: rotate(90deg);
}

[data-bs-theme="dark"] .x_svg {
    filter: invert(100);
}

.border-hover-primary {
    border-color: #DEE2E6 !important;
    transition: all 200ms ease-in;
}

.border-hover-primary:hover {
    border-color: #0D6EFD !important;
    transition: all 200ms ease-in;
}

/*Form Wizard*/
.bs-wizard {
    border-bottom: solid 1px #e0e0e0;
    padding: 0 0 10px 0;
}

.bs-wizard>.bs-wizard-step {
    padding: 0;
    position: relative;
}

.bs-wizard>.bs-wizard-step+.bs-wizard-step {}

.bs-wizard>.bs-wizard-step .bs-wizard-stepnum {
    color: #595959;
    font-size: 16px;
    margin-bottom: 5px;
}

.bs-wizard>.bs-wizard-step .bs-wizard-info {
    color: #545454;
    font-size: 14px;
}

.bs-wizard>.bs-wizard-step>.bs-wizard-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    display: block;
    background: #fbe8aa;
    top: 45px;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
}

.bs-wizard>.bs-wizard-step>.bs-wizard-dot:after {
    content: ' ';
    width: 14px;
    height: 14px;
    background: #fbbd19;
    border-radius: 50px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.bs-wizard>.bs-wizard-step>.progress {
    position: relative;
    border-radius: 0px;
    height: 8px;
    box-shadow: none;
    margin: 20px 0;
}

.bs-wizard>.bs-wizard-step>.progress>.progress-bar {
    width: 0px;
    box-shadow: none;
    background: #fbe8aa;
}

.bs-wizard>.bs-wizard-step.complete>.progress>.progress-bar {
    width: 100%;
}

.bs-wizard>.bs-wizard-step.active>.progress>.progress-bar {
    width: 50%;
}

.bs-wizard>.bs-wizard-step:first-child.active>.progress>.progress-bar {
    width: 0%;
}

.bs-wizard>.bs-wizard-step:last-child.active>.progress>.progress-bar {
    width: 100%;
}

.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot {
    background-color: #f5f5f5;
}

.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot:after {
    opacity: 0;
}

.bs-wizard>.bs-wizard-step:first-child>.progress {
    left: 50%;
    width: 50%;
}

.bs-wizard>.bs-wizard-step:last-child>.progress {
    width: 50%;
}

.bs-wizard>.bs-wizard-step.disabled a.bs-wizard-dot {
    pointer-events: none;
}

.bs-wizard>.bs-wizard-step.active>.bs-wizard-dot::after {
    background: #c92e2e;
}

@media (max-width: 992px) {
    .bs-wizard>.bs-wizard-step {
        display: none;
    }

    .bs-wizard>.bs-wizard-step.active {
        display: block;
    }
}

/*END Form Wizard*/
.custom-nav-toggle {
    border: 1px solid;
    filter: invert();
}

.preformatted-text {
    white-space: pre-wrap;
}