/**
 * graphs.css est inclus dans les fichiers :
 * - layout.php
 */

.mini_map:active {
	cursor: grab;
}

/* Pop-up de la carte */

.ol-popup {
	background-color: white;
	border: 1px solid #cccccc;
	border-radius: 10px;
	bottom: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	left: -50px;
	min-width: 280px;
	padding: 15px;
	position: absolute;
}

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

.ol-popup:after {
	border-top-color: white;
	border-width: 10px;
	left: 48px;
	margin-left: -10px;
}

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

.ol-popup-closer {
	position: absolute;
	right: 8px;
	text-decoration: none;
	top: 2px;
}

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

#data {
	margin: 0;
	overflow-y: auto;
}

#container {
	height: 62%;
	width: 100%;
}

.content {
	margin: 0;
}

#filtres {
	background-color: #80b0dd;
	border-radius: 10px;
	padding: 6px;
}


#filtres select {
	/* height: 22px; */
	margin-left: 5px;
	width: 97.5%;
}

#filtres #valider {
	background-color: #e0fbfc;
	border: transparent;
	border-radius: 5px;
	height: 25px;
	margin-top: 8px;
	width: 65px;
}

#filtres #valider:active {
	background-color: #80bfff;
}

@media (min-width: 1600px) {

	#data {
		height: 79%;
		padding: 5px 7px 0 5px;
	}

	#selecteurs {
		height: 268px;
		width: 100%;
	}

	#filtres h3 {
		font-size: 17px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	#filtres p {
		font-size: 15px;
		font-weight: bold;
		margin: 5px 0 0 0;
	}

	#message_foi_selection {
		font-size: 15px;
	}

	.informations_graphique h5 {
		font-size: 16px;
	}

	.p_informations_graphique {
		font-size: 14px;
	}

	#telecharger_graphique {
		background-color: #00799c;
		border-radius: 5px;
		border-style: none;
		border-width: none;
		color: white;
		cursor: pointer;
		height: 32px;
		width: 110px;
	}

	#telecharger_graphique p {
		font-size: 15px;
		margin: 0;
		padding: 4px;
	}

	/* Bouton de téléchargement lorsque le téléchargement est impossible */

	.telechargement_impossible {
		background-color: #212121 !important;
		/* !important pour que ce soit pris en compte après le jQuery.addClass */
		cursor: not-allowed !important;
		position: relative;
	}

	.telechargement_impossible .ti_bulle_txt {
		background-color: #00799c;
		border-color: #00799c;
		border-radius: 5px;
		color: #ffffff;
		font-size: 15px;
		left: 50%;
		margin-left: -60px;
		padding: 4px 0;
		position: absolute;
		text-align: center;
		top: 115%;
		visibility: hidden;
		width: 120px;
		z-index: 1;
	}

	.telechargement_impossible .ti_bulle_txt::after {
		border-color: transparent transparent black transparent;
		border-style: solid;
		border-width: 5px;
		bottom: 100%;
		content: "";
		left: 50%;
		margin-left: -5px;
		position: absolute;
	}

	.telechargement_impossible:hover .ti_bulle_txt {
		visibility: visible;
	}
}

@media (min-width: 1350px) and (max-width: 1600px) {

	#data {
		height: 79%;
		padding: 5px 7px 0 5px;
	}

	#selecteurs {
		height: 250px;
		width: 100%;
	}

	#filtres h3 {
		font-size: 15px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	#filtres p {
		font-size: 13px;
		font-weight: bold;
		margin: 5px 0 0 0;
	}

	#message_foi_selection {
		font-size: 13px;
	}

	.informations_graphique h5 {
		font-size: 14px;
	}

	.p_informations_graphique {
		font-size: 12px;
	}

	#telecharger_graphique {
		background-color: #00799c;
		border-radius: 5px;
		border-style: none;
		border-width: none;
		color: white;
		cursor: pointer;
		height: 30px;
		width: 95px;
	}

	#telecharger_graphique p {
		font-size: 12px;
		margin: 0;
		padding: 4px;
	}

	/* Bouton de téléchargement lorsque le téléchargement est impossible */

	.telechargement_impossible {
		background-color: #212121 !important;
		/* !important pour que ce soit pris en compte après le jQuery.addClass */
		cursor: not-allowed !important;
		position: relative;
	}

	.telechargement_impossible .ti_bulle_txt {
		background-color: #00799c;
		border-color: #00799c;
		border-radius: 5px;
		color: #ffffff;
		font-size: 12px;
		left: 50%;
		margin-left: -60px;
		padding: 4px 0;
		position: absolute;
		text-align: center;
		top: 115%;
		visibility: hidden;
		width: 100px;
		z-index: 1;
	}

	.telechargement_impossible .ti_bulle_txt::after {
		border-color: transparent transparent black transparent;
		border-style: solid;
		border-width: 5px;
		bottom: 100%;
		content: "";
		left: 50%;
		margin-left: -5px;
		position: absolute;
	}

	.telechargement_impossible:hover .ti_bulle_txt {
		visibility: visible;
	}
}

@media (min-width: 1000px) and (max-width: 1350px) {

	#data {
		height: 79%;
		margin: 10px 5px 0 10px;
		padding: 5px 7px 0 5px;
	}

	#selecteurs {
		height: 250px;
		width: 100%;
	}

	#filtres h3 {
		font-size: 13px;
		font-weight: bold;
		margin-bottom: 5px;
	}

	#filtres p {
		font-size: 11px;
		font-weight: bold;
		margin: 8px 0 0 0;
	}

	#message_foi_selection {
		font-size: 11px;
	}

	.informations_graphique h5 {
		font-size: 13px;
	}

	.p_informations_graphique {
		font-size: 10px;
	}

	#telecharger_graphique {
		background-color: #00799c;
		border-radius: 5px;
		border-style: none;
		border-width: none;
		color: white;
		cursor: pointer;
		height: 25px;
		width: 85px;
	}

	#telecharger_graphique p {
		font-size: 10px;
		margin: 0;
		padding: 4px;
	}

	/* Bouton de téléchargement lorsque le téléchargement est impossible */

	.telechargement_impossible {
		background-color: #212121 !important;
		/* !important pour que ce soit pris en compte après le jQuery.addClass */
		cursor: not-allowed !important;
		position: relative;
	}

	.telechargement_impossible .ti_bulle_txt {
		background-color: #00799c;
		border-color: #00799c;
		border-radius: 5px;
		color: #ffffff;
		font-size: 10px;
		left: 50%;
		margin-left: -60px;
		padding: 4px 0;
		position: absolute;
		text-align: center;
		top: 115%;
		visibility: hidden;
		width: 90px;
		z-index: 1;
	}

	.telechargement_impossible .ti_bulle_txt::after {
		border-color: transparent transparent black transparent;
		border-style: solid;
		border-width: 5px;
		bottom: 100%;
		content: "";
		left: 50%;
		margin-left: -5px;
		position: absolute;
	}

	.telechargement_impossible:hover .ti_bulle_txt {
		visibility: visible;
	}
}

@media (max-width: 1000px) {

	#data {
		height: 79%;
		margin: 18px 5px 0 18px;
		padding: 5px 7px 0 5px;
	}

	#selecteurs {
		height: 250px;
		width: 100%;
	}

	#filtres h3 {
		font-size: 11px;
		font-weight: bold;
		margin-bottom: 8px;
	}

	#filtres p {
		font-size: 9px;
		font-weight: bold;
		margin: 10px 0 0 0;
	}

	#message_foi_selection {
		font-size: 9px;
	}

	.informations_graphique h5 {
		font-size: 11px;
	}

	.p_informations_graphique {
		font-size: 8px;
	}

	#telecharger_graphique {
		background-color: #00799c;
		border-radius: 5px;
		border-style: none;
		border-width: none;
		color: white;
		cursor: pointer;
		height: 22px;
		width: 75px;
	}

	#telecharger_graphique p {
		font-size: 8px;
		margin: 0;
		padding: 4px;
	}

	#valider {
		font-size: 14px;
	}

	/* Bouton de téléchargement lorsque le téléchargement est impossible */

	.telechargement_impossible {
		background-color: #212121 !important;
		/* !important pour que ce soit pris en compte après le jQuery.addClass */
		cursor: not-allowed !important;
		position: relative;
	}

	.telechargement_impossible .ti_bulle_txt {
		background-color: #00799c;
		border-color: #00799c;
		border-radius: 5px;
		color: #ffffff;
		font-size: 8px;
		left: 50%;
		margin-left: -60px;
		padding: 4px 0;
		position: absolute;
		text-align: center;
		top: 115%;
		visibility: hidden;
		width: 80px;
		z-index: 1;
	}

	.telechargement_impossible .ti_bulle_txt::after {
		border-color: transparent transparent black transparent;
		border-style: solid;
		border-width: 5px;
		bottom: 100%;
		content: "";
		left: 50%;
		margin-left: -5px;
		position: absolute;
	}

	.telechargement_impossible:hover .ti_bulle_txt {
		visibility: visible;
	}
}