﻿/*
	Theme Name:   Au fil des saisons v0.0.9
	Template:     sprout-spoon
	Author : nouvelle MARQUE
	Version:      0.0.9
*/
body {font-size:16px; line-height: 28px;}
.logo-bdl.desktop {
   position: absolute;
   top: 22px;
   left: 40px;
}
.logo-bdl img {max-width:150px;}

.logo-bdl.mobile {display:none;}

#logo {margin-top:20px;}
 
.menu-langue {float:left;}
#searchform {float:right;margin-left:15px;}
#top-search i {font-size:15px;}
 
.menu-langue li {float:left;}
.menu-langue li a span {display:none;}
.menu-langue li a:before {content:" EN ";width:10px; padding:0 1px;}
.menu-langue li:first-child a:before {content:"FR |";}
.menu-langue li:last-child a:before {content:"| DE";}

#nav-wrapper .menu li a {font-size:14px;}
#nav-wrapper .menu li.current_page_item a {text-decoration:underline;}

/** typo et interlignage */
.post-entry pre {line-height:1.5em; font-size:16px;white-space:normal;}
h1, h2, h3, h4, h5, h6, .post-entry blockquote p, .entry-content blockquote p, .more-link, .by, .item-related span.date, .side-pop-content span.date, #top-search input {font-family:"Source Sans Pro", sans-serif;}



/** Ajout Edouard **/

.post-entry p {
    font-size: 16px;
    line-height: 28px;
}

/* On augmente la taille des citations */
.post-entry pre {
   font-size:18px;
}

/** Fin ajout Edouard **/

/** Liste recettes **/


/** Page détaillée d'une recette **/
.single .post-tags {display:none;}
.single .item-related span.date {display:none;}

/** Gestion de la typo et de la taille des titres et de la catégorie des recettes **/
article.grid-item .post-header h2 a, .feat-inner h2 a, .item-related h3 a {font-size:18px; font-family:"Crimson Text", sans-serif;}
article .post-header .cat a, .feat-inner .cat a {font-size:15px;}
article .post-header h1 {font-size:30px; font-family:"Crimson Text", sans-serif; letter-spacing: 2px;}
article .post-entry .recipe-overview h2 {font-size:24px; font-family:"Crimson Text", sans-serif;}
.post-entry .index-heading, .post-entry .recipe-title, .block-heading {font-size:17px;}
.post-entry .index-heading a {font-size:12px;}


/** Gestion de l'image principale de la recette en vue détaillée **/
.single .post-img {max-height:1080px;overflow:hidden;}
.single .post-img img {margin-top:-400px;}

/** Mise en page du share by email sharedaddy **/
.post-entry .sp-recipe .sharedaddy {
	display:inline-bloc;
	float:right;
	clear:none !important;
	margin-right:10px;
	margin-top:4px;
}
.post-entry .sp-recipe .sharedaddy .sd-content li {margin-right:0;}
.post-entry .sp-recipe .sharedaddy .sd-content li a.sd-button {
    background:none;
	font-weight: 700;
    border: 1px solid;
    border-color: #95AF7E;
    padding: 5px 12px 6px;
    border-radius: 20px;
    color: #95AF7E !important;
	font-family:"Source Sans Pro", sans-serif;
    -o-transition: .25s;
    -ms-transition: .25s;
    -moz-transition: .25s;
    -webkit-transition: .25s;
    transition: .25s;
	line-height:28px;
}

.post-entry .sp-recipe .sharedaddy .sd-social-icon .sd-content ul a:before, .post-entry .sp-recipe .sharedaddy .sd-social-text .sd-content ul a:before, .post-entry .sp-recipe .sharedaddy .sd-content ul div.option.option-smart-off a:before, .post-entry .sp-recipe .sharedaddy .sd-social-icon-text .sd-content  a:before, .post-entry .sp-recipe .sharedaddy .sd-social-official .sd-content a:before {top:5px;}

.post-entry .sp-recipe .sharedaddy .sd-content li a.sd-button:hover {
	background: #95AF7E;
    color: #fff !important;
    border-color: #95AF7E;
    text-decoration: none;
}

/** Suppression de la notion de catégorie dans le template Catégorie "Browsing category" **/
.archive-box span {display:none;}
 
/** Recettes de base **/
.recette-base ul li{width:100% !important; margin:0 !important; text-transform:uppercase !important; letter-spacing:1px !important; font-size:14px !important; line-height:60px !important;}
.recette-base h2:after {content:" "; width:90px; height:10px; background:url(/wp-content/uploads/2018/03/separateur-recette.png) no-repeat center; margin:25px auto; display:block;}
.category-recette-de-base .post-related {display:none;}
.sp-recipe .recipe-method .step-number {display:none;}

/** Gestion de la mise en page HOMEPAGE AFDS **/
.home-afds {margin-top:30px; margin-bottom:30px;}
.home-afds p {display:none;}
.home-afds .feat-inner h2 {font-size:100%;}
/*.home-afds .feat-inner h2 a {font-size:22px !important;}*/

.afds-featured {margin-top:0;}
.afds-featured .feat-item {
		width:auto;
		height:500px;
		float:none;
}
 
 /** Ajout Edouard **/
 @media screen and (min-width:1024px) {
	.marge-augmentee {
	   margin:0px 100px 20px 100px;
	}
}
/** Fin ajout Edouard **/

@media only screen and (max-width: 1170px) and (min-width: 942px) {
	.post-entry .recipe-overview h2 {
		width:70% !important;
	}
}
 @media only screen and (max-width: 1023px) {
	#navigation .container {position:relative;}
	.logo-bdl.desktop {display:none;}
	
	.logo-bdl.mobile {
		display:block;
		position:absolute;
		top:10px;
		right:15px;
	}
 }
 @media only screen and (max-width: 767px) {
	#wrapper {width:100% !important;margin-top:0;} 
	.container {width:90% !important;}
	.logo-bdl.mobile {top:15px;}
	#logo img {max-width:80%;}
	.logo-bdl img {width:100px;}
	
	#header {padding-bottom:40px;}
	#navigation {top:0 !important;}
	
	.single .post-img {height:auto;overflow:initial:}
	.single .post-img img {margin-top:0;}
	
	.home-afds {margin-top:0; margin-bottom:0;}
	.afds-featured .feat-item {width:280px; height:280px;}
	
	/** suppression bordures beiges recette **/
	.sp-recipe {
		border-right:0;
		border-left:0;
	}
	.recipe-overview a.sp-print {float:right !important;}
	.post-entry .sp-recipe .sharedaddy {
		clear:both !important;
		margin-right:0;
		margin-top:0;
	}
	.share-end {display:none !important;}	
 }