.m_back_page {color: #808285 !important;}
.m_back_page:hover {text-decoration: none;}

/***** Sélection *****/
.m_content_selection {
	text-align: center;
	padding: 0;
}

div.m_content_selection a {display: inline;}

/***** Barre d'onglets *****/
.m_content_tab {
	border-bottom: 1px solid #C0C2C4;
	display: inline-block;
	margin: 0 auto;
}

.m_content_tab ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.m_content_tab ul li {
	float: left;
	margin-left: 5px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border: 1px solid #C0C2C4;
	border-bottom: 0 none;
	font-size: 12px;
	font-family: Arial, sans-serif;
	font-weight: bold;
	color: #808285;
	padding: 10px 8px;
	position: relative;
	cursor: pointer;
}

.m_content_tab ul li:first-child {margin-left: 0;}

.m_content_tab ul li:hover, .m_content_tab ul .selected {
	background-color: #D3545A;
	color: #fff;
}

.m_content_tab ul li a {
	width: 100%;
	height: 100%;
	color: #808285;
	margin: 0;
}

.m_content_tab ul li:hover a, .m_content_tab ul .selected a {color: #fff;text-decoration: none;}

/** Triangle sur onglet "selected" **/
.m_content_tab ul .selected:after {
	content: " ";
	font-size: 0px; line-height: 0%; width: 0px;
	border-top: 6px solid #D3545A;
	border-left: 5px solid transparent; 
	border-right: 5px solid transparent; 
	position: absolute;
	bottom: -6px;
	left: 50%;
	margin-left: -5px;
}

/*** Select à la place des onglets (tablette et téléphone) ***/
.m_list_tab {
	display: none;
}

.m_back_to_top {
	display: none;
	position: relative;
	margin-bottom: 15px;
	height: 26px;
	line-height: 26px;
	padding: 0;
}
.m_back_to_top:after {
	background-image: url(http://images.marmitoncdn.org/skins/1/common/images/sprite_icones.svg);
    background-size: 218px 1342px;
	background-position: -198px -695px;
	background-repeat: no-repeat;
	content: '';
	position: absolute;
	margin-top: -23px;
	width: 26px;
	height: 26px;
	right: 0;
	z-index: 0;
}
.m_back_to_top:hover {
	background-color: #fff !important;
}
.m_back_to_top a {width: 100%; height: 100%;display: block;z-index: 100;}
.m_back_to_top:hover a {text-decoration: none;}

/***** Contenu *****/
.m_title_tab {
	margin-top: 29px;
	margin-bottom: 33px;
}

.m_title_tab p {
	font-weight: 700;
	border-bottom: 1px dashed #D3545A;
	width: auto;
	padding-bottom: 10px;
	display: inline;
}

/***** Propriétés de grille *****/
.m_grid_recettes {
	max-width: 700px;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.m_grid_recettes li {
	position: relative;
	width: 212px;
	height: 217px;
	margin-left: 2.8px;
	margin-bottom: 2.8px;
	cursor: pointer;
	margin-top: -3.5px;    
	display: inline-block;
}
.m_grid_recettes .m_grid_first_line {margin-left: 0;}
.m_grid_recettes li img {
	width: 100%;
	height: 100%;
}
.m_grid_recettes li a {
	display: block;
	height: auto;
	margin: 6px 0;
	overflow: hidden;
}

/*** Propriétés de la description ***/
.m_grid_recettes li a .m_desc_grid_recettes {
	background-color: rgb(255, 255, 255);
	background-color: rgba(255, 255, 255, 0.9);
	position: absolute;
	width: 179px;
	height: 39px;
	margin-top: -50px;
	margin-left: 19px;
	display:table; 
	overflow: hidden;
	bottom: 5px;
	float: none;
}
.m_grid_recettes li:hover a .m_desc_grid_recettes {
	margin-top: -101px;
	height: 90px;
}
.m_grid_recettes li a .m_desc_grid_recettes .m_desc_content {
    display: table-cell;
	vertical-align: middle;
	width: 100%;
	margin: 0 auto;
	text-align: center;
	float: none;
	padding: 0;
}
.m_grid_recettes li a .m_desc_grid_recettes .m_desc_content span {
	font-weight: 700;
	display: inline-block;
	width: 150px;
}
.m_grid_recettes li:hover a .m_desc_grid_recettes .m_desc_content .m_desc_title {
	border-bottom: 1px solid #D2D2D2;
	padding-bottom: 10px;
}
.m_grid_recettes li a .m_desc_grid_recettes .m_desc_content .m_desc_subtitle {
	display: none;
	padding-top: 10px;
	color: #808285;
	font-size: 11px;
}
.m_grid_recettes li:hover a .m_desc_grid_recettes .m_desc_content .m_desc_subtitle {
	display: inline-block;
}
/* Affichage de la description au hover */
.m_grid_recettes li a .m_desc_grid_no_subtitle {
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.m_grid_recettes li:hover a .m_desc_grid_no_subtitle {
	margin-top: -50px;
	height: 39px;
	opacity: 1;
}
.m_grid_recettes li:hover a .m_desc_grid_no_subtitle .m_desc_content .m_desc_title {
	border-bottom: 0 none;
	padding-bottom: 0;
}
/*** Spécial sélection ***/
.m_grid_selections {margin-bottom: 20px;}
.m_grid_selections li {height: 168px;}
.m_grid_selections li a .m_desc_grid_recettes {padding: 0;}

.m_discover_selections {
	margin-top: 20px;
	width: 100%;
}
.m_discover_selections .m_discover_img_mobile {
	display: none;
	width: 100%;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

/***** Media Queries pour affichage de la descriptiuon sur tablette et mobile *****/
@media only screen and (device-width: 768px) {
	.m_grid_recettes li a .m_desc_grid_no_subtitle {
		margin-top: -50px;
		height: 39px;
		opacity: 1;
	}
}
@media only screen and (max-device-width: 1024px) {
	.m_grid_recettes li a .m_desc_grid_no_subtitle {
		margin-top: -50px;
		height: 39px;
		opacity: 1;
	}
}
@media only screen and (max-device-width: 840px) {
	.m_new_title {font-size: 25px;}
	.m_grid_recettes {
		max-width: 100%;
	}
	.m_grid_recettes li {
		float: none;
		display: inline-block;
		margin-left: 1.4px;
		margin-right: 1.4px;
	}
	.m_content_selection .m_content_tab, .m_content_selection h1 + p {
		/*display: none;*/
	}
	.m_content_selection .m_list_tab {
		display: block;
	}
	.m_back_to_top {display: block;}
	.m_discover_selections .m_discover_img_desktop {display: none;}
	.m_discover_selections .m_discover_img_mobile {display: block;}
}
@media only screen and (max-device-width: 500px) {
	.m_grid_recettes li {
		width: 266px;
		height: auto;
		margin-left: 0;
		margin-right: 0;
	}
	.m_grid_recettes li img {
		width: 266px;
	}
	.m_grid_recettes li a .m_desc_grid_recettes {
		margin-left: 43.5px;
		margin-right: 43.5px;
	}
}

/*** Propriétés Css spéciales pour la page "Recettes du même auteur" ***/
.m_grid_meme-auteur {
	width: 694px;
	margin: 0 auto;
	text-align: center;
}
.m_grid_meme-auteur li {
	width: 160px;
	height: 124px;
	margin: 6px;
	float: left !important;
	display: inline-block;
}
.m_grid_meme-auteur li a .m_desc_grid_recettes {
	width: auto;
	margin-left: 8px;
	bottom: 13px;
}
.m_grid_meme-auteur li a .m_desc_grid_recettes .m_desc_content span {
	width: 133px;
	padding-left: 5px;
	padding-right: 5px;
}
.m_grid_meme-auteur li a .m_desc_grid_recettes .m_desc_content span span {
	padding-left: 0;
}
.m_grid_meme-auteur li img {
	width: 100%;
}
@media only screen and (max-device-width: 840px) {
	.m_grid_meme-auteur li {float:none !important;}
}