/* Запретить выделять текст (перечислить элементы в которых нужно запретить выделять текст) */
.tab-title, dialog, .s, .ss, .DepTable {
 -webkit-touch-callout: none; /* iOS Safari */
 -webkit-user-select: none;   /* Chrome/Safari/Opera */
 -khtml-user-select: none;    /* Konqueror */
 -moz-user-select: none;      /* Firefox */
 -ms-user-select: none;       /* Internet Explorer/Edge */
 user-select: none;           /* Non-prefixed version, currently not supported by any browser */
}

.DepTable {
 -font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
 -font-size: 14px;
 border-radius: 8px;
 border-spacing: 0;
 text-align: center; }
.DepTable th {
 background: #589158; /* #375B37; Фон заголовка таблицы */
 color: white;
 text-shadow: 0 1px 1px #2D2020;
 padding: 0.8em 1.6em;
 text-align: center; }
.DepTable th, .DepTable td {
 border-style: solid;
 border-width: 0 1px 1px 0;
 border-color: white; }
.DepTable tr.block { /* заблокирован (красный) */
 color: red; }
.DepTable td.err, .DepTable td.err a { /* ошибка запроса */
 background: Orange;
 color: FireBrick;
 font-weight: bold; }
.DepTable td.l, .DepTable.l { /* выравнивание влево */
 text-align: left; }
.DepTable td.r, .DepTable.r { /* выравнивание вправо */
 text-align: right; }
.DepTable td.ss { /* изменяемая ячейка */
 background: #B7CCB7;
 color: PaleGreen; }
.DepTable td.h { /* скрытая ячейка */
 display: none; }
.DepTable td.b, .DepTable tr.b { /* жирный */
 font-weight: bold; }
.DepTable td.dr, .DepTable tr.dr { /* тёмно красный */
 color: DarkRed; }
.DepTable th:first-child {
 border-top-left-radius: 5px; }
.DepTable th:last-child {
 border-top-right-radius: 5px;
 border-right: none; }
.DepTable td {
 padding: 0.4em 1em;
 background: #D0E5D0; } /* Фон ячеек таблицы */
.DepTable tr:last-child td:first-child {
 border-radius: 0 0 0 5px; }
.DepTable tr:last-child td:last-child {
 border-radius: 0 0 5px 0; }
.DepTable tr td:last-child {
 border-right: none; }
.DepTable tr.s { /* ячейка — курсор */
 background: #fff; }
.DepTable td.s:hover, .DepTable tr.s:hover { /* ячейка — курсор */
 background: #B7CCB7;
 cursor: pointer; }
.DepTable tr.s:hover td { /* ячейка строки курсора */
 background: inherit; }

#DepUserMode {
 margin: 1em 0 0;
 color: gray;
}

#DepTitle {
 text-align: left;
 font-weight: bold;
 font-size: 1.5em;
 padding: 1em;
 margin: 2px 0 0.5em;
 border: 1px solid silver;
 border-radius: 0 6px 6px;
}

#DepBlackList {
 background: black;
 color: white;
 padding: 0.8em;
 margin: 0 0 1em;
 border-radius: 6px;
 font-size: 1.5em;
 background-image: linear-gradient(90deg, red 60%, transparent 40%), linear-gradient(90deg, red 60%, transparent 40%), linear-gradient(0, red 60%, transparent 40%), linear-gradient(0, red 60%, transparent 40%);
 background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
 background-size: 10px 4px, 10px 4px, 4px 10px, 4px 10px;
 animation: running-contour 0.5s linear infinite;
}

@keyframes running-contour {
  from {
    background-position: 0 0, 10px 100%, 0 10px, 100% 0;
  }
  to {
    background-position: 10px 0, 0 100%, 0 0, 100% 10px;
  }
}

/* Вкладки */
.tab-ctrl {
 -background: yellow;
 position: relative;
 font-size: 0;
 margin: 10px 0 10px;
 width: 100%; /* ширина блока */
 height: 450px; /* высота блока */ }
.tab, .tab > label {
 display: inline-block;}
.tab input[type="radio"] {
 display: none; }
.tab > label {
 font-size: 14px;
 position: relative;
 user-select: none;
 background: #e5e5e5;
 padding: 5px 10px;
 border: 1px solid #666;
 border-bottom: none;
 cursor: pointer;
 border-radius: 6px 6px 0 0;
 top: 1px;
 color: gray;
 transition: color 0.03s ease-in-out, background-color 0.03s ease-in-out; }
.tab:not(:first-child) > label {
 border-left: none; }
.tab > div {
 position: absolute;
 font-size: 14px;
 border: 1px solid #666;
 padding: 10px;
 left: 0;
 width: calc(100% - 20px);
 height: calc(100% - 40px);
 display: none;
 overflow: auto; }
.tab :checked + label {
 -position: relative;
 background: #fff;
 border-bottom: 1px solid #fff;
 color: black;
 z-index: 1; }
.tab :checked ~ div {
 display: block; }

#alllimitinput { width: 7em; }

.inline_container {
 white-space: nowrap;
 vertical-align: top; }
.inline {
 display: inline-block;
 vertical-align: top; }

-.inline {
 background: yellow; /* Цвет фона */
}

/* Диалоговое окно */
dialog {
 font-size: 14px;
 -width: 300px;
 border-radius: 10px;
 -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
 -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
 box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
 border: 1px solid silver; }
dialog header {
 color: black;
 border-radius: 7px 7px 0 0;
 margin: -10px -10px 10px;
 padding: 0.6em;
 background: #e5e5e5; }
dialog::backdrop {
 background-color: black;
 opacity: .2; }
dialog button {
 margin: 1em 1em 0;
 padding: 0.3em 0.6em;
 width: 7em; }
dialog footer {
 -background-color: yellow;
 margin: 0 auto;
 text-align: center; }

.GefGsmLimitInp { width: 5em; }



