/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.custom-portfolio .elementor-portfolio__filter {text-transform: uppercase;}
.custom-portfolio .elementor-portfolio-item__overlay {opacity: 1 !important;}
.custom-portfolio .elementor-portfolio-item__title {
    position: absolute;
    bottom: -4px;
    right: 10px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
    text-align: right;
    font-size: 20px !important;
}

.custom-portfolio .elementor-portfolio-item__overlay {
	background-color: rgba(0,0,0,0.3) !important;
	transition: background-color .5s ease-in-out;
}
.custom-portfolio .elementor-portfolio-item__overlay:hover {
	background-color: rgba(0,0,0,0) !important;
	transition: background-color .5s ease-in-out;
}

.custom-portfolio .elementor-portfolio__filters li {padding: 8px 20px;}
.custom-portfolio .elementor-portfolio__filters li:first-child,
.custom-portfolio .elementor-portfolio__filters li:last-child {display: none !important;}

.custom-portfolio .elementor-portfolio__filter:hover,
.custom-portfolio .elementor-portfolio__filter.elementor-active {
    background-color: var(--e-global-color-text);
    color: #fff;
}

/* FILTER SCROLL*/
/* Contenitore filtri */
@media screen and (max-width: 768px){
.elementor-portfolio__filters {
    display: flex;
    flex-wrap: nowrap;          /* evita che vadano a capo */
    overflow-x: auto;           /* scroll orizzontale */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* smooth su iOS */
    gap: 10px;                  /* spazio tra elementi */
    padding-bottom: 5px;        /* evita taglio scrollbar */
    justify-content: flex-start; /* fondamentale */
}

/* Nasconde scrollbar (opzionale) */
.elementor-portfolio__filters::-webkit-scrollbar {
    display: none;
}
.elementor-portfolio__filters {
    scrollbar-width: none; /* Firefox */
}

/* Singoli filtri */
.elementor-portfolio__filter {
    flex: 0 0 auto;             /* impedisce ridimensionamento */
    white-space: nowrap;  
    margin: 0px !important; 
}

.elementor-portfolio__filters::after {
    content: "→" !important;
    position: absolute;
    right: 2px;
    top: -10px;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.6;
    animation: hintScroll 1.5s infinite;
    color: #000000;
    z-index: 99999999;
    font-size: 22px;
}

@keyframes hintScroll {
    0% { transform: translate(0, -50%); opacity: 0.3; }
    50% { transform: translate(5px, -50%); opacity: 1; }
    100% { transform: translate(0, -50%); opacity: 0.3; }
}
}


/*SINGOLO PROGETTO*/
.single-format-standard .page-header {display: none;}

.elementor-slideshow__footer {display: none !important;}

/*WOOCOMMERCE CART*/
.payment_method_paypal img {display: none !important;}
