@charset "utf-8";

.hidden {
    display: none !important;
}

.fa-fw {
    margin-right: 5px;
}

.datetimepicker {
    min-width: 125px !important;
}
.datetimepicker::placeholder {
    font-size: .8em;
}

div.dataTables_processing {
    z-index: 1;
}

.table-props-values span:not(:last-child):after {
    content: ',';
}

li.select2-selection__choice {
    display: flex;
    align-items: center;
}

.select2-container--bootstrap4 .select2-selection__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.select2-container {
    z-index: 1055;
}

.form-label {
    font-weight: bold;
}

#main_body {
    background-image: url(/dist/assets/img/ramico-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
}

#main_block_1 {
    background-image: url(/dist/assets/img/ice.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#login_body {
    background-image: url(/dist/assets/img/ice.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#modalFormBody {
    min-height: 150px;
}

#glass-spinner {
    z-index: 9999;
}

#copyUrl {
    cursor:pointer;
}

#var_name:empty ~ #copyUrl {
    display: none;
}

#modalFormItem[data-itemid="0"] .zero-hidden,
#modalFormItem[data-itemid=""] .zero-hidden {
    display: none;
}

div.modal div.alert.fade:not(.show) {
    display: none;
}

.input-group.date input {
    min-width: 100px;
}

.sortable-handler {
    cursor: move;
    cursor: -webkit-grabbing;
}

#modalParamsEnterContent:not(:empty) + #modalParamsEnterSpinner,
#modalParamsEnterContent:empty ~ #modalParamsEnterSaveButtonWrapper {
    display: none;
}

div.card-header[data-bs-toggle="collapse"] > button.collapse-info > i.fa-minus,
div.card-header.collapsed[data-bs-toggle="collapse"] > button.collapse-info > i.fa-plus {
    display: inline;
}
div.card-header[data-bs-toggle="collapse"] > button.collapse-info > i.fa-plus,
div.card-header.collapsed[data-bs-toggle="collapse"] > button.collapse-info > i.fa-minus {
    display: none;
}

.value-percent {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    overflow: visible;
    border-radius: 50%;
    box-shadow: 1px 1px 6px -1px;
}

.value-percent-text {
    position: absolute;
    bottom: 103%;
    left: 50%;
    transform: translateX(-50%);
}

.img-echart {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#toastWrapper {
    width: auto;
}

@media screen and (max-width: 768px) {

    .card-body img {
        max-width: 100%;
        object-fit: contain;
    }

    .xdsoft_datetimepicker .xdsoft_calendar table {
        display:table;
        overflow-x:auto;
    }

    .xdsoft_datetimepicker {
        left: 50% !important;
        transform: translateX(-50%);
        max-width: 100vw;
    }

    .report-widget-linear-scale-digit {
        font-size: .8rem;
    }

    .report-page table {
        table-layout: auto !important;
    }

    .report-page table td:has(.widget-chart) {
        width: 100% !important;
        display: block;
    }
}

@media print {
    .report-page:nth-child(n+2) {
        page-break-before: always;
    }
    @page {
        margin: .7cm;
    }
}