.nav {
  margin: 0;
  padding: 0;
  list-style: none;
  /*float: right;
  display: inline-block;*/
  position: relative;
  z-index: 500;
  color: black;
  padding-left: 5px;
  padding-bottom: 10px;
}

#menu-mobile {
  display: none;
}

#menu-mobile {
  background-color: #44CF6C;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  /* padding: 10px; */
}

#menu-mobile div {
  color: white;
  width: 23%;
  cursor: pointer;
}

.clicked {
  display: flex;
  background: #39af5b;
  height: 100%;
  justify-content: center;
  align-items: center;
}

#menu-mobile .logo {
  height: 70%;
  width: 50%;
}

#menu-mobile .logo img {
  width: auto;
  height: 100%;
}

.advanced-search-mobile {
  /*height: calc(100% - 80px);*/
  height: 100%;
  display: none;
}

.advanced-search-mobile-cluster {
  /* height: calc(100% - 80px);*/
  height: 100%;
  display: none;
}

.columnForMenuHeight {
  height: calc(100% - 80px);
}

#menuNav {
  float: left;
  width: 15%;
  min-width: 7%;
  height: 100%;
  background: #44cf6c repeat;
  padding-left: 0px;
  padding-right: 0px;
  position: fixed;
  margin: unset;
  transition: width 1s;
}

#menuNavResized {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 10px;
}

#menuNav #loginFakeButton a {
  display: block;
  width: 115px;
  height: 25px;
  background: #4E9CAF;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  color: white;
  font-weight: bold;
}

.removeMargin {
  margin: unset;
}

.nav a {
  color: white;
  text-decoration: none;
}

.liParent>a {
  display: block;
  text-decoration: none;
  height: 35px;
  /*     margin-left: 20px;

  padding-top: 35px*/
}

.liParent:hover>a {
  font-weight: bold;
}

.aParent {
  position: relative;
  display: block;
  padding: 10px 15px;
  cursor: pointer;
}

.firstline:hover {
  /*color: black;*/
}

.nav>li>a:hover, .nav>li>a:focus {
  background-color: inherit;
  font-weight: bold;
}

.liParent>.firstline>#je-popuplogin {
  margin-left: 20px;
  padding: 20px 15px 15px 15px;
}

.btnLogin {
  text-align: center !important;
  padding-top: 5px;
  padding-bottom: 5px;
}

.loginContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3EBA62;
  border-radius: 20px;
  width: 90px;
  color: white !important;
}

#menuNav .ulChild {
  display: none;
  position: absolute;
  right: 0px;
  top: 70px;
  background-color: #ffffff;
  border-top: 2px solid #89c340;
  border-left: 1px solid #EAEBEC;
  border-right: 1px solid #EAEBEC;
  border-bottom: 1px solid #EAEBEC;
}

.hidden {
  display: none;
}

#menuNav .ulChild li {
  width: 165px;
  padding: 0px 10px 0px 10px;
  /* border-bottom: 1px solid #EAEBEC; */
  text-align: left;
}

#menuNav .ulChild li:last-child {
  border-bottom: none
}

#menuNav .ulChild li a {
  display: block;
  line-height: 37px;
  height: 37px;
  text-decoration: none;
  padding-left: 5px;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#menuMobileContainer .nav li .ulChild {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 20px;
}

#menuMobileContainer .nav li .hidden {
  display: none;
}

#menuMobileContainer .nav li .ulChild li {
  /* width: 165px; */
  padding: 0px 10px 0px 10px;
  /* border-bottom: 1px solid #EAEBEC; */
  text-align: left;
}

#menuMobileContainer .nav li .ulChild li:last-child {
  border-bottom: none
}

#menuMobileContainer .nav .liParent .firstline:hover {
  font-weight: bold;
  color: white;
}

#menuMobileContainer .nav li .ulChild li a {
  display: block;
  line-height: 20px;
  height: 37px;
  text-decoration: none;
  padding-left: 5px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  color: #44CF6C;
}

.firstline {
  font-size: 15px;
  text-align: left;
  color: #ffffff;
  text-align: center;
}

.cartMenuIcon {
  width: 25px;
  height: 25px;
  margin-left: 2px;
}

.secondline {
  text-align: left;
  color: #75B00A;
  font-size: 12px;
  background-image: url("images/frecciaMenuDown.png");
  background-repeat: no-repeat;
  background-position: center right
}

.languageFlag {
  padding: 20px;
}

.languageUKFlag {
  background: url("ico/home/uk_flag.png") no-repeat;
  background-size: 35px 35px;
  cursor: pointer;
}

#overlayMenu {
  position: fixed;
  display: none;
  width: 85%;
  height: 100%;
  /* top: 0;
  left: 0;
  right: 0;
  bottom: 0; */
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 101;
  color: white;
  overflow: auto;
}

#overlayMenuBtnClose {
  text-align: right;
  font-size: 25px;
  padding: 50px;
  background: url("../ico/site/ico_chiudi_menu.png") no-repeat;
  background-size: 25px 25px;
  background-position-x: right;
  margin-top: 25px;
  margin-right: 25px;
  cursor: pointer;
}

/* #overlayMenuBtnClose:after {
  color: #fff;
  content: "\f00d";
  font-family: "FontAwesome";
  transition-property: all .2s linear 0s;
  -moz-transition: all .2s linear 0s;
  -webkit-transition: all .2s linear 0s;
  -o-transition: all .2s linear 0s;
  cursor: pointer;
} */

#overlayMenu a {
  cursor: pointer;
}

#overlayMenuBtnClose:hover:after {
  color: #34B484;
}

.navDirectLink .liParent:hover>a {
  background-color: unset !important;
}

#overlayMenulist {
  line-height: 1.42857143;
}

.overlayMenuUl {
  list-style: none;
  font-size: 20px;
}

.overlayMenuUl::before {
  content: attr(data-header);
  font-size: 35px;
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 20px;
}

.overlayMenuUl li {
  padding-top: 5px;
  text-transform: capitalize;
}

.overlayMenuUl li a {
  color: #ffffff;
  text-decoration: none;
}

.cartMenuResized {
  min-height: 50px;
  min-width: 50px;
  background: url(../ico/site/ico_carrello.png) no-repeat;
  background-size: 35px 35px;
  cursor: pointer;
  align-self: center;
}

.cartMenuResizedFull {
  background: url(../ico/site/ico_carrello_pieno.png) no-repeat;
  background-size: 35px 35px;
}

.menuLink {
  min-height: 50px;
  min-width: 50px;
  background: url(../ico/site/ico_menu_bianco.png) no-repeat;
  background-size: 35px 35px;
  cursor: pointer;
  align-self: center;
  margin-top: 55px;
}

.menuLinkA {
  margin-top: 500px;
  writing-mode: vertical-rl;
  text-orientation: sideways-right;
  transform: rotateZ(180deg);
  align-self: center;
  cursor: pointer;
  color: #ffffff;
}

/* BARRA LOGIN */

#loginNav {
  /*padding-top: 50px;*/
}

#loginNav .loginTab {
  min-height: 50px;
  padding-top: 15px;
}

#loginNav .loginTabUser {
  background-color: #ecedee;
}

#loginNav .loginTabAgenzie {
  background-color: #d8dbdd;
}

#loginNav .loginTabAgenzie a {
  text-decoration: none;
}

#loggedUserNav {
  display: flex;
  flex-direction: row;
  min-height: 50px;
  justify-content: flex-end;
  background-color: #d8dbdd;
  color: black;
}

#loggedUserNav a {
  text-decoration: none;
}

#loggedUserNav a:hover, #loggedUserNav a:active {
  font-weight: bold;
}

#loggedUserNav .loggedUserNavTab {
  cursor: pointer;
}

#loggedUserNav .loggedUserNavTab, #loggedUserNav .loggedUserNavTabUser {
  min-width: 15%;
  padding: 15px;
}

#loggedUserNav .loggedUserNavTab .icon, #loggedUserNav .loggedUserNavTabUser .icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

#loggedUserNav .loggedUserNavTabUser {
  background-color: #44cf6c;
  min-height: 50px;
  color: #ffffff;
}

#loggedUserNav .loggedUserNavTabUser a {
  background-color: #44cf6c;
  min-height: 50px;
  color: #ffffff;
}

#loggedUserNav .loggedUserNavTabUser a:hover {
  color: #ffffff;
  text-decoration: none;
}

#loggedUserNav .loggedUserNavTab a:hover {
  text-decoration: none;
}

.menuMobileContainer {
  display: none;
  background: #011c26;
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  top: 80px;
  margin-bottom: 50px;
}

.navContainer {
  display: none;
  position: fixed;
  /* top: 80px; */
  height: 80px;
  width: 100%;
  background: #011c26;
  z-index: 9999;
  overflow-y: scroll;
}

.prova {
  position: fixed;
  height: 3285px;
  background: red;
  height: 100vh;
  overflow-y: scroll;
}

.openMenuMobileContainer {
  opacity: 1;
  right: 0;
  height: 100vh;
}

#contentMenu {
  -webkit-overflow-scrolling: touch;
}

.menuMobileContainer .nav {
  height: auto;
}

.overflowHidden {
  overflow: hidden;
}

.navOpen {
  /* overflow: scroll;
  height: 3285px !important; */
}

.subMenu {
  height: 150px;
}

.ulChild {
  height: auto;
  /* overflow-y: auto;
  z-index: 99; */
}

#menuMobileContainer a {
  text-decoration: none;
}

.loginNavBarMobile {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 40px;
  margin-bottom: 10%;
}

.loginNavBarMobileTab {
  background: #daf5e2;
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  padding: 10px;
}

.loginNavBarMobileTabAgency {
  background: #b4ecc5;
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100%;
  padding: 10px;
}

/*.menuMobileContainer .nav>li>a:hover {
  background-color: inherit;
}

.menuMobileContainer .nav .liParent .firstline:hover {
  color: #b4ecc5;
}*/

#loggedUserNavBarMobile {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 40px;
  background: #b4ecc5;
}

#loggedUserNavBarDisplayMenu {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: flex-start;
  width: 100%;
  margin: 0 auto;
}

.loggedUserNavBarTabMobile {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  padding-left: 2%;
  padding-bottom: 2%;
}

#loggedUserNavBarMobile .loggedUserNavBarTabMobile .icon, .loggedUserNavBarTabMobileHiddenMenu .loggedUserNavBarTabMobile .icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.loggedUserNavBarTabMobileHiddenMenu {
  display: none;
  /*   display: flex;
 */
  flex-direction: column;
  width: 100%;
  /*   height: 120px; */
  background: #b4ecc5;
  padding-left: 2%;
  padding-top: 2%;
  border-top: 1px solid #44CF6C;
}

.loggedUserNavBarTabMobileIcon, .loggedUserNavBarTabMobileName {
  display: flex;
  flex-direction: column;
  width: 50%;
  align-content: flex-start;
  align-items: flex-start;
  padding-left: 2%;
}

/* Desktop */

@media screen and (max-width: 1200px) and (min-width: 992px) {
  #menu-mobile {
    width: 0%;
    display: none;
  }
  .overflowHidden {
    overflow: scroll;
  }
}

/* Tablet */

@media screen and (max-width: 991px) and (min-width: 768px) {
  #menuNav {
    display: none;
    width: 0%;
    min-width: 0%;
  }
  #menu-mobile {
    display: flex;
    width: 100%;
    position: fixed;
    z-index: 99;
  }
  /* #second-container {
    margin-top: 90px !important;
  } */
  #searchBarFixed {
    position: unset;
    width: 100%;
  }
  .loginNavBarMobile {
    display: none;
    width: 0%;
    min-width: 0%;
    height: 0%;
  }
  #searchNav {
    display: none;
  }
  #loggedUserNavBarMobile {
    display: none;
    height: 0%;
  }
  .menuMobileContainer {
    /* height: auto; */
    z-index: 98;
  }
  .advanced-search-mobile {
    /* height: 60%; */
    height: 100%;
  }
  .advanced-search-mobile-cluster {
    /* height: 60%; */
    height: 100%;
  }
  #overlayMenu {
    width: 100%;
  }
  .nav {
    z-index: 99;
  }
  .navContainer {
    display: block;
  }
}

/* Smartphone grandi dimensioni */

@media screen and (max-width:767px) and (min-width: 481px) {
  #menuNav {
    display: none;
    width: 0%;
    min-width: 0%;
  }
  #menu-mobile {
    display: flex;
    width: 100%;
    position: fixed;
    z-index: 100;
  }
  #second-container {
    margin-top: 90px !important;
  }
  #loggedUserNav {
    display: none;
    height: 0%;
  }
  .menuMobileContainer {
    z-index: 98;
  }
  .advanced-search-mobile {
    height: auto;
    top: 80px;
    position: absolute;
    width: 100%;
    padding-top: 30%;
    margin-bottom: 30%;
    background: #011c26;
  }
  .advanced-search-mobile-cluster {
    height: 100%;
    /* height: 60%;*/
  }
  #overlayMenu {
    width: 100%;
  }
  #searchBarFixed {
    position: unset;
    width: 100%;
  }
  #menu-mobile .logo img {
    width: auto;
    height: 100%;
  }
  .nav {
    z-index: 99;
  }
  .navContainer {
    display: block;
  }
  .firstline {
    font-size: 17px;
  }
  #menuMobileContainer .nav li .ulChild li a {
    font-size: 15px;
  }
}

/* Smartphone piccole dimensioni */

@media screen and (max-width:480px) {
  #menuNav {
    display: none;
    width: 0%;
    min-width: 0%;
  }
  #menu-mobile {
    display: flex;
    width: 100%;
    position: fixed;
    z-index: 100;
  }
  #second-container {
    margin-top: 80px !important;
  }
  #loggedUserNav {
    display: none;
    height: 0%;
  }
  .advanced-search-mobile {
    height: auto;
    top: 80px;
    position: absolute;
    width: 100%;
    padding-top: 30%;
    margin-bottom: 30%;
  }
  .advanced-search-mobile-cluster {
    height: auto;
  }
  #overlayMenu {
    display: none;
  }
  #searchBarFixed {
    position: unset;
    width: 100%;
  }
  #menu-mobile .logo img {
    width: auto;
    height: 80%;
    margin-top: 6px;
  }
  .nav {
    z-index: 99;
  }
  .navContainer {
    display: block;
  }
  .menuMobileContainer {
    z-index: 98;
  }
  .firstline {
    font-size: 17px;
  }
  #menuMobileContainer .nav li .ulChild li a {
    font-size: 15px;
  }
}