/*************************************************************************************************/
/*TYPOGRAPHIES*/
@font-face {
font-family: 'bebas';
src: url('../fonts/bebas.eot');
src: url('../fonts/bebas.woff') format('woff'),
     url('../fonts/bebas.eot?#iefix') format('embedded-opentype'),
     url('../fonts/bebas.svg#QuadrantaBold') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'fira';
src: url('../fonts/fira.eot');
src: url('../fonts/fira.woff') format('woff'),
     url('../fonts/fira.eot?#iefix') format('embedded-opentype'),
     url('../fonts/fira.svg#QuadrantaBold') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon.eot?mr9gq');
	src:url('../fonts/icomoon.eot?#iefixmr9gq') format('embedded-opentype'),
		url('../fonts/icomoon.woff?mr9gq') format('woff'),
		url('../fonts/icomoon.ttf?mr9gq') format('truetype'),
		url('../fonts/icomoon.svg?mr9gq#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-arrow-right:before {
	content: "\ea34";
}

.icon-arrow-left:before {
	content: "\ea38";
}
/*************************************************************************************************/
/*REGLAGES GENERAUX*/
*{
	box-sizing:border-box;
}
html {
	font-size: 62.5%;
}
body{
	width: 100%;
	height:100%;
	position: absolute;
	top:0; left:0;
	margin: 0;
	background:url('../images/accueil.jpg') no-repeat black fixed;
	background-size: auto 100%;
	background-position: center;
	color: #fff; 
	font-family:'fira', helvetica, arial, sans-serif;
	font-size: 1.5em;
	line-height: 1.5em;
}
a{
	text-decoration: none;
	color:#a9423b;
}
a:hover, a:active{
	color:#dd993f;
}
/*************************************************************************************************/
/*HEADER LOGO*/
header>h1{
	text-indent:-9999px;
}
header>h1>a{
	position:fixed;
	top:10px; left:50%;
	display: block;
	width:30vw;
	max-width: 200px;
	max-height: 139.3px;
	height:20.9vw;
	background:url('../images/logo.png') no-repeat transparent;
	background-size: 100% 100%;
	z-index: 1000;
	/*Translate pour le milieu*/
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	/*Animation sur la transition*/
	-webkit-transition: width .6s cubic-bezier(.72,.89,.28,1.39),height .6s cubic-bezier(.72,.89,.28,1.39); 
	-moz-transition: width .6s cubic-bezier(.72,.89,.28,1.39),height .6s cubic-bezier(.72,.89,.28,1.39); 
	-o-transition: width .6s cubic-bezier(.72,.89,.28,1.39),height .6s cubic-bezier(.72,.89,.28,1.39); 
	-ms-transition: width .6s cubic-bezier(.72,.89,.28,1.39),height .6s cubic-bezier(.72,.89,.28,1.39); 
    transition: width .6s cubic-bezier(.72,.89,.28,1.39),height .6s cubic-bezier(.72,.89,.28,1.39); 
}
header>h1>a:hover,header>h1>a:active{
	background-image: url('../images/logo_hover.png');
}
/*************************************************************************************************/
/*HEADER MENU*/
nav{
	position:fixed;
	top:0;
	left:-100%;
	width: 100%;
	height: 100%;
	background-color: black;
	/*Animation sur la transition*/
	-webkit-transition: left .2s; 
	-moz-transition: left .2s; 
	-o-transition: left .2s; 
	-ms-transition: left .2s; 
    transition: left .2s; 
    z-index: 500;
}
nav a{
	font-family: 'bebas', helvetica, arial, sans-serif;
	color:white;
	font-size: 2em;
	line-height: 1.3em;
}
nav ul{
	width: 50%;
	margin-left: 50%;
	margin-top:50%;
	/*Translate pour le milieu*/
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}
nav ul li{
	width: 100%;
	text-align: center;
}
/*************************************************************************************************/
/*CONTENU*/
main{
	display: block;
	width: 80%;
	height: auto;
	margin:30% 0 50px 10%;
	background-color: rgba(0,0,0,0.7);
	padding:5%;
	position: relative;
}
li.desactive{
	display: none;
}
li.active{
	display:block;
}
main ul li h2{
	font-family: 'bebas', helvetica, arial, sans-serif;
	font-size: 2em;
	text-align: center;
	margin-bottom:20px;
}

main:before{
	content : "";
	display: block;
	width:80%;
	height:20px;
	background: url('../images/separateur.png') no-repeat;
	background-size: 100%;
	position: absolute;
	bottom: -45px;
	max-width: 300px;
	left: 50%;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

img.panorama{
	width: 100%;
	box-shadow: 0px 0px 5px #aaa;
	margin-bottom: 1em;
}

/*************************************************************************************************/
/*SLIDER*/
ul#gallery, ul#gallery li.slider img, ul#gallery li.slider{
	width: 100%;
}
ul#gallery li.slider img{
	border: 5px solid rgba(255,255,255,0.4);
}
ul#gallery{
	position: relative;
}
ul#gallery li.button{
	height: 400px;
	line-height: 400px;
	font-size: 1em;
	cursor: pointer;
	position: absolute;
	opacity: 0.5;
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
ul#gallery li.button:hover{
	color:#BB8840;
	opacity: 1; 
}
ul#gallery li.button:active{
	color:#BC392F;
	opacity: 1; 
}
li.button#left{
	left: -2vw;
}
li.button#right{
	right: -2vw;
}

/*************************************************************************************************/
/*FORMULAIRE*/
li#contact img{
    margin-top: 30px;
}
form#form_contact{
	width: 100%;
    max-width: 600px;
    display: block;
    margin: auto;
	overflow: hidden;
	padding-top: 15px;
	padding-bottom: 25px;
}
form#form_contact input{
	width: 100%;
	height: 40px;
	margin-top: 20px;
    font-family: 'Fira', Arial;
    font-size: 19px;
}
form#form_contact input#object{
	float: right;
}
form#form_contact textarea{
	clear: both;
	width: 100%;
	height: 80px;
	margin: 20px 0;
    font-family: 'Fira', Arial;
    font-size: 19px;
}
form#form_contact input,form#form_contact textarea{
	border-color: #DD993F;
	background-color: rgba(188, 57, 47,0.8);
	color: white;
}
form#form_contact button{
	border: none;
	background-color:#BC392F;
	color: white;
	display: block;
	margin: auto;
	padding: 10px 20px;
    font-family: 'Bebas', Arial;
}
form#form_contact button:active{
	border: none;
	background-color:#DD993F;
	color: white;
	display: block;
	margin: auto;
	padding: 10px 20px;
}
p#welcome, li#contact ul li{
    text-align: center;
}
p.submited{
	margin-top: 10px;
}
p.submited span{
	color: #BC392F;
}

/*************************************************************************************************/
/*MOTO CLUB*/
ul#club{
    width: 100%;
    max-width: 560px;
    display: block;
    margin: auto;
    overflow: hidden;
}
ul#club li{
    width: 70%;
    max-width: 270px;
    height: auto;
    display: block;
    margin:20px auto;
    border: 2px solid #DD993F;
    border-radius: 5px 5px 0 0;
}
ul#club li img{
    border-radius: 5px 5px 0 0;
    width: 100%;
}
ul#club li p{
    display: none;
    text-align: justify;
    padding: 5px;
}
ul#club li h3{
    font-size: 18px;
    display: block;
    width: 100%;
    background-color: white;
    text-align: center;
    color: #BC392F;
    text-transform: capitalize;
    margin-top: -7px;
}
ul#club li.hovered p{
    display: block;
    color: #DD993F;
    
}
ul#club li.hovered{
    position: relative;
    border: 2px solid #BC392F;
}
ul#club li.hovered img{
    filter: sepia(0.8);
    -webkit-filter: sepia(0.8);
    -moz-filter: sepia(0.8);
    -o-filter: sepia(0.8);
    -ms-filter: sepia(0.8);
}
ul#club li.hovered div{
    position: absolute;
    bottom:0;
    background-color: white;
}

/*************************************************************************************************/
/*FOOTER*/
footer{
	display: block;
	width: 80%;
	height: auto;
	margin:auto;
	background-color: rgba(0,0,0,0.7);
	padding:5%;
}
footer p{ 
    margin:10px;
    text-align: center;
}
footer>ul{
	overflow: hidden;
}
footer>ul>li{
	float: right;
	width: 40%;
}
footer ul li#first{float: left;}
footer ul li#first ul li a{
	display: block;
	width: 10vw;
	height:10vw;
	max-width: 48px;
	max-height: 48px;
	margin:0 5px;
	float:left;
}
footer ul li#first ul li a#facebook{
	background: url('../images/fb.png');
	background-size: 100% 100%;
}
footer ul li#first ul li a#twitter{
	background: url('../images/tw.png');
	background-size: 100% 100%;
}
footer ul li#first ul li a#facebook:hover{
	background: url('../images/fb_hover.png');
	background-size: 100% 100%;
}
footer ul li#first ul li a#twitter:hover{
	background: url('../images/tw_hover.png');
	background-size: 100% 100%;
}
/*************************************************************************************************/
/*TARGET BODY*/
body:target header h1 a{
	width:50vw;
	height:35.1vw;
}
body:target nav{
	left:0;
}

.responsive{
	display: none;
}
/*************************************************************************************************/
/*MEDIAQUERIES*/
/*************************************************************************************************/
/*image de fond portrait ou paysage*/
@media screen and (orientation:landscape){
	body { 
		background-size: 100% auto;
	}

}
@media screen and (orientation:portrait){
	body { 
		background-size: auto 100%;
	}
}
@media screen and (min-width: 415px){
	nav ul{
		margin-top:180px;
	}
	ul#gallery li.button{
		font-size: 2em;
	}
}
@media screen and (min-width: 722px){
	nav{
		left:0;
		width: 30vw;
	}
	header>h1>a{
		left: 15vw;
	}
	nav a:active{
		color:#BC392F;
	}
	main,footer{
		width: 65vw;
		margin:0;
		margin-top: 5vw;
		margin-left: 100%;
		-moz-transform: translateX(-100%);
		-webkit-transform: translateX(-100%);
		-o-transform: translateX(-100%);
		-ms-transform: translateX(-100%);
		transform: translateX(-100%);
	}
	main{
		text-align: justify;
	}
	footer{
		margin-top: 0;
		height: auto;
		margin-bottom: 5vw;
		padding-bottom:15px;
		padding-top:35px;
		background-color: rgba(30,30,30,0.7);
	}
	main:before{
		display: none;
	}
	footer:after{
		content : "";
		display: block;
		width:80%;
		height:20px;
		background: url('../images/separateur.png') no-repeat;
		background-size: 100%;
		position: absolute;
		top: 0;
		max-width: 300px;
		left: 50%;
		-moz-transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	footer ul li#first ul li a#facebook, footer ul li#first ul li a#twitter{
		opacity: 0.7;
	}
	footer ul li#first ul li a#facebook:hover, footer ul li#first ul li a#twitter:hover{
		opacity: 1;
	}
	footer>ul>li{
		width: 50%;
	}
	footer > ul > li{
		text-align: right;
	}
	footer > ul > li#first{
		text-align: left;
	}
	.responsive{
		display: block;
	}
}
@media screen and (min-width: 1020px){
    
    ul#club li{
        width: 42%;
        float: left;
        height: 299px;
    }
    ul#club li:nth-of-type(2n){
        float: right;
    }
    
	footer>ul>li{
		width: 45%;
		margin-top: 12px;
	}
	footer>ul>li#first{
		width: 54%;
		margin-top: 0;
	}
	footer>ul>li#first>p{
		float: left;
		padding-top: 12px;
		margin-right: 15px;
	}
	footer>ul>li>ul>li>p{
		float: right;
		margin-left: 20px;
		display: block;
	}
	li#second{
		float: right;
	}
	form#form_contact input{
		float: left;
		width: 48%;
		height: 40px;
		margin-top: 0px;
	}
}