@charset "utf-8";
/* EDSIS UI FORM LIST • edsis.ru • (c) 2020 Станислав Рыцев <v-idea@ya.ru> */

.ES-form-list {position: relative;}
.ES-form-list-reset {
    width: calc(18px + 1.5rem) !important; padding: 0 .5rem; margin: 0; z-index: 1;
    font-family: sans-serif; font-size: 1.75rem !important; font-style: normal; font-weight: normal; line-height: 2.25rem !important;
    -webkit-border-top-right-radius: 0; border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0; border-bottom-right-radius: 0;
}
.ES-form-list input {position: relative; width: 100%; margin: 0; opacity: 0;}
.ES-form-list label {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: .375rem .75rem; overflow: hidden;
    background-color: #fff; font-weight: 400; line-height: 1.5; color: inherit !important; white-space: nowrap;
    border: 1px solid var(--es-border);
}
.ES-form-list input[disabled] + label {padding-right: 0.75rem; background: var(--es-border) !important;}
.ES-form-list input[disabled] + label + button{display: none !important;}
.ES-form-list-reset + input + label {padding-left: calc(18px + 1.875rem); cursor: pointer;}
.ES-form-list input, .ES-form-list label {
    height: calc(1.5rem + .75rem + 2px);
    -webkit-border-radius: var(--es-radius); border-radius: var(--es-radius);
}
.ES-has-warning .ES-form-list label {border-color: var(--es-warning); color: var(--es-warning) !important;}
.ES-form-list button {
    width: calc(18px + 1.5rem) !important;  z-index: 1;
    background-image: url("data:image/svg+xml;charset=utf8,<svg width='18px' height='18px' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'><path d='M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z'/></svg>");
    background-repeat: no-repeat; background-position: 50%; background-size: 75%;
    -webkit-border-top-left-radius: 0; border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0; border-bottom-left-radius: 0;
}

/* Модальное окно со списком для выбора. */
.ES-modal-header .ES-btn {padding: 0 .75rem;}
.ES-modal-header .ES-btn:first-of-type {margin-left: .5rem;}
.ES-modal-header .ES-btn .ES-icon {margin-right: 0;}
.ES-modal-list .ES-modal-content {width: 1000px; max-width: 1000px;}
.ES-modal-list .ES-search {margin: 0 .5rem;}
.ES-modal-list input[type='search']::-webkit-search-decoration,
.ES-modal-list input[type='search']::-webkit-search-cancel-button,
.ES-modal-list input[type='search']::-webkit-search-results-button,
.ES-modal-list input[type='search']::-webkit-search-results-decoration {display: none;}
.ES-modal-list table {width: 100%; border-collapse: collapse; background-color: #fff;}
.ES-modal-list table .ES-form-field {margin: 0;}
.ES-modal-list tr {cursor: pointer; -webkit-user-select: none; user-select: none;}
.ES-modal-list tr:nth-of-type(odd), .ES-modal-list tr:nth-child(odd) {background: var(--es-default);}
.ES-modal-list tr:hover, .ES-modal-list tr.active:hover {background-color: var(--es-t-blue) !important;}
.ES-modal-list td {padding: .5em .7em; border-bottom: 1px solid var(--es-border);}
.ES-modal-list td:last-child {width: 4%;}
.ES-modal-list tr:last-child td {border: 0;}
.ES-modal-list tr.active {background-color: var(--es-t-yellow) !important;}
.ES-modal-list .ES-modal-buttons {display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;}
.ES-modal-list .ES-modal-buttons h4 {margin-right: 1rem;}