/**
Theme Name: Eureka Vet
Author: Mattia Baffe
Author URI: https://www.mbcreativedesign.it
Description: Tema Proprietario
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eureka-vet
Template: astra
*/

/*404*/

/*Novita*/

.single-novita .entry-header{display:none}

.hero-title{
text-align:center !important;	padding:40px;
	line-height:1.1em;
}

@media screen and (max-width:768px){
	.ast-post-format-.single-layout-1{
padding:25px !important;
}
}

.eurekavet-novita-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

@media (max-width: 768px) {
    .eurekavet-novita-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .eurekavet-novita-grid {
        grid-template-columns: 1fr;
    }
}

.eurekavet-novita-item {
    position: relative;
    color: white !important;
}

.eurekavet-novita-thumbnail {
    background-size: cover;
    height: 300px; /* esempio */
    position: relative;
}

.eurekavet-novita-item .novitacontent
{top:0px !important;
position:absolute;
padding:30px;}

.eurekavet-novita-item h2 {
	color:white;
}

.eurekavet-novita-item a {
    bottom: 0px;
    background: transparent; 
    border: 2px solid white; 
    color: white;
    text-align: center;
    padding: 5px 10px;
    text-decoration: none !important;
	font-weight:bold;
	text-transform:uppercase;
    margin:30px;
    position:absolute;
}

.eurekavet-novita-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Black overlay with 50% opacity */
    z-index: 0;
}


/*Loghi Categorie*/

.category-logo{
	position:absolute;
	right:10px;
	top:10px;
	border-radius:100%;
	background:rgba(255,255,255,0.75);
	display:flex;
	align-content:center;
	justify-content:center;
}

.category-logo svg{
	width:40px;
	padding:10px;
}

.category-logo path{
	fill:#336d91;
}

/**/


.entry-summary del{
margin-left:15px;
	font-size:80%;
}

.astra-shop-summary-wrap del{
	margin-left:10px;
}

.product_meta{display:none;}

@media screen and (max-width:768px){.woocommerce-message {
  margin-top: 20px !important;
  display: flex !important;
  flex-direction: column !important;
}
	}
/*EurekaPoints*/

.wps_cart_points_apply{
	color:#00425c !important;
	background:transparent !important;
	border:2px solid #00425c !important;
}

.wps_cart_points_apply:hover{color:white !important;
background:#00425e !important;
transition:0.1s;}

.wps_wpr_cart_redemption__notice:before{
		content: "";
display: inline-block;
width: 25px;
height: 25px;
margin-top:-2px;
background-image: url("https://www.mbcreativedesign.it/demos/wp-content/themes/eureka-vet/icone/EurekaPoints.png");
background-size: cover; 
background-repeat: no-repeat;
}

.wps_wpr_cart_redemption__notice{
	text-align:left !important;
	padding-left:55px !important;
}


.beforify:before{
	content: "";
display: inline-block;
width: 30px;
height: 30px;
background-image: url("https://www.mbcreativedesign.it/demos/wp-content/themes/eureka-vet/icone/EurekaPoints.png");
background-size: cover; 
background-repeat: no-repeat;
margin-right:15px;
}


#wps_wpr_order_notice {
margin-bottom: 10px !important;
margin-top:10px;
}


.eurekapoints_banner{
	border: 1px solid #ddd;
background:white;
padding:20px
}

@media screen and (max-width:768px){
	.wps_wpr_view_log{
	float:left;
	margin-top:20px;
	margin-bottom:20px;
		font-size:80%;
}
}

.eurekapoints_banner{
	background:white;
	display:flex;
	align-items:center;
}




.eurekapoints_banner:before{
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("https://www.mbcreativedesign.it/demos/wp-content/themes/eureka-vet/icone/EurekaPoints.png");
    background-size: contain; 
    background-repeat: no-repeat;
    margin-right: 15px;
}




.wps_wpr_each_section{
	padding:20px !important;
	background:white;
}

.wps_wpr_points_only.wps_wpr_show_points_on_account_page{
margin-bottom:40px;
float:left;
background:white;
padding:20px;
margin-bottom: 30px!important;
box-shadow: 0 0 10px -1px #d1d1d1;
}

.wps_wpr_points_only.wps_wpr_show_points_on_account_page:before{
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("https://www.mbcreativedesign.it/demos/wp-content/themes/eureka-vet/icone/EurekaPoints.png");
    background-size: cover; 
    background-repeat: no-repeat;
	margin-right:15px;
}

.wps_wpr_apply_custom_points{
margin-top:30px
}

.wps_wpr_restrict_user_message{
	margin-top:10px
}

/*Icone*/

#icon-wrapper{
	display:flex;
	margin-bottom:20px;
max-width:650px;
	overflow:scroll;
	padding-top:5px;
	padding-bottom:5px;
	padding-left:5px;
}

.icon_woo{
	width:65px !important;
	max-width:65px;
	height:65px !important;
	max-height:65px;
	background:white;
	margin-right:10px;
	padding:0px;
	padding-bottom:-20px;
	    -webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21);
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.21);
	display:flex;
	flex-direction:column;
	justify-content:center;
	align-items:center !important;
	box-sizing: border-box;
}

.icon_woo svg{
	width:90px;
	height:27px;
}

.icon_woo path{
	fill:#336d91;
}


.icon_text{
	font-size:6px;
	text-transform:uppercase;
	text-align:center;
	margin-bottom:-4px !important;
}

.product-title a{
	color:#494949;
}


.search-result-item {
    max-width: 1400px;
    margin: auto;
	margin-bottom:20px;
	margin-top:20px;
    padding: 20px;
    background: white;
    border-top: 4px solid orange;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21);
    box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.21);
}
    
/* Stili per desktop */
@media (min-width: 991px) {
    .search-result-item {
        display: flex;
        align-items: center;
    }
	
	.search-result-item .buy-button{
	width:150px !important;
}

    .product-image {
        flex-basis: 30%;
        text-align: center;
    }
    .product-image img {
        max-width: 100%;
        height: auto;
    }
    .product-info {
        flex-basis: 70%;
    }
}

/* Stili per tablet */
@media (min-width: 768px) and (max-width: 990px) {
    .search-result-item {
        display: flex;
        align-items: center;
    }

	.search-result-item .buy-button{
	width:150px !important;
}
	
    .product-image, .product-info {
        flex-basis: 50%;
        text-align: center;
    }

    .product-image img {
        max-width: 100%;
        height: auto;
    }
}

/* Stili per mobile */
@media (max-width: 767px) {
    .search-result-item {
        display: block; /* Imposta il layout a block per i dispositivi mobili */
        margin-bottom: 20px;
    }

    .product-image, .product-info {
        width: 100%;
        text-align: center;
    }

    .product-image img {
        max-width: 100%;
        height: auto;
    }

    .product-info .product-title, .product-info .product-description {
        margin-top: 10px;
    }
}








/**/
.ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after, .ast-theme-transparent-header .ast-site-header-cart .ast-addon-cart-wrap i.astra-icon:after{
	background:orange;
	color:white;
	font-weight:bolder !important;
}

.cart_totals{
	background:white;
}


/**/

.downloads-link{display:none;}

.woocommerce-MyAccount-navigation{
	margin-bottom:20px
}


.woocommerce-MyAccount-navigation-link a {
padding: 20px !important;
	background:white;
}

.woocommerce-MyAccount-navigation-link--downloads{
	display:none;
}



address{
	background:white;
}


.wcmamtx_dashboard_link {
	background:white;
}

.wcmamtx_dashboard_link .fa {
color:orange;
}

.woocommerce-MyAccount-navigation-link.is-active a {
background-color: #00425e !important;
color:white;
}

.woocommerce-js .woocommerce table.shop_table {
background: white;
}

.wcmtx-my-account-links.wcmtx-grid{
	margin-bottom:20px;
}

@media screen and (max-width:768px){
	.wcmtx-my-account-links.wcmtx-grid{
		display:none;
	}	
}

.woocommerce-MyAccount-navigation-link.is-active i {
color:white;
}

.woocommerce-MyAccount-navigation-link_a i{
	margin-right:15px;
	color:orange;
}


body:not(.ast-theme-transparent-header) .ast-main-header-wrap.main-header-bar-wrap {border-bottom:1px solid white;}

/*Hero Menu*/


.mega-menu-wrapper{
        width:100vw;
        background:white;
        padding:40px;
    }

    .mega-menu-container{
max-width:1400px;
        display:flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin:auto;
    }
    
    .mega-menu-column{
        width:calc(20% - 40px);
        margin:20px;
    }  
    
    .mega-menu-img{
        height:150px;
        object-fit:cover;
        width:100%;
    }
    
    .column-text{
        height:150px;
        overflow:scroll;
        text-align:justify;
        margin-top:20px;
        margin-bottom:30px;
			font-size:90%;
			line-height:1.6em;
			color:grey;
    }

.column-title{
margin-bottom:20px;
}
    
.buy-button {
    background: #266A87;
    color: white;
    padding: 10px 30px;
	border:3px solid #266A87;
    box-sizing: border-box; /* Include padding and border in the element's width and height */
}

a.buy-button {
    text-decoration: none !important;
	font-weight:500;
    width: 100%;
    display: block;
	text-align:center;
}

    
    .buy-button:hover {
        background:white;
        transition:0.3s;
        color:white;
			color:#00425e;
    }
    
    #product_hero{
        opacity:0;
        display:none;
			position:absolute;
			left:0;
			margin-top:25px;
			z-index:99;

border: 0.5px solid  grey !important;
-webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21); 
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.21);

    }


/**/

.ast-primary-header-bar {
border-bottom: 1px solid white;
}

/*Articolo Blog*/

.ast-post-format-.single-layout-1 {
background-color: white;
}

.ast-related-posts-inner-section{
background:white;
}

.navigation.post-navigation{
	background:#3679A3;
	padding:20px;
	margin-top:20px;
}

.navigation.post-navigation a{
	color:white;
}

.entry-header  img.attachment-large.size-large.wp-post-image{display:none}


/*.ast-post-format-.single-layout-1 {
    padding: 40px;
	border: 0px solid  grey;
		-webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21); 
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.21);
border-bottom: 0.25px solid  grey;
}*/

.ast-post-format-.single-layout-1 {
    padding: 40px;

}


/*.ast-related-post{
	border: 1px solid #ddd;
	border-top:5px solid orange !important;
	-webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21); 
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.21);
border-bottom: 0.25px solid  grey;
}*/

.ast-related-post{
	border-top:5px solid orange !important;
}

.ast-related-post .entry-title a{font-weight:bold; color:#336d91;}

.ast-related-post .entry-header{padding-left:20px; padding-right:20px}

h1.hero-title {
    z-index: 9;
    position: relative;
}



.entry-header .ast-single-post-order{display:none}

/*Pagina Blog*/ 

.elementor-13515 .elementor-element.elementor-element-b1fb9ff .wpr-grid-pagination a{background-color:#336d91 !important; width:100%; border-radius:0 !important; margin-bottom:20px; text-decoration:none; text-transform:uppercase;}


.wpr-grid-item-below-content.elementor-clearfix {
margin: 20px;
  border: none !important;
}

a.wpr-button-effect.wpr-button-none {
    color: white !important;
    text-decoration: none;
    text-transform: uppercase;
}

.wpr-grid-item-inner{border-top:5px solid orange}


.wpr-grid-image-wrap {
  height: 200px;
}

.wpr-grid-image-wrap img {
  display: block;
  height: 100%;
  width: 100%;
	object-fit:cover;
}

.wpr-button-effect.wpr-button-none {background:#336d91; width:100%; text-align:center;
padding:5px !important; margin-top:10px;
}

.archieveheader h1{color:white !important}

.archieveheader {
	position:relative;
    min-height: 40dvh;
    display: flex;
    justify-content: center;
    color: white !important;
    align-items: center;
background-image:url("https://www.mbcreativedesign.it/demos/wp-content/uploads/2020/12/dog-5504866_1920.jpg");
	background-position:center;
	background-size:cover;
margin-bottom:20px;
			-webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21); 
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.21);
border:0.5px solid grey !important;
}

.ast-page-builder-template .ast-archive-description {
    margin: 2em auto 0;
    padding-left: 20px;
    padding-right: 20px;
    height: 90%;
    display: flex;
    justify-content: space-around;
align-items: center;
border-bottom: 0;
color: white !important;
flex-direction: column;
justify-content: center;
}

/* Stile per la griglia di articoli */

.read-more-wrapper{
    width: 100%;
    text-align: center;
background: #336d91;
	color:white !important;
    padding: 5px;
    text-transform: uppercase;
    margin-top: 10px;
}

.read-more-wrapper a{color:white;}

.read-more-wrapper:hover {background:grey; transition:0.5s;}

.entry-content-wrapper{padding:20px}

.entry-content-wrapper header.entry-header{margin-top:0 !important}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
margin: 0 auto;
max-width: 1140px;

padding:20px
}

.article-grid .entry-thumbnail img {
  width: auto;
  height: 100%;
}

/* Stile per ciascun articolo nella griglia */

.article-grid article {
    border: 1px solid #ddd;
	border-top:5px solid orange;
    padding: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
	-webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21); 
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.21);
border-bottom: 0.25px solid  grey;

}

.article-grid .ast-article-post {
    padding: 0 !important;
}


.article-grid .entry-thumbnail {
    flex: 1;
    margin-bottom: 10px;
}

.article-grid .entry-thumbnail img {
    width: 100%;
    height: 100%;
}


.article-grid .entry-title {
    font-size: 18px;
    margin-bottom: 10px;

	font-weight:bold !important;
}

.article-grid .entry-title a{font-weight:bold !important;
color: #336d91;}

/* Stile per il contenuto estratto dell'articolo */
.article-grid .entry-content {
font-size: 14px;
color: #555;
}



.logged-in .accedi{display:none}


body:not(.logged-in) .account{
display: none;
}

.user a{border:2px solid white; padding:7px; padding-left:15px; padding-right:15px; text-transform:uppercase; font-weight:bold; color:white !important;}

.user a:hover{color:black !important; background:white !important; transition:0.5s !important;}

.ast-woocommerce-container .ast-article-single{padding-top:30px;}

.heroshop{
background-image:url("https://www.mbcreativedesign.it/demos/wp-content/uploads/2023/10/vet2.jpg");
}



.site-footer{z-index:10}

/*Styling Categoria*/

.archive #primary {
margin: 0;
padding: 0 !important;
}

.archive .main-content-wrapper {
margin: 10px;
padding-top:20px
}

.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img {
margin-bottom: 0;
}

.main-content-wrapper{padding:20px; padding-right:0}

.category-hero{
-webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.21); 
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.21);
border-bottom: 0.25px solid  grey;
margin-right:-20px;
margin-left:-20px;

position:relative;
		z-index:0;
}

/*li.product-category{
-webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.31); 
box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.21);
border: 0.25px solid  grey;}*/




.ul.products.columns-4{padding:20px}

.woocommerce-breadcrumb{display:none}


.category-hero {
position: relative;
min-height: 30dvh;
background-size: cover;
background-position: center;
color: #ffffff;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100% !important;
background: black !important;
opacity:0.5;
border-bottom:1px solid white;
}

.hero-content {
z-index: 1;
margin:20px;
padding: 40px;
	line-height:1.5em;
font-size:90%
}

.category-title {
    margin-bottom: 10px;
	color:white;}


.category-description {
    font-size: 1.2em;

}

#secondary{
border-right:1px solid white !important;
}

/*Styling pagina prodotto*/

/* ul.products li.product {
-webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.11); 
box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.11);
overflow:hidden;
	border-top:4px solid orange !important;
border: 0.25px solid  grey;
	background:white;
} */

ul.products li.product {
overflow:hidden;
	border-top:4px solid orange !important;
	background:white;
}

/*Styling prodotti*/

@media (min-width: 922px){
.woocommerce #content .ast-woocommerce-container div.product div.images, .woocommerce .ast-woocommerce-container div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images {
    width: 45% !important;
}
.woocommerce #content .ast-woocommerce-container div.product div.summary, .woocommerce .ast-woocommerce-container div.product div.summary, .woocommerce-page #content .ast-woocommerce-container div.product div.summary, .woocommerce-page .ast-woocommerce-container div.product div.summary {
    width: 51%;
}

}

/*
.woocommerce-tabs.wc-tabs-wrapper{
-webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.11); 
box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.11);
overflow:hidden;
border: 0.25px solid  grey;
padding-left:20px;
padding-right:20px;
background:white;
}
*/

.woocommerce-tabs.wc-tabs-wrapper{
overflow:hidden;
padding-left:25px;
	padding-right:25px;
background:white;
}



.woocommerce-products-header__title{display:none !important}

.astra-shop-summary-wrap .ast-woo-product-category{color:#f59d20 !important; font-weight:bold; font-size:100% !important}

/*.woocommerce-product-gallery__wrapper {
-webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.11); 
box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.11);
overflow:hidden;
	border-top:4px solid orange !important;
border: 0.25px solid  grey;
pointer-events:none;
}*/

.woocommerce-product-gallery__wrapper {
overflow:hidden;
	border-top:4px solid orange !important;
pointer-events:none;
}



.astra-shop-summary-wrap {
    padding: 20px;
}

/*Sidebar*/



@media (max-width: 921px) {

.hero-content {
padding: 10px;
}
	
.main-content-wrapper{padding:0; padding-top:20px; }

.woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images{
margin-top:20px}
	#secondary{z-index:1; margin-left:0 !important;}

main#main {
    margin-right:0px;
}

	

div#secondary {
    height: auto !important;
}
	
.sidebar-main .widget {
    margin: 0 !important;
}
	
	
ul#menu-sidebar {
    display: flex;
	
}

.sidebar-main .menu-item {
	border: 0.25px solid  grey;
	width:100% !important;
	max-height:80px !important
	
}

.sidebar-main {
    background: white;
    position: fixed;
    bottom: 0;
    width: 100%;
	margin-left:-20px
}
	
.iconasidebar{width:4em !important; height:auto;}
	
.titolobottonesidebar{font-size:0.8em !important}
	
	.main-content-wrapper{margin:0 !important}

}



.ast-primary-header-bar {
    border-bottom: 0;
}

.ast-woo-shop-archive .site-content > .ast-container {
    max-width: none !important;
}

#primary {
    width: 100%;
}

.iconasidebar{
height:50px;
width:50px;
fill: #336d91;
}

.titolobottonesidebar{
margin-top:5px;
color:#0a0a0a;}

.wrapperbottonesidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
	
}

.sidebar-main .menu-item {
border-bottom: 0.25px solid  grey;
overflow:hidden;
margin: 0 !important;
height: 130px;
width: 130px;
display: flex;
flex-direction:column;
justify-content: center;
align-items: center;
text-transform:uppercase;
font-size:70%
}

.sidebar-main .menu-item:hover {
background:#f9f9f9;
border-left:5px solid orange;
}

.sidebar-main{background:white}

/*div#secondary {
    margin: 0;
    padding: 0 !important;
	width: auto;
	border-left:0.25px solid  grey;
z-index:1;
border-right: 1px solid  grey;
height: 100dvh;
position: sticky;
left: 0;
top: 0;
margin-left:-20px;
background:#d3dee6;
-webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.11); 
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.11);
}*/

div#secondary {
    margin: 0;
    padding: 0 !important;
	width: auto;
	border-left:0.25px solid  grey;
z-index:1;
border-right: 0.25px solid  grey !important;
height: 100dvh;
position: sticky;
left: 0;
top: 0;
margin-left:-20px;
background:#d3dee6;
}

.sidebar-main .widget-title {
    color: #f59d20;
    display: none;
}

.sidebar-main .current-menu-item{background:#336d91 !important;}

.sidebar-main .current-menu-item .titolobottonesidebar{color:white;}

.sidebar-main .current-menu-item .iconasidebar{fill:white;}


/*Barra di Ricerca*/
#ajaxsearchlite1 .probox, div.asl_w .probox {
    margin: 0;
    padding: 0px;
}

.probox{min-width:500px; border-radius:0px !important; border:0px !important; padding:4px !important;}

.widget:last-child {
    margin-bottom: 20px;
}

.box{height:300px !important;}

/*Menu Dropdown*/
	.ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu, .ast-builder-menu-1 .main-header-menu > .menu-item > .astra-full-megamenu-wrapper {
    margin-top: 0px;
    background: white;
}

.sub-menu .menu-link {color:#000000 !important;
font-weight:400 !important;
}

.sub-menu .menu-link:hover {color:#336d91 !important;
font-weight:bold;
}

    @media screen and (min-width:769px){
			.boxbutton{position:absolute !important; bottom:40px !important;}
}

#menu-prodotti a.menu-link{color:white;}

#menu-legal a.menu-link{color:white;}

#menu-chi-siamo a.menu-link{color:white;}
h2.widget-title {color:#f59d20;}