﻿.crop-style-border {
    border-style: solid;
    border-width: 0px 0px 0px 7px;
    padding-left: 2px;
}


/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}


/* Стили для главного меню сайта
-----------------------------------------------------------*/
nav.main-menu .navbar-brand > img {
    height: 100%;
}

.dropdown-menu.layers-years-menu {
    left: -155px;
}

.layers-years-menu > div {
    display: table-cell;
}

    .layers-years-menu > div > ul {
        max-height: 200px;
        min-width: 215px;
        max-width: 400px;
        overflow-y: auto;
    }

        .layers-years-menu > div > ul > li {
            display: contents;
        }
/* Стили для страницы авторизации
-----------------------------------------------------------*/
.login-page {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    margin-top: -100px;
    margin-left: -100px;
}

.login-logo {
    display: block;
    margin: auto;
    max-width: 18em;
}


/* Дополнение стилей bootstrap
-----------------------------------------------------------*/
.table-striped-column > tbody > tr > td:nth-of-type(even),
.table-striped-column > thead > tr > th:nth-of-type(even) {
    background-color: #eff2fb;
}

thead {
    background-color: white;
}

.table-responsive {
    min-height: 200px !important;
}

/* Стили для таблицы списка полей
-----------------------------------------------------------*/
.fields-list > .table > tbody > tr > td {
    border-top-width: 0px;
}

.fields-list > .table > tbody > tr.group-divider > td {
    border-top-width: 1px;
}

.indent-top-block {
    margin-top: 20px;
}

.indent-bottom-block {
    margin-bottom: 20px;
}

.fields-list .meteo-icon,
.fields-list .meteo-waiting {
    width: 24px;
}

/* Панель при переключении на гугл слой
-----------------------------------------------------------*/
.gm-style .gm-style-cc span, .gm-style .gm-style-cc a, .gm-style .gm-style-mtc div {
    font-size: 14px !important;
}

.gm-style {
    font-family: PT Sans !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important
}

    .gm-style img {
        max-width: none !important
    }

/*Стиль для кнопки загрузки файла
	-----------------------------------------------*/
.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.bottomright {
    position: absolute;
    bottom: 0;
    margin-bottom: 7px;
    margin: 7px;
    right: 0;
}

.panel-margin {
    margin-top: 15px;
    margin-bottom: 15px;
}

.panel-margin-bottom {
    margin-bottom: 15px;
}

.input-remove-btn {
    width: 100%;
    text-align: center;
    vertical-align: middle;
    background-color: transparent;
    cursor: pointer;
    height: 1.8em;
    border: none;
    color: #c62724;
}

.action {
    cursor: pointer;
    text-decoration: underline;
}

#MainLayout a,
div.modal a {
    cursor: pointer;
}

.modal {
    overflow: auto !important;
}

    .modal .required::before {
        content: "*";
        font-weight: bold;
        color: red;
        position: absolute;
        left: 6px;
    }

    .modal .required_after::after {
        content: " *";
        font-weight: bold;
        color: red;
    }

#MainLayout .dropdown-menu {
    z-index: 10000;
}

.addImage {
    text-align: center;
    font-size: 24px;
}

.addOperationImage {
    text-align: right;
}

.addImage:hover {
    opacity: .4;
    cursor: pointer;
}

.addImageItem:hover {
    opacity: .4;
    cursor: pointer;
}

.btnEditImage {
    position: absolute;
    top: 5px;
    right: 5px;
}

.btnEditImageCrop {
    position: relative;
    top: -200px;
    right: 18px;
}

.imagewrap {
    display: inline-block;
    position: relative;
}

.imageOperation {
    max-width: 17em;
    max-height: 13em;
}

.file-load-modal, .file-copy-modal {
    width: 30em;
}

.footer {
    background-color: transparent;
    position: relative;
    bottom: 0;
    width: 100%;
}

.panel-transparent {
    background: transparent !important;
}

    .panel-transparent .panel-heading {
        background: transparent !important;
    }

    .panel-transparent .panel-body {
        background: transparent !important;
    }

.voffset {
    margin-top: 2px;
}

.voffset1 {
    margin-top: 5px;
}

.voffset2 {
    margin-top: 10px;
}

.voffset3 {
    margin-top: 15px;
}

.voffset4 {
    margin-top: 30px;
}

.voffset5 {
    margin-top: 40px;
}

.voffset6 {
    margin-top: 60px;
}

.voffset7 {
    margin-top: 80px;
}

.voffset8 {
    margin-top: 100px;
}

.voffset9 {
    margin-top: 150px;
}

.img-zoom {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}

.transition {
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
}

.loader {
    position: absolute;
    top: 9px;
    left: 22px;
}

.pos-rel {
    position: relative;
}

.zero-padding {
    padding: 0px !important;
}

.tooltip_templates {
    display: none;
}

.small-font {
    font-size: xx-small;
}

.fixed-panel300 {
    min-height: 10px;
    max-height: 300px;
    overflow-y: scroll;
}

.fixed-panel200 {
    min-height: 10px;
    max-height: 200px;
    overflow-y: scroll;
}

.fixed-panel600 {
    min-height: 10px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

@media (min-width: 992px) {
    .container-scroll {
        overflow-x: auto;
    }

        .container-scroll > .row {
            width: 130.33333333%; /* = 100% * 4/3 */
        }
}


div.planningUnitItem:hover {
    background-color: #E3E3E3;
    cursor: pointer;
}

.headerActionItem {
    cursor: pointer;
}

.rep-summ-work-by-crop table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mapTrack {
    height: 550px;
}

.collapse.in {
    height: auto !important;
}

.fixed-map-panel {
    min-height: 36em;
    height: 36em;
    font-size: 15px;
}

.small-header {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/*Главное меню*/
.marginBottom-0 {
    margin-bottom: 0;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #555;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }


.child-table-striped tr {
    background: white;
}

    .child-table-striped tr:nth-child(4n+1) {
        background: #ddd;
    }

    .child-table-striped tr:nth-child(4n+2) {
        background: #f9f9f9;
    }

.child-table-striped > tbody > tr:hover {
    background-color: #ccc;
}

.panel-transparent {
    background: none;
}

    .panel-transparent .panel-heading {
        background: rgba(122, 130, 136, 0.2) !important;
    }

    .panel-transparent .panel-body {
        background: rgba(46, 51, 56, 0.2) !important;
    }

.operations-list {
    display: none;
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 21px;
}

    /* Hide default HTML checkbox */
    .switch input {
        display: none;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 17px;
        width: 17px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.panel-actions > .glyphicon {
    color: #cccccc
}

.panel-actions:hover .glyphicon {
    color: black
}

.panel-actions:visited .glyphicon {
    color: black
}

.container-btn-changed-field {
    position: relative;
    z-index: 1000;
    bottom: 65px;
    left: 10px;
}

.selDone + label {
    font-weight: 400 !important;
}

.selDone:checked + label {
    font-weight: 600 !important;
}

.vertical-text {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
}

tr.border_top td {
    border-top: 2pt solid black !important;
}

.ui-autocomplete {
    position: absolute;
    cursor: default;
    z-index: 1060 !important;
}

tr.selected {
    box-shadow: 0px 1px 13px 0px rgb(249, 8, 8);
    background-color: #f5340b2e;
    border-top-width: 0px;
}

/* all crop rotation, scroll for crops summary*/
.crop-summary {
    height: 110px;
    overflow-y: auto;
    font-size: 12px;
    font-weight: normal;
}

    .crop-summary hr {
        margin: 0px;
    }

.accu-weather-logo {
    width: 120px;
}

.meteo-attr-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrap ~ .select2 .selection .select2-selection--single {
    height: 100% !important;
}

    .wrap ~ .select2 .selection .select2-selection--single .select2-selection__rendered {
        word-wrap: break-word !important;
        text-overflow: inherit !important;
        white-space: normal !important;
    }

/* Стили кнопки "Дополнительные настройки - Карточка ПОЛЯ - Осмотр */
.addition_link_editor {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #337AB7;
}

    .addition_link_editor:hover h4 {
        text-decoration: underline;
    }

    .addition_link_editor span {
        margin-right: 5px;
    }

/* Стили кнопки "Дополнительные параметры фильтрации - Осмотр */
.addition_link_allObject {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #337AB7;
    padding: 10px 15px;
}

#extra-filters {
    padding: 15px;
}

.addition_link_allObject h4 {
    font-size: 16px;
}

    .addition_link_allObject h4:hover {
        text-decoration: underline;
        cursor: pointer;
    }

    .addition_link_allObject h4:active {
        text-decoration: underline;
    }

    .addition_link_allObject h4:focus {
        text-decoration: underline;
    }

.addition_link_allObject span {
    margin-right: 5px;
}

.tare-table-block {
    border: solid 1px black;
    border-radius: 4px;
    margin: 4px;
    width: 260px;
}

@media (min-width: 1200px) {
    .container {
        width: 99% !important;
    }
}

.full-page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.full-page-body {
    flex: 1;
}


.export-map-main-btn {
    position: relative;
}

.export-map-header-btn {
    border: none;
    display: inline !important;
}

.export-map-btn-flex-group {
    display: none;
    position: absolute;
    left: 28px;
}

.export-map-main-btn:hover .export-map-btn-flex-group {
    display: inline;
}

.export-map-btn-group {
    display: flex;
    margin-left: 2px;
    margin-top: -2px;
    z-index: 1;
    border-radius: 4px;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(0,0,0,0.2);
}

.leaflet-control-shpExport .export-map-btn-group a.export-map-btn {
    border-radius: 0px;
    border-bottom: none;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgba(0,0,0,0.2);
}

.leaflet-control-drawsave .export-map-btn-group a.export-map-btn {
    border-radius: 0px;
    border-bottom: none;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgba(0,0,0,0.2);
}

.export-map-btn-group a.export-map-btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.export-map-btn-group a.export-map-btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-right: none;
}

.export-map-btn {
    width: max-content !important;
    padding-left: 2px;
    padding-right: 2px;
}

.zoom-baner {
    display: inline-block;
}

span.feature-name-label {
    display: block;
}

span.feature-square-label, span.feature-square-label-print {
    display: table;
    margin: 0 auto;
}

.zoom-baner:hover::after {
    content: var(--zoom-baner-text, 'Приблизить прокруткой колесика мыши'); /* Выводим текст */
    position: absolute; /* Абсолютное позиционирование */
    left: 0;
    right: 0;
    bottom: 5px; /* Положение подсказки */
    z-index: 1; /* Отображаем подсказку поверх других элементов */
    background: rgba(0,42,167,0.6); /* Полупрозрачный цвет фона */
    color: #fff; /* Цвет текста */
    text-align: center; /* Выравнивание текста по центру */
    font-family: Arial, sans-serif; /* Гарнитура шрифта */
    font-size: 15px; /* Размер текста подсказки */
    padding: 5px 10px; /* Поля */
    border: 1px solid #333; /* Параметры рамки */
}

.period-data-btn {
    margin-top: 10px;
    width: 100%;
}

.period-data-item {
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.select-period-btn {
    margin-left: 15%;
}

.layers-filer-container {
    padding-left: 9px;
    padding-right: 5px;
    margin-bottom: 10px;
}

.weather-station-info-block {
    margin-top: 15px !important;
}

.weather-station-info {
    max-height: 38vh !important;
    margin-left: 15px;
}

.weather-station-map-height {
    height: 100% !important;
}

.weather-station-data-block {
    margin-top: 15px;
}

.weather-station-data-height {
    height: 40vh !important;
}

.weather-station-top-block-height {
    height: 45vh !important
}

.loffset-30 {
    margin-left: 30px;
}

.penetrometer-list {
    height: 40vh;
}

.penetrometer-info {
    min-height: 30vh;
    height: auto;
}

.penetrometer-map {
    height: 40vh;
}

.penetrometer-data {
    height: 30vh;
    padding: 15px;
}

.penetrometer-label {
    margin: 10px;
}

.penetrometer-block {
    height: 50vh;
    overflow: scroll;
    overflow-y: initial
}

.penetrometer-data-label {
    padding-left: 15px;
    margin-top: 10px;
}

.penetrometer-info-block {
    max-height: 30vh;
    overflow: scroll;
    overflow-y: initial
}

.grid-actions {
    margin-top: 8px;
    z-index: 999;
    margin-right: 4px;
}

#SupportingWorksTableBody.brigate-way .sw-pct {
    visibility: hidden;
}

.client-map-container {
    height: 100vh;
    width: 100%;
}

.video-details-message {
    padding: 2rem 2rem;
    border: 1px solid #444444;
    font-size: 2.5rem;
    background: #f1f1f1;
    text-align: center;
    display: inline-block;
}

.link-button-green, .link-button-green:visited {
    color: #54b13c;
    font-weight: bold;
    text-decoration: underline;
    font-size: 0.8em;
}

.taretable tr th .link-button-green {
    margin-left: -2.2em;
}

.filter-datepicker-container {
    width: 9.16667% !important;
}

.right_buttons_block {
    float: right;
}

.green-grid-row {
    background-color: #ccffcc !important;
}

.red-grid-row {
    background-color: #ffcccc !important;
}

.validation-block {
    text-align: center;
}

.positive-inventory-balance {
    color: #00cc00;
    font-weight: bold;
}

.padding-left-none {
    padding-left: 0px !important;
}

.padding-right-none {
    padding-right: 0px !important;
}

.bob-panel {
    margin: 10px;
    padding: 15px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: #fff;
}
