/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

:root {
    --background-color: #F7FAFC;
}

.bkg-color .row-bg-wrap {
    background: var(--background-color);
}

img.img-full-width{
    width: 100% !important;
    height: auto !important;
}
.header-text h1 {
    text-shadow: 0 0 8px black;
}
.header-text p {
    text-shadow: 0 0 18px black;
}

p.emmeci-eyebrow {
	font-weight: 600;
}

[data-midnight="light"] p.emmeci-eyebrow {
  color: #fff !important;
}

.privacy p {
    display: -webkit-box;
    width: 90%;
    font-size: 15px;
    line-height: 15px;
}
/* Associazione tra classe Nectar e variabile colore */
.nectar-button.regular-button {
  --btn-neon: var(--nectar-accent-color);
}

.nectar-button.extra-color-1 {
  --btn-neon: var(--nectar-extra-color-1);
}

.nectar-button.extra-color-2 {
  --btn-neon: var(--nectar-extra-color-2);
}

.nectar-button.extra-color-3 {
  --btn-neon: var(--nectar-extra-color-3);
}


/* Alone neon leggero */
.nectar-button.regular-button,
.nectar-button.extra-color-1,
.nectar-button.extra-color-2,
.nectar-button.extra-color-3 {
  box-shadow:
    0 0 10px color-mix(
      in srgb,
      var(--btn-neon) 55%,
      transparent
    ),
    0 0 22px color-mix(
      in srgb,
      var(--btn-neon) 30%,
      transparent
    );

  animation: nectar-neon-pulse 2.8s ease-in-out infinite;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}


/* Intensificazione discreta al passaggio del mouse */
.nectar-button.regular-button:hover,
.nectar-button.extra-color-1:hover,
.nectar-button.extra-color-2:hover,
.nectar-button.extra-color-3:hover {
  box-shadow:
    0 0 12px color-mix(
      in srgb,
      var(--btn-neon) 75%,
      transparent
    ),
    0 0 30px color-mix(
      in srgb,
      var(--btn-neon) 45%,
      transparent
    );

  transform: translateY(-1px);
}


/* Pulsazione morbida */
@keyframes nectar-neon-pulse {
  0%,
  100% {
    box-shadow:
      0 0 8px color-mix(
        in srgb,
        var(--btn-neon) 45%,
        transparent
      ),
      0 0 18px color-mix(
        in srgb,
        var(--btn-neon) 25%,
        transparent
      );
  }

  50% {
    box-shadow:
      0 0 12px color-mix(
        in srgb,
        var(--btn-neon) 65%,
        transparent
      ),
      0 0 28px color-mix(
        in srgb,
        var(--btn-neon) 38%,
        transparent
      );
  }
}


/* Accessibilità */
@media (prefers-reduced-motion: reduce) {
  .nectar-button {
    animation: none;
  }
}
.logo-footer svg#emmeci-inline-logo {
    width: 250px;
}

/* Elemento menu attivo */
#top nav > ul > li.current-menu-item > a,
#top nav > ul > li.current_page_item > a,
#top nav > ul > li.current-menu-ancestor > a {
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  color: #173b12 !important;
background: linear-gradient(
  110deg,
  #ff1744 0%,
  #ff7a00 14.28%,
  #ffe600 28.56%,
  #00e676 42.84%,
  #00d9ff 57.12%,
  #304ffe 71.4%,
  #d500f9 85.68%,
  #ff1744 100%
);
  background-size: 300% 100%;
  animation: emmeciMenuGradient 4s ease-in-out infinite alternate;
}

/* Mantiene il testo sopra lo sfondo */
#top nav > ul > li.current-menu-item > a .menu-title-text,
#top nav > ul > li.current_page_item > a .menu-title-text,
#top nav > ul > li.current-menu-ancestor > a .menu-title-text {
  position: relative;
  z-index: 1;
  color: inherit !important;
}

/* Movimento avanti e indietro della sfumatura */
@keyframes emmeciMenuGradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* Evita l'animazione per chi preferisce movimenti ridotti */
@media (prefers-reduced-motion: reduce) {
  #top nav > ul > li.current-menu-item > a,
  #top nav > ul > li.current_page_item > a,
  #top nav > ul > li.current-menu-ancestor > a {
    animation: none;
    background-position: 50% 50%;
  }
}
#top .sf-menu > li:not([class*="menu-item-btn"]) > a .menu-title-text:before {
	opacity: 0 !important;
}
body[data-form-submit=regular] .container-wrap button[type=submit], body[data-form-submit=regular] .container-wrap input[type=submit] {
    border-radius: 100px !important;
    width: 150px !important;
    left: calc(50% - 75px);
    position: relative;
    margin-top: 15px !important;
}
.wpcf7 input[type="submit"]:hover {
	background: var(--nectar-extra-color-1) !important;
}

.cmplz-cookiebanner * {
    list-style: none !important;
}


.nectar-icon-list[data-icon-color="extra-color-2"][data-icon-style="border"] .content h4, .nectar-icon-list[data-icon-color="extra-color-2"][data-icon-style="border"] .list-icon-holder[data-icon_type="numerical"] span, .nectar-icon-list[data-icon-color="extra-color-2"] .nectar-icon-list-item .list-icon-holder[data-icon_type="numerical"] {
    color: #333;
}
.material .wpb_content_element, .material .wpb_row {
    margin-bottom: 0 !important;
}
ul#menu-compliance {
    display: flex;
    align-items: center;
    gap: 0;
}

ul#menu-compliance li {
    display: flex;
    align-items: center;
}

ul#menu-compliance li:not(:last-child)::after {
    content: "|";
    display: inline-block;
    margin: 0 15px;
}