/* GENERAL LAYOUT */
div#container {
	width:auto;
	max-width:none;
}

div#mainContentColLeft {
	margin-top:5rem;	
}
body.accueil div#mainContentColLeft {
	margin-top: 0;	
	padding-bottom:0;
}

div#colLeftWrap {
	margin:0;
	display:none;	
}
div#upperMenu {
	height: 50px;
    margin: 0;
    position: absolute;
    right: 55px;
    top: 0;
    z-index: 78;
}

div#footerWrap {
	font-size:1rem;
	position:relative;
}	
div#footerInner {
	padding-bottom:0;	
}
div#footer {
	padding-left: 20px;
    width: auto;
}

div#mainContent {
	width:100%;	
}

/*sticky*/

.wrapper {
	margin-bottom: -14rem;	
}

#footerWrap, .push {
	height: 14rem;	
}

/********************************************************************************/
/*  					HEADINGS
/********************************************************************************/
h1 {
	background: url("../images/bg-search-title-tablet.png") no-repeat scroll 0 0 transparent;
	background-size: 100% 54px;
	border-radius:5px;
	
	height:45px;
	line-height:36px;
}

/********************************************************************************/
/*  					HEADER
/********************************************************************************/
div#header {
	margin-bottom: 0rem;	
	height: 50px;
	background-color:#4c453a;
}

#headerWrap #logoWrap {
	position:absolute;
	top:0;
	left:0;
	z-index:999;
}
#headerWrap #logoWrap img{
	height: auto;
    min-width: 145px;
	max-width:145px;
}
#headerWrap .reseaux_sociaux {
	margin:13px 0px 0 0;
	padding:0;
}

#headerWrap  .reseaux_sociaux .infolettre  {
	width:32px;	
	background-position: left top;
}


/********************************************************************************/
/*  						TOP MENU
/********************************************************************************/
div#topMenuWrap {
	background: url("../images/btn-menu.jpg") no-repeat scroll 97.5% 0 transparent;
    height: 28px;
    position: absolute;
    right: 0px;
    top: 13px;
    width: 39px;
	clear:none;
	float:none;
	padding:0;
	width:100%;
	z-index:77;
	padding-bottom:30px;
}
div#topMenuWrap #topMenu ul {
	display:none;
	background-color:#2f2c27;
	padding-top:35px;
}	
div#topMenuWrap:hover {
	cursor:pointer;	
}
/*div#topMenuWrap:hover #topMenu ul,
div#topMenuWrap:focus #topMenu ul {
	display:block;	
} */
/* === TOP MENU === */	
	div#topMenu {
		max-width:none;	
		position:absolute;
		top: 37px;
		left:0;
		width:100%;
	}
	div#topMenu ul {
		display:block;
		width:100%;
		
	}
	div#topMenu ul li{
		display:block;
		float:none;
	}

	div#topMenu ul li a:link,
	div#topMenu ul li a:visited,
	div#topMenu ul li a:active,
	div#topMenu ul li.active a:link,
	div#topMenu ul li.active a:visited,
	div#topMenu ul li.active a:active {
		display:block;
		float:none;
		padding:10px 0 10px 20px;
		margin:0;
		border-bottom:1px solid #3a352c;
		border-top:1px solid #716b62;
	}	
	#topMenu li ul,
	div#topMenuWrap #topMenu ul ul {
		padding-top:0;	
		margin:0;
		position:relative;
		top:0;
		
	}
	#topMenu li li,
	#topMenu li li a:link, 
	#topMenu li li a:visited, 
	#topMenu li li a:active, 
	#topMenu ul li.active li a:link, 
	#topMenu ul li.active li a:visited, 
	#topMenu ul li.active li a:active {
		padding-top:0;
		width:auto;
		margin:0;	
		background-color:#2f2c27;
	}

/********************************************************************************/
/*  								SLIDER										*/
/********************************************************************************/


div.moduletable.slider-mobile {
	display:block;
	width:100%;
}
div.moduletable.mainslider {
	display:none;
}
div#left div.slider-mobile #slideinfos {
	height:auto;
	padding-bottom:33%;
}

body.accueil #slideinfos {
	width:auto;
}
body.accueil div#left div.slider-mobile #slideinfos{
	width:100%;
	left:0;
	margin:0;
}
div.slider-mobile #slider-mobile_slide_mask {
	height:auto;
	padding-bottom:70% !important;
}

div.slider-mobile #slider-mobile_slide_mask .slide .slide_texte .text-wrap {
	padding:0;	
}
div.slider-mobile #slider-mobile_slide_mask .slide .slide_texte .text-wrap img{
	width:100% !important;
	height:auto !important;
}
#slideinfos #slider-mobile_slide_numlist {
	position:relative;
	bottom:0;
}

.slider-mobile .slide img{
	background: url(../images/border-slider-mobile.png) repeat-x bottom;
	padding-bottom:9px;
}	

/********************************************************************************/
/*  						MODULE DE RECHERCHE SUR L'ACCUEIL
/********************************************************************************/


.moduletable_search.mobile {
	/*display: block;
    float: left;
    width: 100%;
	margin-top:20px;*/
	
	display: block;
    float: left;
    margin-top: 20px;
    overflow: hidden;
    padding-left: 3%;
    padding-right: 3%;
    width: 94%;
}
.moduletable_search.mobile h3 {
	padding-right:0;
	padding-bottom: 3.3rem;
	padding-top:1.3rem;
	
	/*
	margin: 0 2%;
	width:92%;
	*/
	
	width: 95%;
	
	background: url("../images/bg-search-title-tablet.png") no-repeat scroll 0 0 transparent;
	background-size: 100% 54px;
	border-radius:5px;
}


.moduletable_search.mobile h3.no-bg {
    background: none repeat scroll 0 0 transparent;
    color: #4C453A;
    font-size: 2.2rem;
    margin-bottom: 0;
    padding-bottom: 17px;
}
.moduletable_search.mobile #product-keyword-search{
	margin:15px 0 15px 0;
	width:99%;	
}

.moduletable_search.mobile #form_research_keyword {
	width:100%;	
}
.moduletable_search.mobile div.search_search input#mod-search-searchword{
   max-width:none;
   width:82%;
}


.moduletable_search.mobile div.search_search {
    background: url("../images/bg-search-box.png") no-repeat scroll 0 0 transparent;
    height: 48px;
   	margin: 0 auto;
	width:100%;
	background-size:100% 47px;
	position:relative;
}
.moduletable_search.mobile #product-research {
	background:url("../images/bg-product-research.png") no-repeat scroll 0 0 transparent;
	background-size: 100% 100%;
    width: 99%;
	margin: 0;
	padding:0;
}
.moduletable_search.mobile #product-research form {
	padding:1.7rem;
}
@media only screen  and (orientation : portrait) {
	.moduletable_search.mobile #product-research {
		width: 100%;
	}	
	.moduletable_search.mobile h3 {
		/*width:90%;*/
	}
	.moduletable_search.mobile #product-keyword-search{
		width:100%;	
	}
}

.moduletable_search.mobile #product-research label {
	clear:both;	
	width:100%;
	display:block;
}
.moduletable_search.mobile #product-research label select {
	width:100%;	
}
.moduletable_search.mobile #product-research label.custom-select:after {
	right:0;	
}

.moduletable_search.mobile div.search_search input.button_search {
    position:absolute;
	top: 5px;
	right: 8px;
}
.moduletable_search.mobile input.button_research {
	display:inline;	
	float:none;
	position:relative;
	left:50%;
	margin-left: -55px;
}

/********************************************************************************/
/*  						FOOTER
/********************************************************************************/

#footerWrap ul.menu li.item-188,
#footerWrap ul.menu li.item-193,
#footerWrap ul.menu .separator {
	display:none;	
}
#footerWrap #footer {
	text-align:left;	
}
#footerWrap #copymade {
	margin-top:0;	
	width:100%;
}
#footerWrap #bottommenuWrap{
	margin-top:20px;	
}
#footerWrap #bottommenu ul li {
	padding:0;	
}
#footerWrap #bottommenu ul li.item-198 {
	width:auto;	
}
#footerWrap ul.menu li li {
	display:inline;	
	float:left;
	width:auto;
	margin-right:15px;
}

#footerWrap .reseaux_sociaux {
	position:absolute;
	top: -10px;
	left:20px;
	width:auto;	
}

/********************************************************************************/
/*  					 		PAGES / BLOGS / ARTICLES
/********************************************************************************/
/* général */

.blog,
.item-page,
#xmap,
.results-items {
	padding-left:3%;
	padding-right:3%;	
}

.backbutton {
	margin-top:8px;	
}
/* article partenaires */
.item-page.partenaires {	
	float:left;
}
.item-page.partenaires .logo {
	width: 100%;	
	margin-bottom:2rem;
	display:block;
}
.item-page.partenaires h2 {
	display:block;
	margin-left:8%;
	margin-right:8%;
}
.item-page.partenaires .divider {
	width:100%;	
}

.item-page.partenaires .desc {
	display:block;	
	margin-left:8%;
	margin-right:8%;
}
/* Contact */
.contactwrap {
	display:none;	
}
.contactwrap.mobile {
	display:block;	
}
div#hpjcontactWrap,
div#hpjcontactWrap form,
div.form-contact {
	width:100%;	
	float:left;
	clear:both;
	padding:0;
}
div.form-contact span.title-form {
	font-weight:bold;
	margin-bottom:10px;
	display:block;	
	font-size:1.4rem;
}
div.form-contact div#hpjcontactWrap form label,
div.form-contact div#hpjcontactWrap form input {
	width:100%;
	text-align:left;
}
.form-contact div#hpjcontact textarea, 
.form-contact div#hpjcontact input {
	margin-bottom: 5px;
}
div.form-contact div#hpjcontactWrap form input {
	padding-right:0;
	padding-left:0;	
}
.form-contact div#hpjcontact textarea {
	width:99%;
	height:4rem;	
}
.form-contact div#hpjcontact input.btn {
	margin-top:0;
	margin-bottom:20px;	
}

div.carte-wrap {
	width:100%;
	float:none;
	background:none;
	margin-bottom:20px;
}
div.carte-wrap iframe {
	background: url("../images/bg-googlemap.png") no-repeat scroll center top transparent;	
	width: 90% !important;
	height: auto !important;
	margin:0;
	padding:5%;
	background-size: 100% 100%;
}
div.carte-wrap div.info {
	float:left;
	clear:both;
	width: 100%;
	margin-bottom: 20px;	
}
.carte-wrap a.zoommap:link, 
.carte-wrap a.zoommap:visited, 
.carte-wrap a.zoommap:active {
	margin-left:0;	
}

body.blog-events .item-page img, body.blog-vedette .item-page img {
	max-width:100%;
	height:auto!important;
}
/********************************************************************************/
/*  					 	LISTE DES PRODUCTEURS
/********************************************************************************/

div.items {
	width:94%;
	padding: 0 3%;	
}

div#farmers-list ul {
	margin-top:25px;	
}
div#farmers-list li.block .producer_thumb {
	width:33%;
	float:left;
	max-width:none;
}
div#farmers-list li.block {
	padding: 15px 0;
	margin-bottom: 10px;
	width:100%;	
}
div#farmers-list li.block .producer_infos {
	min-width:0;
	margin-top:15px;	
	padding:0;
	float:left;
	clear:both;
	max-width:100%;
	width:100%;
}
div#farmers-list li.block .producer_thumb img{
	width:100%;
	height:auto;
	position:relative;

}
div#farmers-list li.block .producer_navig {
	position:absolute;
	top:20px;
	right:0;
}
div#farmers-list li.block .producer_navig .btn-wrapper {
	position:relative;
	bottom:-40px;
}	

div#farmers-list li.block .producer_navig .producer_distance {
	font-size: 3rem;
    padding-top: 9px;
}


/********************************************************************************/
/*  					 	DÉTAILS DU PRODUCTEUR
/********************************************************************************/

.producer_fiche .producer_location {
	background: none;
}
.producer_location .producer_image {
	width:100%;
	float:none;
}
.producer_location .producer_image img {
	margin:0 auto;
}
#producer_map {
	display:none;
}


.producer_location .producer_map_link a:link, .producer_location .producer_map_link a:visited, .producer_location .producer_map_link a:focus,.producer_location .producer_map_link a:hover, .producer_location .producer_map_link a:active {
	background:url(../images/btn-voir-carte.png) no-repeat 0 0;
	height:2.4rem;
	width:12.2rem;
}

.producer_fiche .producer_icons {
	display:none;
}
/********************************************************************************/
/*  					 	RÉSULTATS DE RECHERCHE
/********************************************************************************/
/* tableau */
div.results-items {
	width:auto;	
}
div.disclaimer span {
    font-size: 1rem;
    margin-top: 15px;
    padding-left: 45px;
}

div.results div.title {
	font-size:1.5rem;	
}
/* reset des largeurs */
div.results .title.product,
div.results .product {
	width: 55%;
	overflow:hidden;
}
div.results .producer {
	width:auto;
}
div.results .title.producer{
	margin-left: -28px;
}

div.results .title.dispo {
	width:28%;
}	

div.results .dispo {
    width: 37%;
}
div.results span.dispo-non, 
div.results span.dispo-oui {
    margin-left: 2rem;
}


/* Listing des produits d'une catégorie */
div.product_fiche {
	width:100%;
	padding:0 0 30px;
	clear:both;
	background:url("../images/line-dashed.png") repeat-x scroll center bottom transparent;
}

div.product_fiche .img-wrapper {
	height:auto!important;
	width:40%;
}
div.product_fiche img {
	position:relative;	
	margin-left:0;
	width:100%;
	text-align:left;
}
div.break.three {
	background:none !important;	
}
div.product_fiche .infosdetails  {
	float:left;
	text-align:left;
	padding-left:1.5rem;
	width:50%;
	
}

div.product_fiche .infosdetails .btn-wrapper {
	float: none;
    margin-top: 2rem;
	margin-left:1.5rem;
}	

.product_fiche a.voir-fiche:link, 
.product_fiche a.voir-fiche:active, 
.product_fiche a.voir-fiche:visited, 
.product_fiche a.voir-fiche:focus, 
.product_fiche a.voir-fiche:hover { 
    margin-left:0 !important;
	margin-top:0;
}


#product-detail-wrapper #product-bottom #trucs-astuces {
	float:none;
	max-width:100%;
	width:100%;
}
@media only screen  and (orientation : portrait) {

	div.product_fiche .infosdetails .btn-wrapper {
		float: left;
		margin-left:0;
		margin-top: 2rem;
	}
}


.calendar_search_box #calendar_search span {
	float:left;
}

.calendar_search_box #calendar_search select {
	margin-left:0;
	width:14rem;
}
/********************************************************************************/
/*  					 	DÉTAIL D'UN PRODUIT
/********************************************************************************/
div#product-detail-wrapper,
div#farmers-list {
	width:94%;
	padding: 0 3%;
}

div#product-detail-wrapper #product-image {
	width: 50%;
	display:block;
	max-width:none;
	float:none;
		left: 50%;
    margin-left: -25%;
    position: relative;
}

div#product-detail-wrapper #product-image img {
	width:100%;	

}

div#product-detail-wrapper #product-desc {
    clear: both;
    display: block;
    float: right;
    width: 100%;
	max-width:none;
	padding:0;
}

div#product-detail-wrapper div.fieldset {
    margin-bottom: 15px;
}


div#product-detail-wrapper #product-bottom {
	margin-top:15px;
}