#ricarica-sim {
  background: url(img/euro.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

#ricarica-sim:hover {
  background: url(img/euro-active.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

#chat-assistenza {
  background: url(img/chat.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

#chat-assistenza:hover {
  background: url(img/chat-active.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

#area-clienti {
  background: url(img/clienti.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

#area-clienti:hover {
  background: url(img/clienti-active.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

.menu-item-link:hover #area-clienti {
  background: url(img/clienti-active.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

.menu-item-link:hover #chat-assistenza {
  background: url(img/chat-active.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

.menu-item-link:hover #ricarica-sim {
  background: url(img/euro-active.svg);
  background-size: 25px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 25px;
  height: 30px;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-light .navbar-toggler {
  color: transparent !important;
  border-color: unset !important;
}

.navbar-toggler > img {
  width: 30px;
  height: 30px;
}

@media screen and (max-width: 400px) {
  .navbar-collapse {
    left: 0% !important;
  }
}

@media screen and (min-width: 900px) and (max-width: 1200px) {
  .navbar-collapse {
    width: 30% !important;
    right: 0%;
  }
}

@media screen and (min-width: 600px) and (max-width: 900px) {
  .navbar-collapse {
    width: 50% !important;
    right: 0%;
  }
}

@media screen and (min-width: 500px) and (max-width: 600px) {
  .navbar-collapse {
    width: 60% !important;
    right: 0%;
  }
}

@media screen and (min-width: 400px) and (max-width: 500px) {
  .navbar-collapse {
    width: 70% !important;
    right: 0%;
  }
}

@media screen and (max-width: 1200px) {
  .navbar-collapse {
    position: absolute;
    z-index: 1048;
  }

  .menu-icon-group {
    width: 100% !important;
    font-size: 15px;
  }

  .item-menu-text {
    font-weight: normal !important;
    font-size: 15px;
    color: #000000 !important;
  }

  .componi-offerta {
    background-color: #ffffff !important;
    color: #db0366 !important;
    border: none !important;
    transition: 0.3s ease-in-out;
  }

  .componi-offerta:hover {
    background-color: #db0366 !important;
    color: #ffffff !important;
    border: none !important;
  }
}

#header {
  background-color: #ffffff;
  width: 100%;
}

.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2;
}

.sticky.is-sticky {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.container-navbar {
  max-width: 1260px !important;
  width: 100%;
  padding: 0;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-light .navbar-toggler {
  color: transparent !important;
  border-color: unset !important;
}

#menu-principale {
  list-style: none;
  text-transform: uppercase;
  font-size: 13px;
}

#menu-principale li a {
  color: #00b9e2;
  padding: 0;
  border: 1px solid transparent;
}

.componi-offerta {
  background-color: #ffffff !important;
  color: #db0366 !important;
  border: 1px solid #db0366 !important;
  transition: 0.3s ease-in-out;
}

#logo-optima {
  width: 160px;
}

#menu-principale li a.componi-offerta:hover {
  color: #fff;
  background-color: #db0366 !important;
  border: 1px solid #db0366 !important;
  transition: 0.3s ease-in-out;
  padding: 0px;
}
#menu-principale li a:hover {
  color: #fff;
  background-color: #00b9e2;
  border: 1px solid #00b9e2 !important;
  transition: 0.3s ease-in-out;
  padding: 0px;
}
#menu-principale li a {
  color: #00b9e2;
  padding: 0;
  border: 1px solid transparent;
}

.componi-offerta:hover {
  background-color: #db0366 !important;
  color: #ffffff !important;
  border: 1px solid #db0366 !important;
}

.navbar {
  box-shadow: 0px 5px 20px #00000029;
  z-index: 3;
  padding: 0;
}

.item-menu-text {
  font-weight: bolder;
  font-size: 10px;
  color: #000000 !important;
}

.menu-item-link:hover .item-menu-text {
  color: #00a9ea !important;
}

.navbar-light .navbar-toggler {
  color: transparent !important;
  border-color: unset !important;
}

.navbar-toggler span:nth-child(1) {
  top: 0;
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #00b9e2;
  transition: transform 0.2s ease;
}

.navbar-toggler span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-toggler span:nth-child(3) {
  bottom: 0;
}

.navbar-toggler {
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  width: 25px;
  height: 20px;
  right: 10px;
  position: relative;
}

@media screen and (max-width: 1200px) {
  .navbar-collapse {
    position: absolute;
    z-index: 1048;
  }
}
@media screen and (min-width: 600px) and (max-width: 900px) {
  .navbar-collapse {
    width: 50% !important;
    right: 0%;
  }
}

#menu-principale {
  list-style: none;
  text-transform: uppercase;
  font-size: 13px;
}

@media only screen and (max-width: 1199px) {
  #menu-principale li {
    display: block;
    font-size: 15px;
    text-align: left;
    margin-bottom: 10px;
    line-height: 25px;
  }
}

@media only screen and (max-width: 1048px) {
  #menu-principale li a {
    color: #00b9e2;
    text-decoration: none;
  }
}

@media screen and (max-width: 1200px) {
  .item-menu-text {
    font-weight: normal !important;
    font-size: 15px;
    color: #000000 !important;
  }
}

@media screen and (max-width: 1200px) {
  .componi-offerta {
    background-color: #ffffff !important;
    color: #db0366 !important;
    border: 1px solid transparent !important;
    transition: 0.3s ease-in-out;
  }
}

@media screen and (max-width: 1200px) {
  .navbar-collapse {
    position: absolute;
    z-index: 1048;
  }
}

@media screen and (max-width: 400px) {
  .navbar-collapse {
    left: 0% !important;
    width: 100%;
  }
}

body.menu-open .overlay-menu {
  display: block;
}
.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2;
}

@media only screen and (max-width: 1048px) {
  #menu-principale li a:hover {
    color: #fff;
    background-color: #00b9e2;
  }
}

#menu-principale li a:hover {
  color: #fff;
  background-color: #00b9e2;
  border: 1px solid #00b9e2 !important;
  transition: 0.3s ease-in-out;
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #00b9e2;
  transition: transform 0.2s ease;
}

.navbar-toggler.collapse-second span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.navbar-toggler.collapse-second span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.collapse-second span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}