﻿.map-style1 {
    height: 700px;
    width: 100%;
    position: relative;
    padding: 0px !important;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
}
.map-style-lib {
    display:block;
    height: 700px;
    width: 100%;
    position: relative;
    padding: 0px !important;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
}
.map-style2 {
    height: 850px;
    width: 100%;
    position: relative;
    padding: 0px !important;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
}
.map-style-un {
    height: 92%; /*99.6%;*/
    width: 99.8%;
    position: fixed;
    padding: 0px !important;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
}
.map-copyright-un {
    position: absolute;
    top: 92%;
    width: 98%;
}
.map-style-summary {
    height: 800px;
    width: 100%;
    position: relative;
    padding: 0px !important;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
/*    overflow:auto;
    resize:vertical;
    min-height:400px;*/
}
.map-controls-Buttons-common-container {
    position: absolute;
    left: 5px;
    top: 40%;
    z-index: 11111;
    row-gap: 10px;
}

.map-controls-Buttons-common-button {
    color: #0026ff;
    font-weight: bold;
    width: 35px;
    padding: 7px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background: rgb(255, 255, 255);
    border-radius: 5px;
    border: 1px solid rgb(204, 204, 204);

}

.map-controls-Buttons-common-ruler {
    color: #0026ff;
    font-weight: bold;
    width: 35px;
    padding: 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background: rgb(255, 255, 255);
    border-radius: 5px;
    border: 1px solid rgb(204, 204, 204);
}

.ruler-on-map {
    padding: 0px;
    color: #0026ff;
    font-weight: bold;
    font-size: small;
    line-height: 1 !important;
    width: 35px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background: rgb(255, 255, 255);
    border-radius: 5px;
    border: 1px solid rgb(204, 204, 204);

}

.map-controls-LegendTerrain-container {
    position: absolute;
    right: 5px;
    bottom: 50%;
    transform: translateY(50%);
    border-radius: 5px;
    display: block;
    /*height: 60%;*/
    margin-bottom: 0px;
    z-index: 11111;
    max-width: 2.3vw;
    width: auto;
    height: auto;
}

.map-controls-LegendElements-container {
    position: absolute;
    left: 155px;
    bottom: 5px;
    border-radius: 5px;
    z-index: 11115;
}
.map-controls-disclaimer-container {
    position: absolute;
    left: 5px;
    bottom: 5px;
    border-radius: 10px;
    z-index: 11114;
    width: 25%;
    max-width: fit-content;
    min-width:300px;
}



.map-controls-AdmSelected-container {
    position: absolute;
    /*right: 50%;*/
    bottom: 25px;
    border-radius: 5px;
    z-index: 11111;
    left: 50%;
    transform: translateX(-50%);
}


.map-controls-slider-container {
    position: absolute;
    top: 5px;
    border-radius: 5px;
    z-index: 11111;
    left: 50%;
    transform: translateX(-50%);
}

.map-controls-slider-label {
    border-radius: 5px;
    z-index: 999;
    display: flex;
    padding: 1px 4px;
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    flex-wrap: wrap;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: small;
    color: blue;
    box-sizing: border-box;
    font-weight: bold;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
    margin: auto;
}
.map-controls-slider-input {
    border: none;
}

.map-controls-AdmSelected {
    font-weight: bold;
    padding: 0px;
    background-color: gray;
    color: white;
    border-radius: 5px;
    width:fit-content;
    
}

.map-controls-MousePosition-container {
    position: absolute;
    right: 5px;
    bottom: 15px;
    border-radius: 5px;
    z-index: 11111;
}

.map-controls-MousePosition-coordinates {
    font-weight: bold;
}
.map-controls-checkboxes-common-container {
    position: absolute;
    left: 5px;
    top: 5px;
    border-radius: 5px;
    z-index: 11111;
    display: flex;
    padding: 5px 4px;
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    flex-wrap: wrap;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: small;
    color: blue;
    box-sizing: border-box;
    font-weight: bold;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
}
.map-controls-checkboxes-others-container {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 5px;
    z-index: 999;
    display: flex;
    padding: 1px 4px;
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    flex-wrap: wrap;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: small;
    color: blue;
    box-sizing: border-box;
    font-weight: bold;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 5px 0px;
}



.map-controls-copyright-container {
    position: absolute;
    right: 10px;
    bottom: 50px;
    border-radius: 5px;
    z-index: 11111;
}

.map-controls-checkboxes-others-image {
    width: 70px;
    display:inline-block;
}



.map-controls-active-button-map {
    background-color: yellow !important;
    color: white !important;
}




.one-checkbox-on-map {
    position: absolute;
    padding: 5px 2px 0px;
    left: 10px;
    top: 10px;
    background-color: rgb(255, 255, 255);
    color: blue;
    border-radius: 5px;
    z-index: 999;
}
.map-allot {
    height: 100%;
}

.map-allot-container {
    height: 500px;
    position: relative;
    padding: 0px;
    border: 2px solid lightgrey;
}
.ol-zoom{
    position: absolute !important;
    top: 190px !important;
    left: 3px !important;
    background-color: rgba(255,255,255,0) !important;
    max-width:fit-content;
/*    left: unset !important;*/
}

.ol-zoom-in,
.ol-zoom-out {
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: bold !important;
    background-color: #f7f7f7 !important;
    box-sizing: border-box !important;
    border-color: #cccccc !important;
    border: 2px solid #cccccc !important;
}

.ol-full-screen {
    position: absolute !important;
    top: 240px !important;
    left: 3px !important;
    background-color: rgba(255,255,255,0) !important;
    max-width:fit-content;
/*    left: unset !important;*/
}
.ol-full-screen-false,
.ol-full-screen-true {
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: bold !important;
    background-color: #f7f7f7 !important;
    box-sizing: border-box !important;
    border-color: #cccccc !important;
    border: 2px solid #cccccc !important;
}

.plan-entry-checkbox {
    row-gap: 5px;
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 1px 4px;
    background-color: rgb(255, 255, 255);
    color: blue;
    border-radius: 5px;
    flex-direction: row;
    flex-grow: 1;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 3px;
    min-width: 320px;
    /*opacity:0.5;*/
    z-index: 999;
}

.mouse-position-map-box {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgb(204, 204, 204);
    border-radius: 5px;
    background: rgb(255, 255, 255);
    padding: 9px;
    min-width: 320px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 999;
}


.mouse-position-map-box-li {
    list-style: none !important;
}

.mouse-position-map-box-adm {
    font-weight: bold;
    padding: 5px;
    background-color: gray;
    color: white;
    border-radius: 5px;
}

.mouse-position-map-box-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.mouse-position-map-box-coordinates {
    font-weight: bold;
    display: inline-block;
    color: #DC143C;
    text-shadow: -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px 1px 0 #FFF;
}


.mapDisclaimer-in-accordion {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width:100px;
}

.legend-tx-map {
    position: absolute;
    left: 5px;
    bottom: 60px;
    width: 100px;
}

.checkbox-on-map {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #0026ff;
    font-weight: bold;
    font-size: small;
    /*width: 35px;*/
    height: 6%;
    padding: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background: rgb(255, 255, 255);
    border-radius: 5px;
    border: 1px solid rgb(204, 204, 204);
}


.mapCopyright-in-accordion {
    position: absolute;
    bottom: 5px;
    right: 10px;
}

    .mapCopyright-in-accordion a {
        text-decoration: none !important;
        padding: 5px !important;
    }

    .mapCopyright-in-accordion span {
        color: white !important;
    }

.mapCopyright2 {
    background-color: #c0e3b4;
    opacity: 0.6;
    display: block;
    border-radius: 10px;
    padding: 4px;
    border: 2px solid white;
    font-size: 12px;
    color: black;
    text-decoration: none !important;
    margin-left: -15px
}








.legend-map {
    position: absolute;
    right: 5px;
    bottom: 100px;
    border-radius: 5px;
}
.select-on-map {
    position: absolute;
    right: 95px;
    top: 5px;
    padding-right: 5px !important;
    color: #0026ff;
    font-weight: bold;
    font-size: 9px;
    line-height: 1 !important;
    /* width: 100px;*/
    height: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background: rgb(255, 255, 255);
    border-radius: 5px;
    border: 1px solid rgb(204, 204, 204);
}
.mapCopyright {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #f3f3f3;
    opacity: 0.6;
    display: block;
    border-radius: 10px;
    padding: 4px;
    border: 2px solid #73AD21;
    font-size: 12px;
    color: aqua;
}

.ol-popup-decoration-left {
    height: 30px;
    background-color: lightgray;
    margin: -15px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    z-index: 11112;
}

.ol-popup-decoration-right {
    height: 30px;
    background-color: ghostwhite; /*aliceblue; ghostwhite; lavender; oldlace*/
    margin: -15px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ol-popup-content {
    overflow: auto;
    max-height: 150px;
    position: relative;
    margin-top: 20px;
}

    .ol-popup-content a {
        font-size: 10px;
        text-decoration: none !important;
    }

        .ol-popup-content a:hover {
            font-size: 11px;
            color: #9600ff !important;
        }

.popup-content-clicked {
    color: fuchsia;
}

.ol-popup-title-right {
    font-weight: bold;
    position: absolute;
    top: 5px;
    left: 5px;
}

#map1 .ol-popup-left,
#map1 .ol-popup-right {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 600px;
}

#map-summary-details .ol-popup-left {
    min-width: 650px;
}
#map-summary-details-popup-right {
    min-width: 450px;
}

.ol-popup-left,
.ol-popup-right {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 350px;
    z-index: 11112;
}

    .ol-popup-left:after, .ol-popup-left:before,
    .ol-popup-right:after, .ol-popup-right:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .ol-popup-left:after,
    .ol-popup-right:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
    }

    .ol-popup-left:before,
    .ol-popup-right:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
    }

.ol-popup-closer {
    text-decoration: none !important;
    position: absolute;
    top: 5px;
    right: 20px;
    color: #0044cc;
    font-size: medium;
}

    .ol-popup-closer:hover {
        color: red;
        font-size: large;
        font-weight: bold;
    }

.ol-popup-closer:after {
    content: "✖";
}

.ol-popup-title-left,
.ol-popup-title-right {
    font-weight: bold;
    position: absolute;
    top: 5px;
    left: 5px;
}


/*AM 22/01/2021*/
.popup {
    background-color: #FFF;
    border: 1px solid #CCC;
    padding: 0.1em 1em 0.5em 0.5em;
}

.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;
    }
/*from OpenLayer*/

.ol-zoom {
    top: 52px;
}

.ol-toggle-options {
    z-index: 1000;
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 2px;
    position: absolute;
    left: 8px;
    top: 8px;
}

    .ol-toggle-options a {
        background: rgba(0,60,136,0.5);
        color: white;
        display: block;
        font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
        font-size: 19px;
        font-weight: bold;
        height: 22px;
        line-height: 11px;
        margin: 1px;
        padding: 0;
        text-align: center;
        text-decoration: none;
        width: 22px;
        border-radius: 2px;
    }

        .ol-toggle-options a:hover {
            color: #fff;
            text-decoration: none;
            background: rgba(0,60,136,0.7);
        }



#marker {
    width: 20px;
    height: 20px;
    border: 1px solid #088;
    border-radius: 10px;
    background-color: #0FF;
    opacity: 0.5;
}

@media only screen and (max-width: 700px) {
    .map-controls-disclaimer-container {
        position: absolute;
        left: 5px;
        bottom: 5px;
        border-radius: 10px;
        z-index: 11114;
        width: fit-content;
        max-width: 100%;
        min-width: unset;
    }

    .map-controls-LegendElements-container {
        position: absolute;
        left: 5px;
        bottom: 60px;
        border-radius: 5px;
        z-index: 11115;
        width: fit-content;
        max-width: 100%;
        min-width: unset;
    }

    /*.map-controls-LegendTerrain-container {
        width: 5%;
        height: 30%;
        top: 40%;
    }*/

    .map-controls-checkboxes-common-container {
        top: 5px;
        right: 5px;
        left:5px;
    }

    .map-controls-checkboxes-others-container {
        top: 60px;
        right: 5px;
        left: 5px;
    }

    .ol-zoom {
        top: 110px !important;
    }

    .ol-full-screen {
        top: 160px !important;

    }
}

#legend-map-top-left {
    display: none;
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 999;
}
#legend-map-top-right {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 999;
}

.ol-overlaycontainer-stopevent{
    z-index:1000 !important;
}

.oim-hfbc-popup-left {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 350px;
    z-index: 11112;
    display: none;
}

    .oim-hfbc-popup-left:after,
    .oim-hfbc-popup-left:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .oim-hfbc-popup-left:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
    }

.oim-hfbc-popup-left-decoration {
    height: 30px;
    background-color: ghostwhite; /*aliceblue; ghostwhite; lavender; oldlace*/
    margin: -15px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.oim-hfbc-popup-left-title {
    font-weight: bold;
    position: absolute;
    top: 5px;
    left: 5px;
}

.oim-hfbc-popup-closer {
    text-decoration: none !important;
    position: absolute;
    top: 5px;
    right: 20px;
    color: #0044cc;
    font-size: x-small;
}

    .oim-hfbc-popup-closer:hover {
        color: red;
        font-size: small;
        font-weight: bold;
    }

    .oim-hfbc-popup-closer:after {
        content: "✖";
    }

.oim-hfbc-popup-left-content {
    overflow: auto;
    max-height: 150px;
    position: relative;
    margin-top: 20px;
}

    .oim-hfbc-popup-left-content span {
        color: #004B96 !important;
        font-size: 10px;
        text-decoration: none !important;
        font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
        font-weight: bold;
        /*cursor: pointer;*/
    }

        .oim-hfbc-popup-left-content span:hover {
            font-size: 11px;
            color: #9600ff !important;
        }


