:root {
  --ech1: #c50066;
  --ech2: #ee73a4;
  --ech3: #f4b5ce;
  --ech-bg: #f9e5ef;
  --border-rad-ech: 50px;
}

@font-face {
  font-family: "Raleway", sans-serif;
  src: url("../fonts/Raleway-VariableFont_wght.ttf") format("ttf");
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  font-display: swap;
  /* per prestazioni migliori */
}

/*@font-face {
    font-family: 'Gianni';
    src: url("../fonts/MaterialIcons-Regular.ttf") format('ttf');
    font-weight: 400;
    font-style: normal;
}*/
.mad-dropdown.mad-lang > a::after {
  font-family: "Raleway";
  font-size: 1.125rem;
  margin-left: 0.5rem;
  max-width: 0.875rem;
  line-height: 0rem;
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #333;
  margin-right: 6px;
  vertical-align: bottom;
}

body {
  font-family: "Raleway", sans-serif;
  background-color: var(--ech-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
#rev-slider-2,
blockquote:not(.mad-blockquote--unstyled),
.mad-counter-count,
.mad-pricing-value .mad-value-pay,
.tp-layer-section-title,
.mad-navigation > li > a {
  font-family: "Raleway", sans-serif;
}

.border-echinacea {
  border-radius: var(--border-rad-ech) 0px var(--border-rad-ech) 0px;
}

.btn.border-echinacea {
  z-index: auto !important;
  border-radius: calc(var(--border-rad-ech) / 2) 0px calc(var(--border-rad-ech) / 2) 0px;
}

.btn.border-echinacea:hover::before {
  animation: rotateBack 0.5s ease forwards;
}

.btn.border-echinacea::before {
  content: "";
  position: absolute;
  height: 85%;
  width: 98%;
  left: 1%;
  display: block;
  background-color: var(--ech1);
  /*	transform: rotate(-1.5deg); */
  border-radius: var(--border-rad-ech) 0px var(--border-rad-ech) 0px;
  z-index: -1;
  animation: rotateOnce 1.5s ease forwards;
}

.primary-color {
  color: var(--ech1);
}

header.header-echinacea {
  background-color: var(--ech1) !important;
  border-radius: var(--border-rad-ech) 0px var(--border-rad-ech) 0px;
  margin: 0 4rem;
  z-index: auto !important;
  padding: 2.75rem 0;
}

header.header-echinacea::before {
  content: "";
  position: absolute;
  height: 85%;
  width: 98%;
  left: 1%;
  display: block;
  background-color: var(--ech2);
  /*	transform: rotate(-1.5deg); */
  border-radius: var(--border-rad-ech) 0px var(--border-rad-ech) 0px;
  z-index: -1;
  animation: rotateOnce 1.5s ease forwards;
  animation-delay: 400ms;
  /* ritardo di 1 secondo */
}

.mad-navigation > li > a::before {
  display: none !important;
}

@keyframes rotateOnce {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-1.5deg);
  }
}

@keyframes rotateOnce {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-1.5deg);
  }
}

@keyframes rotateBack {
  from {
    transform: rotate(-1.5deg);
  }

  to {
    transform: rotate(0deg);
  }
}

header.header-echinacea .current-menu-item a {
  color: var(--color-primary-lighter);
}

.rev-slider[class*="with-overlay"] .tp-bgimg:after {
  opacity: 0.46;
}

.btn {
  background: var(--ech2);
}

.btn:hover {
  background: var(--ech3);
}

.mad-navigation > li > a {
  color: var(--color-neutral-0);
}

.header-buttons {
  display: flex;
  flex-wrap: wrap;
  /* permette di andare a capo */
  gap: 10px;
}

.mad-navigation > li > a {
  font-size: 1.2rem;
}

.mad-texture-holder {
  margin-top: 5rem;
}

/*#rev-slider-2 {
	 border-radius: var(--border-rad-ech)
}*/
.rev-slider-element,
#rev-slider-2 {
  border-radius: var(--border-rad-ech) 0 var(--border-rad-ech) var(--border-rad-ech);
}

.rev-slider-element::after {
  background-color: var(--color-primary);
}

.rev-slider-element .mad-icon-boxes.small-size .mad-icon-box {
  font-size: 1.5rem;
  line-height: 2.2rem;
}

#scegli-prodotto {
  margin-top: -20px;
}

#scegli-prodotto span,
#scegli-prodotto img {
  display: inline-block;
}

#scegli-prodotto img {
  margin-top: -56px;
}

footer,
footer::before,
footer::after {
  background-image: none !important;
}

#mad-footer {
  border-top-left-radius: var(--border-rad-ech);
  z-index: auto !important;
  overflow: visible !important;
}

.mad-hr-list > li > a,
.mad-vr-list > li > a {
  color: var(--color-secondary);
}

.mad-social-icons ul li a {
  color: var(--color-secondary);
}

.mad-footer:not(.footer-2) {
  color: var(--color-secondary);
  background: var(--color-primary);
}

.mad-social-icons.size-4 ul li a {
  line-height: 3.5rem;
  font-size: 3rem;
}

.logo-optima {
  max-width: 210px;
}

.footer-box {
  margin-top: 50px;
}

.brand-of {
  display: block;
}

footer,
.intro-pt4 {
  background-image: url("../images/echinacea/icon-fiorebig.svg") !important;
  background-repeat: no-repeat !important;
  background-blend-mode: normal;
  background-size: 50% !important;
  background-position: -30% 100% !important;
}

.intro-pt4 {
  background-position: 10% -30% !important;
}

footer .mad-widget {
  text-align: center;
}

footer .mad-hr-list {
  align-items: center;
  justify-content: center;
}

footer::before {
  content: "";
  position: absolute;
  height: 85% !important;
  width: 98% !important;
  left: 1%;
  top: -4%;
  display: block;
  background-color: var(--ech3) !important;
  transform: rotate(-1.5deg);
  border-radius: var(--border-rad-ech) 0px 0px 0px;
  z-index: -1 !important;
}

.mad-mobile-nav-btn .line,
.mad-nav-btn .line {
  background-color: #ffffff;
}

.mad-before-after.type-2 .mad-before-after-content::after,
.mad-entities.type-4 .mad-entity .mad-entity-content::after {
  background: var(--color-primary);
  border-radius: var(--border-rad-ech) 0px var(--border-rad-ech) 0px !important;
}

.mad-pre-title {
  font-size: 1rem;
}

.prod-single h3 {
  font-weight: bold;
  font-size: 2.2rem;
  line-height: 2.5rem;
  color: #fff;
}

div.prod-single {
  color: #fff;
}

div.prod-single .btn-store {
  margin-bottom: 1rem;
}

div.prod-single button {
  border-radius: calc(var(--border-rad-ech) / 2) 0px calc(var(--border-rad-ech) / 2) 0px !important;
}

div.prod-single table {
  border: 1px solid var(--secondary-color);
}

div.prod-single table td {
  border: 1px solid var(--color-primary-lighter);
  font-size: 0.92rem;
  color: #fff;
  line-height: 1rem;
  vertical-align: middle;
  padding: 0.8rem;
}

div.prod-single table td:nth-child(2) {
  width: 25%;
}

.mad-entities.type-4:not(.type-2):not(.mad-entity-small) .mad-entity .mad-entity-content {
  padding: 8rem 3rem;
}

.mad-panels.mad-panels--style-2 .mad-panels-title > button {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.5rem;
  color: #fff;
  font-family: "Raleway", sans-serif;
}

.col-primary-darker {
  color: var(--color-primary-darker);
}

.col-black {
  color: #000000;
}

.mad-panels.mad-panels--style-2 .mad-panels-title > button::after,
.mad-panels.mad-panels--style-2 .mad-panels-title > button::before {
  background: var(--color-primary);
}

.mad-panels.mad-panels--style-2 .mad-panels-title > button {
  background-color: var(--ech2);
}

.echinacea-caratteristiche li {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid #fff;
  border-radius: 10px 0 10px 0;
  margin-right: 10px;
  font-weight: bold;
  font-size: 0.92rem;
  text-transform: uppercase;
  color: #fff;
}

table tr:hover,
table tr:focus {
  background-color: transparent;
}

.intro-text-echinacea {
  color: #ffffff;
}

.intro-text-echinacea h2,
.intro-text-echinacea h3 {
  color: #ffffff;
  font-weight: bold;
}

.intro-text-echinacea .mad-entity-media {
  margin-bottom: 1rem;
}

.intro-text-echinacea p {
  font-size: 1rem;
}

.intro-pt2 .mad-entities:not(.type-3):not(.mad-entity-small) .mad-entity::after {
  background: var(--ech3);
}

.intro-pt2 h4,
.intro-pt3 h4 {
  color: var(--color-primary);
  font-weight: bold;
  line-height: 2.5rem;
}

.intro-pt3 table th {
  background-color: var(--ech1);
  border: 1px solid var(--ech1);
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  padding: 10px;
}

.intro-pt3 table td {
  border: 1px solid var(--ech1);
  font-family: "Raleway", sans-serif;
  padding: 10px;
}

.intro-pt3 table th:nth-child(1) {
  width: 34%;
}

.intro-pt4.mad-colorizer--scheme-color-4 > .mad-colorizer-bg-color,
.intro-pt5.mad-colorizer--scheme-color-4 > .mad-colorizer-bg-color {
  background: var(--ech1);
  color: #fff;
}

.intro-pt4 .mad-icon-box h6.mad-icon-box-title {
  white-space: normal;
}

.intro-pt4 .mad-icon-boxes.hr-type .mad-icon-box {
  align-items: flex-start;
}

.intro-pt4 h6 {
  color: #fff;
  font-weight: bold;
  margin-bottom: 1rem;
}

.intro-pt4 p {
  color: #fff;
}

.intro-pt4-top {
  padding: 0 20% 5rem;
}

.intro-pt4-top h6 {
  color: var(--color-primary-lighter);
}

.intro-pt4 h3 {
  color: #fff;
  font-weight: bold;
}

.intro-pt5 h3 {
  color: var(--ech1);
  font-weight: bold;
  text-transform: uppercase;
}

@media only screen and (max-width: 992px) {
  header.header-echinacea {
    margin: 0;
    padding: 1.75rem 0;
  }

  header [class*="item-col-"] > *,
  header .row > [class*="col-"] {
    width: auto !important;
  }

  header .logo1 {
    max-width: 200px;
  }

  span.hide-mobile {
    display: none;
  }

  header .menu-mobile-content {
    margin-left: auto;
  }

  header.header-echinacea::before {
    height: 92%;
    left: 3%;
    width: 94%;
  }

  .mad-texture-holder {
    margin-top: 3rem;
  }

  .mad-img-texture8 {
    display: none;
  }

  .rev-slider-element,
  #rev-slider-2 {
    border-radius: var(--border-rad-ech) 0 0 var(--border-rad-ech);
  }

  .rev-slider-element .mad-icon-boxes.small-size .mad-icon-box {
    padding: 0 1rem;
  }

  .rev-slider-element .mad-icon-boxes.small-size .mad-icon-box {
    font-size: 1.2rem;
    line-height: 1.4rem;
  }

  h3 {
    font-size: 2rem;
    line-height: 2.3rem;
  }

  footer::before {
    top: -2%;
  }

  .brand-of {
    margin-top: 20px;
  }

  .mad-pre-title {
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
  }

  .mad-entities.type-4:not(.type-2):not(.mad-entity-small) .mad-entity .mad-entity-content {
    padding: 4rem 1.8rem;
  }

  .echinacea-caratteristiche li {
    padding: 3px 6px;
    margin-right: 7px;
    font-weight: bold;
    font-size: 0.62rem;
  }

  .intro-pt4-top {
    padding: 0 2% 5rem;
  }

  footer,
  .intro-pt4 {
    background-size: 150% !important;
    background-position: 120% -30% !important;
  }

  .intro-pt4 {
    background-size: 200% !important;
    background-position: 121% -2% !important;
    background-attachment: fixed;
  }
}
