/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

#elenco-aziende a:first-child {
    position: relative;
    overflow: hidden;
    width: 100%; /* Adatta alla larghezza, considerando margini */
    height: 210px;
    margin-bottom: 10px;
    display: block; /* Assicurati che il link si comporti come un blocco */
}

#elenco-aziende a:first-child img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out; /* Transizione senza prefissi */
    -webkit-transition: -webkit-transform 0.3s ease-in-out; /* Prefisso per Safari */
    -moz-transition: -moz-transform 0.3s ease-in-out; /* Prefisso per Firefox */
    -o-transition: -o-transform 0.3s ease-in-out; /* Prefisso per Opera */
    -ms-transition: -ms-transform 0.3s ease-in-out; /* Prefisso per IE */
	
}

#elenco-aziende:hover a:first-child img {
    transform: translate(-50%, -50%) scale(1.1); /* Zoom su hover */
    -webkit-transform: translate(-50%, -50%) scale(1.1); /* Prefisso per Safari */
    -moz-transform: translate(-50%, -50%) scale(1.1); /* Prefisso per Firefox */
    -o-transform: translate(-50%, -50%) scale(1.1); /* Prefisso per Opera */
    -ms-transform: translate(-50%, -50%) scale(1.1); /* Prefisso per IE */
}
.partner_det #necrologi-container .necrologio-item img{padding: 0px !important;}

.box_image_defunto{border-radius: 0px !important;}
#generate-image, #confirm-save{background: #baae7c; color: #fff; border: none;}