/************************************************/
/*** # VARIABLES ********************************/
/************************************************/

:root {
  --color-fff: #fff;
  --color-black: #000;
  --color-f7: #f7f7f7;

  --main-container-max-width: 1440px;

  --tablet-breakpoint: 1140px;
  --mobile-breakpoint: 767px;
}

/************************************************/
/*** # ELEMENTOR GLOBAL STYLES ******************/
/************************************************/
.color-primary {
  color: var(--e-global-color-primary) !important;
}

.color-secondary {
  color: var(--e-global-color-secondary) !important;
}

.color-text {
  color: var(--e-global-color-text) !important;
}

.color-accent {
  color: var(--e-global-color-accent) !important;
}

.color-fff {
  color: var(--color-fff) !important;
}

.bg-color-primary {
  background-color: var(--e-global-color-primary) !important;
}

.bg-color-secondary {
  background-color: var(--e-global-color-secondary) !important;
}

.bg-color-text {
  background-color: var(--e-global-color-text) !important;
}

.bg-color-accent {
  background-color: var(--e-global-color-accent) !important;
}

.bg-color-fff {
  background-color: var(--color-fff) !important;
}

.bg-color-f7 {
  background-color: var(--color-f7) !important;
}

.text-primary {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: var(--e-global-typography-primary-font-size);
  font-weight: var(--e-global-typography-primary-font-weight);
  line-height: var(--e-global-typography-primary-line-height);
  letter-spacing: var(--e-global-typography-primary-letter-spacing);
  word-spacing: var(--e-global-typography-text-word-spacing);
}

.text-secondary {
  font-family: var(--e-global-typography-secondary-font-family);
  font-size: var(--e-global-typography-secondary-font-size);
  font-weight: var(--e-global-typography-secondary-font-weight);
  line-height: var(--e-global-typography-secondary-line-height);
  letter-spacing: var(--e-global-typography-secondary-letter-spacing);
  word-spacing: var(--e-global-typography-text-word-spacing);
}

.text-accent {
  font-family: var(--e-global-typography-accent-font-family);
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: var(--e-global-typography-accent-font-weight);
  line-height: var(--e-global-typography-accent-line-height);
  letter-spacing: var(--e-global-typography-accent-letter-spacing);
  word-spacing: var(--e-global-typography-text-word-spacing);
}

.text-normal {
  font-family: var(--e-global-typography-text-font-family);
  font-size: var(--e-global-typography-text-font-size);
  font-weight: var(--e-global-typography-text-font-weight);
  line-height: var(--e-global-typography-text-line-height);
  letter-spacing: var(--e-global-typography-text-letter-spacing);
  word-spacing: var(--e-global-typography-text-word-spacing);
}

/************************************************/
/*** # MAIN RULES *******************************/
/************************************************/

body {
  font-family: "Neulis Neue", sans-serif;
}

e.con {
  overflow: hidden;
}

strong,
b,
.strong,
.bold {
  font-weight: bold;
}

i,
em {
  font-style: italic;
}

.cursive {
  font-family: "Neulis Cursive";
}

.bold-cursive b,
.bold-cursive strong {
  font-family: "Neulis Cursive";
}

/* - - - - - - - - - - - - - - - - - - - - - - -
# HEADER
- - - - - - - - - - - - - - - - - - - - - - - - */

/* spazio per admin bar se utente loggato */
body.logged-in:not(.elementor-editor-active) #header {
  top: 32px;
}

@media (max-width: 781px) {
  body.logged-in:not(.elementor-editor-active) #header {
    top: 46px;
  }
}

#header {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 10;
  transition: background-color 0.5s ease;
}

#header .logo_merlino svg {
  height: 90px;
  transition: height 0.5s ease;
}

#header .presenta {
  margin-bottom: 15px;
}

#header_logo img {
  width: clamp(180px, 18vw, 285px);
  transition: width 0.5s ease;
}

#header .e-con-inner .e-con-full:has(.elementor-widget-theme-site-logo) {
  transition: margin 0.5s ease;
}

#header.scrolled {
  background-color: var(--color-fff);
  box-shadow: 0px 0px 4px 0px #eaeaea;
}

#header.scrolled .logo_merlino svg {
  height: 80px;
}

#header.scrolled .presenta {
  margin-bottom: 12px;
}

#header .presenta .elementor-heading-title {
  font-size: 1.2em;
  transition: font-size 0.5s ease;
}

#header .e-con-inner .e-con-full:has(.elementor-widget-theme-site-logo) {
  margin-top: -20px;
}

#header.scrolled .presenta .elementor-heading-title {
  font-size: 1em;
}

#header.scrolled #header_logo img {
  width: clamp(150px, 15vw, 240px);
}

#header_spacer {
  height: 250px;
}

@media (max-width: 767px) {
  #header_spacer {
    height: 100px;
  }

  #header #header_logo img,
  #header.scrolled #header_logo img {
    width: 150px;
  }

  #header .presenta .elementor-heading-title,
  #header.scrolled .presenta .elementor-heading-title {
    font-size: 14px;
  }

  #header .logo_merlino svg,
  #header.scrolled .logo_merlino svg {
    height: 50px;
  }

  #header .e-con-inner .e-con-full:has(.elementor-widget-theme-site-logo) {
    margin-top: 0px;
  }

  #header .presenta,
  #header.scrolled .presenta {
    margin-bottom: 8px;
  }

  #header .elementor-nav-menu a {
    justify-content: flex-end !important;
    text-align: right;
  }
}

/* safari fix */
/* .header_content .elementor-widget-icon:nth-child(3) .elementor-icon,
.header_content .elementor-widget-icon:nth-child(5) .elementor-icon {
    max-width: .1em;
} */

/* - - - - - - - - - - - - - - - - - - - - - - -
# FOOTER
- - - - - - - - - - - - - - - - - - - - - - - - */
#footer p a {
  all: unset;
  cursor: pointer;
  transition: color 0.4s ease;
}

#footer p a:hover {
  color: var(--e-global-color-primary);
}

#footer .elementor-widget-text-editor a {
  color: white;
  transition: color 0.4s ease;
}

#footer .elementor-widget-text-editor a:hover {
  color: var(--e-global-color-primary);
}

/****************************************************************************************/
/* # CUSTOM PADDINGS ********************************************************************/
/* classi impostate tramite controllo iniettato nel widget 'container' di elementor     */
/****************************************************************************************/

/* default -> non inserisco regole */
.e-con.h_padding_default {
}

.e-con.v_padding_default {
}

.e-con.h_padding_medium {
  padding-left: 5vw;
  padding-right: 5vw;
  padding-left: 5dvw;
  padding-right: 5dvw;
}

.e-con.h_padding_big {
  padding-left: 10vw;
  padding-right: 10vw;
  padding-left: 10dvw;
  padding-right: 10dvw;
}

.e-con.v_padding_medium {
  padding-top: 5vh;
  padding-bottom: 5vh;
  padding-top: 5dvh;
  padding-bottom: 5dvh;
}

.e-con.v_padding_big {
  padding-top: 10vh;
  padding-bottom: 10vh;
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* se non default, reset elementor padding */
.e-con.h_padding_none,
.e-con.h_padding_medium .e-con-inner,
.e-con.h_padding_big .e-con-inner,
.e-con.h_padding_none .e-con-inner {
  padding-left: 0px;
  padding-right: 0px;
}

.e-con.v_padding_none,
.e-con.v_padding_medium .e-con-inner,
.e-con.v_padding_big .e-con-inner,
.e-con.v_padding_none .e-con-inner {
  padding-top: 0px;
  padding-bottom: 0px;
}

@media (max-width: 1140px) {
  .e-con.h_padding_medium {
  }

  .e-con.v_padding_big {
    /* 		padding-top: 6vh;
		padding-bottom: 6vh;
		padding-top: 6dvh;
		padding-bottom: 6dvh; */
  }

  .e-con.v_padding_medium {
  }

  .e-con.v_padding_big {
  }
}

/****************************************************************************************/
/* # CUSTOM MARGINS ********************************************************************/
/* classi impostate tramite controllo iniettato nel widget 'container' di elementor     */
/****************************************************************************************/

/* default -> non inserisco regole */

.e-con.v_margin_default {
}

.e-con.v_margin_medium {
  margin-top: 6vh;
  margin-bottom: 6vh;
  margin-top: 6dvh;
  margin-bottom: 6dvh;
}

.e-con.v_margin_big {
  margin-top: 12vh;
  margin-bottom: 12vh;
  margin-top: 12dvh;
  margin-bottom: 12dvh;
}

/* se non default, reset elementor margin */
.e-con.v_margin_none,
.e-con.v_margin_medium .e-con-inner,
.e-con.v_margin_big .e-con-inner,
.e-con.v_margin_none .e-con-inner {
  margin-top: 0px;
  margin-bottom: 0px;
}

@media (max-width: 1140px) {
  .e-con.v_margin_big {
  }

  .e-con.v_margin_medium {
  }

  .e-con.v_margin_big {
  }
}

/************************************************/
/*** # Cuochi STYLES ***************************/
/************************************************/

#transition-overlay {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  background-color: var(--e-global-color-primary);
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.elementor-editor-active #transition-overlay,
body.elementor-editor-preview #transition-overlay {
  display: none;
}

#countdown {
  text-align: center;
  margin-block: 2vh;
  font-size: var(--e-global-typography-primary-font-size);
  font-weight: bold;
}

#countdown > span {
  position: relative;
}

#countdown > span::after {
  font-size: 16px;
  font-weight: normal;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
}

#countdown > span:nth-child(1)::after {
  content: "MESI";
}

#countdown > span:nth-child(2)::after {
  content: "GIORNI";
}

#countdown > span:nth-child(3)::after {
  content: "ORE";
}

.elementor-widget-text-editor a {
  color: var(--e-global-color-accent);
}

.elementor-widget-text-editor ul {
  list-style: none;
  margin: 0;
}

.elementor-widget-text-editor ul li {
  margin-top: 0.5em;
  margin-left: 1em;
}

.elementor-widget-text-editor ul li::before {
  content: ">";
  color: var(--e-global-color-accent);
  margin-right: 0.5em;
  position: absolute;
  left: 0;
}

.galleria-press {
}

.galleria-press-title {
  font-size: var(--e-global-typography-secondary-font-size);
}

.galleria-press__section-title {
  font-size: var(--e-global-typography-3692307-font-size);
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 1em;
}

ul.galleria-press__list {
  list-style: none;
  list-style-type: disclosure-closed;
}
li.galleria-press__item::marker {
  color: var(--e-global-color-accent);
}

li.galleria-press__item {
  margin-top: 0.7em;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  max-width: 600px;
}
a.galleria-press__link {
  color: var(--e-global-color-accent);
}
@media (max-width: 620px) {
  li.galleria-press__item {
    flex-direction: column;
    gap: 0;
    margin-top: 1em;
  }
}
