/******************************************************************************
--------------------------- CSS MVIEWER BASIQUE -------------------------
********************************************************************************/

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  font-family: Arial, Sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

button:focus {
  outline: none;
}

a {
  color: #333;
}

a:hover {
  text-decoration: none;
}

#map {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#mouse-position {
  width: auto;
  position: fixed;
  right: 6%;
  height: 15px;
  bottom: 11px;
  color: #777;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 10px;
  font-family: 'roboto_regular', Arial, Sans-serif;
  outline: rgba(255, 255, 255, 0.7) solid 2px;
  border: rgba(119, 119, 119, 0.8) solid 1px;
  border-top-color: rgba(119, 119, 119, 0);
}


/*******************************
------------- OPENLAYERS CSS OVERRIDE
********************************/

.ol-attribution {
  color: #333333;
  background-color: rgba(255, 255, 255, 0.7);
  border-top-left-radius: 4px;
  right: auto;
  margin-left: 145px;
}

.ol-attribution a {
  color: #38C;
  text-decoration: none;
}

.ol-scale-line-inner {
  color: #333333;
  border-color: #333333;
}

.ol-scale-line {
  background-color: rgba(255, 255, 255, 0.7);
}

.ol-control button {
  height: 30px;
  width: 30px;
}

.ol-control button:focus,
.ol-control button:hover {
  text-decoration: none;
}

/*******************************
------------- SEARCH TOOLBAR
********************************/

/* search tollbar */
#searchfield {
  border: 0px;
}

a#searchparams {
  position: fixed;
  right: 252px;
  top: .1em;
  border-radius: 4px;
  padding-bottom: .15em;
}

#adresse-attribution {
  font-size: 10px;
}

@media (max-width: 767px) {
  #searchtool {
    margin-right: 2px;
    margin-left: 2px;
    top: 3px;
  }

  .mode-s #searchresults,
  .mode-d #searchresults {
    padding: 0px 14px;
    margin-top: -10px;
  }

  .mode-u #searchresults {
    max-width: 300px;
    min-width: 255px;
    position: fixed;
    right: 50px;
    top: 50px;
    z-index: 5;
  }

  /*  Modal popup close*/
  .modal .close {
    font-size: 30px;
  }
}

@media (min-width: 768px) {
  #searchtool {
    width: 220px;
    margin-right: 50px;
    top: 3px;
  }

  #searchresults {
    max-width: 300px;
    min-width: 255px;
    position: fixed;
    right: 50px;
    top: 60px;
    z-index: 5;
  }

  .mode-u #searchresults {
    top: 50px;
  }
}

#searchresults {
  display: none;
}

#searchresults a {
  font-size: 11px;
  margin-left: 5px;
}

#searchresults a.disabled {
  padding: 10px;
}

#searchresults a.list-group-item.disabled {
  color: #5b5b5b;
  font-size: 13px;
  background-color: rgb(255, 255, 255);
}

.searchresults-title {
  padding: 10px 10px;
  margin-left: 5px;
}

.searchresults-title .close {
  margin-top: -5px;
  opacity: 1;
}

#searchtool .btn-default {
  background-color: #ffffff;
  z-index: 1;
  border-color: #fff;
  border-radius: 0px;
}

/*******************************
------------- VERSION INFO PANEL
********************************/

.mviewer-link {
  color: #1a72b2;
}

/*******************************
------------- POPUP
********************************/

/* popup photo */
.popphoto {
  cursor: pointer;
  max-width: 100%;
  max-height: 210px;
}

#imagepopup {
  z-index: 2000;
}

/*******************************
-------------LEGEND LAYER
********************************/
/* Legend Panel */

.mv-layer-details img {
  /*max-width: 250px;
  max-height: 250px;*/
  padding: 10px 30px 10px 10px;
}

.big-legend img {
  max-width: 300px;
}

.big-legend:hover {
  cursor: pointer;
}

.big-legend:hover img {
  background: rgba(85, 85, 85, 0.62);
}

.big-legend:hover span.text-big-legend {
  opacity: 1;
}

span.text-big-legend {
  color: white;
  position: absolute;
  top: 60px;
  left: 0;
  opacity: 0;
  font-size: 15px;
  text-align: center;
  margin-left: 50px;
  font-weight: 600;
  text-transform: uppercase;
}



#datalist {
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  top: 140px;
  left: 0px;
  right: 10px;
  bottom: 60px;
  width: auto;
  padding-left: 10px;
}

#btn-remove-layers,
.active.empty #btn-remove-layers {
  display: none;
}

.active #btn-remove-layers {
  display: inline;
}

/* Sub-title: nom des styles et des filtres sur attibut */

/*Styles*/
.selected-sld.fas {
  color: #777;
}

/*Filtres*/
.selected-attribute.fas {
  color: #777;
}

.layerdisplay-title {
  padding-left: 10px;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.mv-grip {
  color: #999;
  margin-left: -5px;
  padding-right: 10px;
}

.layerdisplay-subtitle {
  font-size: 11px;
  font-style: italic;
  display: -webkit-inline-box;
}

.layerdisplay-subtitle .selected-attribute:before {
  content: "\f0ac  ";
}

.layerdisplay-subtitle .selected-sld:before {
  content: "\f303  ";
}

.layerdisplay-subtitle .selected-sld {
  padding-right: 10px;
}

.layer-searchable {
  background-image: url(../img/btn/search.png);
  background-repeat: no-repeat;
  background-position: center right;
  width: 10px;
  background-size: 100%;
}

/* GetFeatureInfo style */

.ol-popup-title {
  padding: 8px 8px 8px 8px;
  margin: -15px -15px -15px -15px;
  font-size: 14px;
  font-weight: normal;
  line-height: 18px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
}

.ol-popup {
  display: none;
  position: absolute;
  background-color: white;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  filter: drop-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: 225px;
  min-height: 100px;
}

.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;
}

.popup-content {
  text-shadow: none;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  right: 8px;
}

.ol-popup-closer:after {
  content: "✖";
}

#popup-closer {
  color: #333;
}


/* popup tabs and carrousel*/

#right-panel-selector,
#bottom-panel-selector {
  border-radius: 10px;
  border: none;
}

#right-panel-ulnav,
#bottom-panel-ulnav {
  background: #fff;
}

/*ol.bjqs-markers li a{
	padding:5px 10px;
	background:#000;
	color:#fff;
	margin:5px;
	text-decoration: none;
    border-radius: 10px;
}

ol.bjqs-markers li.active-marker a,
ol.bjqs-markers li a:hover{
	background: #f9f9f9;
}

p.bjqs-caption{
	background: rgba(255,255,255,0.5);
}*/
#right-panel span.counter-slide {
  font-size: 9px;
  right: 145px;
  bottom: 20px;
  position: fixed;
}

#bottom-panel .counter-slide {
  bottom: 25px;
  left: 48%;
  position: absolute;
  font-size: 9px;
}

.ui-tabs-panel>ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img.mv-logo {
  max-height: 35px;
  padding-top: 0px;
  margin-top: -7px;
  max-width: 100px;
  margin-left: -5px;
}

p.navbar-text.mv-title {
  margin-left: 0%;
}

.mv-navbar-btn {
  margin-right: 24px;
}

button.btn.btn-default.navbar-btn.mv-navbar-btn {
  border: 0px;
  border-radius: 0px;
  font-size: 14px;
}

div#datalist {
  max-width: 300px;
}

ul#basemapslist p {
  background-color: #fff;
  opacity: .8;
  margin-left: 5px;
  margin-right: 5px;
  font-size: smaller;
}

ul#basemapslist li {
  text-align: center;
  vertical-align: text-top;
  cursor: pointer;
  height: 75px;
  width: 100px;
  -webkit-transition: -webkit-transform .5s, bottom .5s, width .5s;
  -moz-transition: -moz-transform .5s, bottom .5s, width .5s;
  -o-transition: -o-transform .5s, bottom .5s, width .5s;
  transition: transform .5s, bottom .5s, width .5s;
}

div#backgroundlayerstoolbar-gallery {
  /*display: inline-flex;*/
}

#mviewerinfosbar {
  position: fixed;
  bottom: 0;
  padding-left: 2px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  border-radius: 4px;
  padding-right: 5px;
}

/*******************************
-------------LEGEND LAYER
********************************/
#layers-container-box {
  position: fixed;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 100%;
  margin-top: 60px;
  margin-left: 7px;
  max-width: 300px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

@media (min-width: 992px) {
  #layers-container-box-header {
    height: 35px;
    min-width: 35px;
  }

  #legend:not(.active) {
    width: 35px;
  }
}

@media (max-width: 991px) {
  #layers-container-box-header {
    display: none;
  }
}

.active #layers-container {
  display: block;
}

#layers-container {
  display: none;
}

#layers-container-box-header span {
  color: #fff;
  padding: 10px;
}

.active #layers-container-box-header span {
  transform: rotate(0deg);
}

.menu-toggle.closed span {
  transform: rotate(90deg);
}

.menu-toggle span {
  transform: rotate(0deg);
  transition: all ease-out .3s;
}

ul#layers-container {
  margin-bottom: 0;
}

.layerdisplay-title .close {
  padding-right: 10px;
}

#layers-container-box.toggled {
  -webkit-transform: translate3d(200px, 0, 0);
  transform: translate3d(200px, 0, 0);
  -ms-transform: translateX(200px);
}

.mv-layer-details {
  min-width: 200px;
}

.mv-layer-options {
  padding-top: 10px;
}


/*******************************
-------------BOTTOM PANEL
********************************/
#bottom-panel.toggled {
  -webkit-transform: translate3d(200px, 0, 0);
  transform: translate3d(200px, 0, 0);
  -ms-transform: translateX(200px);
}

#bottom-panel {
  bottom: 0px;
  opacity: 0;
  height: 0;
  width: 100%;
  background: #fff;
  position: fixed;
  z-index: 4;
  padding-right: 250px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#bottom-panel.active {
  height: 350px;
  opacity: 1;
}

#bottom-panel .close {
  margin-top: -45px;
}

/*******************************
-------------RIGHT PANEL
********************************/

#right-panel {
  right: 0px;
  opacity: 0;
  height: 100%;
  width: 0px;
  background: #fff;
  position: fixed;
  z-index: 3;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#right-panel.active {
  width: 320px;
  opacity: 1;
}

#right-panel .close {
  color: #fff;
  opacity: 1;
  padding-top: 0px;
  right: 10px;
  position: absolute;
  margin-top: -38px;
  padding-top: 10px;
}

#right-panel:not(.active) .close {
  display: none;
}

#right-panel .popup-content {
  overflow-y: hidden;
  overflow-x: hidden;
  position: absolute;
  left: 0px;
  height: 100%;
  width: 100%;
  padding: 0 0 0 0;
}

#right-panel-selector,
#right-panel-selector .row,
#right-panel-selector .col-md-12,
#right-panel-selector .tabs-left,
#right-panel .carousel.slide,
#right-panel .nav.nav-tabs,
#right-panel .tab-content,
#right-panel .tab-pane.active,
#carousel-right-panel-1,
#right-panel .item.active,
#right-panel .carousel-inner {
  height: 100%;
}

.popup-content .tab-pane {
  margin-left: 20px;
}

#right-panel .item.active {
  overflow-y: auto;
}

#right-panel .item.active img {
  /*max-width: 280px!important;*/
}

#right-panel .active {
  padding-bottom: 100px;
}

#right-panel .carousel-inner {
  padding-left: 0px;
  padding-right: 25px;
  width: 280px;
}

#right-panel .mv-header {
  padding-top: 50px;
}

#right-panel .mv-header h5 {
  text-align: center;
  line-height: 2em;
  margin-bottom: 0;
}

#right-panel .nav li.active {
  padding: 0;
}

/*******************************
-------------CSS Fiche info GML
********************************/
.gml-item-title {
  padding-bottom: 6px;
  padding-top: 15px;
}

.gml-item-field-name {
  float: left;
  padding-right: 10px;
}

.gml-item-field-name::after {
  content: " : ";
}


/*******************************
-------------BASEMAP
********************************/

#backgroundlayerstoolbar-gallery {
  bottom: 15px;
  right: 50px;
  float: right;
  position: fixed;
  margin-bottom: 0;
}

#page-content-wrapper:has(#bottom-panel.active) #backgroundlayerstoolbar-gallery {
  margin-bottom: 340px;
  transition: 0.5s;
}

#page-content-wrapper:has(#right-panel.active) #backgroundlayerstoolbar-gallery {
  margin-right: 320px;
  transition: 0.5s;
}

#backgroundlayersbtn {
  background-image: url("../img/basemap/osm.png");
  background-size: 39px 43px;
  height: 50px;
  width: 50px;
  border-radius: 25px;
  border: 2.5px solid #f8f8f8;
  box-shadow: 0px 0px 30px 3px rgba(200, 200, 200, 0.5);
}

@media (min-width: 992px) {
  #backgroundlayerstoolbar-default {
    bottom: 15px;
    right: 15px;
    float: right;
    position: fixed;
  }
}

#page-content-wrapper:has(#right-panel.active) #backgroundlayerstoolbar-default {
  margin-right: 320px;
  transition: 0.5s;
}

#page-content-wrapper:has(#bottom-panel.active) #backgroundlayerstoolbar-default {
  margin-bottom: 340px;
  transition: 0.5s;
}

@media (max-width: 991px) {
  #backgroundlayerstoolbar-default {
    bottom: 35px;
    left: 10px;
    position: fixed;
  }
}

/*******************************
-------------TOOLBAR OPTIONS
********************************/
#zoomtoolbar {
  position: fixed;
  top: 65px;
  right: 10px;
}

#page-content-wrapper:has(#right-panel.active) #zoomtoolbar {
  margin-right: 320px;
  transition: 0.5s;
}

#toolstoolbar {
  position: fixed;
  top: 160px;
  right: 10px;
}

#page-content-wrapper:has(#right-panel.active) #toolstoolbar {
  margin-right: 320px;
  transition: 0.5s;
}

#drawtoolsoptions {
  position: fixed;
  right: 70px;
  float: right;
  top: 160px;
}

#drawoptions {
  position: fixed;
  right: 70px;
  float: right;
  top: 270px;
}

.layerdisplay-title span {
  padding-right: 5px;
}

#share img {
  margin-left: -15px;
  margin-top: -15px;
}

#loading-indicator {
  position: absolute;
  right: 275px;
  top: 13px;
  z-index: 10000;
}

#alerts-zone {
  bottom: 0px;
  position: absolute;
  left: 250px;
  padding-left: 10px;
  min-width: 300px;
}

#alerts-zone .alert {
  margin-bottom: 2px;
}

#zoomtoolbar {
  box-shadow: 0px 0px 30px 3px rgba(200, 200, 200, 0.5);
}

#toolstoolbar {
  box-shadow: 0px 0px 30px 3px rgba(200, 200, 200, 0.5);
}

/* Measure control css */

.tooltip2 {
  position: relative;
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 1;
  white-space: nowrap;
  text-shadow: none;
}

.tooltip-measure {
  opacity: 1;
}

.tooltip-measure-static {
  color: #fff;
}

.tooltip-measure:before,
.tooltip-measure-static:before {
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  margin-left: -7px;
  left: 50%;
}

/*  Range from http://danielstern.ca/range.css/?ref=css-tricks#/*/
input[type=range].mv-range {
  -webkit-appearance: none;
  width: 100%;
  margin: 8.3px 0;
}

input[type=range].mv-range:focus {
  outline: none;
}

input[type=range].mv-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #30ffa9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range].mv-range::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #333333, 0px 0px 1px #404040;
  border: 1px solid #ff0000;
  height: 25px;
  width: 25px;
  border-radius: 20px;
  background: #ff0000;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8.5px;
}

input[type=range].mv-range:focus::-webkit-slider-runnable-track {
  background: #91ffd1;
}

input[type=range].mv-range::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #30ffa9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range].mv-range::-moz-range-thumb {
  box-shadow: 1px 1px 1px #333333, 0px 0px 1px #404040;
  border: 1px solid #ff0000;
  height: 25px;
  width: 25px;
  border-radius: 20px;
  background: #ff0000;
  cursor: pointer;
}

input[type=range].mv-range::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range].mv-range::-ms-fill-lower {
  background: #00ce78;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range].mv-range::-ms-fill-upper {
  background: #30ffa9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

input[type=range].mv-range::-ms-thumb {
  box-shadow: 1px 1px 1px #333333, 0px 0px 1px #404040;
  border: 1px solid #ff0000;
  height: 25px;
  width: 25px;
  border-radius: 20px;
  background: #ff0000;
  cursor: pointer;
  height: 8.4px;
}

input[type=range].mv-range:focus::-ms-fill-lower {
  background: #30ffa9;
}

input[type=range].mv-range:focus::-ms-fill-upper {
  background: #91ffd1;
}

#right-panel.tab-content {
  padding-top: 150px;
}


.popup-content a.left.carousel-control,
.popup-content a.right.carousel-control {
  color: #000;
  background: none;
}


/*******************************
-------------TAB VERTICAL
********************************/

.popup-content .nav-tabs {
  float: left;
  border-bottom: 0;
}

.popup-content .nav-tabs li {
  float: none;
  margin: 0;
}

.popup-content .nav-tabs li a {
  margin-right: 0;
  border: 0;
  border-radius: 0;
}

.popup-content .nav-tabs .glyphicon,
.popup-content .nav-tabs .fa {
  color: #ccc;
}

/*.popup-content .nav-tabs > li.active > a, .popup-content .nav-tabs > li.active > a:hover, .popup-content .nav-tabs > li.active > a:focus {
  border: 0;
}*/

.popup-content .tab-content .tab-pane {
  display: none;
  background-color: #fff;
  overflow-y: hidden;
}


.popup-content .tab-content .active {
  display: block;
}

/* vertical tab end */

.popup-content .tab-pane {
  padding-left: 2px;
  padding-right: 2px;
}


/*******************************
------------- NAVBAR
********************************/

#mv-navbar {
  border-width: 2px;
}

#mv-navbar {
  line-height: 1.15;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: transparent;
  box-shadow: none;
}

/*******************************
------------- SEARCH
********************************/
/* Résultats recherches */

li.elasticsearch.list-group-item.disabled {
  background-color: white;
}

/* Boîte de dialogue paramètre de recherche */

/*#parameterspanel .modal-header{
	color: #333;
	font-size: 13px;
}*/

.modal-header {
  border-bottom: none;
  padding-bottom: 0px;
}

ul#searchparameters {
  list-style: none;
  padding-left: 10px;
  padding-top: 0px;
  line-height: 1.6;
}

#searchparameters .mv-param-item a:hover {
  color: #333;
}

#searchparameters .mv-param-item a:focus {
  color: #333;
  text-decoration: none;
  outline: none;
}

/* Boîte de dialogue partager la carte */

/*#sharepanel .modal-header{
	color: #333;
	font-size: 13px;
}*/

#sharepanel .form-group label {
  color: #333;
  font-size: 13px;
}

#sharepanel .btn-group-vertical {
  margin-top: 10%;
}

.modal-content {
  border-radius: 9px;
}

/*******************************
------------- ICON LOADING
********************************/

.loader {
  margin: 4px auto;
  font-size: 3px;
  position: fixed;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 7em;
  height: 7em;
}

#loading-indicator {
  width: 35px;
  margin-top: -4px;
}

#loading-indicator .loader,
#loading-indicator .loader:after {
  right: 270px;
  width: 10em;
  height: 10em;
}

.mv-layer-indicator .loader {
  margin-left: 15px;
}

.mv-iframe-indicator {
  position: absolute;
  top: 50%;
  left: 40%;
}

.mv-iframe-indicator .loader {
  margin-left: 15px;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


/*******************************
------------- NAVBAR
********************************/

@media (max-width: 767px) {
  .sidebar-nav {
    margin-top: 0px;
    width: auto;
  }
}

.nav-pills li a {
  border-radius: 0px;
}

/*Sensorthing control only*/
.list-streams ul.nav-pills.nav-stacked {
  padding-left: 0px;
}

/*-x-*/

li.level-2 {
  text-indent: 9px;
}

li.mv-nav-item {
  line-height: 33px;
  font-size: 12px;
}

.nav-pills.nav-stacked ul a {
  line-height: 1.5em;
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
  text-indent: 0px;
  padding-left: 10px;
  padding-right: 10px;
}

.level-2 .mv-nav-item a {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 20px;
  display: flex;
}

.level-2 ul a {
  line-height: 1.5em;
  text-indent: 0;
}

.level-2 ul.nav-pills.nav-stacked {
  padding-left: 0 !important;
}

/* Test alignement liste des thémtiques / navbar */

#menu>li>a {
  line-height: 2em;
  display: flex;
  padding-top: 5px;
  padding-bottom: 5px;
  text-indent: 0px;
  padding-left: 10px;
  padding-right: 10px;
}

#menu span.fa-stack {
  margin-right: 6px;
  margin-left: 0px;
  margin-top: -4px;
}

/* Badge toggle menu*/
.toggle-theme-layers {
  display: none;
  float: right;
  margin-left: 5px;
}

.toggle-theme-layers .badge {
  text-indent: 0;
  font-size: 9px;
}

.opened .toggle-theme-layers {
  display: inline-block;
}

/*******************************
------------- BOTTOM PANEL
********************************/
ul.carousel-inner {
  padding-left: 10px;
}

.iframe_bas {
  margin-top: -14px;
}

.mv-header {
  padding-left: 10px;
}

span.state-icon.far {
  padding-right: 10px;
  padding-top: 3px;
}

#bottom-panel-btn {
  text-align: center;
}

#bottom-panel-btn .fa-chevron-down {
  width: 38px;
  text-align: center;
  line-height: 2.6em;
  border-radius: 20px;
  font-size: 15px;
}

#bottom-panel-btn .fa-chevron-down:hover {
  background: #ccc;
}

.mv-close {
  margin-top: -18px;
  position: absolute;
  cursor: pointer;
}


/*******************************
------------- LEGEND LAYER
********************************/

.mv-layer-remove {
  float: right;
  right: 10px;
  font-size: 14px;
}

a:focus {
  text-decoration: none;
}

#layers-container a {
  padding-right: 10px;
}

#layers-container-box .active {
  /*min-width: 280px;*/
  padding-bottom: 70px;
}

#layers-container .mv-layer-options a {
  color: #555;
}

#layers-container .mv-layer-options p {
  padding-top: 10px;
  margin: 0 0 10px !important;
}

.form-control {
  font-size: inherit;
  color: #333;
  border: 1px solid rgba(51, 51, 51, 0.2);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-control:focus {
  border: 1px solid rgba(51, 51, 51, 0.2);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-group.form-group-analyses {
  margin-top: 11px;
}

.form-group.form-group-opacity {
  margin-bottom: 10px;
}

.form-group .btn-default:focus {
  border: 1px solid #e6e6e6;
}

.list-group-item {
  border: 1px solid #ddd;
}

.list-group-item:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.list-group-item:last-child {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.mv-layer-summary:focus {
  outline: none;
}

.mv-layer-summary {
  padding-left: 5px;
}

.mv-invisible .layerdisplay-legend {
  display: flex;
}

.mv-invisible .layerdisplay-legend:after {
  /*content: "Non visible à cette échelle";*/
  content: "\e106";
  line-height: 40px;
  font-size: 17px;
  color: #777777;
}

.mv-layer-details.mv-invisible {
  /*background-color: #f5f5f5;*/
}

a.icon-options {
  display: block;
  text-align: center;
  text-align: -moz-center;
  outline: none;
}

/* Opacity */

.mv-layer-options .slider-handle {
  width: 15px;
  height: 15px;
}

.mv-layer-options .slider.slider-horizontal .slider-track {
  height: 5px;
}

.mv-layer-options .slider.slider-horizontal {
  width: 240px;
}

.tooltip.tooltip-main.top {
  margin-left: -19px !important;
}

/* Temporalité */

.slider-selection.tick-slider-selection {
  background-image: none;
}

.slider-tick {
  width: 10px;
  height: 10px;
}

.slider.slider-horizontal .slider-tick-container {
  top: 2px;
  left: 4px;
}

.mv-layer-options .slider.slider-horizontal {
  width: 230px
}

.form-group-timer .slider.slider-horizontal {
  margin-left: 11px;
  margin-top: 10px;
}

.form-group-opacity .slider.slider-horizontal {
  margin-left: 2px;
  width: 90%;
}

.slider.slider-horizontal .slider-tick-label-container {
  margin-top: 13px;
}

.tooltip.bottom .tooltip-arrow {
  margin-left: -8px;
  left: 57%;
}

.tooltip.bottom {
  margin-top: -4px;
}

.tooltip.tooltip-main.bottom {
  margin-left: -24.3px !important;
}

.slider-handle {
  -webkit-box-shadow: none;
}

.slider-selection {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.slider-track-high {
  background-color: #ccc;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.slider-track-low {
  background-color: #ccc;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.slider-tick.round {
  background-color: #ccc;
  opacity: 1;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.slider.slider-horizontal {
  margin-left: 7px;
}

.mv-slider-timer {
  padding-bottom: 10px;
}

span.mv-time-player-selection {
  border-radius: 3px;
  padding: 4px 12px 5px 11px;
}

/**** Popover *****/
.popover-content {
  font-size: 13px;
  color: #555;
  width: max-content;
}

.popover-content a {
  font-style: italic;
}

.popover-title {
  color: #555;
  border-bottom: none;
  background-color: #fff;
  margin-bottom: -4%;
}

.popover-content p {
  width: 250px;
}

/* Icone layers non coches
Utiliser le code Unicode du caractere de la police awesome.
*/

.mv-unchecked:before {
  content: "\f111";
}

.mv-checked:before {
  content: "\f192";
}

.mv-time-vertical {
  padding-left: 10px;
  transform: rotate(45deg);
}

.mv-time-player:before {
  content: "\f04b";
}

.active.mv-time-player:before {
  content: "\f04c";
}

.mv-time-player {
  cursor: pointer;
}

/*******************************
------------- MAP
********************************/

/**** Basemap ****/
#backgroundlayerstoolbar-gallery {
  /*background:#f8f8f8;*/
  border-radius: 4px;
  right: 15px;
  padding-top: 3px;
  z-index: 1;
}

#backgroundlayerstoolbar-gallery ul li {
  background-size: 39px 43px;
  height: 50px;
  width: 50px;
  border-radius: 25px;
  border: 2.5px solid #f8f8f8;
  box-shadow: 0px 0px 30px 3px rgba(200, 200, 200, 0.5);
  margin-bottom: 3px;
}

ul#basemapslist {
  list-style-type: none;
  margin-bottom: 3px;
  margin-right: 3px;
  padding-left: 3px;
}

ul#basemapslist p {
  margin-left: -6px;
  margin-right: -6px;
  font-size: 9px;
  line-height: 1.3;
  color: #333;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0);
  padding-top: 37px;
  text-shadow: 1px 1px #FFFFFF;
}

/* Scale */
.ol-scale-line-inner {
  color: #777;
  border-color: #777;
}

/* Map-pins */
#mv_marker path {
  fill: #ee4b4b;
}

/* custom-tooltip-feature & custom-tooltip-infopanel*/
.tooltip-feature h5,
.mv-tooltip h5 {
  margin-bottom: 0;
}

.tooltip-feature.tooltip.in,
.mv-tooltip.tooltip.in {
  opacity: 1;
}

/*******************************
------------- MAP OPTIONS
********************************/

btn:active,
.btn.active,
.btn:focus,
btn-lg:active,
.btn-lg.active,
.btn-lg:focus {
  outline: 0px !important;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

btn:active,
btn.active,
.btn-default.active,
.btn-default:active,
btn:focus,
btn.focus,
.btn-default.focus,
.btn-default:focus {
  border-color: none !important;
}

#drawtoolsoptions .btn-default.active,
#drawtoolsoptions .btn-default:active,
#drawtoolsoptions .btn-default.focus,
#drawtoolsoptions .btn-default:focus {
  color: #fff;
}

.mv-credits,
.mv-help {
  cursor: pointer;
}

.btn-group-vertical>.btn:first-child:not(:last-child) {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.btn-group-vertical>.btn:last-child:not(:first-child) {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

button.button-tools {
  border-radius: 0px;
  border: 0px;
}

.form-control {
  border-radius: 0px;
}

button.btn.btn-default.btn-raised,
a#exportpng,
a.btn.btn-default {
  border: none;
}

.ol-control button {
  border-radius: 30px;
}

.ol-attribution.ol-unselectable.ol-control.ol-collapsed {
  border-radius: 30px;
}

.ol-attribution.ol-uncollapsible {
  right: auto;
  border-radius: 30px;
  bottom: 8px;
}

#page-content-wrapper:has(#bottom-panel.active) .ol-attribution.ol-unselectable.ol-control {
  margin-bottom: 345px;
  transition: 0.5s;
}

#page-content-wrapper:has(#bottom-panel.active) .ol-scale-line.ol-unselectable {
  margin-bottom: 350px;
  transition: 0.5s;
}

#feature-info {
  position: absolute;
  height: 1px;
  width: 1px;
  z-index: 100;
}

/*******************************
------------- ADD LAYER PANEL
********************************/

.loading_container {
  z-index: 10000;
  height: 50px;
}

#addlayers_tabs {
  margin-bottom: 5px;
}

.layerGroup {
  font-weight: bold;
}

#addlayers_results {
  max-height: 50vh;
  overflow: auto;
  padding-right: 30px;
}

#addLayers_service_url {
  display: inline-block;
}

.csw_search {
  border-radius: 4px;
  width: 50%;
  display: inline-block;
}

.thumb_csw {
  padding: 5px;
  background-color: white;
  border: 1px solid #bbb;
  max-width: 180px;
}

.layer-result {
  font-weight: bold;
}

.layer-result-row {
  border-radius: 2px;
  margin-top: 2px;
  margin: 5px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}

/*******************************
------------- HELP PANEL
********************************/
#help .modal-header {
  padding: 40px 40px 30px 40px;
}

#help .modal-body {
  padding: 0px 40px 40px 40px;
}

#coordinates {
  color: #ffffff;
  padding-left: 30%;
  padding-top: 10px;
}

.vector-legend {
  padding-left: 10px;
}

/*accordion template*/
#right-panel .panel-collapse .carousel-inner {
  padding-left: 0px;
  padding-right: 0px;
  width: 100%;
}

#right-panel .panel-collapse .carousel-inner .item {
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
}

#right-panel .panel-collapse .panel-body {
  padding: 0;
}

#right-panel .panel-collapse .left.carousel-control span,
#right-panel .panel-collapse .right.carousel-control span {
  border-radius: 5px;
  background: #fff;
}

#accordion.panel-group .panel+.panel {
  margin-top: 0;
}

/* Sub-title layers */
.selected-sld.fas span {
  font-style: italic;
  font-family: 'roboto_regular', Arial, Sans-serif;
}

/*Filtres*/
.selected-attribute.fas span {
  font-style: italic;
  font-family: 'roboto_regular', Arial, Sans-serif;
}

/* Custom svg as icon*/
.demo-icon1::before {
  content: '';
  display: inline-block;
  height: 1em;
  width: 1em;
  margin-top: 8px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMzY0LjIxNSAxOTJoMTMxLjQzYzUuNDM5IDIwLjQxOSA4LjM1NCA0MS44NjggOC4zNTQgNjRzLTIuOTE1IDQzLjU4MS04LjM1NCA2NGgtMTMxLjQzYzUuMTU0LTQzLjA0OSA0LjkzOS04Ni43NDYgMC0xMjh6TTE4NS4yMTQgMzUyYzEwLjY3OCA1My42OCAzMy4xNzMgMTEyLjUxNCA3MC4xMjUgMTUxLjk5Mi4yMjEuMDAxLjQ0LjAwOC42NjEuMDA4cy40NC0uMDA4LjY2MS0uMDA4YzM3LjAxMi0zOS41NDMgNTkuNDY3LTk4LjQxNCA3MC4xMjUtMTUxLjk5MkgxODUuMjE0em0xNzQuMTMtMTkyaDEyNS4zODVDNDUyLjgwMiA4NC4wMjQgMzg0LjEyOCAyNy4zMDUgMzAwLjk1IDEyLjA3NWMzMC4yMzggNDMuMTIgNDguODIxIDk2LjMzMiA1OC4zOTQgMTQ3LjkyNXptLTI3LjM1IDMySDE4MC4wMDZjLTUuMzM5IDQxLjkxNC01LjM0NSA4Ni4wMzcgMCAxMjhoMTUxLjk4OWM1LjMzOS00MS45MTUgNS4zNDUtODYuMDM3LS4wMDEtMTI4ek0xNTIuNjU2IDM1MkgyNy4yNzFjMzEuOTI2IDc1Ljk3NiAxMDAuNiAxMzIuNjk1IDE4My43NzggMTQ3LjkyNS0zMC4yNDYtNDMuMTM2LTQ4LjgyMy05Ni4zNS01OC4zOTMtMTQ3LjkyNXptMjA2LjY4OCAwYy05LjU3NSA1MS42MDUtMjguMTYzIDEwNC44MTQtNTguMzk0IDE0Ny45MjUgODMuMTc4LTE1LjIzIDE1MS44NTItNzEuOTQ5IDE4My43NzgtMTQ3LjkyNUgzNTkuMzQ0em0tMzIuNTU4LTE5MmMtMTAuNjc4LTUzLjY4LTMzLjE3NC0xMTIuNTE0LTcwLjEyNS0xNTEuOTkyLS4yMjEgMC0uNDQtLjAwOC0uNjYxLS4wMDhzLS40NC4wMDgtLjY2MS4wMDhDMjE4LjMyNyA0Ny41NTEgMTk1Ljg3MiAxMDYuNDIyIDE4NS4yMTQgMTYwaDE0MS41NzJ6TTE2LjM1NSAxOTJDMTAuOTE1IDIxMi40MTkgOCAyMzMuODY4IDggMjU2czIuOTE1IDQzLjU4MSA4LjM1NSA2NGgxMzEuNDNjLTQuOTM5LTQxLjI1NC01LjE1NC04NC45NTEgMC0xMjhIMTYuMzU1em0xMzYuMzAxLTMyYzkuNTc1LTUxLjYwMiAyOC4xNjEtMTA0LjgxIDU4LjM5NC0xNDcuOTI1QzEyNy44NzIgMjcuMzA1IDU5LjE5OCA4NC4wMjQgMjcuMjcxIDE2MGgxMjUuMzg1eiIvPjwvc3ZnPg==");
}

.demo-icon2::before {
  content: '';
  display: inline-block;
  height: 1em;
  width: 1em;
  background: url(../img/logo/worldwide.svg) no-repeat scroll;
  background-size: 16px 16px;
  margin-top: 9px;
}

.mv-nav>li {
  display: inline-block;
}

.xs .menu-toggle,
.xs #sidebar-wrapper,
.xs #layers-container-box {
  display: none;
}

#wrapper.xs {
  padding-left: 0;
}

.xl .menu-toggle,
.xl #sidebar-wrapper,
.xl #layers-container-box {
  display: block;
}

#wrapper.xl {
  padding-left: 250px;
}

#wrapper.xs.toggled-2 #map {
  margin-left: 200px;
}

.modal .sidebar-nav {
  margin-top: 10px;
}

.xs.mode-u #btn-mode-su-menu {
  position: fixed;
  top: 10px;
  left: 10px;
  border-radius: 0px;
}

.xs.mode-u #zoomtoolbar {
  top: 10px;
}

.xs.mode-u #searchtool {
  position: fixed;
  top: 10px;
  margin-right: 50px;
  right: 0;
  width: 250px;
}

.xs.mode-u #toolstoolbar {
  top: 110px;
}

.xs.mode-s #btn-mode-su-menu {
  position: fixed;
  top: 75px;
  left: 10px;
  border-radius: 0px;
}

.xs.mode-s #btn-mode-su-menu:hover,
.xs.mode-u #btn-mode-su-menu:hover {
  opacity: 0.9;
}

.xs.mode-s #btn-mode-su-menu:after,
.xs.mode-u #btn-mode-su-menu:after {
  position: relative;
  margin-left: 10px;
}

.xs.mode-s .mv-layer-remove,
.xs.mode-u .mv-layer-remove {
  display: none;
}

.dropzone.dz-clickable {
  cursor: pointer;
}

.dropzone {
  box-sizing: border-box;
  min-height: 9.75rem;
  padding: .5rem;
  border: .125rem dashed #999;
  border-radius: .3rem;
  background: 0 0;
}

.dropzone .dz-message {
  display: none;
  text-align: center;
}

.dropzone .start .dz-default.dz-message {
  display: block;
}

.dropzone .wait .dz-work.dz-message {
  display: block;
}

#lang-button,
#lang-selector {
  display: none;
  text-transform: capitalize;
}

#lang-button.enabled,
#lang-selector.enabled {
  display: inline-block;
}

#table-csv {
  table-layout: fixed;
}

#table-csv th:nth-child(1) {
  width: 90px;
}

#table-csv th:nth-child(3) {
  width: 56px;
}

div#login-box {
  color: white;
}

@media (max-width: 767px) {
  #login-box {
    text-align: center;
  }
}

#login {
  border-radius: 0;
}

#error {
  display: none;
  height: 100%;
  width: 100%;
  text-align: center;
}

#error h1 {
  padding-top: 100px;
}

#error p {
  padding-top: 100px;
  justify-content: center;
  height: 50%;
  font-size: 20px;
}

.caret-toggle h4 .state-icon {
  font-size: 16px;
  color: white;
}

.caret-toggle.collapsed h4 .state-icon.firstLayer:after {
  content: "\2b";
  /*plus*/
}

.caret-toggle h4 .state-icon.firstLayer:after {
  content: "\2212";
  /*moins*/
}

.caret-toggle h4 .state-icon.notFirstLayer:after {
  content: "\2212";
  /*moins*/
}

.caret-toggle.collapsed h4 .state-icon.notFirstLayer:after {
  content: "\2b";
  /*plus*/
}

/* Sharepanel Iframe */

#urlIframeShare {
  font-family: monospace;
  width: 100%;
  height: 15vh;
  background-color: #eaeaea;
  border: none;
  resize: none;
  word-break: break-all;
}

#IframeShare>div {
  background-color: #8080802b;
  padding: 0.5em;
  border-radius: 3px;
}

#IframeShare h5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#IframeShare h5 button {
  background: none;
  border: none;
}

/***********************************
------------- WINDOW INFO DRAW TOOLS
***********************************/

#drawingPanelInfo {
  max-width: 280px;
  min-width: 230px;
  padding: 1em;
  border-radius: .5em;
  position: fixed;
  top: 65px;
  right: 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 2px 2px 10px rgb(0 0 0 / 37%);
}

.drawingPanel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.drawingPanel__body {
  margin: .5em 0;
}

#drawingPanelInfoLabel {
  padding: 3px 5px;
}

#drawingPanelHelp:not(:empty) {
  margin: .5em 0;
  font-size: .95em;
  line-height: 1.2;
  background-color: #8080801f;
  color: #868686;
  padding: .5em .5em .5em 2.4em;
  border-radius: .3em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='rgba(134,134,134,1)'%3E%3Cpath d='M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center left 5px;
}

.drawTooltip {
  background-color: #fff;
  border: 1px solid;
  border-color: #393939;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: black;
  box-shadow: 2px 2px 10px rgb(0 0 0 / 37%);
  white-space: nowrap;
}

input.drawTooltip {
  width: 80%;
}

.datepicker table tbody tr td.disabled {
  color: rgba(119, 119, 119, 0.2);
  pointer-events: none;
}

/******************************************************
------------- ADDLAYERS - API features, WMS and CSW tab
******************************************************/

#addLayers_service_url_api_features,
#addLayers_service_url,
#addLayers_service_url_csw {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

#addLayers_service_url_api_features_select,
#addLayers_service_url_select,
#addLayers_service_url_csw_select {
  cursor: pointer;
  border-radius: 4px;
}

ul.nav.nav-tabs {
  margin-bottom: 10px !important;
}

div.row.pl-1.layer-result-row {
  margin: 10px;
  padding: 6px 0;
}

div.row.pl-1.layer-result-row:hover {
  background-color: #d3d3d382;
}

div.row.pl-1.layer-result-row div.col-md-8 {
  padding: 0px 30px;
}

button.vcenter {
  border-style: none;
  background-color: white;
  border: 1px solid white;
  border-radius: 15px;
  padding: 3px 10px 0 10px;
}

button.vcenter:hover {
  border-color: gray;
  transform: scale(1.05);
}

/* Template - Accordion + carousel */

#accordion .carousel-control .glyphicon-chevron-left,
#accordion .carousel-control .glyphicon-chevron-right,
#accordion .carousel-control .icon-next,
#accordion .carousel-control .icon-prev {
  top: auto;
  bottom: 7px;
}

#accordion .carousel-inner {
  max-height: 75vh;
  overflow-y: auto;
  margin-bottom: 2em;
}

#modal-panel #accordion .carousel-inner {
  max-height: 60vh;
}

#modal-panel #accordion .counter-slide {
  position: relative;
  z-index: 500;
  left: 47%;
}

#right-panel #accordion span.counter-slide {
  position: static;
  transform: translate(500%, -70%);
}