/*
 Theme Name:   Extra-Child
 Theme URI:    https://bonjourdarling.com/
 Description:  A Child Theme built for Extra
 Author:       Miguel Muñoz
 Author URI:   http://miguelmsm.com
 Template:     Extra
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* General changes for all modules */

.et_pb_extra_module,
.posts-blog-feed-module.masonry .hentry{
	background: #fff;
    box-shadow: none;
	border: none;
	border-radius: 0;
}

.posts-blog-feed-module.masonry .post-content{
	padding: 0;
}

@media (min-width: 980px){
	body.blog .container {
		width: 100%;
		max-width: none;
	}

	body.blog .container .not-full-width {
		width: 90%;
		max-width: 1100px;
		margin: 0 auto;
	}
}

/* Z-index Header */

header .et_builder_inner_content{
	z-index: 999 !important;
}

/* STICKY HEADER */
@media only screen and (min-width: 981px) {
	#main-content {
		padding-top:30px;
	}
	
	#divi-sticky-header {
		top: 0;
		width: 100%;
		z-index: 99 !important;
	}
	
	#divi-sticky-header #menu-section #secondary-left-menu{
		width: 1%;
	}
	
	#divi-sticky-header .et_pb_column.et_pb_column_3_5 {
		width: 80%;
    	margin-left: 3%;
		z-index: 999 !important;
	}

	#divi-sticky-header #menu-section #social-networks{
		width: 14%;
	}
	
	
	#menu-section .et_pb_menu__search-button {
		left: 0;
		position: absolute;
		top: 16px;
		margin-left: 0;
	}
	
	#left-menu {
		left: -1px;
		position: absolute;
		top: 6px;
		margin-left: 0;
	}
	
	#left-menu #mega-menu-wrap-secondary-menu .mega-menu-toggle .mega-toggle-blocks-left .mega-toggle-block {
		margin-left: -8px;
	}
	
	#mega-menu-wrap-secondary-menu .mega-menu-toggle.mega-menu-open + #mega-menu-secondary-menu{
		margin-top: 8px;
	}
	.et_pb_menu__menu{
		margin-left: 90px;
	}
}

#mega-menu-wrap-secondary-menu #mega-menu-secondary-menu > li.mega-menu-item > a.mega-menu-link{
    font-family: 'Open Sans Condensed',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    font-size: 16px;	
}


/* MOBILE MENU */

.et_mobile_nav_menu ul.et_mobile_menu{
	padding: 0;
}

.et_mobile_nav_menu ul.et_mobile_menu li{
	padding: 3%;
	margin-bottom: 0;
}

.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23173,
.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23172,
.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23171,
.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23170{
	background-color: #f4a32b;
}

.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23173 a,
.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23172 a,
.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23171 a,
.et_mobile_nav_menu ul.et_mobile_menu li#menu-item-23170 a{
	color: #fff !important;
	border-bottom: 1px solid rgba(255,255,255,.3) !important;
}

/* MENU SHOP */

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a,
.et-menu .menu-item-has-children>a:first-child:after {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}


.et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu li.shop a,
.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu li.shop a,
.et_mobile_menu li.shop  a,
#menu-menu-principal  li.shop  a{
	background-color: #f86046;
	color: #fff !important;
	border-radius:5px;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.17);
	font-weight: 600;
	padding-left: 10px;
	padding-right: 10px;
}


.et_mobile_menu li.shop  a:hover,
#menu-menu-principal  li.shop  a:hover{
    color: #fff !important;
    background: #f4a32b;
}
.et_mobile_menu li.shop  a:before,
#menu-menu-principal  li.shop  a:before{
	display: none;
}


/* FOOTER */


.et_bloom .et_bloom_inline_form{
	margin: 0 !important;
}

.et_bloom_header_outer{
	display: none !important;	
}

/* Category Layout */

.archive.category h1{
	display: none;
}

.archive.category .container{
	max-width: 1100px;
}

/*

@media (max-width: 980px){
	.et_extra_layout .et_pb_column, .et_pb_extra_column{
		padding: 0 !important;
	}
}*/


/* READ MORE */

.read-more-button{
	text-transform: none;
	padding: 0;
    font-size: 24px;
    color: #1d2f3a !important;
    background: transparent;
    font-family: 'Open Sans Condensed',Helvetica,Arial,Lucida,sans-serif!important;
}

.read-more-button:hover{
	background: transparent;
    color: #f86046;
}

/* HOME - TOP POST */

.posts-blog-feed-module.top-post .hentry {
    border-bottom: none;
	padding: 0;
}

.posts-blog-feed-module.standard.top-post .hentry.type-post.has-post-thumbnail .header {
	width: 60%;
	padding: 0;
}

.posts-blog-feed-module.standard.top-post .hentry.type-post.has-post-thumbnail .post-content{
	width: 40%;
	padding: 0;
	position: relative;
}


@media (min-width: 980px){
	.posts-blog-feed-module.top-post .header img{
		height: 480px;
		object-fit: cover;
	}
	
	.posts-blog-feed-module.standard.top-post .hentry.type-post.has-post-thumbnail .post-content,
	.posts-blog-feed-module.standard.top-post .hentry.type-post.has-post-thumbnail .header {
		height: 480px;
	}
	
	.posts-blog-feed-module.standard.top-post .hentry.type-post.has-post-thumbnail .post-content {
		padding-left: 50px;
	}
}

@media (max-width: 980px){
	.posts-blog-feed-module.top-post .header img{
		height: 390px;
		object-fit: cover;
	}
}

.posts-blog-feed-module.top-post .post-title {
	margin-top: 30px;
}

.et_extra_layout .top-post .hentry .post-meta {
	position: absolute;
	top: 0;
}

.et_extra_layout .top-post .hentry .post-meta p {
	line-height: 1;
}

.et_extra_layout .top-post .hentry .entry-summary{
	padding: 25px 0;
}
/*
.et_extra_layout .top-post .hentry .read-more-button {
	position: absolute;
	bottom: 0;
	line-height: 0.65;
}*/

/* THREE COLUMN POST */

.posts-blog-feed-module.three-column-post .header{
	margin: 0 0 10px;
}

.posts-blog-feed-module.three-column-post .paginated_page[data-columns="3"] .column:first-child{
	padding-left: 0;
    padding-right: 40px;
}

.posts-blog-feed-module.three-column-post .paginated_page[data-columns="3"] .column{
	padding-left: 20px;
    padding-right: 20px;
}

.posts-blog-feed-module.three-column-post .paginated_page[data-columns="3"] .column:last-child{
	padding-left: 40px;
    padding-right: 0;
}

.posts-blog-feed-module.three-column-post .header img{
	height: 390px;
	object-fit: cover;
}


/* THREE COLUMN POST --- ONE COLUMN POST --- META */


.posts-blog-feed-module.one-column-post .et-format- .post-content,
.posts-blog-feed-module.three-column-post .et-format- .post-content{
	position: relative;
}


.et_extra_layout .one-column-post .hentry .post-title,
.et_extra_layout .three-column-post .hentry .post-title {
	padding-top: 35px;
}


.et_extra_layout .one-column-post .hentry .post-meta,
.et_extra_layout .three-column-post .hentry .post-meta {
	position: absolute;
	top: 0;
}


.et_extra_layout .top-post .hentry .post-meta p
.et_extra_layout .top-post .hentry .post-meta p {
	line-height: 1;
}


.et_extra_layout .one-column-post .hentry .entry-summary,
.et_extra_layout .three-column-post .hentry .entry-summary {
	display: none;
}

/* Page Home */

.page-id-25623 h1.entry-title{
	display: none !important;
}

.page.page-id-25623 #main-content .container{
	max-width: 1080px;
}

/* ONE COLUMN POST */
.posts-blog-feed-module.masonry.one-column-post .paginated_page[data-columns="3"] .column{
	width: 100%;
}

.posts-blog-feed-module.masonry.one-column-post  .paginated_page[data-columns="3"] .column:first-child{
	padding-right: 0;
}

.et_pb_extra_module, .posts-blog-feed-module.masonry.one-column-post.right-post .hentry{
	margin-right: 9px;
}

.et_pb_extra_module, .posts-blog-feed-module.masonry.one-column-post.left-post .hentry{
	margin-left: 9px;
}

.posts-blog-feed-module.one-column-post .header img{
	height: 390px;
	object-fit: cover;
}

/* ONE COLUMN POST - NO IMAGE */

.posts-blog-feed-module.masonry.one-column-post.no-image .hentry {
	margin-bottom: 0;
}

.posts-blog-feed-module.masonry.one-column-post.no-image .header{
	margin-bottom: 5px;
}
/* SLIDER */

@media (min-width: 980px){
	/*.featured-posts-slider-module.slider-top-articles .carousel-item{
		height: 464px !important;
	}*/
}

@media (max-width: 980px){
	.featured-posts-slider-module.slider-top-articles .carousel-item{
		height: 490px;
	}
	.featured-posts-slider-module.slider-top-articles .carousel-item .post-content-box{
    	margin-top: 410px !important;
	}
}

/* SHOP SECTION */ 

@media only screen and (max-width: 1024px){
	
	.et_extra_layout .shop-section .et_pb_image {
		margin-left: auto;
		margin-right: auto;
		width: 50%;
	}
}
/* INSTAGRAM FEED */ 

.et_extra_layout .et_pb_column.instagram-feed-column{
	padding: 0 !important;
}

#sb_instagram #sbi_load{
	padding: 0!important;
	height:0;
}

#sb_instagram .sbi_follow_btn a{
	display:none;
}

/* SINGLE POST */

.single-post .post-thumbnail img{
	width: 1100px;
	height: 550px;
	object-fit: cover;
}

@media only screen and (max-width: 1024px){
	.single-post .post-thumbnail img{
		height: 390px;
		object-fit: cover;
	}
}

.single-post .container{
	max-width: 980px;
}

.single article{
	box-shadow: none;
}

.single article .post-header{
	padding-top: 0;
}

.related-post .featured-image img {
    height: 146px;
    object-fit: cover;
}


/* SiNGLE PAGE */ 

.et_pb_pagebuilder_layout .page .post-wrap h1{
	padding-bottom: 0px;
}


.page #main-content .container{
	max-width: 980px;
}

.page article{
	border: none;
	box-shadow: none;
}


/* SEARCH RECIPES */

form.searchandfilter ul{
    width: 100%;
    max-width: 68.75rem;
    height: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(230, 230, 230);
    border-radius: 5px;
	padding: 0;
}

form.searchandfilter ul li{
    display: inline-block;
    padding: 0.35rem;
	width: 33%;
	position: relative;
}

.searchandfilter label{
	width: 100%;
}

form.searchfilter ul li select{
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3…c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
	background-size: .65em auto, 100%;
}

form.searchandfilter ul li select,
form.searchandfilter ul li input{
	height: 3.05rem;
	background-color: rgb(255, 255, 255);
	width: 100%;
	border-radius: 0;
}

form.searchandfilter ul li.sf-field-search{
	width: 66%;
}

form.searchandfilter ul li.sf-field-search,
form.searchandfilter ul li.sf-field-post-meta-type{
	border-bottom: 1px solid rgb(230, 230, 230);
}


form.searchandfilter ul li.sf-field-post-meta-type,
form.searchandfilter ul li.sf-field-post-meta-temps_de_preparation {
	width: 34%;
}


form.searchandfilter ul li.sf-field-search::after,
form.searchandfilter ul li.sf-field-post-meta-difficulte::after,
form.searchandfilter ul li.sf-field-post-meta-particularite::after{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 1px;
	z-index: 10;
	height: 100%;
	background-color: rgb(230, 230, 230);
	content: " ";
}


/* search  mobile */
@media (max-width: 980px){
	
	form.searchandfilter ul{
		height: 100%;
	}
	
	form.searchandfilter ul li{
		width: 100% !important;
	}
	
	form.searchandfilter ul li.sf-field-search::after{
		display: none;
	}
	
	
	form.searchandfilter ul li.sf-field-search,
	form.searchandfilter ul li.sf-field-post-meta-type,
	form.searchandfilter ul li.sf-field-post-meta-particularite,
	form.searchandfilter ul li.sf-field-post-meta-difficulte{
		border-bottom: 1px solid rgb(230, 230, 230);
	}
}

.et_pb_section.section_search_recipes{
	padding: 0;
}

.found_recipes{
	text-align: center;	
}

.found_recipes h1{
	color: #f4a32b;
	font-size: 26px;
	padding-bottom: 0px;
	font-family: 'Open Sans Condensed',Helvetica,Arial,Lucida,sans-serif;
}

.found_recipes h2{
	color: #f4a32b;
	font-weight: 600;
	font-size: 26px;
	padding-bottom: 0;
	font-family: 'Open Sans Condensed',Helvetica,Arial,Lucida,sans-serif;
}

.single-result-template-recette:hover {
    transform: translateY(-5px);
}

.single-result-template-recette {
    position: relative;
    display: block;
    min-height: 100%;
    transition: all 0.3s cubic-bezier(0.41, 0.094, 0.54, 0.07) 0s;
}

.single-result-template-recette:hover::before {
    opacity: 1;
}

.single-result-template-recette::before {
    position: absolute;
    top: -1rem;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    background-color: rgb(255, 255, 255);
    content: " ";
    opacity: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 15px;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.41, 0.094, 0.54, 0.07) 0s;
}

.single-result-template-recette img{
    box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 10px;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.41, 0.094, 0.54, 0.07) 0s;
	height: 220px;
    width: 320px;
    object-fit: cover;
}

.single-result-template-recette h3{
	color: rgba(0,0,0,.75);
	font-weight: 700;
	font-size: 16px;
	padding-bottom: 0;
}

.single-result-template-recette p{
	color: #777;
}

.single-result-template-recette .et_pb_module{
	margin-bottom: 1.5rem !important;
}

.et_pb_row.found_recipes_pagination{
	padding-top: 0 !important;
}

.wp-pagenavi{
	justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(230, 230, 230);
    text-align: center;
}

.wp-pagenavi a {
	border-color: rgba(0,0,0,.1);
    background: rgba(0,0,0,.1);
	text-decoration: none;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    color: rgba(0,0,0,.6) !important;
	font-size: 14px;
	font-weight: 600;
}

.wp-pagenavi span{
	border-color: #f4a32b;
    background: #f4a32b;
	text-decoration: none;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    color: #fff !important;
	font-size: 14px;
	font-weight: 600;
}

