.clear_all_filters_wrpr {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
}

.total {
    margin-left: 25px;
    font-size: 28px;
}

.map-el-wrapper {
    position: relative;
}

.reset-map {
    position: absolute;
    z-index: 2;
    cursor: pointer;
    background-color: #fff;
    top: 10px;
    right: 60px;
    padding: 0 15px;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, .3) 0px 1px 4px -1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    height: 40px;
    line-height: 40px;
    color: #464646;
    font-weight: 600;
}

.reset-map.active {
    opacity: 1;
    pointer-events: all;
}

.reset-map:hover {
    color: #000;
}

@media screen and (max-width: 768px) {
    .total {
        font-size: 18px;
        margin: 15px 0 0 0;
    }
    .clear_all_filters_wrpr {
        flex-direction: column;
    }
}

.map-wrapper {
    position: relative;
    width: 100%;
    /* min-height: 611px;
    height: 42vw; */
}

.map-el {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    min-height: 42vw;
    background-color: grey;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.map-legend {
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
    border-radius: 11px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 2;
    padding: 0;
    margin-top: 30px;
}

.map-wrapper.active .map-legend {
    padding: 15px 15px 0;
}

.legend-list {
    /* display: flex; */
    display: none;
    flex-wrap: wrap;
    width: 100%;
}

body .text_input.table_search {
    border: 2px solid #000000;
}

.map-wrapper.active .legend-list {
    display: flex;
}

.legend-list li {
    width: 33.3333%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.legend-list li b {
    margin-right: 35px;
    color: #464646;
    margin-left: 15px;
}

.legend-list li b:before {
    content: "(";
}

.legend-list li b:after {
    content: ")";
}

.legend-list li input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 36px;
    height: 20px;
    background-color: #DADADA;
    border-radius: 22px;
    background-size: 16px;
    background-position: 2px;
    background-repeat: no-repeat;
    background-image: url(../img/markers/check.svg);
    transition: all 0.3s;
    flex-shrink: 0;
    margin: 0 15px 0 0;
    cursor: pointer;
}

.legend-list li input:hover,
.toggle-legend:hover {
    opacity: 0.7;
}

.legend-list li input:checked {
    background-color: #0962CB;
    background-position: calc(100% - 2px);
}

.legend-list li img {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin: 0 10px 0 0;
    filter: grayscale(1);
    transition: all 0.3s;
    padding: 5px;
}

.legend-list li input:checked+img {
    filter: grayscale(0);
}

.legend-list li span {
    /* flex: 1; */
    line-height: 20px;
    color: #C8C8C8;
}

.legend-list li input:checked+img+span {
    color: #464646;
}

.open-legend {
    display: block;
    padding: 15px 20px 15px 50px;
    border-radius: 7px;
    background-image: url(../img/map-icon.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 20px center;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    color: #464646;
}

.close-legend {
    display: none;
    border: 1px solid #ECECEC;
    border-radius: 3px;
    width: 30px;
    height: 30px;
    position: relative;
    margin-left: auto;
}

.close-legend:after {
    content: '';
    position: absolute;
    display: block;
    width: 17px;
    height: 2px;
    background: #464646;
    border-radius: 13px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-wrapper.active .close-legend {
    display: block;
}

.map-legend h2 {
    margin-bottom: 15px;
}

.map-wrapper.active .open-legend,
.map-legend h2 {
    display: none;
}

a.toggle-legend {
    width: 100%;
}

.map-wrapper.active a.toggle-legend {
    width: auto;
}

.map-legend h3 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    color: #464646;
    display: none;
    width: 100%;
}

.map-wrapper.active .map-legend h3,
.map-wrapper.active .map-legend h2 {
    display: block;
}

.info-string {
    max-width: 300px;
    padding: 5px;
}

.info-string .info-headline {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.info-string .info-headline img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    object-position: center;
    padding: 5px;
}

.info-string strong {
    margin-right: 5px;
}

.info-string span {
    display: block;
}

.info-string a {
    color: #0962cb;
}

.info-string p+p {
    margin-top: 15px;
}

.gm-ui-hover-effect {
    top: 0!important;
    right: 0!important;
}

tr.hide {
    display: none;
}

.loading {
    width: 40px;
    height: 40px;
    background-image: url(../img/spinner.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

.loading.active {
    opacity: 1;
    animation: spin infinite 0.5s ease;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

body.filtering .map-wrapper,
body.filtering .map_table_section {
    opacity: 0.5;
}

.datatable_table tbody td span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.datatable_table tbody td span.center {
    text-align: center;
}

.datatable_table tbody td a {
    color: #0962cb;
}


/* .dataTables_wrapper {
    overflow-y: hidden;
    overflow-x: auto;
} */

.dataTables_wrapper .dataTables_paginate {
    position: sticky;
    position: -webkit-sticky;
    left: 0;
}

.map_header_block {
    border-bottom: 1px solid #ececec;
}

.description p {
    text-align: left;
    margin: 15px auto;
    font-size: 16px;
    line-height: 1.5;
}

.description p a {
    color: #0962CB;
    text-decoration: underline;
}

.badge {
    background-color: #464646;
}

.badge-blue {
    background-color: #0962CB;
}

.badge-orange {
    background-color: #FA9D13;
}

.badge-green {
    background-color: #80E343;
}

.badge,
.datatable_table tbody td span.badge {
    display: inline-block;
    border-radius: 5px;
    color: #fff;
    padding: 2px 5px;
    text-align: center;
}

.legend-list li span.badge {
    flex: inherit;
    color: #fff;
}