@font-face {
	font-family: "fave-script-bold";
	src: url("/font/fave-script-bold.ttf") format("truetype");
}

body {
	background-color: #FFF;
	font-family: verdana;
	font-size: 3vmin;
	margin: 0;
	padding: 0;
	cursor: default;
}

body input {
	font-size: 3vmin;
}

p {
	margin: 0;
	padding: 0;
}

#DivIndexAll {
	position: absolute;
	overflow: hidden;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	display: grid;
}
@media screen and (orientation: portrait) {
	#DivIndexAll {
		grid-template-columns: 100%;
		grid-template-rows: 10vh 5vh 1fr 10vh;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexAll {
		grid-template-columns: auto min-content;
		grid-template-rows: 10vw 1fr;
	}
}

#DivIndexHead {
	background-color: #BB0000;
	background-image: url('/img/Espelette_Banner.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom;
}
@media screen and (orientation: portrait) {
	#DivIndexHead {
		grid-row: 1;
		grid-column: 1;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexHead {
		grid-row: 1;
		grid-column: 1;
	}
}

#DivIndexHead>a {
	text-decoration: none;
}

#DivIndexHead>a>h1 {
	font-family: "fave-script-bold";
	font-size: max(35px,8vh);
	line-height: 10vh;
	text-align: center;
	color: #BB0000;
	margin: 0;
	padding: 0;
	text-shadow: 0 0 1px white,
		0 0 3px white,
		0 0 5px white,
		0 0 10px white,0 0 1px white,
		0 0 3px white,
		0 0 5px white,
		0 0 10px white,0 0 1px white,
		0 0 3px white,
		0 0 5px white,
		0 0 10px white,0 0 1px white,
		0 0 3px white,
		0 0 5px white,
		0 0 10px white;
}

#DivIndexLogin {
	grid-row: 2/3;
	grid-column: 1;
	background: #FFF;
}

#DivIndexLogin>form {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 10% 80% 10%;
	grid-template-rows: 1fr 5vmin 5vmin 5vmin 5vmin 5vmin 10vmin 5vmin 10vmin 5vmin 1fr;
	grid-gap: 5px;
}

#DivIndexLogin>form>label:nth-of-type(1) {
	grid-column: 2;
	grid-row: 2;
	text-align: left;
	line-height: 5vmin;
}

#DivIndexLogin>form>input:nth-of-type(1) {
	grid-column: 2;
	grid-row: 3;
}

#DivIndexLogin>form>label:nth-of-type(2) {
	grid-column: 2;
	grid-row: 5;
	text-align: left;
	line-height: 5vmin;
}

#DivIndexLogin>form>input:nth-of-type(2) {
	grid-column: 2;
	grid-row: 6;
}

#DivIndexLogin>form>input:nth-of-type(3) {
	grid-column: 2;
	grid-row: 8;
}

#DivIndexLogin>form>p {
	grid-column: 2;
	grid-row: 10;
}

#DivIndexUser {
	background-color: #BB0000;
	color: #FFF;
	text-align: center;
	font-size: 1.3vh;
	display: grid;
}
@media screen and (orientation: portrait) {
	#DivIndexUser {
		grid-row: 2;
		grid-column: 1;
		grid-template-columns: 1fr 5vh 5vh 5vh;
		grid-template-rows: 5vh;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexUser {
		grid-row: 1;
		grid-column: 2;
		grid-template-columns: 5vw 5vw 5vw;
		grid-template-rows: 5vw 1fr;
	}
}

#DivIndexUser>#DivUsername {
	width: unset;
}
@media screen and (orientation: portrait) {
	#DivIndexUser>#DivUsername {
		grid-row: 1;
		grid-column: 1;
		text-align: left;
		font-size: 3vh;
		line-height: 5vh;
	}
	#DivIndexUser>#DivUsername>p {
		padding-left: 1vh;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexUser>#DivUsername {
		grid-row: 1;
		grid-column: 1 / 4;
		text-align: center;
		font-size: 2.5vw;
		line-height: 5vw;
	}
}

#DivIndexUser>div>a>img {
	filter: invert(1);
}
@media screen and (orientation: portrait) {
	#DivIndexUser>div>a>img {
		height: 4vh;
		width: 4vh;
	 margin: 0.5vw;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexUser>div>a>img {
		height: 4vw;
		width: 4vw;
	 margin: 0.5vw;
	}
}

@media screen and (orientation: portrait) {
	#DivIndexUser>#DivAdmin {
		grid-row: 1;
		grid-column: 2;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexUser>#DivAdmin {
		grid-row: 2;
		grid-column: 1;
	}
}

@media screen and (orientation: portrait) {
	#DivIndexUser>#DivAccount {
		grid-row: 1;
		grid-column: 3;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexUser>#DivAccount {
		grid-row: 2;
		grid-column: 2;
	}
}

@media screen and (orientation: portrait) {
	#DivIndexUser>#DivLogout {
		grid-row: 1;
		grid-column: 4;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexUser>#DivLogout {
		grid-row: 2;
		grid-column: 3;
	}
}

#DivIndexMenu {
	background-color: #DDD;
	color: #FFF;
	text-align: center;
	display: grid;
	justify-content: space-evenly;
	align-content: space-evenly;
}
#DivIndexMenu>div {
	box-sizing: border-box;
}
@media screen and (orientation: portrait) {
	#DivIndexMenu {
		grid-row: 4;
		grid-column: 1;
		grid-template-columns: auto;
		grid-template-rows: 10vh;
		grid-auto-flow: column;
	}
	#DivIndexMenu>div {
		height: 10vh;
		width: 10vh;
		padding: 1vh;
	}
	#DivIndexMenu>div>a>img {
		height: 8vh;
		width: 8vh;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexMenu {
		grid-row: 2;
		grid-column: 2;
		grid-template-columns: 15vw;
		grid-template-rows: auto;
		grid-auto-flow: row;
	}
	#DivIndexMenu>div {
		height: 10vw;
		width: 15vw;
		padding: 1vw;
	}
	#DivIndexMenu>div>a>img {
		height: 8vw;
		width: 8vw;
	}
}

#DivIndexMenu>div.selected>a>img {
	filter: contrast(5%) sepia(100%) hue-rotate(180deg) saturate(200%);
}

#DivIndexInclude {
	position: relative;
	background-color: #EEF;
	overflow: auto;
	scrollbar-width: thin;
}
@media screen and (orientation: portrait) {
	#DivIndexInclude {
	grid-column: 1;
	grid-row: 3;
	}
}
@media screen and (orientation: landscape) {
	#DivIndexInclude {
	grid-column: 1;
	grid-row: 2;
	}
}

#DivIndexInclude>.message {
	margin: 10px 0;
	text-align: center;
	text-indent: unset
}

#DivIndexInclude>#DivAccount {
	margin: 2vw;
}

#DivIndexInclude>#DivAccount>.section {
	font-weight: bold;
	text-decoration: underline;
	margin: 2vw;
	white-space: nowrap;
}

#DivIndexInclude>#DivAccount>.labelinput {
	position: relative;
	height: 5vw;
}

#DivIndexInclude>#DivAccount>.labelinput>label {
	position: absolute;
	width: 40vw;
	text-align: right;
	line-height: 4vw;
}

#DivIndexInclude>#DivAccount>.labelinput>input {
	position: absolute;
	left: 42vw;
	width: 52vw;
	box-sizing: border-box;
}

#DivIndexInclude>#DivAdmin {
	overflow: visible;
	min-height: 100%;
}

#DivIndexInclude>#DivAdmin>.headers {
	white-space: nowrap;
	padding: 0 10px;
}

#DivIndexInclude>#DivAdmin>.headers>div {
	background: #FFF;
	position: relative;
	display: inline-block;
	width: 200px;
	height: 130px;
}

#DivIndexInclude>#DivAdmin>.headers>div>p {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	font-weight: bold;
}

#DivIndexInclude>#DivAdmin>.headers>.Vheader {
	width: 55px;
}

#DivIndexInclude>#DivAdmin>.headers>.Vheader>p {
	position: absolute;
	top: 0;
	text-align: left;
	writing-mode: sideways-lr;
	overflow: hidden;
	white-space: pre-line;
}

#DivIndexInclude>#DivAdmin>.account {
	background: #DDF;
	padding: 5px 10px;
	white-space: nowrap;
}

#DivIndexInclude>#DivAdmin>.account:nth-of-type(2n) {
	background: #CCF;
}

#DivIndexInclude>#DivAdmin>.account>div {
	background: transparent;
	width: 55px;
	display: inline-block;
	overflow: auto;
}

#DivIndexInclude>#DivAdmin>.account>.inputs,
#DivIndexInclude>#DivAdmin>.account>.inputs>input,
#DivIndexInclude>#DivAdmin>.account>.inputs>select {
	width: 200px;
	box-sizing: border-box;
}

#DivIndexInclude>#DivAdmin>.account>div>p {
	background: #FFF;
	text-align: center;
	cursor: pointer;
}

#DivIndexInclude>.item {
	background-color: #CCF;
	padding: 5px 0 5px 10px;
}

#DivIndexInclude>.item:nth-of-type(2n) {
	background-color: #DDF;
}

#DivIndexInclude>.item>a {
	display: grid;
	grid-template-columns: 3px 30px auto 80px 100px;
	grid-template-rows: 30px;
	column-gap: 10px;
	color: #000;
	text-decoration: none;
}

#DivIndexInclude>.item:hover {
	background-color: #BBF;
	cursor: pointer;
}

#DivIndexInclude>.item>a>div:nth-of-type(1) {
	grid-column: 1;
	margin-right: -5px;
	margin-left: -5px;
	text-align: center;
	border-radius: 8px;
}

#DivIndexInclude>.item>a>.options:hover {
	background: #FFF;
	box-shadow: 0 0 8px white;
}

#DivIndexInclude>.item>a>div:nth-of-type(1)>img {
	margin: 5px 0 0;
	max-height: 20px;
}

#DivIndexInclude>.item>a>div:nth-of-type(2) {
	grid-column: 2;
	width: 100%;
	height: 100%;
}

#DivIndexInclude>.item>a>div:nth-of-type(2)>img {
	max-width: 100%;
	max-height: 100%;
}

#DivIndexInclude>.item>a>div:nth-of-type(3) {
	position: relative;
	grid-column: 3;
}

#DivIndexInclude>.item>a>div:nth-of-type(3)>p {
	position: absolute;
	left: 0;
	right: 0;
	line-height: 30px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#DivIndexInclude>.item>a>div:nth-of-type(4) {
	grid-column: 4;
}

#DivIndexInclude>.item>a>div:nth-of-type(4)>p {
	line-height: 30px;
	text-align: right;
}

#DivIndexInclude>.item>a>div:nth-of-type(5) {
	grid-column: 5;
}

#DivIndexInclude>.item>a>div:nth-of-type(5)>p {
	line-height: 30px;
}
