/*
					general
*/
body{
	display: flex;
	background-color: #dadada;
	font-family: "Noto Sans Math", "Liberation Mono", sans-serif;
}


.nopresent{
	display: none;
}

#message{
	position: fixed;
	top: 5%;
	right: 0%;
	z-index: 10;
	opacity: 0;
	border-radius: 50px; 
	padding: 25px;
}

h3{
	margin: 0;
}

/*
		input checkbox
*/


input[type=checkbox]{
	-webkit-appearance: none;
	appearance: none;
	width: 0.8em;
	height: 0.8em;
	margin: 0;
	padding: 0;
	border-radius: 15px;
}


/*
					Paneau Droit
*/
#panneauD{
	position: absolute;
	top: 5%;
	right: 5%;
	width: 35%;
}

/*
					Navigation
*/

nav{
	position: fixed;
	left: 0;
	right:0;
	display: flex;
	flex-wrap: nowrap;
	height: 42px;
	border-radius: 35px;
	margin: 20px;
	min-height: 2em; 
	z-index: 10;
}

nav > div{
	display: flex;
}

nav button{
	overflow: hidden;
} 

nav button, nav a{
	font-size: 35px;
	border-radius: 35px;
	border-width: 0;
	height:100%;
	margin: 0;
	word-break: keep-all;
} 


nav a > img, nav a{
	height: 42px;
	width: 42px;
}

/*
 * 			formulaires
*/

/*
 * 		Inputs
*/

input, button, select, textarea{
	border-radius: 35px;
	margin: 5px;
	padding: 5px;
	min-height: 20px;
	min-width: 20px;
}

#forms{
	position: fixed;
	right: 30px;
	min-width: 300px;
	left: 60%;
	top: 80px;
	overflow: auto;
	bottom: 0px;
	border-radius: 36px;
}

.form{
	padding: 2em;
	display: flex;
	flex-direction: column;
	border-radius: 35px;
	margin: 10px 0 ;
}

.FormLine{
	display: flex;
}

.FormLine > button{
	width: 100%
}

.FormGroup{
	margin: 10px;
	padding: 10px;
	border-radius: 35px; 
}

/*
	Add even
*/

#date{
	padding: 2em;
}

/*
	Edit even
*/

#modifier{
	display: none;
}

/*
					frise
*/

#frise{
	border-radius: 35px;
	padding: 2em;
	margin: 5%;
}

#friseEvents{
	list-style: none;
	padding: 0;
}

.friseEventsItem{
	display: flex;
	padding: 10px;
	border-radius: 30px;
}


/*Mobile*/

@media only screen and (max-width: 780px) {
	body{
		flex-direction: column;
	}
	#forms{
		position: static;
	}
	#friseList{
		display: block;
	}
	nav{
		overflow-y: auto;
		overflow-x: clip;
	}
}
