/* put here your custom css styles */

/* apply a natural box layout model to all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

#fancybox-wrap,
#fancybox-wrap * {
	box-sizing: content-box;
}

hr {
 	border: none;
 	outline: none;
 	background: #E0E0E0;
 	height: 1px;
}

.vc_separator h4 {
line-height: 1em;
font-size: initial !important;
display: table-cell;
white-space: pre;
}

small {
	font-size: 80%;
}

.alignnone {
	margin: 5px 10px 10px 0;
}

.site_container
{
	max-width: 100%;
}
.wpb_wrapper img {
	max-width: 100%;
	height: auto;
}

.box_header {
	margin-bottom: 30px;
}

.small_slider.gallery_box {
	margin-top: 30px;
}

.simple_list {
	padding: 0;
	margin: 25px 0;
}

/* Post content */
.post_content *:first-child,
.wpb_text_column  *:first-child,
.wpb_raw_code  *:first-child
{
	margin-top: 0;
}
.post_content h1,
.wpb_text_column h1,
.wpb_raw_code h1,
.post_content h2,
.wpb_text_column h2,
.wpb_raw_code h2,
.post_content h3,
.wpb_text_column h3,
.wpb_raw_code h3,
.post_content h4,
.wpb_text_column h4,
.wpb_raw_code h4
{
	margin-top: 30px;
	margin-bottom: 15px;
	line-height: 120%;
}
.post_content p, .columns .post_content p,
.wpb_text_column p, .columns .wpb_text_column p,
.wpb_raw_code p, .columns .wpb_raw_code p
{
	line-height: 150%;
	margin-top: 0;
	margin-bottom: 1em;
	padding: 0;
	text-align: justify;
}
.post_content blockquote p,
.wpb_text_column blockquote p,
.wpb_raw_code blockquote p
{
	padding: 0;
}
.post_content ul,
.wpb_text_column ul,
.wpb_raw_code ul,
.post_content ol,
.wpb_text_column ol,
.wpb_raw_code ol {
	line-height: 150%;
	margin-bottom: 1em;
}
.post_content li,
.wpb_text_column li,
.wpb_raw_code li {
	margin-bottom: 8px;
}
.blog.column_left > li,
.blog.column_right > li {
	width: 100%;
}

.addthis-toolbox {
	margin: 30px 0;
}


#comments_list .comment_details {
	width: 540px;
}
#comments_list .children .comment_details {
	width: 500px;
}

#comment_form .right {
  margin-left: 15px;
}

/* home slider */
.site_container .slider li {
	background-size: 100%;
}

@media screen and (min-width: 1010px) {
	.slider li {
		height: 600px;
	}
	.slider_content_box {
		margin-top: -507px;
		min-height: 226px;
	}
}
@media screen and (min-width: 767px) {
	.home_box {
		min-height: 340px;
		height: inherit;
	}
}
@media screen and (max-width: 1009px){
	.slider_content_box {min-height: 220px;}
	#comments_list .comment_details {
		width: 391px;
	}
	#comments_list .children .comment_details {
		width: 351px;
	}
}
@media screen and (max-width: 767px){
	.slider_content_box {min-height: 150px;}
	#comments_list .comment_details {
		width: 359px;
	}
	#comments_list .children .comment_details {
		width: 319px;
	}
}
@media screen and (max-width: 479px){
	.slider_content_box {min-height: 120px;}
  
  #comment_form .right {
    margin-left: 0;
  }
}
	
.items_list li {
	padding: 10px 0;
}
.items_list.opening_hours.blue li {
	border-color: #359cd7;
}
.items_list.opening_hours.lightblue li {
	border-color: #7ac9ec;
}

/* Style pour l'icon d'accueil */
.home-icon a {
	text-indent: -999px;
	overflow: hidden;
	min-width: 60px;
	position: relative;
}
.home-icon a:after {
	content: '';
	display: block;
	width: 26px;
	height: 26px;
	background: url(images/home-icon.png) no-repeat 0 -26px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -13px;
	margin-left: -13px;
}
.home-icon:hover a:after,
.home-icon.selected a:after,
.home-icon.current-menu-item a:after,
.home-icon.current-menu-ancestor a:after {
	background-position: 0 0;
}

/* helpers */
.float-left {float: left !important;}
.float-right {float: right !important;}

/* logo */
.logo
{
	float: left;
	color: #575757;
	max-width: 250px;
	display: block;
	font-size: 24px;
	margin-top: 10px;
	padding-top: 0;
}
.header.layout_2
{
	padding-bottom: 0;
}
.header.header-logo {
	padding-bottom: 24px;
}

.header.layout_2 .header_top_right_sidebar_container
{
	padding-top: 25px
}

/* Page header */
.page_header.no-line
{
	border-bottom: none;
}

/* avec image */
.page_header_image {
	height: 250px;
}
.page_header_image img {
	top: inherit;
	bottom: 0;
	right: inherit;
	left: 0;
}
.page_header_image h1 {
	position: absolute;
	bottom: 10px;
	left: 0;
	color: #fff;
	padding: 5px 20px;
	max-width: 570px;
}

@media screen and (max-width: 479px) {
	.logo {float: none; margin: 20px auto 0;}
	.header_left {text-align: center;}
	.header_left_logo a img {float: none; margin: 0;}
	.header.layout_2 .header_top_right_sidebar_container {margin-top: 0;}
}

/* Navigation primaire */
.sf-menu {
	position: relative;
}
.sf-menu li {
	position: static;
}
.sf-menu li.mega-menu > a:after {
	content: '';
	display: inline-block;
	background: url('style/images/ui-icons_454545_256x240.png') no-repeat -69px -6px;
	width: 7px;
	height: 6px;
	margin-left: 8px;
}
.sf-menu li.mega-menu.open > a:after {
	background: url('style/images/ui-icons_454545_256x240.png') no-repeat -4px -6px;
	width: 7px;
	height: 6px;
}

.sf-menu li.mega-menu ul {
	width: 100%;
	left: 0;
	padding: 15px 0;
}

.header.layout_2 .sf-menu li.submenu:hover > a,
.sf-menu li.submenu:hover > a
{
	color: #000;
	background: #FFF;
	border-color: #E8E8E8;
	border-bottom: none;
}
.sf-menu li.submenu:hover:before {content: none;}
.sf-menu li.submenu:hover:after {content: none;}

.header.layout_2 .sf-menu li.mega-menu.open > a,
.sf-menu li.mega-menu.open > a
{
	z-index: 202;
	color: #000;
	background: #FFF;
	border-color: #E8E8E8;
	border-bottom: 1px solid #FFF;
}


.sf-menu li.mega-menu ul li > a {
	height: 70px;
}
.sf-menu li.mega-menu ul .section {
	width: 50%;
	padding: 0;
	margin: 0;
}


/* Titres des section */
.sf-menu li.mega-menu ul .section > a {
	border: none !important;
	padding: 8px 10px !important;
	font-size: 10px;
	text-transform: uppercase;
	cursor: default;
	height: inherit;
	color: #fff !important;
}
.sf-menu li.mega-menu ul .section.lightblue > a {
	margin-left: 5px;
	background: #42B3E5 !important;
}
.sf-menu li.mega-menu ul .section.blue > a {
	margin-right: 5px;
	background: #0384CE !important;
}

.sf-menu li.mega-menu ul .section ul {
	position: static;
	border: none;
}
.sf-menu li.mega-menu ul .section ul li {
	width: 50%;
}
.sf-menu li.submenu ul > li {
	width: 25%;
}


.header.layout_2 .sf-menu li ul a,
.header.layout_2 .sf-menu li.submenu ul a,
.header.layout_2 .sf-menu li.current-menu-ancestor a {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
}
.sf-menu li.current-menu-ancestor a {
	background: #fff;
	color: #888;
	border-bottom: 1px solid #e8e8e8;
}

.header.layout_2 .sf-menu li.current-menu-ancestor.menu-item-has-children > a,
.sf-menu li.current-menu-ancestor.menu-item-has-children > a {
	background: #42B3E5;
	color: #fff !important;
	border-left-color: #42b3e5;
	border-right-color: #42b3e5;
}
.header.layout_2 .sf-menu li.current-menu-ancestor.menu-item-has-children > a:after,
.sf-menu li.current-menu-ancestor.menu-item-has-children > a:after {
	background-image: url('style/images/ui-icons_ffffff_256x240.png');
}

.header.layout_2 .sf-menu li.menu_separator {
	position: relative;
	margin-left: 0;
}
.header.layout_2 .sf-menu li {
	margin-left: 0;
}
.header.layout_2 .sf-menu li.submenu,
.header.layout_2 .sf-menu li.submenu + li.menu_separator {
	margin-left: -1px;
}
.header.layout_2 .sf-menu li.current-menu-ancestor.menu-item-has-children,
.sf-menu li.current-menu-ancestor.menu-item-has-children,
.sf-menu li.current-menu-ancestor.menu-item-has-children + li.menu_separator,
.header.layout_2 .sf-menu li.current-menu-ancestor.menu-item-has-children + li.menu_separator {
	margin-left: 0;
}

.mega-menu.open ul {
	top: 44px;
	z-index: 201;
}
@media screen and (max-width:1009px) {
	.mega-menu.open ul {
		top: 38px;
	}
}


/* Navigation secondaire */
.menu-navigation-secondaire-container {
	float: left;
}
.menu-navigation-secondaire-container ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu-navigation-secondaire-container ul li {
	list-style: none;
	float: left;
	margin-top: 0;
	margin-right: 20px;
}
.menu-navigation-secondaire-container a {
	width: auto;
	display: block;
	text-align: center;
	color: #666;
	padding: 10px 0 8px;
	border-bottom: 1px solid #E0E0E0;
}
.menu-navigation-secondaire-container a:hover,
.menu-navigation-secondaire-container .current-menu-item a {
	border-bottom: 2px solid #42B3E5;
	color: #000;
}

/* search bar */
.header_top_right_sidebar .search {
	float: right;
}

@media screen and (max-width: 767px) {
	.menu-navigation-secondaire-container ul li {float: none; display: inline-block;}
	.menu-navigation-secondaire-container {float: none;}
	.header_top_right_sidebar .search {float: none; width: 100%; margin-top: 20px;}
	.search .search_input, .search .search_input:focus {width: 100%;}
}

/* Sidebar */
.contact_data li:first-child {
	border-top: none;
}

/* search page */
.filter-option {
	float: right;
	margin-top: 10px;
	display: inline-block;
}
.search .page {
	margin-top: 30px;
	float: left;
	background: #eee;
	padding: 10px;
}
.search .page .post_footer {
		display: none;
	}

/* footer */
.post-functions {
	padding: 10px 0;
}
.post-functions a {
	color: #909090;
	border-color: #909090;
	font-size: 11px;
}
.post_footer_details
{
	width: 100%;
	margin-bottom: 10px;
}
.post_footer_details li
{
	line-height: 1.2;
	margin-bottom: 0 !important;
}
.post_footer_details.post_footer_cat li {
	float: none;
}
.post_footer,
.simple .post_footer {
	margin-top: 15px;
}
.footer_contact_info_right {
	margin-left: 0;
}

a[href^=tel],
a[href^=tel]:hover{
    color:inherit;
    text-decoration:none;
}

.footer_box .box_header {
	margin-bottom: 0;
	height: 48px;
}
.info {
	padding: 30px 0;
}

@media screen and (max-width: 767px) {
	.post_footer_details li {
		line-height: 20px;
		font-size: 12px;
	}
	.footer_box .box_header {
		height: inherit;
	}
	.filter-option {float: none;}
}

/* Articles sticky */
.simple .sticky {
	border: 1px solid #E0E0E0;
	padding: 10px;
	background: #fff;
}
.simple .sticky .text {
	overflow: hidden;
}
.simple .sticky .text h2 {
	font-size: 18px;
	margin: 10px 0;
}
.simple .sticky .post_footer {
	border-bottom: none;
	padding-bottom: 0;
}
.sticky .post_content {
	border-bottom: 2px solid #E0E0E0;
}

.blog.simple {
	margin-bottom: 30px;
}

/* lites de documents */
.recherche-doc {

}
.recherche-doc span {
	float: left;
	line-height: 29px;
	margin-right: 15px;
	padding: 5px;
}

.file-list {
	/*Gradient background*/
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
	
	/*Drop shadow*/
	-webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2); 
	
	/*Rounded corners*/
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px; 

	/*Text shadow*/
	text-shadow: 0px 2px 0px #fff;
	
	border:solid 1px #ccc;	
	color:#21759B;
	cursor:pointer;
	display:block;	
	font-size:14px;
	line-height:1.2em;
	margin:10px 0;
	padding:10px 10px 10px 35px;
	*padding:10px;/*ie6/7 don't support pseudo elements so no need to make space for the icon*/
	position:relative;
	text-decoration:none;
	zoom:1;
}

.file-list:after
{
	content:"";			
	display:block;		
	height:20px;
	left:10px;
	margin-right:2px;		
	position:absolute;		
	top:11px;
	width:20px;
}

.file-list:hover
{
	background-color:#ccc;
	border-color:#aaa;
	color:#3156A3;
}

.file-list:active
{
	-webkit-box-shadow: inset 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: inset 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0px 2px 2px 0px rgba(0, 0, 0, 0.2); 

	background-color:#ededed;	
	background-position:0 -10px;
	background-repeat:repeat-x;
	border-color:#aaa;
}

.file-list.doc:after{background:transparent url(images/file-list/page_word.png) no-repeat 0 0;}
.file-list.pdf:after{background:transparent url(images/file-list/page_white_acrobat.png) no-repeat 0 0;}
.file-list.ppt:after{background:transparent url(images/file-list/page_white_powerpoint.png) no-repeat 0 0;}
.file-list.xls:after{background:transparent url(images/file-list/page_excel.png) no-repeat 0 0;}
.file-list.video:after{background:transparent url(images/file-list/film.png) no-repeat 0 0;}
.file-list.zip:after{background:transparent url(images/file-list/page_white_zip.png) no-repeat 0 0;}

.file-desc {
	display: block;
	margin-top: 5px;
}