@charset "utf-8";



/*******************************
 * Définitions générales
********************************/
body {
	font-family: arial;
}

a {
	color: black;
	text-decoration: none;
}


/*******************************
 * Le header
********************************/
.bandeauHaut {
	position: relative;
	background-color: #c1e2eb;
	width: 100%;
	height: 50px;
	display: flex;
	justify-content: space-between;
	
}

#heureCourante {
	display: flex;
	justify-content: flex-end;
	padding: 10px;
}

.titreGeneral {
	display:flex;
	
	height: 100%;
	align-items: center;
	justify-content: center;
	font-size: 2em;
	
}

nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	height:100%;
	font-size: 1.5em;
}

nav ul {
	display: flex;
	justify-content: space-around;
	width:100%;	
}

nav ul li {
	display: flex;
	justify-content: space-around;	
}

nav ul li a {
	text-decoration: none;
	color: black;
	padding: 3px;
}

nav ul li a:hover {
	font-style: italic;
}


/*******************************
 * Le message
********************************/
#popup_message {
	position: fixed;
	z-index: 100;
	border: solid 1px red;
	margin:auto;
	width: 80%;
	left: 10%;
	top: 10%;
	background-color: white;
	border: solid #c1e2eb 2px;
	border-radius: 10px;
	min-height: 100px;
	min-width: 300px;
	opacity: 1;
	
	display: flex;
	justify-content: center;
	align-items: center;

	animation-name : slidein;
	animation-duration : 2s;
	animation-iteration-count: 1;
	animation-delay: 3s;
	animation-fill-mode: forwards;

}

.divmessage {
	width:100%;
	height:100%;
	display: flex;
	justify-content: center;
	align-items: center;
	

	
}

@keyframes slidein {
	0% {
		opacity:1;
	}
  
	100% {
  		opacity:0;
  		top: -100px;
	}
}/**/

/*******************************
 * Le calendrier de la semaine
********************************/

.calendrierSemaine {
	display:flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
}

.syncCalendrier {
	display:flex;
	justify-content: space-around;
	padding: 20px;
}

.jour {
	width: 10%;
	min-height: 200px;
	margin: 10px 5px 0px 5px;
	min-width: 100px;
}

.jourCourant {
	font-weight: bold;
}

.jourEntete {
	border-radius: 10px 10px 0 0;
	border: solid #c1e2eb 2px;
	background-color: #c1e2eb;
	display: flex;
	justify-content: center;
	padding: 3px;
}

.jourContenu {
	border-radius: 0 0 10px 10px;
	border: solid #c1e2eb 2px;
}


.heure {
	padding: 2px;
	display: flex;
	height: 20px;
	justify-content: space-between;
	align-items: center;
	overflow: auto;
	border-top: dashed 1px #c1e2eb;
}

.rendezVous {
	background-color: #ddeff4
}

.rdvCancelled {
	text-decoration: line-through;
}

.heure:hover {
	background-color: #c6dfec;
	font-style: italic;
}

.airBnb {
	background-color: #f4e2dd
}

.airBnb:hover {
	background-color: #e3b3a6
}

.fade {
	opacity: 0.5;
}

.now {
	border: solid 1px #c1e2eb;
}

/*******************************
 * Mise en forme générale d'un formulaire principal
********************************/
.bigForm {
	border: solid 2px #c1e2eb;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	background-color: white;
	width: 30%;
}

.champForm input,
.champForm textarea
 {
	width:70%;
}

.bigForm > input{
	margin: 5px;
	padding: 5px;
}

.largBigFormButton {
	width: 100%;
	
}

.champForm {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 2px;
}


input[type=submit],
input[type=button] {
	background-color: #c1e2eb;
	color: black;
	text-decoration: none;
	border-radius: 5px;
	padding: 5px 8px 5px 8px;
	margin-top: 5px;
	border: 0;
	cursor: pointer;
}


/*******************************
 * Eleve
********************************/
#listeElements {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

#SectionFormulaireModifPrincipal,
#SectionformulaireModifLien,
#sectionMessagePopup 
{
	display: flex;
	align-items: center;
	justify-content: space-around;
}

#sectionAffichagePrincipal {
	display: flex;
	justify-content: space-around;
}

.boite {
	display: flex;
	width: 100%;
	justify-content: space-between;
	flex-direction: column;
	padding: 10px;
	margin: 10px;
	border: solid 2px #c1e2eb;
	border-radius: 5px;
}

.boiteInformation {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
}

.boiteAction {
	width: 100%;
}

.boiteAction > input {
	width: 100%;
}

.boiteInformation > * {
	margin-bottom: 4px;
}

 .titreBoite {
	margin-bottom: 10px;
}

.titrePrincipal {
	font-size: larger;
	font-weight: bold;	
}

.italic,
.parentheseBoite {
	font-style: italic;
}

.lienEleve {
	display: flex;
	flex-direction: column;
	justify-content:flex-start;
	border: solid 2px #c1e2eb;
	border-radius: 10px;
	margin-bottom: 5px;
	margin-top: 5px;
	padding: 5px;
}

.endLineButton {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

.eleveInactif {
	display: none;
}

.listeAction {
	display: flex;
	justify-content: space-around;
	width: 100%;
}

/*******************************
 * Affichage et masquage des popups. 
********************************/
#messagePopup {
	border: solid 2px #c1e2eb;
	border-radius: 10px;
	padding: 10px;
	margin: 10px;
	background-color: white;
}

.hiddenPopup {
	position: fixed;
	margin: auto;
	opacity: 0;
	top: -70%;
}

.hideIt {
	animation-name: hideDiv;
	animation-duration: 0.5s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;	
}

.showIt {
	animation-name: deployDiv;
	animation-duration: 0.5s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;	
}

@keyframes deployDiv {
	from {
		top: -50%; 
		opacity: 0; 
	}
	to {
		top: 20%;
		opacity: 1;
	}
}

@keyframes hideDiv {
	from {
		top: 20%; 
		opacity: 1; 
	}
	to { 
		top: -70%;
		opacity: 0; 
	}
}


/*******************************
 * Classes pour gérer le drag & drop 
********************************/
.dropper {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: solid 2px #c1e2eb;
	border-radius: 10px;
	padding: 10px;
	background-color: white;
	height: 100%; 
	bottom: Opx;
}

.drop_hover {
    box-shadow: 0 0 30px rgba(166, 214, 227, 0.8) inset;
}

.draggable {
	display: inline-block;
	border: solid 2px #c1e2eb;
	border-radius: 5px;
	padding: 5px;
	margin-top: 5px;
	margin-bottom: 5px;	
    text-align: center;
    background-color: white;
    cursor: move;
    -moz-user-select: none;
    user-select: none;
}
.draggable:hover {
	background-color: #c1e2eb;
}

/*******************************
 * Divers
********************************/
.labelSolo {
	display: inline-block;
	border: solid 2px #c1e2eb;
	border-radius: 10px;
	padding: 5px;
	margin: 5px;	
}

.labelSolo:hover {
	background-color: #c1e2eb;
	font-style: italic;
}

.labelSoloSelected {
	background-color: #c1e2eb;
	font-style: italic;
}

.labelWarning {
	background-color: #f4e2dd;
	font-style: italic;
}

.lienoc {
	background-color: #c1e2eb;
	border-radius: 10px;
	font-style: italic;
	padding: 0 7px 0 5px;
}

.buttonStyle,
.buttonStyleInline {
	background-color: #c1e2eb;
	border: solid 2px #c1e2eb;
	border-radius: 5px;
	padding: 5px;
	font-size: smaller;
	display:flex;
	justify-content: center;
}

.buttonStyleInline {
	padding: 1px;
	margin: 1px;
}

.buttonsDiv {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding-top: 8px;
}

strong {
	font-weight: bold;
}

.separation {
	margin-top: 5px;
	margin-bottom: 5px;
}