/*@import url("/css/ui/skins/base/base.css");*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.panel {
  background-color: var(--main-light-primary-color);
  border: 1px solid var(--main-divider-color);
  padding: 10px;
}

.padding__large {
  padding: 10px;
}

.padding__medium {
  padding: 3px;
}

/*
либо переименовать
.title {
  font-weight: bold;
}
*/

/*@import url("/css/ui/skins/base/layout.css");*/
.table__padding_medium {
}

.table__padding_medium > div > div {
  padding: 3px;
}

/*@import url("/css/ui/skins/base/menu.css");*/
.menu__sub {
  background: #eeeeee;
  color: #000000;
}

.menu__item {
  padding: 15px;
  cursor: pointer;
}

.menu__item:hover {
  background: #ffffff;
}

.menu > .menu__item {
  background: inherit;
}

.bar__header .menu > .menu__item:hover {
  background: #445060;
}

/*@import url("/css/ui/skins/base/form.css");*/
.form {
  background: #ffffff;
  border-radius: 5px 5px 0 0;
  position: relative;
  border: 1px solid var(--main-divider-color);
}

.form__splash {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
}

.form__bar {
  background: var(--custom-old-header-color);
  color: var(--main-primary-icon-color);
  font-weight: bold;
  border-radius: 0;
  padding: 10px;
}

.form__splash .form__bar {
  border-radius: 0;
}

.form__bar .icon-close {
  cursor: pointer;
}

.form__view-form {
  padding: 5px;
}

.form__view-form > div > div {
  padding: 3px 5px;
}

.form__view-form > div > div:first-child {
  font-weight: bold;
}

.form__edit-form-container {
  padding: 5px 5px 15px 5px;
  min-width: 200px;
  min-height: 300px;
}

.form__edit-form {
  padding: 5px;
}

.form__edit-form > div > div {
  padding: 3px 5px;
}

.form__edit-form > div > div:first-child {
  font-weight: bold;
}

.form__edit-form_buttons {
  padding: 5px;
}

.form__edit-form_buttons .button {
  margin-right: 5px;
}

.form__text-header {
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 1.1em;
}

/*@import url("/css/ui/skins/base/gridview.css");*/
/* >>> grid table */
.gridview__table {
  border-collapse: collapse;
}

.gridview__table th, .gridview__table td {
  border: 1px solid var(--main-divider-color);
  border-collapse: collapse
}

.gridview__header .gridview__table th {
  background-color: var(--custom-gray-color);
  text-align: left;
  padding: 0.6rem;
}

.gridview__table td {
  padding: 0.5rem;
}

.gridview__footer {
  background: var(--custom-gray-color);
  border-top: 1px solid var(--main-divider-color);
  font-weight: bold;
  padding: 0.2rem 0.5rem;
}

.gridview__table .overflow__visible {
  overflow: visible !important;
}

.gridview__body .gridview__table tr:nth-child(2n) td {
  /*background: var(--custom-lightgray-bg-color);*/
  background: var(--custom-lightgray-color);
}

.gridview__body .gridview__table tr:hover td {
  background-color: var(--main-light-primary-color);
}

.gridview__body .gridview__table tr.selected td {
  background: var(--main-accent-color);
  color: var(--main-primary-icon-color);
}

.gridview__body .gridview__table tr.selected td .gl-icon-btn, .gridview__body .gridview__table tr.selected td .gl-link-button {
  color: var(--main-primary-icon-color);
}


/*.gridview__table td {*/
/*  !* это делает невозможным использование position absolute + z-index элементов выходящих за рамки <td> *!*/
/*  overflow: hidden;*/
/*}*/


/*.gridview__header table.gridview__table td {*/
/*  !*color: #999;*!*/
/*  !*font-weight: normal;*!*/
/*}*/

/*.gridview__table {*/
/*border-collapse: separate;*/
/*border-spacing: 2px;*/
/*margin: 0;*/
/*padding: 0;*/
/*}*/

.gridview__footer_button {
  padding-top: 8px;
  cursor: pointer;
}

.gridview__footer_button .icon {
  font-size: 1.20rem;
}

.gridview__footer .split__left > div {
  margin-right: 10px;
}

.gridview__footer .split__right > div {
  margin-left: 10px;
}

.gridview__action {
  cursor: pointer;
  text-align: center;
}
/* <<< grid table */

/*@import url("/css/ui/skins/base/inputs.css");*/
/* TODO: move to top */
select {
  border-radius: 0;
  background: #ffffff;
  border: 1px solid var(--main-divider-color);
  outline-style: none;
  padding: 5px;
}

select:focus {
}

input[type=text], input[type=password] {
  background: #ffffff;
  border: 1px solid var(--main-divider-color);
  outline-style: none;
  padding: 5px;
}

input[type=text]:focus, input[type=password]:focus {
}

textarea {
  background: #ffffff;
  border: 1px solid var(--main-divider-color);
  outline-style: none;
  padding: 5px;
  resize: none;
}

textarea:focus {
}

input[type=checkbox] {
  background: #ffffff;
  border-radius: 0;
}

/*@import url("/css/ui/skins/base/plugins.css");*/
.autocomplete {
  background: var(--main-light-primary-color);
  position: absolute;
  min-width: 200px;
  max-height: 300px;
  overflow: auto;
  z-index: 10000;
}

.autocomplete > table, .autocomplete .autocomplete-wrp > table {
  width: 100%;
}

.autocomplete td {
  padding: 10px;
  cursor: pointer;
}

.autocomplete tr:nth-child(2n + 1) td {
  background: var(--custom-lightgray-color);
}

.autocomplete tr:hover td {
  background: var(--main-primary-color);
  color: var(--main-primary-icon-color)
}

.autocomplete__selected td {
  /*background: var(--main-primary-color) !important;*/
  /*color: var(--main-primary-icon-color)*/
}

/*@import url("/css/ui/skins/base/icomoon.css"); - moved to index*/
/*@import url("/css/ui/skins/base/bars.css");*/
.bar__header {
  /*background: linear-gradient(to bottom, #446677, #445060);*/
  color: var(--main-primary-icon-color);
}

.bar__footer {
  background: #202022;
  color: #eeeeee;
  min-height: 30px;
}

/*master.css*/
.gl-header-app {
  color: var(--main-primary-icon-color)
}

.gl-header-app .header-logo {
  margin-left: 0.8rem;
}

.gl-system-description__block {
    padding: 0 40px 0 10px;
}

.gl-system-description__block .gl-app-title {
    font-weight: bold;
    line-height: 1.3;
}

.gl-system-description__block .gl-app-subtitle {
    color: var(--main-light-primary-color);
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 300;
    line-height: 1.3;
}

/* >>> gl-subsystem-logo */
.gl-subsystem-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.15rem;
  overflow: hidden;
  cursor: pointer;
}
/* <<< gl-subsystem-logo */

.gl-head-menuitem {
    margin: 0 20px;
    color: var(--main-primary-icon-color);
    align-items: center;
}

.gl-head-menuitem.clickable {
    /*color: #2FB2CF;*/
    cursor: pointer;
}

.gl-head-menuitem-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

.gl-head-menuitem-subtitle {
    color: var(--main-light-primary-color);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.3;
}

.gl-userava {
    position: relative;
    top: 2px;
    width: 30px;
    height: 30px;
    margin: 0 12px;
    opacity: 0.75;
    overflow: hidden;
    border: solid 1px white;
    border-radius: 50%;
}

.gl-userava :nth-child(1) {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 10px;
    height: 10px;
    border: solid 1px white;
    border-radius: 50%;
    transform: translate(-50%, 0);
}

.gl-userava :nth-child(2) {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 24px;
    height: 24px;
    border: solid 1px white;
    border-radius: 50%;
    transform: translate(-50%, 0);
}

.gl-footer__switch {
    padding: 0 5px;
}

.gl-footer__switch_item {
    padding: 0 15px;
    background: none;
    font-size: 1.14rem;
}

.gl-footer__switch_item:hover {
    color: var(--main-primary-color);
}

.gl-footer__switch_item.active {
    color: var(--main-primary-color);
    background: none;
}

.gl-footer__phone {
  margin-right: 1rem;
  white-space: nowrap;
  font-size: 0.88rem;
}

.gl-footer__phone a {
  color: #212121;
  text-decoration: none;
}

.form__splash {
}

.gl-status {
    height: 50px;
    padding: 0 20px 0 50px;
    font-size: 1.42rem;
}

.gl-status-date {
    color: #999;
}

/* TOOD: gl-bold*/
.gl-status-time {
    color: #212121;
    font-weight: bold;
}


.gl-status-network {
    padding: 0 20px;
}

.gl-status-network svg {
    display: block;
}

.form {
    border-radius: 0;
    /*box-shadow: 0 0 120px 0 rgba(0, 0, 0, 0.2);*/
}

.gl-cards__status_box {
    position: relative;
    top: 1px;
    width: 13px;
    height: 13px;
    margin: 0 0px 0 0;
    border-radius: 50%;
}

/*div.form__filter {*/
/*    padding-right: 20px;*/
/*    padding-left: 20px;*/
/*    color: #212121;*/
/*    background: white !important;*/
/*}*/

/*div.form__filter .table > div > div {*/
/*    padding-right: 10px;*/
/*    vertical-align: middle;*/
/*}*/

/*div.form__filter .title {*/
/*    padding: 0;*/
/*}*/

input[type=password],
input[type=text] {
    padding: 5px;
    border: 1px solid var(--main-divider-color);
    background: #ffffff;
    outline-style: none;
}

input[type=password]:focus,
input[type=text]:focus {
    border-color: var(--main-primary-color);
}

select:focus {
    border-color: var(--main-primary-color);
}

textarea {
    padding: 5px;
    border: 1px solid var(--main-divider-color);
    background: #ffffff;
    outline-style: none;
    resize: none;
}

textarea:focus {
    border-color: var(--main-primary-color);
}

div.leaflet-left .leaflet-control-zoom {
    margin-top: 20px;
    margin-left: 10px;
}

.gl-monitoring__items {
    background: white;
}

.gl-monitoring__items [name=filter] .table > div > div > div {
    padding: 5px 0;
}

.gl-admin-form__menu {
}

.gl-admin-form__menu_item {
    margin: 0;
    padding: 10px 20px;
    color: #212121;
    background: none;
}

.gl-admin-form__menu_item.active {
    color: var(--main-primary-color);
    background: none;
}

.gl-admin-form__menu_group {
    padding: 30px 20px 15px 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gl-admin-form {
    background: white;
}

.gl-modal-form {
    background: white; padding: 15px;
}

.gl-modal-form .buttons {
    margin-top: 6px;
    text-align : right;
}

.gl-modal-form input.error {
    border : 2px solid red;
}

.gl-report__header {
    padding: 20px;
}

.gl-report__body {
    padding: 20px;
}

.gl-report__header button {
    margin: 20px 10px 20px 0;
}

.gl-report__header .table > div > div {
    padding: 0;
    padding-right: 20px;
    vertical-align: middle;
}

.form__filter .table button {
    height: 32px;
    padding: 0 20px;
}

.grid-edit-buttons {
 padding: 5px;
}

.grid-edit-buttons button {
  margin: 2px;
}

.ui-corner-all,
.ui-corner-right,
.ui-corner-top,
.ui-corner-tr {
    border-radius: 0 !important;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-br,
.ui-corner-right {
    border-radius: 0 !important;
}

.gl-cards__view_header [class^=icon] {
    color: #212121;
}

.form__splash ~ .form__splash {
}

.gl-status-network i {
    display: inline-block;
    width: 6px;
    margin-left: 2px;
    opacity: 0.1;
    background: var(--main-primary-color);
    vertical-align: bottom;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: wifiConnection;
    animation-timing-function: steps(2, start);
}

.gl-status-network i:nth-child(1) {
    height: 5px;
}

.gl-status-network i:nth-child(2) {
    height: 10px;
}

.gl-status-network i:nth-child(3) {
    height: 15px;
}

.gl-status-network i:nth-child(4) {
    height: 20px;
}

.gl-header__icon_connecting .gl-status-network i:nth-child(1) {
    animation-delay: 0s;
}

.gl-header__icon_connecting .gl-status-network i:nth-child(2) {
    animation-delay: 0.2s;
}

.gl-header__icon_connecting .gl-status-network i:nth-child(3) {
    animation-delay: 0.4s;
}

.gl-header__icon_connecting .gl-status-network i:nth-child(4) {
    animation-delay: 0.6s;
}

.gl-header__icon_connected .gl-status-network i {
    opacity: 1;
}

.gl-duty__card {
    z-index: 10;
    position: relative;
    padding: 12px;
}

.gl-duty__card .status-container .status {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 6px;
    display: inline-block;
    margin-right: 4px;
    margin-top: 6px;
}

.gl-duty__card .status-container .status.accelerated {
    background: var(--main-accent-color);
    color: var(--main-primary-icon-color);
}


@keyframes wifiConnection {
    to {
        opacity: 1;
        background: var(--main-primary-color);
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    select {
        height: 32px;
        padding-top: 0;
        padding-bottom: 0;
    }

    input[type=password],
    input[type=text] {
        height: 32px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.hidden-scroll {

}

.hidden-scroll::-webkit-scrollbar {
    width: 0;
}
