:root{
	--primarydark: #f8622c;
	--primarylight: #fd7948;
}
html, body {
  font-family: 'Arial', 'Helvetica', 'sans-serif';
  font-size: 14px;
  padding: 0px;
  margin: 0px;
  background-color: var(--background);
  color: var(--font);
}
#content {
	position: absolute;
	/* padding-left: 1em;
	padding-right: 1em; */
    top: 3em;
    left: 0px;
    width: 100%; /* calc(100% - 2em); */
	height: calc(100% - 3em);
    max-height: calc(100% - 3em);
    overflow-y: auto;
	overflow-x: hidden;
    z-index: 1;
}
#navbar {
	position: absolute;
    top: 0px;
	left: 0px;
    height: 3em;
    margin: 0px;
	display:flex;
	justify-content: space-between;
	align-items: center;
}
.navbar {
	background-color: var(--navbackground);
	border-bottom: solid 1px var(--navbarborder);
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	width: calc(100% - 1rem);
}
.navbar-nav .nav-item {
	margin-right: 1em;
}
.navbar-nav .nav-item:hover {
	background-color: var(--navbar-item-hover);
}
.navbar-expand-lg {
	flex-flow: row nowrap;
	justify-content: flex-start;
	/* padding: 0 1rem; */
}
.navbar-expand-lg .navbar-collapse {
	display: flex;
	flex-grow: 1;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}
.navbar-expand-lg .navbar-nav {
	flex-direction: row;
	align-items: center;
}
.navbar-nav, .navbar-brand {
	margin-right: 1em;
	margin-left: 1em;
}
.nav-label {
	display: flex;
	align-items: center;
	margin-left: 0px;
	margin-right: 1em;
}
.mainmenu:after {
	content: "";
    background-image: url(../img/angle-down.svg);
	margin-left: 0.8em;
	color: var(--font);
    transition: transform 0.2s;
    background-repeat: no-repeat;
    background-position: center;
    width: 16px;
    height: 16px;
}
.animation-rotate {
	position:absolute;
	right:-1em;
	top:0.5em;
	padding:0px;
	border-radius:50%;
}
.rotate270 {
	rotate: 270deg;
	transition: rotate 0.5s;
}
.rotate90 {
	rotate: 90deg;
	transition: rotate 0.5s;
}
ul.reduce .nav-label{
	opacity: 1;
	width: 165px;
	transition: opacity 0.1s, width 0.5s;
	overflow: hidden;
	white-space:nowrap;
}
ul.isreduced .nav-label {
	width:0px;
	margin: 0px;
	padding: 0px;
	opacity: 0;
}
.mainmenu.-active::after {
    transform: rotate(180deg);
}
.mainmenu.-active + div.-active {
	display: block;
}
.menuLevelTwo {
	position:absolute;
	top:3rem; 
	left:0px;
	width:100%;
	height: auto;
	display: none;
	background-color: rgba(0, 0, 0, 0.4);
	z-index:15;
}
.menuLevelTwo.-active {
	display: block;
}
.navbar-nav {
	display: flex;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}
.nav {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}
.navbar .navbar-brand, .navbar .nav-link {
	color: var(--navfont);
}
.nav-link {
	display: flex;
    padding-left: 0.2em;
	padding-right: 0.2em;
	height:100%;
	align-items: center;
	text-decoration: none;
}
.listMenuLevelTwo {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	color: var(--navbackground);
	background-color: var(--navfont);
	height: 4em;
}
.listMenuLevelTwo li,  .listMenuLevelTwo .nav-link {
	height: 100%;
}
.listMenuLevelTwo .nav-link {
	padding-left: 2em;
	padding-right: 2em;
	color: var(--navbackground);
	align-items: center;
}
.navbar-expand-lg .navbar-toggler {
    display: none;
}
#content nav {
	margin-left: -1em;
	padding-top: 2em;
	min-width: fit-content;
}
#content nav ul {
	flex-direction: column;
}
#content nav ul li {
	height: 2.5em;
	cursor: pointer;
	margin-left: 0.1em;
	padding-left: 1em;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 3px;
}
#content nav ul li:hover {
	background-color: var(--background-secondary);
}

label, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	text-align: center;
}
h1, .h1 {
	font-size: 2em;	
}
h2, .h2 {
	font-size: 1.3em;	
}
h3, .h3 {
	font-size: 1.1em;	
}
h3, .h4 {
	font-size: 1em;	
}
.section h1, .section .h1 {
	font-size: 1.8em;
}
#navbar a {
	text-decoration: none;
}
a {
	color: var(--font);
}
label {
	margin:0.5em;
}
fieldset {
	margin-top: 1em;
}
.slider {
	-webkit-appearance: none;
	appearance: none;
	height: 5px;
	padding: 0px;
	margin-top: 15px;
	margin-bottom: 15px;
	background: #d3d3d3;
	outline: none;
	width: -webkit-fill-available;
	border-radius: 0.25rem;
	opacity: 0.8;
	-webkit-transition: .2s;
	transition: opacity .2s;
}
.slider:hover {
	opacity: 1;
}
.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	border-radius: 50%; 
	background: #04AA6D;
	cursor: pointer;
}
.slider::-moz-range-thumb {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #04AA6D;
	cursor: pointer;
}
ul {
	margin-top: 0;
}
.table-listing {
	width: -webkit-fill-available;
	border-spacing: unset;
}
.table-listing thead {
	display: table;
	width: calc(100% - 17px);
	background-color: var(--thead);
	margin-top: 0px;
	padding-top: 0px;
	font-weight: bold;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}
.table-listing tbody {
	display: block;
	width: 100%;
	max-height: calc(100vh - 7rem);
	overflow-y: scroll;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
.table-listing th, .table-listing td {
	display: flex;
	flex: 1;
	padding: 5px;
	word-break: normal;
	justify-content: center;
	align-items: center;
}
.table-listing td {
	border-bottom: solid 1px var(--table-border);
	overflow: hidden;
}
.table-listing td label {
	margin-top: 1em;
	margin-bottom: 1em;
}
.table-listing tr {
	display: flex;
	border: 0px;
}
.table-listing tbody tr:nth-child(odd) {
	background-color: var(--tr-impaire);
}
  
.table-listing tbody tr:nth-child(even) {
	background-color: var(--tr-paire);
}
tr {
	border: 1px solid black;
}
th, td {
	padding: 1em;
	text-align: center;
}
.btn-success {
	background-color: rgb(108, 198, 108);
}
.btn-success:hover {
	background-color: rgb(97, 179, 97);
}
.btn-danger:hover {
	background-color: rgb(253, 61, 61);
}
.btn-modal {
	flex: 1;
}
.badge {
	display: flex;
	align-items: center;
	width: fit-content;
	height: 1.5em;
	margin-right: 0.5em;
	margin-left: 0.5em;
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	padding-left: 0.2em;
	padding-right: 0.2em;
}
.badge-primary {
	background-color: var(--btn-background);
	color: var(--btn-font);
	border-radius: 5px;
}
.badge-carre {
	display: flex;
    width: 1.5em;
    height: 1.5em;
    background-color: var(--primary);
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.instrument-list .badge {
	width: auto!important;
}
.instrument-list .badge-primary {
	background-color: var(--background-secondary);
	color: var(--font);
}
.cross {
	position: relative;
	right: .3em;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	cursor: pointer;
	padding: .1em;
	border-radius: 5px;
}
.list-group-item {
	background-color: var(--listitem-bg1);
}
.modal-background {
	position: absolute;
	display: none;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: var(--modal-outbackground);
	z-index: 5;
}
.modal {
	position: absolute;
	flex-direction: column;
	width: 16rem;
	height: fit-content;
	margin-top: 4rem;
	margin-left: calc(50% - 8rem);
	justify-content: center;
	display: none;
	background-color: var(--modal-background);
	border-radius: 5px;
	box-shadow: 0 -1px 2px 0 rgb(0 0 0 / 30%), 0 -2px 6px 2px rgb(0 0 0 / 15%);
	top: 0px;
	z-index: 5;
}
.modal-header {
	top: 0px;
	order: 1;
	margin-top: 1em;
	margin-left: 1em;
	margin-right: 1em;
}
.modal-content {
	position: relative;
	display: block;
	order: 2;
	margin-left: 1.5em;
	margin-right: 1.5em;
}
.modal-footer {
	position: relative;
	display:flex;
	flex-direction: row;
	order: 3;
	margin-left: 1.5em;
	margin-right: 1.5em;
	margin-bottom: 0.5em;
}
.modal-title {
	font-size: 1.5em;
}
.close {
	position: absolute;
	top: 2px;
	right: 2px;
	background-color: red;
	color: white;
	border: solid 1px gray;
	border-radius: 5px;
}
.close:hover {
	background-color: rgb(218, 1, 1);
}
.card {
	margin:1em;
	background-color: var(--background-secondary);
}
.card-header {
	position: relative;
	display: flex;
	border-bottom: solid 2px;
	box-shadow: 0 -1px 2px 0 rgb(0 0 0 / 30%), 0 -2px 6px 2px rgb(0 0 0 / 15%);
}
.card-body {
	position: relative;
	display: flex;
	flex-direction: row;
}
.events-container {
	position: relative;
	display:flex;
	flex-direction: column;
}
.event {
	position:relative;
	display: flex;
	flex-direction: column;
	margin-left: 0.5em;
	margin-right: 0.5em;
	border-bottom: solid 1px grey;
}
.fade {
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
.active {
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	white-space: normal;
	width: auto;
}
form div {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
.form-group {
	flex-wrap: wrap;
}
.form-group.flex {
	display: flex;
}
.form-group.flex > div{
	flex: 1; 
	margin-right: 0.25em;
	margin-left: 0.25em;
}
.form-group div, form div div {
	margin-top: 0px;
	margin-bottom: 0px;
}
.form-control {
    width: -webkit-fill-available;
    padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 1em;
    font-size: 0.8em;
	border-radius: .25em;
}
td .btn {
	height: 100%;
	padding: 0.5em;
	display: flex;
	justify-content: center;
	align-items: center;
}
.licence-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}
.licence {
	background-color: rgba(255, 255, 255, 0.04);
	margin: 1em;
	padding:1em;
	border-radius: 3px;
	width: 60%;
}
.licence-token {
	text-align: center;
	letter-spacing: 5px;
	font-size: 1.2em;
}
.flex-container {
	display:flex;
	flex-direction:row;
	justify-content:space-around;
	flex-wrap:wrap;
}
.flex-item-grow {
	flex:1;
}
.form-container {
	position: relative;
	flex:1;
	width: 600px;
	margin-top: 2em;
	margin-left: auto;
	margin-right: auto;
	padding-top: 2em;
}
.flex-container-evenly {
	width:15em;
	display:flex;
	flex-direction:row;
	justify-content:space-evenly;
	flex-wrap:wrap;
}
.flex-container-center {
	display:flex;
	flex-direction:row;
	justify-content:center;
	flex-wrap:wrap;
	padding-top: 1em;
	padding-bottom: 1em;
}
.flex-item {
	display:flex;
	background-color: azure;
	width:10em;
	height: 10em;
	border-radius: 10px;
	margin-left:1em;
	margin-right: 1em;
	margin-top:auto;
	margin-bottom:auto;
}
.listing-item {
	height: 1.5em;
	padding-left:1em;
	padding-right:1em;
	/* background: linear-gradient( 0.25turn, var(--tr-impaire), var(--tr-focus)); */
	background-color: var(--background);
	/* background-image: linear-gradient( 0.25turn, rgba(255,255,255, 0.1) 20%, var(--btn-background)); */
	background: linear-gradient( 0.25turn, var(--background) 60%, var(--btn-background));
	border-bottom: solid 1px var(--tr-paire);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color .5s;
}
.listing-item.focus {
	/* background-color: var(--btn-background) !important; */
	background: linear-gradient( 0.25turn, var(--btn-background), var(--btn-background));
	color: var(--btn-font);
}
.listing-nom-eleve {
	font-size: 1.3em;
	display: flex;
    justify-content: center;
    align-items: center;
}
.profilbutton {
	padding:0px;
	background-color: #d3d3d300;
	border: solid 0px;
	cursor: pointer;
}
.icon {
	display: flex;
	justify-content: center;
	width:2em;
	height: 2em;
	cursor:pointer;
	margin: 0.5em;
}
.small-icon {
	width:1em;
	height: 1em;
	margin: 0.2em;
}
.medium-icon {
	width: 1.5em;
	height: 1.5em;
}
.icon-fill{
	fill: var(--font);
}
.iconlabel {
	margin-top:auto;
	margin-bottom:auto;
}
.color-svg {
	fill:azure;
}
.spinner-3 {
	width: 9px;
	padding: 3px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #25b09b;
	--_m: 
	  conic-gradient(#0000 10%,#000),
	  linear-gradient(#000 0 0) content-box;
	-webkit-mask: var(--_m);
			mask: var(--_m);
	-webkit-mask-composite: source-out;
			mask-composite: subtract;
	animation: s3 1s infinite linear;
}
@keyframes s3 {to{transform: rotate(1turn)}}
.spinner-content {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
	grid-auto-rows: 1.3em;
	place-items:center;
	z-index:100;
}
.ui-helper-hidden-accessible {
	height: 0px;
	display: none;
}
.ui-autocomplete {
	position: absolute !important;
	left:0 !important;
	right:0 !important;
	width: --webkit-fill-available;
	max-height:320px;
	overflow-y:auto;
	overflow-x:hidden;
	border: solid 1px black;
	background-color: white;
	color: black;
}
.ajax-search {
	position: absolute;
	width: 100%;
	border-radius: 5px;
	background-color: white;
	height: -webkit-fill-available;
	z-index: 5;
}
.ajax-search ul {
	display: block; /*absolute !important; */
    top: 3em !important;
	max-height:16em;
	z-index:10;
	border-radius: 5px;
}
.ajax-search li {
	cursor: pointer;
	padding-left: 1em;
	padding-top: .3em;
	padding-bottom: .3em;
	background-color: white;
}
.ajax-search li:hover {
	background-color: rgb(217, 217, 217);
}
.search-input {
	width: calc( 100% - 7em );
}
input, select, textarea {
	background-color: var(--input-background);
	color: var(--font);
	border-top: solid 1px var(--input-border);
	outline-width: 0px;
	padding: 0.5em;
}

.input-primary, input[type="password"] .input-primary {
	border-radius: 0;
	border-bottom: solid 2px var(--input-border);
	border-top: 0;
	border-left: 0;
	border-right: 0;
	background-color: rgba(0, 0, 0, 0);
	color: var(--font);
}
.input-primary:focus, input[type="password"]:focus .input-primary {
	outline: none;
	border-bottom: solid 2px var(--input-border-focus);
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
.large-multiple-choice {
	height: 20em;
}
.alert-list {
	margin: 0;
	padding: 0;
}
@keyframes disappear {
	from {
		opacity: 100%;
	}
	to {
		opacity: 0%;
	}
}
.alert {
	position: fixed;
	bottom: 0px;
	left: 0%;
	right: 0px;
	padding: 0.5em;
	text-align: center;
	margin-bottom: 0.2em;
	animation-delay: 8s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
	animation-name: disappear;
}
.alert-info {
	background-color: rgb(255, 189, 100);
	color: black;
}
.alert-success {
	background-color: rgb(113, 189, 113);
	color: rgb(24, 103, 0);
}
.alert-danger {
	background-color: rgb(255, 157, 157);
	color: rgb(187, 0, 0);
}
ul {
	list-style-type: none;
	padding: 0px;
}
/*@media (max-width:768px){*/
@media (max-width:995px){
	html {
  		font-size: 200%;
	}
	#content {
		padding-left: 0.2em;
		padding-right: 0.2em;
		width: calc(100% - 0.4em);
	}
	.menu {
		position: relative;
		display: block;
		width:30px; 
		height:30px; 
		cursor:pointer;
	}
	.navbar-expand-lg .navbar-collapse {
		position: absolute;
		top: calc(3em + 1px);
		left: 0px;
		display: none;
		flex-direction: column;
		justify-content: space-between;
		align-items: flex-start;
		height: calc(100vh - 3em - 1px);
		width: auto;
		z-index: 15;
		background-color: var(--navbackground);
	}
	.-active {
		display: flex!important;
	}
	.navbar-expand-lg .navbar-collapse .navbar-nav {
		position: relative;
		flex-direction: column;
		align-items: flex-start;
		background-color: var(--navbackground);
		margin: 0px;
		border-bottom-right-radius: 5px;
	}
	.navbar-nav .nav-item {
		margin-left: 1em;
		margin-right: 1em;
		margin-top: 1em;
	}
	.navbar .nav-link {
		height: 2.5em;
	}
	.menuLevelTwo {
		position: relative;
		display: none;
		top:0px;
		background-color: var(--navfont);
	}
	.menuLevelTwo .nav-link {
		height: 2em;
	}
	.listMenuLevelTwo {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: center;
		background-color: var(--navfont);
		color: var(--navbackground);
		height: auto;
	}
	.flex-container {
		flex-direction:column;
	}
	.form-container {
		margin: 2em;
		width: auto;
	}
	.modal {
		top: 5%;
	}
	.modal-content {
		font-size:1.1em;
		flex:1;
		margin-left: 1em;
		margin-right: 1em;
	}
	.modal-dialog {
		max-width:100%;
	}
	
	.nav-link .active {
		background-image: linear-gradient(#484e55,#3a3f44 60%,#313539);
	}
	.nav .navlink {
		background-image: linear-gradient(#101112,#17191b 40%,#1b1e20);
		background-repeat: no-repeat;
		border: 1px solid rgba(0,0,0,.6);
		display: block;
		padding: 0.5em 0.1em;
	}
	.card {
		margin-left: .1rem;
		margin-right: .1rem;
		margin-bottom: .1rem;
	}
	.licence {
		max-width: 95%;
	}
	.events-container {
		display:none;
	}
}