@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

:root {
    --dark: #333333;
    --blue: #156fb5;
    --light-blue: #85bae6;
    --green: #699e88;
    --light-green: #90b6a3;
    --button-green: #39b54a;
    --purple: #993dbb;
    --light-purple: #a576a5;
    --light: #ffffff;
    --orange: #ff6600;
}

body {
  font-family: 'Poppins', sans-serif;
}

.img-fluid, .img-fluid img {
    width: 100%;
}

.button, #cookietop_submit {
    display: flex;
    width: fit-content;
    background: var(--button-green);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    text-decoration: none;
    margin-left: auto;
    border-radius: 0.8rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button:hover {
    filter: brightness(1.15); 
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hover-effect:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.top-bar, .menu, .container-fluid {
  padding: 0.5rem 4rem;
}

.green {
  color: var(--light-green);
}

.blue{
  color: var(--blue);
}

.purple{
  color: var(--light-purple);
}

.bg-timeline{
  background-color: var(--blue)!important; 
}

/***** MENU*****/
/***** TOP BAR*****/
.top-bar {
  position: relative;
  background-color: var(--light);
  color: var(--dark);
border-bottom: 1.5px solid var(--blue);
}

.top-bar .open ul {
  display: block;
}

.top-bar ul{
  border-top: 1rem;
}

.top-bar li{
  padding: 0.2rem 1rem;
}

.mainMenu ul {
    margin-top: 2rem;
    list-style-type: none;
    padding: 2rem 4rem 4rem 1rem;
    position: absolute;
    background-color: var(--light);
    z-index: 1000;
    border-bottom-right-radius: 3rem;
    border-top-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    display: none;
    border: 1.5px solid var(--blue);
}

#mainMenu {
    display: flex;
    justify-content: space-between;
}

.mainMenu li:hover{
   background-color: aliceblue;
}

.mainMenu a{
   text-decoration: none;
}

.box-tel{
    display: flex;
    align-items: center;
}

.box-tel p{
    color: var(--dark);
    margin: 0;
}

.box-tel span{
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark);
    padding-left: 1rem;
}

.box-tel img{
    height: 2rem;
}

.tooltip-email {
    display: none;
    position: absolute;
    background-color: #fff;
    color: var(--dark);
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    top: 100%;
    right: 0.5rem;
    font-weight: 700;
}

.tooltip-email.show {
  display: block;
}

/***** MENU PRINCIPALE*****/
.mainMenu-toggle {
    color: var(--dark);
    cursor: pointer;
    display: flex;
    position: relative;
    padding-right: 1.5rem;
    align-items: center;
}

.mainMenu ul li a {
    text-decoration: none;
    font-weight: 700;
}

.logo-header{
    width: 14rem;
}

.submenu-toggle{
  border: none !important;
}

.mainMenu-toggle::after, .submenu-toggle::before{
    content: '';
    position: absolute;
    right: 0;
    width: 0.8rem;
    height: 0.8rem;
    border-left: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
}

.submenu-toggle::before{
    border-left: 2px solid var(--light);
    border-bottom: 2px solid var(--light);
}

.img-home{
    width: 1.7rem;
    margin-left: -5px;
    margin-top: -9px;
}


#mainMenu > ul > li:nth-child(5) > a{
       font-weight: 400;
}

#menuSecondario > ul > li:nth-child(3) > div > ul > li > div > button::before {
    top: 7.8rem;
    right: 8.2rem;
}

.aperto > ul{
    margin-right: 1rem;
    border-right: 1px solid var(--light);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
  padding: 2rem 4rem;
}

.menu.aperto > ul {
    display: flex;
    position: absolute;
    top: 7rem;
    right: 3rem;
    background-color: var(--blue);
    z-index: 1000;
    flex-direction: column;
    list-style: none;
    border-top-left-radius: 4rem;
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 4rem;
    padding: 2rem 0 6rem 10rem;
    text-align: right;
    border: none;
    z-index: 2000;
}

.menu ul{
  display: none;
}

.menu.aperto ul{
  display: block;
    list-style: none;
}

.menu > ul > li > div > .ws-catalog-menu > li > div{
    display: inline-flex;
}

.menu > ul > li > div > .ws-catalog-menu > li > ul{
    display: none;
}

.menu > ul > li > div > .ws-catalog-menu > .aperto > ul{
    display: block;
}

#menuSecondario > ul > li:nth-child(3) > div > ul > li > ul > li:nth-child(1) > ul{
    display: none;
}

#menuSecondario > ul > li:nth-child(3) > div > ul > li > ul > li.aperto > ul{
    display: block;
}

#menuSecondario > ul > li:nth-child(3) > div > ul > li > ul > li:nth-child(1) > div{
   height: 40px;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle div {
    content: '';
    position: absolute;
    width: 2.2rem;
    height: 4px;
    background-color: var(--blue);
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 2rem;
}

.submenu-toggle::before {
    top: 10.2rem;
    right: 6rem;
}

ul li a:hover,
ul li a:focus {
  text-decoration: underline;
}

.goccia-blu::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 20px;
    background-color: var(--light-blue);
    margin-right: 8px;
    vertical-align: middle;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 4px;
    transform: translateY(-3px);
}

.goccia-viola::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 20px;
    background-color: var(--light-purple);
    margin-right: 8px;
    vertical-align: middle;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 4px;
    transform: translateY(-3px);
}

.goccia-verde::before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 20px;
    background-color: var(--light-green);
    margin-right: 8px;
    vertical-align: middle;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 4px;
    transform: translateY(-3px);
}
/***** HAMBURGER *****/
.menu-toggle {
  width: 3rem;
  height: 3rem;
  position: relative;
  cursor: pointer;
  display: block;
    border: 1px solid var(--blue);
    border-radius: 0.5rem;
}

.menu-toggle::before {
  top: 0.5rem;
}

.menu-toggle div {
  top: 50%;
  transform: translate(-50%, -50%);
}

.menu-toggle::after {
  bottom: 0.5rem;
}

.menu-toggle.open::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.open::after {
  bottom: 50%;
  transform: translate(-50%, 50%) rotate(-45deg);
}

.menu-toggle.open div {
  opacity: 0;
}

.menu a {
  text-decoration: none;
  color: var(--light);
  padding: 0.5rem 1rem;
  display: block;
}

  .is-disabled {
    cursor: default !important;
    text-decoration: none !important;
  }

/***** TOOLTIP*****/
    .right-tooltip {
      position: fixed;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      background-color: var(--button-green);
      color: white;
      padding: 2rem; 
      border-radius: 8px 0 0 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 1000;
      cursor: default;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      overflow: hidden;
      white-space: nowrap;
    }

.right-tooltip.collapsed {
    width: 48px;
    padding: 0.5rem 3rem;
    border-radius: 1rem 0 0 1rem;
    cursor: pointer;
}

#custom-page .right-tooltip.collapsed {
    display: none;
}

    .right-tooltip.collapsed span,
    .right-tooltip.collapsed a,
    .right-tooltip.collapsed .close-tooltip {
      display: none;
    }

    .tooltip-text-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 8px;
      white-space: normal;
    }

    .right-tooltip a {
      background-color: var(--blue);
      color: white;
      padding: 0.4rem 1rem;
      border-radius: 20px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.9rem;
      transition: background-color 0.3s ease, color 0.3s ease;
      user-select: none;
      white-space: nowrap;
      align-self: flex-start; 
    }

    .right-tooltip a:hover,
    .right-tooltip a:focus {
      background-color: var(--light-blue);
      color: var(light);
      outline: none;
    }

.right-tooltip img {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    user-select: none;
}

    .close-tooltip {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 16px;
      height: 16px;
      cursor: pointer;
      user-select: none;
    }

    .close-tooltip::before,
    .close-tooltip::after {
      content: '';
      position: absolute;
      left: 0;
      top: 7px;
      width: 100%;
      height: 2px;
      background-color: white;
      transition: background-color 0.3s ease;
    }

    .close-tooltip::before {
      transform: rotate(45deg);
    }

    .close-tooltip::after {
      transform: rotate(-45deg);
    }

    .close-tooltip:hover::before,
    .close-tooltip:hover::after {
      background-color: #eee;
    }

/***** TO TOP*****/
        #btn-back-to-top {
            position: fixed;
            bottom: 5rem;
            right: 2rem;
            display: none; 
            z-index: 9999;
            border-radius: 20% 0 20% 20%;
            width: 3rem;
            height: 3rem;
            padding: 0;
            font-size: 3rem;
            line-height: 1;
            transform: rotate(-90deg);
            background-color: var(--button-green);
            border: none;
            color: var(--light);
        }

/***** COOKIE*****/
#cookietop {
    position: fixed;
    background-color: var(--light);
    display: flex;
    font-size: .8em;
    padding: 0.5em 1em;
    justify-content: space-between;
    line-height: 1;
    width: 50%;
    min-width: 300px;
    z-index: 20000;
    align-items: center;
    color: #808080;
    bottom: 10px;
    right: 10px;
    border: 1px solid #808080;
}

#cookietop p {
    margin-bottom: 0;
    margin-right: 1em;
    font-size: large;
}

#cookietop input {
    text-transform: uppercase;
    color: var(--light);
    padding: .5em 1em;
    border: none;
    border-radius: 0.3rem;
}

/***** CAROUSEL*****/
.svg-decorator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

.svg-decorator img{
  width: 100%;
  height: auto;
  display: block;
}

.carousel .carousel-caption.home-title {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: auto;
    right: 5rem;
    transform: translateY(-50%);
    width: min(700px, 80vw);
    padding: clamp(12px, 2.5vw, 3rem);
    color: #fff;
    text-align: right;
    z-index: 10;
}

#carouselExampleCaptions{
    z-index: 10;
}

.carousel-indicators{
   z-index: 10;
}

.carousel-item img{
    width: 100%;
    height: auto;
}

.home-title h5 {
    font-size: 3rem;
}

/***** VETRINA PRODOTTI*****/
.card{
    border: none;
}

.intro{
    text-align: center;
    margin: 0 auto;
}

.intro h1, .intro h2{
    color: var(--blue);
    font-weight: 700;
    padding: 6rem 0;
}

.linea{
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.linea::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.2rem;
    transform: translateX(-50%);
    width: 7rem;
    height: 5px;
    background: currentColor;
    border-radius: 2px;  
    margin-bottom: 4rem;
}

.intro p {
    text-align: left;
}

    .img-container {
      display: inline-block;
      padding: 0.5rem; 
      border: 2px solid var(--blue); 
      border-radius: 0 3rem 3rem 3rem;
    }

    .custom-img {
      display: block;
      height: auto;
      border-radius: 0 3rem 3rem 3rem;
    }

.card-title{
    color: var(--light-blue);
}

/*SEZIONE DOPO ACQUISTO*/
.sfondo-testo .goccia-blu::before {
    background-color: var(--blu);
    position: absolute;
    margin-left: -3rem;
    transform: translateY(6px);
}

.sfondo-testo .goccia-blu::before {
    margin-top: 0.5rem;
    margin-left: -2rem;
    transform: translateY(-3px);
}

.sfondo-testo p{
    padding-left: 2rem;
}

.container-testo {
    padding-right: 3rem;
    margin-left: -2rem;
}

.container-testo h5{
    color: var(--dark);
    text-align: left;
    font-size: 2.25rem;
    font-weight: 700;
}

    .img-fluid-custom {
      object-fit: cover;
      width: 100%;
      height: 100%;
      min-height: 400px;
    }

    .image-container {
      padding: 0;
      height: 100%;
      overflow: hidden;
    }

/*SEZIONE SCELTA*/
.section-scelta {
    display: flex;
    justify-content: center;
}

.section-scelta h2{
    padding-top: 6rem;
}

.section-scelta p{
    font-weight: 500;
    padding-bottom: 2rem;
}

.container-redirect-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#redirect-form {
    display: flex;
    justify-content: center;
    width: 500px;
    gap: 1rem;
    padding-bottom: 6rem;
}

.container-redirect-form label{
    color: var(--blue);
    font-weight: 700;
}

#redirect-form select{
    padding: 0.5rem;
    border: 2px solid var(--blue);
    border-radius: 0.3rem;
    width: 50%;
}

#redirect-form .button{
    padding: 0.5rem 2rem;
    border: none;
    border-radius: 0.8rem;
    font-weight: 700;
}

/*HOME PAGINA NEWS*/
.onda-top,
.onda-bottom {
  width: 100%;
  overflow: hidden;
}

.onda-top img,
.onda-bottom img {
  width: 100%;
  height: auto;
  display: block;
}

.contenuto-centrale {
  background-color: var(--blue); 
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.contenuto-centrale h2{
   color: var(--light);
}

.contenuto-centrale .card-title{
   color: var(--dark);
    padding: 1rem 0 3rem;
}

.contenuto-centrale .button {
    background: var(--button-green);
    margin: 2rem auto;
    padding: 0.5rem 4rem;
}

 .card {
    flex: auto;
    scroll-snap-align: start;
    border-top-right-radius: 7rem;
    border-bottom-left-radius: 7rem;
    border-bottom-right-radius: 7rem;
    background-color: var(--light);
    list-style: none;
}

.card  a{
    text-decoration: none;
}

time {
    display: block;
    font-size: 2rem;
    color: #666;
    font-weight: 700;
    text-align: left;
}

.nonews, .ws-no-products {
    margin: 0 auto;
    color: var(--light);
    padding: 2rem 0 !important;
    font-size: 1.5rem;
    text-align: center;
}

/*PAGINA NEWS*/
.box-news img, .news-card img{
   width:100%;
}

.news-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 0;
}

 .box-news h2, .news-card h2{
    color: var(--blue);
    font-weight: 700;
}

#news time, .news-card time{
    font-size: 1rem;
}

#news p {
    margin-top: 1rem;
}

.category-news{
    list-style: none;
}

 .news-card a{
    text-decoration: none;
}

.news-card h2{
    font-size: 1.2rem;
    padding: 1rem 0;
}

/***** CONTATTI*****/
.contatti .intro h2 {
    padding: 0 0 6rem;
}

.contatti  .custom-img{
    border: 2px solid var(--blue);
}

.icona-contatti img{
    width: 2rem;
    margin-right: 0.5rem;
} 

.ratio{
   border: 1px solid var(--blue);
}

.ratio>*{
    padding: 0.5rem;
}

.contatti span{
   color: var(--blue);
}

.contatti .ws-breadcrumbs span{
   color: var(--dark);
}

 .ws-breadcrumbs li:nth-child(2) > span{
   color: var(--blue);
}

.container-form {
    background-color: #d9e7f2;
    border-radius: 0 3rem 3rem 3rem;
    padding: 3rem;
}

.container-form h3 {
        font-size: 3rem;
        font-weight: 700;
    }

.ws-contact-form {
    display: flex;
    justify-content: center;
}

.ws-contact-form form {
  display: flex;
  flex-direction: column;
}

.ws-contact-form-label {
  font-weight: 700;
}

.ws-contact-form-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--blue);
    border-radius: 0.3rem;
}

.ws-contact-form .textarea textarea {
    min-height: 5rem;
}

.ws-contact-form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ws-contact-form .checkbox label {
  margin: 0;
  font-weight: normal;
}

/***** FOOTER *****/
footer{
   padding: 7rem 0 2rem;
}

.footer-top {
    padding-bottom: 4rem;
}

.footer-top h3 {
    color: var(--light-blue);
    font-weight: 700;
}

.footer-top p {
    font-weight: 500;
}

.footer-top p a {
    text-decoration: none;
    color: var(--dark);
}

.footer-top-end {
    display: flex;
    justify-content: end;
    gap: 1rem;
}

.footer-top-center{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0 3rem;
}

.footer-top-center .button {
    background: var(--button-green);
    margin: 3rem auto;
}

.footer-bottom div{
    font-weight: 700;
}

.footer-bottom-end{
    display: flex;
    justify-content: end;
}

.footer-bottom a{
    text-decoration: none;
    color: var(--dark);
}

.footer-bottom-end > div > a:nth-child(1){
    padding: 0 1rem 0;
}

#custom-page footer , #news footer, #news-cat footer, #all-news footer{
    background-color: var(--blue);
}

#custom-page .footer-top h3, #news .footer-top h3, #news-cat .footer-top h3, #all-news .footer-top h3{
    color: var(--light);
}

#custom-page .footer-top p, #news .footer-top p, #news-cat .footer-top p, #all-news .footer-top p{
    color: var(--light);
}

#custom-page .footer-top p a, #news .footer-top p a, #news-cat .footer-top p a, #all-news .footer-top p a{
    color: var(--light);
}

#custom-page .footer-bottom div, #news .footer-bottom div, #news-cat .footer-bottom div, #all-news .footer-bottom div{
    color: var(--light);
}

#custom-page .footer-bottom a, #news .footer-bottom a, #news-cat .footer-bottom a, #all-news .footer-bottom a{
    color: var(--light);
}

.logo-link {
    display: inline-block;
    width: 300px; 
    height: 100px; 
    background-image: url('/content/media/files/loghi/logo-progestra-casa.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
}

#custom-page .logo-link, #news .logo-link, #news-cat .logo-link, #all-news .logo-link{
    background-image: url('/content/media/files/loghi/logo-progestra-casa-bianco.svg');
}

.social-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0;
    margin-right: 10px;
}

.social-icon.instagram {
    background-image: url('/content/media/files/icone/icona-instagram-casa.svg');
}

#custom-page .social-icon.instagram, #news .social-icon.instagram, #news-cat .social-icon.instagram , #all-news .social-icon.instagram {
    background-image: url('/content/media/files/icone/icona-instagram-casa-bianco.svg');
}

.social-icon.linkedin {
    background-image: url('/content/media/files/icone/icona-linkedin-casa.svg');
}

#custom-page .social-icon.linkedin, #news .social-icon.linkedin, #news-cat .social-icon.linkedin, #all-news .social-icon.linkedin{
    background-image: url('/content/media/files/icone/icona-linkedin-casa-bianco.svg');
}

.social-icon.facebook {
    background-image: url('/content/media/files/icone/icona-facebook-casa.svg');
}

#custom-page .social-icon.facebook, #news  .social-icon.facebook, #news-cat  .social-icon.facebook, #all-news .social-icon.facebook{
    background-image: url('/content/media/files/icone/icona-facebook-casa-bianco.svg');
}

#custom-page .d-none, #news .d-none, #news-cat .d-none, #all-news .d-none{
   display: block!important;
}

.onda-footer {
    width: 100%;
    aspect-ratio: 1440 / 120; 
    background-image: url('/content/media/files/home/onda-news-top-casa.svg');
    background-size: 100% auto; 
    background-repeat: no-repeat;
    background-position: bottom;
}

#custom-page .footer-top-center .button{
   display: none;
}

/***** CATEGORIA DI PRODOTTI*****/
.product-title{
    position: absolute;
    color: var(--light);
    top: 70%;
    right: 10%;
    font-size: 3rem;
}

.ws-breadcrumb-piece {
  display: inline-flex;
  align-items: center;
}

.ws-breadcrumb-piece a {
  cursor: pointer;
  color: var(--dark);
  text-decoration: none;
}

.ws-breadcrumb-piece a:hover {
  text-decoration: underline;
}

.ws-breadcrumb-piece:not(:last-child)::after {
  content: ">"; 
  margin: 0 0.5rem;
}

.ws-breadcrumbs ol{
    font-size: 1.2rem;
}

 nav > ol > li:last-child{
  color: var(--blue);
}

.ws-product-category .row .img-fluid img {
    width: 100%;
    padding: 1rem;
}

.widget{
    background-color: #d9e7f2;
    padding: 2rem;
    border-top-right-radius: 4rem;
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 4rem;
    margin: 0 5rem;
}

.widget h2{
    font-size: 3rem;
    font-weight: 700;
}

.widget h3{
    color: var(--blue);
}

.img-widget {
    transform: translateX(35%);
    max-width: 75%;
}

.ws-pagination{
    display: flex;
    justify-content: center;
}

.ws-pagination-page{
    background-color: var(--light-blue);
    color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 0.5rem;
}

.ws-pagination-page.current{
    background-color: var(--blue);
    font-weight: 500;
}

.ws-pagination span{
    padding: 0.5rem;
    font-weight: 500;
    color: var(--blue);
}

/***** PRODOTTO A CATALOGO*****/
.ws-product-reference {
    font-weight: 700;
}

.ws-product-reference span{
    color: var(--purple);
}

#catalog-product .img-fluid img {
    max-width: 500px;
}

.descrizione-breve {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue);
}

.product-button a{
    color: var(--light-blue);
    font-weight: 600;
    text-decoration: none;
}

.product-button span{
    border-bottom: 2px solid var(--light-blue);
    padding: 0.3rem 0;
}

#accordionProduct .accordion-body{
   border: 2px solid var(--blue);
    border-bottom-right-radius: 3rem;
    border-top-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
   padding: 3rem;
}

.accordion-item {
    border: none;
}

  #catalog-product h3, .accordion-body h3{
   color: var(--blue);
    font-weight: 700;
}

  #catalog-product h3.linea{
   color: var(--light);
}

.accordion-body h2{
   color: var(--blue);
    font-weight: 700;
    font-size: 1.2em;
}

.accordion-body h3{
    font-size: 1em;
}

.accordion-body ul {
    list-style: none;
    padding-left: 1em;
}

.accordion-body ul li::before {
    content: "-";
    margin-right: 0.5em;
    color: inherit; 
}

.product-button a.active {
  color: var(--blue);
}

 span.active {
  border-bottom: 2px solid var(--blue);
}

#catalog-product .goccia-viola::before {
    width: 15px;
    height: 15px;
}

.goccia-viola.active::before {
  background-color: var(--blue);
}

.wsRelatedProduct{
    background-color: var(--blue);
}

.ws-related-products li{
   width: 33.33%;
   padding: 2rem;
}

.ws-related-products{
   display: flex; 
   list-style: none;
    background-color: var(--blue);
}

.ws-related-products img{
   width: 100%;
  border-radius: 0 20% 20% 20%;
}

.ws-related-product .ws-product-reference{
   display: none;
}

.ws-related-product a{
   text-decoration: none;
}

.wsRelatedProduct .linea::after {
    margin-bottom: 0;
}

.wsRelatedProduct h2{
   color: var(--light); 
}

.ws-product-name {
    color: var(--light);
    font-size: 1.6em;
    padding: 1.5rem 0;
    display: block;
}

.ws-related-product a:hover, .ws-related-product a:focus {
    text-decoration: underline;
    color: var(--light);
}

/***** AZIENDA*****/
.azienda .intro span{
   color: var(--blue);
}

.date-box{
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
}

.arrow{
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
}

.line-top {
    top: 0;
    height: 2px;
    background-color: var(--blue);
    z-index: 0;
    width: 50%;
}

.lead {
    font-weight: inherit;
}

.logo-azienda{
    width: 15rem;
}

.sezioni h2 {
        font-weight: 700;
    }

/***** FAQ*****/
.faq .accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
}

.faq .accordion-button:focus{
    box-shadow: none;
}

.faq .accordion-button:not(.collapsed) {
    color: var(--blue);
}

.faq .accordion-body{
    padding: 1rem;
}

.faq span button{
    border-bottom: 2px solid var(--light-blue);
    padding: 0.3rem 0;
}

.faq span button{
    color: var(--light-blue);
    font-weight: 600;
    text-decoration: none;
}

.faq .accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.accordion-button::after {
    background-image: none;
    content: '';
    position: absolute;
    right: 0;
    width: 0.8rem;
    height: 0.8rem;
    border-left: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
}

.accordion-button:not(.collapsed)::after {
    background-image: none;
    transform: rotate(135deg);
}

.border-none{
    border: 0;
}

.accordion-button.goccia-blu::before{
   background-color: var(--blue);
}

.accordion-button.goccia-blu.collapsed::before{
   background-color: var(--light-blue);
}

.accordion-body.background{
    background-color: var(--light-blue);
    color: var(--light);
}

/***** RESPONSIVE*****/
@media (max-width: 500px) {
/***** AZIENDA*****/
.sezione-due{
    flex-direction: column-reverse;
}
}

@media (max-width: 768px) {
.top-bar, .menu, .container-fluid {
  padding: 0.5rem 1rem;
}

/*MENU*/
    #mainMenu {
        display: flex;
    }

    .mainMenu ul {
        top: 1rem;
    }

.mainMenu-toggle::after {
    left: 13rem;
}

#menuSecondario > ul > li:nth-child(3) > div > ul > li > div > button::before {
    top: 7.8rem;
}

.submenu-toggle::before{
    top: 10.2rem;
}

.menu.aperto > ul {
    top: 5rem;
    right: 0;
}

.box-tel span {
    display: none;
}

.menu > ul > li > div > .ws-catalog-menu > .aperto > ul {
    width: 300px;
}

 #home .intro h2 {
    padding:  6rem 0;
}

/***** TOOLTIP*****/
.right-tooltip.collapsed {
padding: 1rem 2rem 1rem 4rem;
}

.right-tooltip img {
    width: 3rem;
    height: 3rem;
}

    .right-tooltip.collapsed {
        padding: 1rem 2rem 1rem 3rem;
    }

/***** COOKIE*****/
#cookietop{
    display: flex;
    flex-direction: column;
}

#cookietop p {
    padding-bottom: 1rem;
}

/*SEZIONE DOPO ACQUISTO*/
.img-decorazione{
    padding: 5rem;
}

      .img-fluid-custom {
        min-height: auto;
        height: auto;
      }

    .container-testo {
        padding: 1rem;
        margin-left: 0;
    }

/*SEZIONE SCELTA*/
#redirect-form {
    width: 350px;
}

.container-redirect-form {
        text-align: center;
    }

.section-scelta p {
    text-align: center;
}

/*HOME PAGINA NEWS*/
#homepage .related-articles .news-card {
    border-top-right-radius: 5rem;
    border-bottom-left-radius: 5rem;
    border-bottom-right-radius: 5rem;
    padding: 2rem;
    margin: 1rem;
}

  /* CONTATTI*/
.container-form h3 {
    font-size: 2rem;
}

.container-form {
    padding: 0.5rem;
}

  /* FOOTER */
.footer-top div {
        display: flex;
        justify-content: center;
        text-align: center;
}

.footer-top {
    padding-bottom: 0;
}

.footer-bottom div {
    display: flex;
    justify-content: center;
    padding: 0.5rem;
}

/***** CATEGORIA DI PRODOTTI*****/
.product-title {
    padding: 1rem;
    top: 0;
    right: 0;
    font-size: 2rem;
}

.widget {
    padding: 1rem;
}

/***** PRODOTTO A CATALOGO*****/
.product-button a {
    font-size: 0.8rem;
}

 .azienda .intro h2 {
    padding: 0 0 6rem;
}

/*****AZIENDA*****/
.logo-azienda{
    width: 10em;
}

.lead{
    min-height: 8rem;
    align-items: center;
    justify-content: center;
    display: flex;
}
}

@media (max-width: 1200px) {
.home-title h5{
    font-size: 1.25rem;
}

.img-decorazione{
    padding: 12rem;
}

.sezione-acquisto-testo {
    margin-left: 0;
}

.sezione-acquisto-testo h4 {
    padding: 4rem 0;
}



/***** CATEGORIA DI PRODOTTI*****/
.widget{
    margin: 0 ;
}

.img-widget{
    transform: none;
}

/***** PRODOTTO A CATALOGO*****/
.ws-related-products {
    flex-direction: column;
    align-items: center;
   padding: 0;
}

.ws-related-products li {
    width: auto;
    padding: 0;
}
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 3em;
    }
}

@media screen and (min-width: 1920px) {
  html {
    font-size: 110%; 
  }

/*SEZIONE DOPO ACQUISTO*/
.img-fluid-custom {
    width: 70%;
}
}











