/* CSS reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
	

	
}
html,body {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}

address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
/* General Demo Style */
body{
	font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	
	background: #1481b0
;
	
	/* background: #1481b0
; */
	font-weight: 400;
	font-size: 15px;
	color: #fff;
	
		
	
	
}
a{
	color: #333;
	text-decoration: none;
}
.container{

	width: 100%;
	position: relative;
	text-align: center;
}
.clr{
	clear: both;
}
.container > header{
	
	
	/* padding: 30px 30px 10px 30px; */ 
		padding: 20px 15px 00px 00px;
	margin: 0px 20px 10px 20px;
	position: relative;
	display: block;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align: right;
    /*  background:url(../images/logo.jpg) right top no-repeat; */
   /*  background:url(../images/logov2teraccueil.jpg) right top no-repeat; */
    background:url(../images/logov4bis.png) right top no-repeat;
    		
			
    		
	
	
	
	
	
	
}
.container > header h1{
	/* coupure de la premiere ligne en biais  */
	
	
	font-family: 'Bitter', Arial, sans-serif;
	font-size: 30px;
	line-height: 175px;
	position: relative;
	font-weight: 400;

	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    padding: 0px 0px 5px 0px;
}


@media screen and (max-width: 767px) {
.container > header h1{
	
	
	line-height: 210px;
	
	
}	
	
}
.container > header h1 span{
	color: #000;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}
.container > header h2{
	font-size: 16px;
		position: relative;
		top: 40px; /* position par rapport au logo */
		
	font-style: italic;
	padding: 0px 0px 15px 0px;
	 text-align: right;
}
/* Header Style */
.codrops-top{
	font-family:'Arial Narrow', Arial, sans-serif;
	line-height: 24px;
	font-size: 11px;
	background: #000;
	opacity: 0.9;
	text-transform: uppercase;
	z-index: 9999;
	position: relative;
	-moz-box-shadow: 1px 0px 2px #000;
	-webkit-box-shadow: 1px 0px 2px #000;
	box-shadow: 1px 0px 2px #000;
}
.codrops-top a{
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #ddd;
	display: block;
	float: left;
}
.codrops-top a:hover{
	color: #fff;
}
.codrops-top span.right{
	float: right;
}
.codrops-top span.right a{
	float: none;
	display: inline;
}
p.codrops-demos{
    text-align:center;
	display: block;
	line-height: 30px;
	padding: 20px 0px;
	position: absolute;
	top: 15px;
	left: 20px;
}
p.codrops-demos a{
    display: inline-block;
	width: 60px;
	height: 60px;
	background: #000;
	margin: 0px 4px;
	color: #fff;
	line-height: 60px;	
	font-style: italic;
	font-weight: bold;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 50%;
	font-size: 13px;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	transition: all 0.2s linear;
	-webkit-box-shadow: 0px 0px 0px 10px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 0px 10px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 0px 10px rgba(0,0,0,0.2);
}

p.codrops-demos a:hover{
	background: #444;
}
p.codrops-demos a.current-demo,
p.codrops-demos a.current-demo:hover{
	background: #950158;

}
/* Media Queries 
@media screen and (max-width: 767px) {
	.container > header{
		text-align: center;
	}
	p.codrops-demos {
		position: relative;
		top: auto;
		left: auto;
	}
}*/

@media only screen and (min-device-width: 766px) and (orientation: portrait), screen and (max-width: 994px)   {

 /* passer tous les éléments de largeur fixe en largeur automatique */
 body, header, container,formulairecontact {
   width: auto;
   margin: 0;
   padding: 0;
 }
.container > header{
		text-align: center;
		max-width: 100%;
		margin-top: 1px; /* permet de décaler le logo et le texte inscription au concours en bas des sous menus */ 

	}

	
	
	
	p.codrops-demos {
		position: relative;
		top: auto;
		left: auto;
		
		
	}
 /* fixer une largeur maximale  de 100 % aux éléments potentiellement problématiques */
background, img, table, td, blockquote, code, pre, textarea,  iframe, object, embed, video {
   max-width: 100%;
 }
/* conserver le ratio des images et empêcher les débordements de boîtes dûs aux border ou padding */
 img {
   height: auto; width: auto;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
 }

 /* gestion des mots longs */
 textarea, table, td, th, code, pre, samp {

   word-wrap: break-word; /* passage à la ligne forcé */
   -webkit-hyphens: auto; /* césure propre */
   -moz-hyphens: auto;
   hyphens: auto;
 }
 code, pre, samp {
   white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
 }

 /* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */
  body, header, container {
   float: none;
   width: auto;
 }

 /* masquer les éléments superflus */
 .hide_mobile {
   display: none !important;
 }

 /* Un message personnalisé */
  body:after {
   content: "Version mobile du site - BON SURF";
   display: block;
   color: #000;
   text-align: center;
   font-style: italic;
 } 
}
/*
La touche finale : réduire de façon harmonieuse toutes les tailles de polices en orientation paysage (car bugguée sur les périphériques iPhone et iPad retina).
*/
@media (max-width:767px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio:2) {
  body {
   -webkit-text-size-adjust: 70%;
  }
}

