* {
    padding:0;
    margin:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    list-style: none;
}

 
 /*---------------------MENU---------------------*/

#contenedor{
    padding-bottom: 0em;
    margin-bottom: 0em;
}
#contenedorCabecera {
    background: none!important;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    #contenedorCabecera {height: initial !important;}
} 
@media (max-width: 500px) {
    #contenedorCabecera {height: 3.2em !important;}
}
 

 .logo-responsive{
    display: none;
 }
 @media screen and (max-width: 500px) {
    .logo-responsive img{
        width: 145px;
    }
 }
.submenu a{padding-right: 30px;}
.arrow_carrot-down:before{position: absolute; top: 13px; right: 7px;}

header {
    max-width: 1280px;
}
 
header nav {
    z-index:1000;
    display: flex;
    width: 1280px;
    position: relative;
}
header nav .logo{
    align-content: flex-end;
    width: 10%;
    position: relative;
}
header nav .logo img{
    width: 160px;
    position: absolute;
    top: -20px;
    left: 10px;
 }
header nav ul {
    justify-content: flex-end;
    align-items: flex-start;
    display: flex;
    width: 90%;
}
 
header nav ul li {
    position: relative;
    max-width: 286px;
    box-sizing: border-box;
    z-index: 99;
}

header nav ul li a.linea{
    background:url(/img/all/menu_principal/linea-gris.jpg) no-repeat right 18px transparent;
}


header nav ul li:last-child{
    border:none;
}

header nav ul li a {
    color:#536068;
    display:block;
    text-decoration:none;
    padding: 13px 12px;
    font-size: 14px;
    box-sizing: border-box;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
header nav ul li.submenu{
    position: relative;
}
header nav ul li .children {
    position: absolute;
    display: none;
    z-index:1000;
    padding: 10px;
    margin-top: 4px;
    /*width: 728px;*/
    width: 360px;
    padding: 0 0 0 0px;
}
 
header nav ul li .children li {
    display:block;
    overflow: hidden;
    max-width: 400px;
    border-right: none;
}
 
header nav ul li .children li a {
    display: block;
    border-bottom: 1px solid #ededed;
    width: 100%;
    font-size: 13px;
    line-height: 20px;
    padding: 15px 15px 15px 30px!important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;

}
header nav #sub_soluciones_fer a {
    border-bottom: none;
}
header nav ul li .children li a:hover {
    background-color: #da0c1d;
    color: #fff;
}
header nav ul li .children li a:focus{
    text-decoration: none !important;
} 
header nav ul li .children li a span {
    float: right;
    position: relative;
    top:3px;
    margin-right:0;
    margin-left:10px;
}
 
header nav ul li .caret {
    position: relative;
    top:3px;
    margin-left:10px;
    margin-right:0px;
}

.topnav{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.topnav .buscador{
    padding: 9px 11px;
    display: block;
    border-right: 1px solid #f2f2f2;
    height: 34px;
}

.menu-top{
   color: #536068;
    text-transform: uppercase;
    padding-right: 20px;
    font-size: 11px;
    text-decoration: none;
}

.children{
    background-color: #fff;
    display: block;
}

.super-children{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.super-children div{
    width: 100%;
}
.caf-mundo{
    margin-top: 30px;
}

.caf-mundo span{
    color: #da0c1d;
    position: absolute;
    font-size: 20px;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    width: 100%;
    top: 355px;
    animation: 2s fadeIn;
    animation-fill-mode: forwards;
  
    visibility: hidden;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    visibility: visible;
    opacity: 1;
  }
}

.user span{
  font-size: 14px;
  line-height: 1.33;
  border-radius: 0;
  border: none;
  width: 45px;
  height: 20px;
  padding-left: 10px;
}

.user span.idiomas{
  border-left: 1px solid #f2f2f2;
  border-right: 1px solid #f2f2f2;
  padding: 10px;
}
/**/


select {
       cursor: pointer;
    -moz-appearance: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    -webkit-user-select: none;
    outline: 0;
    padding: 0 15px 0 0;
    background: url(/img/all/cabecera/select-arrow.png) right 5px no-repeat;
}
/**/

.help, .user {
  color: #536068;
  font-size: 13px;
  line-height: 32px;
  cursor: pointer;
}

.user select, .user_movil select{
    border: none;
    background-color: transparent;
    font-size: 12px;
    color:#536068;
    cursor: pointer;
    margin-top: 8px;
}


.fa-search{
    color:#536068;
}

.icon_search

.content {
  color: #ffffff;
}

.menu_bar {
    display:none;
}

.line li a{
    position: relative;
}

.line li a:after{
    position: absolute;
    bottom: 11px;
    left: 0px;
    width: 100%;
    height: 4px;
    background-color: #da0c1d;
    content: "";
    opacity: 0;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
    transform: translateY(20px);        
}

.line li a:hover:after{
    opacity:1;
    transform: translateY(15px)
}

.line .activo {
    border-bottom: 2px solid #da0c1d;

}

.sub_activo {
    border-bottom: 4px solid #da0c1d!important;

}

.fa{
    padding-left: 10px;
}

.user_movil, .buscador_movil {
    display: none;
}
@media screen and (max-width: 1220px) {
    .line li a.activo:after{
    position: absolute;
    bottom: 15px;
    left: 0px;
    width: 100%;
    height: 4px;
    background-color: #da0c1d;
    content: "";
    opacity: 0;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
    transform: translateY(20px);        
    }
    .user_movil, .buscador_movil {
        display: block;
    }
    .user_movil{
        padding: 0 15px 15px 15px;
    }

    .user_movil select {
        font-size: 15px;
    }

}
/*---------------------MENU---------------------*/



/*---------------------PIE---------------------*/

.footer-top{
    background-color: #da0c1d;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-top button{
    text-transform: uppercase;
    background-color: transparent;
    padding: 10px 15px 10px 15px;
    border: 0.5px solid #fff;
    margin-top: 10px;
    cursor: pointer;
    color: #fff;
    min-width: 208px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    -webkit-transition: 0.3s background-color ease, 0.3s box-shadow ease;
    transition: 0.3s background-color ease, 0.3s box-shadow ease;
}

.footer-top button:hover{
    background-color: #fff;
    color: #da0c1d
}


.footer-bottom{
    padding: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-bottom p{
    color: #536068;
    font-size: 12px;
    margin-top: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.rrss-footer .social_youtube_circle{
    color: #536068;
    padding-right: 15px;
}

.rrss-footer .social_linkedin_circle{
    color: #536068;
}

.politica-cookies-web{
    margin-top: 10px;
}

.politica-cookies-web a{
    color: #536068;
    border-right: 1px solid #536068;
    font-size: 12px;
    padding-right: 10px;
    padding-left: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.politica-cookies-web a:hover{
    color: #757d82;
}

/*---------------------PIE---------------------*/


/*RESPONSIVE*/



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

    .logo{
        display: none;
     }

     .logo-responsive{
        display: block;
        z-index: 9999;
        margin-left: 15px;
     }
 
    .menu_bar {
        display:block;
        position: fixed;
        top:0; 
        right: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 9999;
    }    

    #menu_on{
        width:30px;
        height: 20px;
        position: relative;
        z-index: 2;
        float: right;
        margin-right: 25px;
        top: 30px;
    }
 
    .menu_bar .bt-menu {
        display: block;
        padding: 20px;
        color: #fff;
        overflow: hidden;
        font-size: 25px;
        font-weight: bold;
        text-decoration: none;
    }
 
    .menu_bar span {
        float: right;
        font-size: 40px;
    }


    #menu_on span{
        width: 100%;
        height: 4px;
        border-radius: 4px;
        display: block;
        position: absolute;
        background: #536068;
        transition: all 0.25s ease;
        transform-origin : 0px 100%;
    }

    #menu_on span:nth-child(2){
        top: calc(50% - 2px);
    }

    #menu_on span:nth-child(3){
        bottom: 0;
    }

  
/* Para poner X */
#menu_on.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 0px;
}

#menu_on.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#menu_on.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 18px;
  left: 3px;
}
/* FIN Para poner X */






    .fa-caret-down {
      float: right;
      padding-right: 8px;
    }

    .line li a:after{
        bottom: 15px;       
    }

    .caf-mundo{
        display: none;
    }

    .topnav{
        display: none;
    }
 
    header nav {
        width: 100%;
        /*height: calc(100% - 80px);*/
        height: 100%;
        position: fixed;
        right: -100%;
        padding: 16px;
        overflow: scroll;
        background-color: #fff;
        z-index: 99999;
        top: 80px;
        border-top: #d7d5d5 solid 1px;
    }

    header nav ul {
        flex-direction: column;
        margin-top: 0px!important;
        justify-content: flex-start;
        width: 98%;
    }
 
    header nav ul li {
        display: block;
        margin-bottom: 10px;
        max-width: 100%;
        width: 100%;
        border-right: none;
        border-bottom: #d7d5d5 solid 1px;
    }
 
    header nav ul li a {
        display: block;
        font-size: 16px;
    }  

    .submenu {
        /*max-width: 230px;*/
    }

    .arrow_carrot-down:before{
        top: 3px;
        right: 21px;
        font-size: 30px !important;
    }

    header nav ul li a.linea{
    background:none;
}

 
    header nav ul li:hover .children {
        display: none;
    }
 
    header nav ul li .children {
        position: relative;
        padding: 30px;
        padding-bottom: 0px;
        width: 100%;
    }

    .children{
        padding: 4px 30px 0px 30px !important;
    }
    .super-children{
        display: block;
    }
    header nav ul li .children li{
        padding-top: 0px;
        padding-bottom: 0px;
        max-width: 100%;
        
    }

    header nav ul li .children li a{
        font-size: 13px;
        line-height: 16px;
        padding: 11px 0 !important;
        border: none;
    }

    header nav ul li .children li a:hover{
        background-color: transparent;
        color: #536068;
    }

 
    header nav ul li .caret {
        float: right;
    }

    
    

/*---------------------PIE---------------------*/

/*footer {
   position:fixed;
   bottom:-630px;
   width:100%;
   background:#fff;
}*/


    .footer-top{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .top-buttom{
        display: flex;
        flex-direction: column;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }


    .footer-bottom{
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom p{
        margin-bottom: 30px;
        font-size: 14px;
    }

    .rrss-footer{
        margin-bottom: 20px;
    }

    .politica-cookies-web{
        margin-top: 10px;
    }

    .politica-cookies-web a{
        border-right: none;
        border-bottom: 1px solid #ededed;
        display: flex;
        flex-direction: column;
        padding-bottom: 10px;
        padding-top: 10px;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
    }
/*---------------------PIE---------------------*/

}
@media screen and (max-width: 500px) {
    #menu_on{
        top: 17px;
        right: 15px;
        margin-left: 0 !important;
    }
    header nav {
        top: 53px;
    }
}




/*RESPONSIVE*/
