/**********************************************************************************/
/* Couleurs */
.hero-foot {
	background-color: #FFEEBB;
	font-size:75%;
}

.hero-head {
	background-color: #FFEEBB;
}

.custom-hero {
	padding: 1rem;
	flex-direction: column;
}

.custom-hero .container {
	height: 100%;
	width: 100%;
	max-width: none;
}

.hero-link {
	text-decoration:underline !important;
	color: #485fc7 !important;
}

.hero {
}


/**********************************************************************************/
/* boutons "responsive"*/
@media screen and (max-width: 1280px) {
	.button.responsive span:first-of-type {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 1em !important;
	}
	.button.responsive span:last-of-type {
		visibility: collapse;
		display: none;
		width: 0;
	}
	.th.responsive span:first-of-type {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 1em !important;
	}
	.th.responsive span:last-of-type {
		visibility: collapse;
		display: none;
		width: 0;
	}
}
@media screen and (max-width: 1024px) {
	.navbar-item.responsive span:first-of-type {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 1em !important;
	}
	.navbar-item.responsive span:last-of-type {
		visibility: collapse;
		display: none;
		width: 0;
	}
}

.fa-stack {
	width: 1em;
}



/**********************************************************************************/
/* Entête de tableaux verticaux */
thead tr th div.vertical {
    writing-mode: vertical-rl;
    transform: rotate(-180deg);
}

thead tr th.vertical-exo {
    width: 1.5em;
	vertical-align: bottom !important;
}

thead tr th {
	vertical-align: bottom;
}

.tags-input,
#filters {
	z-index: 2 !important;
}

.sel-categories,.sel-exercices {
	max-height: 10em;
	overflow-y: scroll;
	width: 100%;	
}
/**********************************************************************************/
/* Icones */
.double-icone {
	position: relative;
}

.double-icone i+i {
	position: absolute;
	right: -20%;
	top: -20%;
	color: #FF5656;
	font-size: 0.8em;
}

/*************************************************************/
/*  Les niveaux atteints  */
.progress {
	display: inline;
	margin: 2px 5px !important;
}

.niveaux {
	vertical-align: center;
}
.moyenne {
	position: absolute;
	/*right: 20px;*/
}

/*************************************************************/
/*  Tables  */
.table.is-hoverable tbody tr:not(.is-selected):hover {
	/* pour foncer les lignes en gardant leur couleur de fond */
	background-image: linear-gradient(rgb(0 0 0/5%) 0 0);
}

.table th, 
.table td {
	vertical-align: middle;
}

.th_sort.fa-stack {
	width: 1em;
}


.dropdown-menu {
	font-weight: initial;
	text-align: initial;
}




pre {
	line-height: normal !important;
}


#notifications {
	position: absolute;
	display: flex;
	flex-direction: column-reverse;
	bottom: 40px; 
	right: 40px;
	width: 300px;
	height:100px;
	z-index: 100;
}

#notifications:empty {
	height: 0;
}

#notifications .notification {
	margin-bottom: 0.5rem !important;
}


/*************************************************************/
/*  Affichage "simple" des éléments  */
.aff-simple {
	padding: 0;
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #aaa;
	border-radius: 4px;
	margin: 8px 0;
	z-index: 1;
}

.aff-simple.sticky {
	position: sticky;
	top: 2px;
}

/*.aff-simple.edt,
.aff-simple.cdt {
	
}*/

summary.aff-simple {
	margin: 0;
	border: none;
}

.aff-simple .btn {
	border: none;
	border-radius: 3px;
	margin: 1px;
	display: inline-block;
}

.aff-simple > h3 {
	flex-grow: 1;
	background: none;
	margin: 0;
	padding: 5px;
	width: auto;
	display:flex;
}
.aff-simple > h2 {
	flex-grow: 1;
}

.annee {
	text-align: center;
	padding: 3px 6px;
	background-color: #FFFBC4;
	color: #C60003;
	transform: rotate(5deg);
	box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, .2);
	margin: 0 5px;
	font-size: 0.8em;
	height: 1.8em;
}

/* les infos dans les zones d'affichage "simple" */
span.classe,
span.progression,
span.edt,
span.cdt {
	font-size: 75%;
	margin: 0px 6px;
	padding: 3px 6px;
	border-radius: 2px;
}

.classe {
  background-color: #FFEE44;
}


/****************************************************************************************/

.cal-sem-table {
	/*height: 100%;*/
	/*width: 100%;*/
	min-height: 600px;
	flex: 1 1 auto;
}

.cal-sem-grille {
	width: 100%;
	height: 100%;
	position: absolute;
	border-collapse: collapse;
	flex-grow: 1;
	z-index: -100;
	border: 0;
	top: 0;
	padding: 0 !important;
}
.fond {
	z-index: 0;
	text-align: right;
}

.cal-sem-horaires {
	padding: 0 2px;
	font-size: 60%;
	position: relative;
	top: -0.5em;
}

/* La colonne heures */
.cal-sem-heures {
	padding: 0 !important;
	width: 1px;
}

/* Les entêtes "jour" entières sur affichage "semaine" */
.cal-sem-jours {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 100%;
	z-index: 3;
	width: 100%;
	padding: 0 !important;
	border: none !important
	/*position: absolute;
	top: 0;*/
}

.cal-sem-jour-nom {
	background-color: #EEEEEE;
	text-align: center;
	padding: 5px 10px;
	font-size: 0.9em;
}



/* Les colonnes "jour" entières sur affichage "semaine" */
.cal-sem-jour-cours {
	background-color: rgba(255, 230, 230, 0.5);
	font-size: 80%;
}

.cal-sem-jour-cours.ferie {
	background-color: rgba(127, 200, 200, 0.5);
}

.creneau {
	text-align: right;
}

/* Les boutons dans les zones cours, seance et activité */
.mini_btn {
	color: rgba(0,0,0,0); /* invisibles */
	font-size: 12px;
	padding-right: 3px;
	width: 12px;
}

/*.cours:hover .mini_btn,
.seance:hover .mini_btn,
.activite:hover .mini_btn,
.creneau:hover .mini_btn,
.bloc:hover .mini_btn */
.zone:hover > .mini_tb > .mini_btn {
	color: #AAA; /* visibles */
}

.zone:hover > .mini_btn {
	color: #AAA; /* visibles */
}


.zone:hover > * {
	/*pointer-events: none;*/
}

.mini_btn:hover {
	color: #000 !important; /* actifs */
}

/* Les zones cours, seance et activité, dans leurs contextes */
.cours.aff_sem {
	overflow: hidden;
}

.seance.aff_sem {
	overflow: hidden;
	padding-right: 15px;
	text-align: left;
}

.cours.aff_sem {
	padding-right: 15px;
	text-align: left;
	padding-top: 1px;
	padding-bottom: 3px;
}

.cours_sem {
	font-size: 100%;
	text-align: center;
	padding: 10px 1px
}

.grp-cours .seance:nth-child(2) .tb-seance .up-seance {
	display : none;
}

.grp-cours .cours {
	display:flex;
}

.cal-sem-cours .cours {
	display:flex;
}

.cal-sem-cours {
	padding: 1px;
}

/***********************************************************************************************/
/* Dispositions */
.seance {
	
}

.z-seance {
	flex: 1 1 auto;
}

.activite {
	
}

.z-activite {
	flex: 1 1 auto;
	padding: 2px 4px;
	background-color: inherit;
}

.z-activite p {
	padding-left: 20px;
}

.bloc {
	
}

.z-bloc {
	flex: 1 1 auto;
	overflow: hidden;
}

.mini_tb {
	
}

.tb-seance,
.tb-activite,
.tb-cours,
.tb-bloc{
	display:flex;
	flex-direction: column;
	flex-wrap: wrap;
}


.cours.aff_sem {
	display:flex;
}

/*.cours {
	flex: 1 1 auto;
	display:flex;
	margin: 1px;
}*/

.cours .z-cours {
	flex: 1 1 auto;
	position: relative;
	text-align: left;
}


/****************************************************************************************/
/*   Arbre des activités   */
/****************************************************************************************/
.options {
  display:flex ;
  justify-content: space-around;
  border: 1px solid black;
  border-radius: 3px;
  margin: 10px 0px;
 
    padding: 0 10px;
}


.option {
	flex-grow: 1;
	padding: 5px 10px;
}

label.categorie {
	display: block;
	text-align: left;
}

label.categorie.option {
	display: block;
	text-align: center;
}
.jstree {
	text-align : left !important ;
}


/***********************************************************************************************/
/* Editeur */
.editor-output, 
.editor-tests,
.editor-error {
	font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace;
	direction: ltr;
	text-align: left;
	overflow: auto;
}

.editor-error {
	color:#C60003;
}

#description a {
	text-decoration: underline;
}


/***********************************************************************************************/
/* Tabs Bulma/Bulmajs */
.tabs-content li {
    display: none;
    list-style: none;
}

.tabs-content li.is-active {
    display: block;
}