html, body {
  height: 100%;
  margin: 0;
  overscroll-behavior: contain;
  /*font: small-caption;*/
}

#map{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#map.leaflet-container {
  background-color: white;
  /*background-image: url("../images/empty.png");*/
}



#menu{
  /*display: none;*/
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  /*width: 230px;*/
  overflow: auto;
  background-color: #333;
  z-index: 99999999;
  color: white;
  background-color: #333333d6;


}



#menu #voyageSelect {
  width: 100%;
}

#menu details {
  min-width: 100%;
  margin: 0.25em auto;
}
#menu details p {
  margin: 0;
  padding: 0.25em 1em;
}
#menu details summary {
  color: #3b393d;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  border-bottom: 1px solid red;
  background: linear-gradient(45deg, #f69259, #f16975);
  color: white;
  outline: none;
  font-weight: bold;
}

#menu button {
  position: relative;
  padding-left: 1em;
  border: none;
  background-color: transparent;
  background-clip: padding-box;
  color: #eee;
  outline: none;
}
#menu button::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "▲";
  transform: rotate(-90deg);
  font-size: inherit;
}
#menu [open] ~ p button {
  color: #3b393d;
  cursor: pointer;
}
#menu [open] ~ p button::before {
  transform: rotate(0deg);
}

#menu a .pictoMarker{
  vertical-align: middle;
  margin-bottom: -10px;
}

#menu .detailVoyage .marker{
  vertical-align: middle;
  margin-bottom: -10px;
}

#menu .form-voyage{
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 5px;
}


.leaflet-touch .leaflet-control-layers-toggle {
  width: 30px !important;
  height: 30px !important;
  background-image: url(../leaflet/images/layers.png);
}

#menu a {
  color: white;
  text-decoration: none;
}

#menu .routing {
  display: block;
  background-color: white;
  padding: 10px;
  text-align: center;
  color: black !important;
  font-weight: bold;
  margin-top: 10px;
}
#menu .form-routing {
  padding: 5px;
}

#menu #closeDiv{
  text-align: right;
  margin-right: 10px;
}

#menu .item div  {
  padding: 5px;
}
#menu .item{
  margin-top: 10px;
}
#menu .sublist{
  background-color: white;
}
#menu .item .subitem  {
  color: black;
  padding-top: 0;
  padding-bottom: 0;
}

#menu .item .proxi .subitem  {
  background-color: inherit;
  color: white;
}

#menu .item .proxi .options.infos  {
  margin-top: -19px;
  margin-left: 42px;
  font-size: 0.8em;
}

#menu .day .retirer {
  float: left;
  color: orange;
  font-size: 0.9em;
  margin-left: -5px;
  margin-top: 12px;
}


#menu .item .proxi .subitem a  {
  color: white;
}

#popupDown .icon {
  display: none;
}

.summaryvalue{
  font-weight: bold;
}

#menu .js-sortable .sortable-ghost{
  background-color: #bdbdbd;
}

#menu .item .sep.flecheVerte{
  background-image: url("../images/fleche-verte.png");
  background-repeat: no-repeat;
  background-color: white;
  color: #fd8f00;
  padding: 10px;
  padding-left: 10px;
  padding-left: 17px;
  margin-left: 40px;
}

#menu .sorting .sep.flecheVerte{
  display: none;
}

#menu .item .subitem .marker{
  vertical-align: middle;
  margin-bottom: -10px;
}

a.afficher, a.afficher:link, a.afficher:hover, a.afficher:visited, a.afficher:active{
  font-weight: bold;
  color: black !important;
  text-decoration: none;
}

a.afficher{
  user-select: none;
}


#popupDown{
  position: absolute;
  background-color: white;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 99999998;
  display: none;
  overflow: hidden;
}

#popupDown #description{
  margin: 5px;
}

#map .voyageMarker {
  background-color: #f16975;
  border-radius: 45px;
}

#map .selectedMarker {
  background-color: #0000007a;
  border-radius: 45px;
}



#map .selectedPath {
  stroke-width: 6px;
}

.viseur {
  z-index: 999;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;
}

.list.typeP4N input[type="checkbox"] {
  display: none;
}

.list.typeP4N input[type="checkbox"] + label {
  opacity: 0.5;
  overflow:auto;
  margin-bottom: -10px;
}

.list.typeP4N input[type="checkbox"]:checked + label {
  opacity: 1;
}

.jq-toast-wrap.top-right {
  top: 10px !important;
  right: 70px !important;
}

.list.typeP4N img {
  width: 48px;
  height: auto;
  vertical-align: middle;
}
form.form-filtres-p4n .title {
  font-weight: bold;
  margin: 5px;
  font-size: 1.1em;
  border-bottom: solid 2px white;
}

.form-filtres-p4n .list {
  padding: 5px;
}


#map .picto-essence {
  display: block;
  width: 30px;
  background-color: #91ff73;
  text-align: center;
  color: white;
  height: 25px;
  border-radius: 40px;
  margin-top: -13px;
  margin-left: -13px;
  line-height: 11px;
  font-weight: bold;
  padding-top: 5px;
  border: solid 3px black;
}


.scale-up-center {
	-webkit-animation: scale-up-center 1.5s ease-in-out infinite alternate both;
	        animation: scale-up-center 1.5s ease-in-out infinite alternate both;
}
@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.3);
            transform: scale(1.3);
  }
}
@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.3);
            transform: scale(1.3);
  }
}

#map .leaflet-control-attribution{
  display: none;
}





.group > .title {
  background-color: gray;
  font-weight: bold;
  padding: 5px;
}

.group .subgroup {
  padding-left: 10px;
  border-left: solid 2px gray;
  padding: 5px;
}

body.logForm {
  background-image: url("../images/no-access.jpg");
  background-repeat: no-repeat;
  background-position: center;
}

.logForm form {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  background-image: url("../images/no-access.jpg");
}

#popupDown .subitem .marker {
  float: right;
}

#popupDown .subitem {
  text-decoration: none;
  color: black;
  font-size: 2em;
}

@media only screen and (min-width : 800px) {

  #menu{
    display: block !important;
    background-color: #333;
    width: 230px;
  }
  #popupDown{
    left: inherit;
    overflow: scroll !important;
    width: 530px;
    right: 0 !important;
    border-top-left-radius: 15px;
    padding: 10px;
    border-left: solid 2px gray;
    border-top: solid 2px gray;
  }

  #map{
    left: 230px;
  }
  .leaflet-bar.easy-button-container.leaflet-control:has(.unnamed-state-active), #menu #closeDiv {
    display: none;
  }
  #popupDown .subitem .marker {
    vertical-align: middle;
    margin-bottom: -10px;
    float: inherit;
  }

  /*.leaflet-bar.easy-button-container.leaflet-control:has(.dessin-off-active),
  .leaflet-bar.easy-button-container.leaflet-control:has(.dessin-on-active) {
    display: inherit;
  }*/




}
