@font-face {
    font-family: 'exo2';
    src: url('../fonts/exo2-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'exo2';
    src: url('../fonts/exo2-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* https://gwfh.mranftl.com/fonts/roboto?subsets=cyrillic,latin */
/* roboto-100 - cyrillic_latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/roboto-v48-cyrillic_latin-100.woff2') format('woff2');
}
/* roboto-100italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/roboto-v48-cyrillic_latin-100italic.woff2') format('woff2');
}
/* roboto-200 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/roboto-v48-cyrillic_latin-200.woff2') format('woff2');
}
/* roboto-200italic - cyrillic_latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/roboto-v48-cyrillic_latin-200italic.woff2') format('woff2');
}
/* roboto-300 - cyrillic_latin */
@font-face {
  font-display: swap; 
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v48-cyrillic_latin-300.woff2') format('woff2');
}
/* roboto-300italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto-v48-cyrillic_latin-300italic.woff2') format('woff2');
}
/* roboto-regular - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v48-cyrillic_latin-regular.woff2') format('woff2'); 
}
/* roboto-italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto-v48-cyrillic_latin-italic.woff2') format('woff2');
}
/* roboto-500 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v48-cyrillic_latin-500.woff2') format('woff2');
}
/* roboto-500italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/roboto-v48-cyrillic_latin-500italic.woff2') format('woff2');
}
/* roboto-700 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v48-cyrillic_latin-700.woff2') format('woff2'); 
}
/* roboto-700italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto-v48-cyrillic_latin-700italic.woff2') format('woff2'); 
}
/* roboto-900 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/roboto-v48-cyrillic_latin-900.woff2') format('woff2');
}
/* roboto-900italic - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/roboto-v48-cyrillic_latin-900italic.woff2') format('woff2');
}

html {
    height: 100vh;
    height: -webkit-fill-available;
}

.signin_body {
    margin: 0;
    background-color: #32465a;
    color: white;
}

.signin_body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

.signin_grid {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 260px 1fr;
    grid-template-rows: 150px minmax(40px, 1fr) 180px minmax(40px, 1fr) 80px;
    grid-template-areas:
        'si_deltaLogo   si_deltaLogo    si_deltaLogo   '
        '.              si_title        .              '
        'si_form        si_form         si_form        '
        '.              si_passRecovery .              '
        '.              si_sdLogo       .              ';
    background: radial-gradient(rgb(104,162,214,0.3), rgba(255,255,255,0), rgba(255,255,255,0));
}

.signin_grid_deltaLogo {
    grid-area: si_deltaLogo;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: url(../img/bg_deltaLogo.png) center top no-repeat;
    background-size: contain;
}

.signin_grid_deltaLogo > img {
    width: 120px;
    height: 110px;
}

.signin_grid_title {
    grid-area: si_title;
    align-self: center;
    justify-self: center;
}

.signin_title {
    margin: 0;
    font-weight: normal;
    font: 23px exo2;
}

.signin_grid_form {
    grid-area: si_form;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signin_form {
    margin: 0;
    width: 260px;
}

.signin_form_control {
    margin-bottom: 20px;
}

.signin_form_input, .signin_form_submit {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 22px;
    padding: 0 23px;
    background: white;
    font: 21px exo2;
    font-weight: bold;
}

.signin_form-error .signin_form_password {
    background: white url(../img/error.svg) right 20px center no-repeat;
    background-size: 24px;
}

.signin_form_input:focus, .signin_form_submit:focus {
    outline: none;
}

.signin_form_password::-webkit-credentials-auto-fill-button {
    visibility: hidden;
}

.signin_form_input::placeholder {
    color: #32465a;
}

.signin_form_submit {
    text-align: center;
    background:  linear-gradient(#82d431, #43a541);
    color: white;
    font-size: 23px;
    cursor: pointer;
}

.signin_grid_passRecovery {
    grid-area: si_passRecovery;
    align-self: center;
    justify-self: center;
}

.signin_passRecoveryLink {
    color: white;
    font-size: 19px;
    text-decoration: none;
    font: 19px exo2;
}

.signin_grid_version {
    display: none;
}

.signin_grid_spetsdorLogo {
    grid-area: si_sdLogo;
    align-self: top;
    justify-self: center;
}

@media (min-width: 780px) {
    html {
        height: auto;
    }

    .signin_body {
        height: auto;
    }

    .signin_grid {
        position: static;
        grid-template-columns: 1fr 420px 1fr;
        grid-template-rows: 300px minmax(50px, auto) 240px 80px minmax(165px, auto) 92px;
        grid-template-areas:
            'si_deltaLogo   si_deltaLogo    si_deltaLogo   '
            '.              si_title        .              '
            'si_form        si_form         si_form        '
            '.              si_passRecovery .              '
            '.              si_version      .              '
            '.              si_sdLogo       .              ';
        height: auto;
        min-height: 100vh;
    }

    .signin_grid_deltaLogo > img {
        width: 220px;
        height: 203px;
    }

    .signin_grid_form {
        background: url(../img/bg_form.png) center no-repeat;
    }

    .signin_form {
        width: 420px;
    }

    .signin_form_control {
        margin-bottom: 23px;
    }

    .signin_form_input, .signin_form_submit {
        height: 60px;
        border-radius: 30px;
        padding: 0 35px;
        font-size: 28px;
    }

    .signin_form_submit {
        font-size: 32px;
        cursor: pointer;
    }

    .signin_passRecoveryLink {
        font-size: 19px;
        font: 19px exo2;
    }

    .signin_grid_version {
        display: block;
        grid-area: si_version;
        background: url(../img/bg_version.png) center calc(50% - 10px) no-repeat;
    }
}

.map_grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 70px 1fr;
    grid-template-areas:
        'map_header';
}

.map_grid_header {
    grid-area: map_header;
    position: relative;
}

.map_grid_header::after {
    content: "";
    position: absolute;
    z-index: 1000;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    pointer-events: none;
}

.map_grid_map {
    grid-area: map_map;
    background: #ddd;
}

.map_header {
    display: grid;
    grid-template-columns: 12px max-content 30px max-content 35px max-content 0.3fr max-content 0.7fr max-content;;
    grid-template-rows: 1fr;
    grid-template-areas: '. map_burger . map_deltaLogo . map_sdLogo . map_categories . map_alarms . map_faulties . map_user';
    height: 100%;
    align-items: center;
    background-color: #32465a;
    height: 50px;
    color: white;
}

.map_header_burger {
    grid-area: map_burger;
    display: flex;
    align-items: center;
}

.map_burger {
    cursor: pointer;
    display: block;
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 0;
    background: url(../img/icon_burger.svg) center center no-repeat;
    background-size: contain;
}

.map_burger:focus {
    outline: none;
}

.map_header_deltaLogo {
    grid-area: map_deltaLogo;
}

.map_deltaLogo {
    display: block;
    margin-top: -2px;
}

.map_header_spetsdorLogo {
    grid-area: map_sdLogo;
}

.map_spetsdorLogoLink, .map_spetsdorLogo {
    display: block;
}

.map_header_categories {
    grid-area: map_categories;
}

.map_header_alarms {
    grid-area: map_alarms;
}

.map_header_faulties {
    grid-area: map_faulties;
}

.map_categories {
    display: block;
    white-space: nowrap;
}

.map_category {
    cursor: pointer;
    display: inline-block;
    margin: 0 7px;
    padding: 4px 17px;
    border-radius: 15px;
    background-color: #5b6b7b;
    font-size: 13px;
    font-weight: bold;
}

.map_category-active {
    cursor: default;
    background-color: #66cc00;
}

.map_header_notifications {
    grid-area: map_notifications;
}

.map_header_user {
    grid-area: map_user;
    padding-left: 10px;
}

.map_header_signout {
    grid-area: map_signout;
}

.map_profileLink, .map_signoutLink {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.map_profileIcon {
    display: block;
    margin-left: 15px;
    margin-top: -10px;
}

.map_signoutIcon {
    display: block;
}

/* Скрыты стрелки инкремената и декремента в input type=number */
/* Chrome, Safari, Edge */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Скрыта иконка ошибки валидации в поле */
.q-field__append .q-icon.text-negative {
    display: none;
  }

/* background-color
Для disabled и readonly полей фон серый */
.q-field--disabled > * > .q-field__control,
.q-field--readonly > * > .q-field__control {
  background-color: rgb(246 246 246) !important;
}
/* Для редактируемых полей, но при этом readonly (редактирование в доп. окне по кнопке) фон белый, а не серый */
.d-field-editable .q-field__control::before {
  background-color: white !important;
}

/* border
Для всех кроме borderless и standard бордер всегда сплошной и серый */
.q-field:not(.q-field--borderless, .q-field--standard) > * > .q-field__control::before {
  border-color: #c2c2c2 !important;
  border-style: solid !important;
}
/* Для borderless бордер всегда отсутствует */
.q-field--borderless > * > .q-field__control::before {
  border: none !important;
}

.q-notification__message {
    white-space: pre-wrap !important;
    font-size: 16px;
    font-weight: 400;
}

.q-tooltip {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.d-field--shadow-red div.q-field__control:before {
    box-shadow: 0 0 0px 2px red
}

.d-field--shadow-green div.q-field__control:before {
    box-shadow: 0 0 0px 2px green;
}

.d-field--shadow-yellow div.q-field__control:before {
    box-shadow: 0 0 0px 2px gold;
}


/* Текст ссылки */
.d-link {
    cursor: pointer;
    color: black;
}
.d-link:hover{
    text-decoration: underline;
    color: #409eff;
}
/* Для мобильных устройств */
@media (hover: none) and (pointer: coarse) {
    .d-link {
        text-decoration: underline;
    }
}
/* Стиль кнопки для карточек заявки и отчета */
.d-btn > .q-btn__wrapper {
    padding: 0 12px !important;
}
.d-btn-icon > .q-btn__wrapper {
    padding: 0 2px !important;
}
/* Только для q-badge с параметром floating */
.d-badge-floating {
    top: 0 !important;
    right: -5px !important;
}
/* Отключение анаимации диалоговых окон */
.d-dialog > .q-dialog__inner {
    animation: none !important; /*q-animate--scale*/
    transform: none !important;
    transition: none !important;
}
.d-dialog > .q-dialog__inner > * {
    background-color: white;
}
/* Более компактный заголокок колонки в таблице */
.d-table th {
    position: relative;
    word-break: normal;
}

/* Нижний бордер у последней строки в таблице */
.d-table tbody tr:last-child td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12); 
}

.d-table th:not(:first-child) {
    padding: 2px 4px !important;
}
.d-table th:not(:first-child) > .d-th__text-div {
    margin-right: 11px !important;
    overflow-x: hidden;
}
.d-table .q-table__sort-icon {
    position: absolute !important;
    top: calc(50% - 7px) !important;
    right: 2px !important;
}
.d-table th:not(:first-child) > .d-th__text-div-normal {
    white-space: normal !important;
}
.d-th__text-sticky {
    z-index: 3 !important;
}
/*
  TODO объединить .d-table td и .d-td
*/
.d-table td:not(:first-child) {
    /*white-space: normal !important;*/
    padding: 2px 4px !important;
}
.d-td {
    white-space: normal !important;
    padding: 2px 4px !important;
}
.d-table td:not(:first-child) > .d-td__text-div-normal {
    white-space: normal !important;
}
.d-td__text-sticky {
 position: sticky !important;
 left: 0;
 z-index: 1 !important;
}
.d-td__second-text-sticky {
    position: sticky !important;
    left: 48px;
    z-index: 1 !important;
}

.d-table > .q-table__container > .q-table__bottom {
    padding-right: calc(50% - 250px);
    position: relative;
    min-height: auto;
}
.d-table > .q-table__container > .q-table__bottom #pagination__total {
    position: relative;
    margin-right: 8px;
}

.d-table.d-table--thin > .q-table__container > .q-table__bottom {
    padding-top: 2px;
    padding-right: 16px;
    min-height: 56px !important;
}
.d-table.d-table--thin > .q-table__container > .q-table__bottom > .q-table__control:last-child {
    justify-content: end;
    /*justify-content: center;*/
    width: 100%;
}
.d-table.d-table--thin > .q-table__container > .q-table__bottom #pagination__total {
    position: absolute;
    top: 4px;
    left: 8px;
}
.d-table.d-table--narrow-scroll > .q-table__container > .scroll::-webkit-scrollbar {
    height: 10px !important;
    width: 10px !important;
  }

/* Иконки сортировки в таблицах q-table */
.q-table__sort-icon {
    opacity: 0.5 !important;
    color: rgb(153, 153, 153);
    font-size: 11px !important;
    margin: 1px 2px 1px 2px !important;
}

.sorted .q-table__sort-icon {
    color: black;
    opacity: 100 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    margin: 0 0 0 2px !important;
}

/* Заголовок поля капсом */
.d-field--label-uppercase .q-field__label {
    text-transform: uppercase;
}
.d-field--label-original .q-field__label {
    text-transform: none;
}
/* Заголовок поля в старом виде */
.d-field--label-old {
    width: 100%;
}
.d-field--label-old .q-field__label {
    font-size: 16px !important;
}
.error_body {
    margin: 0;
    background-color: white;
    color: grey;
    font: 16px/1.6 exo2;
}
.error-table {
    table-layout: fixed;
    width: 100%;
}
.error-table td, .error-table th {
    text-align: center;
    color: grey;
    font: 24px/2.4 exo2;
}
.button-error {
    background-color: #4B9500;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 15px;
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.9), rgba(154, 205, 50, 0.1) );
    background-image:-moz-linear-gradient(rgba(255, 255, 255, 0.9), rgba(154, 205, 50, 0.1));
    background-image: -o-linear-gradient(rgba(255, 255, 255, 0.9), rgba(154, 205, 50, 0.1));
}

.d-btn--primary-old {
    width: 100%;
}

.blink {
    -webkit-animation: blink 1s linear infinite;
    animation: blink 1s linear infinite;
}
@-webkit-keyframes blink {
    100% { color: rgba(34, 34, 34, 0); }
}
@keyframes blink {
    100% { color: rgba(34, 34, 34, 0); }
}

/* Стиль ссылок в попапах на карте */
.d-popup-label-link {
    line-height: 18px !important;
}

.d-popup-label-link a {
    color: white;
}
.d-popup-label-link a:hover {
    color: lightgreen !important;
}
.d-popup-label-link a::selection {
    background: darkblue;
}

.d-flex-container {
    display: flex;
    flex-direction: column;
}
.d-flex-container > .d-flex-main-content {
    flex: 1;
    height: 0;
    overflow-y: auto;
}
.d-flex-container > .d-flex-additional-content {
    flex: 0 0 auto;
}

.q-tabs--scrollable > .q-tabs__arrow {
   text-shadow: 0 0 1px #000, 0 0 2px #000, 0 0 3px #000;
   color: white;
}

.q-tabs--horizontal .q-tabs__arrow--right {
    right: 0;
  }

body.mobile .q-tabs__content {
  overflow: auto;
}

/* Стили просмотрщика изображений */

.viewer-actuality-report {
    position: absolute !important;
    width: 50%;
  }
  
  .viewer-actuality-report .viewer-list {
    transform: none !important;
  }

.d-tooltip {
  max-width: none !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 14px !important;
}

  