body {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  background: #f8f5f2;
}

.cart-buttons span {
  width: 50px;
  text-align: center;
  border: 1px solid;
}

.cart-total span {
  font-size: 16px;
}

.row_vini {
  margin-top: 150px;
}
/*MENU*/
  .sticky-top {
    position: -webkit-sticky;
    width:100%;
    position: sticky;
    top: 0;
    z-index: 1020;
    background: transparent;
  }

/*container fluid*/
.copertina_index {
  background-image: url("copertina.jpg");
  height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}
.copertina_chisiamo {
  background-image: url("copertina_chi_siamo.jpg");
  height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}
/*abbinamenti*/
.copertina_abbinamenti {
  background-image: url("copertina_abbinamenti.jpg");
  height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}
  .my-content {
    margin-right: 0;
    margin-left: 0;
  }
  .bi-instagram {
    width:24px;
    height:24px;
  }
  .text-bold {
      --bs-text-opacity: 1;
      color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
      font-weight: 500;
  }
  textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: 0px;
  }


/*responsive quando schermo si allarga*/
@media (min-width: 992px) {
  .copertina{
    width:950px;
    vertical-align: middle;
  }
  .contenitore_successo {
    border: 1px solid black;
    background-color: white;
    border-radius: 0.25rem;
    display:flex;
    justify-content: center;
    margin-right: 200px;
    margin-left: 200px;
    width:auto;
  }
  /*immagine bottiglie pagina vini*/
  .img-bottiglia {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
  }
  /*scritta contatti*/
   .mb-1 {
     font-size: 12.5px;
  }
  p {
    font-size: 15px;
    margin-left: 60px;
    margin-top: 80px;
    margin-right:20px;
  }
  .info_contatto {
    font-size: 15px;
    margin-left: 60px;
    margin-top: 60px;
    margin-right:20px;
  }

  .abbinamenti_right {
    font-size: 15px;
    margin-left: 10px;
    margin-top: 80px;
    margin-right:30px;
  }
  /*titoli grandi*/
  h2 {
    font-family: 'EB Garamon', serif;
    font-size: 60px;
    line-height: 20px;
    transform: translate(0%, -150%);
    margin-left: 1rem;
  }
  .contatti {
    font-family: 'EB Garamon', serif;
    font-size: 45px;
    line-height: 20px;
    transform: translate(0%, -150%);
    margin-left: 1rem;
  }
  /*titoli piccoli*/
  h1 {
    font-size: 15px;
    margin-left: 1rem;
  }
.title_abbinamenti {
	font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    margin-left: 1rem;
	line-height: 20px;
    transform: translate(0%, 0%);
  }
  /*titolo contatti*/
   h4 {
    font-family: 'EB Garamon', serif;
    font-size: 20px;
  }
  /*carrello*/
  .carrello {
    font-family: 'EB Garamon', serif;
    font-size: 20px;
  }
/*PAGINA INDEX*/
  .card-text {
    font-size: 12.5px;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 40px;
  }
  /*leggi di più*/
  .bottone_leggi_di_più {
    font-size: 12px;
    margin-left: 120px;
    margin-bottom: 5rem;
    padding: 0px;
    text-decoration: none;
    color: black;
  }

  .bottone_scopri {
    font-size: 12px;
    margin-left: 10px;
    margin-bottom: 5rem;
    padding: 0px;
    text-decoration: none;
    color: black;
  }
  .bottone_scopri_left {
    font-size: 12px;
    margin-left: 60px;
    margin-bottom: 5rem;
    padding: 0px;
    text-decoration: none;
    color: black;
  }

  .bottone_bottiglie {
   font-size: 12px;
   margin-left: 40px;
   margin-bottom: 0px;
   text-decoration: none;
   color: black;
  }
   .box_bianco{
     background-color: white;
     padding: 15px;
     height: 100%;
     width: 100%;
   }
   
   .slideshow {
     margin-top: 100px;
     margin-bottom: 180px;
   }
/*PAGINA VINI*/
  /*blocco form per ordini*/
  .ordini {
    margin-top: 5rem;
    margin-left: 100px;
    margin-right: 100px;
    background-color: white;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .titoletto_ordini {
    font-size: 13px;
    font-variant: small-caps;
    padding-bottom: 1rem;
    transform: translate(0%, -30%);
  }
  .form-label {
    font-size: 15px;
    padding-left: 5px;
  }
  /*box descrizione vini*/
  .titolo_box_ordini {
    font-family: 'EB Garamon', serif;
    font-size: 60px;
    line-height: 20px;
    transform: translate(0%, -220%);
  }
  /*pagina vini prezzo*/
  .prezzo {
    font-size: 18px;
    margin-left: 40px;
    margin-bottom: 8px;
    padding:0;
    text-decoration: none;
    color: #c6ac8f;
  }
  .box_linea {
    border-left: 2px solid white;
    padding: 15px;
    height: 100%;
    width: 100%;
  }
  .nome_vini {
    font-family: 'EB Garamon', serif;
    font-size: 17px;
    line-height: 15px;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 15px;
  }
/*box vini*/
  .ratio-box {
    height: 80px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    border-top: 3px solid white;
 }
 .box_vino {
     max-width: 100%;
     height: auto;
     width: 18%;
     height: 18%;
   }
   .invio_ordine {
     width: 25%;
     margin-top: 3rem;
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     font-weight: 500;
   }
   .form-box {
     display: flex;
     width: 100%;
     padding: 0.375rem 0.75rem;
     font-size: 15px;
     font-weight: 400;
     line-height: 1.5;
     color: #212529;
     background-color: white;
     background-clip: padding-box;
     border-bottom: 1px solid #ced4da;
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     transition: border-bottom 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
   }
   #inputNumber {
     width: 10%;
     border-radius: 0.25rem;
     border: 1px solid #ced4da;
     vertical-align: middle;
   }
   #inputNumber2 {
     width:10%;
     height:85%;
     border-radius: 0.25rem;
     border: 1px solid #ced4da;
     vertical-align: middle;
     padding:0;
     padding-left:5px;
     padding-right: 5px;
   }
   .form-check-label {
     font-size: 16px;
     font-weight: 400;
   }
/*PAGINA CONTATTI*/
 /*Abbinamenti*/
       .container_ab {
        width: 70%;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
        margin-right: auto;
        margin-left: auto;
     }
   }

/*responsive quando schermo si stringe*/
@media (max-width: 992px) {
  .copertina{
    width:460px;
    vertical-align: middle;
    }
    /*immagine bottiglie pagina vini*/
    .img-bottiglia {
      vertical-align: middle;
      max-width: 150px;
      height: auto;
    }
    .contenitore_successo {
      border: 1px solid black;
      background-color: white;
      border-radius: 0.25rem;
      display:flex;
      justify-content: center;
      text-align: center;
      margin-right: 20px;
      margin-left: 20px;
      width:auto;
    }
    h2 {
      font-family: 'EB Garamon', serif;
      font-size: 40px;
      line-height: 5px;
      transform: translate(0%, -320%);
    }
    h1 {
      font-size: 12px;
    }
	.title_abbinamenti {
	  font-family: 'Montserrat', sans-serif;
      font-size: 12px;
	  line-height: 5px;
	  transform: translate(0%, 0%);
    }
    h3 {
      margin-bottom: 1rem;
    }
    h4 {
     font-family: 'EB Garamon', serif;
     font-size: 15px;
   }
    p {
      font-size: 12px;
      margin-left: 0px;
      margin-top: 25px;
    }
    .prezzo {
      font-size: 16px;
      margin-left: 0px;
      margin-bottom: 0px;
      text-decoration: none;
      color: #c6ac8f;
    }
    .box_bianco{
      background-color: white;
      padding-left: 15px;
      padding-right: 15px;
      padding-bottom:15px;
      padding-top: 10px;
      height: 100%;
      width: 100%;
    }
    .ratio-box {
      height: 250px;
      margin-left: 30px;
      margin-top: 20px;
   }
   .mb-1 {
     font-size:12px
   }
/*PAGINA INDEX*/
    .card-text {
      font-size: 12px;
      margin-left: 0px;
      margin-top: 25px;
      margin-right: 10px;
    }
    .bottone_leggi_di_più {
      font-size: 12px;
      margin-left: 0px;
      margin-top: 25px;
      padding: 0px;
      text-decoration: none;
      color: black;
    }
    .bottone_scopri {
      font-size: 12px;
      margin-left: 0px;
      margin-top: 25px;
      padding: 0px;
      text-decoration: none;
      color: black;
    }
    .bottone_bottiglie {
      font-size: 11px;
      margin-left: 0px;
      margin-bottom: 0px;
      text-decoration: none;
      color: black;
    }
    .box_vino {
      max-width: 100%;
      height: auto;
      width: 24%;
      height: 24%;
    }
/*PAGINA VINI*/
    /*box descrizione vini*/
    .box_linea {
      border-left: 2px solid white;
      padding: 15px;
      height: 100%;
      width: 100%;
    }
    /*blocco form per ordini*/
    .ordini {
      margin-top: 5rem;
      margin-left: 25px;
      margin-right: 25px;
      background-color: white;
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 20px;
    }
    /*titolo box ordini pagina vini*/
    .titolo_box_ordini {
      font-family: 'EB Garamon', serif;
      font-size: 48px;
      line-height: 20px;
      transform: translate(0%, -70%);
    }
    .titoletto_ordini {
      font-size: 11px;
      font-variant: small-caps;
      padding-bottom: 1rem;
    }
    .form-label {
      font-size: 12px;
      padding-left: 5px;
    }
    .nome_vini {
      font-family: 'EB Garamon', serif;
      font-size: 15px;
      line-height: 15px;
      margin-left: 0px;
      margin-top: 15px;
    }
    .invio_ordine {
      width: 40%;
      margin-top: 3rem;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
      font-weight: 500;
    }
    .form-box {
      display: flex;
      width: 100%;
      padding: 0.375rem 0.75rem;
      font-size: 13px;
      font-weight: 400;
      line-height: 1.5;
      color: #212529;
      background-color: white;
      background-clip: padding-box;
      border-bottom: 1px solid #ced4da;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      transition: border-bottom 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }
    #inputNumber {
      width: 15%;
      border-radius: 0.25rem;
      border: 1px solid #ced4da;
      vertical-align: middle;
    }
    #inputNumber2 {
      width:15%;
      height:auto;
      border-radius: 0.25rem;
      border: 1px solid #ced4da;
      vertical-align: middle;
      padding:0;
      padding-left:5px;
      padding-right: 5px;
    }
    .form-check-label {
      font-size: 15px;
      font-weight: 400;
    }
 /*Abbinamenti*/
         .container_ab {
         width: 80%;
         padding-right: var(--bs-gutter-x, 0.75rem);
         padding-left: var(--bs-gutter-x, 0.75rem);
         margin-right: auto;
         margin-left: auto;
       }

       .bottone_scopri_left {
         font-size: 12px;
         margin-left: 0px;
         margin-bottom: 5rem;
         padding: 0px;
         text-decoration: none;
         color: black;
       }
       .contatti {
         font-family: 'EB Garamon', serif;
         font-size: 35px;
         line-height: 20px;
         transform: translate(0%, -100%);
       }
}

/*responsive quando schermo si stringe (solo footer)*/
@media (max-width: 768px) {
  footer {
    text-align:center;
    }
   /*immagine bottiglie pagina vini*/
   .img-bottiglia {
     vertical-align: middle;
     max-width: 150px;
     height: auto;
     }
}

/*PAGINA VINI*/
h5 {
  font-size:10px;
  vertical-align: middle;
  margin:0;
  font-weight: normal;
  margin-right: 1rem;
  }
.bottiglia {
  text-align: center;
}
.form-select {
  display: inline-block;
  width: 16%;
  padding-left: 10px;
  -moz-padding-start: calc(0.75rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input {
  border: none;
}


/*SLIDESHOW*/
    /* DIMENSIONIAMO LE CELLE CONTENENTI LE FRECCE */
    #thumb_arrow_left {
      width: 50px;
      padding:0;
      text-align-last: right;
    }
    #thumb_arrow_right {
      width: 50px;
      padding:0;
    }
    #thumb_img_left {
      width:100%;
      height:100%;
    }
    /* IMPOSTIAMO LA LARGHEZZA AL CONTENITORE DELLA THUMB */
    #thumb_content {
      width: 1000px;
      padding:0;
      justify-content: center;
    }

    /* GENERIAMO LE CLASSI CHE NASCONDERANNO E MOSTRERANNO I VARI BLOCCHI */
    div.thumb_hide { display: none; visibility: hidden; position: absolute; }
    div.thumb_show { visibility: visible; }

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 85px; /* Place the button at the bottom of the page */
  left: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  color: black; /* Text color */
  background-color: #f8f5f2;
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  text-align: center;
}
/*quando passa mouse su bottone*/
#myBtn:hover {
  background-color: #c6ac8f; /* Add a dark-brown background on hover */
}
.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  text-align:center;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev-icon {
  color: black;
}
