:root{
  --grigio: #c7c7c7;
  --nero: #383838;
}

.bg-bianco{
  background-color: #ffffff;
}
a:hover{
  color: inherit;
  text-decoration: none;
}
header .nav{
  padding: 25px;
  width: 100%;
  z-index: 99;
  background-color: #ffffff;
}
#nav{
  z-index: 99;
}
.button{
    padding: 1%;
    color: #ffffff;
    background-color: #14ab7e;
    border: none;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}
#nArt {
    color: white;
    background-color: #ff4b55;
    border-radius: 100%;
    padding: 1px 6px;
    bottom: 8px;
    font-size: x-small;
    right: 4px;
  }
.buttonPiatti{
  width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 3px;
    color: #14ab7e;
}
.add{
  border-radius: 50%;
  height: 40px;
  width: 40px;
  margin-left: 10px;
}
button:focus{
  outline: none;
}
.noButton{
  background: none;
  border: none;
  cursor: pointer;
}
.table input{
  border: none;
}
thead tr{
  background-color: #f4f4f4;
}

/* admin */
#box-admin input[type=text], #menu input[type=number]{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  min-width: 30%;
  width: 300px;
}
#box-admin input[type=text]:focus, #menu input[type=number]:focus{
  border: none;
  border-bottom: 3px solid lightgrey;
  outline: none;
  box-shadow: none;
}
#box-admin label{
  font-weight: 600;
  color: #c7c7c7;
}
.inputFile{
  width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.inputFile + label {
  cursor: pointer;
  color: white !important;
  background-color: #14ab7e;
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50%;
  padding: 6px;
  display: inline-block;
}
#inputFile + label{
margin-left: calc(50% - 20px);
}
.inputFile:focus + label,
.inputFile + label:hover {
    background-color: #076045;
}
.inputFileLabel {

  }

.login .f1{
  margin-top: 250px;
}
.nav-admin{
  height: 100vh;
  width: 300px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--nero);
  transition: 0.5s width;
}
.nav-admin.closeNav{
  width: 70px;
}
.nav-admin.closeNav .sidenav{
  display: none;
}
#logout{
  position: absolute;
  top: 20px;
  right: 50px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 800;
  color: #ea5c5c;
}
.sidenav {
  height: auto;
  width: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 20px;
}
.nav-admin #clNav{
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: var(--grigio);
}

.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  color: var(--grigio);
  display: block;
  letter-spacing: 6px;
  border: none;
  background: none;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}
.sidenav a:hover {
  color: white;
}
.nav-admin .fa-user-edit {
  color: var(--grigio);
  margin-top: 50px;
}
.dropdown-container{
    display: none;
    transition: 0.5s display;
}
.sidenav .dropdown-container{
    padding-left: 30px;
    text-transform: uppercase;
    width: 100%;
    max-height: 250px;
    overflow-y: scroll
}
/* width */
::-webkit-scrollbar {
  width: 13px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #8c8c8c
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #555;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #444;
}
.sidenav .dropdown-container a{
    font-size: 18px;
  }
.cont-admin{
  position: absolute;
  top: 80px;
  left: 300px;
  padding-left: 80px;
  width: calc(100% - 300px);
  padding-right: 80px;
  transition: left 0.5s;
}
.cont-admin.closeNav{
  width: calc(100% - 70px);
  left: 70px;
}
.delivery{
  border-radius: 30px;
    border: 2px solid lightgray;
    padding: 30px;
    margin-bottom: 50px;
    margin-top: 30px;
    max-width: 500px;
}
.delivery li{
  list-style: none;
}
.tgl {
  display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
  box-sizing: border-box;
}
.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
  background: none;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
  background: none;
}
.tgl + .tgl-btn {
  outline: 0;
  display: block;
  width: 4em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
.tgl + .tgl-btn:after {
  left: 0;
}
.tgl + .tgl-btn:before {
  display: none;
}
.tgl:checked + .tgl-btn:after {
  left: 50%;
}
.tgl-ios + .tgl-btn {
  background: #fbfbfb;
  border-radius: 2em;
  padding: 2px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  border: 1px solid #e8eae9;
}
.tgl-ios + .tgl-btn:after {
  border-radius: 2em;
  background: #fbfbfb;
  -webkit-transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}
.tgl-ios + .tgl-btn:hover:after {
  will-change: padding;
}
.tgl-ios + .tgl-btn:active {
  box-shadow: inset 0 0 0 2em #e8eae9;
}
.tgl-ios + .tgl-btn:active:after {
  padding-right: 0.8em;
}
.tgl-ios:checked + .tgl-btn {
  background: #86d993;
}
.tgl-ios:checked + .tgl-btn:active {
  box-shadow: none;
}
.tgl-ios:checked + .tgl-btn:active:after {
  margin-left: -0.8em;
}
/* categorie */
#categorie input[type=text]{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  min-width: 30%;
  width: 300px;

}
#categorie input[type=text]:focus{
  border: none;
  border-bottom: 3px solid lightgrey;
  outline: none;
  box-shadow: none;
}

/* menu */
#menu input[type=text]{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  min-width: 30%;
  width: 300px;

}
#menu textarea{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  min-width: 30%;
  width: 300px;

}
#menu select{
  border: none;
    border-bottom: 1px solid lightgrey;
    border-radius: 0;
    min-width: 30%;
    display: block;
    width: 300px;
    padding: 6px;
}
#menu input[type=text]:focus{
  border: none;
  border-bottom: 3px solid lightgrey;
  outline: none;
  box-shadow: none;
}
#menu select:focus{
  border: none;
  border-bottom: 3px solid lightgrey;
  outline: none;
  box-shadow: none;
}
#menu textarea:focus{
  border: none;
  border-bottom: 3px solid lightgrey;
  outline: none;
  box-shadow: none;
}
#menu label{
  font-weight: 600;
  color: #c7c7c7;
}
#allergeni {
  border: none !important;
}
.box_allergeni .button{
  width: 50%;
  margin-left: 25%;
  margin-bottom: 50px;
}
.box_allergeni #allergeni{
  position: relative;
  min-width: 500px;
  margin-left: 50px;
}
.box_allergeni h4{
  font-weight: 600;
  color: #c7c7c7;
  text-align: center;
  padding: 10px;
}
.cont_allergeni{
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000000aa;
  width: 100%;
  height: 100%;
  display: none;
}
.box_allergeni{
  position: absolute;
  min-width: 500px;
  width: 40%;
  left: 30%;
  top: 20%;
  height: 60%;
  background-color: white;
  overflow: scroll;
}
.cont_allergeniAdd{
  position: relative;
  width: 500px;
  height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;

}
.box_allergeniAdd{
  min-width: 500px;
  width: 100%;
  background-color: white;
}
.box_allergeniAdd>div{
  padding: 5px 50px;
}
.box_allergeniAdd #allergeni{
  position: relative;
  min-width: 500px;
  margin-left: 50px;
}
.cont_allergeniAdd h4{
  font-weight: 600;
  color: #c7c7c7;
  text-align: center;
  padding: 10px;
}
.box_allergeniAdd>div{
  padding: 5px 50px;
}


/* FRONTEND */
/* header */
header{
  height: 80px;
  position: absolute;
  width: 100%;
  margin-top: 0px;
  transform: translateY(0px);
  left: 0px;
  right: 0px;
  z-index: 99;
}
header>div{
  -webkit-box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important;
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)!important;

}
header .menu{
  background-color: #fbfbfb;
  height: 80px;
}
header .cerca{
  background-color: #eaeaea;
  color: #474747;
  height: 60px;
  overflow: hidden;
  transition: height 0.5s;
}
header .cerca.open{
  height: 160px;
}
.container-mobile .content.open{
  padding-top: 240px;
}
header .cerca p{
  font-weight: 500;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-top: 13px;
  cursor: pointer;
}
header .cerca .form-control{
  border-radius: 0;
  padding: 23px;
}
header .cerca .input-group{
  width: 70%;
  left: 15%;
  top: 3px;
}
header .cerca .form-control:focus{
  border: inherit;
  box-shadow: none;
}
header .cerca .input-group-text{
  border-radius: 0;
  padding: 15px;
}
header .col-4{
  text-align: center;
}
/* index */
.container-mobile {
    max-width: 768px!important;
    height: 100vh !important;
    min-height: 100vh !important;
    margin: 0 auto;
    overflow: hidden;
    text-transform: none;
    display: block;
    position: relative;
}
.v-content__wrap {
    max-width: calc(100% - 10px);
    position: relative;
}
.container-mobile .content{
  height: 100%;
  z-index: 2;
  padding-top: 140px;
  overflow-y: scroll;
  overflow-x: hidden;
  width: calc(100% + 20px);
  transition: padding-top 0.5s;
  padding-bottom: 200px;
}
.box-piatto{
  position: relative;
  width: 99%;
  margin: 20px 0.5%;
  background: #eae8e1;
  padding: 3% 1%;
  -webkit-box-shadow: 0px 0px 9px 2px #D7D6CF; 
  box-shadow: 0px 0px 9px 2px #D7D6CF;
}
.box-piatto .img-piatto{
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.box-piatto .img-piatto img{
  min-width: 100px;
  height: 100px;
}
.box-piatto .ricetta{
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: #c7c7c7;
  margin-top: 24px;
}
.box-piatto .disp{
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--nero);
}
.box-piatto .disp sub{
  font-size: 70%;
}
#contAllergeni{
}
#contAllergeni>div{
  display: inline-block !important;
}
#contAllergeni>div img{
  width: 25px;
  margin-left: 5px;
  background-image: url();
}
.contAllergeni>div{
  display: inline-block !important;
}
.contAllergeni>div img{
  width: 25px;
  margin-left: 5px;
  background-image: url();
}
.container-mobile .sidenav a, .container-mobile .dropdown-btn {
  padding: 6px 8px 6px 16px;
  margin-top: 20px;
  text-decoration: none;
  font-family: title;
  font-size: 20px;
  color: #EAE8E1;
  display: block;
  letter-spacing: 3px;
  background: #534B52;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  text-transform: uppercase;
  font-weight: 600;
  height: 70px;
}
.nav-admin .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  display: block;
  letter-spacing: 6px;
  border: none;
  background: none;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  text-transform: uppercase;
    font-weight: 600;
    height: 110px;
    border-bottom: 1px solid #5a5a5a;
}
.dropdown-btn .col-9{
  padding-left: 50px;
}
.dropdown-btn .col-3{
  height: 80px;
  overflow: hidden;
}
.dropdown-btn .col-3 img{
  width: 100%;
}
.cont-menu{
  margin-top: 200px;
  width: 460px;
  margin-left: calc(50% - 230px);
}
.cont-menu .pulsante{
  margin-bottom: 30px;
}

/* pagina ristorante */
.ristorante .logo img{
  width: 40%;
  margin-left: 30%;
  margin-top: 50px;
}
.ristorante .img img{
  margin-top: 20px;
  margin-bottom: 50px;
  width: 100%;
}

/* infoPiatto */
.img-infoPiatto{
  width: 100%;
  background-size: cover;
  height: 250px;
  position: relative;
}
.infoPiatto h1{
  font-size: 22px;
  padding: 10px;
  font-weight: 600;
  margin-top: 15px;
}
#contAllergeniPiatto>div{
  display: inline-block !important;
}
#contAllergeniPiatto>div img{
  width: 25px;
  margin-left: 5px;
  background-image: url();
}
.infoPiatto #backMenu{
  position: absolute;
}
#backMenu{
  background-color: var(--nero);
  left: 0px;
  bottom: 0px;
  color: white;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 3px 5px;
}
.infoPiatto  label{
  font-weight: 600;
  color: #c7c7c7;
}
.infoPiatto #descrizionePiatto{
  margin: 30px 0px;
}
.infoPiatto ul{
  padding-left: 0;
}
.infoPiatto ul li{
  width: 100%;
  list-style: none;
  border-bottom: 2px solid lightgrey;
  padding: 11px;
  font-size: 14px;
  text-transform: capitalize;
  letter-spacing: 2px;
}
.infoPiatto .produttori{
  margin-left: 8px;
  margin-top: 40px;
  padding: 10px 5px;
}
.infoPiatto .produttori label{
  position: absolute;
  width: 280px;
  left: calc(50% - 130px);
  text-align: center;
  background-color: #383838;
  color: white;
  text-transform: uppercase;
  top: -12px;
}
/* form recensione */
.contatti h1{
  font-size: 22px;
  padding: 10px;
  font-weight: 600;
  margin-top: 15px;
}
.contatti input{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  width: 100%;
  padding: 7px;

}
.contatti textarea{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  width: 100%;

}
.contatti input[type=text]:focus{
  border: none;
  border-bottom: 3px solid lightgrey;
  outline: none;
  box-shadow: none;
}
.contatti textarea:focus{
  border: none;
  border-bottom: 3px solid lightgrey;
  outline: none;
  box-shadow: none;
}
.contatti label{
  font-weight: 600;
  color: #c7c7c7;
}
.checkbox-cont{
  margin-top: 10px;
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500 !important;
  color: #474747 !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox-cont input[type=checkbox]{
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
.checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-cont:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
input:checked ~ .checkmark {
  background-color: #474747;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-cont .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-cont input:checked ~ .checkmark:after {
  display: block;
  margin-top: 2px;
}

/* Style the checkmark/indicator */
.checkbox-cont .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* checkout */
.checkout h1 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 15px;
    text-transform: uppercase;
}
.checkout label{
  font-weight: 600;
  color: #c7c7c7;
  display: block;
  width: 100%;
}
.checkout input{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  min-width: 30%;
  width: 300px;

}
.checkout select{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  min-width: 30%;
  width: 300px;

}
.checkout textarea{
  border: none;
  border-bottom: 1px solid lightgrey;
  border-radius: 0;
  width: 90%;
}
.radio input{
  width: 30px;
  min-width: 30px;
}
.radio label{
  width: auto;
  display: inline-block;
}
@media only screen and (max-width: 767px){
  .col-12{
    width: 95%;
  }
  .dropdown-btn .col-3{
    display: none;
  }
  .cont-menu .pulsante{
      width: 100%;
  }
}
