@font-face {
	font-family: 'Advert';
	src: url('font/Advert Rough Four Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Stone';
	src: url('font/ITC Stone Sans Std Regular.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Stone Semibold';
	src: url('font/ITC Stone Sans Std Semibold.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'StoneIt';
	src: url('font/ITC Stone Sans Std Medium Italic.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'DINPro-CondBold';
	src: url('font/DINPro-CondBold.otf') format('opentype');
	font-style: normal;
}

#modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	background: white;
	padding: 20px;
	border-radius: 12px;
	max-width: 80%;
	max-height: 80%;
	overflow: auto;
	z-index: 1000;
	opacity: 0;
	transition: all 0.3s ease-out;
	height: 80%;
	width: 80%;
	background: transparent;
	overflow: visible;
}


#modal.show {
	display: flex;
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

#modalOverlay {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(127,76,58,0.7);
	z-index: 999;
	opacity: 0;
	transition: opacity 0.3s ease-out;
}

#modalOverlay.show {
	display: block;
	opacity: 1;
}

#modalContent {
	width: 100%;
	height: 100%;
	position: relative;
	float: left;
}

.close {
	position: absolute;
	cursor: pointer;
	top: -1px;
	right: -2px;
	font-size: 45px;
	color: #3C3935;
	z-index: 999999;
	background: white;
	border-radius: 150px;
	height: 50px;
	width: 50px;
	line-height: 50px;
	text-align: center !important;
}

#modal, #modalOverlay, .close, .leaflet-control-zoom, #legend-fixed
{
	touch-action: none;
}


#modal * {
	box-sizing: border-box;
}

#left {
	float: left;
	width: 40%;
	height: 100% !important;
	position: relative;
	padding: 10px 50px;
	background: #D7D2CB;
	border-radius: 20px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}



h2 {
	font-family: Advert;
	color: #3C3935;
	font-size: 31px;
	margin-bottom: 15px;
}

.description {
	font-family: Stone Semibold;
	font-size: 16px;
	color: #3C3935;
	z-index: 999999;
	position: relative;
}

.lang {
	font-size: 12px;
	color: gray;
}

.description.lang {
	font-size: 15px;
	color: gray;
	font-family: Stone;
}

.description.lang.es {
	font-family: StoneIt;
}

/* .description.lang.en, .description.lang.es { */
	/* background: rgba(0,0,0,0.1) !important; */
	/* padding: 10px 20px; */
	/* border-radius: 10px; */
	/* margin-left: 10px; */
	/* font-size: 14px; */
/* } */

.commune, .lieu_dit {
	font-family: StoneIt;
	color: #3C3935;
	background: rgba(0,0,0,0.05);
	padding: 10px 15px;
	border-radius: 0 10px 10px 0;
	padding-left: 50px;
	display: inline-block !important;
	margin-bottom: 0;
}

.commune_et_lieu_dit {
	position: absolute;
	bottom: 30px;
	border-radius: 0 15px 15px 0;
	padding: 0px 10px;
	left: -10px;
	font-size: 12px;
	max-width: 1000px !important;
}

.lieu_dit {
	/* width: 280px; */
}

.illustration {
	width: 300px !important;
	text-align: center;
	position: absolute;
	bottom: 10px !important;
	z-index: 111111;
	right: 0;
}

.illustration img {
	width: 62% !important;
}

.typologie {
	width: 100% !important;
	display: block;
	font-size: 12px;
	font-family: StoneIt;
	color: #3C3935;
}

.typologie_en, .typologie_es {
	color: #777777;
}

#right {
	float: right;
	width: 58%;
	overflow: auto;
	height: 100% !important;
	padding: 30px 45px 0 50px;
	position: relative;
	background: #D7D2CB;
	border-radius: 20px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
	text-align: center;
}

#right img {
	max-width: 100% !important;
	margin-bottom: 20px;
	border-radius: 15px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
	width: auto;
}

#right .scroll img {
	position: fixed;
	right: -14px;
	bottom: 10px;
	width: 60px !important;
	box-shadow: none !important;
}
	
.leaflet-control-zoom a {
    width: 50px !important;        /* largeur */
    height: 50px !important;       /* hauteur */
    line-height: 50px !important;  /* centrer le texte / icône verticalement */
    font-size: 30px !important;    /* taille du "+" et "-" */
}

.leaflet-tooltip {
	font-size: 23px;
	margin-top: -24px;
	margin-left: 380px;
	color: #3D3935;
	border-radius: 50px;
	padding: 0px 20px;
	/* border: none; */
	font-family: DINPro-CondBold;
	background: none;
	border: none !important;
	box-shadow: none;
	font-weight: bold;
	width: 700px;
	white-space: normal;
	line-height: 25px;
}

.fade-tooltip {
  opacity: 0;
  transition: opacity 0.5s ease; /* fondu en 0.5s */
}

.leaflet-tooltip:before {
	display: none;
}

.info.legend {
	background: rgba(0,0,0,0.4);
	margin-left: 0;
	margin-bottom: 0;
	padding: 20px;
	color: white;
	font-family: StoneIt;
	font-size: 20px;
}

.info.legend h4 {
	margin: 0 !important;
}

#legend-fixed {
	position: absolute;
	bottom: 220px;
	right: 0;
	display: flex;
	gap: 10px;
	background: rgba(255,255,255,0.4);
	padding: 5px 20px 5px 20px;
	border-radius: 8px 0px 1px 8px;
	box-shadow: 0 0 6px rgba(0,0,0,0.3);
	z-index: 99999;
	flex-direction: column;
}

#legend-fixed img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.credits {
	position: absolute;
	right: 70px;
	font-size: 11px;
	font-family: StoneIt;
	color: #DDDDDD;
	bottom: -30px;
}

.subtitle {
	font-family: Stone;
	margin: 0;
	font-size: 13px;
	color: #3C3935;
}

.subtitle.fr {
	font-family: Stone Semibold;
}
.subtitle.en {
	font-family: Stone;
	color: gray;
}
.subtitle.es {
	font-family: StoneIt;
	color: gray;
}