nav#menu ul.princi::-webkit-scrollbar {
  width: 8px; /*ancho del scroll vertical*/
  height: 8px; /*alto del scroll horizontal*/
}
.rota{
  transform: rotate(180deg);
}
nav#menu{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 100%;
  right: 0;
  background-color: #FFF;
  z-index: 99999;
  padding-left: 20%;
  padding-right: 20%;
  opacity: .5;
  visibility: hidden;
  transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
nav#menu.activo{
  overflow: auto;
  top: 0%;
  left: 75%;
  padding-left: 0%;
  padding-right: 0%;
  opacity: 1;
  visibility: visible;
  transition: 0.2s ease;
  -o-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;
  box-shadow: -10px 0px 30px rgba(0, 0, 0, .35);
}
#cierra-menu{
  position: fixed;
  top: 0px;
  right: 0px;
  left: 0;
  bottom: 0;
  text-align: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
}
#cierra-menu.visible{
  visibility: visible;
  opacity: 1;
  background: rgba(0, 0, 0, .75);
}
nav #cierra-menu svg{
  width: 30px;
}
.abre-menunew{
  color: var(--color-principal) !important;
}
nav #cierra-menu:hover{
  opacity: 1;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
nav#menu ul{
  list-style: none;
  margin: auto;
  padding: 0;
  width: 100%;
  transition: 0.2s;
  -o-transition: 0.2s;
  -webkit-transition: 0.2s;
  visibility: hidden;
  opacity: 0;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: clip;
  position: relative;
  z-index: 99;
}
nav#menu ul li{
  position: relative;
}
nav#menu ul li i{
  position: absolute;
  left: 27px;
  font-size: 1.2em;
  top: 17px;
}
nav#menu ul.princi::-webkit-scrollbar-track {
  background-color: transparent; /*color de la barra de fondo*/
}
nav#menu ul.princi::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, .4); /*color del manejador*/
}
nav#menu ul.princi::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, .6); /*color del manejador*/
}
nav#menu ul.princi::-webkit-scrollbar {
  width: 8px; /*ancho del scroll vertical*/
  height: 8px; /*alto del scroll horizontal*/
}
nav#menu.activo ul{
  transition: 0.2s ease;
  -o-transition: 0.2s ease;
  -webkit-transition: 0.2s ease;
}
nav ul li{
  text-align: center;
}
nav ul li a{
  display: block;
  color: #177da6;
  border-bottom: 1px solid rgba(221, 221, 221, 0.35);
  padding-bottom: 20px;
  padding-top: 20px;
  font-size: .9em;
  position: relative;
  text-decoration: none;
  font-family: "montserrat", sans-serif;
  text-transform: uppercase;
  text-align: left;
  padding-left: 50px;
  padding-right: 26%;
}
nav ul li a svg{
  position: absolute;
  right: 25px;
  top: 20px;
}
nav ul li a:hover{
  color: #000;
  border-bottom: 1px solid var(--color-tercero);
}
nav ul li a::before{
  content: "";
  width: 0px;
  height: 100%;
  background-color: rgba(255, 255, 255, .1);
  position: absolute;
  left: 0;
  top: 0;
  transition: .4s ease;
  -o-transition: .4s ease;
  -webkit-transition: .4s ease;
  z-index: -1;
}
nav ul li a::after{
  content: "";
  width: 0px;
  height: 100%;
  background-color: rgba(255, 255, 255, .1);
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s ease;
  -o-transition: .4s ease;
  -webkit-transition: .4s ease;
  z-index: -1;
}
nav ul li a:hover::before{
  width: 100%;
  transition: .4s ease;
  -o-transition: .4s ease;
  -webkit-transition: .4s ease;
}
nav ul li a:hover::after{
  width: 100%;
  transition: .4s ease;
  -o-transition: .4s ease;
  -webkit-transition: .4s ease;
}
nav ul li:last-child a{
  margin-bottom: 0px;
}

nav#menu ul li ul{
  overflow: hidden;
  max-height: 0px;
}
nav#menu ul li ul li a{
  font-size: 1.1em;
  padding-top: 15px;
  padding-bottom: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
nav#menu ul li ul li a:hover{
  background-color: rgba(255, 255, 255, .2);
}
nav#menu ul li ul li a::after, nav#menu ul li ul li a::before{
  visibility: hidden;
}
nav#menu ul li ul.desplegado{
  transition: .2s ease;
  -o-transition: .2s ease;
  -webkit-transition: .2s ease;
}
nav#menu ul li ul#ul-prod.desplegado{
  max-height: 516px;
}
nav#menu ul li ul#ul-serv.desplegado{
  max-height: 400px;
}
header.fixed .botones a {
  color: #333;
  border-color: #999;
}
header.fixed .botones a:hover {
  color: #fc671a;
  border-color: #fc671a;
}
header.fixed .botones i{
  background: #f5f5f5;
}
header .abre-menunew{
  color: #fff !important;
  position: absolute;
  top: 18px;
  right: 80px;
  cursor: pointer;
  opacity: 1;
  text-align: center;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
header .abre-menunew svg.bi-x{
  display: none;
}
header .abre-menunew:hover{
  opacity: 1;
  transition: .5s ease;
  -o-transition: .5s ease;
  -webkit-transition: .5s ease;
}
header .abre-menunew svg{
  width: 40px;
}
header .abre-menunew svg#ico-cruz{
  width: 30px;
  margin-top: 7px;
}
header .abre-menunew .texto{
  font-size: .9em;
  margin-top: -5px;
}
header.fixed .abre-menunew{
  color: #fc671a !important;
  top: 7px !important;
}
#ico-cierra-menu{
  position: absolute;
  right: 85px;
  top: 25px;
  color:#FFF;
  cursor: pointer;
  text-align: center;
  transition: .3s ease;
  -o-transition: .3s ease;
  -webkit-transition: .3s ease;
}
#ico-cierra-menu.enscroled{
  top: 15px;
  transition: .3s ease;
  -o-transition: .3s ease;
  -webkit-transition: .3s ease;
}
#ico-cierra-menu svg{
  width: 30px;
  opacity: .7;
  transition: .3s ease;
  -o-transition: .3s ease;
  -webkit-transition: .3s ease;
}
#ico-cierra-menu:hover svg{
  opacity: 1;
  transition: .3s ease;
  -o-transition: .3s ease;
  -webkit-transition: .3s ease;
}

#ico-cierra-menu .texto{
  font-size: .8em;
}

@media (max-width: 1024px) {
  header{
    padding-top: 25px;
  }
  header .abre-menunew{
    right: 30px;
    top: 22px;
  }
  #ico-cierra-menu{
    right: 45px;
    top: 40px;
  }

  nav#menu.activo{
    left: 0%;
  }
  nav#menu ul{
    width: 100%;
  }
  nav ul li a{
    font-size: 1.1em;
  }
  nav#menu ul li ul li a{
    font-size: .9em;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #cierra-menu {
    top: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: var(--colorSecu);
    left: auto;
    bottom: inherit;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
  }
  #main.menu-desplegado #cierraMenu{
    visibility: visible;
    opacity: 1;
  }
  #cierra-menu i{
    color: #FFF;
    font-size: 2em;
    display: block;
  }
  #software.sec-softwaree{
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }
}