html,
body {
    height: 100%;
}

.sidebar.left {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
}

.sidebars > .sidebar {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    position: fixed;
    color: white;
    padding: 10px 10px 20px 10px;
    font-size: 14px;
    z-index: 3;
}

.b-main {
    height: 100%;
    width: 100%;
}

.b-map {
    width: 100%;
    height: 100%;
}

.b-shadow {
    display: none;
    background-color: rgba(9, 9, 9, 0.39);
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
}

.b-navigation {
    position: absolute;
}

.sidebar-card,
.sidebar-search-card {
    overflow: auto;
    display: none;
    width: 400px;
    left: 0 !important;
    margin: 20px;
    background: white;
    color: black !important;
    border: 1px solid rgba(211, 211, 211, 0.5);
    border-radius: 3px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) !important;
}

.sidebar-card h3,
.sidebar-search-card h3 {
    text-align: center;
    font-size: 20px;
    margin: 0px !important;
}

.sidebar-menu {
    width: 340px;
    background: white;
}

.sidebar-menu__title {
    color: black;
}

#map {
    weight: 100%;
    height: 100%;
}

#btnMenu {
    display: block;
    height: 100%;
    width: 100%;
}

.b-find {
    position: fixed;
    padding: 5px 10px;
    z-index: 2;
    margin: 10px;
    background-color: white;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);
    text-align: right;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-direction: column;
    flex-direction: column;
}

.b-find__row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px;
}

.btn-menu__pic {
    background-image: url("../images/menu.png");
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.modal-content {
    width: 600px;
    height: 400px;
    margin: 0 auto;
}

.leaflet-pane {
    z-index: 1 !important;
}

.card__icon-column {
    text-align: center;
    padding: 5px 15px;
}

.card__icon-img {
    width: 35px;
}

.card_title-wrap {
    width: 385px;
    background-color: white;
    z-index: 2;
    word-wrap: break-word;
}

.card_title {
    width: 385px;
    background-color: white;
    z-index: 4;
}

.card_title-find {
    height: 50px;
}

.card-wrap-find {
    height: 50px;
}

#btnMenu {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#btnMenu div {
    height: 3px;
    width: 50%;
    margin-bottom: 5px;
    background-color: #333;
}

#js-search-fio {
    border: none;
    width: 150px;
    border-bottom: 1px solid black;
}

.js-search {
    text-decoration: none !important;
    color: black !important;
}

.js-toggle-search-options {
    margin-left: 10px;
}

.js-toggle-search-options {
    color: black;
    text-decoration: none !important;
}

.js-toggle-search-options:hover {
    color: #333;
}

.js-toggle-search-options i {
    margin-left: 3px;
}

.search-results-container {
    border-bottom: 1px solid lightgrey;
    margin: 0 !important;
    padding-bottom: 25px !important;
    padding-top: 25px !important;
}

.search-results-container:nth-child(2n) {
    background-color: #fafafa;
}

.search-results-container:nth-child(2n+1) {
    background-color: white;
}

.clearfix {
    clear: both;
}

.search-results-fio {
    margin-bottom: 10px;
}

.b-card-button {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px;
}

.btn-card {
    margin: 15px;
    border: none;
    background-color: #fafafa;
    padding: 10px;
    text-transform: uppercase;
    color: black;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid rgba(211, 211, 211, 0.4);
}

.btn-card-active {
    border: none;
    color: white;
    background-color: #4caf50;
}

.has-hint {
    position: relative;
    display: inline;
}

.has-hint .hint {
    position: absolute;
    padding: 0 5px;
    white-space: nowrap;
    color: #FFFFFF;
    background: #000000;
    height: 30px;
    line-height: 30px;
    text-align: center;
    visibility: hidden;
    border-radius: 6px;
}

.has-hint .hint:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #000000;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

span:hover.has-hint .hint {
    visibility: visible;
    opacity: 0.8;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.card_content {
    margin-top: 20px;
}

.card_chart {
    width: 380px;
}

.b-find__fields-row {
    width: 100%;
}

.b-find__field-title {
    float: left;
    margin-top: 3px;
    min-width: 120px;
    text-align: left;
}

.b-find__field-inputs {
    float: right;
}

.b-find__field-fourCyphers {
    width: 90px;
}

.b-find__field-twoCyphers {
    width: 60px;
}

.navbar {
    margin-bottom: 0px !important;
}

.preview-image-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px;
}

.preview-image-wrapper .btn {
    margin-top: auto;
}


.preview-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.loading {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity .6s ease;
}

.loading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: black;
    opacity: .8;
}

.loading .title {
    position: relative;
    font-size: 24px;
    margin: 200px 200px 0;
    color: white;
    text-align: center;
}

.loading .desc {
    position: relative;
    font-size: 20px;
    margin: 100px 200px 0;
    color: white;
    text-align: center;
}

.loading .loading-complete {
    position: relative;
    font-size: 20px;
    margin: 200px 200px 0;
    opacity: 0;
    transition: opacity .6s ease;
    color: white;
    text-align: center;
}

.loading.loaded .loading-complete {
    opacity: 1;
}

.loading.hided {
    opacity: 0;
    pointer-events: none;
}



