/* BOTON DE MENU */

.nav-bar{
    display: block;
    background: #028fcc;
    width: 100%;
    font-size: 1.5em;
    color: #fff;
    padding: 20px;
}
.bi{
    font-size: 1em;
    margin-right: 10px;
}
/* LOGO */
.logo__link{
    display: flex;
    align-items: center;
}
.logo__img{
    display: block;
    width: 60px;
    object-fit: contain;
}
.logo__label{
    font-size: 1.4em;
    margin-left: 3px;
    font-weight: 500;
    color: #028fcc;
}
/* NAVEGACION */
.navegacion{
    background: #028fcc;
    margin-left: -100%;
    position: absolute;
    transition: 0.8s ease all;
    width: 100%;
    z-index: 2;
}
.nav__item{
    margin: 5px 0;
    
}
.nav__link{
    display: block;
    padding: 15px 10px;
    color: #fff;
    font-size: 1em;
}
.nav__link:hover{
    background: #fff;
    color: #028fcc !important;
}
.subnav{
    background: #fff;
}
.subnav .nav__link{
    padding-left: 20px;
    color: #028fcc !important;
}
.subnav .nav__link:hover{
    background: #028fcc !important;
    color: #fff!important;
}
.active{
    margin-left: 0;
}
.subnav{
    height: 0;
    overflow: hidden;
    transition: 0.5s ease height;
}

/* para pantallas grandes */
@media (min-width:1240px){
    .nav-bar{
        display: none;
    }
    .navegacion{
        margin: 0;
        position: static;
    }
    .header{
        display: flex;
        align-items: center;
    }
    .main{
        display: flex;
        flex-wrap: wrap;
    }
    .header{
        padding: 5px 0;
        background: #028fcc; 
        position: relative;
        width: 100%;
    }
    .logo{
        padding: 0 20px;
    }
    .logo__label{
        color: #fff;
    }
    .container__subnav{
        position: relative;
    }
    .subnav{
        position: absolute;
        width: 200px;
        top: 50px;
        opacity: 0;
        overflow: hidden;
        z-index: 1000;
        visibility: hidden;
    }
    .container__subnav:hover .subnav{
        opacity: 1;
        visibility: visible;
    }
    .nav__item{
        margin: 0 10px;
    }
    .nav__link:hover{
        border-radius: 10px;
    }


}