/*

green: #e4201a

*/
:root {
  --br-main: 4rem !important;
  --color-primary: #fdc500;
  --color-primary-lighter: #f6f0e8;
  --color-primary-darker: #e4201a;
  --color-primary-5: #f6f0e8;
  --orange-flex: #e4201a;
  --orange-light: #f89930;
  --yello-light: #fffad9;
  --yello-lighter: #fff7b2;
  --color-primary-10: var(--color-primary-lighter);
}
/* material-icons-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src:
    url("../materials/material-icons-v142-latin-regular.woff2") format("woff2"),
    url("../materials/material-icons-v142-latin-regular.ttf") format("truetype");
}
/* poppins-300 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  src:
    url("../poppins/poppins-v21-latin_latin-ext-300.woff2") format("woff2"),
    url("../poppins/poppins-v21-latin_latin-ext-300.ttf") format("truetype");
}
/* poppins-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src:
    url("../poppins/poppins-v21-latin_latin-ext-regular.woff2") format("woff2"),
    url("../poppins/poppins-v21-latin_latin-ext-regular.ttf") format("truetype");
}
/* poppins-italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  src:
    url("../poppins/poppins-v21-latin_latin-ext-italic.woff2") format("woff2"),
    url("../poppins/poppins-v21-latin_latin-ext-italic.ttf") format("truetype");
}
/* poppins-700 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src:
    url("../poppins/poppins-v21-latin_latin-ext-700.woff2") format("woff2"),
    url("../poppins/poppins-v21-latin_latin-ext-700.ttf") format("truetype");
}
/* poppins-700italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: "Poppins";
  font-style: italic;
  font-weight: 700;
  src:
    url("../poppins/poppins-v21-latin_latin-ext-700italic.woff2") format("woff2"),
    url("../poppins/poppins-v21-latin_latin-ext-700italic.ttf") format("truetype");
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  /* text-transform: uppercase; */
  color: var(--orange-flex);
}
body {
  font-family: "Poppins", sans-serif;
  font-size: 0.94rem;
  line-height: 1.26rem;
  -webkit-text-size-adjust: 100%;
  font-weight: 400;
}
.mad-table--responsive-md th[data-cell-title]::before,
.mad-table--responsive-md td[data-cell-title]::before {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}
.mad-fullscreen-message,
.mad-navigation .sub-menu,
.mad-nav-canvas.full-screen .mad-vr-nav > ul > li a,
.calendar_wrap table,
.calendar_wrap table caption,
.calendar_wrap table thead th,
.comment .fn,
blockquote:not(.mad-blockquote--unstyled),
.mad-panels-title > button,
.mad-tabs:not(.mad-tabs--unstyled) .mad-tabs-nav a,
.mad-progress-bars--secondary .mad-progress-bar-title,
.mad-review-box-inner,
.mad-counter-count,
table th,
table tfoot td.title,
.mad-pricing-value .mad-value-pay,
.mad-entities.with-date .mad-entity .mad-entity-content .mad-entity-date,
.mad-entities.with-date .mad-entity .mad-entity-content .mad-entity-date span:last-child,
.tp-layer-section-title .mad-field-counter-value,
.payment-option input[type="radio"] + label[for],
.hidden-section .account-action,
.mad-dropdown-cart > .mad-dropdown-title i > span,
.mad-filter > li > a,
.mad-countdown .countdown-amount {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}
.mad-navigation > li > a,
.mad-dropcap--filled > *:first-child:first-letter,
.mad-dropcap.style-2:not(.mad-dropcap--filled) > *:first-child:first-letter,
.mad-text-medium.mad-dropcap.mad-dropcap--filled > *:first-child:first-letter,
.mad-dropdown-cart .subtotal span:first-child,
.mad-404-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 3rem;
  line-height: 3rem;
}
/* 

HEADER 

*/

.mad-header-section--sticky-xl nav > ul,
footer p.copyrights {
  background-color: var(--orange-flex);
  padding: 1.2rem 1.8rem;
  border-radius: 100px;
}

nav .mad-navigation > li > a {
  text-transform: none;
}

.mad-navigation > li > a {
  font-size: 1.15rem;
  line-height: 1rem;
  letter-spacing: 0.1rem;
  font-weight: normal !important;
  color: var(--color-neutral-0);
}

.header-2 [class*="mad-header-section--sticky"] {
  background-color: #fff0;
}

.header-optima-logo {
  max-width: 128px;
}

.mad-navigation-container .mad-navigation > .current-menu-item > a {
  color: var(--color-neutral);
}

.mad-navigation-container .mad-navigation > .menu-item > a:hover {
  color: var(--color-primary);
}

#mad-header {
  border-bottom-left-radius: 100px;
  margin-bottom: -100px;
  border-bottom-right-radius: 100px;
}

/* 

FOOTER 

*/

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

.mad-footer:not(.footer-2) {
  background-image: url("../images/glucosamina/footer-bg-2.png") !important;
  background-size: cover;
  color: var(--color-neutral-60);
}

.mad-footer:not(.footer-2)::after,
.mad-footer:not(.footer-2)::before {
  display: none;
}

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

.mad-footer:not(.footer-2):not(.footer-4) .mad-widget .mad-widget-title {
  color: var(--color-neutral-60);
}

footer p.copyrights {
  margin-top: 100px;
  color: var(--color-neutral-0);
}

.brand-of {
  display: block;
  font-size: 13px;
}

.brand-widget {
  text-align: center;
}

.footer-optima-logo {
  width: 200px;
}

.mad-footer:not(.footer-2)::after,
.mad-footer:not(.footer-2)::before {
  display: none;
}

/**

BODY

*/

.mad-back-to-top {
  background: var(--orange-flex);
}

.btn.gluco-btn {
  background: var(--orange-flex);
  color: #fff;
}

[class*="with-overlay"]:not(.mad-section)::after,
.mad-section[class*="with-overlay"] > [class*="mad-colorizer-"]::after {
  /* background: var(--orange-flex); */
}

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

div.mad-img-section .mad-img-container {
  align-items: center;
}

span.mad-img-texture7 {
  background: url("../images/glucosamina/texture-bg-01.png") no-repeat;
  background-position-x: 0%;
  background-position-y: 0%;
}

figure.mad-team-member .mad-team-member-info {
  padding: 1rem 1.5rem 2rem;
}

.mad-team-member-info .mad-team-member-name:not(:last-child) {
  margin-bottom: 0;
}

.mad-team-member-info h5 {
  line-height: 1;
  padding-bottom: 10px;
}

.mad-team:not(.type-3) .mad-team-member .mad-social-icons p {
  display: none;
}

.mad-team:not(.type-3) .mad-team-member .mad-member-stat,
.mad-team:not(.type-3) .mad-team-member:hover .mad-member-stat {
  color: var(--color-neutral-0);
}

.mad-team:not(.type-3) .mad-team-member .mad-team-member-info {
  background: var(--orange-light);
}

.mad-team:not(.type-3) .mad-team-member:hover .mad-team-member-info {
  background: var(--orange-flex);
}

.mad-team:not(.type-3) .mad-team-member:hover .mad-social-icons p {
  color: var(--color-neutral-0);
  display: block;
}

.mad-team-member-info .mad-team-member-name a {
  font-size: 1.4rem;
}

.mad-team:not(.type-3) .mad-team-member .mad-social-icons {
  /* margin-top: -5.4rem; */
  margin-top: 0;
}

.index-page .mad-colorizer--parallax .mad-colorizer-bg-image {
  background-size: cover;
}

.mad-colorizer--scheme-color-condro {
}

.mad-colorizer--scheme-color-condro > .mad-colorizer-bg-color {
  background: #e4201a;
  background: linear-gradient(0deg, rgb(228, 32, 26) 0%, rgb(253, 197, 0) 100%);
}

.mad-storyline .mad-story-item::after {
  background: var(--orange-flex);
}

div.mad-storyline .mad-story-item .mad-story-content {
  bottom: inherit;
}

.mad-storyline .mad-story-item::after {
  display: none;
}

.mad-storyline .mad-story-item .mad-story-content {
  top: 180px;
}

.gluco-icons .red-box-title {
  width: 100%;
  padding-top: 30px !important;
}
.gluco-icons .red-box-title h4 {
  color: var(--color-neutral-0);
}

.gluco-icons {
  background-color: var(--orange-flex);
  border-radius: 300px;
  padding: 20px 50px 40px;
  color: var(--color-neutral-0);
}

.mad-tabs .mad-tabs-nav a.btn {
  border: 2px solid var(--color-primary-10);
  color: var(--color-neutral-0);
}

.mad-tabs-nav .mad-active a.btn {
  background-color: transparent;
  border: 2px solid var(--orange-flex);
}

.title-product h2 {
  background-color: var(--orange-flex);
  padding: 0.3rem 1.8rem;
  border-radius: 100px;
  color: var(--color-neutral-0);
  font-size: 3rem;
  font-weight: normal;
  display: inline-block;
  background: #e4201a;
  background: linear-gradient(0deg, rgb(228, 32, 26) 0%, rgb(253, 197, 0) 100%);
  margin-bottom: 1rem;
}
h3 img {
  max-width: 60%;
}

.title-product h4,
.title-product h5 {
  background-color: var(--orange-flex);
  padding: 0.3rem 1.8rem;
  border-radius: 100px;
  color: var(--color-neutral-0);
  font-weight: normal;
  display: inline-block;
  background: #e4201a;
  background: linear-gradient(0deg, rgb(228, 32, 26) 0%, rgb(253, 197, 0) 100%);
  margin-bottom: 1rem;
}

.title-product p {
  /* font-size: 1.3rem; */
}

.table-recycling-wrapper {
  font-size: 0.86rem;
  width: 70%;
  margin: 0 auto;
}
.table-recycling {
  width: 100%;
}

.table-recycling td,
.table-recycling th {
  font-size: 0.86rem;
  padding: 0.66rem;
}

.table-recycling th {
  font-weight: 700;
}

.table-wrapper {
  border: 1px solid var(--orange-flex);
  border-radius: var(--br-main);
  overflow: hidden; /* fondamentale */
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.product-table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  border: none !important;
}

.product-table tbody,
.product-table thead,
.product-table tfoot,
.product-table tr,
.product-table th,
.product-table td {
  border: none;
}

.product-table th {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--color-neutral-0);
  vertical-align: middle;
  text-align: center;
  padding-right: 0.8rem;
  padding-left: 0.8rem;
}

.product-table td {
  font-size: 0.94rem;
  border: none !important;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.product-table th:nth-child(1) {
  background-color: var(--color-primary);
  width: 34%;
}

.product-table th:nth-child(2) {
  background-color: var(--orange-light);
  width: 22%;
}

.product-table th:nth-child(3) {
  background-color: var(--orange-flex);
}

.product-table.two-cols-table th:nth-child(2) {
  background-color: var(--orange-flex);
  width: 60%;
}

.product-table.two-cols-table th:nth-child(1) {
  background-color: var(--color-primary);
}

.product-table tbody tr:nth-child(even) td {
  background-color: var(--yello-light);
}

.product-table tbody tr:nth-child(odd) td {
  background-color: var(--yello-lighter);
}

.prod-single h5 {
  margin-bottom: 0.3rem;
}

.mad-storyline .mad-story-item.right-col {
  top: 9rem;
}

.mad-story-inner figure img {
  width: 50%;
  margin-bottom: -26px;
  border: 6px solid #fff;
  margin-left: 50px;
  transform: rotate(-10deg);
}

/* .top-header-spacer {
  padding: 90px 0;
}
.btn.style-2 {
  background: var(--orange-flex);
}
.btn.style-2:hover {
  background: var(--color-primary-lighter);
}
.mad-colorizer--scheme-color-5 > .mad-colorizer-bg-color {
  background-color: var(--orange-flex);
}
.mad-carousel-type-2 .owl-item .mad-entity .mad-entity-media {
  height: auto;
}
.owl-carousel .owl-item img {
  padding-right: 2rem;
}
.mad-carousel-type-2 h4 {
  font-size: 1.85rem;
  line-height: 1.9rem;
}
.mad-colorizer--scheme-color-5 > .mad-colorizer-bg-color::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background: url("../images/teatree/bussola.png");
  background-attachment: fixed;
  z-index: -1;
}
.mad-counters .mad-counter-title {
  text-transform: uppercase !important;
  color: #fff;
  font-weight: bold;
}
div.proprieta {
  padding: 5rem 0;
}
.proprieta h5 {
  color: #ffffff;
  text-align: center;
}
.icon-anti {
  margin: 10px 10px 20px;
  max-width: 132px;
}
.product-table {
  border: none;
  border-collapse: separate;
  border-spacing: 0.3em;
  text-align: center;
}
.product-table td,
.product-table th {
  background-color: #ffffff;
  border: none;
  font-size: 0.9rem;
  line-height: 0.9rem;
  padding: 0.9em 0.5em;
}
.product-table th {
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.product-table span {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 0.9rem;
  display: block;
}
.prod-container[class*="item-col-"]:not(.no-gutters) > * {
  padding-bottom: 2rem;
}
.mad-pricing-value {
  padding-top: 20px;
}
.mad-pricing-value span strong {
  display: block;
  margin-top: 5px;
}
.list-teatree {
  list-style: circle;
  text-transform: uppercase;
  margin: 10px 0 20px;
  list-style-position: inside;
}
.optima-prod h4 {
  margin-bottom: 0.5rem !important;
  line-height: 2.5rem;
}
.optima-prod h6 {
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.4rem;
}
.optima-prod .mad-entity-media img {
  padding-right: 2rem;
}
.mad-entities.mad-pricing .mad-entity:hover h6 {
  color: var(--color-primary-lighter);
}
.mad-entities.type-2:not(.mad-entity-small) .mad-entity::after {
  left: 0;
  right: 0;
  top: -2rem;
}
.mad-entities.mad-pricing.mad-entities:not(.type-3):not(.mad-entity-small) .mad-entity:hover::after {
  background: var(--orange-flex);
}
.switch-packaging {
  display: none;
}
.mad-entities.mad-pricing.mad-entities:not(.type-3):not(.mad-entity-small) .mad-entity:hover .switch-packaging + img {
  display: none;
}
.mad-entities.mad-pricing.mad-entities:not(.type-3):not(.mad-entity-small) .mad-entity:hover .switch-packaging {
  display: block;
}
.mad-entities:not(.type-3):not(.mad-entity-small) .mad-entity::after {
  background-image: url("../images/teatree/bussola-beige.png");
}
.mad-entities.mad-pricing.mad-entities:not(.type-3):not(.mad-entity-small) .mad-entity:hover::after {
  background-image: url("../images/teatree/bussola-green.png");
}
.footer-logo {
  width: 200px;
}
footer .mad-logo {
  width: auto;
}
.mad-footer.footer-4::after,
.mad-footer.footer-4::before {
  display: none;
}
#mad-footer {
  background-image: url("../images/teatree/bussola-beige.png");
  background-attachment: fixed;
}
.mad-social-icons.size-2 ul li a {
  font-size: 2.5rem;
  color: var(--orange-flex);
}
footer .mad-vr-list > li > a {
  color: var(--orange-flex);
}
.mad-before-after.type-2 .mad-before-after-content::after,
.mad-entities.type-4 .mad-entity .mad-entity-content::after {
  background-color: var(--color-primary-5);
}
.mad-colorizer--scheme-color-3 .mad-page-title {
  color: var(--orange-flex);
}
.mad-colorizer--scheme-color-3 > .mad-colorizer-bg-color {
  background: var(--color-primary-5);
  background-image: url("../images/teatree/bussola-beige.png");
  background-attachment: fixed;
}
.mad-story-inner figure img {
  max-width: 80%;
}
.story-teatree p {
  color: #000000;
  padding-top: 20%;
  text-align: center;
  font-size: 1.125rem;
} */

.mad-navigation > li > a::before {
  display: none;
}
#lang {
  position: fixed;
  top: 200px;
  right: 0px;
  padding: 14px;
  background-color: var(--color-primary);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  z-index: 9999;
}
#lang li {
  display: inline;
}
#lang li a {
  display: block;
  margin-botto: 5px;
  text-align: center;
  color: #ffffff;
  font-weight: 400;
  font-size: 18px;
}
#lang li a:hover {
  color: var(--color-primary-lighter);
}
/**

MOBILE

*/
@media only screen and (min-width: 992px) {
  .hide-desktop {
    display: none !important;
  }
  .mad-pricing-value {
    width: 7vw;
    width: 128px;
  }
}
@media only screen and (max-width: 480px) {
  #lang {
    top: 60px;
  }
}
@media only screen and (max-width: 991px) {
  #azione-sinergica {
    font-size: 26px;
    line-height: 30px;
  }
  .tp-layer-section-title img {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  body .mad-storyline .mad-story-content p {
    -webkit-line-clamp: none;
    line-clamp: none;
  }
  h3:has(img) {
    margin-bottom: 0.4rem !important;
  }
  h3 img {
    max-width: 100%;
  }
  .title-product h2 {
    font-size: 2rem;
    line-height: 2rem;
  }
  .title-product h4,
  .title-product h5 {
    font-size: 21px;
    line-height: 1.6rem;
    padding: 14px 24px;
  }
  .mad-tabs:not(.mad-tabs--unstyled) .mad-tabs-nav {
    flex-direction: column;
  }
  .mad-storyline .mad-story-item .mad-story-content {
    position: unset;
  }
  body .mad-storyline > .mad-col:not(:last-child),
  body .mad-storyline .mad-story-item:not(:last-child) {
    margin-bottom: 0.2rem;
  }

  .hide-mobile {
    display: none !important;
  }

  .mad-navigation > li.lang-btn > a {
    color: #000;
  }

  #lang li a {
    font-size: 16px;
  }
  #lang {
    position: fixed;
    right: 0px;
    padding: 10px;
  }
  #lang li a {
    font-size: 16px;
  }
  #lang {
    position: fixed;
    right: 0px;
    padding: 10px;
  }

  .mad-team .mad-team-member {
    padding-bottom: 6rem;
  }
  #mad-header {
    border-bottom-left-radius: 26px;
    margin-bottom: -26px;
    border-bottom-right-radius: 26px;
  }

  .mad-header-section--sticky-xl nav > ul,
  footer p.copyrights {
    padding: 1.2rem 1.8rem;
    border-radius: 26px;
  }

  body .mad-header .mad-navigation > li > a {
    line-height: 1.4rem;
  }

  .table-recycling td,
  .table-recycling th {
    font-size: 0.66rem;
  }

  .product-table th {
    font-size: 0.6rem;
    line-height: 0.8rem;
  }

  .product-table td {
    font-size: 0.66rem;
    line-height: 0.66rem;
  }

  .mad-tabs:not(.mad-tabs--unstyled) .mad-tabs-nav a {
    font-size: 1.2rem;
  }

  .mad-storyline > .mad-col:not(:last-child),
  .mad-storyline .mad-story-item:not(:last-child) {
    margin-bottom: 12rem;
  }

  .ingredienti-page .mad-entity-media {
    margin-bottom: -50px;
  }

  .container > .prod-single:first-of-type {
    padding-top: 1rem !important;
  }

  .product-table th:nth-child(1) {
    width: 32%;
  }

  .product-table th:nth-child(2) {
    width: 26%;
  }

  /* p.copyrights {
    text-align: left;
  }
  .mad-video-wrapper {
    background-position: right;
  }
  h1 {
    font-size: 2.2rem;
    line-height: 2.2rem;
  }
  .mad-logo {
    width: 130px;
  }
  .mad-entities.mad-pricing .mad-entity .mad-entity-content {
    flex-direction: column-reverse;
  }
  .optima-prod img {
    max-width: 100%;
  }
  table {
    border: 0;
  }
  table caption {
    font-size: 1.3em;
  }
  table th {
    display: none;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table tr {
    border-bottom: 0px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }
  table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  table td:last-child {
    border-bottom: 0;
  }
  .mad-entities.type-2:not(.mad-entity-small) .mad-entity::after {
    top: -1rem;
  }
  .owl-carousel .owl-item img {
    padding-right: 1rem;
  }
  .optima-prod .mad-entity-media img {
    padding-right: 1rem;
  }
  .mad-video-wrapper {
    background-position: top center !important;
    background-size: cover;
    height: 80vh;
  }
  [class*="mad-header-section--sticky"].mad-header-section--sticked {
    position: relative !important;
  }
  .mad-header--transparent.mad-header--transparent-single {
    position: relative !important;
  }
  .top-header-spacer {
    display: none;
  } */
}
@media only screen and (max-width: 1200px) {
  .hide-mobile {
    display: none !important;
  }

  :root {
    --br-main: 2.6rem !important;
  }
}
