/************** monitoring **************/
#map > div {
    min-height: 100vh;
    width: 100%;
    overflow: visible !important;
}

img.appix-map-logo {
    position: absolute !important;
    bottom: 20px;
    right: 20px;
    z-index: 1;
    pointer-events: none;
}

/***************** menu *****************/
#menu-layers h5 {
    margin-left: 70px;
    margin-top: 7px
}
.menu.ol-overlay {
    overflow: auto !important;
    padding-bottom: 150px;
}

.ol-overlay.menu {
    background: #fff;
    color: #333;
    box-shadow: 0px 0px 5px #000;
    padding: 0.5em;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    min-width: 350px;
    max-width: 400px;
}

/* style the close box */
.ol-overlay.menu .ol-closebox {
    left: 1em;
    top: 0.5em;
}
.ol-overlay.menu .ol-closebox:before {
    content: "\f0c9";
    font-family: FontAwesome;
}
.menu.ol-toggle {
    z-index: 12;
}
.menu {
    z-index: 11;
}
#menu {
    padding-top: 1.5em;
    font-size: 0.9em;
}

/* menu button */
.ol-control.menu {
    top: 0.5em;
    left: 0.5em;
}
.ol-zoom {
    left: auto;
    right: 0.5em;
}
.ol-rotate {
    right: 3em;
}
.ol-touch .ol-rotate {
    right: 3.5em;
}
.ol-control button {
    font-size: 26px !important;
}
.ol-control.ol-bar.ol-top.ol-right {
    top: 0.5rem !important;
}
.ol-control.ol-bar .ol-toggle.ol-active > button, .ol-control.ol-bar .ol-toggle.ol-active button:hover {
    background-color: #00AAFF;
    color: #fff;
}
.ol-zoom-out {
    border-radius: 0 0 0 0 !important;
}
.ol-scale-bar {
    bottom: 80px !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}
.ol-mouse-position {
    background-color: #ffffff8c;
    border-radius: 15px;
    border: 1px solid #ffffff8c;
    top: 20px !important;
    left: 50% !important;
    right: unset !important;
    transform: translate(-50%, -50%);
    padding: 2px 15px 2px 15px;
}

/* click interaction's popup */
.ol-popup {
    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: 280px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    padding: 0 3px 0px 3px;
}
.ol-popup-closer:after {
    content: "✖";
}
.ol-popup-title {
    margin-top: -12px;
}

/* Behavior Icons */
i.u-shape, i.v-shape, i.sqr-shape {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    font-size: inherit;
}
i.u-shape {
    background-image: url('/tamar/img/dive_shape/u.svg');
}
i.v-shape {
    background-image: url('/tamar/img/dive_shape/v.svg');
}
i.sqr-shape {
    background-image: url('/tamar/img/dive_shape/sqr.svg');
}