:root {
  --background-color-active: #BE7F46;
  --background-color-noactive: #343636;
}

.tabbar {
  /*border-radius: 6px;*/
  width: 100%;
  background: #fff;
  padding: 0 4px;
  box-shadow: 0 4px 12px -1px rgba(18, 22, 33, 0.08);
  position: absolute;
  bottom: 0px;
  box-sizing: inherit;

  box-shadow:0 2px 16px 0 rgb(0 0 0 / 10%), 0 0px 5px 0 rgb(0 0 0 / 10%);

}

.tabbar:before, .tabbar:after {
 box-sizing: inherit;
}


.tabbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: flex;
  position: relative;
  z-index: 1;
}
.tabbar ul li {
  position: relative;
  -webkit-box-flex: 1;
          flex-grow: 1;
}
.tabbar ul li a {
  cursor: pointer;
  display: table;
  position: relative;
  display: -webkit-box;
  display: flex;
  z-index: 1;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  height: 60px;

  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
.tabbar ul li a div,
.tabbar ul li a span,
.tabbar ul li a svg {
  width: 20px;
  height: 20px;
  display: block;
  -webkit-backface-visibility: hidden;
}
.tabbar ul li a div {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -84%);
          transform: translate(-50%, -84%);
}
.tabbar ul li a div span {
  width: 20px;
  bottom: 0;
  left: 0;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  position: absolute;
  overflow: hidden;
  z-index: 1;
  background: #fff;
  -webkit-transform: scale(0.94);
          transform: scale(0.94);
  -webkit-transform-origin: 0 100%;
          transform-origin: 0 100%;
  -webkit-animation: down .3s linear forwards;
          animation: down .3s linear forwards;
}
.tabbar ul li a div span svg {
  position: absolute;
  left: 0;
  bottom: 0;
}
.tabbar ul li a div span:first-child {
  height: 20px;
}
.tabbar ul li a div span:first-child svg {
  -webkit-transition: fill .3s ease, stroke .3s ease;
  transition: fill .3s ease, stroke .3s ease;
  fill: var(--background-color-noactive);
  stroke: var(--background-color-noactive);
}
.tabbar ul li a div span:last-child {
  height: 0;
  z-index: 5;
  -webkit-transition: height .25s ease;
  transition: height .25s ease;
}
.tabbar ul li a div span:last-child svg {
  fill: var(--background-color-active);
  stroke: var(--background-color-active);
}
.tabbar ul li a strong {
  font-size: 10px;
  font-weight: 600;
  margin-top: 28px;
  color: var(--background-color-noactive);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.tabbar ul li a:hover div span:first-child svg {
  fill: var(--background-color-noactive)
  stroke: var(--background-color-noactive)
}
.tabbar ul li.active a {
  z-index: 5;
}
.tabbar ul li.active a div span {
  -webkit-animation: high .35s linear forwards .05s;
          animation: high .35s linear forwards .05s;
}
.tabbar ul li.active a div span:last-child {
  height: 20px;
  -webkit-transition: height .3s ease .25s;
  transition: height .3s ease .25s;
}
.tabbar ul li.active a strong {
  //opacity: 0;
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
          color: var(--background-color-active);
}
.tabbar em {
  --offset: 0;
  border-radius: 50%;
  display: block;
  width: 6px;
  height: 6px;
  position: absolute;
  bottom: 13px;
  left: 4px;
  margin: 0 0 0 -3px;
  z-index: 4;
  -webkit-transition: -webkit-transform .4s ease;
  transition: -webkit-transform .4s ease;
  transition: transform .4s ease;
  transition: transform .4s ease, -webkit-transform .4s ease;
  background: var(--background-color-active);
  -webkit-transform: translateX(var(--offset));
          transform: translateX(var(--offset));
}

@-webkit-keyframes high {
  0% {
    -webkit-transform: rotate(0deg) scale(0.94);
            transform: rotate(0deg) scale(0.94);
  }
  33% {
    -webkit-transform: rotate(8deg);
            transform: rotate(8deg);
  }
  66% {
    -webkit-transform: rotate(8deg) translateY(-1px);
            transform: rotate(8deg) translateY(-1px);
  }
  100% {
    -webkit-transform: rotate(0deg) scale(1) translateY(-1px);
            transform: rotate(0deg) scale(1) translateY(-1px);
  }
}

@keyframes high {
  0% {
    -webkit-transform: rotate(0deg) scale(0.94);
            transform: rotate(0deg) scale(0.94);
  }
  33% {
    -webkit-transform: rotate(8deg);
            transform: rotate(8deg);
  }
  66% {
    -webkit-transform: rotate(8deg) translateY(-1px);
            transform: rotate(8deg) translateY(-1px);
  }
  100% {
    -webkit-transform: rotate(0deg) scale(1) translateY(-1px);
            transform: rotate(0deg) scale(1) translateY(-1px);
  }
}
@-webkit-keyframes down {
  0% {
    -webkit-transform: rotate(0deg) scale(1) translateY(-1px);
            transform: rotate(0deg) scale(1) translateY(-1px);
  }
  33% {
    -webkit-transform: rotate(8deg);
            transform: rotate(8deg);
  }
  66% {
    -webkit-transform: rotate(8deg) translateY(0);
            transform: rotate(8deg) translateY(0);
  }
  100% {
    -webkit-transform: rotate(0deg) scale(0.94) translateY(0);
            transform: rotate(0deg) scale(0.94) translateY(0);
  }
}
@keyframes down {
  0% {
    -webkit-transform: rotate(0deg) scale(1) translateY(-1px);
            transform: rotate(0deg) scale(1) translateY(-1px);
  }
  33% {
    -webkit-transform: rotate(8deg);
            transform: rotate(8deg);
  }
  66% {
    -webkit-transform: rotate(8deg) translateY(0);
            transform: rotate(8deg) translateY(0);
  }
  100% {
    -webkit-transform: rotate(0deg) scale(0.94) translateY(0);
            transform: rotate(0deg) scale(0.94) translateY(0);
  }
}

/* CSS NAVMENU*/
.struttura {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  box-sizing: border-box;
 -webkit-font-smoothing: antialiased;
}
.pagina {
  box-sizing: inherit;
  font-family: Roboto, Arial;
  color: #ADAFB6;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  /*background: #F5F9FF;*/

}

.pagina .dribbble {
  display: block;
  right: 20px;
  bottom: 20px;
}
.pagina .dribbble img {
  display: block;
  height: 28px;
}

a {
  text-decoration: none !important;
}

/*ios navmeno swiper gesture bar*/
.tabbar {
    padding-bottom: env(safe-area-inset-bottom)!Important;
}
