/* 
Theme Name: epay Theme
Theme URI: https://www.marcosansevrino.com
Description: Theme by Marco Sansevrino based on Hello Elementor
Author: Marco Sansevrino
Author URI: https://www.marcosansevrino.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 */

.partners-gallery{
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(8, 1fr);
}

.partners-gallery .partner-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius:8px;
    overflow:hidden;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12);
    background-color: #fff;
}
.partners-gallery .partner-logo img{
    max-width: 100%;
    height: 45px;
    max-height:45px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .partners-gallery{
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 20px;
    }
}

@media (max-width: 767px) {
    .partners-gallery{
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
    }
}

@media (max-width: 1024px) {
    .img-relative-on-tablet {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}

#ricariche-telefoniche-grid .elementor-image-gallery .gallery{
    text-align: right;
}

#ricariche-telefoniche-grid .elementor-image-gallery .gallery .gallery-item .gallery-icon {
    height:100%;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}
#ricariche-telefoniche-grid .elementor-image-gallery .gallery .gallery-item .gallery-icon img{
    height: 65px;
    padding: 12px;
    object-fit: contain;
}

@media (max-width: 479px) {
    #ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-10 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-2 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-3 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-4 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-5 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-6 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-7 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-8 .gallery-item, 
	#ricariche-telefoniche-grid .elementor-image-gallery .gallery.gallery-columns-9 .gallery-item {
        max-width: 50% !important;
    }
}

/* EFFETTO 1: Slide da sinistra con colore */
.elementor-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}

.elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var( --e-global-color-primary );
    transition: left 0.4s ease;
    z-index: -1;
}

.elementor-button:hover::before {
    left: 0;
}

.elementor-button:hover {
    color: #ffffff !important;
}
