@charset"utf-8";
/*==> module geoloc V4.1 2021 */
/*==> general*/

#map {
   position: relative;
   width: 100%;
}
#map-wrapper {
   position: relative;
   width: 100%;
}
#map:-webkit-full-screen {
   height: 100%;
   margin: 0;
}
#map:-ms-fullscreen {
   height: 100%;
}
#map:fullscreen {
   height: 100%;
}
#map-wrapper:-webkit-full-screen {
   height: 100%;
   margin: 0;
}
#map-wrapper:-ms-fullscreen {
   height: 100%;
}
#map-wrapper:fullscreen {
   height: 100%;
}

#map_bloc {
   width: 100%;
/* 
   height: 180px;
 */
}

.map {
   width: 100%;
   height:540px;
}
.ol-fullscreen:-webkit-full-screen {
   height: 100%;
   margin: 0;
}
.ol-fullscreen:-ms-fullscreen {
   height: 100%;
}
.ol-fullscreen:fullscreen {
   height: 100%;
}
.ol-fullscreen {
   margin-bottom: 10px;
   width: 100%;
   height: 540px;
}
.map {
   height: 100%;
}

#sidebar {
   opacity : 0.92;
   position: absolute;
   top: 46px;
   right: 8px;
   min-width: 300px;
   height: 85%;
   overflow: auto;
   background: rgba(255,255,255,0.4);
   border-radius: 0.4rem!important;
}

@media (max-width: 576px) {
   .n-media-repere {color:red;}
}

#alert {
     position: absolute;
     top: 50%;
     left: 0;
     width: 100%;
     text-align: center;
     display: none;
}

#alert p {
     width: 150px;
     margin: 0 auto 0 auto;
     padding: 10px;
     background: white;
     border: 1px solid #aaa;
}

#mypoint {
   font-family: "Courier New", Lucida, console, Monaco, monospace;
   text-align: right;
}

.non {
display: none;
}
.oui {
display: block;
}

.sou_tit {
    color: gray;
    margin-left: 2px;
}
/*<== general*/

#sidebar a {
  text-transform :lowercase;
  text-transform : capitalize;
}
/* openlayers hack 4 themes BS*/
 .ol-scale-line-inner {
     border: 1px solid white;
     border-top: none;
     color: white;
     font-size: 10px;
     text-align: center;
     margin: 1px;
     will-change: contents, width;
     transition: all 0.25s;
 }

.ol-control button, .ol-scale-line {
   background-color: var(--bs-primary);
   opacity: 0.8;
   color: white;
}
.ol-scale-singlebar-even {
   background-color: var(--bs-primary);
   opacity: 0.8;
}
.ol-scale-singlebar {
   border: 1px solid var(--bs-primary);
   opacity: 0.8;
}
.ol-scale-step-text {
   font-size: 0.75rem;
   color: whitesmoke;
   text-shadow: 1px 1px 2px black, 0 0 1em var(--bs-primary), 0 0 0.2em var(--bs-primary);
   font-weight: 700;
   font-family: arial;
}
.ol-scale-step-marker{
   background-color: var(--bs-primary);
   opacity: 0.8;
}
.ol-scale-text {
   font-family: arial;
   font-size: 0.75rem;
   color: whitesmoke;
   text-shadow: 1px 1px 2px black, 0 0 1em var(--bs-primary), 0 0 0.2em var(--bs-primary);
   font-weight: 700;
}

#map .ol-full-screen {
   right: 3em;
}
#map .ol-rotate {
   right: 5.5em;
   top: .5em;
}
#map .ol-sidebar {
  top: .5em;
  right: .5em;
}

.custom-mouse-position {
/* 
   font-family: "Courier New", Lucida, console, Monaco, monospace;
 */
 font-family: arial;
   font-size: 0.8rem;
   color: whitesmoke;
   bottom: 50px;
   position: absolute;
   left: 8px;
   font-weight: 700;
   text-shadow: 1px 1px 2px black, 0 0 1em var(--bs-primary), 0 0 0.2em var(--bs-primary);
   color: white;
}

.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: 320px;
  opacity: 0.9;
}
.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: 2px;
  right: 8px;
}
.ol-popup-closer:after {
  content: "✖";
}
.ol_li {
   max-height: 180px;
   overflow:auto;
}

#map .ol-zoom .ol-zoom-out {
  margin-top: 204px;
}
#map .ol-zoomslider {
  background-color: transparent;
  top: 2.3em;
}
#map .ol-touch .ol-zoom .ol-zoom-out {
  margin-top: 212px;
}
#map .ol-touch .ol-zoomslider {
  top: 2.75em;
}
#map .ol-zoom-in.ol-has-tooltip:hover [role=tooltip],
#map .ol-zoom-in.ol-has-tooltip:focus [role=tooltip] {
  top: 3px;
}

#map .ol-zoom-out.ol-has-tooltip:hover [role=tooltip],
#map .ol-zoom-out.ol-has-tooltip:focus [role=tooltip] {
  top: 232px;
}

#map .ol-download {
  top: .5em;
  right: 5.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: var(--bs-primary);
  color: white;
  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: var(--bs-primary);
}

#map #georefpopup .popover-body{min-width: 250px};
/*<== module geoloc */

#markerLayer img {
  -webkit-animation: pulse 1s linear infinite;
  animation: pulse 1s linear infinite;
}
.n-ava-32 {
  max-width:32px;
  max-height:32px;
  border-radius:50%!important;
}
.n-ava-30 {
  max-width:30px;
  max-height:30px;
  border-radius:50%!important;
}

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

.spinner:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 6px solid rgba(180, 180, 180, 0.6);
  border-top-color: var(--bs-primary) ;
  animation: spinner 0.6s linear infinite;
}

.tooltip-inner {
   max-width: 260px;
}
