@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;
    justify-content: center;
    align-items: center;
    background-color: rgb(235, 235, 235);
}


.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;
}

/* 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: 0 1 auto;
}

.c-section {
    display: flex;
    flex-direction: row;
    max-width: 980px;
    width: 100%;
    background-color: white;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    -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);
}

.content {
    display: block;
    width: 680px;
}

.r-content {
    width: 300px;
    padding: 48px 40px 36px 10px;
}

.c-form-box {
    position: relative;
    display: block;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 48px 40px 36px;
    text-align: center;
}

/*
----------------------- FORMULARIO -----------------------
*/

input,
textarea {
    border: 1px solid #c2c2c2;
    outline: none;
    border-radius: 3px;
    padding: 5px;
    background-color: #e4e4e4;
}

input[type="submit"] {
    padding: 5px 10px;
    margin-top: 5px;
}

.hidden {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.checkboxes label {
    display: block;
    float: left;
}

input[type="radio"]+span {
    display: block;
    border: 1px solid #c2c2c2;
    border-left: 0;
    border-radius: 5px;
    padding: 5px 10px;
}

label:first-child input[type="radio"]+span {
    border: 1px solid #c2c2c2;
}

input[type="radio"]:checked+span {
    background: #295FB6;
    color: #fff;
}

form {
    /*width: 100%;*/
    /*max-width: 80%;*/
    margin: 0 auto;
    position: relative;
    font-weight: 300;
}

.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;
    height: 35px;
}

.inputBoxFlex {
    position: relative;
    display: flex;
    margin: 15px 0;
    /*text-align: left;*/
    line-height: 2.5rem;
    padding: 0px;
    justify-content: space-between;
    align-items: center;
    height: 35px;
}

/*
position: relative;
display: flex;
margin: 15px 0;
line-height: 2.5rem;
padding: 0px;
height: 35px;
flex-wrap: wrap;
*/

.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;
}

.inputUser80 {
    display: block;
    line-height: 3rem;
    height: 35px;
    width: 80%;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;
}

.inputSmallText {
    font-size: 1.5rem;
    line-height: 2.4rem;
    font-weight: 300;
    margin-left: 10px;
}

.pwCheckbox {
    vertical-align: middle;
    margin: 0 0 0 10px;
    position: relative;
    top: -1px;
}

.password-label-checkbox {
    display: block;
}

.labelPw {
    display: inline-block;
}

.radiobg {
    margin-left: 5px;
}

.dateUser {
    font-size: 1.5rem;
    line-height: 2.4rem;
    font-weight: 300;
    margin: 0 10px;
    background-color: transparent;
}

.inputRadio {
    font-size: 1.5rem;
    line-height: 2.4rem;
    font-weight: 300;
    margin: 0 10px;
}

.inputUser:focus,
.inputUser80: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,
.inputUser80:focus~.labelInput,
.inputUser80: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;
}

.box-selection {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
}

.actionBox {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: #414141;
}

.actionBox a:hover {
    color: #2a6dff;
    font-weight: 500;
}

.box1 {
    display: flex;
    justify-content: flex-end;
    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;
    align-items: flex-start;
    justify-content: flex-start;
    /*margin-top: 5rem;
    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: 0;
    left: 0;
    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;
    cursor: pointer;
}

.box3 a:hover {
    font-weight: 500;
}

/*
----------------------- 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 {
    background-color: white;
}

/*
----------------------- MEDIAQUERY BREAKPOINTS -----------------------
*/

@media (max-width: 985px) {
    .r-content {
        display: none;
    }
}

@media (max-width: 760px) {

    html {
        font-size: 60%;
    }

    .main-container {
        max-width: 95%;
        min-width: 320px;
    }
}

@media (max-width: 630px) {

    .inputBoxFlex {
        flex-wrap: nowrap;
    }

    .inputUser80 {
        width: 70%;
    }

    .inputSmallText {
        margin-left: 2px;
    }

    .password-label-checkbox {
        position: relative;
        margin-top: 5px;
    }

    .pwCheckbox {
        margin-left: 0;
    }
}

@media (max-width: 500px) {

    .c-form-box {
        padding: 48px 20px 36px;
    }
}