/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

#s5_map_canvas img { max-width:none !important;}


/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	/* DEFAULT
	----------------- */

	.s5_wrap {
	width:100% !important;
	}
	
	.s5_is_display, .s5_is_slide {
	position:relative !important;
	}
	
	.s5_is_slide {
	height:auto !important;
	}
	
	#fontControls {
	display:none;
	}
	
	/* CUSTOM
	----------------- */
	
	body {
	font-size:0.7em !important;
	}
	
	.s5_wrap {
	width:96% !important;
	}
	
	.module_round_box_outer, #s5_menu_wrap_inner2 {
	margin-left:15px;
	margin-right:15px;
	}
	
	#s5_header_wrap, #s5_footer_area_inner2, #s5_breadcrumb_font_wrap, #s5_component_wrap_inner {
	padding-left:15px;
	padding-right:15px;
	}
	
	
	#s5_bottom_menu_wrap li {
	margin-left:0px;
	}
	
	#s5_bottom_menu_wrap {
	float:left;
	margin-top:14px;
	}
	
	#s5_footer, #s5_bottom_menu_wrap {
	width:100%;
	}
	
}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:580px) and (max-width: 970px){

	
	/* CUSTOM
	----------------- */
	
	.featured_image { 
	display:none;
	}
	
}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

@media screen and (max-width: 750px){

	/* CUSTOM
	----------------- */
	
	#s5_search_wrap {
	}
	#search-3{display:none !important;}
}


/* CUSTOM SIZES
----------------------------------------------------------- */




/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media screen and (max-width: 736px){

	/* DEFAULT
	----------------- */

	#s5_right_column_wrap_inner .s5_float_left, #s5_left_column_wrap_inner .s5_float_left {
	float:none;
	}

	#s5_columns_wrap_inner {
	width:100%;
	}

	#s5_center_column_wrap {
	width:100%;
	left:100%;
	}

	#s5_left_column_wrap {
	left:0%;
	}
	
	#s5_left_top_wrap, #s5_left_column_wrap, #s5_left_inset_wrap, #s5_left_wrap, #s5_left_bottom_wrap, #s5_right_top_wrap, #s5_right_column_wrap, #s5_right_inset_wrap, #s5_right_wrap, #s5_right_bottom_wrap, #s5_top_row1 .s5_float_left, #s5_top_row2 .s5_float_left, #s5_top_row3 .s5_float_left, #s5_top_row4 .s5_float_left, #s5_top_row5 .s5_float_left,#s5_top_row6 .s5_float_left, #s5_above_columns_inner .s5_float_left, #s5_middle_top .s5_float_left , #s5_middle_bottom .s5_float_left, #s5_below_columns_inner .s5_float_left, #s5_bottom_row1 .s5_float_left, #s5_bottom_row2, .s5_float_left, #s5_bottom_row3 .s5_float_left, #s5_above_body .s5_float_left, #s5_below_body .s5_float_left {
	width:100% !important;
	}
	
	#s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	#s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	#s5_right_column_wrap {
	margin-left:14px !important;
	}
	
	.items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}
	
	/* CUSTOM
	----------------- */
	
	.featured_image { 
	display:block;
	margin:0px;
	margin-bottom:10px;
	margin-left:auto;
	margin-right:auto;
	}
	
}


@media screen and (max-width: 1100px){

	#s5_top_row1_area1 {
	}

}


/* S5 BOX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	#colorbox {
	width:50% !important;
	height:auto !important;
	}
	
	#cboxWrapper {
	width:100% !important;
	}
	
	#cboxContent, #cboxLoadedContent {
	width:100% !important;
	height:auto !important;
	}
	
	#colorbox {
	left:25% !important;
	width:50% !important;
	height:100% !important;
	top:25% !important;
	}
	
}

@media screen and (max-width: 750px){

	#cboxOverlay, #colorbox {
	display:none !important;
	}
	
}












/* SINGLE COLUMN FOR SMALL TABLETS - THIS IS ONLY USED FOR IE7 AND IE8. THE CLASS IS SET WITH JAVASCRIPT FOR IE ONLY
----------------------------------------------------------- */

@media screen and (max-width: 750px){
	
	.s5_ie_single_column #s5_right_column_wrap_inner .s5_float_left, .s5_ie_single_column #s5_left_column_wrap_inner .s5_float_left {
	float:none  !important;
	}

	.s5_ie_single_column #s5_columns_wrap_inner {
	width:100%  !important;
	}

	.s5_ie_single_column #s5_center_column_wrap {
	width:100%  !important;
	left:100%  !important;
	}

	.s5_ie_single_column #s5_left_column_wrap {
	left:0%  !important;
	}
	
	.s5_ie_single_column #s5_left_top_wrap, .s5_ie_single_column #s5_left_column_wrap, .s5_ie_single_column #s5_left_inset_wrap, .s5_ie_single_column #s5_left_wrap, .s5_ie_single_column #s5_left_bottom_wrap, .s5_ie_single_column #s5_right_top_wrap, .s5_ie_single_column #s5_right_column_wrap, .s5_ie_single_column #s5_right_inset_wrap, .s5_ie_single_column #s5_right_wrap, .s5_ie_single_column #s5_right_bottom_wrap {
	width:100% !important;
	}
	
	.s5_ie_single_column #s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	.s5_ie_single_column #s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	.s5_ie_single_column #s5_right_column_wrap {
	margin-left:0px !important;
	}
	
	.s5_ie_single_column  .items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}

}
/***************************************/
	@media screen and (min-width: 568px){
		#prev-post{display:table;}
		#prev-post .thumbnail{ display: table-cell;  width: 150px;}
		#prev-post .infos{ display: table-cell;}
		#prev-post .more{ display: table-cell;}
			}
	/***********************************/
@media screen and (max-width: 1024px){
	#s5_header_wrap{text-align:center;}
	#s5_logo{float:none;}
	#s5_loginreg, #s5_search_wrap, #s5_search_login_wrap{float:none;}
	#s5_search_wrap .moduletable{float:none; display:inline-block;margin-bottom:10px;}
	
	
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:28%;}
	.bloc_google_top{top:12px;}
	#s5_bottom_menu_wrap{ width:62%;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2) a::before,#s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) a::before{display:inline; padding-right:10px;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
    width: 85% !important;
}
.tribe-events-list .tribe-events-loop .tribe-events-content, .tribe-events-list .tribe-events-event-image + div.tribe-events-content{width:100%;}
	#s5_top_row5_area1 .custom.notitle{padding-top:0}

	}
@media screen and (min-width:768px) and (max-width: 1024px){

#s5_menu_wrap_inner2 #s5_social_bar{display:none;}
.home #s5_top_row1_area1{background: #02b2b2 url("../images/neobienetre-particulier.jpg") no-repeat scroll 0 0 / 50% 100% !important;}
#s5_pos_below_body_1 ul.rfpw-show-post li{width:26%;}
#s5_pos_top_row4_1, #s5_pos_top_row4_2{width:50% !important;}

#s5_pos_top_row4_3{width:100% !important;}
#s5_pos_top_row4_3 #nos-engagements li{width:50%; float:left; height:25px;}
#s5_right_column_wrap .module_round_box.bloc_couleur a .titre{font-size:1.2em;}
	#s5_social_clear, #s5_social_bar_narrow_screen {
	display:table; margin:0 auto;
	}
	

}
@media screen and (min-width:737px) and (max-width: 768px){
	.bloc_ville{width:42%; }
	.bloc_ville:nth-child(3n+0) { clear:none;}
	.bloc_ville:nth-child(2n+0) {clear:both;}
	
}

@media screen and (max-width: 768px){
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:71%;}
	#s5_pos_bottom_row3_1{float:none;}
	#s5_pos_bottom_row3_2{margin-top:15px;float:none;}
	#s5_pos_below_body_1 ul.rfpw-show-post li{width:25%;}
	#s5_footer_module{float:none;}
	#s5_bottom_menu_wrap{float:none; width:100%;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
    width: 87% !important;
	
}	.readmore{display:inline-block;}
	#tribe-events-pg-template{padding:0 !important;}
	#box-filtres #btn_search{width:auto !important;margin-top:5px;}
#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
  width: 80% !important;
}

	}
@media screen and (max-width: 736px){
			.home #s5_top_row1_area1 {
  background-position: center top !important;
  background-size: 100% 42% !important;
}
#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
  width: 90% !important;
}	.home #s5_top_row1_area1{padding:0;}
	.home #s5_pos_top_row1_1 { padding:20px 10px;}
	.home #s5_pos_top_row1_2{padding:20px 10px;}
	.home #s5_top_row1_area1 .s5_wrap{width:100% !important}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:40%;}
	#s5_top_row5_area1{background-size:contain !important;}
	#s5_top_row5_area1 .custom{width:100%; padding-top:66px;}

	#alo_easymail_widget_form{float:none;}
	#s5_pos_bottom_row3_2{margin-top:15px;}
	
	.module_round_box_outer, #s5_menu_wrap_inner2 {
	margin-left:15px;
	margin-right:15px;
	}
	#s5_right_column_wrap_inner .module_round_box_outer, #s5_bottom_row1_area1 .module_round_box_outer{margin-right:30px;}
	#s5_pos_bottom_row3_1, #s5_pos_bottom_row3_2{overflow:hidden;}

	#s5_header_area1{padding:15px 0;}

	}
@media screen and (max-width: 667px){
	
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:36%;}
	#s5_breadcrumb_wrap .espaces{float:none; display:block;}
	#s5_bottom_row1_area1 .colonne1{width:100% ;float:none;}
	#s5_bottom_row1_area1 .colonne2{width:100% ;float:none;margin-right:15px;margin-left:0;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
  width: 89% !important;
}
	}
@media screen and (max-width: 600px){
	#s5_pos_below_body_1 ul.rfpw-show-post li{width:87%;height:auto;margin:15px 0;}
	#s5_breadcrumb_wrap .moduletable{float:none;}
	#s5_breadcrumb_wrap .espaces .pro, #s5_breadcrumb_wrap .espaces .part{display:inline-block;width:46%;}
	.bloc_ville{width:42%; }
	.bloc_ville:nth-child(3n+0) { clear:none;}
	.bloc_ville:nth-child(2n+0) {clear:both;}
#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
  width: 88% !important;
}
	}	
@media screen and (max-width: 568px){
	#s5_top_row2_area1 li.rfpw-dropdown-content, #s5_top_row3_area1 li.rfpw-show-content, #s5_top_row6_area1 li.rfpw-dropdown-content, 	.home .blog-featured{width:100%;margin:0;}
	#s5_top_row3_area1{background-size:cover;}
	
	#s5_top_row3_area1 li.rfpw-show-content:nth-child(2n){margin-left:0;}
		
		iframe {
    width: auto;
}
	.tribe-events-loop .tribe-events-event-meta{clear:both;display:inline-block;width:99%;}
	#box-filtres .moduletable{display:inline-block;}
	#div_filtre_lieux, #div_filtre_rubrique{width:100%;margin:0 auto;}

		}
@media screen and (min-width:414px) and (max-width: 768px){
	#s5_pos_top_row4_2 .module_round_box_outer a .titre,  #s5_pos_top_row4_2 .module_round_box_outer a .titre{display:inline;}

	

	}

@media screen and (max-width: 414px){
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:33%;}
	.img-intro-right, .img-intro-left{float:none; width:100%; margin:3% 0 }
	#galerie-photo,#box-right{width:100%; float:none; margin:0;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
	  width: 81% !important;
	}	
	#box-filtres .s5_wrap form{display:inline-block;}
	#box-filtres #pac-input{width:92%;}
	#box-filtres .styled-select.slate.little, #box-filtres .styled-select.slate{width:99%;}
	#box-filtres #btn_search input{width:94%;}
	.right_50, .left_50{float:none !important; width:100% !important;margin-bottom:15px; }
	#s5_top_row5_area1 .custom {  padding-top: 35px;}
		#s5_search_wrap .moduletable {
  margin-right: 0;
  width: 41%;
  margin-bottom: 5px;
}
#s5_search_wrap .moduletable:nth-child(odd) { float:left;}
#s5_search_wrap .moduletable:nth-child(even) { float:right;}
#s5_search_wrap .bloc_google_top{top:0; width:44% !important;}

	}
@media screen and (max-width: 384px){
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:31%;}
	#s5_bottom_menu_wrap .module_round_box_outer{width:100%;float:none;margin-bottom:15px;}
	#s5_bottom_menu_wrap .module_round_box_outer:first-child, #s5_bottom_menu_wrap .module_round_box_outer:last-child{margin:0 0 15px 0}
	#s5_breadcrumb_wrap .espaces .pro{display:inline-block;width:100%;}
	#s5_breadcrumb_wrap .espaces .part{display:block; width:100%;margin-top:5px;}
	.bloc_ville{width:100%; margin-right:0;}
		#s5_top_row5_area1 .custom {  padding-top: 30px;}

	}	

@media screen and (max-width: 375px){
	#tribe-bar-collapse-toggle{line-height:normal;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
    width: 79% !important;}

	}
@media screen and (min-width:384px) and (max-width: 736px){
	#scrollbar1{width:91%}
	}
@media screen and (min-width:415px) and (max-width: 768px){
		#box-filtres .moduletable {display: table;width:100%;}
		#box-filtres .moduletable .label{width:20%; display:table-cell;text-align:left;}
		#box-filtres .styled-select.slate.little{display:table-cell;}
		#box-filtres #pac-input{width:92%;display:table-cell;}
		#box-filtres .styled-select.slate{width:100%;}
		#box-filtres #btn_search{float:right;}
		#div_filtre_rubrique{margin-top:5px;}
		}		
@media screen and (max-width: 320px){
	

	.home #s5_pos_top_row1_2{background-size:50%;background-position:bottom right;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:29%;}
	#s5_top_row5_area1 .custom{padding-top:18px;}
	#s5_top_row5_area1 .custom.notitle{padding-top:0}
	
	#s5_breadcrumb_wrap .moduletable, #s5_breadcrumb_wrap .espaces{padding:5px 0;}
	#stage-une .thumbnail{border:1px solid #000; float:none;margin:0; width:100%;}
	#stage-une .infos{margin:0;}
	
	#alo_easymail_widget_form .input-submit{width:43px;}
	#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3) {
    width: 76% !important;}
	.bloc_ville{width:100%; margin-right:0;}
	
	.tribe-events-sub-nav li a{font-size:0.9em;}

.tribe-events-event-image{width:100%; float:none; margin:0 0 15px 0;}

	}
	@media screen and (max-width: 240px){
		#s5_pos_top_row4_2 .module_round_box_outer:nth-child(2), #s5_pos_top_row4_2 .module_round_box_outer:nth-child(3){width:66%;}}