﻿@import url(//fonts.googleapis.com/css?family=Lato:300:400);

body {
    overflow: hidden;
    background-color: var(--cor-padrao-sistema);
}

.login-caixa {
    z-index: 1;
    margin: 0;
    height: 475px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    min-width: 335px;
    background-color: #fff;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px 20px;
}

.login-caixa__logo {
    width: 270px;
}

.login-caixa__campos {
    height: 215px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    color: #aaa;
}

.login-caixa__slider--cinza-claro {
    background-color: #aaa;
}

.login-caixa__acoes {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.login-caixa__entrar {
    width: 100%;
    border-radius: 20px;
    line-height: 40px;
    font-size: 20px;
    background-color: var(--cor-padrao-sistema);
    border: none;
    color: white;
    margin-bottom: 10px;
}

.login-caixa__esqueci-senha--cinza-claro {
    color: #aaa !important;
}

/* Text Field Outlined */
.text-field-outlined {
    border-radius: 5px;
    border: 1px solid #ccc;
    position: relative;
    transition: 150ms ease;
}

    .text-field-outlined:focus-within {
        border-color: var(--cor-padrao-sistema);
    }

    .text-field-outlined > input {
        outline: none;
        padding: 14px;
        font-size: 14px;
        background: none;
        position: relative;
        border: none;
        width: 100%;
    }

    .text-field-outlined > span {
        color: #ccc;
        font-size: 1.3rem;
        transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
        left: 15px;
        top: 0;
        bottom: 0;
        margin: auto;
        height: 5px;
        line-height: 1px;
        pointer-events: none;
        font-weight: bold
    }

    .text-field-outlined > input:valid ~ span {
        color: #aaa;
        background-color: #fff;
        font-size: 12px;
        transform: translateY(-24px);
        padding: 0 5px;
    }

    .text-field-outlined > input:focus ~ span {
        color: var(--cor-padrao-sistema);
        background-color: #fff;
        font-size: 12px;
        transform: translateY(-24px);
        padding: 0 5px;
        border-color: var(--cor-padrao-sistema);
    }

.waves {
    position: relative;
    width: 100%;
    margin-bottom: -7px; /*Fix for safari gap*/
    height: 100px;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

    .parallax > use:nth-child(1) {
        animation-delay: -2s;
        animation-duration: 7s;
    }

    .parallax > use:nth-child(2) {
        animation-delay: -3s;
        animation-duration: 10s;
    }

    .parallax > use:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 13s;
    }

    .parallax > use:nth-child(4) {
        animation-delay: -5s;
        animation-duration: 20s;
    }

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }

    100% {
        transform: translate3d(85px,0,0);
    }
}

@media (min-width: 768px) {
    .login-caixa {
        width: 500px;
        padding: 10px 40px;
    }

    .waves {
        height: 150px;
    }
}
