/* ================================================================ */
/* =============== ESTILOS DE LA HOME PAGE DE MIEL ================ */
/* ================================================================ */

/* =========== ENCABEZADO =========== */

#encabezado-home {
    height: 290px;
    background-image: url('../imagenes/bg_lapices.png');
    background-position: bottom;
    background-repeat: repeat-x;
}
#encabezado-home .logos {
    margin-top: 5px;
    margin-bottom: 5px;
}
#encabezado-home .logos img {
    height: 34px;
    width: auto;
}
#encabezado-home a {
    text-decoration: none;
}

/* =========== BARRA LATERAL =========== */

#nav-home {
    width: 320px;
    right: -320px;
    overflow-y: auto;
    z-index: 99;
    background-color: #555;
    -webkit-transition: right .4s;
    -moz-transition: right .4s;
    -ms-transition: right .4s;
    -o-transition: right .4s;
    transition: right .4s;
}

/* remove scrollbar on chrome */
#nav-home::-webkit-scrollbar {
    width: 0;
    background: transparent;
}
/* remove scrollbar on firefox */
#nav-home {
    scrollbar-width: none;
}

/* ========= CONTENIDO Y LOGIN ========= */

#contenido-home {
    -webkit-transition: margin-right 0.4s;
    -moz-transition: margin-right 0.4s;
    -ms-transition: margin-right 0.4s;
    -o-transition: margin-right 0.4s;
    transition: margin-right 0.4s;
}

#card-home {
    width: 100%;
    position: absolute;
    z-index: 8;
    left: 0;
    top: 70px;
    text-align: center;
    padding: 0 8px;
    box-sizing: border-box;

    -webkit-transition: width 0.4s;
    -moz-transition: width 0.4s;
    -ms-transition: width 0.4s;
    -o-transition: width 0.4s;
    transition: width 0.4s;
}

#card-home > div {
    width: 480px;
    position: relative;
    z-index: 10;
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    margin: 0 auto;
}

#card-home input {
    outline: none;
    padding: 6px 6px !important;
}

#card-login {
    padding: 32px 64px;
}

@media (max-width:600px) {
    #encabezado-home {
        height: 230px;
        background-image: none;
    }
    #card-home {
        top: 50px;
    }
    #card-login {
        padding: 16px 24px;
    }
}

/* Animacion de subrayado de los campos de login */
.input-bar {
    position: relative;
    display: block;
    width: 100%;
}

.input-bar:before,
.input-bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    background-color: #2196F3;
    position: absolute;
    transition: all 0.3s ease;
}
.input-bar:before { left: 50%; }
.input-bar:after { right: 50%; }

input:focus ~ .input-bar:before,
input:focus ~ .input-bar:after {
    width: 50%;
}

/* =========== BOTONERA FLOTANTE =========== */

#botonera-flotante {
    position: fixed;
    top: 25%;
    width: 210px;
    z-index: 10;
    -webkit-transition: margin-left 0.4s ease;
    -moz-transition: margin-left 0.4s ease;
    -ms-transition: margin-left 0.4s ease;
    -o-transition: margin-left 0.4s ease;
    transition: margin-left 0.4s ease;
}
#botonera-flotante > a {
    margin-bottom: 10px;
}