@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

html{
	top: 0;
	font-family: 'Lato', sans-serif;
	background-color: #EEF0F2;
}

#main{
	top: 0;
	width: 90vw;
	height: 100vh;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

header{
	height: 60px;
	background-color: #0000D3;
	align-items: center;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

header a{
	font-size: 1.4rem;
	color: white;
	text-decoration: none;
	padding-left: 3rem;
	padding-right: 3rem;
}

nav{

}

#container{
	height: 100vh;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	background-color: #FFF;
}

aside{
	width: 15rem;
}

div.menu{
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

input.menu, input.sousmenu {
	width: 15rem;
    display: none;
}

label.menu{
	width: 15rem;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex: 1;
	list-style: none;
	text-align: left;
	background-color: #AAE;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-top: 10px;
}

label.sousmenu{
    cursor: pointer;
	width: 15rem;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex: 1;
	list-style: none;
	text-align: left;
	padding-left: 40px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-top: 10px;
	border-bottom: 1px dashed #CCC;
	background-color: #EEF;
}

label.sousmenu:hover, div.item:hover {
	font-weight: 700;
}

.selected{
	color: #F00;
}

input.sousmenu + label.sousmenu + div.items {
    display: none;
}

input.sousmenu:checked + label.sousmenu + div.items {
    display: block;
}

div.item{
    cursor: pointer;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex: 1;
	list-style: none;
	text-align: left;
	padding-left: 60px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-top: 10px;
	background-color: #FFF;
}

#systeme{
	display: flex;
	flex-direction: column;
	background-color: #fff;
}

section{
	margin-left: 1rem;
	margin-right: 1rem;
	margin-top: 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: white;
	border: 1.5px solid black;
	border-radius: 0.5rem;
}


#filtres{
	display: flex;
	flex-direction: row;
	margin-left: 1rem;
	margin-right: 1rem;
	margin-top: 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	background-color: #EEF;
	border: 1px solid #999;
}

.filtre{
	display: flex;
	flex-direction: row;
	text-align: center;
	vertical-align: middle;
	margin-right: 0.5rem;
	font-size: 0.7rem;
	font-weight: 500;
	padding: 0.3rem;
	border: 1px solid #666;
	border-radius: 0.3rem;
	background-color: #FFF;
}

.label{
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #666;
	font-weight: 600;
	padding-right: 0.5rem;
	padding-left: 0.5rem;
}

.suppr{
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 0.8rem;
	height: 0.8rem;
	background-color: #FFF;
	color: #F66;
	font-weight: 600;
	border: 1px solid #F66;
	border-radius: 1rem;
}

.suppr:hover{
    cursor: pointer;
	background-color: #F66;
	color: #FFF;
}

section.config{
	display: flex;
	flex-direction: row;
}

section aside {
	width: 10rem;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

section aside img{
	max-width: 9rem;
	margin-left: auto;
	margin-right: auto;
}

section article {
	display: flex;
	flex-direction: column;
	flex-grow: 2;
	flex-shrink: 1;
}

section article header{
	background-color: white;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	height: 2rem;
}

h1{
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	padding: 0;
}

h2{
	font-size: 0.8rem;
	font-weight: 500;
	margin: 0;
	padding: 0;
}

section article header h1{
	font-size: 1.2rem;
	font-weight: 600;
}

section article header h2{
	margin-right: 1rem;
}

.description{
	margin-bottom: 0.5rem;
	font-size: 1rem;
	font-weight: 400;
}

.publications{
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	font-weight: 400;
	color: #66F;
}

.annee{
	font-weight: 600;
}

.titre{
	font-style: italic;
	font-weight: 600;
}

.auteurs{
	display: flex;
	flex-direction: row;
}

.auteur{
	margin-right: 1rem;
}

.ressources{
	display: flex;
	flex-direction: row;
	margin-bottom: 0.5rem;
}

.ressource{
	margin-right: 1rem;
	font-size: 0.9rem;
	font-weight: 400;
	color: #C66;
}

.ressource a{
	text-decoration: none;
	font-weight: 600;
	font-style: normal;
	color: #F33;
}

.criteres{
	display: flex;
	flex-direction: row;
	margin-bottom: 0.2rem;
}

.critere{
	margin-right: 0.5rem;
	font-size: 0.7rem;
	font-weight: 500;
	padding: 0.3rem;
	border: 1px solid #666;
	border-radius: 0.3rem;
}

.critere .nom{
	font-weight: 600;
}

/***********************************************************************************/
/******                          Partie admin                                 ******/
/***********************************************************************************/

section.formulaire{
	display: flex;
	flex-direction: column;
}

section.formulaire h1{
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	padding-bottom: 2rem;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
}

article.champ{
	margin-bottom: 0.4rem;
	margin-top: 0.4rem;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	flex-grow: 1;
}

label{
	height: 1.5rem;
	margin-right: 1rem;
	width: 20%;
	flex-grow: 0;
	text-align: right;
}

input[type="text"], input[type="file"]{
	height: 1.5rem;
	flex-grow: 1;
}

select{
	height: 2rem;
	flex-grow: 1;
}

textarea{
	height: 8rem;
	flex-grow: 1;
}