html,
body
{
	height: 100%;
	margin: 0;
	padding: 0;
	/*background: url('../img/bg3.png') 0 0 repeat #ccc;*/
	background-color:#f5f5f5;
  	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  	
	/*font-family: 'Montserrat', Helvetica, Arial, sans-serif;*/
	color: #333;
}

a
{
	text-decoration: none;
	color: inherit;
}

.clearfix { clear: both; }

.exergue
{
	color: #333;
	font-size: 1em;
}

.site-container
{
	position: relative;
}

.site-content
{
	position: relative;
	max-width:1000px;
	margin: 0 auto;
	padding: 0 20px;
	padding-top:60px;

}

txtHome {
  position: absolute;
  z-index: 100;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  color: #fff;
  
  font-size:calc(20px + 1vw);

  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  text-align: center;
  /* offset-x | offset-y | blur-radius | color */
  text-shadow: 2px 2px 10px rgba(0,0,0,1);
  
}
txtHome span {
  display: block;
}

txtHome mybutton {
display:block;
margin:0 auto;
margin-top:25px;
width:200px;
height:35px;
line-height:35px;
font-size : .6em;
padding:5px;
border:2px solid #F5F5F5;
border-radius:25px;
}

/*mybutton:hover { border:2px solid red; color:red;} */
/*mybutton a:link, a:visited {text-decoration:none; color:#FFF; }*/
mybutton:hover {text-decoration:none; color:red; background:#F5F5F5CC; cursor:pointer;}
/*mybutton a:active {text-decoration:none; color:#FFF; }*/


/*
.header
{
	position: relative;
	z-index: 666;
	top: 0;
	height: 66px;
	line-height: 66px;
	color: #333;
	background-color: #FFF;
}

.header__logo
{
	position: relative;
	float: left;
	top: 8px;
	left: 8px;
	height: 50px;
	width: 50px;
	background: #FFFFFF;
	opacity: 1;
	margin-right: 15px;
}

.header__logo img { width: 50px; }
.header__logo:hover { opacity: .8; }
*/


/* menu */
.menu
{
	float: left;
	font-family: 'Concert One', cursive;
	font-size: 1.2em;
}

.menu a.actif
{
	/* padding-bottom:8px; 
border-bottom:1px solid #999; */
	color: #CC0000;
}

.menu a { padding: 0 5px; }
.menu a:hover { color: #FF0000; }

/* slideshow */
#bg2
{
	position: relative;
	width: 100%;
	max-width: 1000px;
	height: 60vh;
	margin: 0 auto;
	background: url('../img/slides/slide_002.JPG') top left no-repeat transparent;
	background-position: center center;
	-webkit-background-size: cover;
	/* For WebKit*/
	-moz-background-size: cover;
	/* Mozilla*/
	-o-background-size: cover;
	/* Opera*/
	background-size: cover;
	/* Generic*/
}

#bg1
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: url('') top left no-repeat transparent;
	background-position: center center;
	-webkit-background-size: cover;
	/* For WebKit*/
	-moz-background-size: cover;
	/* Mozilla*/
	-o-background-size: cover;
	/* Opera*/
	background-size: cover;
	/* Generic*/
}

.pattern
{
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0;
	right: 0;
	background: url('../img/pattern.png') 0 0 repeat;
	z-index: 10;
	opacity: .8;
}

#footer
{
	position: fixed;
	bottom: 0;
	left:0;
	height: 30px;
	width: 100%;

	background-color: #343a40;
	line-height: 30px;
	font-size: .8em;
	text-align: center;
	margin: 0 auto;
	color:#ccc;
}

/* portfolio */
#portfolio-texte
{
	position: relative;
	
	margin: 20px 5px 20px 0;

	background-color: #F5F5F5;
	font-size: 1rem;
	line-height: 1.2rem;
}

blockquote
{
	margin: 0;
	/*padding-right: 10px;*/
	/* une paire de guillemets */
	quotes: "“\00A0" "\00A0”";
}

blockquote::before
{
font-family: 'PT Sans Narrow', sans-serif;
	position: relative;
	top: 20px;
	content: open-quote;
	font-size: 3em;
}

blockquote::after
{
font-family: 'PT Sans Narrow', sans-serif;

	position: absolute;
	bottom: -15px;
	content: close-quote;
	font-size: 3em;
	margin-left: 10px;
}




.adiv
{

	width: 100%;
	background: #fff;
	margin: 20px 0;
	padding: 20px;
	font-size: .85rem;
	line-height: 1.2rem;
	text-align:left;
	color: #666;
}


.adiv a:link, a:active {
		text-decoration:underline;
		color:#666;
	}
.adiv a:hover{
		color:red;
	}
.adiv a:visited{
			color:#666;
	}



/* page visite */
#visites { font-size: .9em; }

.visite
{
	position: relative;
	border: 1px solid #000;
	width: 80%;
	height: 40vh;
	margin: 1em auto;
	background-color: #fff;
}

/* page accueil */
#accueil
{
	position: fixed;
	top: 80px;
	left: 20px;
	right: 20px;
	padding: 0 20px;
	background-color: #FFF;
	opacity: .8;
	color: #000;
	text-align: left;
	font-family: 'Oxygen', sans-serif;
	display: block;
}

#accueil-up-btn
{
	position: relative;
	bottom: 0;
	width: 100px;
	height: 35px;
	margin: 0 auto;
	background: url('') 0 0 no-repeat #000;
	color: #fff;
	text-align: center;
	line-height: 35px;
	border-radius: 10px 10px 0 0;
	border: 1px solid #FFF;
	opacity: .8;
}

.off
{
	width: 15px;
	height: 15px;
	overflow: hidden;
}

/* page contact */
#contact { }

#contact portrait
{
	width: 96%;
	padding: 10px;
}

.portrait img { max-width: 100%; }

/* grille masonery */
#rubriques
{
	position: relative;
	width: 100%;
	margin: 0 auto;
}

#galerie {position:relative; }

.grid
{
	position: relative;
	width: 100%;
	margin-bottom: 30px;
}

/* admode */
.admode
{
	position: absolute;
	bottom: 10px;
	right: 0;
	line-height: 20px;
	text-align: center;
	width: 20px;
	height: 20px;
	padding: 1px;
	background-color: #000;
	color: #fff;
}

#galerie a:link, a:visited { text-decoration:none; color:#000; }
#galerie a:hover{ color: red; }
#galerie a:active{ color: #000; }

/* lightbox */
#gnav h4 { }

#gnav
{
	padding: 0 3px;
	font-size: .9em;
	color:#000;
}



#gcat
{
	line-height: 20px;
	text-align: left;
	margin-bottom:10px;
	}

#gcat a:link, a:visited {
	border-right: 1px solid #000;
	padding: 0 3px;
}
#gcat a:hover{ color: red; }
#gcat a:active{ color: #000; }
#gcat a:last-child { border-right: 0px solid #000; }




/* panneau menu responsive droit */
.slide_btn
{
	z-index: 100;
	position: fixed;
	top: 80px;
	left: 20px;
	width: 15px;
	height: 15px;
	line-height: 15px;
	padding: 2px;
	text-align: center;
	background: #ff0000;
	display: block;
}

.center
{
	position: relative;
	width: 90%;
	margin: 0 auto;
}

/* contact */
.box
{
	float: left;
	margin: 10px;
	width: 46%;
	min-width: 450px;
}

#plan iframe
{
	width: 100%;
	height: 95%;
}





#randomImage
{
	position: relative;
	width: 99%;
	min-height: 10px;
	padding: 20px;
	margin: 10px 0;
	background-color: #fff;
}

#randomImage img
{
	position: relative;
	width: 100%;
}

.texte
{
	padding: 10px;
	/* Fallback for web browsers that don't support RGBa */
	/* RGBa with 0.6 opacity */
	background-color: rgba(255, 255, 255, 0.8);
	/* For IE 5.5 - 7*/
	filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#99FFFFFF, endColorstr=#99FFFFFF);
	/* For IE 8*/
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99FFFFFF, endColorstr=#99FFFFFF)";
	font-size: 1em;
}

/* email app */
.field { margin: 1em 0; }

label
{
	display: block;
	margin-top: 2em;
	margin-bottom: 0.5em;
	color: #999999;
}

input
{
	width: 90%;
	padding: 0.5em 0.5em;
	margin-right: 1em;
	font-size: 1.2em;
	border-radius: 3px;
	border: 1px solid #D9D9D9;
}

textarea
{
	width: 90%;
	height: 150px;
	padding: 0.5em 0.5em;
	font-size: 1.2em;
	border-radius: 3px;
	border: 1px solid #D9D9D9;
}

button
{
	display: inline-block;
	border-radius: 3px;
	border: none;
	font-size: 0.9rem;
	padding: 0.5rem 0.8em;
	background: #69c773;
	border-bottom: 1px solid #498b50;
	color: white;
	-webkit-font-smoothing: antialiased;
	font-weight: bold;
	margin: 0;
	/*width: 93%;*/
	text-align: center;
}

button:hover,
button:focus
{
	opacity: 0.75;
	cursor: pointer;
}

button:active
{
	opacity: 1;
	box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
}

.success
{
	padding: 1em;
	margin-bottom: 0.75rem;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	color: #468847;
	background-color: #dff0d8;
	border: 1px solid #d6e9c6;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.error
{
	padding: 1em;
	margin-bottom: 0.75rem;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	color: #b94a48;
	background-color: #f2dede;
	border: 1px solid rgba(185, 74, 72, 0.3);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

/* SLIDESHOW */
.preload { display: none; }

#hslides
{
	position: relative;
	height: 60vh;
	margin: 0 auto;
	margin-bottom: 10px;
}

.hslide
{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: url('../img/slides/slide_001.jpg') top left no-repeat #f5f5f5;
	background-position: center center;
	
	 -webkit-transition: opacity 1s ease-in-out;
	  -moz-transition: opacity 1s ease-in-out;
	  -o-transition: opacity 1s ease-in-out;
	  transition: opacity 1s ease-in-out;
  
	opacity: 1;
	z-index: 1;
}

#scrollup {
position:fixed;
bottom:35px;
right:30px;
height:50px;
width:50px;
background:url('../img/goup.png') center center no-repeat;
background-size:contain;
/*display:none;*/
}


.copyright
{
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 5px;
	opacity: .8;
	color: #f5f5f5;
	/*background-color:#fff;*/
	text-shadow: 0px 0px 9px #ccc;
	line-height: .6em;
	font-size: .4em;
	font-family: 'Concert+One';
	border-radius: 5px;
}

.showing
{
	opacity: 1;
	z-index: 2;
}

.controls { display: none; }

/*
non-essential styles
*/

.hslide
{
	font-size: 40px;
	box-sizing: border-box;
	color: #fff;
	-webkit-background-size: cover;
	/* For WebKit*/
	-moz-background-size: cover;
	/* Mozilla*/
	-o-background-size: cover;
	/* Opera*/
	background-size: cover;
	/* Generic*/
}

.controls
{
	background: #333;
	color: #fff;
	padding: 10px 0px;
	font-size: 10px;
	cursor: pointer;
	border: 2px solid #fff;
	margin: 5px 0px 0px 5px;
	width: 30px;
}

.controls:hover,
.controls:focus
{
	background: #eee;
	color: #333;
}

.buttons
{
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 10;
	font-size: 0px;
}

/*  clear after grid */
#cgrid, #sgrid
{
	position: relative;
	display: block;
	clear: both;
}

/* vignettes categories */
/* These are the classes that are going to be applied: */
/* Again, you’re free to use and define the classes: */
.column { float: left; }
.size-1of1 { width: 100%; }
.size-1of2 { width: 50%; }
.size-1of3 { width: 33.333%; }
.size-1of4 { width: 25%; }
.size-1of5 { width: 20%; }
#cgrid[data-columns]::before { content: '5 .column.size-1of5'; }

#cgrid .item
{
	position: relative;
	margin: 5px 3px;
	border:1px solid #ccc;
}

#cgrid img { width: 100%; }

#cgrid .legend
{
	position: absolute;
	height: 30px;
	bottom: 0px;
	width: 100%;
	background-color: #333;
	opacity: .9;
	font-family: 'Concert One', cursive;
	font-size: 1.2em;
	color: #FFF;
	text-align: center;
}

#cgrid img:hover { opacity: .8; }

/* vignettes portfolio */
#sgrid[data-columns]::before { content: '5 .column.size-1of5'; }

#sgrid .item
{
	position: relative;
	margin: 5px 3px;
}

#sgrid img { width: 100%; }

/* --------------------------- */
/*-------- media queries ------*/
/* --------------------------- */

@media screen and (max-width: 480px)
{
	#cgrid[data-columns]::before { content: '1 .column.size-1of1'; }
	#sgrid[data-columns]::before { content: '1 .column.size-1of1'; }
	
	.visite { width:98%; }
	/*header {display:none; }*/
	/* #footer {display:none; }*/
}

@media screen and (min-width: 481px) and (max-width: 619px)
{
	#cgrid[data-columns]::before { content: '2 .column.size-1of2'; }
	#sgrid[data-columns]::before { content: '2 .column.size-1of2'; }

}

@media screen and (min-width: 620px) and (max-width: 899px)
{
	#cgrid[data-columns]::before { content: '3 .column.size-1of3'; }
	#sgrid[data-columns]::before { content: '3 .column.size-1of3'; }
}

@media screen and (min-width: 900px)
{
	#cgrid[data-columns]::before { content: '4 .column.size-1of4'; }
	#sgrid[data-columns]::before { content: '4 .column.size-1of4'; }
}

@media screen and (min-width: 1024px)
{
	#sgrid[data-columns]::before { content: '5 .column.size-1of5'; }
}



