/*
Theme Name: MarcheBio 2011
Theme URI: https://marchebiotoulouse.org/
Description: Thème personnalisé du guide des marchés bio de Toulouse.
Author: Hélène
Version: 2.3
*/

/* ---------- Base ---------- */
html { margin: 0; padding: 0; }
body {
	margin: 0;
	padding: 0;
	background: #e9e5d9;
	font: 13px/1.7 Verdana, Arial, Helvetica, sans-serif;
	color: #333;
}
a { color: #3f6b1e; text-decoration: underline; }
a:visited { color: #33591a; }
a:hover { color: #2a4a12; }
img { border: 0; }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; }

#wrapper {
	width: 960px;
	margin: 18px auto;
	background: #fff;
	border: 1px solid #d5d0c3;
	-moz-box-shadow: 0 1px 4px rgba(0,0,0,.12);
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.12);
	box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

/* ---------- Header ---------- */
#header { border-bottom: 1px solid #d5d0c3; }
#branding {
	position: relative;
	height: 198px;
	background: #4a6f2e url('/wp-content/themes/marchebio2011/images/bandeau.jpg') no-repeat center center;
	background-size: cover;
}
#site-title {
	position: absolute;
	left: 24px;
	bottom: 44px;
	margin: 0;
	font-size: 34px;
	line-height: 1.1;
}
#site-title a {
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 3px rgba(0,0,0,.7);
}
#site-description {
	position: absolute;
	left: 26px;
	bottom: 20px;
	margin: 0;
	font-style: italic;
	font-family: Georgia, serif;
	font-size: 14px;
	color: #f2efe4;
	text-shadow: 1px 1px 2px rgba(0,0,0,.7);
}

/* ---------- Menu ---------- */
#access {
	background: #3a5f2c;
	display: block;
}
#access ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#access li { float: left; position: relative; }
#access a {
	display: block;
	padding: 9px 16px;
	color: #fff;
	font-size: 12px;
	text-decoration: none;
}
#access a:hover, #access li.current-menu-item a {
	background: #2c4a20;
	color: #fff;
}
#access:after { content: ""; display: block; clear: both; }
#access { zoom: 1; }

/* ---------- Structure ---------- */
#main { overflow: hidden; }
#container { float: left; width: 640px; }
#content { margin: 24px 24px 30px 24px; }
#primary {
	float: right;
	width: 260px;
	margin: 24px 24px 30px 0;
}

/* ---------- Posts ---------- */
.hentry { margin-bottom: 42px; }
.entry-title {
	margin: 0 0 4px 0;
	font-size: 24px;
	line-height: 1.25;
	color: #222;
}
.entry-title a { color: #222; text-decoration: none; }
.entry-title a:hover { color: #3f6b1e; text-decoration: underline; }
.entry-meta {
	font-size: 11px;
	color: #888;
	margin-bottom: 10px;
}
.entry-meta a { color: #888; }
.entry-content h2 { font-size: 19px; color: #3a5f2c; margin: 26px 0 8px 0; }
.entry-content h3 { font-size: 16px; color: #3a5f2c; margin: 20px 0 6px 0; }
.entry-content p { margin: 0 0 14px 0; }
.entry-content ul, .entry-content ol { margin: 0 0 14px 22px; padding: 0; }
.entry-content li { margin-bottom: 4px; }
.entry-content img {
	border: 1px solid #d5d0c3;
	padding: 4px;
	background: #fff;
}
.entry-content blockquote {
	margin: 0 0 14px 20px;
	padding-left: 14px;
	border-left: 3px solid #d5d0c3;
	font-style: italic;
	color: #555;
}
.entry-content table {
	border-collapse: collapse;
	margin: 0 0 16px 0;
	width: 100%;
	font-size: 12px;
}
.entry-content th, .entry-content td {
	border: 1px solid #d9d4c6;
	padding: 5px 8px;
	text-align: left;
}
.entry-content th { background: #f0ede1; }
.entry-utility {
	border-top: 1px dotted #d5d0c3;
	padding-top: 6px;
	font-size: 11px;
	color: #888;
}
.entry-utility a { color: #888; }
.comments-closed {
	font-size: 11px;
	font-style: italic;
	color: #999;
	margin-top: 18px;
}
.more-link { font-size: 12px; }

.page-title {
	font-size: 15px;
	font-family: Verdana, Arial, sans-serif;
	color: #888;
	margin: 0 0 24px 0;
	padding-bottom: 8px;
	border-bottom: 1px dotted #d5d0c3;
}
.page-title span { color: #333; font-weight: bold; }

/* ---------- Accueil ---------- */
.home-intro {
	background: #f4f1e6;
	border: 1px solid #ddd8c8;
	padding: 12px 16px;
	margin-bottom: 28px;
	font-size: 12px;
}
.home-intro p { margin: 0 0 6px 0; }
.home-intro p:last-child { margin-bottom: 0; }

/* ---------- Sidebar ---------- */
.widget-area { font-size: 12px; }
.widget { margin-bottom: 26px; }
.widget-title {
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #3a5f2c;
	border-bottom: 1px dotted #c9c2ae;
	padding-bottom: 5px;
	margin: 0 0 10px 0;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li {
	padding: 4px 0;
	border-bottom: 1px dotted #eee;
}
.widget li ul { margin-left: 14px; }
.widget li li { border-bottom: 0; padding: 2px 0; }
.widget-marche {
	background: #f4f1e6;
	border: 1px solid #ddd8c8;
	padding: 10px 12px;
}
.widget-marche p { margin: 0 0 6px 0; }
.widget-marche p:last-child { margin-bottom: 0; }
.searchform input[type="text"] {
	width: 160px;
	padding: 3px;
	border: 1px solid #ccc;
	font: 12px Verdana, sans-serif;
}
.searchform input[type="submit"] {
	padding: 3px 8px;
	font: 12px Verdana, sans-serif;
	background: #ede9dc;
	border: 1px solid #ccc;
	cursor: pointer;
}

/* ---------- Footer ---------- */
#footer {
	clear: both;
	background: #3a5f2c;
	color: #cfe0c3;
	font-size: 11px;
	padding: 14px 24px;
}
#footer a { color: #fff; }
#site-info { float: left; }
#site-generator { float: right; }
#footer:after { content: ""; display: block; clear: both; }
#footer { zoom: 1; }

.screen-reader-text { position: absolute; left: -9000px; }

/* Navigation entre articles */
#nav-below { margin: 26px 0 6px 0; overflow: hidden; font-size: 12px; }
.nav-previous { float: left; max-width: 48%; }
.nav-next { float: right; max-width: 48%; text-align: right; }

.archive-meta { font-size: 12px; color: #666; margin: -14px 0 24px 0; }

/* ---------- Divers ---------- */
.aligncenter { display: block; margin: 0 auto 14px auto; }
.alignleft { float: left; margin: 4px 14px 8px 0; }
.alignright { float: right; margin: 4px 0 8px 14px; }
.wp-caption { font-size: 11px; color: #777; font-style: italic; }

/* Hack IE7, a garder tant que les stats montrent des visites */
*:first-child+html #container { width: 638px; }

/* Ajustement petits écrans (ajouté en 2015 pour les mobiles) */
@media screen and (max-width: 700px) {
	img { max-width: 100%; height: auto; }
	#wrapper { width: auto; margin: 0; }
	#container, #primary { float: none; width: auto; }
	#content, #primary { margin: 16px; }
	#branding { height: 140px; }
	#site-title { font-size: 24px; left: 16px; }
	#site-description { left: 17px; }
	#site-info, #site-generator { float: none; }
}

/* ---------- Home annuaire (v2.4) ---------- */
.home-hero {
	margin-bottom: 26px;
}
.home-hero h2.accueil-titre {
	font-size: 22px;
	color: #3a5f2c;
	margin: 0 0 8px 0;
}
.home-hero p { margin: 0 0 12px 0; }

.carte-marches {
	margin: 0 0 8px 0;
	padding: 0;
}
.carte-marches svg {
	width: 100%;
	height: auto;
	border: 1px solid #d5d0c3;
	background: #eef3e6;
}
.carte-marches figcaption {
	font-size: 11px;
	color: #777;
	font-style: italic;
	margin-top: 5px;
}

.annuaire { margin: 24px 0; }
.annuaire h2 {
	font-size: 19px;
	color: #3a5f2c;
	border-bottom: 1px solid #d5d0c3;
	padding-bottom: 5px;
	margin: 0 0 14px 0;
}
.annuaire h3 {
	font-size: 14px;
	font-family: Verdana, Arial, sans-serif;
	color: #555;
	margin: 18px 0 8px 0;
}
ul.liste-lieux {
	list-style: none;
	margin: 0 0 10px 0;
	padding: 0;
}
ul.liste-lieux li {
	padding: 7px 0 7px 30px;
	border-bottom: 1px dotted #e0dccf;
	position: relative;
}
ul.liste-lieux li .num {
	position: absolute;
	left: 0;
	top: 7px;
	display: inline-block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background: #3a5f2c;
	color: #fff;
	font: bold 11px Arial, sans-serif;
	border-radius: 10px;
}
ul.liste-lieux li .lieu-nom { font-weight: bold; color: #2f4a24; }
ul.liste-lieux li .lieu-meta { color: #666; font-size: 12px; }
ul.liste-lieux li .lieu-note { display: block; font-size: 12px; color: #555; margin-top: 2px; }

.annuaire-cols { overflow: hidden; }
@media screen and (min-width: 701px) {
	.annuaire-cols .col { float: left; width: 48%; }
	.annuaire-cols .col:first-child { margin-right: 4%; }
}

.home-actus { margin-top: 30px; border-top: 2px solid #d5d0c3; padding-top: 12px; }
.home-actus h2 { font-size: 16px; color: #3a5f2c; margin: 0 0 10px 0; }
.home-actus ul { list-style: none; margin: 0; padding: 0; }
.home-actus li { padding: 4px 0; border-bottom: 1px dotted #eee; font-size: 13px; }
.home-actus li .date-actu { color: #999; font-size: 11px; }

ul.liste-lieux.plain li { padding-left: 0; }
