﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

html {
    -webkit-text-size-adjust: none
}

html,
body {
    height: 100%;
}


* {
    margin: 0;
    padding: 0;
    outline: none;
    resize: none;
}

body {
    /*font-size: 14px;
    font-family: Arial;
    line-height: 22px;*/
    /*padding-top: 50px;*/
    min-height: 100%;
    position: relative;
}

.slider {
    background: linear-gradient(to right,#fff, #c3c3c3)
}

#map {
    width: 100%;
    height: 100%;
}

#map_zoom_slider {
    top: 50px;
}

.leaflet-container {
    background: rgb(243, 243, 243);
}

#geoinfo-logo {
    height: 20px;
}

/*.header-logo input[type="text"] {
        display: inline-block;
        width: 200px;
    }*/

.header-search {
    color: black;
    width: 500px;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 998;
}

    .header-search input[type="text"] {
        /*width: 200px;*/
    }


.region-dropdown {
}

    .region-dropdown .dropdown-menu {
        padding: 0;
        max-height: 400px;
        overflow-y: scroll;
        overflow-x: hidden;
        width: max-content;
    }

    .region-dropdown .dropdown-item {
        display: block;
        width: 100%;
        padding: .25rem 1.5rem;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
    }

        .region-dropdown .dropdown-item:focus, .dropdown-item:hover {
            color: #16181b;
            text-decoration: none;
            background-color: #f8f9fa;
        }

    .region-dropdown .current-region .region-name {
        padding-right: 25px;
        padding-left: 5px;
        padding-top: 1px;
        padding-bottom: 1px;
    }

    .region-dropdown .current-region .region-icon {
        margin-top: 0px;
    }

    .region-dropdown .region-child {
        padding-left: 30px;
    }

    .region-dropdown .region-item {
        padding: 5px;
    }


        .region-dropdown .region-item div {
            display: inline-block;
        }

        .region-dropdown .region-item .collapsed-state-icon {
            width: 20px;
            height: 20px;
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
            float: left;
            margin-top: 2px;
            background-image: url(../vkomap/img/trash/chevron-right.png);
        }

        .region-dropdown .region-item.expanded .collapsed-state-icon {
            transform: rotate(90deg);
        }

        .region-dropdown .region-item .region-icon {
            width: 20px;
            height: 20px;
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
            float: left;
            margin-top: 2px;
        }

    .region-dropdown .current {
        background-color: #c9df9d;
    }




    .region-dropdown .dropdown-menu .region-item .region-name {
        padding: 5px;
        padding-right: 25px;
    }


.header-tools-top {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 998;
}

    .header-tools-top .dropdown-menu {
        width: unset;
        min-width: unset;
        right: 42px;
        left: unset;
        padding: 0;
        z-index: 998;
    }

        .header-tools-top .dropdown-menu button {
            text-align: center;
        }

#btn-lang {
    padding: 7.5px 8px;
    font-size: 12px;
}

#btn-login {
    position: absolute;
    top: 5px;
    right: 170px;
    z-index: 998;
    background-color: #1a9f29;
    color: white;
}

    #btn-login span {
        font-style: italic;
    }

    #btn-login:hover {
        background-color: #0a8323;
    }

#btn-feedback {
    position: absolute;
    bottom: 30px;
    right: 16px;
    z-index: 998;
    border-radius: 20px;
    line-height: 1.8;
}

.header-tools-right {
    position: absolute;
    top: 41px;
    right: 5px;
    z-index: 998;
}

.header-tools-right2 {
    position: absolute;
    top: 144px;
    right: 5px;
    z-index: 998;
}


#search-result-panel {
    position: absolute;
    z-index: 998;
    top: 50px;
    left: 5px;
    width: 400px;
    overflow: auto;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

.search-result-layername {
    float: right;
}

#ident-result-panel {
    position: absolute;
    z-index: 998;
    top: 50px;
    left: 5px;
    max-height: 600px;
    width: 400px;
    overflow: auto;
}

#ident-result-attributes-panel {
    position: absolute;
    z-index: 998;
    top: 50px;
    left: 60px;
    max-height: 600px;
    width: 400px;
    overflow: auto;
}

#coordinates-panel {
    color: black;
    position: absolute;
    z-index: 998;
    bottom: 20px;
    left: 5px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.7);
}

#legend-panel {
    color: black;
    position: absolute;
    width: 400px;
    z-index: 998;
    top: 50px;
    right: 60px;
}

    #legend-panel .custom-panel-body {
        overflow-y: auto;
        max-height: 400px;
    }

    #legend-panel img {
        padding-right: 5px;
    }

    #legend-panel li.list-group-item {
        padding: 10px 10px 10px 20px;
    }

        #legend-panel li.list-group-item.layer-name {
            padding: 10px 10px 10px 10px;
            /*font-size: larger;*/
            background-color: aliceblue;
            font-weight: bold;
        }

#layers-panel {
    color: black;
    position: absolute;
    width: 500px;
    z-index: 998;
    top: 50px;
    right: 60px;
}

    #layers-panel .custom-panel-body {
        overflow-y: auto;
        max-height: 400px;
    }

    #layers-panel .checkbox {
        display: inline-block;
        margin-top: 0px;
        margin-bottom: 2px;
    }

    #layers-panel .list-group-item button {
        display: inline-block;
        float: right;
    }

    #layers-panel .slider {
        width: calc(100% - 90px);
        display: inline-block;
        margin: 10px 5px 5px 5px;
    }

    #layers-panel .span-label {
        padding-right: 5px;
    }

    #layers-panel .checkbox label {
        font-size: 14px;
        line-height: 20px;
    }

#basemaps-panel {
    color: black;
    position: absolute;
    width: 220px;
    z-index: 998;
    top: 50px;
    right: 60px;
}

    #basemaps-panel img {
        padding-right: 5px;
        height: 48px;
        width: 70px;
    }

#free-zem-panel {
    color: black;
    position: absolute;
    width: 400px;
    z-index: 998;
    top: 50px;
    right: 60px;
}

    #free-zem-panel .custom-panel-body {
        overflow-y: auto;
        max-height: 400px;
    }

    #free-zem-panel .input-group {
        padding: 5px;
    }

#list-panel {
    color: black;
    position: absolute;
    width: 400px;
    z-index: 998;
    top: 50px;
    right: 60px;
}

    #list-panel .custom-panel-body {
        overflow-y: auto;
        max-height: 330px;
    }

    #list-panel .input-group {
        padding: 5px;
    }

#free-zem-image-modal {
    color: black;
}

    #free-zem-image-modal .modal-dialog {
        width: 80%;
        height: 90%;
    }

    #free-zem-image-modal img {
        display: block;
        margin: 0 auto;
        overflow-y: auto;
    }

    #free-zem-image-modal .modal-footer {
        text-align: center;
        padding: 10px;
    }


span.free-zem-photo {
    padding-left: 5px;
}

button.enabled {
    background-color: #d6e9fd !important;
}

    button.enabled:hover {
        background-color: #d6e9fd;
    }

.btn:focus {
    outline: none;
}

.ui-autocomplete {
    z-index: 998;
}

.tooltip {
    z-index: 11111;
}

.leaflet-grab {
    cursor: default;
}

.complete-layer-name {
    float: right;
    font-size: 10px;
    background-color: #769d24;
    color: aliceblue;
    border-radius: 3px;
    padding: 2px;
}

/*.custom-length-popup .leaflet-popup-content {
    margin: 6px 10px;
    line-height: 1;
}*/

.leaflet-popup-delete-button {
    position: absolute;
    top: 3px;
    right: 20px;
}

.leaflet-popup-clear-button {
    position: absolute;
    top: 3px;
    right: 5px;
}


#searchinput {
    width: 200px;
}

#searchclear {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    height: 14px;
    margin: auto;
    font-size: 14px;
    cursor: pointer;
    color: #ccc;
    z-index: 998;
}

#list-panel a.close {
    font-size: 21px;
}

a.close {
    font-size: 35px;
    line-height: 0.5;
}

.leaflet-popup-close-button {
    font-size: 21px !important;
    margin-right: 3px;
    margin-top: -3px;
}

.list-group-item:first-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.list-group-item:last-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.list-group {
    margin-bottom: 0px;
}

#layers-panel .panel-heading span.title {
    float: left;
    margin-top: 5px;
}

.layer-opacity-container {
    display: inline-block;
    width: calc(100% - 90px);
    margin-left: 15px;
}

.layer-opacity {
    display: inline-block;
    width: 100%;
}

.opacity-icon-container {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0 5px;
}

.opacity-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 4px;
    background-image: url(../images/icons/sun_64.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.opacity-icon-dark {
    display: inline-block;
    position: absolute;
    width: 24px;
    height: 24px;
    margin-left: 4px;
    background-image: url(../images/icons/sun_dark_64.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.opacity-value {
    display: inline-block;
    float: right;
    line-height: 2;
}

.btn-ident-free-zem {
    margin-top: 5px;
}

    .btn-ident-free-zem .span-label {
        padding-left: 5px;
    }


#btn-panzoom-reset {
    color: white;
    background: none;
}

label.disabled {
    cursor: not-allowed;
    color: #c7c7c7;
}

.btn-default:focus, .btn-default.focus {
    background-color: #fff;
}

.list-link {
    padding: 5px 10px;
}

#layers-panel .li-expand .checkbox {
    display: block;
}

.li-expand {
    display: inline-block;
    width: 100%;
}

    .li-expand a.close {
        font-size: unset;
        width: 100%;
        opacity: unset;
        font-weight: normal;
        line-height: 1;
    }

    .li-expand span.glyphicon {
        font-size: 20px;
        float: right;
    }


    .li-expand a[aria-expanded="true"] span.glyphicon:before {
        content: "\e113";
    }

    .li-expand a[aria-expanded="false"] span.glyphicon:before {
        content: "\e114";
    }

.li-expand-title {
    display: inline-block;
}

.li-expand-group {
    padding: 10px 15px 5px 35px;
}

    .li-expand-group .list-group-item {
        border: 0px;
        margin-bottom: 0px;
        border-bottom: 1px solid #ddd;
    }

        .li-expand-group .list-group-item:last-child {
            border: 0px;
        }

.li-expand-group-title {
    font-size: 17px;
}

.li-expand-group-title2 {
    font-size: 14px;
}

.li-expand-group .list-group-item {
    padding: 10px 0px;
}

.leaflet-label {
    background-color: transparent;
    border: transparent;
    box-shadow: none;
    font-weight: bold;
    font-size: 20px;
}

.entity-loader {
    display: none;
    position: absolute;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background-image: url(../images/icons/loader_16.gif);
    background-repeat: no-repeat;
    background-size: contain;
}

#counter {
    display: none;
    position: fixed;
    right: 0;
    bottom: 22px;
    z-index: 1000;
    font-size: 11px;
    padding: 0 5px;
    background: rgba(255, 255, 255, 0.7);
}

    #counter .glyphicon {
        color: #1a9f29;
    }



.ripple {
    z-index: 9999;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    border: solid 1px #ddd;
    transform: scale(0);
    position: absolute;
    opacity: .5;
}

.rippleEffect {
    animation: rippleDrop .4s linear;
}

@keyframes rippleDrop {
    50% {
        transform: scale(2);
        /*opacity: 0;*/
    }

    100% {
        transform: scale(0);
        /*opacity: 0;*/
    }
}

.url-type-icon {
    border: none;
    background: none;
}

#costModal .modal-dialog {
    margin: 150px auto;
}



.card-table {
    width: calc(100% - 5px);
    color: #3c4c7e;
    margin-top: 10px;
}

    .card-table td {
        border: solid black 1px;
        text-indent: 0px;
        padding: 5px 10px;
    }

    .card-table tr.table-header td {
        background-color: #3c4c7e;
        color: white;
    }


.header__bars {
    display: none;
}


.popup-mover {
    position: absolute;
    right: 5px;
    bottom: 0px;
    font-size: 16px;
    cursor: grab;
}

.grabbing {
    cursor: grabbing;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.leaflet-sbs-divider {
    z-index: 990 !important;
}

#map-contacts {
    width: 100%;
    height: 500px;
}

    #map-contacts .leaflet-bottom.leaflet-right {
        display: none;
    }

.leaflet-contextmenu-icon {
    margin: 0 !important;
}


.list-date {
    padding: 5px 10px 0px;
}

    .list-date .text {
        display: inline-block;
        margin-right: 10px;
    }

    .list-date .dropdown {
        display: inline-block;
    }

        .list-date .dropdown .dropdown-menu li {
            padding: 3px 0px 3px 10px;
        }

            .list-date .dropdown .dropdown-menu li:hover {
                cursor: pointer;
            }


.turizm-tree {
}

    .turizm-tree span.glyphicon {
        font-size: 18px;
        cursor: pointer;
        position: absolute;
        top: 12px;
        right: 15px;
    }

    .turizm-tree[aria-expanded="true"] span.glyphicon:before {
        content: "\e113";
    }

    .turizm-tree[aria-expanded="false"] span.glyphicon:before {
        content: "\e114";
    }


    .turizm-tree .tree-block {
        padding-top: 15px;
    }

.tree-child-list-group {
    padding-top: 5px;
    padding-left: 5px;
}

.tree-item {
    border: none;
    padding-left: 20px;
}

    .tree-item span.glyphicon {
        position: absolute;
        top: 5px;
        left: 0px;
        width: 18px;
    }

    .tree-item[aria-expanded="true"] span.glyphicon:before {
        content: "\2212";
    }

    .tree-item[aria-expanded="false"] span.glyphicon:before {
        content: "\002b";
    }

    .tree-item .tree-item-name {
        font-weight: normal;
        padding-left: 20px;
    }

        .tree-item .tree-item-name input {
            margin-right: 5px;
        }


.routes-group {
    padding-left: 20px !important;
}

.routes-title {
    font-size: 14px !important;
    line-height: 20px !important;
}

.leaflet-popup-content {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.header-search-info {
    color: black;
    width: 500px;
    position: absolute;
    top: 5px;
    left: 510px;
    z-index: 998;
}

#searchInfoModal .modal-dialog {
    margin: 150px auto;
}

#searchInfoModal p {
    margin-bottom: 10px;
}

#searchInfoModal ul {
    list-style-position: inside;
}

.dropdown-item.region-item [data-kato="600000000"] {
    cursor: default;
    font-weight: bold;
}

.full-region-item {
    padding-left: 5px;
    border-left: 10px solid #3c4c7e;
    background-color: #d6dff8;
}

.obl-item {
    padding-left: 5px;
    border-left: 10px solid #a8bdff;
    background-color: #ebf0ff;
}

    .obl-item:hover {
        background-color: #ebf0ff !important;
    }

    .obl-item .dropdown-item.region-item:hover {
        background-color: #ebf0ff !important;
    }

    .obl-item .dropdown-item.region-item {
        cursor: default;
        font-weight: bold;
        background-color: #ebf0ff !important;
    }

    .obl-item .region-icon {
        display: none !important;
    }

    .obl-item .region-name {
        padding-left: 0px;
        margin-left: -5px;
    }


.warning-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    margin: 0;
    background-color: #e9e9e9;
    z-index: 999999;
    padding-top: 20%;
}

    .warning-content h1 {
        font-size: 24px;
    }


.gov-auth {
    background: #ecf1f5;
}

.gov-auth-win {
    box-shadow: 0 15px 30px rgba(59, 76, 125, 0.25);
    border-radius: 6px;
}

.gov-auth-win-body {
    border-radius: 6px;
    padding: 20px 30px;
}

.gov-auth-title {
    font-weight: bold;
    font-size: 20px;
    color: #3c4c7e;
}

.admin-auth-title {
    font-weight: bold;
    font-size: 20px;
    color: #487e3c;
}


.gov-auth-subtitle {
    font-size: 18px;
}

    .gov-auth-subtitle .x-btn-inner {
        font-size: 14px;
    }


.mask-basemap-label {
    font-weight: normal;
}
