/* color palette */

.bg-verde, .active-verde {
  background-color: #284734 !important;
  color: #fff;
}

.bg-oro, .active.active-oro {
  background-color: #ffe1bf;
  color: black !important;
}

.bg-avorio, .active.active-avorio {
  background-color: #D1CCBD;
  color: black !important;
}

.bg-grigio, .active.active-grigio {
  background-color: #A7ACA2;
  color: black !important;
}

.bg-marrone, .active.active-marrone {
  background-color: #473729;
  color: white;
}

.bg-antracite, .active.active-antracite {
  background-color: #293133;
  color: white;
}

.bg-arancione, .active.active-arancione {
  background-color: #faa265;
  color: black !important;
}

.bg-viola {
  background-color: #6A2C3E;
}


body {
  font-family: 'Source Sans Pro';
}

@media (min-width: 768px) {
  body {
    max-height: 100vh;
    overflow-y: hidden;
    width: 100%;
  }
}

h1, h2, h3, h4, .display-1, .display-5, li.title {
  font-family: 'Playfair Display';
}

.vh-50-rel {
  min-height: 50vh;
}

.vh-100-rel {
  height: 80vh;
}

@media (min-width: 768px) {
  .vh-50-rel, .vh-100-rel {
    height: 100vh;
  }
}

.navbar .btn {
  --bs-btn-padding-x: 0.3rem;
}

.logo {
  height: 2rem;
  width: auto;
  position: absolute;
}

@media (min-width: 768px) {
  .logo {
    height: 6rem;
    position: inherit;
margin-top: 1rem;
  }
}

#navitems {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 5000;
}

@media (min-width: 768px) {
  #navitems {
    position: relative;
    top: 0;
    z-index: 0;
  }
}

#sidebar, #main-col {
  overflow: hidden;
}


.nav-link, .nav-link:hover, .nav-link:focus {
  color: white;
}

.social-icons a {
  color: #fff;
}

@media (min-width: 768px) {
  .social-icons {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.visit-icon {
  font-size: 1.3rem;
}

@media (min-width: 768px) {
  .visit-icon {
    font-size: 2rem;
  }
}

.btn-visit-icon-positioner {
  display: none;
}

@media (min-width: 768px) {
  .btn-visit-icon-positioner {
    position: absolute;
    top: .8rem;
    right: .8rem;
    display: block;
  }
}

.btn-visit-icon-container {
  display: inline-flex;
  justify-content: center;
  position: relative;
  align-items: center!important;
  position: relative;
}

.btn-visit-icon {
  line-height: .8;
  z-index: 20;
  padding: 0.2rem;
}

@media (min-width: 768px) {
  .btn-visit-icon {
    z-index: 20;
    padding: 1.2rem;
  }
}

.carousel {
  /* background-color: black;
  width: 100vw; */
}


.carousel-image {
  object-fit: cover;
  opacity: .5;
}

.carousel-caption {
  text-align: start;
}

@media (min-width: 768px) {
  .carousel-caption {
    bottom: 9rem;
    right: 30%;
    left: 10%;
  }
}

.carousel-indicators {
  justify-content: right;
}
.carousel-indicators [data-bs-target]{
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@media (min-width: 768px) {
  .carousel-indicators {
    bottom: 7%;
    right: 2%;
  }
}

@media (min-width: 768px) {
  .carousel.slide {
    overflow: hidden;
  }
}

#main-container {
  margin-top: 55px;
}

@media (min-width: 768px) {
  #main-container {
    height: 100vh;
    overflow-y: hidden;
    scroll-behavior: smooth;
    margin-top: 0;
    position: relative;
  }
}

@media (min-width: 768px) {
  .go-flex {
    overflow-x: hidden;
    display: flex;
    /*scroll-snap-type: x mandatory;*/
  }
}

@media (max-width: 768px){
.scroll-margin-top{
  scroll-margin-top: 3rem;
}
}


/* section cover */

.section-cover {
  padding: 3rem 5rem;
  color: white;
  /*background-color: #000000;*/
  position: relative;
}

.section-cover h1 {
  position: absolute;
}

@media (min-width: 768px) {
  .section-cover {
    /*width: 60vw;*/
    background-size: cover;
  }
}

/* covers */

 /* #contenuto-img:before, #ambasciatori-img:before, #contatti-img:before, #barch-img:before,.cover-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
} */
.cover-box-inner {
  /* background: url("../../assets/img/filosofia/097_sm.avif"), url("../../assets/img/filosofia/097.webp"); */
  background-size: cover;
  background-position: 65%;
  opacity: .95;
}

@media (min-width: 768px) {
 .cover-box-inner{
    /* background: url("../../assets/img/filosofia/097.avif"); */
    background-size: cover;
    background-position: 65%;
    opacity: .95;
  }
}


#filosofia-img {
  /* background: url("../../assets/img/filosofia/097_sm.avif"), url("../../assets/img/filosofia/097.webp"); */
  background-size: cover;
  background-position: 65%;
  opacity: .95;
}

@media (min-width: 768px) {
  #filosofia-img {
    /* background: url("../../assets/img/filosofia/097.avif"); */
    background-size: cover;
    background-position: 65%;
    opacity: .95;
  }
}

#forma-img:before {
  background-image: url("../../assets/img/forma/010.avif"), url("../../assets/img/forma/010_md.webp");
  background-position: 50%;
  background-size: cover;
  filter: opacity(.7);
}

#contenuto-img:before {
  background-image: url("../../assets/img/contenuto/079.avif"), url(../../assets/img/contenuto/079.webp);
  background-position: 100% 0%;
  background-size: cover;
  filter: opacity(.7);
}

#ambasciatori-img:before {
  background-image: url("../../assets/img/ambasciatori/021.avif"), url("../../assets/img/ambasciatori/021_md.webp");
  background-position: 60% 40%;
  background-size: cover;
  filter: opacity(.8);
}

#barch-img:before {
  background-image: url("../../assets/img/bottiglie/Barch.webp");
  background-position: 60% 40%;
  background-size: contain;
  /*filter: opacity(.8);*/
  background-repeat: no-repeat;
}

#contatti-img:before {
  background-image: url("../../assets/img/contatti/055.avif"), url("contatti/055_md.");
  background-position: 60% 40%;
  background-size: cover;
  filter: opacity(.8);
}

/* text box */

.double-block, .fullsize {
  min-width: 75vw;
}

@media (min-width: 768px) {
  .double-block, .fullsize {
    display: inline-flex;
  }
}

.text-box-container {
  min-width: 40vw;
}

.text-box, .big-text-box, .extra-text-box, .contatti {
  padding: 1.5rem;
  display: flex!important;
  align-items: center!important;
}

@media (min-width: 768px) {
  .text-box-container, .big-text-box-container, .extra-text-box, .contatti-container {
    /*width: 76vw;*/
    padding: 0;
    display: inline-flex;
    justify-content: start;
  }
}

@media (min-width: 992px) {
  .text-box-container, .big-text-box-container, .extra-text-box, .contatti-container {
    width: auto;
  }
}

@media (min-width: 992px) {
  .mouseover-box-inner {
    padding: 3vw;
  }
}

@media (min-width: 1200px) {
  .text-box, .big-text-box, .extra-text-box, .contatti {
    padding-left: 3vw;
  }
}

@media (min-width: 1400px) {
  .mouseover-box-inner {
    padding: 4vw;
  }
}

@media (min-width: 768px) {
  .contatti {
    height: 100vh;
  }
}

@media (min-width: 768px) {
  .text-box {
    /*width: 90vw;*/
    height: 100vh;
    padding-right: 30vw;
  }
}

@media (min-width: 992px) {
  .text-box {
    /*width: 46vw;*/
    padding-right: 10vw;
  }
}

@media (min-width: 1400px) {
  .text-box {
    padding-right: 16vw;
  }
}

@media (min-width: 768px) {
  .big-text-box {
    /*width: 30rem;*/
    height: 100vh;
    overflow-y: hidden;
  }
}

@media (min-width: 1200px) {
  .big-text-box {
    /*width: 55vw;*/
    padding-right: 15vw;
  }
}

@media (min-width: 1200px) {
  .extra-text-box {
    padding-right: 5vw;
  }
}

/* big image */

@media (min-width: 768px) {
  .big-image {
    width: 60vw;
  }
}

.full-size-image {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .full-size-image {
    display: block;
    /*width: 75vw;*/
    height: 100vh;
    object-fit: cover;
    /*object-position: 100% 100%;*/
  }
}

@media (min-width: 992px) {
  .full-size-image {
    width: auto;
  }
}

/* spumanti */

.bottle-card {
  background: none;
cursor:pointer;
  padding: 0 .5rem;
}

@media (max-width: 992px) {
  .bottle-card {
    width:40%;
  }
}

.card-body h4, .body-card h6 {
  font-size: inherit;
}

@media (min-width: 768px) {
  .card-body h4, .body-card h6 {
    font-size: x-large;
  }
}

.card-title {
  font-size: inherit;
}

@media (min-width: 768px) {
  .card-body h4, .body-card h6 {
    font-size: large;
  }
}

.bottle-img {
  height: 15rem;
  width: auto;
  margin-bottom: 1rem;

}

@media (min-width: 768px) {
  .bottle-img {
    height: 55vh;
    
  }
}

/* scrolling */

.field {
  position: absolute;
  z-index: 1000;
  bottom: 3.5rem;
  right: 3rem;
}

@media (min-width: 992px) {
  .field {
    bottom: 6rem;
    right: 2rem;
  }
}

.horizontal-scrolling {
  overflow-x: auto;
}

@media (min-width: 768px) {
  .horizontal-scrolling {
    overflow-x: auto;
  }
}

/* mouseover */

.filosofia.imagebackground  {
  /* background-image: url("../../assets/img/filosofia/168_sm.webp"); */
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

@media (min-width: 576px) {
  .filosofia.imagebackground  {
    /* background-image: url("../../assets/img/filosofia/168.avif"); */
    background-size: cover;
    background-position: 45% 40%;
    background-attachment: fixed;
  }
}


#patrimonio-umanita {
  background-image: url("../../assets/img/filosofia/168_sm.webp");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

@media (min-width: 576px) {
  #patrimonio-umanita {
    background-image: url("../../assets/img/filosofia/168.avif");
    background-size: cover;
    background-position: 45% 40%;
    background-attachment: fixed;
  }
}

#bottiglia, .forma.imagebackground {
  background: url("../../assets/img/forma/composizione-inclinata_sm.webp");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 576px) {
  #bottiglia, .forma.imagebackground {
    background: url("../../assets/img/forma/composizione-inclinata.avif");
    background-attachment: fixed;
    background-position: 50%;
    background-size: cover;
  }
}

#unicita {
  background-image: url("../../assets/img/contenuto/027.webp");
  background-attachment: fixed;
  background-position: 50%;
  background-size: cover;
}

.mouseover-box, .cover-box {
  padding: 2rem;
}

.mouseover-box {
  display: block;
  padding: 1.5rem;
  overflow: hidden;
}

.cover-box {
  scroll-margin-top: 52px;
}

@media (min-width: 768px) {
  .mouseover-box, .cover-box {
    height: 100vh;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    padding: 5vh;
    /*width: 75vw;*/
    position: relative;
  }
}

@media (min-width: 992px) {
  .cover-box {
    width: 40vw;
  }
}

@media (min-width: 1200px) {
  .cover-box {
    width: 48vw;
  }
}

@media (min-width: 1400px) {
  .cover-box {
    width: 45vw;
  }
}



.mouseover-box-inner {
  padding: 1.5rem;
  margin-bottom: 80vh;
}

.cover-box-inner {
  padding: .5rem;
}

.cover-box-inner {
  height: 86vw;
  position: relative;
}

@media (min-width: 768px) {
  .mouseover-box-inner {
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    position: relative;
    margin-bottom: 0;
    /*width: 70vw;*/
  }
}

@media (min-width: 992px) {
  .mouseover-box-inner {
    width: 60vw;
    padding: 3vw;
    height: auto;
  }
}

@media (min-width: 1200px) {
  .mouseover-box-inner {
    width: 50vw;
  }
}



@media (min-width: 1400px) {
  .mouseover-box-inner {
    width: 40vw;
    /*height: 40vw;*/
  }
}

@media (min-width: 768px) {
  .cover-box-inner {
    height: 100%;
    width: 100%;
    position: relative;
    padding: 2vw;
  }
}

.btn-mouseover {
  font-size: xx-large;
  width: 60%;
  padding: 10% 10%;
  border-radius: 0;
  font-family: 'Playfair Display';
  position: absolute;
}

/* map */

#wm-container {
  padding: 0 2vw;
  overflow: hidden;
}

@media (min-width: 768px) {
  #wm-container {
    /*width: 90vw;*/
    height: auto;
    position: absolute;
    /*margin-top: 20vh;*/
    /*padding: 0 10vw;*/
  }
}


.modal-header, .modal-footer {
  border: 0;
}

/* product modal */

@media (min-width: 768px) {
  #product-cover {
    height: 100%;
    width: 30vw;
    padding: 0;
  }
}

.img-bottle {
  height: 50vh;
  width: auto;
  margin-bottom: 1rem;
}

.product-description {
  padding: 2rem;
}

@media (min-width: 768px) {
  .product-description {
    width: 65vw;
  }
}

@media (min-width: 768px) {
  .product-description div {
    max-width: 50vw;
  }
}

@media (min-width: 768px) {
  .youtube-container {
    width: 80vh;
    margin-right: 2rem;
  }
}

.email {
  color: #284734 !important;
  text-decoration: none;
  font-size: small;
}

@media (min-width: 576px) {
  .email {
    font-size: inherit;
  }
}

.email:hover {
  text-decoration: underline;
}

.emails .row {
  margin-bottom: .5rem;
}

@media (min-width: 576px) {
  .emails .row {
    width: 30rem;
    margin-bottom: .3rem;
  }
}

@media (min-width: 1200px) {
  .emails .row {
    width: 35rem;
  }
}

footer {
  position: fixed;
  right: 0;
  width: 100%;
  bottom: 0;
  color: white;
  padding-bottom: 1px;
  /*background: #293133;*/
  z-index: 100;
  text-align: center;
  font-size: 90%;
}

@media (min-width: 768px) {
  footer {
    background: none;
    width: 80vw;
  }
}



footer, footer a, footer a:hover, footer a:focus {
  color: #fff;
}

footer a:hover, footer a:focus {
  filter: brightness(80%);
}

@media (min-width: 768px) {
  #collapseFooter {
    display: block;
    margin-top: 1rem;
  }
}

.btn-toggle-collapse-footer {
  color: white;
  font-family: 'Playfair Display';
  padding: 1rem 1rem 0.1rem 1rem;
  width: 100%;
  border-radius: 0;
  border: 0;
box-shadow:none !important;	
}

.btn-toggle-collapse-footer:before {
  content: '\276D';
  position: absolute;
  top: 0rem;
  left: 50%;
  transform: rotate(-90deg);
}

.footer-info-list {
  margin: 0;
  opacity: .8;
  margin-bottom: 1rem;
}


/* icon */
@media (min-width: 768px) {
.exp-btn-container{
  margin-bottom: -.8rem;
}
.book-payoff{
  z-index: 5000;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
}
}


.btn-visit-icon {
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
}

.pulse1 {
  position: absolute;
  width: 40px;
  height: 40px;
  /*margin: auto;*/
  /*top: 0;*/
  /*left: 0;*/
  /*bottom: 0;*/
  /*right: 0;*/
  z-index: 1;
  opacity: 0;
  border: 3px solid rgba(208,204,189,.1);
  -webkit-animation: pulsejg1 4s linear infinite;
  -moz-animation: pulsejg1 4s linear infinite;
  animation: pulsejg1 4s linear infinite;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
  -webkit-box-shadow: inset 0px 0px 15px 10px rgba(226,177,85, 0.8);
  -moz-box-shadow: inset 0px 0px 15px 10px rgba(226,177,85, .8);
  box-shadow: inset 0px 0px 15px 10px rgba(226,177,85, .8);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pulse2 {
  position: absolute;
  width: 35px;
  height: 35px;
  /*margin: auto;*/
  /*top: 0;*/
  /*left: 0;*/
  /*bottom: 0;*/
  /*right: 0;*/
  z-index: 2;
  opacity: 0;
  border: 1px solid rgba(208,204,189,0);
  -webkit-animation: pulsejg2 4s linear infinite;
  -moz-animation: pulsejg2 4s linear infinite;
  animation: pulsejg2 4s linear infinite;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
  -webkit-box-shadow: inset 0px 0px 12px 5px rgba(255,255,255, .9);
  -moz-box-shadow: inset 0px 0px 12px 5px rgba(255,255,255, .9);
  box-shadow: inset 0px 0px 12px 5px rgba(255,255,255, .9);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pulse3 {
  position: absolute;
  width: 40px;
  height: 40px;
  /*margin: auto;*/
  /*top: 0;*/
  /*left: 0;*/
  /*bottom: 0;*/
  /*right: 0;*/
  z-index: 2;
  opacity: 0;
  border: 1px solid rgba(208,204,189,0);
  -webkit-animation: pulsejg2 4s linear infinite;
  -moz-animation: pulsejg2 4s linear infinite;
  animation: pulsejg2 4s linear infinite;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  border-radius: 999px;
  -webkit-box-shadow: inset 0px 0px 12px 5px rgba(225,225,225,.9);
  -moz-box-shadow: inset 0px 0px 12px 5px rgba(225,225,225,.9);
  box-shadow: inset 0px 0px 12px 5px rgba(225,225,225,.9);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .pulse3 {
    width: 5.8rem;
    height: 5.8rem;
  }
}

@keyframes pulsejg1 {
  0% {
    transform: scale(.6);
    opacity: 0;
  }
  50% {
    transform: scale(.6);
    opacity: 0;
  }
  60% {
    transform: scale(.9);
    opacity: .1;
  }
  70% {
    transform: scale(1.1);
    opacity: .25;
  }
  80% {
    transform: scale(1.25);
    opacity: .1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes pulsejg2 {
  0% {
    transform: scale(.6);
    opacity: 0;
  }
  40% {
    transform: scale(.8);
    opacity: .05;
  }
  50% {
    transform: scale(1);
    opacity: .1;
  }
  60% {
    transform: scale(1.1);
    opacity: .3;
  }
  80% {
    transform: scale(1.2);
    opacity: .1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.credits {
  font-size: small;
  padding-top: 2rem;
  font-family: monospace;
  opacity: .8;
}

.credits {
  padding: 0;
}


.icon::before {
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	top: 50%;
	left: 10%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
  font: var(--fa-font-solid);
}
.house::before{  
  content: "\f015";
}
.lightbulb::before{
  content: "\f0eb";
}
.wine-bottle::before{
  content:"\f72f";
}
.wine-glass::before{
  content:"\f4e3";
}
.people-group::before{
  content: "\e533";
}
.envelope::before{
  content: "\f0e0";
}
.handshake::before{
  content:"\f2b5";
}


#select-lang {
  background-color: transparent;
  color: white;
  border: 0;
}

#select-lang option {
  background: white;
  color: black;
}


/* Works on Firefox */
.horizontal-scrolling {
  scrollbar-width: auto;
  scrollbar-color: white #293133;
  scrollbar-gutter: stable both-edges;
 
}

/* Works on Chrome, Edge, and Safari */
.horizontal-scrolling::-webkit-scrollbar {
  height: 12px;
}

.horizontal-scrolling::-webkit-scrollbar-track {
  background: #293133;
  color:white;
}

.horizontal-scrolling::-webkit-scrollbar-thumb {
  background-color: white;
  border-radius: 20px;
  border:3px solid #293133;
}
