body{
    width: 100%;
    margin: 0;
    font-size: 16px;
}


/* LOGIN */
.login-page {
    background: #001960;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

.login-content{
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 350px;
    max-width: 100%;
    box-shadow: 0px 0px 15px 5px #000438;
    margin: 15px;
}

.login-content img{
    max-height: 60px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.form-label{
    font-weight: 600;
}

.alert {
    font-size: 13px;
    margin-top: 20px;
    padding: 5px;
    margin-bottom: 0;
}
#alerta-search{
    display: flex;
    align-items: center;
}
.selo{
    min-width: 60px;
    position: relative;  
}
.selo img{
    width: 60px;
}
.valor-selo {
    position: absolute;
    left: 23px;
    top: 3px;
    font-size: 22px;
    font-weight: 700;
    color: #002c70;
}

.div-password{
    position: relative;
}
#plain-password, #hidden-password {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 38px;
    border-radius: 0 5px 5px 0;
    border: 1px solid #ced4da;
}
#hidden-password {
    display: none;
}


/* Pesquisa */
.topbar {
    display: flex;
    height: 60px;
    align-items: center;
    background: #fff;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0px 0px 15px 1px #000;
}
.topbar .div-logo img {
    max-height: 45px;
}
.div-logo {
    display: flex;
    align-items: center;
}
.div-logo .div-user {
    margin: 0 15px;
    font-weight: 500;
    font-size: 15px;
}
.page {
    background: #001960;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}
.page .content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 15px;
    flex-direction: column;
}
.page .box-content {
    background: #fff;
    width: 600px;
    max-width: 100%;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 15px 5px #000438;
}
.page .content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.6em;
}

#error-cpf-cnpj,
#error-telefone,
#error-cep {
    color: red;
    display: none;
    font-size: 14px;
}

.submit-load {
    display: flex;
    align-items: center;
}
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 0 15px;
    display: none;
}

/* Alerta JS desativado */
.alerta-js{
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.alerta-js p{
    background: #001960;
    padding: 10px;
    color: #fff;
    margin: 0;
    text-align: center;
}

/* Box de preferências */
.preferências {
    font-size: 16px;
    position: fixed;
    right: 15px;
    bottom: 15px;
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #001960;
    border: 1px solid;
}
.preferências a {
    background: #fff;
    font-weight: 500;
    min-width: 35px;
    margin: 0 2px;
}
.preferências span {
    margin-right: 15px;
}

/* Redefinição preferencias fonte */
.alert {
    font-size: 1em;
    font-weight: 500;
}
.form-control {
    font-size: 1em;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    .login-content {
        margin-top: -30px;
    }
    .page .content {
        margin: 2rem 15px 4rem 15px;
    }
}