.form {
    margin-top: 20%;
    padding: 30px;
    display: inline-block;
    background: #FFFFFF;
    text-align: left;
}

.form .label-title {
    display: block;
    text-align: center;
    padding-bottom: 10px;
    font-size: 20px;
    color: #566470;
}

.form .label-title span {
    display: inline-block;
    width: 40px;
    height: 1px;
    margin-top: 10px;
    background: rgb(15, 107, 177);
}

.form .links {
    padding-top: 10px;
    margin: 0;
}

.form .links a {
    font-size: 12px;
    color: rgb(142, 158, 174);
}

.form .links a:first-child {
    float: left;
}

.form .links a:last-child {
    float: right;
}

.form .bandeiras {
    text-align: center;
}

.form .bandeiras img {
    height: 15px;
    vertical-align: middle;
}

.form .bandeiras span {
    font-size: 12px;
    font-weight: bold;
    vertical-align: middle;
    display: inline-block;
    margin-left: 7px;
}

.form .authfast-id {
    position: relative;
}

.form .authfast-id input {
    padding-right: 48px;
}

.form .authfast-id .prefixo {
    position: absolute;
    right: 21px;
    top: 6px;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.form h4 {
    color: #566470;
}

.form .form-control:focus {
    border-color: #7b7b7b;
    box-shadow: 0 0 0 0.2rem #7b7b7b40;
}

.form .btn-primary {
    background-color: #9b9b9b;
    border-color: #9b9b9b;
    color: #ffffff;
}

.form .btn-primary:focus,
.form .btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 0 0.2rem #7b7b7b40;
}

.form .btn-primary:hover {
    background-color: #7b7b7b;
    border-color: #7b7b7b;
    color: #ffffff;
}

.form .btn-primary:not(:disabled):not(.disabled):active {
    background-color: #7b7b7b;
    border-color: #7b7b7b;
    color: #ffffff;
}

.box-acesso {
    position: relative;
    margin-top: 0;
}

.box-acesso .box-formulario {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 26%;
    left: 37%;
    top: 20%;
    background: #fff;
    border: 1px solid #542565;
}

.box-acesso .box-formulario .formulario {
    padding: 20px;
}

.box-acesso .box-formulario .formulario h1 {
    font-size: 20px;
    color: #1f443f;
    text-align: center;
    margin: 0;
    padding: 0;
}

.box-acesso .box-formulario .formulario h2 {
    font-size: 12px;
    line-height: 12px;
    color: #6e6f70;
    text-align: left;
    margin: 0;
    padding: 0;
}

.box-acesso .box-formulario .formulario .idioma {
    font-weight: bold;
    color: #6e6f70;
    height: 34px;
    line-height: 34px;
    background: #e6e5e5;
    padding: 0 10px;
    cursor: pointer;
}

.box-acesso .box-formulario .formulario .idioma img {
    float: right;
    margin-top: 9px;
}

.box-acesso .box-formulario .logo-anexus {
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -35px;
}

@media screen and (max-width: 991px) {
    .box-acesso .box-formulario .formulario .idioma {
        margin-top: 15px;
    }
    .box-acesso .box-formulario .formulario .bt-login {
        margin-top: 15px;
    }
}

@media screen and (max-width: 700px) {
    header {
        height: auto;
        text-align: center; 
    }
    header a.logo {
        position: static;
        display: inline-block;
        margin-top: 40px;
        margin-left: 0;
        margin-right: 0;
    }

    header .menu-out {
        float: none !important;
        height: auto;
        padding: 10px 0 40px 0;

    }
    header .menu-out a {
        display: block;
        line-height: normal;
        padding: 20px 0;
    }
}