/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 12px 'Open Sans', Arial, sans-serif;
	color:#444;
}

body.le-chateau{
	background: #fff url(img/background/Gratot1050r.jpg) no-repeat top center;
}

body.visiteacces{
	background: #fff url(img/background/Gratot1050r.jpg) no-repeat top center;
}

body.actualitesevenements {
	background: #fff url(img/background/Gratot1050r.jpg) no-repeat top center;
}

body.contact{
	background: #fff url(img/background/Gratot1050r.jpg) no-repeat top center;
}
body.single, body.category, body.archive, body.search{
	background: #fff url(img/background/Gratot1050r.jpg) no-repeat top center;
}


body.le-chateau main,body.visiteacces main,body.actualitesevenements main,body.contact main {
	padding: 20px;
}
body.single main, body.category main, body.archive main, body.search main{
	padding:20px;
}


/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}


img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1020px;
	width:95%;
	margin:0 auto;
	position:relative;
	background-color: rgba(255, 255, 255, 0.95);
	margin-top: 20px;
}
/* header */

.header{
	width:100%;
}

.header-lang{
	width:100%;
	background: #4f4f4f url(img/debut_dark.png) repeat top left;
}

.header-menu{
	width:100%;
	background: #fff;
}

.header-slider{
	width:100%;
	background:black;
}

	.header-lang-wrapper{
		width: 1020px; 
		height:19px;
		margin:0px auto;
		color:white;
	}
		.logo-icon{
			position:absolute;
			float:left;
			margin-left:48px;
			z-index: 100;
		}
		.lang-select{
			float:right;
			margin:0 50px 0 0;
		}
		.lang-select a{
			color:#fff;
		}
		.lang-select a:hover{
			text-decoration:underline;
		}
		.lang-select a.current-language{
			color:#a7a7a7;
		}
		.header-lang-wrapper .social {
			float:right;
			padding-top:3px;
			padding-right:30px;
		}
			.header-lang-wrapper .social a {
				margin-left:6px;
			}
				.header-lang-wrapper .social a img {
					opacity:1;
					transition:all 0.6s ease;
				}
					.header-lang-wrapper .social a:hover img {
						opacity:0.7;
					}
	
	.header-menu-wrapper{
		width: 1020px; 
		margin:0px auto;
		color:black;
		background:white;
		height:67px
	}
	
		.logo{
			float:left;
			margin-left:118px;
			margin-top: 21px;
			font-family:'steinemroman', Georgia, serif;
			font-size:23px;
		}	


		

		.header-menu .menu-mobile{
			list-style:none;
		}
		
		.header-menu .menu{
			list-style:none;
			float:left;
			margin:25px 0 0 138px;
			padding:0;
		}

			.header-menu .menu li{
				float:left;
				margin: 0 9px;
				font-size: 14px;
				padding: 0 2px;
				font-family:'Open Sans', arial, sans-serif;
				
			}

				.header-menu .menu li:first-child{
					float:left;
					margin: 0 9px 0 0;
				}
				
				.header-menu .menu li:last-child{
					float:left;
					margin: 0 0 0 9px;
				}
				
				.header-menu .menu li#menu-item-20:hover, .header-menu .menu li#menu-item-241:hover {
					border-bottom:2px solid #3a9d32;
				}	
				.header-menu .menu li#menu-item-19:hover, .header-menu .menu li#menu-item-240:hover {
					border-bottom:2px solid #f7a700;
				}					
				.header-menu .menu li#menu-item-18:hover, .header-menu .menu li#menu-item-255:hover {
					border-bottom:2px solid #78b4e8;
				}	
				.header-menu .menu li#menu-item-17:hover, .header-menu .menu li#menu-item-253:hover {
					border-bottom:2px solid #dc4848;
				}
				.header-menu .menu li#menu-item-16:hover, .header-menu .menu li#menu-item-259:hover {
					border-bottom:2px solid #965d9f;
				}		
												
	.header-slider-wrapper{
		width: 1020px; 
		margin:0px auto;
		color:white;
		height:509px;
		background:white;
	}

	#simple-menu{
		float: right;
		margin: 13px 50px 0 0;
	}

	#simple-menu {
		-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
		-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
		box-shadow:inset 0px 1px 0px 0px #ffffff;
		background-color:#f9f9f9;
		-webkit-border-top-left-radius:0px;
		-moz-border-radius-topleft:0px;
		border-top-left-radius:0px;
		-webkit-border-top-right-radius:0px;
		-moz-border-radius-topright:0px;
		border-top-right-radius:0px;
		-webkit-border-bottom-right-radius:0px;
		-moz-border-radius-bottomright:0px;
		border-bottom-right-radius:0px;
		-webkit-border-bottom-left-radius:0px;
		-moz-border-radius-bottomleft:0px;
		border-bottom-left-radius:0px;
		text-indent:0;
		border:1px solid #dcdcdc;
		display:inline-block;
		color:#666666;
		font-family:Arial;
		font-size:15px;
		font-weight:bold;
		font-style:normal;
		height:40px;
		line-height:40px;
		width:100px;
		text-decoration:none;
		text-align:center;
		text-shadow:1px 1px 0px #ffffff;
	}
	#simple-menu:hover {
		background-color:#e9e9e9;
	}
	#simple-menu:active {
		position:relative;
		top:1px;
	}


/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
    width:100%;
    margin-top:50px;
    background:#2e2e2e url(img/bg-footer.png) repeat top left;
    border-top:2px solid #828282;
}

	.footer-dashed-line {
		padding:3px 0 0 0;
		border-bottom:1px dashed #555;
	}

	.footer-wrapper{
		width: 1020px; 
		height:19px;
		margin:0px auto;
		color:white;
	}

	.footer-wrapper ul {
	    margin: 0;
	    padding: 0;
	    list-style: none;
	    color:white;
	}

		.footer-wrapper ul li{
		    margin: 5px 0;
		    padding: 0;
		    font-size: 11px;
		}

		.footer-wrapper ul a{
		    color:#c8c8c8;
		}

		.footer-wrapper ul a:hover{
		    color:#fff;
		}

	.footer-plan, .footer-utiles, .footer-contact{
		float:left;
		width:33%;
	}
	

	.footer-wrapper h3{
		font-size:16px;
		margin: 45px 0 10px 0;
	}

	.footer-copyright {
		border-top:1px dashed #555;
		padding:3px;
		margin-top:50px;
		color:#c8c8c8;
		font-size:11px;
		text-align:center;
		display:block;
	}



/*------------------------------------*\
    PAGES
\*------------------------------------*/


	/*--------CONTAINER GRATOT ROUGE BASIC------*/
	
	.gratot-container-red{
		-webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.75);
		-moz-box-shadow:    0px 2px 5px 0px rgba(50, 50, 50, 0.75);
		box-shadow:         0px 2px 5px 0px rgba(50, 50, 50, 0.75);	
	}

		.gratot-container-red .gcr-title{
			background:transparent url(img/grc-bg-header.jpg) repeat-x;
			height:51px;
		
		}
		
		.gratot-container-red .gcr-title h2{
			display:block;
			font-size: 20px;
			color: white;	
			line-height:51px;
			float:left;
			margin:0 0 0 14px;
			font-weight:400;
		}
		
		.gratot-container-red .gcr-title a{
			display:block;
			float:right;
			margin:6px 18px 0 0;
		}

		.gratot-container-red .gcr-texte{
			float:left;
			width:50%;
		}
		
		.gratot-container-red .gcr-image{
			float:left;
			width:50%;			
		}	
		
			.gratot-container-red .gcr-image img{
				float:right;			
			}	
				
		.gcr-wrapper{
			padding:23px 10px 23px 10px;
		}	


	/*--------CONTAINER GRATOT JAUNE BASIC------*/
	
	.gratot-container-yellow{
		-webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.75);
		-moz-box-shadow:    0px 2px 5px 0px rgba(50, 50, 50, 0.75);
		box-shadow:         0px 2px 5px 0px rgba(50, 50, 50, 0.75);		
	}

		.gratot-container-yellow .gcy-title{
			background:transparent url(img/gyc-bg-header.jpg) repeat-x;
			height:51px;
		
		}
		
		.gratot-container-yellow .gcy-title h2{
			display:block;
			font-size: 20px;
			color: white;	
			line-height:51px;
			float:left;
			margin:0 0 0 14px;
			font-weight:400;
		}
		
		.gratot-container-yellow .gcy-title a{
			display:block;
			float:right;
			margin:6px 18px 0 0;
		}

		.gratot-container-yellow .gcy-texte{
			float:left;
			width:50%;
			font-size:14px;
		}
		
		.gratot-container-yellow .gcy-image{
			float:left;
			width:50%;			
		}	
		
			.gratot-container-yellow .gcy-image img{
				float:right;			
			}
					
		.gcy-wrapper{
			padding:10px 10px 0 10px;
		}
		
		.gratot-container-yellow .read-more {
			color:#e09800;
			font-size:12px;
			font-weight:700;
			text-decoration:none;
		}
		.gratot-container-yellow .read-more:hover {
			text-decoration:underline;
		}

	/*--------CONTAINER GRATOT BLEU BASIC------*/
	
	.gratot-container-blue{
		-webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.75);
		-moz-box-shadow:    0px 2px 5px 0px rgba(50, 50, 50, 0.75);
		box-shadow:         0px 2px 5px 0px rgba(50, 50, 50, 0.75);			
	}

		.gratot-container-blue .gcb-title{
			background:transparent url(img/gbc-bg-header.jpg) repeat-x;
			height:51px;
		
		}
		
		.gratot-container-blue .gcb-title h2{
			display:block;
			font-size: 20px;
			color: white;	
			line-height:51px;
			float:left;
			margin:0 0 0 14px;
			font-weight:400;
		}
		
		.gratot-container-blue .gcb-title a{
			display:block;
			float:right;
			margin:6px 18px 0 0;
		}

		.gratot-container-blue .gcb-texte{
			float:left;
			width:50%;
			font-size:14px;
		}
		
		.gratot-container-blue .gcb-image{
			float:left;
			width:50%;			
		}	
		
			.gratot-container-blue .gcb-image img{
				float:right;
			}
					
		.gcb-wrapper{
			padding:10px 10px 23px 10px;
		}	
	
		.gratot-container-blue .read-more {
			color:#6FA9D9;
			font-size:12px;
			font-weight:700;
			text-decoration:none;
		}
		.gratot-container-blue .read-more:hover {
			text-decoration:underline;
		}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

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

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

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

	div.gcr-block-posts .thumb{
		position:relative;
		height:135px;
		background-size:cover;
		width:100%;
	}

}

@media only screen and (min-width:540px) {
	
	div.gcr-block-posts .thumb{
		position:relative;
		height:200px;
		background-size:cover;
		width:100%;
	}
	
}

@media only screen and (max-width:540px) {
	
	body{
		background:white !important;
	}
	
	.header-slider{
		display:none;
	}
	
	#simple-menu {
		float: right;
		margin: 65px 5% 0 5%;
		width: 90% !important;
	}	

	.logo{
		margin-top: 31px;
	}
	
	.logo img{
		width:180px;
		height:auto;
	}
	
	img{
		height: auto;
	}

	.searchArticle button, .searchCategory button {
		width: 100% !important;
		margin:10px 0 20px 0 !important;
	}	
		
	.searchCategory select {
		width: 100% !important;
		vertical-align: top;
		padding: 7px 0 0 10px;
		color: #363636;
		background-color: transparent;
		margin: 0 0 0 0 !important;
	}	

	.wrapperSelect {
		width: auto !important;
		height: auto !important;
		overflow: auto !important;
		background: none !important;
		display: inherit !important;
	}
	
}

@media only screen and (min-width:768px) {
	
	div.gcr-block-posts .thumb {
		position:relative;
		height:300px;
		background-size:cover;
		width:100%;
	}
	
}

@media only screen and (max-width:1100px) {

	/* footer */
	.footer-wrapper{
		width:80%;
		margin:0 auto;
	}
	
		.footer-plan {
			display:none;
		}
	
		.footer-utiles, .footer-contact{
			display:block;
			width:100%;
			text-align:center;
		}


	/* HEADER + MENU */

	.header-menu-wrapper {
		width:100%;
	}
	
	.header-lang-wrapper{
		width:100%;
	}

	.header-menu .menu{
		display:none;
	}
	
	/* HOME */
	
	div.gcr-block-posts {
		float: none !important;
		width: 96% !important;
		margin: 2% 2% 5% 2% !important;
		border-bottom:1px dashed #dc4848;
		padding-bottom: 15px;
	}	

	div.gcr-block-posts:last-child {
		float: none !important;
		width: 96% !important;
		margin: 2% 2% 2% 2% !important;
		border-bottom:0px dashed #dc4848;
	}
	
	.gratot-container-yellow .gcy-texte, .gratot-container-blue .gcb-texte {
		float: none;
		width: 100%;
		font-size: 14px;
	}

	.gratot-container-yellow .gcy-image, .gratot-container-blue .gcb-image {
		float:inherit;
		width: 100%;
		padding:10px 0;
		text-align:center;		
	}

	.gratot-container-yellow .gcy-image img, .gratot-container-blue .gcb-image img{
		float:none;		
	}
	
	.sl-slider h2 {
		font-size: 48px;
		text-shadow: 2px 2px 2px rgba(0,0,0,0.4);
		line-height: 54px;
		padding: 125px 0 0 100px;
	}
	
}

@media only screen and (min-width:1100px) {
	#simple-menu{
		display:none;
	}
	
	div.gcr-block-posts .thumb{
		position:relative;
		height:135px;
		background-size:cover;
		width:100%;
	}

}


@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	/*a[href]:after {
		content:" (" attr(href) ")";
	}*/
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	/*.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}*/
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

