html,
body {
    height: 100%;
}

body {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .checkbox {
    font-weight: 400;
}
.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    font-size: 1.4rem;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


label{
    font-size: 1.4rem;
}

#logo{
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#botonLogin{
    width: 100% !important;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    #logo{
        max-width: 90%;
    }

    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    body {
        display: inline !important;
        -ms-flex-align: start;
        -ms-flex-pack: start;
        -webkit-box-align: start;
        align-items: start;
        -webkit-box-pack: start;
        justify-content: start;

    }



}
