:root {
    --items-footer-height: 78px;
    --items-filter-height: 158px;
}
body {
    min-width: 1200px;
    height: calc(100vh + var(--admin-panel-height));
    overflow: var(--body-overflow);
}
section.items-list-component {
    position: relative;
    height: calc(100vh - var(--header-height));
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}
.items-list-component .title-wrapper {
    margin-bottom: 10px;
    padding-top: 25px;
    padding-bottom: 20px;
    background-color: #fcfcfc;
}
.items-list-component #filter .title-wrapper {
    border-bottom: 1px solid var(--geo-border-color);
}
.items-list-component .abs .title-wrapper {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.items-list-component .title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
    color: #1f2840;
    margin-bottom: 0;
    margin-block-start: 2px;
}
.items-list-component .title > span {
    font-size: inherit;
    font-weight: inherit;
    word-break: break-word;
}
.items-filter-left, .items-list-wrap, .items-map {
    height: calc(100% - var(--items-footer-height));
}
.items-filter-left {
    /*height: calc(100% - var(--items-footer-height));*/
    width: 0;
    /*transition: width 1s;*/
    overflow: hidden;
}
.items-list-wrap {
    /*height: calc(100% - var(--items-footer-height));*/
    display: flex;
    flex-direction: column;
    width: 60%;
    background-color: #f7f7f8;
    position: relative;
    border-right: 1px solid #d8e2e5;
}
.items-filter {
    background-color: #fcfcfc;
    border-bottom: 1px solid #d8e2e5;
}
.items-filter .title {
    padding-right: 25px;
    padding-left: 30px;
}
.items-list-component .tabs {
    list-style-type:none;
    display:flex;
    border-bottom:2px solid #d8e2e5;
    margin-bottom: 27px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: 30px;
}
.items-list-component.full-map .tabs {
    display: none;
}
.items-list-component .tabs__alert {
    position:absolute;
    bottom:17px;
    right:-20px
}
.items-list-component .tab {
    margin-bottom:-2px;
    padding-bottom:8px;
    border-bottom:2px solid transparent;
    line-height:16px;
    font-weight:500;
    letter-spacing:.56px;
    text-transform:uppercase;
    cursor:pointer;
    color:#1f2840;
    transition:all .3s ease;
    white-space:nowrap;
    position:relative
}
.items-list-component .tab:not(:last-child) {
    margin-right:40px
}
.items-list-component .tab:hover,
.items-list-component .tab_active {
    color:#0085ff;
    border-bottom:2px solid #0085ff
}
#filter-parent {
    padding: 0 25px 21px 30px;
}
.items-list {
    /*height: calc(100% - var(--items-filter-height));*/
    width: 100%;
    padding-bottom: 5px;
    overflow-y: auto;
    flex-grow: 1;
}
.items-map {
    /*height: calc(100% - var(--items-footer-height));*/
    width: 40%;
    position: relative;
}
.items-map #map {
    height: 100%;
    width: 100%;
}
.items-map .map-buttons {
    position: absolute;
    height: 100%;
    width: 100%;
    pointer-events: none;
}
.items-footer {
    height: var(--items-footer-height);
    width: 100%;
    bottom: 0;
    position: absolute;
    box-shadow: 0 0 20px rgba(14,16,37,.1);
    background-color: white;
}
.geo__buttons {
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    pointer-events: none;
}
.geo__btn {
    height: 42px;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    background-color: #fff;
    transition: all .3s ease;
    border: 1px solid var(--geo-border-color);
    pointer-events: auto;
}
.geo__btn:hover {
    border-color: var(--selected-color);
}
.geo__btn_draw-area:hover {
    color:#0085ff
}
.geo__btn.full-map {
    margin-left: 33px;
    width: 42px;
}
.geo__btn_draw-area {
    padding: 0 34px;
    font-size: 12px;
    line-height: 15px;
    font-weight: 500;
    color: #1f2840;
}
.geo__btn_draw-area:not(.active) .remove,
.geo__btn_draw-area.active .draw {
    display: none;
}
.geo__btn_draw-area-icon {
    margin-right: 15px;
}
.geo__btn_draw-area-icon.return {
    transform: rotate(180deg);
}
.geo__btn_only-map-wrap {
    width: 34px;
    height: 34px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,1fr);
    grid-template-areas: ". a1" "a2 .";
}
.geo__btn_only-map-1 {
    grid-area: a1;
}
.geo__btn_only-map-2 {
    grid-area: a2;
    transform: rotate(180deg);
}
.geo__btn.show-map {
    position: absolute;
    top: 21px;
    right: 25px;
    width: 42px;
    z-index: 3;
}
.items-list-component:not(.hide-map) .geo__btn.show-map {
    background-color: transparent;
}
.items-list-component:not(.hide-map) .geo__btn.show-map:not(:hover) {
    border-color: transparent;
}
.geo__btn-icon {
    transition: all .3s ease;
    stroke: var(--input-border-color);
}
.geo__btn:hover .geo__btn-icon {
    fill: var(--selected-color);
    stroke: var(--selected-color);
}
.geo__btn-text {
    display: none;
}
.geo__btn:hover .geo__btn-text {
    color: var(--selected-color);
}
.geo__btn.full-map .geo__btn-icon-list {
    display: none;
}
.full-filter .items-filter-left {
    width: 25.6%;
    min-width: 490px;
}
.full-filter.full-map .items-filter-left {
    width: 0;
    min-width: 0;
}
.full-filter.hide-map .items-filter-left {
    width: 490px;
}
.hide-map .items-list-wrap {
    width: 100%;
}
.hide-map .items-filter {
    /*padding-right: 90px;*/
}
.full-filter .items-list-wrap {
    width: 45.9%;
    min-width: 475px;
}
.full-filter.hide-map .items-list-wrap {
    width: calc(100% - 490px);
}
.full-filter .items-map {
    width: 28.5%;
    flex-shrink: 0;
}
.hide-map .items-map {
    width: 0;
    border: 0;
}
.hide-map .geo__btn.show-map {
    opacity: 1;
}
.hide-map .geo__buttons {
    display: none;
}
.hide-map .show-map {
    width: auto;
    padding: 0 15px;
}
.hide-map .show-map .geo__btn-icon {
    display: none;
}
.hide-map .show-map .geo__btn-text {
    display: initial;
}
.full-map .items-filter .title {
    display: none;
}
.full-map .items-list-wrap {
    width: 0;
    border: 0;
    padding: 0;
    overflow: visible;
    min-width: 0;
}
.full-map .items-map {
    width: 100%;
}
.full-map .geo__btn.show-map {
    display: none;
}
.full-map .geo__btn.full-map {
    width: auto;
    padding: 0 15px;
}
.full-map .geo__btn.full-map .geo__btn_only-map-wrap {
    /*grid-template-areas: ". a2" "a1 .";*/
    display: none;
}
.full-map .geo__btn.full-map .geo__btn-icon-list {
    display: initial;
}
.full-map .geo__btn.full-map .geo__btn-text {
    display: initial;
    margin-left: 8px;
}
.full-map .items-filter.abs {
    position: relative;
    background-color: transparent;
    border: none;
    z-index: 10;
}
.full-map .items-filter-left .params__content {
    padding-left: 20px;
}
.full-map #filter-parent {
    width: max(800px, 50vw);
    pointer-events: none;
}
.full-map.full-filter .filter-child-wrap {
    left: 0;
    background-color: white;
}
.full-map.full-filter #filter {
    display: block;
    border-right: none;
    max-height: calc(100% - var(--items-filter-height));
    /*height: auto;*/
    position: absolute;
    top: var(--items-filter-height);
    left: 30px;
    z-index: 2;
    width: 490px;
    border: 1px solid var(--input-border-color);
}
.items-list-component.full-map #filter .title-wrapper {
    padding-top: 5px;
    padding-bottom: 5px;
}
.items-list-component.full-map #filter .title-wrapper .btn-hide-filter {
    top: 0px;
}
.items-list-component.full-map #filter .title-wrapper .btn-hide-filter svg {
    height: 14px;
}
.items-list-component.full-map #filter .title-wrapper .title {
    font-size: 14px;
}
.items-list-component.full-map #filter .params__box {
    padding-bottom: 12.5px;
    padding-top: 12.5px;
}
.items-list-component.full-map #filter .params__box:first-child {
    padding-top: 2.5px;
}
.items-list-component.full-map #filter .params__box-title {
    font-size: 14px;
}
.items-list-component.full-map #filter .params__toggles-list {
    margin: 0;
}
.items-list-component.full-map #filter .params__toggles-text {
    font-size: 14px;
}
.full-map .items-footer,
.full-map + .items-footer {
    height: 0;
}
.full-map .items-filter-left,
.full-map .items-list-wrap,
.full-map .items-map {
    height: 100%;
}
@media(max-width: 1200px){
    body {
        height: unset;
        min-width: unset;
        overflow: auto;
    }
    .header {
        position: relative !important;
        height: unset !important;
    }
    section.items-list-component {
        display: block;
        height: unset;
    }
    .items-filter-left {
        position: fixed;
        height: 100vh;
        top: 0;
    }
    .full-filter .items-filter-left {
        z-index: 1000;
    }
    .full-filter.full-map .items-filter-left {
        overflow: initial;
    }
    .items-list-wrap {
        width: 100%;
        height: unset;
    }
    .full-filter .items-list-wrap,
    .full-filter.hide-map .items-list-wrap {
        width: 100%;
    }
    .full-map .items-list-wrap {
        width: 100%;
        height: 100%;
        margin-bottom: 80vh;
    }
    .items-list {
        /*height: 80vh;*/
    }
    .items-map {
        height: 80vh;
        width: 100%;
        /*margin-bottom: var(--items-footer-height);*/
        padding: 27px 30px 0 30px;
        background-color: #f7f7f8;
    }
    .full-filter .items-map {
        width: 100%;
    }
    .full-map .items-map {
        position: fixed;
        height: 100vh;
        width: 100vw;
        padding: 0;
        margin: 0;
        top: 0;
        z-index: 1000;
    }
    .hide-map .items-map {
        height: 0;
        padding: 0;
    }
    .geo__btn.show-map {
        display: none;
    }
    .geo__buttons {
        top: 30px;
        right: 33px;
    }
    .full-map .geo__buttons {
        position: fixed;
        z-index: 10;
    }
    .items-footer {
        position: relative;
        height: auto;
    }
    .items-list-component .tabs {
        margin-top: -10px;
        flex-wrap: wrap;
    }
    .items-list-component .tab {
        margin-top: 10px;
    }
}