@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800&subset=latin,latin-ext);
@import "https://fonts.googleapis.com/css?family=Arvo";


/* surcharge de materialize */
@media only screen and (min-width: 993px){
.container {
    width: 95%;
}
}
@media only screen and (min-width: 601px) {
.container {
    width: 95%;
}
}

.container {
    width: 95%;
}

body>div.container {
	width: 100%;
}

/* fond du site */
body { /*div#wrapper{ */
	width: 100%;
	background: url('../cuisine_images/bedge_grunge.png');

}
body div#wrapper {
	background-color: rgba(255,255,255,0.4);
}


/*******************************************************
 *  Outils utiles
*******************************************************/
body,
h1,
h2,
h3,
h4,
h5,
h6,
input[type="button"],
input[type="submit"],
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select,
button {
	font-family:
		open sans,
		helveticaneue,
		helvetica neue,
		Helvetica,
		Arial,
		sans-serif;
}

#wrapper strong {
	font-weight: bold;
}

#wrapper h1 {
	font-size: 28px;
	line-height: 50px;
}

#wrapper h2 {
	font-size: 24px;
	line-height: 30px;
}

#wrapper h3 {
	font-size: 20px;
	line-height: 34px;
}

#wrapper h4 {
	font-size: 18px;
	line-height: 30px;
}

#wrapper h5 {
	font-size: 16px;
	line-height: 24px;
}

#wrapper h6 {
	font-size: 14px;
	line-height: 21px;
}

#wrapper p {
	margin: 0 0 15px;
	line-height: 24px;
}

.rating {
	box-sizing: content-box;
	overflow: hidden;
	position: relative;
	width: 100px;
	height: 18px;
	display: block;
}

.rating .star-rating {
	position: relative;
	width: inherit;
	display: block;
	padding: 0;
	margin: 0;
}

.rating.five-stars .star-rating:after {
	width: 100%;
}

.rating.four-stars .star-rating:after {
	width: 60%;
}

.rating.three-stars .star-rating:after {
	width: 45%;
}

.rating.two-stars .star-rating:after {
	width: 30%;
}

.rating.one-stars .star-rating:after {
	width: 15%;
}

.rating .star-rating:after {
	content: "\e838 \e838 \e838 \e838 \e838";
	font-family: "Material Icons";
	color: #ffc741;
	display: block;
	position: absolute;
	font-size: 16px;
	z-index: 10;
	letter-spacing: -0.5px;
    overflow: hidden;
}

.rating .star-bg:after {
	content: "\e838 \e838 \e838 \e838 \e838";
	font-family: "Material Icons";
	color: #e0e0e0;
	display: block;
	position: absolute;
	font-size: 16px;
	z-index: 9;
	padding: 0;
	margin: 0;
	letter-spacing: -0.5px;
}


/*******************************************************
 *  Entete
*******************************************************/
#header {
	z-index: 999;
	position: relative;
	width: 100%;
	max-height: 74px;
}
header#header.row{
	margin: 0;
}

header#header.row #logo {
	margin-top: 4px;
	margin-bottom: 12px;
}

.boxed #logo {
	margin-top: 35px;
}

#logo a img {
	float: left;
	width: auto;
	height: 50px;
	margin-right: 10px;
}

#logo h1 {
	font-size: 1em;
	margin: 0;
}

#logo h1 a {
	font-weight: bold;
}

.recipeBackground {
	max-height: 180px;
	overflow: hidden;
	position: relative;
	margin: 0 0 40px;
	width: 100%;
}

.recipeBackground:before {
	content: "";
	background: #333;
	width: 100%;
	height: 100%;
	z-index: 99;
	position: absolute;
	display: block;
	opacity: 0.5;
}

.recipeBackground img {
	width: 100%;
    object-fit: cover;
}

@media only screen and (min-width: 600px) {
	#logo h1 {
		font-size: 2em;
	}

	.recipeBackground {
		max-height: 250px;
	}
}

/*******************************************************
 *  Contenude page
*******************************************************/


/*  card
*******************************************************/
.hover-cover {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #333;
	opacity: 0;
	visiblity: hidden;
}

.card-image:hover .hover-cover {
	opacity: 0.3;
	visibility: visible;
}

.card-image:hover .hover-icon {
	opacity: 1;
	visibility: visible;
	margin-bottom: 0;
	top: 50%;
}

.hover-icon {
	display: inline-block;
	background-color: rgba(51, 51, 51, 0.8);
	color: #fff;
	padding: 8px 12px;
	font-weight: 700;
	text-transform: uppercase;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 45%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-size: 13px;
}

.hover-cover,
.hover-icon {
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

/* description
****************************/
.recipe-box {
	margin-bottom: 20px;
}

#wrapper .card-content h3 {
	font-size: 19px;
	line-height: 24px;
	font-family: arvo;
	border-bottom: 1px solid #e5e5e5;
	margin: 0 0 10px;
	padding: 0 0 15px;
}

#wrapper .card-content h3 a {
	color: #606060;
	display: block;
	line-height: 26px;
}

.recipe-meta {
	color: #909090;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	float: right;
	margin-left: 15px;
}

.recipe-meta i {
	font-size: 14px;
	margin-right: 1px;
}

.recipe-meta a {
	color: #909090;
}

#wrapper .card-content .rating {
	float: left;
}

.meta-alignment {
	width: 70%;
	float: right;
}

/*******************************************************
* page de recette
*******************************************************/
#page-recette .entete-recette {
    padding-right: 20px;
    position: relative;
    top: -57px;
    z-index: 999;
}

#page-recette .entete-recette .titre{
    position: relative;
    top: -15px;
}

#page-recette .recipe-header {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 35px;
	position: relative;
}

#page-recette .recipe-header:before {
	content: "";
	position: absolute;
	top: -48px;
	left: 0;
	right: 48px;
	border-width: 48px;
	border-style: solid;
	border-color: #f8f8f8;
	z-index: 1;
}

#page-recette .recipe-header:after {
	content: "";
	position: absolute;
	top: -48px;
	right: 0;
	border-width: 0 48px 48px 0;
	border-style: solid;
	border-color: #e0e0e0 transparent;
	z-index: 1;
}

#page-recette .recipe-header h2 {
	font-size: 30px;
	font-family: arvo;
	margin: 0 0 1px;
	z-index: 20;
	position: relative;
	width: 90%;
	line-height: 36px;
}

#page-recette .recipe-header .rating {
	height: 20px;
	width: 110px;
}

#page-recette .recipe-header .rating .star-rating:after,
#page-recette .recipe-header .rating .star-bg:after {
	font-size: 18px;
}

#page-recette .recipe-header span a {
	position: relative;
	top: -20px;
	left: 105px;
	color: #909090;
	z-index: 20;
}

#liste-details {
	margin: 25px 0px 17px;
    padding: 10px;
}
.details {
	border-left: 1px solid Grey;
}
.details:first-child {
	border-left:0px;
}
.details strong {
	display: block;
}

/* version mobile */
.recipe-container.row {
	display: block;
	margin: 0;
}

.recipe-container ingredients-container {
	display: block;
	width: 100%;
}

.recipe-container .directions-container {
	padding-left: 0;
	padding-bottom: 0;
	display: block;
	width: 100%;
}

/* version tablette desktop */
@media only screen and (min-width: 992px) {
	.recipe-container.row {
		display: table;
		margin: 0;
	}
	.recipe-container .directions-container {
		padding: 30px 35px 0;
		display: table-cell;
		float: inherit;
		height: 100%;
	}

	.recipe-container .ingredients-container {
		padding: 30px 35px 0;
		display: table-cell;
		float: inherit;
		height: 100%;
	}

}

.ingredients label>input[type="checkbox"]:checked+span{
    text-decoration: line-through;
}
.ingredients li {
	padding-bottom: 15px;
}
.ingredients label>input[type="checkbox"].filled-in:checked+span:not(.lever):after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #7cb342 !important;
    background-color: #7cb342 !important;
    z-index: 0;
}
.directions-container ol {
	list-style-type: none;
	list-style-type: decimal !ie;
	margin: 15px 0 0 34px;
	padding: 0;
	counter-reset: li-counter;
}

.directions-container h3+hr+ol>li {
	position: relative;
	margin-bottom: 15px;
	padding: 8px 14px;
	line-height: 24px;
}

.directions-container h3+hr+ol>li:last-child {
	margin-bottom: 35px;
}

.directions-container h3+hr+ol>li:before {
	position: absolute;
	top: 3px;
	left: -34px;
	width: 34px;
	height: 34px;
	text-align: center;
	line-height: 32px;
	color: #999;
	font-weight: 700;
	font-size: 16px;
	background-color: #f4f4f4;
	content: counter(li-counter);
	counter-increment: li-counter;
	cursor: default;
}

ol li a.image-popin img ,
ol li img.image-popin {
    width: 300px;
    height: auto;
}

/***********************************
Cover image for the article page
*/
div.background-image-container div.background-image {
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 320px;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden; 
    /* margin: 20px 0 40px 0; */
}
div.widget div.background-image-container div.background-image {
    height: 120px;
}
div.background-image-container div.background-image img {
    width: 100%;
    height: 270px;
    visibility: hidden; }
    @media screen and (min-width: 40.063em) {
    div.background-image-container div.background-image img {
        height: 100%; } }
div.background-image-container div.background-image-small img {
	max-width: 90%; }
@media screen and (min-width: 64.063em) {
    div.background-image-container div.background-image-small img {
    max-width: 80%; 
} 
}


/*******************************************************
 *  sideBar
*******************************************************/
/* champ de recherche */
#search-bar {
	height: 44px;
}
.nav-wrapper .input-field input[type=search] {
    padding: 9px 3rem 0 0.5rem;
}

#search-bar .input-field .btn{
	height: 44px;
}
#search-bar .input-field .label-icon{
	text-align: center;
	position:  absolute;
	left: initial;
	right: 0;
	top: 0;
}
#search-bar .input-field .btn i{
	width: 22px;
 	height: 44px;
	font-size: 1.8rem;
	line-height: 44px;
}
#search-bar .input-field input[type=search] ~ .material-icons {
    right: 4rem;
	top: 7px;
}

/* zone de resultat */
#search-bar #resultSearch .btn{
	height: 22px;
    position: relative;
}
#search-bar #resultSearch .btn i{
    width: 3px;
    height: 22px;
    font-size: 1.1rem;
    line-height: 22px;
    position: absolute;
    top: 0;
    left: 7px;
}
#resultSearch {
	display: none;
	position: absolute;
	right:0px;
	margin-top: 43px;
	background-color: #f1f1f1;
	min-width: 270px;
	overflow: auto;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 999;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

#resultSearch a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

#resultSearch.show {
	display: block;
	opacity: 1;
}

#menu .headline{
	margin-top: 0px;
	border-bottom: 1px solid;
}

ul.categories ul.categories {
	margin-left: 14px;
	color: #757575;
}

ul.categories li a {
	color: #757575;
	padding: 10px 0;
	display: block;
	border-bottom: 1px solid #ebebeb;
	transition:
		all 0.2s ease-in-out,
		box-shadow 0s ease-in-out;
}

ul.categories li:last-child a {
	border-bottom: none;
}

ul.categories li.active a,
ul.categories li a:hover {
	background-color: #7cb342 !important;
	padding-left: 15px;
	color: #fff !important;
	-webkit-box-shadow: 0 -1px 0 0 #fff;
	-moz-box-shadow: 0 -1px 0 0 #fff;
	box-shadow: 0 -1px 0 0 #fff;
	border-bottom-color: #fff;
}

ul.categories li a span {
	color: #fff !important;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

ul.categories li.active a span,
ul.categories li a:hover span {
	color: #fff;
}

.featured-recipe {
	position: relative;
	float: left;
	margin: 0 0 1px;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 120px;
}

.featured-recipe img {
	position: relative;
	display: block;
	width: 100%;
}

.featured-recipe:before {
	height: 100%;
	width: 100%;
	background-color: #555;
	opacity: 0.6;
	position: absolute;
	display: block;
	z-index: 99;
	content: "";
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.featured-recipe-content {
	position: absolute;
	top: 50%;
	left: 22px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 100;
}

#wrapper .listePopulaires .featured-recipe .featured-recipe-content h4 {
	font-size: 14px;
	line-height: 18px;
	color: #fff;
	font-weight: 700;
	width: 60%;
}

.post-icon {
	height: 36px;
	width: 36px;
	position: absolute;
	top: 0;
	right: 0;
	background-color: #7cb342 !important;
	display: block;
	color: #fff;
	font-size: 14px;
	z-index: 101;
	text-align: center;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(50%);
	opacity: 0;
	visibility: hidden;
}

.post-icon:before {
	content: "\e8f4";
	font-family: "Material Icons";
	position: relative;
	top: 7px;
	display: block;
}

.featured-recipe:hover .post-icon {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateX(0);
}

/*******************************************************
 *  Pied de page
*******************************************************/
.footer-copyright {
	width: 100%;
}

