/*
Theme Name: Divi Restaurant Theme
Version: 1.0
Description: Divi Restaurant Theme
Author: Destaca Imagen
Author URI: https://shop.destacaimagen.com
Template: Divi
*/

 
/*----------------- Empieza a tu código CSS personalizado aquí -------------------------------*/
/*Preloader*/


/*
#preloader{
	display:none !important
}
*/
#top-menu li.my-account{
	padding-left:20px;
    background: url(img/user.svg) no-repeat top left;
    background-repeat: no-repeat;
    background-size: auto 15px;
    transition: all ease 0.25s;
}

#top-menu li.my-account:hover{
	background-position-y: -40px;
}

.ecommerce-cart-with-items {
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 1;
    font-size: 90%;
    background: #fff;
    border-radius: 100%;
    padding: 0.2em 0.4em;
    border: solid 1px #c1c1c1;
    transform: translate(50%, 50%);
    font-style: normal;
}

#et-main-area{
	overflow-x:hidden;
}

#main-header{
	box-shadow:none;
}

#top-menu li a{
	position:relative;
}

#top-menu li a:hover{
	color:#22bc00 !important
}





#top-menu > li:not(.menu-item-has-children) > a:before{
	position:absolute;
	content:'';
	height:2px;
	width:0px;
	transition:all ease 0.25s;
	top:50%;
}

#top-menu > li:not(.menu-item-has-children) > a:hover:before{
	width:100%;
	background:#22bc00 !important
}

.et-cart-info{
	border-radius:100%;
	height:35px;
	width:35px;
	text-align:center;
	display:block;
	line-height:37px;
	transform:translateY(-20%);
	background:#22bc00;
	transition:all ease 0.25s;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.et-cart-info span{

   
}

.et-cart-info span:before{
	margin:0px !important;
	color:#fff;
}

.et-cart-info:hover{
	-webkit-box-shadow: 0 0 0 4px rgba(34,188,1,0.4);
box-shadow: 0 0 0 4px rgba(34,188,1,0.4);
}



/* CLASES */


.shadow-des a .et_pb_icon_wrap{
	transition:all ease 0.25s;
}

.shadow-des a:hover .et_pb_icon_wrap{
	-webkit-box-shadow: 0 0 0 4px rgba(34,188,1,0.4);
box-shadow: 0 0 0 4px rgba(34,188,1,0.4);
}

/* BLOG */
#first-post .et_pb_column_1{
  display:flex;
  justify-content:center;
  align-items:center;
}


#first-post .et_pb_post{
  margin-bottom:0px !important;
}

#first-post .et_pb_column_2 > div,
#first-post .et_pb_column_2 > div > div,
#first-post .et_pb_column_2 article{
	height:100%;
}

#first-post .et_pb_column_2 a{
  height:100%;
  margin-bottom:0px;
  display:block;
	overflow:hidden;
}

#first-post .et_pb_column_2 a img{
	object-fit:cover;
	height:100%;
	width:auto;
	transition:all ease 0.15s;
}


#first-post .et_pb_column_2 a img:hover{
	transform:scale(1.1);
}

#first-post .et_pb_column{
  position:relative;
}

#first-post .et_pb_posts a.more-link{ 
  position:absolute;
  top:15px;
  right:15px;
  width:60px;
  height:60px;
  border-radius:100%;
  background:#43BC27;
  -webkit-box-shadow: 0 0 0 0px rgba(67,188,39,0);
box-shadow: 0 0 0 0px rgba(67,188,39,0);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDgwIDgwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA4MCA4MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQo8L3N0eWxlPgo8cG9seWxpbmUgY2xhc3M9InN0MCIgcG9pbnRzPSIyOCwxNiA1Miw0MCAyOCw2NCAiLz4KPC9zdmc+Cg==);
  background-size:40px 40px;
  background-position:center;
  background-repeat:no-repeat;
  transition:all ease 0.25s;
}

#first-post .et_pb_posts a.more-link:hover{
  -webkit-box-shadow: 0 0 0 4px rgba(67,188,39,1);
box-shadow: 0 0 0 4px rgba(67,188,39,1);
}


/* BLOG LIST */
#blog-list-food article{
	display:flex;
	flex-wrap: wrap;
	background:#fff;
	border-radius:10px;
	overflow:hidden;
	justify-content:center;
	-webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,0.1);
box-shadow: 0 0 15px 0 rgba(0,0,0,0.1);
	transition:all ease 0.15s;
	cursor:pointer;
    padding-bottom: 0px;
}


#blog-list-food article:hover{
	transform:translatey(-5px);
}

#blog-list-food article > a{
  position: relative;
  display: block;
  overflow: hidden;
	width:40%;
	margin-bottom:0px;
}

#blog-list-food article > a:before{
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  background: rgba(0,0,0,0.2);
  transition: all ease-out 0.15s;
  z-index: 2;
	opacity:0;
}

#blog-list-food article > a:hover:before{
  opacity:1;
}

#blog-list-food article > a img{
  transition: all ease 0.25s;
	object-fit:cover;
	height:100%;
}

#blog-list-food article > a:hover img{
  transform: scale(1.2);
}

#blog-list-food .post-meta-wrapper{
	display: flex;
   flex-direction: column;
   justify-content: center;
	width:60%;
}

#blog-list-food a.more-link{ 
  position:absolute;
  top:15px;
  right:15px;
  width:30px;
  height:30px;
  border-radius:100%;
  background:#43BC27;
  -webkit-box-shadow: 0 0 0 0px rgba(67,188,39,0);
box-shadow: 0 0 0 0px rgba(67,188,39,0);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIxLjAuMiwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDgwIDgwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA4MCA4MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLXdpZHRoOjI7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fQo8L3N0eWxlPgo8cG9seWxpbmUgY2xhc3M9InN0MCIgcG9pbnRzPSIyOCwxNiA1Miw0MCAyOCw2NCAiLz4KPC9zdmc+Cg==);
  background-size:20px 20px;
  background-position:center;
  background-repeat:no-repeat;
  transition:all ease 0.25s;
}

#blog-list-food a.more-link:hover{
  -webkit-box-shadow: 0 0 0 4px rgba(67,188,39,1);
box-shadow: 0 0 0 4px rgba(67,188,39,1);
}

#last-event a.more-link{
	color:#fff;
	background:#000;
	display:inline-block;
	padding:10px 20px;
	margin-top:20px;
	transform:translatey(50%);
	transition:all ease 0.25s;
}

#last-event a.more-link:hover{
	background:#43bc27;
}
#last-event{
	padding-bottom:0px !important;
}

@media(min-width:750px){
#blog-list-food article .post-meta-wrapper{
	padding:20px 40px;
}
}

@media(max-width:749px){
	#blog-list-food article .post-meta-wrapper,
	#blog-list-food article > a{
		width:100%;
	}
	
#blog-list-food article .post-meta-wrapper{
	padding:20px;
}
}
/* EN BLOG LIST */
/* POST CONTENT */
#post-content .wp-block-image.size-large{
	width:120%;
	margin:70px 0 50px -10%;
}

#post-content .wp-block-image.size-large img{
	width:100%;
	border-radius:20px;
}

#post-content .is-layout-flow .wp-block-image.size-large{
	width:100%;
	margin:70px 0 50px 0%;
}

#post-content .is-layout-flow .wp-block-image.size-large img{
	
}

@media(max-width:768px){
	#post-content .wp-block-image.size-large{
	margin:30px 0 20px -10%;
}
	
#post-content .is-layout-flow .wp-block-image.size-large{
	width:100%;
	margin:0px 0 0px 0%;
}

}

/* Comments */
.comment-form-author,
.comment-form-email,
.comment-form-url{
	display:inline-block;
	width:33.3%;
	float:left;
	
}

.comment-form-author{
	padding-right:20px;
}

.comment-form-email{
	padding:0 10px;
}

.comment-form-url{
	padding-left:20px;
}

.comment-form-url input{
	float:right;
}


.comment-form-author input,
.comment-form-email input,
.comment-form-url input{
	width:100% !important;
}



.comment-form-url:after{
	clear:both;
	
}

@media(max-width:980px){
	.comment-form-author,
.comment-form-email,
	.comment-form-url{
		width:100%;
		padding:0px;
		float:none;
		margin-bottom:20px;
	}
}

/* Cart & Checkout */
.wc-proceed-to-checkout{
	width:300px;
	float:right;
}


.woocommerce form .form-row input.input-text{
	padding:10px 15px !important;
	border-radius:4px;
}

.et_pb_wc_cart_totals .select2-container .select2-selection--single, .et_pb_wc_checkout_billing .select2-container .select2-selection--single, .et_pb_wc_checkout_shipping .select2-container .select2-selection--single{
	padding:10px 15px !important;
}

.et_pb_wc_cart_totals .select2-container .select2-selection--single, .et_pb_wc_checkout_billing .select2-container .select2-selection--single, .et_pb_wc_checkout_shipping .select2-container .select2-selection--single{
	min-height:auto;
}


.et_pb_wc_checkout_payment_info_0.et_pb_wc_checkout_payment_info{
	background:transparent !important;
}

.et_pb_wc_cart_products .quantity .qty{
   min-width:70px;
}

/* Related */
@media(min-width:980px){
	#blog-list-food.related-food > div,
	.archive #blog-list-food > div,
	.search #blog-list-food > div{
		display:flex;
		flex-wrap:wrap;
		justify-content: space-between;
	}
	
	#blog-list-food.related-food > div article,
	.archive #blog-list-food > div article,
	.search #blog-list-food > div article{
		width:48.5%;
		padding-bottom:0px;
	}

}

/* PRODUCT */
/* PRODUCT */
  .woocommerce-product-gallery{
	  display:flex;
	  flex-direction:row;
	  flex-wrap:wrap;
		    justify-content: space-between;
  }
  
  .woocommerce-product-gallery .flex-viewport{
	  width:87.5%;
  }

  ol.flex-control-thumbs{
	  display:flex;
	  flex-wrap:wrap;
	  flex-direction:column;
	  margin-top:0px !important;
	  width:10%;
  }

  
  ol.flex-control-thumbs li{
	  width:calc(100% - 5px) !important;
  }

table.variations{
	margin-bottom:0px !important;
}
  
.woocommerce div.product div.images .flex-control-thumbs li{
	margin-bottom:15px;

}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger{
	right:15%;
}

ul.et_pb_tabs_controls{
	display:flex;
	background:none;
	justify-content: flex-start;
}


ul.et_pb_tabs_controls li{
	border-radius:5px 5px 0px 0px!important;
	border:none;
	width:50%;
	text-align:center !important;
}

.et_pb_all_tabs{
	border-top:1px solid rgba(0,0,0,0.1)
}

.et_pb_tab_content h2{
	font-size:1.5em;
	padding-bottom:20px;
}


#author, #email{
	width:100% !important;
}
/* MY ACCOUNT */
/* my account not logued*/
.woocommerce-info,
.woocommerce-notice{
	color: #000 !important;
}

.et_pb_module_inner .woocommerce-error{
	color: #000 !important;
	background: #fb5656 !important;
}

.woocommerce-notices-wrapper a{
	text-decoration: underline !important;
}
.woocommerce-form-login,
 .woocommerce form.register{
	max-width:600px;
	margin:0 auto 30px auto !important;
}

.woocommerce .u-columns.col2-set h2{
	font-size:23px !important;

}

.woocommerce .woocommerce-Button, .woocommerce .woocommerce-form-login .woocommerce-form-login__submit{
	color: #ffffff!important;
    border-width: 0px!important;
    border-radius: 0px;
    background-color: #000!important;
	float:right;
	margin-top:20px !important;
}

.woocommerce .woocommerce-Button:hover,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover{
	background:var(--main-color) !important;
	padding-right:20px !important;
	color: #000 !important;
}

.woocommerce a.button:hover, .woocommerce-page a.button:hover{
	padding-right:20px !important;
}

a.button:hover:after, .woocommerce-page a.button:hover:after,
.woocommerce .woocommerce-Button:hover:after,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:after{
	display:none;
	border-radius:5px !important;

}


.woocommerce-button.button.view{
	font-size:14px;
	background:#eed0c1;
	border-radius:5px;
	color:#303030;
	border:none;
	padding:5px 12px !important;
}

.woocommerce-button.button.view:hover{
	background:#ca6d4d;
	color:#fff;
	padding:5px 12px !important;
	border:none;
	border-radius:5px;}


.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message{
	background:#47b8cc;
}

.woocommerce-MyAccount-navigation ul{
	padding-right:40px;
}
.woocommerce-MyAccount-navigation ul li {
    list-style: none;
    padding:13px 5px;
    border-bottom: solid 1px rgba(0,0,0,0.1);

}

.woocommerce-MyAccount-navigation-link{
	line-height:16px !important;
	list-style:none !important;
}

.woocommerce-MyAccount-navigation-link a{
	padding: 20px 3px;
	color:#000;
	font-size:16px;
	
	
}

.woocommerce-MyAccount-navigation-link:before{
	display: none !important;
}

.woocommerce-MyAccount-navigation-link a:hover,
.woocommerce-MyAccount-navigation-link.is-active a{
	color:black;
}

.woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-MyAccount-content .woocommerce-column__title,
.woocommerce-MyAccount-content .woocommerce-Address-title h3{
	padding-top:20px;
	font-size:20px;
}

.woocommerce-MyAccount-navigation-link a:before {
    display: inline-block;
    font: normal normal normal 18px/1 dashicons;
    content: "\f015";
    color: rgba(0,0,0,0.4);
    margin-right: 5px;
}

.woocommerce-MyAccount-navigation-link a:hover:before,
.woocommerce-MyAccount-navigation-link.is-active a:before{
  color: black;
}


.woocommerce-MyAccount-navigation-link--dashboard a:before{
  content:'\f102';
}

.woocommerce-MyAccount-navigation-link--orders a:before{
  content:'\f174';
}

.woocommerce-MyAccount-navigation-link--downloads a:before{
   content: "\f346"; 
}

.woocommerce-MyAccount-navigation-link--edit-address a:before{
    content: "\f230";
}

.woocommerce-MyAccount-navigation-link--edit-account a:before{
 content: "\f464";
}

.woocommerce-MyAccount-navigation-link--customer-logout a:before{
    content: "\f110";
}


.woocommerce-MyAccount-navigation-link--payment-methods a:before{
	content:"\f111";
}


/* ORDER NOW */
.wcspc-container{
	padding:0 30px;
	counter-reset:section-menu;
}
.wcspc-container section:first-child{
	margin-top:0px;
	padding-top:0px;
}

.wcspc-category-title{
	color:#43bc27;
	font-size:30px;
	position:relative;
	padding-left:50px;
	margin-bottom:30px;
}

.wcspc-category-wrapper{
	counter-increment: section-menu;
}

.wcspc-category-title:before{
  content: counter(section-menu);
	font-weight:lighter;
	display:inline-block;
	position:absolute;
	left:0px;
	font-size:20px;
	width:40px;
	height:40px;
	border:1px solid;
	border-radius:100%;
	text-align:center;
	line-height:40px;
	top:-10px;
	background:#fff;
}

.wcspc-category-wrapper article{
	transition:all ease 0.25s;
	border:1px solid rgba(0,0,0,0.1);
	margin-bottom:20px;
	border-radius:5px;
		padding:0px;
	background:#fff;
	-webkit-box-shadow: 0 0 0px 0 rgba(0,0,0,0.1);
box-shadow: 0 0 0px 0 rgba(0,0,0,0.1);
}

.wcspc-category-wrapper article:hover{
	-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
	background:#fff;
}

.wcspc-category-wrapper article:hover .wcspc-product-name{
	color:#43bc27;
}

.wcspc-category-wrapper article img{
	border-radius:5px 0px 0px 5px;

}

.wcspc-product-name{
	margin-bottom:0px !important;
	padding-bottom:0px !important;
	margin-top:15px;
}

.wcspc-product-description{
	font-weight:400;
	font-size:15px;
}

.wcspc-product-price{
	font-size:120%;
	margin-top:20px;
}

.wcspc-category-image{
	padding:0px;
}

.woocommerce-privacy-policy-text p{
	font-size:14px;
	line-height:16px;
	color:#333;
	font-weight:400;
}

#place_order{
	width:100% !important;
}

@media(min-width:801px){
.sbi_follow_btn{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%)
}
}


/* FORM BOOK */
.spu-box{
	border-radius:20px !important;
}
.spu-container{
	border:none;
	box-shadow:0px 0px 20px rgba(0,0,0,0.3);
	border-radius:20px
}
#reservation-form{
	position:relative;
}
#reservation-form:before{
	content:'';
	position:absolute;
	top:0px;
	max-width:494px;
	width:50%;
	height:39.68%;
	display:block;
background-image:url(https://shop.destacaimagen.com/divi-restaurant-theme/wp-content/themes/Divi-Restaurant/img/pop-up.png);
	
transform: translate(-50%,calc(-100% - 19px));
    left: 50%;
	background-size:100% auto;
	background-position:bottom center;
	background-repeat:no-repeat
}

@media(min-width:768px){
#reservation-form form > p{
	display:inline-block;
	width:33.3%
}
    
#reservation-form form > p.et_pb_contact_field_4,
    #reservation-form form > p.et_pb_contact_field_5{
        width: 16.5%;
    }

#reservation-form form p[data-id="message"]{
	display:block;
	width:100%
}
	
.spu-close{
		text-shadow:none !important;
	  transform:translate(-5px,10px)
	}
	}

/* ORDER NOW*/
.wcspc-category-image img{
	object-fit:cover;
	height:100%;
}

.wcspc-info{
	padding-bottom:10px;
}

@media(max-width:1279px) and (min-width:981px){
    #home-banners{
        flex-wrap: wrap;
    }
    
    #home-banners > div:first-child{
        width: 100%;
    } 
    
    #home-banners > div:nth-child(2),
    #home-banners > div:nth-child(3){
        width: 47%;
        min-height:420px; 
        margin-top: 30px;
    } 
    
    
    
    .h-1024{
        display: none !important;
    }
    
}

@media(max-width:1300px) and (min-width:981px){
    .menus-list .et_pb_member_position{
        position: relative !important;
        max-width: 100% !important;
        right: 0px !important;
    }
    
    .menus-list .et_pb_team_member_image{
        max-width: 100% !important;
        width: 100% !important;
        margin-right: 0px !important;
    }
    
    .menus-list .et_pb_team_member_image img{
        width: 100% !important;
    }
    
    .menus-list .et_pb_module_header{
        width: 100% !important;
        font-size: 18px !important;
    }
}

@media(max-width:1279px){
    #home-banners > div:nth-child(2),
    #home-banners > div:nth-child(3){
        min-height:420px; 
    } 
}

@media(max-width:980px) and (min-width:540px){
    #view-gallery{
        flex-wrap: wrap;
        direction: flex;
    }
    #view-gallery > div:nth-child(2),
    #view-gallery > div:nth-child(3){
        width: 50%;
    }
    
     #view-gallery > div:nth-child(2) img,
    #view-gallery > div:nth-child(3) img{
        object-fit: cover;
    }
}
    
@media(max-width:980px){
    #reviews .et_pb_column{
        background-size:200px auto; 
        background-position:calc(100% + 80px) calc(100% + 50px);
        padding-right: 120px;
    }
    
    .wcspc-category-image{
        width: 33.3%;
    }
    
    .wcspc-info{
        width: 66.6%;
    }
}



@media(max-width:767px){
    #home-banners > div:nth-child(1){
        margin-bottom: 0px !important;
    }
    #home-banners > div:nth-child(2),
    #home-banners > div:nth-child(3){
        width:100%;
        margin:30px 0px 0px !important;
    } 
    
    .wcspc-category-image{
        margin: 10px auto 10px;
        width: calc(100% - 20px);
    }
    
    .wcspc-category-wrapper article img{
        border-radius: 5px !important;
    }
    
    .wcspc-info{
        width: 100%;
    }
    
    .et_pb_tab{
        padding:24px 5px;
    }
}

@media(max-width:540px){
    .wc-proceed-to-checkout{
        width:100%;
    }
}

@media(max-width:540px) and (orientation: portrait) {
	.spu-box {
		max-height: 80vh !important;
	}
}