@import url('typo.css');
@import url('footer.css');

/*
----------------------- GLOBAL -----------------------
*/

/* HTML */
html,
body {
    height: 100%;
}

/*
:focus{
    outline: unset;
}
*/

body {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background-color: rgb(235, 235, 235);
    justify-content: center;
}

.fix-botton {
    /* fixar o rodapé embaixo*/
    position: fixed;
    bottom: 0;
    width: 100%;
}

/*
----------------------- ICONS -----------------------
*/

.icon {
    margin: 0 2px;
}

.icon .icon-box {
    height: 15px;
    width: 15px;
    background: transparent;
    line-height: 15px;
    text-align: center;
    font-size: 1.8rem;
    border-radius: 5px;
    transition-duration: 0.3s;
}

/*
----------------------- HEADER -----------------------
*/

header {
    display: flex;
    margin: 0 auto;
    width: 100%;
    background-color: #242424;
    -webkit-box-shadow: 0px 3px 10px -9px rgba(0, 0, 0, 0.81);
    -moz-box-shadow: 0px 3px 10px -9px rgba(0, 0, 0, 0.81);
    box-shadow: 0px 3px 10px -9px rgba(0, 0, 0, 0.81);
}

header .topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 980px;
    min-height: 120px;
    margin: auto;
}

/* LOGO */

#logo {
    display: block;
    margin: 0 auto;
    max-width: 50%;
    text-align: center;
}

#logo>img {
    max-width: 100%;
    max-height: 100%;
}

/*
----------------------- BODY -----------------------
*/

/* CONTEUDO */

.main-container {
    flex: 1 0 auto;
}

.login {
    flex: auto;
    height: 100%;
}


.box-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
}

.l-form-box {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 450px;
    min-width: 320px;
    height: 532px;
    background-color: white;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    padding: 48px 40px 36px;
    text-align: center;
    -webkit-box-shadow: 10px 3px 10px -9px rgba(0, 0, 0, 0.90);
    -moz-box-shadow: 1px 3px 10px -9px rgba(0, 0, 0, 0.90);
    box-shadow: 1px 3px 10px -9px rgba(0, 0, 0, 0.90);
}

/*
----------------------- FORMULARIO -----------------------
*/

input,
textarea {
    border: 1px solid #c2c2c2;
    outline: none;
    border-radius: 3px;
    padding: 5px;
    background-color: #e4e4e4;
}

form {
    width: 100%;
    /*max-width: 80%;*/
    margin: 0 auto;
    position: relative;
}

.inputBox {
    position: relative;
    /* SETANDO POSIÇÃO RELATIVA PARA PODER USAR ABSOLUTA NO LABEL */
    margin: 15px 0;
    text-align: left;
    line-height: 2.5rem;
    padding: 0px;
}

.inputUser {
    display: block;
    content: "\a";
    white-space: pre;
    line-height: 3rem;
    height: 35px;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;

}

.inputUser:focus {
    border-color: #295FB6;
}

.labelInput {
    /* COLOCANDO LABEL DENTRO DO INPUT E PREPARANDO PARA ANIMAÇÃO*/
    position: absolute;
    top: 5px;
    left: 10px;
    pointer-events: none;
    transition: .5s;
}

.inputUser:focus~.labelInput,
.inputUser:valid~.labelInput {
    top: -13px;
    font-size: 1.3rem;
}

span.labelbg {
    /*background-color: white;*/
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 1px 1px 3px #fff;
}

.inputSmallText {
    font-size: 1.5rem;
    line-height: 2.4rem;
    font-weight: 300;
    margin-left: 10px;
}

.pwCheckbox {
    vertical-align: middle;
    margin: 0 0 0 0px;
    position: relative;
    top: -1px;
}

.password-label-checkbox {
    display: block;
}

.actionBox {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: #414141;
}

.actionBox a:hover {
    color: #2a6dff;
    font-weight: bold;
}

.box1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 2.5rem;
}

.box1 input {
    cursor: pointer;
}

.box1 input:hover {
    background-color: #f0f0f0;
}

.box1 input:active {
    background-color: #888888;
}

.box2 {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 2rem;
    padding-top: 20px;
}

.box2 a {
    justify-items: flex-start;
    justify-content: space-between;
}

span.error {
    height: 12px;
    padding: 0;
}

span.error.active {
    margin: 0 auto;
    width: 100%;
    font-size: 13px;
    font-weight: 400;
    line-height: 12px;
    color: rgb(218, 36, 36);
    text-align: right;
    justify-content: flex-end;
    position: absolute;
    top: 37px;
    right: 0px;
}

.box3 {
    position: relative;
    bottom: 0px;
    left: 0px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.box3 a {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: normal;
    margin-top: 20px;
}

.box3 a:hover {
    font-weight: bold;
}

/*
----------------------- EFEITOS -----------------------
*/

/*UNDERLINE HOVER*/

.underline-hover {
    display: inline-block;
    position: relative;
}

.underline-hover::before {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    /*transform-origin: bottom center;*/
    transform-origin: bottom center;
    transition: transform 0.25s ease-out;
    -webkit-box-shadow: 0px 0px 2px 2px rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 10px 2px rgb(255, 255, 255, 0.1);
}

.underline-hover:hover::before,
.underline-hover:focus::before {
    transform: scaleX(1);
    transform-origin: bottom center;
}

/* GLOW BTN*/

.glow-btn:hover,
.menu-btn:focus,
.fab:focus {
    text-shadow: 0px 0px 1px #2a6dff,
        0px 0px 2px #2a6dff,
        0px 0px 5px #2a6dff,
        0px 0px 15px #2a6dff;
    outline: none;
}

/* GLOW BOX*/

footer.glow-box:hover,
footer.glow-box:focus,
.button:focus {
    -webkit-box-shadow: 0px 0px 2px 2px #2a6dff,
        0px 0px 5px 5px #2a6dff;
    box-shadow: 0px 0px 10px 2px #2a6dff,
        0px 0px 10px 2px #2a6dff;
    outline: none;
}

textarea:focus,
input:focus

/*div.search-panel:focus-within*/
    {

    /*-webkit-box-shadow: 0px 0px 4px 3px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 4px 3px rgba(0,0,0,1);
    box-shadow: 0px 0px 4px 3px rgba(0,0,0,1);*/
    background-color: white;
}

/*
----------------------- MEDIAQUERY BREAKPOINTS -----------------------
*/

@media (max-width: 760px) {

    html {
        font-size: 60%;
    }
}