﻿body
{ 
	position: absolute;
	margin:0;
	padding:0;
	width:100%;
	height:100%;
	font-family:Arial, Helvetica, sans-serif;
	background:#e6dedb;
}
#header
{
	position: relative;
	width: 100%;
	color:white;
	background: #2a2a2a;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iIzJhMmEyYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2MDYwNjAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left, #2a2a2a 1%, #606060 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(1%,#2a2a2a), color-stop(100%,#606060)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, #2a2a2a 1%,#606060 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, #2a2a2a 1%,#606060 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left, #2a2a2a 1%,#606060 100%); /* IE10+ */
	background: linear-gradient(to right, #2a2a2a 1%,#606060 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2a2a2a', endColorstr='#606060',GradientType=1 ); /* IE6-8 */
	text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
	padding:10px 0px;
	-webkit-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
	-moz-box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
	box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.75);
	line-height: 25px;
	height:auto;
}
#header h1
{
	position: relative;
	float:left;
	padding-left:15px;
	font-weight:200;
	font-size:24px;
	margin:0;
	vertical-align: middle;
}
#header h2
{
	position: relative;
	float:left;
	padding-left:15px;
	font-weight:200;
	font-size:17px;
	margin:0;
	vertical-align: text-bottom;
	color:#24ff00;
	text-shadow: 0px 0px 5px rgba(36, 255, 0, 0.5);
}
#emailHeader
{
	position: relative;
	float:right;
	font-size: 13px;
	padding-right:15px;
	margin:0;
	vertical-align: text-bottom;
}
#header a
{
	color:white;
}

#titrePort
{
	background: black;
	color:white;
	width:100%;
	height:30px;
	line-height: 30px;
	font-size:20px;
	font-style: italic;
	text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8);
	text-align: left;
}
#titrePort span
{
	padding-left:20px;
}
/*première rub*/
#rub1
{
	position:relative;
	width:100%;
	display: flex;
	flex-wrap: wrap;
}

#rub1 a {
	float:left;
	width:25%;
	flex: 1 1 25%;
}
.vignette
{
	position:relative;
	overflow: hidden;
}
.vignette img
{
	width:100%;
	float:left;
}
.legende
{
	position:absolute;
	background:black;
	background:rgba(0, 0, 0, .7);
	width:100%;
	height:auto;
	box-sizing: border-box;
	-moz-box-sizing:border-box;
	color:white;
	font-size:1em;
	bottom:-100%;
}
.legende .titre
{
	margin:0;
	padding:0;
	font-size:1.5em;
}
.intraLegende
{
	position:relative;
	height:auto;
	padding:20px;
}

/*  Rub 2 (cursus)  */
#rub2, #rub3
{
	position: relative;
	float:left;
	width:48%;
	border:1px solid #BBB;
	box-sizing: border-box;
	margin: 1%;
	background:white;
	overflow:hidden;
}
#rub3
{
	margin:1% 0 1% 1%;
}
#rub2Title, #rub3Title
{
	position: relative;
	width:100%;
	text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8);
	color:#0096fe;
	font-size:1.5em;
	font-weight:300;
	border-top:#0096fe 5px solid;
	z-index:2;
}
#rub2Title div, #rub3Title div
{
	padding:10px 20px;
}
#rub2contenu, #rub3contenu
{
	position: relative;
	padding:20px;
	color: #2a2a2a;
	font-size:.8em;
}
#rub2contenu h2, #rub3contenu h2
{
	font-size:1em;
	margin:0;
	padding:0;
	color:#0096fe;
}
/*  Rub 3 (comp)  */
#rub3Title
{
	border-top:#fe6600 5px solid;
	color:#fe6600;
}

#rub3contenu h2
{
	color:#fe6600;
	display: inline;
}

.techno
{
	z-index: 2;
}
#rouage
{
	position:absolute;
	width:400px;
	height:400px;
	right:-200px;
	top:-200px;
	z-index: 1;
}




#footer
{
	position: relative;
	background: #111111;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzExMTExMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjIxJSIgc3RvcC1jb2xvcj0iIzJhMmEyYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(top, #111111 0%, #2a2a2a 21%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#111111), color-stop(21%,#2a2a2a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #111111 0%,#2a2a2a 21%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #111111 0%,#2a2a2a 21%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #111111 0%,#2a2a2a 21%); /* IE10+ */
	background: linear-gradient(to bottom, #111111 0%,#2a2a2a 21%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#111111', endColorstr='#2a2a2a',GradientType=0 ); /* IE6-8 */
	width: 100%;
	padding:30px 0px;
	font-size:1.1em;
	color:white;
}
#footer h2
{
	display:inline;
	font-weight: bold;
	font-size:1.1em;
	padding-left:20px;
}

#lienCV
{
	position:relative;
	display:inline-block;
	width:auto;
	background:url(img/fleche.png) no-repeat right top;
	background-color:#f16529;
	padding: 0px 67px 0px 25px;
	height:47px;
	line-height:47px;
	color:white;
	font-size:1.5em;
	text-decoration:none;
	margin-top:20px;
	transition: background-color .8s;
	-webkit-transition: background-color .8s; /* Safari */
}
#lienCV:hover
{
	background-color:#a3471f;
}
.clear{ clear: both; }

@media screen and (max-width:430px) {
	/*.vignette
	{
		width:100%;
	}*/
	#rub1 a {
		flex: 0 0 100%;
	}
	.legende
	{
		position:relative;
	}
	#titrePort
	{
		text-align:center;
	}
	#titrePort span
	{
		padding-left:0px;
	}
	#rub2, #rub3
	{
		width:98%;
		position: relative;
		float: left;
	}
	
}
@media screen and (max-width: 899px) and (min-width:431px) {
	/*
	.vignette
	{
		width:50%;
	}
	*/
	#rub1 a {
		flex: 1 1 50%;
	}
	.legende
	{
		position:relative;
		height:140px;
	}
	#rub1 a:nth-child(even) .legende
	{
		background:rgba(254, 102, 0, .7) !important;
	}
	#rub2, #rub3
	{
		width:98%;
		position: relative;
		float: left;
	}
	
}
@media screen and (min-width: 1281px) {
	/*
	.vignette
	{
		width:20%;
	}
		*/
	#rub1 a {
		flex: 1 1 20%;
	}
}