
@media print {
    :root {
        --bs-body-bg: transparent;
    }

    .no-printable {
        display: none;
    }
}

@media not print {
    html, body {
        height: 100vh;
        overflow: hidden;
    }

    .print-only {
        display: none;
    }

    .print-section {
        width: var(--print-page-width);
    }
}

html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    direction: ltr;
}

body {
    overscroll-behavior-y: contain;
}

/* Start: scroll bar */
::-webkit-scrollbar {
    width: 6px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-scroll-lighten);
    width: 6px;
    border-radius: 2px;
}
/* End: scroll bar */

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    font-weight: bold;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#components-reconnect-modal {
    z-index: 9999 !important;
}

.height-auto {
    height: auto !important;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

.flex-column-1 {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.flex-none {
    flex: none !important;
}

.flex-0 {
    flex: 0 !important;
}

.flex-1 {
    flex: 1 !important;
}

.flex-2 {
    flex: 2 !important;
}

.flex-3 {
    flex: 3 !important;
}

.min-h-0 {
    min-height: 0px;
}

.h-33 {
    height: 33% !important
}

.h-40 {
    height: 40% !important
}

.h-66 {
    height: 66% !important
}

::-webkit-file-upload-button {
    cursor: pointer;
}

::placeholder,
.form-control::placeholder {
    color: var(--text-color-placeholder);
    font-size: 12px;
}

.invalid {
    outline: 1px solid red;
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-ellipsis-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    padding-bottom: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

    .text-ellipsis-line.lines-2 {
        -webkit-line-clamp: 2;
    }


    .text-ellipsis-line.lines-3 {
        -webkit-line-clamp: 3;
    }

.text-muted-light {
    color: #aaa;
}

a, .btn-link {
    color: #000000;
}

.btn {
    font-size: 13px;
    -webkit-appearance: none;
    outline: none !important;
    transition: all .1s;
    white-space: nowrap;
}

form, .form {
    flex: 1;
    overflow: hidden;
}

    form .row {
        margin-left: 0;
        margin-right: 0;
    }

.form-control,
input[type=text],
select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 16px;
    outline: none;
    border-style: solid;
    font: 14px/19px Inter,'Open Sans',Helvetica,Arial,sans-serif;
    appearance: auto;
}

input,
select,
textarea {
    /*border-color: var(--input-border-color) !important;*/
    /*transition: border-color 0.3s;*/
    outline: none;
}

.dxbl-text-edit.dxbl-readonly > * {
    /*opacity: var(--dxbl-text-edit-disabled-opacity);*/
}

.form-control,
.form-control:focus {
    box-shadow: none;
    border-color: var(--input-border-color);
}

    .form-control:disabled {
        background-color: transparent;
    }

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    pointer-events: none;
    opacity: 1;
    color: #999 !important;
    border-color: var(--button-border-color);
    /*background-color: transparent;*/
}

.show-untranslated {
    color: white;
    background-color: indianred;
    padding: 0 1px;
    border: 1px solid black;
}

.input-group > .btn-secondary,
.input-group > .dxbs-input-group-append > .btn-secondary,
.input-group > .input-group-append > .btn-secondary,
.input-group > .input-group-prepend > .btn-secondary {
    border-color: var(--button-border-color) !important;
}

.light-theme .btn-secondary {
    color: #212529;
    background-color: #fff;
    border-color: var(--button-border-color);
}

    .light-theme .btn-secondary:hover {
        color: #000;
        background-color: #5c636a;
        border-color: #565e64;
    }

    .light-theme .btn-secondary.focus,
    .light-theme .btn-secondary:focus,
    .light-theme .btn-secondary:not(:disabled):not(.disabled):hover {
        color: #000;
        background-color: #ececec;
        border-color: #e6e6e6;
    }

.btn.btn-secondary.form-control {
    border-radius: 6px;
    font-size: 13px;
    background-color: var(--bg-btn-secondary);
    border-color: var(--bg-btn-secondary);
    cursor: pointer;
}

button.for-save {
    background-color: darkorange !important;
    color: white !important;
    font-weight: bold;
}

.country-image {
    width: 20px;
    vertical-align: central;
    margin-right: 10px;
}

.btn-group > button:not(:first-child),
.btn-group > span:not(:first-child) > button,
.btn-group > .input-wrapper:not(:first-child),
.btn-group > div:not(:first-child) button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: none !important;
}

.btn-group > button:not(:last-child),
.btn-group > span:not(:last-child) > button,
.btn-group > .input-wrapper:not(:last-child),
.btn-group > div:not(:last-child) button {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group-table .btn-group > .btn {
    flex: 1;
    line-height: 1;
    min-height: 40px;
}

    .btn-group-table .btn-group > .btn i {
        position: absolute;
        left: 5px;
        width: 25px;
    }

        .btn-group-table .btn-group > .btn i + span {
            margin-left: 18px;
        }

.btn-group-table .btn-group:not(:last-child) {
    margin-bottom: -1px;
}

.btn.btn-bordered {
    margin-bottom: 1px;
    border: 1px solid #bbb !important;
}

.btn-check:focus + .btn,
.btn:focus {
    box-shadow: none;
}

.form-select:focus {
    box-shadow: none;
}

.ellipsis-two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: auto;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.container {
    height: 100%;
}

small {
    font-size: 80%;
    font-weight: 400;
}

.gray-bg {
    background-color: #f3f3f4;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.btn-block {
    display: block;
    width: 100%;
}

.validation-summary-errors ul {
    list-style-type: none;
    padding: 0;
    font-size: 12px;
    text-align: center;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.buttons-group {
    display: flex;
    align-items: center;
}

.space-between-childs {
    display: flex;
    gap: 10px;
    margin-right: 10px;
}

.width-33 {
    width: 33%;
}

.width-66 {
    width: 66%;
}

.rotate-1 {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
