/* css generale --------------------------------------------------------------------------------------------------------------- */
.g-custom {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
}

.accordion {
  --bs-accordion-bg: #FFF;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.76742 0.741836L5.00075 3.97568L8.23408 0.741836C8.55908 0.416784 9.08408 0.416784 9.40908 0.741836C9.73408 1.06689 9.73408 1.59197 9.40908 1.91702L5.58408 5.74263C5.25908 6.06768 4.73408 6.06768 4.40908 5.74263L0.584082 1.91702C0.259082 1.59197 0.259082 1.06689 0.584082 0.741836C0.909082 0.425119 1.44242 0.416784 1.76742 0.741836Z' fill='%231D2D3D'/%3E%3C/svg%3E%0A") !important;
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
  --bs-accordion-btn-icon-width: 10px;
  --bs-accordion-btn-icon-height: 10px;
  --bs-accordion-active-color: #0B2E4F;
  --bs-accordion-btn-focus-border-color: transparent;
  --bs-border-radius: 5px;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: transparent;
}

.accordion-button {
  border: 0;
}

.cursor-pointer {
  cursor: pointer;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 0px!important;
  margin-block-end: 0rem!important;
}

.elementor-icon {
  vertical-align: middle;
}


/* css bottoni ------------------------------------------------------------------------------------------------------- */
/* css bottone primario */
@media (max-width: 766px) {
  .primario .elementor-button:hover {
    background-color: #165874 !important;
  }
}

@media (min-width: 767px) {
  .primario .elementor-button:hover {
    box-shadow: 0 2px 6px 0 rgba(0, 111, 152, 0.4);
  }

  .primario .elementor-button:active {
    background-color: #165874 !important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* css bottone secondario */
@media (max-width: 766px) {
  .secondario .elementor-button:hover {
    background-color: #F4F6F9 !important;
  }
}

@media (min-width: 767px) {
  .secondario .elementor-button:hover {
    box-shadow: 0 4px 5px 0 rgba(194, 209, 217, 0.6);
  }

  .secondario .elementor-button:active {
    background-color: #F4F6F9 !important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* css bottone terziario */
@media (max-width: 766px) {
  .terziario .elementor-button:hover {
    background-color: #319ED8 !important;
    opacity: 0.8;
  }
}

@media (min-width: 767px) {
  .terziario .elementor-button:hover {
    box-shadow: 0 3px 5px 0 rgb(198, 227, 241);
  }

  .terziario .elementor-button:active {
    background-color: #319ED8 !important;
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* css bottone agic */
@media (max-width: 766px) {
  .agic .elementor-button:hover {
    background-color: #0059B2 !important;
  }
}

@media (min-width: 767px) {
  .agic .elementor-button:hover {
    box-shadow: 0 3px 5px 0 rgb(198, 227, 241);
  }

  .agic .elementor-button:active {
    background-color: #0059B2 !important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* css bottone agic */
@media (max-width: 766px) {
  .commerciale .elementor-button:hover {
    background-color: #EAB600 !important;
  }
}

@media (min-width: 767px) {
  .commerciale .elementor-button:hover {
    box-shadow: 0 4px 5px 0 rgba(194, 209, 217, 0.6);
  }

  .commerciale .elementor-button:active {
    background-color: #EAB600 !important;
  }
}

/* css bottone text-button */
@media (max-width: 766px) {
  .text-button .elementor-button:hover {
    color: #165874 !important;
  }
}

@media (min-width: 767px) {
  .text-button .elementor-button:active {
    color: #165874 !important;
  }
}

/* css per form salesforce ------------------------------------------------------------------------------------------------------- */
@media (max-width:1199px) {
  #talk .elementor-widget-wrap {
    width: 100% !important;
    margin: 64px 12px 64px 12px !important;
  }

  #talk section {
    padding: 0px !important;
  }
}


/* css modifica settaggi elementor ------------------------------------------------------------------------------------------------------- */


@media (max-width:768px) {
  .menu-item-80033 .gm-menu-item__txt {
    color: #006F98 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px
  }
}