@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");

*,
:after,
:before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  height: 100%;
}

body,
html,
#map {
  width: 100%;
  height: 100%;
}

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  background-color: #f1f1f1;
}

svg:not(:root) {
  overflow: hidden;
}

.hidden {
  display: none;
}

.active-sidebar .leaflet-left {
  transform: translateX(490px);
}

.sidebar {
  display: block;
  position: absolute;
  width: 100%;
  max-width: 480px;
  z-index: 99999;
  background: #fff;
  overflow: hidden;
  height: 100%;
  transform: translateX(calc(-100% - 20px));
  box-shadow: 0px 0px 22px -11px rgba(66, 68, 90, 1);
}

.active-sidebar .sidebar {
  max-width: 560px;
  width: 100%;
  transform: translateX(0);
}

@media (min-width: 768px) {
  .sidebar {
    top: 10px;
    left: 10px;
    border-radius: 5px;
    height: calc(100% - 20px);
    transition: transform 0.3s ease-in-out;
  }

  .active-sidebar .sidebar {
    max-width: 480px;
    width: 100%;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
  }

  .active-sidebar .leaflet-left {
    transform: translateX(485px);
    transition: transform 350ms;
  }
}

.close-button {
  cursor: pointer;
  position: absolute;
  top: 1px;
  right: 11px;
  border: none;
  padding: 5px;
  margin: 0;
  padding: 0;
  border-radius: 3px;
  z-index: 1;
  background: none;
}

.sidebar .close-button svg {
  fill: #fff;
  width: 30px;
  height: 30px;
}

.sidebar svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: #3f3f3f;
  pointer-events: none;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  height: 100%;
}

/* sidebar-content */
.sidebar-content {
  height: inherit;
  overflow:auto;/*pour avoir l'ascenceur dans la popup -> test ; il faut voir si ca ne perturbe pas le reste*/  
}

.sidebar-content h1 {
  position: sticky;
  top: 0;
  color: #fff;
  background: #0052b1;
  padding: 10px 35px 10px 15px;
}

.sidebar-content img {
  /*display: block;*/
  max-width: 100%;
  height: auto;
}

.sidebar-content small {
  display: block;
  padding: 5px 15px;
}

.info-description {
  padding: 5px 15px 15px;
  line-height: 150%;
}

.info-content {
  height: 100%;
  overflow: auto;
  padding-bottom: 50px;
}

.marker-id {
  font-size: 3rem;
  font-weight: bold;
  position: absolute;
  left: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.info-content::-webkit-scrollbar {
  width: 10px;
}

.info-content::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 81, 255, 0.3);
}

.info-content::-webkit-scrollbar-thumb {
  background-color: #003764;
  outline: 1px solid #002449;
}

/* marker sport études */
.leaflet-marker-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #fff;
  font-size: 12px;
  box-shadow: 0px 0px 3px #007ebf;
  border-radius: 100%;
  border: 2px solid #fff;
  /*background: #b8d487;*/
  background: #007ebf;
}

/* marker */
.leaflet-markersss-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #fff;
  font-size: 12px;
  box-shadow: 0px 0px 3px #63097f;
  border-radius: 100%;
  border: 2px solid #fff;
  /*background: #b8d487;*/
  background: #63097f;

}

/* marker */
.leaflet-markerbq-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #fff;
  font-size: 12px;
  box-shadow: 0px 0px 3px #752910;
  border-radius: 100%;
  border: 2px solid #fff;
  /*background: #b8d487;*/
  background: #752910;
}  
  
  
/* marker */
.leaflet-markereseo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #fff;
  font-size: 12px;
  box-shadow: 0px 0px 3px #fd9b1e;
  border-radius: 100%;
  border: 2px solid #fff;
  /*background: #b8d487;*/
  background: #fd9b1e;
}  
    
  
/* marker pour etab sans dispositif */
.leaflet-nomarker-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #fff;
  font-size: 12px;
  box-shadow: 0px 0px 0px #08361a;
  border-radius: 100%;
  border: 0px solid #fff;
  /*background: #b8d487;*/
  background: #000000;
}


.active-sidebar .leaflet-marker-icon,
.leaflet-marker-icon:hover {
  animation: border-pulse 1.5s infinite;
}

@keyframes border-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 255);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 255, 0);
  }
}

/*style personnalisé pour la description dans la popup*/
.qqvbed-p83tee {
	font-size : 14px;
	margin : 16px 0 26px;
}

.qqvbed-p83tee-V1ur5d {
  color: #9e9e9e;
  font-size: 12px;
  vertical-align: top;
  margin-right: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  max-width: 100%;
}

.qqvbed-p83tee-lTBxed {
  color: rgba(0,0,0,.87);
  display: inline-block;
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  max-width: 100%;
  margin-top: 4px;
}

.qqvbed-tJHJj {
  height: 64px;
  background-color: #db4437;
  position: relative;

}

.qqvbed-bN97Pc {
  overflow:auto;/*pour avoir l'ascenceur dans la popup -> test ; il faut voir si ca ne perturbe pas le reste*/  
  background-color:aliceblue;
}	

.SfQLQb-T3iPGc .qqvbed-tJHJj-fmcmS {
  max-width: -moz-calc(100% - 48px - 48px - 11px - 13px - 24px);
  max-width: calc(100% - 48px - 48px - 11px - 13px - 24px);
}

.qqvbed-tJHJj-fmcmS {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  max-width: -moz-calc(100% - 48px - 11px - 13px - 24px);
  max-width: calc(100% - 48px - 11px - 13px - 24px);
  display: inline-block;
  /*margin: 21px 0 19px 0;*/
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  position: absolute;
  left: 72px;
  top: 0;
}

.qqvbed-UmHwN {
  padding: 12px 24px 20px;
}


/* pour joli checkbox*/
form {
    max-width: 250px;
    position: relative;
    margin: 100px 0 0;
    font-size: 15px;
	z-index:500;
}
.radiobtn {
    position: relative;
    display: block;
}
.radiobtn label {
    display: block;
    background: rgba(0, 0, 0, 0.2);
    color: #000;
    border-radius: 5px;
    padding: 10px 20px;
    border: 2px solid grey;
    margin-bottom: 5px;
    cursor: pointer;
	transition: border 0.3s;
}
.radiobtn label:after, .radiobtn label:before {
    content: "";
    position: absolute;
    right: 11px;
    top: 11px;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background:grey;
}
.radiobtn label:before {
    background: transparent;
    transition: 0.1s width cubic-bezier(0.075, 0.82, 0.165, 1) 0s, 0.3s height cubic-bezier(0.075, 0.82, 0.165, 2) 0.1s;
    z-index: 2;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: 13px;
    background-position: center;
    width: 0;
    height: 0;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNS4zIDEzLjIiPiAgPHBhdGggZmlsbD0iI2ZmZiIgZD0iTTE0LjcuOGwtLjQtLjRhMS43IDEuNyAwIDAgMC0yLjMuMUw1LjIgOC4yIDMgNi40YTEuNyAxLjcgMCAwIDAtMi4zLjFMLjQgN2ExLjcgMS43IDAgMCAwIC4xIDIuM2wzLjggMy41YTEuNyAxLjcgMCAwIDAgMi40LS4xTDE1IDMuMWExLjcgMS43IDAgMCAwLS4yLTIuM3oiIGRhdGEtbmFtZT0iUGZhZCA0Ii8+PC9zdmc+);
}
input[type="radio"] {
    display: none;
    position: absolute;
    width: 100%;
    appearance: none;
}
input[type="radio"]:checked + label {
    background:grey;
    animation-name: blink;
    animation-duration: 1s;
 border-color: $accentcolor;
  border: 4px solid black;
}
input[type="radio"]:checked + label:after {
 background: $accentcolor;

}
input[type="radio"]:checked + label:before {
    width: 20px;
    height: 20px;
}


        /* Couleurs de fond pour chaque bouton radio */
        #academie + label {
            background-color: #f5edc4;
        }

        #ardeche + label {
            background-color: #d4fca9;
        }

        #drome + label {
            background-color: #bdc999;
        }

        #isere + label {
            background-color: #c8d0e8;
        }

        #savoie + label {
            background-color: #f5b3ae;
        }

        #hautesavoie + label {
            background-color: #e3d9af;
        }

        /* Changer la couleur de fond lorsque l'élément est sélectionné */
        .radiobtn input[type="radio"]:checked + label {
            background-color: #cce5ff;
        }

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
  border: 2px solid rgba(0,0,0,0.2);
  background-clip: padding-box;
  background-color: #E18B76;
}


.LUCarteTitreinfo {
		
  border: 2px solid rgba(0,0,0,0.2);
  background-clip: padding-box;
  background-color: #E18B76;
  color:white;
  text-align:center;
  width: 362px;
}	

#dispositif {
  background-color:#E18B76;
  color:white;
  max-width:362px;
 
}



.leaflet-container {
	font-family: "lato", Arial, Helvetica, sans-serif;
	font-size: 14px;
	/*font-size: 0.75rem;*/
	line-height: 1.5;
}	



/* styles.css */
.tutorial.hidden {
    display: none;
}

/* Style pour le bouton de tutoriel */
.custom-control {
    background-color: #E18B76;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 150px;
    text-align: center;
	top:-77px;
	left:89px;
}

.custom-control:hover {
    background-color: #0056b3;
}


/* #tutorial-button { */
    /* background-color: #007BFF; */
    /* color: white; */
    /* border: none; */
    /* padding: 15px 30px; */
    /* font-size: 16px; */
    /* cursor: pointer; */
    /* border-radius: 5px; */
    /* transition: background-color 0.3s ease; */
/* } */

/* #tutorial-button:hover { */
    /* background-color: #0056b3; */
/* } */




.popup_tuto {
    position: absolute;
    /*background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    z-index: 10000;
	pointer-events: none; /* Permet les clics à travers ce div */
}

/*.arrow_tuto {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ccc;
    z-index: 999;
    top: 30px; 
    left: 50%; 
    transform: translateX(-50%);
}*/

.arrow_tuto {
	position: relative;
	background: black;
	border: 4px solid grey;
}
.arrow_tuto:after, .arrow_tuto:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_tuto:after {
	border-color: rgba(136, 183, 213, 0);
	border-right-color: black;
	border-width: 30px;
	margin-top: -30px;
}
.arrow_tuto:before {
	border-color: rgba(194, 225, 245, 0);
	border-right-color: grey;
	border-width: 36px;
    margin-top: -36px;
}	
	
.logo_tuto {
  color: white;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: bold;
  /*text-transform: uppercase;*/
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.arrow_tuto_right {
	position: relative;
	background: black;
	border: 4px solid grey;
}
.arrow_tuto_right:after, .arrow_tuto_right:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_tuto_right:after {
	border-color: rgba(136, 183, 213, 0);
	border-left-color: black;
	border-width: 30px;
	margin-top: -30px;
}
.arrow_tuto_right:before {
	border-color: rgba(194, 225, 245, 0);
	border-left-color: grey;
	border-width: 36px;
    margin-top: -36px;
}	


.arrow_tuto_top {
	position: relative;
	background: black;
	border: 4px solid grey;
}
.arrow_tuto_top:after, .arrow_tuto_top:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_tuto_top:after {
	border-color: rgba(136, 183, 213, 0);
	border-bottom-color: black;
	border-width: 30px;
	margin-left: -30px;
}
.arrow_tuto_top:before {
	border-color: rgba(194, 225, 245, 0);
	border-bottom-color: grey;
	border-width: 36px;
    margin-left: -36px;
}	

.tuto_cadre_zoom{
	position:absolute;
	border: 4px solid black;
	width:45px;
	height:75px;
	top:5px;
	left:5px;
	/* pointer-events: none; /* Permet les clics à travers ce div */ */
}

.tuto_cadre_ter{
	position:absolute;
	border: 4px solid black;
	width:260px;
	height:330px;
	top:90px;
	left:0px;
	/* pointer-events: none; /* Permet les clics à travers ce div */ */
	z-index:499;
}

.tuto_cadre_fleches{
	position:absolute;
	border: 4px solid black;
	width:20px;
	height:110px;
	top:290px;
	/*left:1555px; pour local*/
	left:893px;/* Pour site de l'académie qui est en fenêtré */
	/* pointer-events: none; /* Permet les clics à travers ce div */ 
}

.tuto_cadre_checkbox{
	position:absolute;
	border: 4px solid black;
	width:20px;
	height:110px;
	top:290px;
	/*left:1575px; pour local*/
	left:913px;/* Pour site de l'académie qui est en fenêtré */
	/* pointer-events: none; /* Permet les clics à travers ce div */ */
}

/*Changement de style pour la barre d'outils à gauche*/
.leaflet-bar a{
	background-color: #E18B76;
	color: white;	
}	
/*Changement de style pour lle menu d'arborescence des couches*/
.leaflet-control-layers-expanded{
	color: white;	
]