﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 50px;
    /*padding-bottom: 20px;*/
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    min-height: calc(100vh - 50px);
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.geolayer-info-table {
    margin-bottom: 0px;
    font-size: 13px;
    font-family: helvetica;
}

    .geolayer-info-table tr {
        height: 24px;
    }

    .geolayer-info-table .geolayer-field-name {
        vertical-align: middle;
    }

    .geolayer-info-table .geolayer-field-value {
        vertical-align: middle;
        border: 1px solid grey;
        height: 35px;
    }

    .geolayer-info-table.horizontal-table .geolayer-field-name {
        width: 280px;
    }

    .geolayer-info-table.vertical-table {
        margin-top: 10px;
    }

li.dropdown.open a.dropdown-toggle {
    background-color: #135794;
}

    li.dropdown.open a.dropdown-toggle:hover {
        background-color: #135794;
    }

nav.navbar.navbar-inverse.navbar-fixed-top {
    background-color: #135794;
    border-color: #09467d;
}

li.dropdown.open a.dropdown-toggle:focus {
    background-color: #09467d;
}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: #09467d;
}

.navbar-inverse .navbar-toggle {
    border-color: #09467d;
}

.navbar-inverse .navbar-nav > li > a {
    color: #efefef;
}

.navbar-padding-right {
    padding-right: 30px !important;
}

.btn-primary, .editable-submit {
    background-color: #135794;
    border-color: #09467d;
}

    .btn-primary:hover, .btn-primary[disabled]:hover, .editable-submit:hover {
        background-color: #09467d !important;
        border-color: #09467d !important;
    }

    .btn-primary:focus, .btn-primary[disabled]:focus, .editable-submit:focus {
        background-color: #09467d !important;
        border-color: #09467d !important;
    }

    .btn-primary:active, .editable-submit:active {
        background-color: #003329;
        border-color: #003329;
    }

        .btn-primary:active:focus, .editable-submit:active:focus {
            background-color: #003329;
            border-color: #003329;
        }

        .btn-primary:active:hover, .editable-submit:active:hover {
            background-color: #003329;
            border-color: #003329;
        }

.open > .dropdown-toggle.btn-primary, .open > .dropdown-toggle.btn-primary {
    background-color: #135794;
    border-color: #09467d;
}

    .open > .dropdown-toggle.btn-primary:hover, .open > .dropdown-toggle.btn-primary:focus {
        background-color: #003329;
        border-color: #003329;
    }

.text-custom {
    color: #135794;
}

.form-control:focus, .input-sm:focus, .search > input:focus {
    border-color: #1667b0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 150, 255, 0.6);
}

.link-custom {
    color: #135794;
}

    .link-custom:hover {
        color: #09467d;
        text-decoration: none;
    }

    .link-custom:focus {
        color: #023c32;
        text-decoration: none;
    }

.nav-pills > li.active > a {
    background-color: #135794;
}

    .nav-pills > li.active > a:hover {
        background-color: #09467d;
    }

    .nav-pills > li.active > a:focus {
        background-color: #09467d;
    }

td.pointer, td.hover-pointer {
    cursor: pointer;
}

    td.hover-pointer:hover {
        background-color: floralwhite
    }

.title {
    /* чтобы линии не выходили за ширину блока заголовка */
    overflow: hidden;
    color: #7a7a7a;
}

    .title:before,
    .title:after {
        content: '';
        /* делаем линию строчно-блочной */
        display: inline-block;
        /* выравниваем вертикально по середине */
        vertical-align: middle;
        /* не позволяем ширине превысить 100% (будет добавлен бордюр) */
        box-sizing: border-box;
        /* установка ширины в 100% делает линию равной ширине тега заголовка
        ** благодаря этому линия заполнит все свободное пространство
        ** слева и справа от текста
        */
        width: 100%;
        height: 3px;
        background: #c8c8c8;
        /* добавляем к линии левый и правый бордюр цветом основного фона заголовка
        ** благодаря этому создается нужный отступ между линиями и текстом
        */
        border: solid #FFF;
        border-width: 0 10px;
    }

    .title:before {
        /* смещаем левую линию влево отрицательным отступом, равным 100% ширины
        ** благодаря этому линия встает слева от текста
        */
        margin-left: -100%;
    }

    .title:after {
        /* смещаем правую линию вправо отрицательным отступом, равным 100% ширины
        ** благодаря этому линия встает справа от текста
        */
        margin-right: -100%;
    }

.text-strong {
    font-weight: bold !important;
}

.dropdown-menu-select label > input {
    display: none;
}

.dropdown-menu > li.active > a {
    background-color: #fff;
    border: 1px solid #135794;
    color: #000;
}

    .dropdown-menu > li.active > a:hover {
        background-color: #135794;
        border: 1px solid #135794;
        color: #fff;
    }

    .dropdown-menu > li.active > a:focus {
        background-color: #09467d;
        border: 1px solid #135794;
        color: #fff;
    }

/*Dropdown submenu*/
.dropdown-menu.multi-level > li > a {
    padding: 10px;
}

.dropdown-menu > li > a:hover {
    background-color: #135794;
    color: #fff;
}

.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;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .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: #09467d;
        margin-top: 5px;
        margin-right: -3px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .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;
        }


.dropdown-submenu-right {
    position: relative;
}

    .dropdown-submenu-right > .dropdown-menu {
        top: 0;
        right: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu-right:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu-right > a:after {
        display: block;
        content: " ";
        float: left;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #09467d;
        margin-top: 5px;
        margin-right: 3px;
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
    }

    .dropdown-submenu-right:hover > a:after {
        border-right-color: #fff;
    }


a.fa-chevron-circle-left {
    color: #135794;
}

    a.fa-chevron-circle-left:hover {
        color: #09467d;
        text-decoration: none;
    }

    a.fa-chevron-circle-left:focus {
        color: #09467d;
        text-decoration: none;
    }

.cell-value {
    font-weight: bold;
    font-size: 15px;
}

.cell-title {
    font-size: 15px;
}

.button-block {
    float: right;
    margin-right: 20px;
}

.button-group-block button, .button-group-block a {
    padding: 10px 7px 10px 7px;
}

.button-group-block .dropdown {
    float: left;
}

.dropdown-overflow {
    overflow-y: auto;
    max-height: 300px;
}

label.required:not(.required-hidden)::after {
    content: " *";
    color: red;
    font-weight: bold;
    white-space: nowrap;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

    .upload-btn-wrapper input[type=file] {
        cursor: pointer;
        padding: 40px;
        font-size: 100px;
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
    }

.search-layer-selector {
    margin-top: 10px;
}

.search-list, .search-users-location-list {
    padding-left: 0px;
    list-style: none;
}

.pagination > .active > a {
    background-color: #135794;
    border-color: #09467d;
}

    .pagination > .active > a:hover, .pagination > .active > a:focus {
        background-color: #09467d;
        border-color: #09467d;
    }

.pagination > li > a, .pagination > li > a:hover, .pagination > li > a:focus {
    color: #09467d;
}

.search-layer-opacity-config-btn {
    display: none;
}

    .search-layer-opacity-config-btn.active {
        display: initial;
    }

.geolayer-navigation {
    margin-bottom: 5px;
}

.search-object-item {
    padding: 3px 5px;
}

.geo-layer-geometry-block {
    margin-top: 10px;
}

.geo-layer-geometry-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

.geo-layer-geometry-panel {
    margin-bottom: 5px;
}

.geo-layer-struct-block {
    margin-top: 0px;
}

.geo-layer-struct-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

.geo-layer-struct-panel {
    margin-bottom: 0px;
}

.geo-layer-show-fields {
    text-decoration: none !important;
    color: grey !important;
}

.confirm-data-block {
    margin-top: 5px;
}

    .confirm-data-block .panel-heading {
        padding: 5px;
    }

.confirm-data-control-block {
    margin-top: 15px;
}

.confirm-data-control-left {
    float: left;
}

.confirm-data-control-right {
    float: right;
}

.confirm-data-save {
    float: right;
}

.confirm-data-radio {
    float: right;
    margin-right: 20px;
}

.confirm-data-upload-table {
    margin-top: 55px;
    font-size: 12px;
    margin-bottom: 0px;
    display: none;
}

    .confirm-data-upload-table th {
        text-align: center;
        vertical-align: middle;
    }

.confirm-data-text {
    border: 1px dashed #dddddd;
    padding: 5px 10px;
    min-height: 100px;
    text-indent: 10px;
}

.confirm-data-files {
    margin-top: 5px;
    border: 1px dashed #dddddd;
    padding: 0px 5px;
}

    .confirm-data-files table {
        font-size: 12px;
        margin-bottom: 0px;
    }

    .confirm-data-files th {
        text-align: center;
        vertical-align: middle;
    }

.confirm-data-history-block {
    padding-top: 10px;
}

.exp-collapse {
    font-weight: bold;
}

.layer-info-title {
    font-weight: bold;
}

.multiselect-full-size {
    width: 100% !important;
    height: 100% !important;
}

    .multiselect-full-size .ms-selectable, .multiselect-full-size .ms-selection {
        height: 85% !important;
    }

    .multiselect-full-size .ms-list {
        height: 100% !important;
    }

.package-user-list {
    display: block;
    width: 100%;
    height: auto;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.package-user-item {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 2px;
    margin-right: 5px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.package-comment {
    min-width: 100%;
    max-width: 100%;
    height: 120px;
    min-height: 60px;
    max-height: 120px;
}

.object-type-table {
    width: 100%;
}

    .object-type-table tbody {
        display: block;
        max-height: 205px;
        overflow: auto;
        width: 100%;
    }

        .object-type-table thead, .object-type-table tbody tr {
            display: table;
            table-layout: fixed; /* even columns width , fix width of table too*/
        }

    .object-type-table thead {
        width: calc( 100% ) /* scrollbar is average 1em/16px width, remove it from thead width */
    }

    .object-type-table th:last-child {
        width: 10%;
    }

.header-wrap-small {
    min-width: 140px;
    max-width: 140px;
    word-break: normal;
}

    .header-wrap-small .th-inner {
        vertical-align: middle;
        white-space: normal !important;
    }

.list-group-directory {
    border: none;
    padding: 0.37em 12px;
    font-size: 13px;
}

.sidebar-layer-list {
    margin-top: -5px;
    margin-bottom: -4px;
    width: calc(100% + 10px);
}

    .sidebar-layer-list li:not(.list-group-directory) {
        border: none;
        padding: 0.05em 12px;
        font-size: 13px;
    }

    .sidebar-layer-list .checkbox {
        display: flex;
        justify-content: space-between;
    }

.sidebar-layer-elements {
    display: inline-block;
    float: right;
    margin-top: 5px;
    white-space: nowrap;
}

    .sidebar-layer-elements a {
        padding: 3px;
        vertical-align: middle;
    }

.export-search-select-block {
    margin-bottom: 8px;
}

.search-select-result-address {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.search-select-result-content-block {
    margin-top: 8px;
}

.search-select-result-content {
    margin-top: 8px;
}

/*Brand image*/
.navbar-brand.image {
    padding: 0px;
}

select[readonly]:-moz-read-only {
    /* For Firefox */
    pointer-events: none;
}

select[readonly]:read-only {
    pointer-events: none;
}

.ui-button:active {
    color: #fff !important;
    border-color: #09467d !important;
    background-color: #09467d !important;
}

/*Form elements*/
.radio-label {
    font-weight: normal;
    margin-left: 20px;
}

.form-checkbox {
    margin-top: 10px !important;
}

.option-join-element {
    white-space: normal;
    font-size: 14px;
    display: inline-block;
    max-width: 200px;
    margin-bottom: 5px;
    margin-right: 5px;
}

.option-join-element-text {
    width: 95%;
    float: left;
}

.option-join-element-remove {
    width: 5%;
    cursor: pointer;
}

.rapid-tooltip {
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #222;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid gray;
}