/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 17 2025 | 13:34:14 */
/* HEADER A SINISTRA */

/* !! Animazioni icone !! */

/* Animazione shake */
@keyframes shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-2px, 0) rotate(-5deg); }
  40% { transform: translate(2px, 0) rotate(5deg); }
  60% { transform: translate(-2px, 0) rotate(-5deg); }
  80% { transform: translate(2px, 0) rotate(5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Shake infinito finché il mouse è sopra la voce */
.voce_menu:hover .icon_shake {
  animation: shake 0.5s ease-in-out infinite;
}

.indicatore_svg {
  	display: none;
}

.container { /* il wrapper dei box */
    display: flex;
    flex-wrap: wrap;
}

.box-menu {
    flex: 0 0 230px; 
    max-width: 230px;
    width: 230px;
    padding: 18px;
	color: #0A37AE;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 6px 14px rgba(39, 55, 82, 0.4);
	padding-bottom: 0px !important;
}

a:focus {
  outline: none;
}

/* Pseudo-elemento per bordo interno animato al hover */
.box-menu::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 3px solid #F554BE; /* bordo interno */
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none; /* evita problemi di hover */
}

/* Hover: bordo interno + ombra blu più accentuata */
.box-menu:hover::before,
.box-menu.selected_header_button::before {
    opacity: 1;
    transform: scale(1); /* bordo si “espande” leggermente */
}

.box-menu:hover,
.box-menu.selected_header_button {
    box-shadow: 0 10px 25px rgba(178, 147, 172, 0.5);
    transform: translateY(-6px);
    background-color: #FFEDF9 !important;
    color: #F554BE;
    outline: none;
}


/* Immagine interna */
.box-menu img {
    width: 100%;
    height: auto;
}


@media (min-width: 2000px) {
    .wp-block-site-logo img {
       width: 200px !important;
    }
}
	
@media (max-width: 2000px) {
    .box-menu {
        flex: 0 0 171px;
        max-width: 171px;
        min-height: 171px;
        padding: 9px;    
    }

    .wp-block-site-logo {
        max-width: 69%;
    }

    .titolo-menu {
        font-size: 19px !important;
    }

    .sottotitolo-menu {
        font-size: 17px !important;
    }

    .icon_shake img {
        width: 88px !important;
    }
}

@media (max-width: 1700px) {
    .box-menu {
        flex: 0 0 148px;
        max-width: 148px;
        min-height: 148px;
        padding: 7px;     
    }

    .wp-block-site-logo {
        max-width: 58%;
    }

    .titolo-menu {
        font-size: 17px !important;
    }

    .sottotitolo-menu {
        font-size: 15px !important;
    }

    .icon_shake img {
        width: 54px !important;
    }
}

@media (max-width: 1400px) {
    .wp-block-site-logo {
        max-width: 53%;
    }

    .titolo-menu {
        font-size: 15px !important;
    }

    .sottotitolo-menu {
        font-size: 13px !important;
    }

    .icon_shake img {
        width: 50px !important;
    }
}

@media (max-width: 1200px) {
    .box-menu {
        flex: 0 0 126px;
        max-width: 126px;
        min-height: 126px;
    }

    .wp-block-site-logo {
        max-width: 53%;
    }
	
	.titolo-menu {
        font-size: 14px !important;
    }

    .sottotitolo-menu {
        font-size: 12px !important;
    }
}

@media (max-width: 1000px) {
    .box-menu {
        flex: 0 0 106px;
        max-width: 106px;
        min-height: 106px;
    }

    .wp-block-site-logo {
        max-width: 47%;
    }

    .titolo-menu {
        font-size: 13px !important;
    }

    .sottotitolo-menu {
        font-size: 11px !important;
    }

    .icon_shake img {
        width: 44px !important;
    }
}

@media (max-width: 768px) {
    .box-menu {
        flex: 0 0 101px;
        max-width: 101px;
        min-height: 101px;
    }

    .titolo-menu {
        font-size: 13px !important;
    }

    .sottotitolo-menu {
        font-size: 11px !important;
    }

    .icon_shake img {
        width: 40px !important;
    }
}

@media (max-width: 480px) {
    .box-menu {
        flex: 0 0 126px;
        max-width: 126px;
        min-height: 114px;
        padding: 9px;
    }

    .titolo-menu {
        font-size: 13px !important;
    }

    .sottotitolo-menu {
        font-size: 11px !important;
    }

    .icon_shake img {
        width: 35px !important;
    }
}






/* SELECTOR PLACEHOLDER */

.selector-placeholder {
	position: absolute;
	width: 50% !important;
	overflow: none !important;
	bottom: 75%;
	left: 75%;
}

/* ----------------------------------- */
