*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}



#menu_gene,
#menu_detail {
  width: 100%;
  overflow: auto;
}

#map,
#map_detail
 {
  width: 100%;
}
.navbar{
  height: 106px;
  color: #664d03;
  background-color: #fff3cd;
}
.card {
  height: 110px;
  width: 80px;
  background-color: #e7d598;
}
.card img {
width:64px; margin:auto; height:64px;
}
.mini-picture:before {
  content: '';
  background-image: url('../photo/418/1589183858min.jpg');
  height: 75px; 
  width : 75px;
  display: block;
}

.card:hover {
  background-color: #ffc107 !important;
}
.mini-picture{
  height: 75px; 
  width : 75px;
  margin-left: -10px;
  margin-top: -3px;
  padding: 0.15rem;
}
#txt_zoom {
  color: #003F8A;
}
.svg:hover, #txt_zoom:hover  {
  fill: #fff;
  color: #fff;
}
.navbar 
 {
  border-image-width: 3;
  border-bottom: 0.25rem solid rgba(13, 110, 253, 0.25);
}
.footer
 {
  border-top: 1px solid #664d03;
}

.carte
 {
   position: relative;
}

#title {
  padding: 10px;
}
.titre, .footer {
  color: #003F8A;
}
.titre >img {
  max-width: 330px;
  width: calc(100vw/4);
}

#txt_zoom:after {
  content: 'Retour au Menu';
}
  
#map, #map_detail, #menu_gene, #menu_detail, .carte, .menu {
  height: calc(100vh - 136px);
}
.grille {
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-columns: auto 400px;
  grid-template-rows: 106px auto 30px;
}

section
 {
  background-color:#fff;
}
section:nth-child(1),
section:nth-child(6)
 {
  grid-column: 1 / span 2;
  z-index: 1;
}

section:nth-child(2),
section:nth-child(4) {
  grid-row: 2 / span 1;
  grid-column: 1 / span 1;
  
}

section:nth-child(3),
section:nth-child(5) {
  grid-row: 2 / span 1;
  grid-column: 2 / span 1;
  background: #fff3cd
}

.accordion {
	white-space:normal;
}
.accordion-button {
  padding: 8px;
}
.accordion-button.collapsed {
  background: #e7d598
}
.accordion .accordion-collapse {
  width:100%;
  }

 #Bloc_0 .accordion-body
{
    padding: 0 !important;
  }
.carousel-caption{
bottom: 0.2rem;
left: 5%;
right: 5%;
padding-bottom: 0;
}
#carouselExampleCaptions > div > div > img
{
max-width: 500px;
margin: auto;
}

.footer  {
  background-color: #fff3cd;
}
@media screen and (max-width: 1200px) {
  .grille {
    grid-template-columns: auto 350px;
  }

  }

@media screen and (max-width: 992px) {
  .grille {
    grid-template-columns: auto 300px;
  }

#txt_zoom:after {
  content: 'Menu';
}
  
  }

@media screen and (max-width: 768px) {
  
  .grille {
    grid-template-rows: 62px auto 30px;
    background-color: #fff3cd;
}
#map, #map_detail, #menu_gene, #menu_detail, .carte, .menu {
  height: calc(100vh - 92px);
}
  section:nth-child(2),
  section:nth-child(3),
  section:nth-child(4),
  section:nth-child(5)
  /*, section:nth-child(6)  */
 {
    grid-column: 1 / span 2;
    grid-row: 2 / span 1;
}
.navbar{
  height: 62px;
  color: #664d03;
  background-color: #fff3cd;
  padding-top: 0px;
}

.navbar > div > button > svg {
  height: 25px;
  width: 25px;
}
.accordion .accordion-collapse {
  width:100vw;
  }
}

@media screen and (max-width: 576px) {
  .titre {
      display: none;
  }
 
  #txt_zoom:after {
    content:'';
  }
}

#zoom {
  display: none;
}

.ol-popup,
.ol-popup_detail {
  position: absolute;
  background-color: #fff3cd;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 0 0.5em;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 200px;
  min-height: 35px;
}

.ol-popup a {
  text-decoration: none;
}
.ol-popup a h5, #popup-content_detail {
  padding-right: 25px;
  padding-top: 5px;
}


.ol-popup:after,
.ol-popup:before,
.ol-popup_detail:after,
.ol-popup_detail:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup:after,
.ol-popup_detail:after {
  border-top-color: #fff3cd;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup:before,
.ol-popup_detail:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer,
.ol-popup-closer_detail {
  text-decoration: none;
  position: absolute;
  top: 3px;
  right: 8px;
  z-index: 10;
  font-weight: 700;
}

.ol-popup-closer:after,
.ol-popup-closer_detail:after {
  content: "✖";
}


/*attribution openlayers*/
.ol-attribution.ol-unselectable.ol-control.ol-uncollapsible {
  padding: 0;
  font-size: 0.6em;
  line-height: 1;
}

/*zoom openlayers*/
div.ol-zoom.ol-unselectable.ol-control {
  font-size: 1.3em;
  line-height: 1.3;
}


#validateTips {
  color: #FF0000;
}

#descrip img {
  float: left;
  margin-top: -13px;
}

/*FULLE SCREEM*/


#toolbox {
  position: absolute;
  top: 18px;
  right: 18px;
  background-color: #cccccc;
  padding: 2px;
}

div#toolbox ul#layerswitcher li div.ui-radio {
  display: inline-block;
}