body {
color: #757575;
/*font-size:16px;*/
    font-size:1rem;
}

a {
    color: #7a7a7a;
    text-decoration: none;
}

table {
#font-family: sans-serif;
#border: solid 1px;
border-collapse: collapse;
}

td,th {
border: solid 1px;
border-color: #d1d1d1;
}

th {
background: #d1d1d1;
text-align: center;
/*font-size: 17px;*/
}

td {
    /*font-size:17px;*/
    color: #7a7a7a;

}

.modal {
    /*width: 99%;*/
    max-height: 95%;
    /*font-size: 16px;*/
}

#barometr-modal-content {
    margin-top: 60px;
}

h5 {
    font-size: 1.94rem;
    line-height: 110%;
    margin: 1.0933333333rem 0 0.656rem 0;
}

.modal-title h5 {
    font-size: 1rem;
}

.modal-header h5 {
    font-size: 1rem;
}

@media only screen and (min-width: 0) {
    html {
        font-size: 0.7rem;
    }
}

@media only screen and (min-width: 992px) {
    html {
        font-size: 0.9rem;
    }
}

@media only screen and (min-width: 1200px) {
    html {
        font-size: 1.2rem;
    }
}
.disabled{
    pointer-events:none;
}

td.details-control {
    text-align:center;
    color:forestgreen;
    cursor: pointer;
}
tr.shown td.details-control {
    text-align:center;
    color:red;
}

.w-15 {
  width: 15% !important;
}

.w-17 {
  width: 17% !important;
}

.w-18 {
  width: 18% !important;
}


.w-19 {
  width: 19% !important;
}


.w-20 {
  width: 20% !important;
}


.w-30 {
  width: 30% !important;
}

.modal.email-editor-modal {
    z-index: 1100 !important;
}

#customForm {
    display: flex;
    flex-flow: row wrap;
}

.modal {
    --bs-modal-width: 762px;
}

/*
.table_wrap-text {
    word-wrap: break-word; !* Позволяет тексту переноситься на новую строку *!
    white-space: normal; !* Убирает ограничение на переносы строк внутри ячейки *!
    max-width: 120px; !* Ограничение максимальной ширины ячейки, можно настроить под свои нужды *!
}
*/

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 900px;
    }
}

/*
@media (min-width: 1920px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 1590px;
    }
}
*/
/*
.nav-link.active {
    font-weight: bold;
}
*/

.navbar-nav .nav-link.active {
    border-bottom: 3px solid #007bff;
}

.highlighted {
    font-weight: bold;
}

.active-input {
    background-color: #ffff99; /* Ярко-желтый фон для выделения */
    /*border: 1px solid red; !* Красная рамка вокруг активного элемента *!*/
}

.select2-dropdown {
    z-index:99999;
}

/*
.select2-search__field {
    height: 100%;
}
*/

.select2-selection__choice {
    /*
    background-color: #FFFFFF;
    */
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #FFFFFF;
    /*color: #0d6efd;*/
}

/*
::-webkit-input-placeholder { !* WebKit, Blink, Edge *!
    color:    #901;
    height: 30px;
}
:-moz-placeholder { !* Mozilla Firefox 4 to 18 *!
    color:    #991;
    opacity:  1;
    height: 30px;
}
::-moz-placeholder { !* Mozilla Firefox 19+ *!
    color:    #989;
    opacity:  1;
    height: 30px;
}
:-ms-input-placeholder { !* Internet Explorer 10-11 *!
    color:    #369;
    height: 30px;
}
::-ms-input-placeholder { !* Microsoft Edge *!
    color:    #239;
    height: 30px;
}
*/
.select2-search__field {
    /*height: auto !important;*/
    height: 25px !important;;
    /*max-height: auto !important;*/
}
::placeholder { /* Most modern browsers support this now. */
    /*color:    #025;*/
    /*height: 30px;*/
    /*padding-top: -5px;*/
}

.admin-only {
    display: none;
}

.font-weight-bold {
    font-weight: bold;
}

.clickable {
    cursor: pointer;
}

.text-success {
    color: green;
}


.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}
.nav-item {
    text-align: center;
}
.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav-link i {
    font-size: 1.5em;
}

@media (max-width: 992px) {
    .nav-link {
        flex-direction: row;
        justify-content: start;
    }
    .nav-link i {
        margin-right: 0.5em;
        font-size: 1.2em;
    }
}
/*
!* Увеличение ширины и высоты поля ввода *!
.DTE_Field_Input input[type="text"] {
    width: 100%;  !* Задает ширину поля ввода равной ширине родительского блока *!
    height: 100px;  !* Установка фиксированной высоты *!
    white-space: pre-wrap; !* Перенос слов и сохранение форматирования *!
    overflow: auto;  !* Добавление полосы прокрутки при необходимости *!
}

!* Применение стилей для многострочного ввода, если нужно *!
.DTE_Field_Input textarea {
    white-space: pre-wrap; !* Обеспечивает перенос слов и сохранение пробелов *!
    overflow: auto; !* Добавляет полосы прокрутки, если текст выходит за пределы *!
}*/
