html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #E6E6E6;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.list-items-container {
    max-height: calc(100vh - 400px);
}

    .list-items-container .list-group-item {
        min-height: 42px;
    }

@media (min-width: 992px) {
    .list-items-container {
        max-height: unset;
        height: calc(100vh - 360px);
    }
}

.list-group-item-purple {
    color: #000;
    background-color: #ecc9ff;
}

    .list-group-item-purple:hover {
        background-color: #dd9fff;
    }

.btn-purple, .text-bg-purple {
    color: #fff;
    background-color: #6f42c1;
}

    .btn-purple:hover {
        color: #fff;
        background-color: #551fb7;
    }

.action-button {
    cursor: pointer;
}

.action-button-lg {
    font-size: 2em;
    cursor: pointer;
}

.input-action-button {
    position: absolute;
    display: none;
    top: 5px;
    right: 38px;
}

.delete-file-button {
    position: absolute;
    display: none;
    right: 199px;
}

@media (max-width: 992px) {
    .delete-file-button {
        right: 73px;
    }
}

.image-thumbnail {
    width: 160px;
    height: 200px;
    object-fit: contain;
}

.file-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.log-file-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.grid-file-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.log-enum-icon {
    margin-right: 5px;
}

.bootstrap-select > .dropdown-toggle {
    height: 58px;
    padding: 15px;
    white-space: initial !important;
}

@media (max-width: 768px) {
    .bootstrap-select > .dropdown-toggle {
        height: 51px;
        padding: 14px;
    }
}

ul.ui-autocomplete, .dropdown-menu.show {
    z-index: 1070;
}

[data-password-container]::before {
    content: '\F341';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 11px;
    right: 40px;
    font-size: 25px;
    cursor: pointer;
}

@media (max-width: 768px) {
    [data-password-container]::before {
        top: 7px;
        right: 33px;
    }
}

[data-password-container].password-visible::before {
    content: '\F340';
}

.form-check, .form-check-input, .form-check-label {
    cursor: pointer;
}

.form-check-input {
    scale: 1.5;
}

.form-check {
    padding-left: 2em;
}

    .form-check .form-check-label {
        padding-left: 0.5em;
    }

    .form-check.form-check-icon input {
        margin-top: 0.85rem;
    }


.form-switch {
    padding-left: 3.3em;
}

    .form-switch .form-check-label {
        margin-left: 0.7em;
    }

.upload-file-container input[type="text"] {
    pointer-events: none;
}

.invisible-input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@keyframes alert-blinking {
    0% {
        background-color: white;
    }

    50% {
        background-color: red;
    }

    100% {
        background-color: white;
    }
}

#panic-screen {
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    animation: alert-blinking 1s infinite;
}

.form-loader {
    position: absolute;
    height: 11px;
    margin: 2px 10px;
    font-size: 9px;
    font-weight: 700;
}

.dx-header-row {
    background-color: #e5e5e5;
}

.dx-data-row:not(.dx-master-detail-row .dx-data-row) {
    background-color: #d4e0ff;
}

.dx-datagrid td[role="gridcell"].actions-cell {
    padding: 0px 5px;
}

.select2-container--bootstrap-5 .select2-selection {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.select2-selection__choice__remove {
    cursor: pointer;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field {
    width: 100% !important;
}

.sp-replacer.sp-light.form-control {
    padding-top: 30px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}
