body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	font-size: 0.9rem;
}

#tableau {
	-moz-user-select: none; /* Firefox */
	-webkit-user-select: none; /* Chrome, Safari, Opéra depuis la version 15 */
	-ms-user-select: none; /* Internet explorer depuis la version 10 et Edge */
	user-select: none; /* Propriété standard */
	 border: solid 0.5px;
	 border-bottom-left-radius: 2px;
	 border-bottom-right-radius: 2px;
	 margin: 0;
}

.dataTables_scrollHeadInner {
	padding-left: 0px;
}

table > thead > tr > th:nth-child(n) {
	text-align: center;
}

table > thead > tr > th:nth-child(3) {
	text-align: left;
}

#tableau.display tbody tr:nth-child(odd) td {
	background-color: #eaeaea66  !important;
}

#tableau td:first-child, #tableau td:nth-child(2) {
	display: none;
}

#tableau tbody tr td {
	text-align: center;
}

#tableau tbody tr td:nth-child(3) {
	text-align: left;
}

#tableau thead td {
	text-align: center;
}

.premiere-case, .deuxieme-case {
	display: none;
	visibility: hidden;
}

.titre {
	width: 100.1%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #5c5b5b;
	font-weight: bold;
	color: white;
	text-align: center;
	padding: 2px;
}

.info {
	padding: 10px;
	background-color: #b9b9b9;
	border-top-right-radius: 2px;
	border-top-left-radius: 2px;
	width: 100%;
}

.titre-tableau {
	font-weight: bold;
}

p {
	margin: 0;
}
table.dataTable tbody th, table.dataTable tbody td {
	padding: 4px 10px;
}

table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before {
	margin-top: -8px;
}

.bouton {
	width: 100%;
	margin-top: 5px;
	background-color: #517eb4;
	color: white;
	height: 40px;
	border: solid 0.5px white;
	word-break: break-all;
	transition: all ease 0.5s;
}

.btn {
	border-radius: 0px;
	font-size: 0.9rem;
}

.bouton:hover {
	background-color: #345c8b;
	color: white;
	border: 0;
}

.bouton:active {
	border: 0;
}

.bouton:link {
	border: 0;
}

.conteneur-milieu {
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	border: solid 0.5px grey;
	border-radius: 5px;
	margin: 5px;
}

.liste-boutons {
	padding: 10px 0 10px 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	height: 250px
}

.droite-tableau {
	width: 20vw;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}


.duree {
	margin-top: 30px;
	height: auto;
	width: 100%;
	border: solid 0.5px grey;
	border-radius: 5px;
	position: relative;
}

.contenu-duree {
	margin-top: 5px;
	padding: 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	height: 100%;
}

.duree-affichage {
	width: 100%;
}

#formulaire-ajout {
	margin: 15px 0 15px 0;
}

#conteneur-tableau {
	display: flex;
	flex-direction: column;
	margin: 10px;
	width: 70vw;
}

#choix-boitier {
	width: 100%;
	background-color: lightgrey;
	padding: 10px;
	justify-content: space-around;
	flex-wrap: wrap;
	display: flex;
	align-items: center;
}

.conteneur-bas {
	display: flex;
	justify-content: space-between;
	margin: 5px;
	padding: 5px 0 5px 5px;
}

.apercu-image {
	width: 35vw;
	max-height: 20vh;
}

#conteneur-image {
	width: 295px;
	height: 165px;
	background-color: black;
	margin: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#image {
	max-width: 295px;
	max-height: 165px;
}

.parametres {
	margin-top: 20px;
	width: 60vw;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.copie {
	width: 100%;
	border: solid 0.5px grey;
	border-radius: 5px;
	position: relative;
}

.titres {
	position: absolute;
	top: -14px;
	left: 10px;
	padding: 0 10px;
	background-color: white;
}

.contenu-copie {
	padding: 15px 5.7% 15px 15px;
	display: flex;
	height: 100%;
	justify-content: space-between;
	align-items: center;
}

.contenu-copie input {
	width: 20vw;
}

.valider {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 5% 2% 2% 2px;
}

#espace-admin {
	margin-right: 10px;
}

.valider input {
	width: 20vw;
	height: 50px;
}

#connexion {
	display: flex;
	flex-direction: column;
	padding: 0% 2% 0 2%;
	width: 400px;
	height: 350px;
	background-color: white;
	border-radius: 5px;
	justify-content: space-evenly;
}

#connexion form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
}

.div-identifiant {
	display: flex;
	flex-direction: column;
}

.div-password {
	display: flex;
	flex-direction: column;
}

#se-connecter {
	margin-top: 15px;
}

.div-connexion {
	top: 0;
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100vw;
	z-index: 0;
	background-color: #f0f0f0;
}

#deconnexion {
	margin-right: 3.6%;
	width: 20vw;
}

#retour {
	margin: 15px;
	color: white;
	width: 200px;
}

.duree-par-defaut {
	margin: 2% 1% 0 1%;
	padding: 2%;
	border: solid 0.5px grey;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1rem;
}

#duree-affichage-par-defaut {
	width: 90px;
	margin: 0 10px 0 10px;
}

.boitier {
	margin-right: 5px;
}

/******************************* DEBUT : MODAL **************************************/

.conteneur-image {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 5px;
}

.image-modal {
	display: flex;
	justify-content: space-around;
	align-items: center;
	font-weight: bold;
}

#image-modal {
	max-width: 295px;
	max-height: 165px;
}

.periode-modal {
	margin: 20px 5px 5px 5px;
	padding: 25px 15px 15px 15px;
	border: solid 0.5px grey;
	border-radius: 5px;
	position: relative;
}

.choix-periode {
	border: solid 0.5px lightgrey;
	box-shadow: 3px 3px 5px lightgrey;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

.choix-periode p {
	margin-top: 25px;
	font-style: italic;
}

.choix-dates {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.choix-dates label {
	margin: 0;
}

.debut {
	display: flex;
	width: 45%;  
	justify-content: space-around;
	align-items: center;
}

.fin {
	display: flex;
	width: 45%;
	justify-content: space-around;
	align-items: center;
}

#date-debut {
	width: 70%;
}

#date-fin {
	width: 70%;
}

.jours-modal {
	position: relative;
	border: solid 0.5px grey;
	border-radius: 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 5px 5px 5px;
	padding: 25px 15px 15px 15px;
}

.semaine {
	width: 70%;
	display: flex;
	flex-wrap: wrap;
	border: solid 0.5px lightgrey;
	box-shadow: 3px 3px 5px lightgrey;
	padding: 10px;
}

.jour {
	width: 33%;
	align-self: center;
}

.duree-modal {
	position: relative;
	border: solid 0.5px grey;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	margin: 20px 5px 5px 5px;
	padding: 25px 15px 15px 15px;
}

.choix-duree {
	display: flex;
	align-items: center;
	padding: 10px;
	border: solid 0.5px lightgrey;
	box-shadow: 3px 3px 5px lightgrey;
}

#secondes-affichage {
	width: 90px;
	margin: 0 5px 0 5px;
}

.modal-footer {
	display: flex;
}

.modal-footer button {
	width: 25%;
}

#valider-duree-par-defaut, #valider-copie {
	margin-left: 5px;
}

#boitier-actuel {
	font-weight: bold;
}

.modal-copie-parametrage {
	font-size: 1rem;
}

#parametre-copie {
	margin: 20px 5px 5px 5px;
	padding: 25px 15px 15px 15px;
	border: solid 0.5px grey;
	border-radius: 5px;
}

#boitiers-copie {
	margin-top: 10px;
}

#croix {
	-moz-user-select: none; /* Firefox */
	-webkit-user-select: none; /* Chrome, Safari, Opéra depuis la version 15 */
	-ms-user-select: none; /* Internet explorer depuis la version 10 et Edge */
	user-select: none; /* Propriété standard */
	cursor: pointer;
	position: absolute;
	top: 4px;
	left: 97%;
	height: 15px;
	width: auto;
}

#message-confirmation {
	padding: 25px 15px 0px 15px;
}

#message-confirmation p {
	font-size: 1rem;
}

#valider-suppression {
	margin-left: 5px;
}

#erreur-duree-defaut {
	margin-left: 10px;
}

#toutes-les-images {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 25px;
}

.div-image {
	margin: 25px;
	width: 295px;
	height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.dossier-img {
	margin-left: 4px;
}

.image-a-ajouter {
	max-width: 100%;
	max-height: 100%;
	margin: 10px;
}

.div-tv {
	width: 295px;
	height: 165px;
	background-color: black;
	display: flex;
	justify-content: center;
	align-items: center;
}

#valider-ajout-fichier {
	margin-left: 10px;
}

/******************************* FIN : MODAL ****************************************/

@media (max-width: 750px) {

	#conteneur-tableau {
		width: 100%;
		margin: 0;
		justify-content: center;
		align-items: center;
	}

	#tableau {
		margin: 0;
		width: 99% !important;
	}

	.info {
		width: 99%;
	}

	#choix-boitier {
		min-height: 40px;
		padding: 10px;
	}

	.liste-boutons {
		margin-top: 0;
		width: 100vw;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.btn {
		width: 46vw;
	}
}