@font-face { font-family: Bahnschrift; src: url('/res/fonts/BAHNSCHRIFT.ttf'); } 

html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Bahnschrift";
}

body{
	background-color : #262626;
	background-image: url("/res/img/Back_picture.png");
	background-repeat : repeat;
	background-size : cover;
	background-position : center;
	background-attachment : fixed;
}

#main
{
	position : relative;
	box-sizing : padding-box;
	min-height : 100%;
	padding-bottom : 200px;
}

#header
{
	background-color : #262626;
	width : 100%;
	height : 160px;
	position : relative;
	z-index : 10;
}

#header h1
{
	display : block;
	color : #EFBF5E;
	width : 900px;
	margin : auto;
	height : 50px;
	font-family: "Sunday";
	line-height : 75px;
	background-image: url("/res/img/Logo_deer_mini.png");
	background-repeat : no-repeat;
	padding-left : 35px;
}

#header a
{
	text-decoration : none;
}

#header #sous_titre
{
	width : 900px;
	height : 25px;
	line-height : 25px;
	margin : auto;
	padding-left : 123px;
	box-sizing : border-box;
	color : #EFBF5E;
}

nav
{
	width : 900px;
	margin : auto;
	font-weight : bold;
}

nav>.menu
{
	position : relative;
	display : inline-block;
	width : 20%;
	height : auto;
	overflow : hidden;
	vertical-align : top;
	transition : border 0.2s;
}

nav>.menu:hover
{
	height : auto;
}

nav>.menu::after
{
	content : "";
	display : block;
	position : absolute;
	width : 100%;
	height : 25px;
	top : 25px;
	left : -1px;
	border-right : solid 2px #EFBF5E;
	pointer-events:none;
	z-index:10;
}
nav>.menu:last-child::after
{
	display : none;
}

nav>.menu>a
{
	text-decoration: none;
	display : block;
	padding : 5px;
	line-height : 20px;
	box-sizing: border-box;
	border-bottom : solid 1px #EFBF5E;
	background-color : #262626;
	color : #FFFFFF;
}

nav>.menu:hover>a:first-child
{
	background-color : #2F2F2F;
	color : #FFFFFF;
}

nav>.menu>a:first-child
{
	color : #2F2F2F;
	background-color : #262626;
	color : #FFFFFF;
	height : 75px;
	padding : 0px;
	line-height : 75px;
	text-align : center;
	box-sizing: border-box;
	border-bottom : solid 1px #EFBF5E;
}

nav>.menu:hover>a:hover
{
	background-color : #404040;
	color : #FFFFFF;
}

nav>.menu>a
{
	box-sizing: border-box;
	height : 0px;
	padding : 0px 5px;
	transition : height 0.2s;
	overflow : hidden;
	line-height : 30px;
	border-bottom : solid 0px #EFBF5E;
}
nav>.menu:hover>a
{
	height : 30px;
	border-bottom : solid 1px #EFBF5E;
}
nav>.menu:hover>a:first-child
{
	height : 75px;
}

#content
{
	color : #FFFFFF;
	width : 100%;
	height : 100%;
	padding : 20px 0px;
	box-sizing: border-box;
}

.section
{
	width : 100%;
	text-align : center;
	overflow: auto;
	padding-top : 20px;
	min-height : 500px;
	box-sizing: border-box;
}

.section.opaque
{
	background-color : #2F2F2F;
	border-top : solid 1px black;
}

.section.transparent
{
	background-color : #2E505A;
	background-image: url("/Compagnie/res/img/Back_picture_blur.png");
	background-repeat : no-repeat;
	background-size : cover;
	background-attachment : fixed;
}

.full
{
	height : 100vh;
}

.full.first
{
	margin-top : -180px;
	padding-top: 160px;
}

.page
{
	width : 900px;
	margin : auto;
	box-sizing: border-box;
	border : solid 1px #FFFFFF;
	background-color : #262626;
	box-shadow : 0px 0px 0px 5px #262626;
	color : #FFFFFF;
	margin-bottom : 20px;
}

.page.blue{	border : solid 1px #067790;}
.page.green{	border : solid 1px #578945;}
.page.gold{	border : solid 1px #EFBF5E;}
.page.red{	border : solid 1px #884444;}

.page h2{		color : #FFFFFF;}
.page.blue h2{	color : #067790;}
.page.green h2{	color : #578945;}
.page.gold h2{	color : #EFBF5E;}
.page.red h2{	color : #884444;}

.page h3{		color : #FFFFFF;}
.page.blue h3{	color : #067790;}
.page.green h3{	color : #578945;}
.page.gold h3{	color : #EFBF5E;}
.page.red h3{	color : #884444;}

.page a:hover{	background-color : #FFFFFF;color : #000000;}
.page.blue a:hover{	background-color : #067790;}
.page.green a:hover{	background-color : #578945;}
.page.gold a:hover{	background-color : #EFBF5E;color : #000000;}
.page.red a:hover{	background-color : #884444;}

.page.transparent
{
	background-color : transparent;
	border : none;
	box-shadow : none;
}

.open_page
{
	width : 900px;
	margin : auto;
	margin-bottom : 20px;
}

#footer
{
	box-sizing : border-box;
	position : absolute;
	bottom : 0px;
	background-color : #262626;
	height : 200px;
	width : 100%;
	padding : 10px;
	border-top : solid 1px black;
	color : #FFFFFF;
}

#ToC
{
	box-sizing : border-box;
	position : fixed;
	top : 0px;
	left : 0px;
	width : 25px;
	height : 100%;
	border-right : solid 1px #FFFFFF;
	background-color : #161616;
	box-shadow : 0px 0px 0px 5px #161616;
	overflow-y : auto;
	overflow-x : hidden;
}

#ToC:hover
{
	width : 250px;
}