/*
Theme Name: Cometa
Author: Marte Group
Description: -
Version: 1.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: helpo
*/

html {
  scroll-padding-top: 120px;
}

html .wp-child-theme-cometa {
  flex-direction: column !important;
}

/* @media only screen and (min-width: 1024px) {
    .wp-child-theme-cometa .elementor-hidden-desktop {
    display: inherit;
  }
} */

@media only screen and (min-width: 1280px) {
    .wp-child-theme-cometa .elementor-hidden-desktop {
    display: none;
  }
}

.wp-child-theme-cometa b,
.wp-child-theme-cometa strong {
  font-weight: bold;
}

/* Copy icon */
i#copy-icon {
  cursor: pointer;
  background-color: #fff;
  line-height: 40px;
  width: 40px;
  text-align: center;
  border-radius: 100px;
  color: var(--e-global-color-primary);
  margin-left: 0.5rem;
}

i#copy-icon:hover {
  color: white;
  background-color: var(--e-global-color-primary);
}

i#copy-icon-white {
  cursor: pointer;
  background-color: var(--e-global-color-secondary);
  line-height: 40px;
  width: 40px;
  text-align: center;
  border-radius: 100px;
  color: var(--e-global-color-primary);
  margin-left: 0.5rem;
}

i#copy-icon-white:hover {
  color: white;
  background-color: var(--e-global-color-primary);
}

.copy-tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -100%);
  transition: opacity 0.3s ease;
  white-space: nowrap;
  z-index: 9999;
}
.copy-tooltip.show {
  opacity: 1;
}

/* Sticky header */
header.helpo_header,
.helpo_prefooter_container,
footer.helpo_footer {
  display: none;
}

.helpo_top_bar_inner {
  padding: 0;
}

.elementor-989124
  .elementor-element.elementor-element-e4e6c80:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky {
  background-color: white;
  min-height: 90px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.elementor-6979
  .elementor-element.elementor-element-9f3e32e:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996294
  .elementor-element.elementor-element-8c1a559:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996258
  .elementor-element.elementor-element-65fef17:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996425
  .elementor-element.elementor-element-e58bbfc:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996436
  .elementor-element.elementor-element-a818bc0:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996470
  .elementor-element.elementor-element-cc22136:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996504
  .elementor-element.elementor-element-6619f00:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996613
  .elementor-element.elementor-element-06f907f:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996622
  .elementor-element.elementor-element-e4554e1:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996683
  .elementor-element.elementor-element-454d89d:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996747
  .elementor-element.elementor-element-bc90118:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996824
  .elementor-element.elementor-element-d83977e:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996850
  .elementor-element.elementor-element-751cdad:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky,
.elementor-996921
  .elementor-element.elementor-element-dafa82a:not(
    .elementor-motion-effects-element-type-background
  ).elementor-sticky--effects.header-sticky {
  background-color: white;
  min-height: 90px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body:not(.uc-menu-open)
  div.elementor-sticky:not(.elementor-sticky--active)
  .logo-sticky {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.elementor-sticky--effects .logo-sticky {
  filter: none;
}

.elementor-sticky--effects .logo-sticky.manto img {
  width: 90px !important;
}

body:not(.uc-menu-open) .logo-sticky.logo-white {
  filter: brightness(0) invert(1);
}

.elementor-sticky--effects .burger .elementor-icon .cls-1 {
  fill: var(--e-global-color-primary) !important;
}

.elementor-sticky--effects .nav-sticky .elementor-menu-toggle svg {
  fill: var(--e-global-color-primary) !important;
}

.elementor-sticky--effects
  .nav-sticky.nav-anagramma
  .elementor-menu-toggle
  svg {
  fill: var(--e-global-color-fb8358f) !important;
}

.elementor-sticky--effects
  .nav-sticky.nav-panedisandro
  .elementor-menu-toggle
  svg {
  fill: var(--e-global-color-b6cf3de) !important;
}

.elementor-sticky--effects
  .nav-sticky.nav-panedisandro
  .elementor-menu-toggle
  svg {
  fill: var(--e-global-color-b6cf3de) !important;
}

.elementor-sticky--effects .nav-sticky.nav-instore .elementor-menu-toggle svg {
  fill: var(--e-global-color-f94e62c) !important;
}

.elementor-sticky--effects .nav-sticky.nav-forfrom .elementor-menu-toggle svg {
  fill: var(--e-global-color-06bef52) !important;
}

.elementor-sticky--effects
  .nav-sticky
  a:not(.elementor-sub-item):not(.elementor-button-link) {
  color: var(--e-global-color-text) !important;
}

.elementor-sticky--effects .nav-sticky a .sub-arrow svg {
  fill: var(--e-global-color-text) !important;
}

.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.2s ease;
}

.header-sticky {
  transition: transform 0.2s ease;
}

.uc-mega_menu_section-cover {
  top: -100px !important;
  width: 110svw !important;
  right: 0 !important;
  left: -100% !important;
}

.elementor-sticky:not(.elementor-sticky--active)
  .nav-btn-support
  a.has-submenu {
  color: white !important;
}

.elementor-nav-menu .sub-arrow .e-font-icon-svg {
  width: 0.7em;
  height: 0.7em;
}

.elementor-sticky:not(.elementor-sticky--active)
  .nav-btn-support
  .sub-arrow
  svg {
  fill: white !important;
}

.elementor-sticky:not(.elementor-sticky--active)
  .nav-btn-support:hover
  a.has-submenu {
  color: var(--e-global-color-primary) !important;
}

.elementor-sticky:not(.elementor-sticky--active)
  .nav-btn-support:hover
  .sub-arrow
  svg {
  fill: var(--e-global-color-primary) !important;
}

.elementor-sticky:not(.elementor-sticky--active) .nav-btn-support {
  border-color: white !important;
}

.uc-menu-open header {
  z-index: 3;
  background: white;
}

.uc-mega_menu_section-cover {
  box-shadow: none !important;
}

/* Cards */
.cometa-card h4 {
  color: var(--e-global-color-53a1e2a);
  font-weight: bold;
}

.elementor-cta__bg-wrapper {
  border-radius: 30px;
}

.cometa-card-shop {
  position: relative !important;
}

/* Tabs */
.tab a:hover {
  color: var(--e-global-color-text);
}

/* Timeline */
@media screen and (min-width: 992px) {
  .timeline-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50% !important;
    width: 1px;
    background: var(--e-global-color-primary);
    bottom: 0;
  }
}

.timeline-list ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.timeline-list ul > li {
  position: relative;
  margin-top: 1.8rem;
}

.timeline-list ul > li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -1.3rem;
  margin-left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: var(--e-global-color-primary);
}

.timeline-list ul > li.awards::before {
  content: "";
  position: absolute;
  top: 0;
  left: -32px;
  width: 32px;
  height: 32px;
  background: transparent;
  background-image: url("/wp-content/uploads/2025/10/cometa-awards1.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}

.timeline-list ul > li.cometa::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  width: 32px;
  height: 32px;
  background: transparent;
  background-image: url("https://cometa.nuovaedicola.ovh/wp-content/uploads/2025/10/cometa.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}

@media screen and (max-width: 991px) {
  .timeline-list ul > li {
    padding-left: 1.5rem;
  }

  .timeline-list ul > li::before {
    left: -0.4rem;
    margin-left: 0;
  }

  timeline-content::before {
    border-left: solid 1px var(--e-global-color-primary) !important;
  }

  .timeline-list ul > li.awards::before {
    content: "";
    position: absolute;
    top: 0;
    left: -16px;
  }
}

/* Policy */

.policy-text h4 {
  margin-top: 1em;
  color: var(--e-global-color-primary);
}

.policy-text ol li::marker {
  color: var(--e-global-color-primary);
  font-weight: 700;
}

/* Theme fixes */

.wp-child-theme-cometa p strong {
  color: inherit;
  line-height: 2rem;
}

.helpo_button,
.helpo_button:hover {
  background-color: var(--e-global-color-primary);
}

a.helpo_button.helpo_button--squared {
  color: var(--e-global-color-a2b16ba);
}

.wp-child-theme-cometa .elementor-widget-counter .elementor-counter-title {
  margin-top: 10px;
  text-align: center;
}

.helpo_content_slider_title {
  font-family: "Inter", sans-serif !important;
  line-height: 1.1em !important;
  margin-bottom: 2rem !important;
}

.helpo_anchor span {
  font-size: 1.2rem !important;
  text-transform: uppercase;
}

.helpo_blockquote.helpo_view_type_1:before {
  color: var(--e-global-color-primary);
}

.cometa-card-reveal h4 {
  color: white;
  margin-bottom: 0.6em;
}

/* Checkbox */
input[type="checkbox"] {
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 1px solid #fff !important;
  border-radius: 2px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  vertical-align: middle !important;
  cursor: pointer;
}

.newsletter-form-popup input[type="checkbox"], .contact-form input[type="checkbox"] {
	background-color: #fff !important;
}

.newsletter-form input[type="checkbox"] {
	background-color: var(--e-global-color-secondary) !important;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  width: 6px;
  height: 12px;
  border: solid var(--e-global-color-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.newsletter-form-popup .elementor-field-option a#privacy-link {
    color: #fff !important;
}

.newsletter-form-popup .elementor-field-option a#privacy-link, .newsletter-form .elementor-field-option a#privacy-link, .contact-form-popup .elementor-field-option a#privacy-link {
    font-size: 1rem;
    text-decoration: underline;
}

.newsletter-form-popup .elementor-message.elementor-message-danger {
    color: #ffdaa9;
}

.newsletter-form-popup .elementor-message .elementor-message-success {
    color: #ffffff!important;
}

/* Gallery */
@media screen and (max-width: 992px) {
  .gallery-container {
    background-color: transparent !important;
  }
}

/* Accordion */
.cometa-accordion .helpo_heading {
  margin-top: 3rem;
}

/* Wrapper */
.comunicati-accordion,
.bilanci-accordion {
  border-top: 1px solid #e5e5e5;
}

/* Singolo comunicato */
.comunicato-item,
.bilancio-item {
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}

/* Data */
.comunicato-data {
  font-size: 1rem;
  color: var(--e-global-color-7b3445f);
}

/* Titolo */
.comunicato-titolo h4,
.bilancio-titolo h4 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--e-global-color-primary);
}

/* Download */
.cometa-accordion .cometa-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700 !important;
  color: var(--e-global-color-text);
  text-decoration: none;
}

.cometa-accordion .cometa-download:hover {
  font-weight: 700;
  color: var(--e-global-color-primary);
}

/* Icona download */
.cometa-download .download-icon,
.cometa-accordion .cometa-download .download-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}



.cometa-download .elementor-icon-list-icon,
.cometa-accordion .cometa-download .elementor-icon-list-icon {
  display: inline-flex;
  align-items: center;
}

.cometa-download .e-font-icon-svg,
.cometa-accordion .cometa-download .e-font-icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cometa-download-text,
.cometa-accordion .cometa-download-text {
  line-height: 1;
}

/* Ultimo comunicato di ogni accordion: niente border e niente spazio */
.e-n-accordion.comunicati-accordion,
.e-n-accordion.bilanci-accordion
  details
  .elementor-loop-container
  .comunicato-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Bilanci accordion */
.cometa-accordion .elementor-widget-n-accordion .e-n-accordion-item-title {
  color: var(--e-global-color-primary) !important;
  font-weight: 700;
  border-left-width: 0;
  border-right-width: 0;
  border-top-width: 1px;
  border-bottom-width: 1px;
  padding: 20px 0;
  text-transform: uppercase;
  align-items: center;
  border-color: var(--n-accordion-border-color);
  border-radius: var(--n-accordion-border-radius);
  border-style: var(--n-accordion-border-style);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-grow: var(--n-menu-title-flex-grow);
  gap: var(--n-accordion-icon-gap);
  justify-content: var(--n-accordion-title-justify-content);
  list-style: none;
}

.cometa-accordion .e-n-accordion-item-title:hover {
  color: var(--e-global-color-primary);
}

.cometa-accordion .e-n-accordion-item-title-icon {
    order: -1;
}

.cometa-accordion .e-n-accordion-item-title span > svg,
.cometa-accordion .e-n-accordion-item-title:hover span > svg,
.cometa-accordion
  .e-n-accordion-item[open]
  > .e-n-accordion-item-title
  .e-n-accordion-item-title-icon
  span
  > svg {
  fill: var(--e-global-color-primary) !important;
}
.cometa-accordion .elementor-element.e-con-full.e-flex.e-con.e-child {
  border: 0;
  padding: 0;
}

.cometa-accordion .elementor-loop-item .elementor-element {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cometa-accordion .elementor-widget-date h5 {
  color: var(--e-global-color-7b3445f);
  font-weight: 300;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cometa-accordion .elementor-widget-heading h4 {
  color: var(--e-global-color-primary);
  font-weight: 700;
  margin-bottom: 0;
}

.cometa-accordion .elementor-widget-content p {
  margin-bottom: 2rem;
  color: var(--e-global-color-text);
}

.cometa-accordion h3.helpo_heading,
body .e-loop-item .elementor-heading-title,
.cometa-card-shop .elementor-heading-title {
	color: var(--e-global-color-text);
}

/* MOBILE PORTRAIT */
@media (max-width: 767px) {
  /* Change red boxes bg into transparent on mobile */
  .box-primary {
    background-color: transparent !important;
  }

  /* Align left counter titles */
  .numerics-mobile-left .elementor-counter-title {
    text-align: left !important;
  }
}

/* Avoid overflowing email adresses on contact cards */
.contact-card a[href^="mailto:"] {
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: normal;
}

.approachable,
.approachable img,
.uc_hover_switcher_col {
  border-radius: 30px !important;
}

.elementor.elementor .e-con > .elementor-widget.full-width {
  width: 100%;
}

/** Google Map **/
.cometa-map .elementor-custom-embed {
  height: 100%;
  min-height: 40dvh;
  position: relative;
}

.cometa-map iframe {
  position: absolute;
  height: 100%;
}

/** DONATION FORM MODAL **/
.wp-child-theme-cometa .givewp-donation-form-modal__overlay {
  z-index: 99999999999;
}

.wp-child-theme-cometa .givewp-donation-form-modal__overlay .givewp-donation-form-modal {
  background: white;
  height: 100dvh;
  width: 100dvw;
}

@media (min-width: 992px) {
    .wp-child-theme-cometa .givewp-donation-form-modal__overlay .givewp-donation-form-modal {
    height: 80dvh;
    width: 80dvw;
    position: relative;
    border-radius: 40px;
  }
}

.wp-child-theme-cometa .givewp-donation-form-modal__close {
  background: transparent;
  top: 10px !important;
  right: auto;
  margin-left: auto;
  position: relative;
}

.wp-child-theme-cometa .givewp-donation-form-modal__close:hover {
  background: #ccc;
}

.wp-child-theme-cometa button.givewp-donation-form-modal__open {
  font-size: 1.2rem;
  font-weight: 700 !important;
  padding: 16px 60px 16px 60px !important;
}



/** FIX THEME'S BREAKPOINTS **/

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
  .elementor-hidden-desktop {
      display: block;
  }
}

@media only screen and (min-width: 1280px) {
  .elementor-hidden-desktop {
      display: none;
  }
}

/* Comments container customization */
.comment-respond h6.helpo_blog-post__title {
  font-family: "Inter", Sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-style: normal;
  line-height: 1em;
  color: var(--e-global-color-text);
}

.comment-respond .comment-notes #email-notes {
  font-size: 1rem;
  color: var(--e-global-color-text);
}

.comment-form .logged-in-as a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
}

.comment-form .required-field-message {
  display: block;
  font-size: small;
}



/** Cometa Form SF customizations **/
.cometa-form-sf input,
.cometa-form-sf textarea {
  background: #fff;
  border-radius: 8px !important;
  margin-bottom: 1rem;
}

.cometa-form-sf.nl-form-bglight input,
.cometa-form-sf.nl-form-bglight textarea {
  background: var(--e-global-color-secondary);
}

.cometa-form-sf.nl-form-bgdark input,
.cometa-form-sf.nl-form-bgdark textarea {
  background-color: var(--e-global-color-primary);
  border-color: var(--e-global-color-secondary);
  color: var(--e-global-color-secondary);
}

.cometa-form-sf.nl-form-bgdark input::placeholder {
  color: var(--e-global-color-secondary);
  opacity: 0.8;
}

.cometa-form-sf .elementor-button {
  display: flex;
  padding: 1em 6em 1em 6em;
  font-size: var(--e-global-typography-cd927aa-font-size);
  line-height: var(--e-global-typography-cd927aa-line-height);
  letter-spacing: var(--e-global-typography-cd927aa-letter-spacing);
  font-weight: 700;
  margin-left: auto;
  margin-right: auto;
}

.cometa-form-sf.nl-form-bglight .elementor-button {
  background: var(--e-global-color-primary);
  margin-left: 0;
}

.cometa-form-sf.nl-form-bgdark .elementor-button {
  background: white;
  color: var(--e-global-color-primary);
  margin-left: 0;
}


.cometa-form-sf .elementor-button:hover,
.cometa-form-sf .elementor-button:focus {
  background-color: var(--e-global-color-primary);
}

.cometa-form-sf .elementor-button:hover {
  transform: translateY(-8px);
}

.cometa-form-sf label a,
.cometa-form-sf label a:hover {
  color: var(--e-global-color-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
}

.cometa-form-sf input[type="checkbox"] {
  position: relative;
  border-radius: 3px !important;
}

.cometa-form-sf.nl-form-bgdark input[type="checkbox"] {
  background: var(--e-global-color-secondary);
}

.cometa-form-sf.nl-form-bgdark label a,
.cometa-form-sf.nl-form-bgdark label a:hover {
  color: var(--e-global-color-secondary);
}

.cometa-form-sf input[type="checkbox"]:checked::after {
  left: 6px;
  top: 3px;
}

.cometa-form-sf.nl-form-bgdark label,
.cometa-form-sf.nl-form-bgdark label a{
  font-size: 12px;
  color: var(--e-global-color-secondary);
}


/** Domiciliazione bancaria fix icon **/
iframe .fa-cog:before, iframe .fa-gear:before {
  content: "\f015";
}