/**************** STYLES GLOBAUX ****************/
*
{
	margin: 0px;
	padding: 0px;
}

html, body
{
	min-height: 100%;
		
	background: #95a5a6;
}

a
{
	color: black;
}

/**************** STYLES GLOBAUX ****************/

/****************** FONT ***************/
@font-face {
    font-family: 'open_sansregular';
    src: url('Polices/OpenSans-Regular.ttf');
}

@font-face {
    font-family: 'open_sansextrabold';
    src:url('Polices/OpenSans-ExtraBold.ttf');
}

@font-face{
	font-family:'Amble';
	src:url('Polices/Amble-Regular.ttf');
}

@font-face{
	font-family:'optimus';
	src:url('Polices/OptimusPrinceps.ttf');
}

@font-face{
	font-family:'xtremm';
	src:url('Polices/Xtremm2.ttf');
}

@font-face{
	font-family:'starcraft';
	src:url('Polices/Starcraft Normal.ttf');
}

@font-face{
	font-family:'earth kid';
	src:url('Polices/Earth Kid.ttf');
}

@font-face{
	font-family:'champagne';
	src:url('Polices/Champagne & Limousines.ttf');
}

@font-face{
	font-family:'decibel';
	src:url('Polices/Aldo PC.ttf');
}

@font-face{
	font-family:'barkentina';
	src:url('Polices/Barkentina 1.otf');
}

@font-face{
	font-family:'walkway';
	src:url('Polices/Quicksand_Book.otf');
}

@font-face{
	font-family:'drakon';
	src:url('Polices/drakon.ttf');
}
/****************** FONT ***************/

/****************** MENU ***************/
nav
{
	display: block;
	background-color: #25292b;
	text-align: center;
	width: 100%;
	padding-top: 35px;
}

#menu, #menu ul
{
	padding:0;
	margin:0;
	list-style:none;
	text-align:center;
}

#menu li
{
	display:inline-block;
	position:relative;
	border-radius:8px 8px 0 0;
}

#menu ul li
{
	display:inherit;
	border-radius:0;
}

#menu ul li:hover
{
	border-radius:0;
}

#menu ul li:last-child
{
	border-radius:0 0 8px 8px;
}

#menu ul
{
	position:absolute;
	max-height:0;
	left: 0;
	right: 0;
	overflow:hidden;
	-moz-transition: .8s all .3s;
	-webkit-transition: .8s all .3s;
	transition: .8s all .3s;
}

#menu li:hover ul
{
	max-height: 35em;
}

/* background des liens menus */
#menu li:first-child
{
	background-color: #2980b9;
	background-image:-webkit-linear-gradient(top, #2980b9 0%, #113349 100%);
	background-image:linear-gradient(to bottom, #2980b9 0%, #113349 100%);
}

#menu li:nth-child(2)
{
	background-color: #27ae60;
	background-image: -webkit-linear-gradient(top, #27ae60 0%, #114929 100%);
	background-image:linear-gradient(to bottom, #27ae60 0%, #114929 100%);
}

#menu li:nth-child(3)
{
	background-color: #f39c12;
	background-image:-webkit-linear-gradient(top, #f39c12 0%, #845408 100%);
	background-image:linear-gradient(to bottom, #f39c12 0%, #845408 100%);
}

#menu li:nth-child(4)
{
	background-color: #d35400;
	background-image:-webkit-linear-gradient(top, #d35400 0%, #843602 100%);
	background-image:linear-gradient(to bottom, #d35400 0%, #843602 100%);
}

#menu li:last-child
{
	background-color: #c0392b;
	background-image:-webkit-linear-gradient(top, #c0392b 0%, #7b261c 100%);
	background-image:linear-gradient(to bottom, #c0392b 0%, #7b261c 100%);
}

/* background des liens sous menus */
#menu li:first-child li
{
	background:#2980b9;
}

#menu li:nth-child(2) li
{
	background:#27ae60;
}

#menu li:nth-child(3) li
{
	background:#f39c12;
}

#menu li:nth-child(4) li
{
	background:#d35400;
}

#menu li:last-child li
{
	background:#c0392b;
}

/* background des liens menus et sous menus au survol */
#menu li:first-child:hover, #menu li:first-child li:hover
{
	background: #65aedd;
}

#menu li:nth-child(2):hover, #menu li:nth-child(2) li:hover
{
	background: #76cc9d;
}

#menu li:nth-child(3):hover, #menu li:nth-child(3) li:hover
{
	background: #f5b655;
}

#menu li:nth-child(4):hover, #menu li:nth-child(4) li:hover
{
	background: #ff8635;
}

#menu li:last-child:hover, #menu li:last-child li:hover
{
background: #d55c4f;
}

/* les a href */
#menu a
{
	text-decoration: none;
	display: block;
	padding: 8px 32px;
	color: #fff;
	font-family: 'open_sansregular';
	font-size: 2vw;
}

#menu ul a
{
	padding: 5px 0;
	font-size: 0px
}

#menu li:hover li a
{
	color:#fff;
	text-transform:inherit;
	font-size: 20px
}

#menu li:hover a, #menu li li:hover a
{
	color:#000;
}

/****************** MENU ***************/


p
{
	font-family: 'Amble';
	font-size: 21px;
	text-align: justify;
	margin-left: 25px;
	padding-left: 80px;
}

.back
{
	font-family: 'walkway';
	font-size: 12px;
	text-align : center;
	padding-left: 0px;
}

h1
{
	font-family: 'decibel';
	font-size: 40px;
	text-align: left;
	color: rgb(139,187,68);
	background: #757d7e;
	box-shadow: 10px 5px 10px black;
	margin-top: 10px;
	padding-left: 20px;
	margin-left: 20px;
	border-radius: 10px 10px 10px 10px;
}

h2
{
	font-family: 'optimus';
	font-size: 31px;
	color: red;
	left: 10px;
	text-align : center;
	padding-left: 00px;
	padding-right: 10px;
}

h3 span
{
	font-family: 'barkentina';
	font-size: 30px;
	color: blue;
	text-decoration: none;
	left: 100px;
	padding-left: 100px;
	padding-right: 10px;
}

h3, a
{
	color : blue;
	text-decoration: none;
	transition: all 1s;
	-webkit-transition: all 1s;
}

h3, a:hover
{
	color : purple;
	text-decoration: none;
}

h4
{
	font-family: 'decibel';
	font-size: 20px;
	text-align: right;
	color :black;
}

h4 span
{
	font-family: 'drakon';
	font-size: 35px;
	color: #d35400;
	text-decoration: none;
	position: relative;
	left: 100px;
	padding-left: 100px;
	padding-right: 10px;
}

h5
{
	font-family: 'optimus';
	font-size: 21px;
	left: 100px;
	text-align:left;
	padding-left: 100px;
	padding-right: 10px;
}

h6
{
	font-family: 'champagne';
	font-size: 35px;
	color:#d35400;
	left: 0px;
	text-align:center;
	padding-left: 25px;
	padding-right: 10px;
}


#fonction
{
	font-family: 'Amble';
	font-size: 21px;
	text-align: justify;
	margin-left: 50px;
	padding-left: 80px;
}

/********************* ORGANISATION DE PAGE *******************/
.banniere
{
	font-family: 'earth kid';
	font-size: 50px;
	text-align: center;
	background: #95a5a6;
	margin-top: 50px;
}

.banniere p
{
	font-family: 'xtremm';
	font-size: 40px;
	text-align: right;
	margin-right: 25px;
}

.gauche
{
	text-align: justify;
	background-color: #95a5a6;
	margin-right: 10px;
	vertical-align: right;
	display: inline-block;
	width: 70%;
}

.gauche p
{
	text-align: justify;
	margin-left: 10px;
	margin-right: 10px;
	vertical-align: top;
	display: inline-block;
	width: 88%;
}

.droite
{
	vertical-align: top;
	display: inline-block;
	width: 28%;
}

.signature
{
	font-family: 'xtremm';
	font-size: 39px;
	color: #dc7f2c;
	position: relative;
	left: 70%;
}

#revenirhaut a
{
	text-align: right;
	color: black;
	position: relative;
	left: 75%;
	top: 100px;
}
/********************* ORGANISATION DE PAGE *******************/

/************* MENU VERTICAL ************/
.menu-vertical
{
	font-size: 15px;
	margin-top: 95px;
	list-style-type: none;
	position: inline-block;
	right: 2px;
 }
 
 .menu-vertical li
{
	background: #757d7e;
	border-left: black dotted 1px;
	border-right: black dotted 1px;
	border-top: black dotted 1px;
	border-bottom: black dotted 1px;
	padding-left: 14px;
	transition: all 0.5s, box-shadow 1s;
	-webkit-transition: all 0.5s;
}

 .menu-vertical #table:hover
{
	background: #bec3c4;
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: none;
	box-shadow: 3px 3px 30px #27ae60;
	transform-origin: top 0 left 0;
}

 .menu-vertical a
{
	font-family: 'champagne';
	font-size: 20px;
	color: black;
	text-decoration: none;
	display: block;
	width: 270px;
	padding: 14px;
}

 .menu-vertical a:hover
{
	color: red;
	text-decoration: none;
}

.menu-vertical #tb
{
	color : black;
	font-size: 18px;
	font-family: 'champagne';
	text-align: center;
	text-decoration: none;
	border-radius: 15px 15px 0px 0px;
	transition: none;
	-webkit-transition: none;
}

/************* MENU VERTICAL ************/

figure
{
	font-size: 1em;
	text-align: center;
	color : grey;
}

img.floating, .tossing
{
	text-align: center;
	height: 180px;
	border-radius: 18px;
}

img.pdf
{
	height:25px
}

/*********/

img.act 
{
	display : inline-block;
    height: 200px;
    width: 200px;
    /*border-radius*/
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.container 
{
    display: block;
    width: 100%;
    height: 100%;
    margin: 10px auto;
}

.scene3D 
{
    display: block;
    float: left;
    margin: 10px;
    /*border-radius*/
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /*perspective*/
    -webkit-perspective: 500px;
    -moz-perspective: 500px;
    -ms-perspective: 500px;
    -o-perspective: 500px;
    perspective: 500px;
}

.flip div 
{
    position: absolute;
    width: 200px;
    height: 200px;
    /*border-radius*/
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /*backface-visibility*/
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip div:first-child 
{
    /*border-radius*/
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #333;
    /*transform*/
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

.flip div:first-child p 
{
    color: #FFF;
    text-shadow: 0 0 1px .111;
    padding-top: 20px;
    text-align: left;
}

.flip 
{
    width: 200px;
    height: 200px;
    /*border-radius*/
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /*box-shadow*/
    -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 15px rgba(0,0,0,0.3);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    /*transform*/
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
    /*transition*/
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    /*transform-style*/
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.scene3D:hover .flip {
    /*transform*/
    -webkit-transform: rotateX(180deg);
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -o-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

/****************ANIMATIONS***************/

.floating{
	animation-name: floating;
	-webkit-animation-name: floating;

	animation-duration: 1.5s;	
	-webkit-animation-duration: 1.5s;

	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}

@keyframes floating {
	0% {
		transform: translateY(0%);	
	}
	50% {
		transform: translateY(8%);	
	}	
	100% {
		transform: translateY(0%);
	}			
}

@-webkit-keyframes floating {
	0% {
		-webkit-transform: translateY(0%);	
	}
	50% {
		-webkit-transform: translateY(8%);	
	}	
	100% {
		-webkit-transform: translateY(0%);
	}			
}
.tossing{
	animation-name: tossing;
	-webkit-animation-name: tossing;	

	animation-duration: 2.5s;	
	-webkit-animation-duration: 2.5s;

	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}

@keyframes tossing {
	0% {
		transform: rotate(-4deg);	
	}
	50% {
		transform: rotate(4deg);
	}
	100% {
		transform: rotate(-4deg);	
	}						
}

@-webkit-keyframes tossing {
	0% {
		-webkit-transform: rotate(-4deg);	
	}
	50% {
		-webkit-transform: rotate(4deg);
	}
	100% {
		-webkit-transform: rotate(-4deg);	
	}				
}
