@import url("../css/bootstrap.min.css");


@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2"), url("../fontawesome/webfonts/fa-solid-900.ttf") format("truetype"); }

@font-face {
  font-family:'Josefin Sans';
  src: url('../font/JosefinSans-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family:'Josefin Sans';
  src: url('../font/JosefinSans-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family:'Josefin Sans';
  src: url('../font/JosefinSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family:'Josefin Sans';
  src: url('../font/JosefinSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family:'Josefin Sans';
  src: url('../font/JosefinSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: bold;
  font-stretch: normal;
  font-display: swap;
}
  

@page {
  size:  480px 2200px;
	margin: 0mm 0mm 0mm 0mm;
}

/* fix preview in modal */

html body#mainbody div#text-preview {
  max-width: 420px;
  margin: 0 auto;
}
  /*
  :root {
    --bs-body-font-family: 'Josefin Sans', sans-serif;
    --bs-body-font-weight: 200;
  }
  */

  body {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
  }

  a {
    color: #6a1e46de;
    text-decoration: none;
    
  }

  a:hover {
    font-weight: 500;
    color: #6a1e46de;
  }

  strong, b {
    font-weight: 700;
  }
  
  .nav-link {
      color: #000000;
      background-color: transparent;
      border: 0;
  }
  .nav-link:hover, .nav-link:focus {
    color: #000000;
    font-weight: bold;
  }
  .nav-link.active {
    font-weight: bold;
  }

  .bg-image {
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 25%;
}
.dropdown-menu {
  min-width: 8rem;
}

.icon-recycle {
  width: 35px;
}

.card-img-top {
  width: 100%;
  margin: auto;
}

h1 {position: relative;}

/* h1.title:after {
  content: "";
  width: 40px;
  height: 40px;
  background: url("../images/grapes-rx.png") no-repeat;
  display: inline-block;
  background-size: contain;
}

h1.title:before {
  content: "";
  width: 40px;
  height: 40px;
  background: url("../images/grapes-lx.png") no-repeat;
  display: inline-block;
  background-size: contain;
} */

.btn {
  padding: 0.155rem 0.75rem
}

.img-bottiglia img {
  height: 47vh;
  /*per prince*/
  height: 480px;
   /*per prince*/
  width: auto;
}

.logo-brand img {
  width: 170px;
}

/**  section accordion    **/


/* input {
  position: absolute;
  opacity: 0;
  z-index: -1;
} */


/* Accordion styles */
.tabs {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
  border-bottom: 1px solid #dfdfdf;
}
.tab-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  background: #fff;
  font-weight: 500;
  /*cursor: pointer;*/
  color: #000000;
  /* Icon */
}
/* .tab-label:hover {
  background: #1a252f;
} */
.tab-label::after {
  content: "\203A";
  /* width: 1em;
  height: 1em; */
  font-size: 1.5em;
  text-align: center;
  transition: all 0.35s;
}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  background: white;
  transition: all 0.35s;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.95em;
  background: #fff;
  /*cursor: pointer;*/
  color: #000;
}
.tab-close:hover {
  background: #6a1e46de;
  color: #fff;
}

input:checked + .tab-label {
  background: #6a1e46de;
  color: #fff;
}
input:checked + .tab-label::after {
  transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 100%;
  padding: 1em;
}



.nav-link {
  padding: 0.25rem 1rem;
  font-size: 1rem;
}


table.nutritab {
  width: 100%;
}

table.nutritab td {
  padding: 0.5rem 0.3rem;
  border-bottom-width: 1px;
  border-bottom-color: #d4d4d4;
}

table.nutritab tr:nth-child(odd) {
  background-color: #f2f2f2;
}





.accordionTitle {
  /*cursor: pointer;*/
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100%;
  display: inline-block;
  padding: 1em;
  background-color: #6a1e46de;
  color: #fff;
}


/* .accordionTitle::after{
  content: "\203A";
  text-align: right;
  font-size: 1.5em;
  position: absolute;
  right:20px;
  line-height: 1em;
} */

/* .accordionTitle + .accordionContent {
  display: block;
}

.accordionTitle.is-open + .accordionContent {
  display: none;

} */

button.accordionItem {
  border-bottom: 1px solid #dfdfdf;
  font-weight: 500;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 0;
  border: 0;
}

.accordionItem:last-child {
  border-bottom: 0;
}

.accordion {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #dfdfdf;
}
.accordionTitle.is-open {
background-color: #6a1e46de;
color: #fff;
}

.accordionContent {
  font-weight: 200;
    font-size: 1.2rem;
}

.lang {
  position: relative;
}

.btn.lingue {
  background-color: #6c757d;
    border-color: #6c757d;
    padding: 0.155rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    color: #fff;
    position: relative;
}


.btn.lingue::after {
  display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent
}


.sub-menu {
  display: block;
  position: absolute;
  z-index: 9;
  background: white;
  height: auto;
  right: 0px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  margin-top: 2px;
  width: 100%;
  min-width: 155px;
}


.sub-menu {
  display: none;
}
.sub-menu.selected {
  display: block;
  transition: transform .2s;
  position: absolute;
}


ul.sub-menu li {
  text-align: left;
  margin: 5px;
      line-height: 1.3em;
}


*:focus-visible, 
button.toggle-menu:focus-visible, 
span:focus-visible, 
span.page-link:focus-visible, 
button[type=submit]:focus-visible, 
button.page-link:focus-visible, 
button:focus-visible 
{
  outline: 0.125rem solid orange!important;
  outline-offset: 0.125rem!important;
}





#button {
	display: none;
}

label {
	display: inline-block;
	/*cursor: pointer;*/
}

label span {
	display: block;
	margin: 0 auto;
  background-color: #6c757d;
    padding: 0.155rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    color: #fff;
    position: relative;
}

nav .lang ul {
  padding-left: 0;
  list-style: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 2px;
  transform: translateX(0%) scaleY(.5);
  transform-origin: top center;
  text-align: left;
  white-space: no-wrap;
  background: white;
  height: auto;
  right: 0px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  transition: all .3s ease;
  width: 100%;
  min-width: 325px;
  padding: 5px;
}

#button:checked ~ ul {
	visibility: visible;
	opacity: 1;
	transform: translateX(0%) scaleY(1);
}

.icon-cons-res {
  height: 50px!important;
  width: auto!important;
}

.label-cons-res {
  display: block;
}

.lang ul li {
  width: 50%;
  float: left;
}

footer {
  color: #575756;
}

.logo-azienda img {
	height: 80px;
}

.page-content {
  display: none;
}

.lotto-default {
  color: red;
  font-weight: bold;
}