/*
	Theme Name: Cabécou du Périgord
	Theme URI: http://www.cabecou-perigord.com
	Description: Thème pour le site cabecou-perigord.com
	Version: 1.0
	Author: IRCF
	Author URI: http://ircf.fr
*/

/* Media print */
@media print {
    #header div.menu,
    #content div.recette > .grid_3.omega,
    #footer .menu,
    #footer .links,
    #footer .ircf {
    	display:none!important;
    }
}

/* Fonts */
@font-face{
	font-family:"Pluto";
	src:url(fonts/PlutoRegular.eot);
	src:url(fonts/PlutoRegular.eot?#iefix) format('embedded-opentype'),
	    url(fonts/PlutoRegular.woff) format('woff'),
	    url(fonts/PlutoRegular.ttf)  format('truetype');
	font-weight:normal;
	font-style:normal; 
}
@font-face{
	font-family:"Pluto";
	src:url(fonts/PlutoBold.eot);
	src:url(fonts/PlutoBold.eot?#iefix) format('embedded-opentype'),
	    url(fonts/PlutoBold.woff) format('woff'),
	    url(fonts/PlutoBold.ttf)  format('truetype');
	font-weight:bold;
	font-style:normal;
}
@font-face{
	font-family:"Pluto";
	src:url(fonts/PlutoBlack.eot);
	src:url(fonts/PlutoBlack.eot?#iefix) format('embedded-opentype'),
	    url(fonts/PlutoBlack.woff) format('woff'),
	    url(fonts/PlutoBlack.ttf)  format('truetype');
	font-weight:900;
	font-style:normal;
}

/* Tags */
body{
	font-family:"Pluto",lucida,sans-serif,sans;
	font-size:14px;
	color:#333;
	margin:0;
	padding:0;
}
h1,h2,h3{
	line-height:1.3em;
}
h1,h2,h3,p,ul{
	margin:10px 0;
	padding:0;
}
h1{
	/*font-family:"PlutoBold",lucida,sans-serif,sans;*/
	font-size:2em;
}
h2{
	/*font-family:"PlutoBlack",lucida,sans-serif,sans;*/
	font-weight:900;
	font-size:1.35em;
	color:#0a7215;
}
h3{
	font-size:1.1em;
}
a{
	color:#0a7215;
}
a:hover{
	color:#3f8c3f;
}
a img{
	border:0;
}
em{
}
address{
	font-style:normal;
}
.alignleft{
	float:left;
	margin:0 10px 10px 0;
}
.alignright{
	float:right;
	margin:0 0 10px 10px;
}
ul{
	padding-left:15px;
}
ul li{
	padding-bottom:8px;
}

/* Page wrapper */
#page{
}

/* Header */
#header{
	position:relative;
	background:url(images/bg-header.jpg) repeat-x;
}
#header h1{
	margin:0;
}
#header h1 a{
}
#header h1 a span{
	display:none;
}
	/* Menu header */
#header div.menu{
	position:absolute;
	background:url(images/bg-menu.png) no-repeat;
	width:1001px;
	height:108px;
	margin-top:-60px;
	margin-left:-20px;
}
#menu{
/*#header div.menu ul{*/
	width:845px;
	padding:35px 0 0 135px;
}
#header div.menu ul li a{
	display:block;
	font-weight:bold;
	font-size:1.15em;
	white-space:nowrap;
}
#header div.menu ul li a:hover{
	color:#0a7215;
}
#header div.menu ul li#menu-item-24{
	vertical-align:top;
}
#header div.menu ul li#menu-item-24 a{
	background-image:url(images/bg-icon-home.png);
	background-repeat:no-repeat;
	background-position:center 0;
	width:28px;
	height:29px;
	padding-top:0;
	padding-bottom:0;
}
#header div.menu ul li#menu-item-24 a:hover{
	background-position:center -29px;
}
#header div.menu ul li#menu-item-24 a span{
	display:block;
	visibility:hidden;
	width:29px;
	height:29px;
}

/* Menu */
div.menu ul{
	display:table;
	width:960px;
	list-style:none;
	margin:0;
	padding:0;
}
#menu > li{
    position:relative;
	display:table-cell;
	padding:0;
}
div.menu ul li a{
	display:block;
	text-decoration:none;
	color:#333;
	margin:0;
	padding:2px 8px;
}
/* Niveau 2 */
div.menu .sub-menu{
    display:none;
    position:absolute;
    left:0;
    width:auto!important;
    background:#fff;
    margin-top:15px;
        -moz-border-radius:8px;
        -webkit-border-radius:8px;
        -ms-border-radius:8px;
        -o-border-radius:8px;
    border-radius:8px;
}
div.menu .sub-menu li{
    border-top:1px solid #0a7215;
    padding-top:8px;
}
div.menu .sub-menu li:first-child{
    border-top:0;
}
div.menu .sub-menu li a{
    padding-left:15px;
    padding-right:15px;
}

/* Content */
#content{
	background:url("images/bg-content.png") repeat-x;
}
#content .container_12{
	background-color:#fff;
	padding:50px 0 20px;
}

/* Footer */
#footer{
	background:url("images/bg-footer.png") repeat-x center bottom;
	text-align:center;
	padding-bottom:20px;
}
#footer div.menu{
	background:url(images/bg-menu-footer.png) repeat-x;
	height:42px;
	line-height:42px;
}
#footer div.menu ul{
}
#footer div.menu ul li{
    display:table-cell;
}
#footer div.menu ul li a{
	padding:0 5px;
	color:#fff;
}
#footer div.menu ul li a:hover{
	color:#f3b91e;
}
#footer p{
}
#footer .vcard{
	margin:15px 0;
	cursor:default;
}

/* Sidebar */
#sidebar{
	border-left:1px solid #0a7215;
	padding:0 0 0 10px;
}
#sidebar ul{
	list-style:none;
	padding:0;
}
#sidebar ul li{
	padding:0;
}
#sidebar .widget{
	width:210px;
	margin:0 0 20px;	
}
#sidebar .widget h3{
	padding-bottom:2px;
}
/* Widget Calendrier */
#sidebar .widget_calendar table caption{
	text-transform:capitalize;
	margin:0 0 5px;
}
/* Widget Archives */
#sidebar .widget_archive ul li a{
	text-transform:capitalize;
}

/* Bloc */
div.frame{
	border-bottom:1px solid #0a7215;
	padding-bottom:10px;
}

/* Links */
ul.links{
	list-style:none;
	margin:20px 0;
	padding:0;
}
ul.links li{
	display:inline;
	margin:0 10px;
	padding:0;
}
ul.links li a{
}
ul.links li a img{
	max-height:40px;
}

/* Tableaux */
table{
	border-collapse:collapse;
	margin:10px 0;
	width:100%;
}
table th,
table td{
	border:1px solid #dfdfdf;
	text-align:center;
	padding:2px;
}

/* Formulaires */
form{
	margin:10px 0;
}
form fieldset{
	border:none;
	margin:20px auto;
	padding:0;
}
form legend{
	font-size:1.4em;
	font-weight:bold;
	font-family:"calibri-bold";	
	font-weight:normal;
}
form ol{
	list-style:none!important;
	margin:0;
	padding:0!important;
}
form ol li{
	float:left;
	width:100%;
	clear:both;
	margin:0 0 5px;
	line-height:25px;
}
form ol li span{
	position:static!important;
}
form ol li label{
	width:35%;
	float:left;button
	clear:both;
}
form ol li span input{
	height:25px;
}
form ol li span input,
form ol li span textarea{
	float:left;
	max-width:60%;
	border:1px solid #0a7215;
	padding:2px;
}
form ol li span input:focus,
form ol li span textarea:focus{
	background-color:#ebf2e2;
}
form ol li span.wpcf7-checkbox{
	display:block;
	float:left;
	margin:10px 0;
}
form ol li span.wpcf7-checkbox label{
	width:auto;
}
form ol li span.wpcf7-checkbox input{
	width:auto;
	height:auto;
	border:none;	
}
form ol li span.wpcf7-list-item{
	display:block;
	float:left;
	margin-left:0;
}
form ol li span.wpcf7-list-item input{
}
form ol li span.wpcf7-list-item span.wpcf7-list-item-label{
}
form ol li img.wpcf7-captcha-captcha{
	border:none;
}
form ol li span.wpcf7-form-control-wrap.captcha{
	width:auto!important;
}
form ol li span.wpcf7-form-control-wrap.captcha input{
	width:auto!important;
	margin-right:5px;
}
form ol span.required{
	display:inline;
	float:none;
	width:auto;
	margin: 0 5px;
	color:#e31636;
}

/* Gallery */
.gallery{
	float:left;
	width:100%;
	margin:10px 0;
	position:relative;
}
#content .gallery div.images ul{
	list-style:none;
	margin:0;
	padding:0;
	float:left;
	position:relative;
}
.gallery div.images ul li{
	float:left;
	text-align:center;
	margin:0 10px 10px 0;
}
.gallery div.images ul li .gallery-item{
	position:relative;
	margin:0;
}
.gallery div.images ul li .gallery-item .gallery-icon{
	display:table-cell;
	vertical-align:middle;
}
.gallery div.images ul li .gallery-item .gallery-icon a{
	display:block;
}
.gallery div.images ul li .gallery-item .gallery-caption{
	height:20px;
	position:absolute;
	bottom:0;
	opacity:0.7;
	background:#000;
	color:#fff;
	padding:10px 0;
	margin:0;
}
.gallery div.images ul li .gallery-item:hover{
}
.gallery div.images ul li .gallery-item:hover .gallery-caption{
}

/* Gallery slide */
.gallery.slide div.images{
	float:left;
	width:100%;
	height:100%;
	overflow:hidden;
	position:relative;
}
.gallery.slide div.images ul li{
	margin:0;
}
.gallery.slide div.images ul li .gallery-item{
	position:static;
}
.gallery.slide div.images ul li .gallery-item .gallery-caption{
	display:none;
}
.gallery.slide div.images ul li .gallery-item:hover .gallery-caption{
	display:block;
}

/* Navigation */
.gallery div.buttons{
}
.gallery a.button{
	background:#000;
	height:100%;
	line-height:100%;
	position:absolute;
	opacity:0.01;
	margin-top:0;
	width:auto;
	padding:0 10px;
	z-index:2;
	cursor:pointer;
}
.gallery a.button:hover{
	opacity:0.5;
}
.gallery a.button.prev{
	left:0;
}
.gallery a.button.next{
	right:0;
}
.gallery ul.nav{
	float:left;
	list-style:none;
	margin:20px 0;
	padding:0;
	position:relative;
	left:50%;
}
.gallery ul.nav li{
	float:left;
	position:relative;
	margin-right: 5px;
	padding:0;
}
.gallery ul.nav li a{
	display: block;
	background:url(images/bg-nav.png) no-repeat 0 -10px;
	height:10px;
	width:10px;
	opacity:0.5;
}
.gallery ul.nav li a:hover,
.gallery ul.nav li a.selected{
	background-position:0 0;
	opacity:1;
}
.gallery ul.nav li a span{
	display: none;
}

/* Galerie thumbnail (140x140) */
.gallery.slide.thumbnail{
	height:140px;
}
.gallery.thumbnail div ul li .gallery-item .gallery-icon{
	width:140px;
	height:140px;
}
.gallery.thumbnail div ul li .gallery-item .gallery-caption{
	width:140px;
}
.gallery.thumbnail a.button{
	line-height:140px;
}
/* Galerie medium (300x225) */
.gallery.slide.medium{
	height:225px;
}
.gallery.medium div ul li .gallery-item .gallery-icon{
	width:300px;
	height:225px;
}
.gallery.medium div ul li .gallery-item .gallery-caption{
	width:300px;
}
.gallery.medium a.button{
	line-height:225px;
}
/* Galerie large (460x345) */
.gallery.slide.large{
	height:345px;
}
.gallery.large div ul li .gallery-item .gallery-icon{
	width:460px;
	height:345px;
}
.gallery.large div ul li .gallery-item .gallery-caption{
	width:460px;
}
.gallery.large a.button{
	line-height:345px;
}

/* Liste des recettes */
ul.recettes{
	float:left;
	list-style:none;
	padding:0;
}
ul.recettes li{
	border-bottom:1px solid #ddd;
	padding-top:10px;
}
ul.recettes li.grid_6.alpha{
	width:459px;
	margin-right:0;
	padding-right:9px;
}
ul.recettes li.grid_6.omega{
	margin-left:0;
	padding-left:10px;
}
ul.recettes li div.image{
	float:left;
	margin:10px 10px 10px 0;
}
ul.recettes li div.image img{
	border:1px solid #ddd;
}
ul.recettes li h2{
}
ul.recettes li h2 a{
}
ul.recettes li h3{
	line-height:1.1em;
}
ul.recettes li h3 a{
	text-decoration:none;
}

/* Fiche recette */
div.recette .ingredients{
	border-top:1px solid #0a7215;
}
div.recette .ingredients ul{
	list-style:none;
	padding-left:0;
}
div.recette .informations{
	border-top:1px solid #0a7215;
	border-bottom:1px solid #0a7215;
	margin-bottom:30px;
	padding:15px 0;
	color:#0a7215;
}
div.recette .source{
	font-size:0.9em;
	border-top:2px solid #efefef;
	padding-top:10px;
	color:#666;
}
div.recette div.sharethis{
	margin:10px 0 30px;	
}
div.recette #recettes h2{
}
div.recette #recettes ul{
	list-style:none;
	border-bottom:1px solid #ddd;
	padding:0;
}
div.recette #recettes ul li{
	border-top:1px solid #ddd;
	padding:8px 0;
}
div.recette #recettes ul li a{
	text-decoration:none;
}

/* Adhérents */
.grid_3.omega  #adherents {
	height: 400px !important;
}
.grid_3.omega #adherents #my_googlemap {
	width: inherit!important;
}
#adherents #my_googlemap{
	width:100%; /*940px;*/
	height:500px;
}
#adherents #my_googlemap div.info{
	font-size:0.95em;
	width:560px; /*540px;*/
	max-height:250px;
	overflow:auto;
	/*height:300px;*/
}
#adherents #my_googlemap div.info div.image{
	float:left;
}
#adherents #my_googlemap div.info .subtitle{
	font-size:0.9em;
	font-style:italic;
	padding-bottom:10px;
	border-bottom:1px solid #ccc;
	color:#666;
}
#adherents #my_googlemap div.info .subtitle .category{
	margin:0;
}
#adherents #my_googlemap div.info .subtitle .activites{
	margin:0;
	padding:0;
}
#adherents form label{
	margin-right:10px;
}

/* Google Maps hack (fixes transparent.png bug) */
/*
.gm-style div > div > img {
  max-width: none;
  background-image: url(https://maps.gstatic.com/mapfiles/ridefinder-images/mm_20_green.png);
  background-repeat: no-repeat;
  background-position: center center;
}
*/

/* --------------------------------------- */
/* ---------- PAGES SPECIFIQUES ---------- */
/* --------------------------------------- */
/* Accueil*/
#accueil div.histoire h2{
	background:url(images/icon-produit-du-terroir.jpg) no-repeat right top;
	min-height:50px;
	margin:-10px 15px 10px 0;
	padding:40px 100px 0 0;
}
#accueil div.histoire img.wp-image-71{
	margin:	-20px 0 0 10px;
}
#accueil div.recettes{
    position:relative;
	border-right:1px solid #0a7215;
	margin-right:0;
	padding-right:9px;
}
#accueil div.recettes h2{
	background:url("images/icon-recettes.jpg") no-repeat;
	min-height:10px;
	margin-top:-20px;
	margin-left:150px;
	padding-top:50px;
	/* CSS 3 */
	transform:rotate(-1deg);
		-ms-transform:rotate(-1deg);
		-moz-transform:rotate(-1deg);
		-webkit-transform:rotate(-1deg);
		-o-transform:rotate(-1deg);
}
#accueil div.recettes div.random-recettes .post-recette{
    float:left;
    clear:left;
    margin-bottom:20px;
}
#accueil div.recettes div.random-recettes .image{
	float:left;
	width:140px;
	margin-right:10px;
	/*margin-top:-55px;*/
	/* CSS 3 */
	transform:rotate(-2deg);
		-ms-transform:rotate(-2deg);
		-moz-transform:rotate(-2deg);
		-webkit-transform:rotate(-2deg);
		-o-transform:rotate(-2deg);
}
#accueil div.recettes div.random-recettes .post-recette:first-child .image{
    margin-top:-55px;
}
#accueil div.recettes div.random-recettes .image img{
	border:3px solid #8e6539;
	width:125px;
	height:125px;
}
#accueil div.recettes .button{
    position:absolute;
    left:150px;
    bottom:30px;
}
#accueil div.recettes div.random-recettes a span.more{
	margin-left:10px;
}
#accueil div.jeux-concours a{
	display:block;
	background:url(images/icone_concours.png) no-repeat 0 0;
	width:171px;
	height:176px;
	font-size:0;
	color:#fff;
}
#accueil div.jeux-concours a:hover{
	background-position:0 -176px;
}
#accueil div.jeux-concours a:hover img{
	display:none;
}
#accueil div.ou-le-trouver h2{
	font-family:"Pluto";
	font-size:1.1em;
	letter-spacing:-0.04em;
	/* CSS 3 */
	transform:rotate(-1deg);
		-ms-transform:rotate(-1deg);
		-moz-transform:rotate(-1deg);
		-webkit-transform:rotate(-1deg);
		-o-transform:rotate(-1deg);
}
#accueil div.ou-le-trouver h2 strong{
	font-size:1.5em;
}
#accueil div.actualites .grid_2 img{
	margin-top:20px;
}
#accueil div.news ul{
	list-style:none;
	padding:0;
}
#accueil div.news ul li{
    float:left;
    clear:left;
}
#accueil div.news ul li .post-title a{
	text-decoration:none;
}
#accueil .gallery.slide.large{
	height:340px;
}
#accueil .gallery.large .overlay{
	position:absolute;/*relative;*/
	top:-15px;/*-350px;*/
	left:-5px;
	z-index:1000;
	background:url(images/bg-slideshow.png) no-repeat;
	width:462px;
	height:315px;
}
#accueil .gallery.large div.images{
	height:280px;
}
#accueil .gallery.large div.images ul li .gallery-item .gallery-icon{
	width:440px;
	height:280px;
}
#accueil .gallery.large div.images ul li .gallery-item .gallery-icon img{
	width:440px;
	height:280px;
	margin-left:10px;
}
