@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i');
html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}
.locate-button {
    top: 6em;
    left: .5em;
}
.popover-content {
    font-size: 11px;
    max-width: 100%;
    width: 500px;
}
.map-general-header {
    height: 55px;
    background-color: #262F47;
    overflow: hidden;
}
.map-general-header .header-logo {
    height: 55px;
    padding: 2px 0;
    display: inline-block;
}
.map-general-header .header-logo img {
    height: 100%;
}
.map-general-header .header-title {
    padding: 5px;
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
}
@media screen and (max-width: 400px) {
    .map-general-header .header-title {
        padding: 2px;
        display: inline-block;
        font-size: 14px;
        color: #ffffff;
    }
}
.map-general-header .header-title2 {
    padding: 5px;
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    text-align: right;
    height: 100%;
    line-height: 2.5;
    width: 100%;
}
.map-general-header .header-title2-wrap {
    height: 100%;
}
.map-general-content {
    height: calc(100% - 55px);
}
.map-general-content .map-wrapper-class {
    height: 100%;
}
.map-general-content .map-wrapper-class .map-public{
    height:100%;
    min-height:unset !important;
    position: relative;
}
.legend{
    padding-left: 25px;
    position: relative;
}
.wrap_map_legend__content{
    display: none;
    position: absolute;
    right: 55px;
    top: 160px;
    width: 250px;
    padding: 20px;
    background: #262F47;
    max-height: calc(100% - 25%);
    border: 1px solid #ffffff;
    color: white;
    font-weight: bold;
    z-index: 3;
}
.wrap_map_legend__button{
    position: absolute;
    right: 5px;
    top: 160px;
    z-index: 2;
}
.legend1:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #000;
    height: 4px;
    width: 20px;
}
.legend2:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #400303;
    height: 2px;
    width: 20px;
}
.legend3:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #00FF00;
    height: 2px;
    width: 20px;
}
.legend4:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #00FF00;
    height: 10px;
    width: 20px;
}
.legend5:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #0000ff;
    height: 2px;
    width: 20px;
}
.legend_fire_1:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #DC6262;
    height: 2px;
    width: 20px;
}
.legend_fire_2:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #FCC6D9;
    height: 2px;
    width: 20px;
}
.legend_fire_3:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #17FF17;
    height: 2px;
    width: 20px;
}
.legend_fire_4:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #95B568;
    height: 2px;
    width: 20px;
}
.legend_fire_5:before{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
    content: '';
    display: block;
    background: #8CCCE6;
    height: 2px;
    width: 20px;
}
.legend_forest_cat-wrap {
    font-size: 13px;
    max-height: 100px;
    overflow-y: scroll;
}
.legend_fire_p {
    font-weight: bold;
}
.map-public__fire-form {
    display: none;
    position: absolute;
    width: 250px !important;
    height: 200px;
    right: 55px;
    top: 165px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #2c5633;
}
.map-public__fire-form-title {
    color: #2c5633;
    font-weight: bold;
    font-size: 16px;
}
.map-public__fire-form-label {
    font-size: 12px;
    padding-bottom: 5px;
}
.map-public__fire-form-button-wrap {
    position: absolute;
    right: 5px;
    top: 165px;
    z-index: 1;
}
.map-public__fire-form-button {
    border: 1px solid #2c5633;
    border-radius: 5px !important;
    padding: 8px 10px 4px 10px !important;
}
.map-public__fire-form-button:hover {
    background: #2c5633;
}
.map-public__fire-form-button:hover .svg-menu path {
    fill: white;
}
.map-public__fire-form-button:hover .svg-menu circle {
    fill: white;
}
.d-none {
    display: none !important;
}
.list-wrapper {
    display: none;
    position: absolute;
    width: 300px;
    height: calc(100% - 54px);
    z-index: 100;
    left: 0;
    /*top: 0;*/
    bottom: 0;
    background-color: #262F47;
    padding: 10px;
    font-size: 11px;
    color: #ffffff;
}
.list-wrapper .map-panel-title {
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 10px;
    text-align: center;
}
.list-wrapper .mpl-item {
    padding-bottom: 5px;
}
.list-wrapper .map-panel-tier {
    font-size: 11px;
    font-weight: bold;
    padding-bottom: 5px;
}
.map-panel-tier-list {
    padding-left: 10px;
}
.list-wrapper .map-panel-close {
    text-align: right;
}
.list-wrapper .map-panel-close .close-btn {
    cursor: pointer;
}

.show_map_legend {
    border: 1px solid #ffffff;
    border-radius: 0 !important;
    padding: 8px 10px 5px 10px !important;
    background: #262F47;
}
.show_map_legend:hover, .show_map_legend:focus {
    background-color: #ffffff;
    border: 1px solid #262F47;
    border-radius: 0 !important;
}
.show_map_legend:hover .svg-menu path, .show_map_legend:focus .svg-menu path {
    fill: #262F47;
}
.show_map_legend:hover .svg-menu rect, .show_map_legend:focus .svg-menu rect {
    fill: #262F47;
}

.layer-switcher {
    position: absolute;
    top: 60px;
    right: 5px;
    text-align: left;
    z-index: 3;
}

.layer-switcher .panel {
    position: absolute !important;
    top: 0 !important;
    right: 50px !important;
    background: #262F47 !important;
    color: white !important;
    padding: 20px 5px 10px 5px !important;
    border: 1px solid #ffffff !important;
    width: 250px !important;
    border-radius: 0;
    z-index: 3;
}
.layer-switcher button {
    border: 1px solid #ffffff !important;
    border-radius: 0 !important;
    width: 42px !important;
    height: 40px !important;
    padding: 8px 10px 4px 10px !important;
    background-image: url("/images/layers.svg");
    transition: 0.5s !important;
    background-position: 5px !important;
    background-color: #262F47;
}
.svg-menu-sw {
    fill: white;
    background: #2c5633;
}

.ol-control {
    background-color: transparent !important;
    padding: 0 !important;
}
.layer-switcher.shown button {
    display: block !important;
}
.layer-switcher ul {
    padding-left: 1em !important;
}
.layer-switcher button:hover, .layer-switcher button:focus {
    background-size: 32px 30px;
    background: #ffffff no-repeat;
    background-image: url("/images/layers_2.svg");
    color: #262F47;
}
.footer-map-info {
    position: absolute;
    right: 50px;
    bottom: 0;
    z-index: 3;
}
.footer-map-info-row {
    float: right;
    background-color: rgba(255,255,255,0.8);
    padding-left: 3px;
    display: block;
    font-size: 10px;
    color: #000;
}
.footer-map-info-row-text {
    padding: 0 10px;
    display: inline-block;
}
.map__filter-wrap {

}
.map__filter-button {
    position: absolute;
    right: 5px;
    top: 205px;
    z-index: 2;
}
.map__filter-btn {
    height: 39px !important;
    width: 44px !important;
    border: 1px solid #ffffff;
    border-radius: 0 !important;
    padding: unset !important;
    padding-top: 6px !important;
    background: #262F47 !important;
}
.map__filter-btn svg path {
    fill: #ffffff;
}
.map__filter-btn:hover, .map__filter-btn:focus {
    background: #ffffff !important;
    border: 1px solid #000000;
}
.map__filter-btn:hover svg path, .map__filter-btn:focus svg path {
    fill: #000000;
}
.map__filter-content {
    display: none;
    position: absolute;
    right: 55px;
    top: 115px;
    width: 260px;
    overflow-y: auto;
    padding: 20px 0;
    background: #262F47 !important;
    max-height: calc(100% - 25%);
    border: 1px solid #ffffff;
    color: white !important;
    z-index: 3;
}
.map__filter-content-show {
    display: block !important;
}
.map__filter-btn {
    border-radius: 0;
}
/*.map__filter-btn:hover, .map__filter-btn:focus {
    border-radius: 0;
}*/
.map__form-control {
    border-radius: 0;
    padding: 3px;
    height: 28px;
    font-size: 14px;
}
.field-map-filter-forest_household_id span {
    border-radius: 0 !important;
}
.map-search-block {
    position: absolute;
    top: 63px;
    right: 5px;
}
.map-search-block-list {
    display: none;
    position: absolute;
    top: 104px;
    right: 50px;
    border: 1px solid #ffffff;
    border-radius: 0;
    background-color: #262F47 !important;
    color: #ffffff;
    font-size: 12px !important;
    font-weight: 600;
    width: 300px;
    min-height: 41px;
    z-index: 2;
}
.map-search-block-list.active {
    display: block;
}
.map-search-block-list-elem {
    position: relative;
}
.map-search-block-list-item {
    padding: 5px;
}
.map-search-block-list-item a {
    color: #ffffff;
}
.map-search-block-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.map-search-input-block {
    width: 300px !important;
    position: relative;
}
.map-search-input {
    font-size: 12px !important;
    font-weight: 600;
    border-color: #ffffff !important;
    height: 41px !important;
    border-radius: 0;
    background-color: #262F47 !important;
    color: #ffffff;
}
.map-search-btn-cleaner {
    display: none;
    position: absolute;
    color: #ffffff;
    right: 14px;
    top: 14px;
    cursor: pointer;
}
.map-search-btn-cleaner-active {
    display: block;
}
.btn-default-search {
    border: 1px solid #ffffff !important;
    background-color: #262F47 !important;
    border-radius: 0;
    height: 41px !important;
    margin-left: -1px;

}
.btn-default-search svg path, .btn-default-search svg circle {
    stroke: #ffffff;
}
.btn-default-search:hover {
    background-color: #ffffff !important;
}
.btn-default-search:hover svg path, .btn-default-search:hover svg circle {
    stroke: #000000;
}
.left-panel-expand {
    left: 305px !important;
}
.left-panel-collapse {
    left: 5px !important;
}
@media (max-width:360px){
    .popover {
        min-width: 300px;
    }
}
@media (max-width:400px){
    .map-search-input-block {
        width: 265px !important;
    }
    .list-wrapper {
        width: 280px;
    }
    .left-panel-expand {
        left: 5px !important;
    }
    .map-search-block-list {
        width: 265px;
    }
}

.map__measure-content {
    display: none;
    position: absolute;
    left: 55px;
    top: 165px;
    width: 153px;
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    height: 150px;
    border: 1px solid #2c5633;
}
.map__measure-content-show {
    display: block !important;
}

.map__measure-button1 {
    position: absolute;
    left: 5px;
    top: 255px;
    z-index: 2;
}
.map__measure-button2 {
    position: absolute;
    left: 5px;
    top: 305px;
    z-index: 2;
}
.map__measure-btn {
    height: 39px !important;
    width: 44px !important;
    border: 1px solid #ffffff;
    border-radius: 0 !important;
    padding: unset !important;
    padding-top: 6px !important;
    background: #262F47;
}
.map__measure-btn:hover {
    background: #ffffff !important;
    border: 1px solid #000000;
}
.map__measure-btn:hover svg path {
    fill: #000000;
}
.map__measure-btn-clear {
    margin-top: 15px;
}
.map__measure-select-block {
    width: 100%;
}
.map__measure-button-active {
    background: #ffffff !important;
    border: 1px solid #ffffff;
}
.map__measure-button-active svg path {
    fill: #000000;
}
.map__locate-button {
    position: absolute;
    top: 150px;
    left: 5px;
}
.map__locate-button button {
    background-color: #262F47;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0 !important;
    height: 39px !important;
    width: 44px !important;
}
.map__locate-button button:hover, .map__locate-button button:focus {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}
.map__zoom-wrap {
    position: absolute;
    left: 5px;
    top: 60px;
}
.map__zoom-wrap button {
    background-color: #262F47;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0 !important;
    height: 39px !important;
    width: 44px !important;
    position: relative;
}
.map__zoom-wrap button:hover, .map__zoom-wrap button:focus {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

.ol-tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    font-size: 12px;
}
.ol-tooltip-measure {
    opacity: 1;
    font-weight: bold;
}
.ol-tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
}
.ol-tooltip-measure:before,
.ol-tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}
.ol-tooltip-static:before {
    border-top-color: #ffcc33;
}
.header-item {
    color: #ffffff;
}
.header-item a {
    color: #ffffff;
}
.header-item button {
    color: #ffffff;
}
.header-item button:hover {
    color: #ffffff;
}
.header-left-items {
    display: flex;
    flex-direction: row;
    align-items: center;
}