.map-container,
.map-container *,
.map-container *::before,
.map-container *::after {
  box-sizing: border-box;
}

.map-container {
  position: relative;
  overflow: hidden;
  display: flex;
  text-align: left;
  max-height: 100%;
  min-height:100%;
}

.map-container .couleur {
  color: #93af47;
}

.map-container .icon {
  height: auto;
  margin: 0;
  width: auto;
}

.map-container .icon path {
  fill: currentColor;
}

.map-controls {
  position: absolute;
  top: 15px;
  left: 0;
  z-index: 10;
}

.map-controls button {
  align-items: center;
  display: flex;
  height: 40px;
  justify-content: center;
  margin-bottom: 1px;
  width: 40px;
  color: #fff;
  background-color: rgba(0,0,0,.68);
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.map-controls button:hover,
.map-controls button:focus {
  background-color: #93af47;
}

.map-controls button:last-child {
  margin-bottom: 0;
}

.filters-active .map-filters,
.layers-active .map-layers {
  background-color: #93af47;
}

.filters-active .map-controls,
.layers-active .map-controls {
  left: 300px;
}

.map-sidebar {
  position: relative;
  z-index: 10;
  display: none;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  width: 300px;
  color: #444;
  font-size: 14px;
  line-height: 24px;
  background-color: #fafafa;
  box-shadow: 0 0 10px rgba(0,0,0,.08);
}

.filters-active .filters-sidebar {
  display: flex;
}

.layers-active .layers-sidebar {
  display: flex;
}

.map-sidebar p {
  margin: 0 0 10px;
  font: inherit;
}

.sidebar-close {
  position: absolute;
  top: 20px;
  right: 10px;
  padding: 10px;
  color: #cacaca;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.sidebar-close:hover,
.sidebar-close:focus {
  color: #444;
}

#main-content .map-sidebar .sidebar-title {
  margin: 0 0 15px;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

.sidebar-form {
  display: flex;
  margin: 0 0 25px;
  background-color: #fff;
  border: 1px solid #ececec;
  border-radius: 5px;
}

.sidebar-form input {
  flex: 1;
  height: 33px;
  padding: 5px 10px;
  font-size: 13px;
  line-height: 23px;
  border: none;
}

.sidebar-form input::placeholder {
  color: #bbb;
}

.sidebar-form input::-ms-input-placeholder {
  color: #bbb;
}

.sidebar-form button {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 40px;
  color: #d3d3d3;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.sidebar-form button:hover,
.sidebar-form button:focus {
  color: #444;
}

.vhidden {
  position: absolute;
  overflow: hidden;
  height: 1px;
  margin: -1px;
  padding: 0;
  width: 1px;
  white-space: nowrap;
  border: none;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
}

.form-reset {
  display: block;
  margin-bottom: 25px;
  padding: 5px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.form-reset:hover,
.form-reset:focus {
  color: #93af47;
}

.sidebar-form + .form-reset {
  margin-top: -25px;
}

.form-result {
  display: none;
  flex-direction: column;
  flex: 1;
}

.form-result.active {
  display: flex;
}

.form-result .result-count {
  font-size: 14px;
  font-weight: 700;
}

.map-list,
.layer-list {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  max-height: 100%
}

.form-result.active + .map-list {
  display: none;
}

.map-list ul,
.map-list li,
.layer-list ul,
.layer-list li {
  margin: 0;
  list-style: none;
}

.map-list ul,
.layer-list ul {
  overflow-y: scroll;
  flex: 1;
  margin: 0;
  padding: 0 10px 0 0;
  list-style: none;
}

.map-list ul::-webkit-scrollbar,
.layer-list ul::-webkit-scrollbar {
  width: 10px;
  background-color: #eaeaea;
  border-radius: 5px;
}

.map-list ul::-webkit-scrollbar-thumb,
.layer-list ul::-webkit-scrollbar-thumb {
  background-color: #d3d3d3;
  border-radius: 5px;
}

.map-list li {
  padding: 0;
}

.map-item a,
.layer-list li {
  position: relative;
  display: block;
  padding: 10px 20px 10px 37px;
  color: #666;
  font-size: 13px;
  font-weight: 400;
  line-height: 25px;
  text-decoration: none;
  background: url(../img/marqueur.png) 20px 15px / 8px 14px no-repeat;
}

.layer-list li {
  padding: 0;
  background: transparent;
}

.content .map-item a {
  color: #666;
  font-weight: 400;
}

.map-item a::after,
.layer-list li::after {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 1px;
  background-color: #ececec;
  content: '';
}

.map-item a:hover,
.map-item a:focus,
.content .map-item a:hover,
.content .map-item a:focus {
  color: #93af47;
}

.map-item a:hover::after,
.map-item a:focus::after {
  opacity: 0;
}

.map-item:last-child a::after,
.layer-list li:last-child::after {
  content: none;
}

.map-sublist,
.map-subsublist,
.map-subsubsublist,
.map-subsubsubsublist {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: none;
  flex-direction: column;
  background-color: #fafafa;
}

.sublist-active .map-sublist,
.sublist-active .map-sublist > ul,
.subsublist-active .map-subsublist,
.subsublist-active .map-subsublist > ul,
.subsubsublist-active .map-subsubsublist,
.subsubsublist-active .map-subsubsublist > ul,
.subsubsubsublist-active .map-subsubsubsublist,
.subsubsubsublist-active .map-subsubsubsublist > ul {
  position: static;
  z-index: auto;
}

.map-sublist > ul,
.map-subsublist > ul,
.map-subsubsublist > ul,
.map-subsubsubsublist > ul,
.layer-list ul {
  position: relative;
  z-index: 0;
}

.map-sublist > ul::after,
.map-subsublist > ul::after,
.map-subsubsublist > ul::after,
.map-subsubsubsublist > ul::after,
.layer-list ul::after {
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  left: 0;
  z-index: -10;
  background-color: #f6f6f6;
  content: '';
}

.form-result .map-list ul::before,
.map-sublist > ul::before,
.map-subsublist > ul::before,
.map-subsubsublist > ul::before,
.map-subsubsubsublist > ul::before,
.layer-list ul::before {
  position: absolute;
  top: 0;
  right: 10px;
  left: 0;
  height: 8px;
  background-image: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,0));
  content: '';
}

.map-item.active > .map-sublist,
.map-item.active > .map-subsublist,
.map-item.active > .map-subsubsublist,
.map-item.active > .map-subsubsubsublist {
  display: flex;
}

.map-list-back {
  padding: 10px 0 10px 20px;
  font-size: 14px;
  line-height: 25px;
  text-align: left;
  text-transform: none;
  background-color: #fafafa;
  border: none;
  cursor: pointer;
}

.map-list-back::before {
  height: 9px;
  margin: 0 14px 0 -20px;
  width: 6px;
  color: #93af47;
  content: "<";
}

.map-list-back:hover,
.map-list-back:focus {
  color: #93af47;
}

.layer-checkbox {
  position: relative;
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  line-height: 18px;
}

.layer-checkbox-input {
  position: absolute;
  top: 17px;
  left: 8.5px;
  overflow: hidden;
  height: 1px;
  margin: -1px;
  padding: 0;
  width: 1px;
  white-space: nowrap;
  background-image: url(../img/icones-carto/check.png);
  border: none;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
}

.layer-checkbox-text {
  position: relative;
  display: block;
  padding-left: 23px;
}

.layer-checkbox-text::before {
  position: absolute;
  top: 9px;
  left: 0;
  height: 17px;
  width: 17px;
  background: #fff center / 9px 7px no-repeat;
  border: 2px solid #999;
  transform: translateY(-50%);
  content: '';
}

.layer-checkbox-input:focus + .layer-checkbox-text::before {
  border-color: #93af47;
}

.layer-checkbox-input:checked + .layer-checkbox-text::before {
  background-image: url(../img/icones-carto/check.png);
}

#omap {
  position: relative;
  z-index: 0;
  flex: 1;
  max-height: 100%;
}

.marker {
  display: none;
}

#mapDetail {
  float: none;
  margin: 0;
  height: 400px;
  width: 100%;
}

#omap a,
#mapDetail a {
  text-decoration: none;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: none;
}

.leaflet-touch .leaflet-bar a {
  height: 36px;
  margin-bottom: 1px;
  width: 36px;
  color: #fff;
  line-height: 36px;
  background-color: rgba(0,0,0,.68);
  border-bottom: none;
  cursor: pointer;
}

.leaflet-touch .leaflet-control-fullscreen a {
  background: url(../img/fullscreen.png) center no-repeat rgba(0,0,0,.68);
}

.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
  background-position: center;
}

.leaflet-touch .leaflet-bar a:hover,
.leaflet-touch .leaflet-bar a:focus {
  background-color: #93af47;
}

.leaflet-touch .leaflet-bar a:last-child {
  margin-bottom: 0;
}

.leaflet-touch .leaflet-bar a:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.leaflet-touch .leaflet-bar a:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.popup {
  color: #666;
  font-size: 13px;
  line-height: 18px;
}

#main-content .popup .popup-title {
  margin: 0;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.popup img[align="left"] {
  margin: 0 10px 5px 0;
}

.popup .popup-link,
.popup .popup-zoom {
  display: inline-block;
  padding-left: 20px;
  color: #333;
  font-weight: 700;
  text-transform: none;
}

.popup .popup-zoom {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.popup .popup-link::before,
.popup .popup-zoom::before {
  display: inline-block;
  margin: 0 7px 0 -20px;
  vertical-align: middle;
}

.popup .popup-link::before {
  content: url(../img/fiche.png);
}

.popup .popup-zoom::before {
  content: url(../img/zoom.png);
}

.popup .popup-link:hover,
.popup .popup-link:focus,
.popup .popup-zoom:hover,
.popup .popup-zoom:focus {
  color: #93af47;
}

.page-large-carto #main-content {
  width: calc(100% - 170px);
}

.detail-map {
  float: right;
  margin-left: 1%;
  width: 66%;
}