.custom-menu-monitoro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 60px;
  box-shadow: 0px 0px 5px #7a7a7a;
  padding: 5px;
  margin-bottom: 10px;
  background-color: white;
  height: 50px;
}

.navbarMonContainer {
  position: fixed;
  width: 90%;
  z-index: 1000;
  margin-top: 20px;
  margin-left: 5%;
}

.navbarMonContainer > *{
  max-width: 1890px;
  margin-left: auto;
  margin-right: auto;
 }

.pagineMenu {
  list-style-type: none;
  color: black;
  font-weight: 400;
}

.containerPagineMenu {
  /* max-width: 25%; */
}

.containerPagineMenu.contatti a{
  background-color: black;
  border-radius: 99px;
  color: white !important;
  padding: 10px 20px;
  text-decoration: none !important;
}

.containerPagineMenu.contatti a:hover{
  color: white !important; 
  background-color: #d54927 !important; 
  transition: 0.3s; 
}

.containerPagineMenu * {
  text-decoration: none !important;
  color: black;
}

.containerPagineMenu .active {
  color: #d54927 !important;
}

.ulPagMenu{
  display: flex;
  gap:40px;
}
.ulPagMenu a{
white-space: nowrap;
}

.pagineMenuLink {
  color: black !important;
  text-transform: uppercase;
}

.dropdown {
  max-width: 250px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  padding: 0px;
  cursor: pointer;
}

.dropdownBtn {
  background-color: #d54927;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 50px;
  outline: none;
}

.dropdownBtn:visited {
  background-color: #d54927 !important;
}

.dropdownBtn:focus {
  background-color: #d54927 !important;
}

.dropdownContent {
  background-color: #fffffff5;
  position: relative;
  min-width: 250px;
  padding: 30px 20px;
  border-radius: 25px;
  /* z-index: 9999; */
  color: black;
  box-shadow: 5px 5px 15px #00000061;
  display: flex;
}
.dropdownColonnaDestra {
  width: 70%;
  border-radius: 20px;
  background-color: #eee;
  position: relative;
}
.dropdownColonnaSinistra {
  display: flex;
  flex-direction: column;

  width: 30%;
}

.dropdownColonnaSinistra a {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* .dropdownContent a:last-child {
  border-bottom: none;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
} */

/* .dropdownContent p:first-child {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
} */

/* .dropdownContent p:hover {
  transition: 0.3s;
  background-color: #ececec;
} */

.dropdownContent.show {
  display: flex !important;
}

.dropdownContent {
  display: none;
  /* Altri stili necessari */
}

.liv1 {
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
}

.liv1 a:hover{
  color: #d54927 !important; 
}
a.liv1M:hover{
  color: #d54927 !important; 
}
.liv3 {
  cursor: pointer;
  margin: 0;
  padding: 10px;
  font-weight: 500;
  /* flex-grow: 1; */
  min-width: 200px;
  /* max-width: 25%; */
  text-transform: uppercase;
  text-decoration: none !important;
}

.liv3 span {
  color: black !important;
  font-weight: 500;
  text-transform: none;
  /* text-align: center; */
  display: block;
  padding: 0 10px;
  padding-left: 8%; 
}

/* .liv3:hover span {
  padding-bottom: 5px;
  border-bottom: 3px solid #f89633;
} */

.liv3 .img1 {
  margin-top: 10px;
  margin-bottom: 15px;
  transition: all 0.7s;
  transform-origin: bottom right;
}

.liv3 .img1:hover {
  transform: rotate(3deg) scale(1.03);
}

.liv2 {
  flex-wrap: wrap;
  justify-content: center;
}
/* .liv4{
  display: none;
  padding: 20px;
}

.liv4.show{
  display: flex !important;
} */

/* mobile menù */

.navbar-toggler {
  position: absolute;
  right: 15px;
}

.collapse:not(.show) {
  display: none;
}

.navbar-collapse {
  background-color: white;
  width: 100%;
  padding: 20px;
  top: 50px;
  border-radius: 15px;
  list-style-type: none;
  margin-top: 344px;
}

.containerPagineMenuMobile {
  width: 100%;
}

.pagineMenuMobile {
  text-align: center;
  padding: 5px;
  border-bottom: solid 1px #eee;
}

/* @media (max-width: 990px) {
  .dropdown {
    max-width: 100%;
    padding: 5px;
    text-align: center;
  } */

/* .dropdownBtn {
    align-items: center !important;
  }

  .dropdownContent {
    position: static;
    max-width: 100%;
    margin-left: 0;
    border-radius: 0;
    box-shadow: none !important;
  }

  .mobile-dropdown {
    width: 100%;
    text-align: center;
  }

  .mobile-dropdown .dropdown {
    width: 100%;
    text-align: center;
  }

  .mobile-dropdown .dropdownBtn {
    margin: 0 auto;
  }

  .dropdownContent p {
    padding-left: 10px;
    padding-right: 10px;
  } */

/* } */

.navbar-toggler [type="button"]:hover {
  background-color: white !important;
}

.navbar {
  padding: 0px !important;
}

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

[type="button"]:hover {
  background-color: white !important;
}

[type="button"]:focus {
  background-color: white !important;
}

.pagineMenuLink:hover {
  transition: 0.2s;
  text-decoration: none;
  color: #d54927 !important;
}

nav.navbarMobile .navbar-collapse {
  margin: auto 0px;
  position: absolute;
  left: 0;
  box-shadow: 5px 5px 15px #00000061;
}

.businessUnit-link {
  color: black;
  border-bottom: solid 1px #ddd;
  padding-bottom: 10px;
  margin: 0px !important;
}

.pagineMenu .dropdownContent {
  display: none;
}

.pagineMenu.show .dropdownContent {
  display: flex;
}

.dropdownImmagine {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: scaleX(-1);
  max-height: 60vh;
}

.dropdownColonnaSinistra a {
  background-color: #ffffff8f;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 25px;
}

.dropdownColonnaSinistra a:last-child {
  margin-bottom: 0px;
}

.logomenu {
  height: 40px;
  max-width: none;
  display: block;
}

@media (max-width: 999px) {
  /* menu mobile ---------- */
  .navbarDesktop {
    display: none;
  }
  .boxMenuMobile {
    background-color: #ebecf0f5;
    padding: 10px 10px 20px 10px;
    border-radius: 20px;
  }

  .boxMenuMobile {
    display: none;
    max-height: 85vh;
    overflow-y: scroll;
  }
  .boxMenuMobile.show {
    display: block;
  }

  .liv2M {
    display: block;
    overflow: hidden;
    background-color: white;
    border-radius: 20px;
    max-height: 0;
    transition: all 0.2s;
   
  }

  .liv2M > div {
    padding: 0px 10px 0 10px;
    display: flex;
    flex-wrap: wrap; 
  }

  .liv3M {
    overflow: hidden;
    display: block;

    max-height: 0;
    transition: all 0.2s;
  }
  .liv3M > * {
    padding-top: 10px;
    margin-bottom: 15px;
    display: block;
  }

  .liv2M img {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 400px;
  }

  .freccia {
    margin: 0 !important;
    width: 20px !important;
  }

  .liv3trigger {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    text-transform: uppercase;
    font-weight: 500;
    padding: 15px 0;
  }

  .liv3Mbox:last-child {
    border-bottom: 0px solid;
  }

  .liv3Mbox {
    border-bottom: 1px solid #eee;
  }

  .liv2M.show,
  .liv3M.show {
    max-height: 3000px;
    transition: all 0.7s;
  }
  .boxMenuMobile * {
    color: black;
  }

  .liv1M {
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #cb2026;
    margin-bottom: 10px;
    padding-top: 10px;
  }

  .liv1Mcontainer:last-child .liv1M{
    border-bottom: 0px solid;
    background-color: black;
    border-radius: 99px;
    color: white !important;
    padding: 5px 20px;
    text-decoration: none !important;
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 10px;
  }

  .frecciaChiusa {
    transform: rotate(-450deg);
    transition: all 0.5s;
  }
}
@media (min-width: 999px) {
  .navbarMobile {
    display: none;
  }
}

.scrittaDivisione{

  padding-left: 8%; 
  }
