/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
@import "fonts/fonts.css";

html {height: 100%;}
body {
	font-family: "FuturaND", Futura, Helvetica, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility; 
	font-style: normal;
	font-weight: 100 !important;
	line-height: 1;
    margin: 0;
    background: -webkit-linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* Standard syntax */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );
	background-attachment: fixed;
    /*
    background: -webkit-linear-gradient(rgba(122,203,214,1), rgba(215,222,218,1)); 
    background: -o-linear-gradient(rgba(122,203,214,1), rgba(215,222,218,1)); 
    background: -moz-linear-gradient(rgba(122,203,214,1), rgba(215,222,218,1)); 
    background: linear-gradient(rgba(122,203,214,1), rgba(215,222,218,1));  */
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

iframe {
	width: 100%;
}

a {
	color: #2E93A5;
	transition: all 0.4s;
}

a:hover {
	color: #F64A58;
}
a:focus {outline:0;}

#wrap {
	width: 60%;
	height: 100%;
	margin: 10px auto 60px auto;
	text-align: center;
	position: relative;
}

#logo {
	width: 70%;
	height: auto;
}

#menu {
	color: #4db9c1;
	margin: 3% auto 0 auto;
	overflow: visible;
    white-space: nowrap;
}

#menu li {
	display: inline-block;
	margin: 5% 5%;
}

#menu a {text-decoration: none;}

#vignettes {
	text-align: left;
	font-size: 0.1px; /* IE 9/10 fix */
}

#vignettes li {
	width: 30%;
	margin:1.5%;
	display: inline-block;
}
#vignettes img {width: 100%;}

.popup {
	width: 60%;
	height: auto;
	font-size: 20pt;
	line-height: 40px;
    background: white; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgba(180,221,221,1), rgba(252,239,239,1)); /* Standard syntax */
    overflow: scroll;
    display: none;
}

.titre {
	width: 80%;
	text-align: center;
	margin: 20px auto 0 auto;
}

.square {
	width: 50vw;
	height: 50vw;
	margin: 10px auto 7% auto;
}

h1 {
	font-family: "cooper-black-std", "Cooper Std", sans-serif;
	font-style: normal;
	font-weight: 400;
	display: inline-block;
	color: #F64A58;
	margin-left: 10px;
}
.numero {color:#FAFAE4;}


h4 {font-size: 60%; float: none; color: #2E93A5;}

.croix {
	position: absolute;
	right:0;
	top:1%;
	cursor: pointer;
	float: right;
}

.prev {
	position: absolute;
	left: 0;
	top:48%;
	cursor: pointer;
	float: left;
}
.opacity {opacity: 0.7; transition: opacity 0.4s;}
.opacity:hover {opacity: 1; transition: opacity 0.4s;}

.next {
	position: absolute;
	right: 0;
	top:48%;
	cursor: pointer;
	float: right;
}

.texte {
	width: 80%;
	height: 70%;
	position: relative;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	padding: 40px 10px 60px 10px;
}

.texte h1 {
	margin: 10px auto 20px auto;
}

.texte p {
	color: #2E93A5;
	font-size: 60%;
	text-align: left;
	line-height: normal;
	margin: 10px auto 10px auto;
}

.texte a {
	color: #F64A58;
	text-decoration: none;
}
.texte a:hover {
	text-decoration: underline;
}

form {
	width: 100%;
	margin: 5% auto 0 auto;
}

input {
	margin: 10px 0;
}

form h1 {
	font-size: 130%;
	margin-bottom: 10px;
}

input[type=submit] {
	font-family: "FuturaND", Futura, Helvetica, sans-serif;
	padding: 5px 20px;
	background: #F64A58;
	border-radius: 4px;
    border: 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 2pt;
    font-size: 80%;
}

input[type=text], input[type=password] {
	font-family: "FuturaND", Futura, Helvetica, sans-serif;
	letter-spacing: 1px;
	font-size: 90%;
	padding: 5px 10px;
	width: 40%;	
}
input:focus {outline:0;}

select {width: 40%;}

.michel {
	border: 1px solid #fc4c5b;
	width: 90%;
	background: rgba(252,239,239,0.4);
	margin: 0 auto 0 auto;
	font-size: 20pt;
}
.michel .texte p {text-align: center; margin-bottom: 0px;}

#parallel {position: relative;  width: 11%; left: 50%; bottom:3%; margin-left: -5%;  /* filter: invert(100%);*/}
#parallel a {opacity:0.7; transition: all ease 0.5s;text-decoration: none; }
#parallel a:hover {opacity:1; transition: all ease 0.5s;}

@media (min-width: 1600px){
  	#vignettes li {
		width: 30%;
		transition: all 0.5s ease;
	}

}


@media only screen 
and (min-width : 481px) and (max-width : 1000px){
	body {
		width: auto;
	    margin: 0;
	    padding: 0;
	}
	
	#wrap {
		width: 90%;
	}
	
	#vignettes li {
		width: 48%;
		margin: 1%;
		transition: all 0.5s ease;
	}
	
	#menu {
		font-size: 100%;
	}
	#menu li {
		margin: 5% 2%;
	}
	
	#logo {
		width: 100%;
		height: auto;
	}
	#parallel {width: 14%; margin-left: -7%;}
}

@media only screen 
and (min-width : 321px) and (max-width : 480px){
	
	#wrap {
		width: 100%;
	}
	
	#vignettes li {
	width: 94%;
	margin: 1.5% 3% ;
	transition: all 0.5s ease;
	}
	
	#menu {
		font-size: 90%;
		margin: 30px 0 35px 0;
	}
	#menu li {
		margin: 5% 2%;
		display: block;
	}
	
	#logo {
		position: relative;
		margin: -20px auto 0 auto;
		width: 100%;
	}
	
	.popup {
		position: fixed;
		width: 100%;
		height: 100%;
	}
	
	h1 {
		font-size: 80%;
	}

	.square {
	width: 90vw;
	height: 90vw;
	}
	
	.prev, .next {display: none;}
	
	#parallel {width: 24%; margin-left: -12%; margin-bottom: 5%;}
}


@media (max-device-width:768px) and (orientation: landscape) {
  html {
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
  }
}