/* ============================================== */
/* NAVIGATION-FIXED */
/* ============================================== */

.navigation-fixed-top{
  display: block;
  width: 100%;
  background: #353586;
  position: fixed;
  z-index: 9999;
  top:0;
}

.navigation-fixed{
  display: block;
  width: 100%;
  background: white;
  position: fixed;
  z-index: 9999;
  padding: 10px 0;
  top: 60px;
}

.navigation-fixed.effect{padding: 0;top:0;background: white;}
.navigation-fixed-top.effect{top:-60px;}

.navigation-fixed-top,
.navigation-fixed{
  -webkit-transition:all 350ms ease;
  -moz-transition:all 350ms ease;
  -ms-transition:all 350ms ease;
  transition:all 350ms ease;
}

/* ============================================== */
/* NAVIGATION-TOP */
/* ============================================== */

.navigation-top{
  width: 100%;
  float: left;
  padding:0 20px;
  margin-top:0;
  display: block;
  overflow: hidden;
}

.navigation-top ul{
  max-width: 1440px;
  width: 100%; 
  margin:0 auto;
  width: 100%;
  list-style: none;
}

.navigation-top ul li{
  display: block;
  float: left;
  color:white;
  padding: 20px 0 10px 0;
}

.navigation-top ul li:nth-child(2),
.navigation-top ul li:nth-child(3),
.navigation-top ul li:nth-child(4){
  float: right;
  margin-left: 5px;
}

.navigation-top ul li a{
  padding: 0 20px;

  color:white;
  display: block;
  cursor: pointer;
  font-size: 14px;
}

/*-- btn-cta --*/

.navigation-top ul li a.btn-cta{
  margin:-10px 0 0 0;
  padding: 10px 20px;
  color:white;
}


/* ============================================== */
/* NAVIGATION */
/* ============================================== */

.navigation-fixed:after{
  content: "";
  clear: both;
  display: block;
}

.navigation{
  padding:0 20px;
  width: 100%;
  display: block;
}

.navigation ul{
  list-style: none;
  width: auto;
  display: block;
  float:right;
}

.navigation ul li{
  display: block;
  float: left;
  position: relative;
}

.navigation > ul > li:nth-child(1){display:none;}

.navigation ul li a{
  padding: 19px 20px;
  color:black;
  display: block;
  cursor: pointer !important;
  font-size: 14px;
  opacity: 1;
  margin: 5px 0;
}

.navigation ul li a:hover{opacity: 0.8;}

/*-- btn-cta --*/

.navigation ul li a.btn-cta{
  margin: 15px 0;
  padding: 10px 20px;
  color:white;
}

.navigation-fixed.effect .navigation ul li a.btn-cta{color:white;}
.navigation ul li a.btn-cta:hover{opacity:1;}

/*-- logo --*/

.navigation .logo{
  width: 250px;
  float: left;
  padding: 0;
  height: 60px;
  margin: 5px;
  overflow: hidden;
  /*background: url('./../../images/body/nuevologo.png') no-repeat center center;*/
  background: url('./../../images/body/logo.png') no-repeat center center;
}

/*-- hamburguer --*/

.hamburguer{
  display: none;
  float: right;
  top:0;
  right: 0;
  margin:10px 0;
  width:30px;
  height:40px;
  position:relative;
  cursor:pointer;
  z-index: 9999;
  background: transparent;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}

.hamburguer:before{
  content:"Menú";
  display: block;
  float: right;
  margin:10px 50px 0 0;
  color:black;
}

.hamburguer span{
  position:absolute;
  display:block;
  height:2px;
  opacity: 1;
  top:10px;
  right:0;
  background: black;
  width:100%;

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}

.hamburguer span:nth-child(1){top:30%;}
.hamburguer span:nth-child(2){top:49.8%;}
.hamburguer span:nth-child(3){top:70%;}

.body-active .hamburguer span:nth-child(1){width:65%;}
.body-active .hamburguer span:nth-child(2){width:25%;}
.body-active .hamburguer span:nth-child(3){width:85%;}

/*-- submenu --*/

.navigation ul li ul {
  width: 200px;
  position: absolute;
  left: 0;
  display: block;
  z-index: 999999;
  overflow: visible;
  background: white;
  padding: 20px 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  border-radius: 10px;

  -webkit-box-shadow: 0px 50px 30px -30px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 50px 30px -30px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0px 50px 30px -30px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 50px 30px -30px rgba(0, 0, 0, 0.2);

  -webkit-transform: translate(0,5px);
  -moz-transform: translate(0,5px);
  -o-transform: translate(0,5px);
  transform: translate(0,5px);

}

.navigation ul li:hover ul {
  visibility: visible;
  opacity: 1;
  transform: translate(0,0);
  pointer-events: visible;
}

.navigation ul li ul li {
  float: left;
  display: block;
  width: 100%;
}

.navigation ul li ul li a{
  padding:5px 25px;
  margin:0;
  color:#4a403c;
  text-shadow: none;
  text-align: left;
  cursor: pointer !important;
}

.navigation ul li ul li a:hover{
  color:#353586;
}

li.submenu > a:before {
  position: relative;
  width: 10px;
  height: 10px;
  background: transparent;
  display: block;
  padding: 0;
  opacity: 1;
  float: right;
  margin-left:10px; 
  content: url("./../../images/icons/arrow_bottom_black.svg");
}

/*-- submenu 2 --*/

.navigation ul li.mas{display: none;}

.navigation ul li.mas > ul{
  left:-105px !important;
}

.navigation ul li ul li ul{
  left: -200px !important;
  top:-20px !important;
  visibility: hidden !important;
  opacity: 0 !important;
  -webkit-transform: translate(0,5px) !important;
  -moz-transform: translate(0,5px) !important;
  -o-transform: translate(0,5px) !important;
  transform: translate(0,5px) !important;
}

.navigation ul li ul li:hover ul{
  visibility: visible !important;
  opacity: 1 !important;
  transform: translate(0,0)!important;
}

/*li.mas > ul > li > a:before {content: url("./../../images/icons/arrow_left_black.svg") !important;}*/

@media screen and (max-width: 1280px){
  .navigation ul li.menos{display: none;}
  .navigation ul li.mas{display: block;}
}

@media screen and (max-width: 768px){
  .navigation ul li.menos{display: block;}
  .navigation ul li.mas{display: none;}
}


/*-- transitions --*/

.hamburguer span,
.navigation ul li ul,
li.submenu.active ul,
.navigation ul li a,
.body,
.body-active,
.navigation ul{
  -webkit-transition:all 350ms ease;
  -moz-transition:all 350ms ease;
  -ms-transition:all 350ms ease;
  transition:all 350ms ease;
}


@media screen and (max-width: 768px){

  .navigation-fixed,
  .navigation-fixed.effect{padding: 0;}
  .navigation-fixed-top{display: none;}
  .navigation-fixed{top:0;}

  /*-- body --*/

  .body {
    display: block;
    left:0;
    position: relative;
    height: 100%;
  }

  .body.body-active{
    left:-250px;
  }


 /*-- navigation-top --*/

 .navigation-top ul li{
    padding: 10px 0;
  }

  .navigation-top ul li:nth-child(1),
  .navigation-top ul li:nth-child(2){display:none;}
  .navigation-top ul li:nth-child(4){float:left;}

  /*-- navigation --*/

  .navigation ul{
    padding:40px 10px 10px 10px;
    display: block;
    overflow: hidden;
    position: fixed;
    background: #2C2C30;
    top:0;
    width: 250px;
    right:-250px;
    overflow-y: scroll;
    height: 100%;
  }

  .navigation ul li {
    display: block;
    width: 100%;
    position: relative;
    left: 0;
  }

  .navigation > ul > li:first-child{
    display:block;
    float:left;
    margin-bottom:20px;
  }

  .navigation ul li a{
    padding: 10px 20px;
    margin: 0;
  }

  .navigation ul li a:hover{
    background: #222222;
  }

  .navigation ul li a.btn-cta:hover{
    background: #cc2626;
  }

  .body.body-active .navigation ul{
    right:0;
  }

  .navigation ul li a,
  .navigation-fixed.effect .navigation ul li a{color:white;}

  /*-- submenu --*/

 
  li.submenu.active ul{display: block;}
  li.submenu.active a{background: #222222;}

  .navigation ul li:hover ul,
  .navigation ul li ul,
  li.submenu ul{
    float: left;
    width: 100%;
    position: relative;
    top:0;
    left:0;
    right: 0;
    
    visibility: visible;
    opacity: 1;
    
    display: none;
    transition:none;
    transform: none;
    border-radius: 0;
    box-shadow: none;
  }

  .navigation ul li ul {
    padding: 0;
  }

  .navigation ul li ul {background: transparent;}
  .navigation ul li ul li a,
  .navigation ul li ul li a:hover{color:white;}

  .navigation ul li ul li a{padding: 10px 20px;}

  li.submenu > a:before,
  .navigation-fixed.effect li.submenu > a:before{content: url("./../../images/icons/arrow_bottom.svg");}

  /*-- logo --*/

  .navigation .logo{
    /*width: 180px;*/
    width: 80px;
    height: 60px;
    margin: 0;
    background: url('./../../images/body/minilogo.png') no-repeat center center !important;
  }

  /*-- hamburguer --*/

  .hamburguer{
    display: block;
  }

}

@media screen and (min-width: 425px){
  .navigation .logo{
    width: 280px;
    height: 60px;
    margin: 0;
    background: url('./../../images/body/logo.png') no-repeat center center !important;
   
  }
}
    



