#glt-translate-trigger, #drift-frame-controller {
  z-index: 1 !important;
}

/* ===== MENU POPUP LAYOUT ===== */
#menu-popup {
  visibility: visible;
  z-index: 665;
  width: 100%;
  max-width: 445px;
  height: 100%;
  top: 0;
  right: 0;
  transform: translateX(110%);
  position: fixed;
  overflow-y: auto;
  background-color: white;
  border-left: 11px solid #32b7d3;
  transition: transform 1000ms ease;
  transition-delay: 100ms;
}
#menu-popup.is-active {
  visibility: visible;
  transform: translateX(0%);
  transition: transform 1000ms ease;
}

/* ===== MENU POPUP STYLE ===== */
#menu-popup .custom-logo-link {
  width: 260px;
  height: 90px;
  filter: none;
  border: none !important;
}
@media (min-width: 768px) {
  #menu-popup .custom-logo-link {
    width: 330px;
    height: 90px;
    margin-bottom: 40px !important;
  }
}
#menu-popup .custom-logo-link img {
  width: 100%;
  height: auto;
  margin-left: -12px;
}
@media (min-width: 768px) {
  #menu-popup .custom-logo-link img {
    margin-left: 0;
  }
}
#menu-popup .menu-wrap .menu-item {
  list-style: none;
  padding: 5px 20px 5px 17px;
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  #menu-popup .menu-wrap .menu-item {
    padding: 5px 20px 5px 28px;
  }
}
#menu-popup .menu-wrap .sub-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}
#menu-popup .menu-wrap .sub-menu.open {
  max-height: 600px;
}
#menu-popup .menu-wrap .sub-menu {
  position: relative;
  z-index: 1;
  top: 0;
  left: 0;
  padding: 0;
}
#menu-popup .menu-wrap .sub-menu .menu-item {
  border-color: transparent;
  padding: 0;
}
#menu-popup .menu-wrap .sub-menu a {
  margin: 1px 0;
  padding-right: 0;
  font-weight: 400;
  letter-spacing: 4px;
}
#menu-popup .menu-wrap .sub-menu a::before {
  display: none !important;
}
#menu-popup .menu-wrap li.menu-item-has-children > a:first-child:after {
  position: absolute;
  display: block;
  content: "";
  border: solid #000;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  left: 200px;
  margin-left: 20px;
  margin-top: 10px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: transform 300ms ease, margin-top 300ms ease;
}
#menu-popup .menu-wrap li.menu-item-has-children > a:first-child.open:after {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  margin-top: 17px;
}

#menu-popup .menu-wrap {
  padding-top: 100px !important;
}
#menu-popup .menu-wrap a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  color: black;
  font-size: 24px;
  line-height: 40px;
  margin: 10px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform 300ms ease, color 300ms ease;
}
@media (min-width: 768px) {
  #menu-popup .menu-wrap a {
    font-size: 28px;
  }
}
#menu-popup .menu-wrap a:hover {
  color: #32b7d3;
}
#menu-popup .social a:before {
  color: #303030;
  font-size: 25px;
  transition: color 300ms ease;
}
#menu-popup .social a:before:hover {
  color: #32b7d3;
}
#menu-popup .social a.dashicons-phone:before {
  font-size: 22px;
  line-height: 25px;
}
#menu-popup .social a {
  text-decoration: none;
  color: #303030;
  font-size: 16px;
  transition: color 300ms ease;
}
#menu-popup .social a:hover {
  color: #32b7d3;
}
#menu-popup .copyright span.text-small {
  font-size: 17px;
}

/* ===== CLOSE BUTTON ANIMATION ===== */
#menu-close-button {
  display: block;
  color: black;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  padding-left: 10px;
  position: absolute;
  cursor: pointer;
  right: 20px;
  top: 15px;
}
@media (min-width: 1400px) {
  #menu-close-button {
    top: 25px;
  }
}
#menu-close-button:before {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' fill='currentColor' overflow='hidden'%3E%3Cpath d='M810.66 170.66q18.33 0 30.495 12.165 12.165 12.165 12.165 30.495 0 18.002-12.329 30.331L572.314 511.98l268.677 268.329q12.329 12.329 12.329 30.331 0 18.33-12.165 30.495-12.165 12.165-30.495 12.165-18.002 0-30.331-12.329L512 572.293 243.671 840.97q-12.329 12.329-30.331 12.329-18.33 0-30.495-12.165-12.165-12.165-12.165-30.495 0-18.002 12.329-30.331L451.686 511.98 183.009 243.651q-12.329-12.329-12.329-30.331 0-18.33 12.165-30.495 12.165-12.165 30.495-12.165 18.002 0 30.331 12.329L512 451.666l268.329-268.677q12.329-12.329 30.331-12.329z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  width: 25px;
  height: 25px;
  position: absolute;
  left: -20px;
  top: 2px;
  transition-delay: 100ms;
  transition: transform 300ms ease;
}
#menu-close-button:hover:before {
  transform: rotate(180deg);
  transition: transform 300ms ease;
  transition-delay: 100ms;
}

/* ===== OPEN BUTTON ANIMATION ===== */
#menu-open-button {
  z-index: 666;
  cursor: pointer;
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 25px;
}
#menu-open-button p {
  font-weight: 600;
  color: white;
  line-height: 1em;
  letter-spacing: 1px;
  padding-bottom: 1px;
  position: absolute;
  left: -90px;
  top: 54%;
  transform: translateY(-50%);
  max-width: 82px;
  overflow: hidden;
}
#menu-open-button span {
  margin: 0 auto;
  position: absolute;
  top: 12px;
  background-color: white;
}
#menu-open-button span:before, #menu-open-button span:after {
  position: absolute;
  content: "";
}
#menu-open-button span, #menu-open-button span:before, #menu-open-button span:after {
  width: 38px;
  height: 7px;
  display: block;
}
#menu-open-button span:before {
  right: 0;
  width: 18px;
  margin-top: -14px;
  background-color: #32b7d3;
}
#menu-open-button span:after {
  margin-top: 14px;
  background-color: white;
}
#menu-open-button span {
  transition: width 300ms ease, background-color 300ms ease;
}

/* Animazioni per #menu-open-button */
#menu-open-button {
  filter: drop-shadow(0 0 1px black);
}
#menu-open-button span {
  transition-duration: 0s;
  transition-delay: 0.2s;
}
#menu-open-button p {
  transition-property: visibility;
  transition-delay: 200ms;
}

#menu-open-button.open span {
  background-color: transparent !important;
}
#menu-open-button.open p {
  visibility: hidden;
  transition-property: visibility;
  transition-delay: 200ms;
}

#menu-open-button span:before, #menu-open-button span:after {
  transition: margin 300ms ease, transform 300ms ease, width 300ms ease, background-color 300ms ease;
}

#menu-open-button.open span:before {
  margin-top: 0;
  background-color: #32b7d3 !important;
  width: 100%;
  transform: rotate(45deg);
}

#menu-open-button.open span:after {
  margin-top: 0;
  background-color: #32b7d3 !important;
  transform: rotate(-45deg);
}

#menu-popup .search-form form {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#menu-popup .search-form label {
  display: block;
  text-decoration: none;
  font-weight: 600;
  color: black;
  font-size: 16px;
  line-height: 40px;
  margin: 10px 0 10px 68px;
}
@media (min-width: 1400px) {
  #menu-popup .search-form label {
    font-size: 18px;
  }
}
#menu-popup .search-form input[type=text] {
  border: none !important;
  outline: none;
  margin: 10px 0 10px 65px;
  height: 30px;
  width: 250px;
  font-weight: 600;
  color: black;
  font-size: 16px;
  line-height: 40px;
}
@media (min-width: 1400px) {
  #menu-popup .search-form input[type=text] {
    font-size: 18px;
  }
}
#menu-popup .search-form input[type=text]::-moz-placeholder {
  color: black;
  opacity: 1;
}
#menu-popup .search-form input[type=text]::placeholder {
  color: black;
  opacity: 1;
}
#menu-popup .search-form input[type=submit] {
  background-color: transparent;
  color: transparent;
  border: none;
  margin-left: -25px;
  margin-top: 1px;
  width: 117px;
  position: absolute;
  z-index: 555;
  filter: brightness(0.6);
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cpath style='fill:%23636F79;' d='M23.8,21.6l-6.2-6.2c1.2-1.6,1.9-3.6,1.9-5.7c0-5.4-4.4-9.7-9.7-9.7C4.4,0,0,4.4,0,9.7c0,5.4,4.4,9.7,9.7,9.7 c2,0,3.9-0.6,5.5-1.7l6.2,6.2C21.5,24,23.8,21.6,23.8,21.6z M2.9,9.7c0-3.8,3.1-6.9,6.9-6.9s6.9,3.1,6.9,6.9s-3.1,6.9-6.9,6.9 C5.9,16.6,2.9,13.5,2.9,9.7z'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  transition: background-image 300ms ease, border-color 300ms ease;
}
#menu-popup .search-form:hover input[type=text], #menu-popup .search-form:focus input[type=text], #menu-popup .search-form:target input[type=text], #menu-popup .search-form:active input[type=text] {
  border-color: black;
}
#menu-popup .search-form:hover input[type=submit], #menu-popup .search-form:focus input[type=submit], #menu-popup .search-form:target input[type=submit], #menu-popup .search-form:active input[type=submit] {
  border-color: black;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cpath style='fill:%23DC0330;' d='M23.8,21.6l-6.2-6.2c1.2-1.6,1.9-3.6,1.9-5.7c0-5.4-4.4-9.7-9.7-9.7C4.4,0,0,4.4,0,9.7c0,5.4,4.4,9.7,9.7,9.7 c2,0,3.9-0.6,5.5-1.7l6.2,6.2C21.5,24,23.8,21.6,23.8,21.6z M2.9,9.7c0-3.8,3.1-6.9,6.9-6.9s6.9,3.1,6.9,6.9s-3.1,6.9-6.9,6.9 C5.9,16.6,2.9,13.5,2.9,9.7z'/%3E%3C/svg%3E%0A");
  filter: brightness(1);
}