﻿body, html {
    height: 100%;
    font-family: "Roboto", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 400;
    height: 100%;
    width: 100%;
}

.col {
    width: 422px;
    max-width: 100%;
}

.btn, .btn-large, .btn-flat {
    border: none !important;
    border-radius: 2px !important;
    display: inline-block !important;
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 2rem !important;
    text-transform: uppercase !important;
    vertical-align: middle !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none !important;
    color: #fff !important;
    font-size: 16px !important;
}

.waves-effect {
    position: relative !important;
    cursor: pointer !important;
    display: inline-block !important;
    overflow: hidden !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    vertical-align: middle !important;
    z-index: 1 !important;
    -webkit-transition: .3s ease-out !important;
    transition: .3s ease-out !important;
}

a {
    color: #039be5 !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

form {
    width: calc(100% - 20px);
    max-width: 422px;
    padding: 20px;
    vertical-align: middle;
    margin: 0 auto;
    text-align: center;
}

.fundo {
    background-color: white;
    border-radius: 5px;
    height: max-content;
    padding: 35px;
}

#logo-pa {
    text-align: center;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 20px;
    width: 320px;
}

.input-field .prefix ~ input {
    margin-left: 0 !important;
    padding-left: 3rem !important;
    -webkit-transition: color .2s !important;
    font-size: 14px;
}

.password-field {
    padding-top: 0 !important;
}

.login-field {
    padding-top: 5px !important;
}

.row {
    margin-bottom: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.input-field {
    margin-top: 0 !important;
    padding: 0 0.3rem !important;
}

.opcoes-field {
    text-align: center;
    font-size: 12px;
    color: #4dabfb;
}

    .opcoes-field span:hover {
        text-decoration: underline !important;
        cursor: pointer;
    }

.input-field input[type=text], .input-field input[type=password] {
    color: rgba(0,0,0,0.87) !important;
}

.input-field .prefix.active {
    color: #4dabfb !important;
}

.input-field .prefix {
    color: #1c6bb7 !important;
}

.input-field input[type=text].valid, .input-field input[type=password].valid {
    box-shadow: 0 0 0 0 #fff !important;
}
/* label focus color */
.input-field input[type=text]:focus + label, .input-field input[type=password]:focus + label {
    color: rgba(0,0,0,0.54) !important;
}
/* label underline focus color */
.input-field input[type=text]:focus, .input-field input[type=password]:focus {
    border-bottom: 1px solid #4dabfb !important;
    box-shadow: 0 0 0 0 #4dabfb !important;
}

.material-icons {
    font-size: 24px !important;
    line-height: 2 !important;
}

input[type=text]:not(.browser-default), input[type=password]:not(.browser-default) {
    border-color: rgba(0,0,0,0.14) !important;
}

#btn-login {
    text-transform: unset !important;
}

.toast .toast-action {
    color: #eeff41 !important;
}

#logo-mega {
    margin: 35px;
    width: 90px;
}

.input-field input[type=text].valid, .input-field input[type=password].valid {
    box-shadow: 0 0 0 0 #fff !important;
}

.input-field input[type=text]:focus, .input-field input[type=password]:focus {
    border-bottom: 1px solid #4dabfb !important;
    box-shadow: 0 0 0 0 #4dabfb !important;
}

.btn-flat {
    color: #039be5 !important;
}

    .btn-flat:first-child {
        color: rgba(0,0,0,0.54) !important;
    }

td, th {
    padding: 0;
}

label {
    margin-bottom: 0 !important;
}

.ahashakeheartache {
    -webkit-animation: kf_shake 0.4s 1 linear;
    -moz-animation: kf_shake 0.4s 1 linear;
    -o-animation: kf_shake 0.4s 1 linear;
}

input[type=text].invalid:not(.browser-default),
input[type=password].invalid:not(.browser-default) {
    box-shadow: 0 0 0 0 #fff !important;
    border-bottom: 1px solid #F44336 !important;
}

.dxcaTextBoxCellNoIndent_Moderno {
    padding-bottom: 0px !important;
}

@-webkit-keyframes kf_shake {
    0% {
        -webkit-transform: translate(30px);
    }

    20% {
        -webkit-transform: translate(-30px);
    }

    40% {
        -webkit-transform: translate(15px);
    }

    60% {
        -webkit-transform: translate(-15px);
    }

    80% {
        -webkit-transform: translate(8px);
    }

    100% {
        -webkit-transform: translate(0px);
    }
}

@-moz-keyframes kf_shake {
    0% {
        -moz-transform: translate(30px);
    }

    20% {
        -moz-transform: translate(-30px);
    }

    40% {
        -moz-transform: translate(15px);
    }

    60% {
        -moz-transform: translate(-15px);
    }

    80% {
        -moz-transform: translate(8px);
    }

    100% {
        -moz-transform: translate(0px);
    }
}

@-o-keyframes kf_shake {
    0% {
        -o-transform: translate(30px);
    }

    20% {
        -o-transform: translate(-30px);
    }

    40% {
        -o-transform: translate(15px);
    }

    60% {
        -o-transform: translate(-15px);
    }

    80% {
        -o-transform: translate(8px);
    }

    100% {
        -o-origin-transform: translate(0px);
    }
}

@media only screen and (max-device-width: 740px) {
    form p:last-child {
        padding-top: 6px;
    }

    input:not([type]), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea {
        margin: 0 0 20px 0;
    }

    #logo-mega {
        width: 100px;
    }

    .toast > span {
        font-size: 15px !important;
        line-height: 18px !important;
    }

    .toast > button {
        padding: 0 1px !important;
        width: 113px;
        position: relative;
        float: right;
        margin-left: 27px !important;
    }

    #toast-container {
        bottom: 0 !important;
        top: auto !important;
        max-width: 100% !important;
    }

    .toast {
        width: auto !important;
        min-width: 300px;
        max-width: 100% !important;
        justify-content: center;
        border-radius: 0 !important;
        padding-left: 20px !important;
    }
}

@media only screen and (max-device-width: 530px) {
    #divContent {
        justify-content: space-evenly !important;
        padding: 10px 0 80px 0;
    }

    #logo-pa {
        padding-top: 40px;
        padding-bottom: 0;
        width: 80% !important;
    }
}

@media only screen and (max-device-width: 480px) {

    form p:last-child {
        padding-top: 0;
    }

    #logo-pa {
        width: 230px;
        padding-top: 80px;
        padding-bottom: 0 !important;
    }

    input:not([type]), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea {
        margin: 0 0 20px 0;
    }

    .fundo {
        height: max-content;
        padding: 20px;
    }

    .toast > span {
        padding-right: 10px;
        font-size: 12px !important;
        line-height: 18px !important;
    }

    .toast > button {
        padding: 0 1px !important;
        width: 113px;
        position: relative;
        float: right;
        margin-right: 0px !important;
        margin-left: 0px !important;
    }
}

/*for iPhone X landscape view*/
@media only screen and (device-width : 812px) and (device-height : 375px) and (-webkit-device-pixel-ratio : 3) {
    #logo-pa {
        padding-top: 20px;
        padding-bottom: 0;
        width: 180px;
    }

    .fundo {
        height: 160px;
        padding: 10px;
    }

    input:not([type]), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea {
        margin: 0 0 20px 0;
    }

    #logo-mega {
        padding-top: 0px;
        width: 82px;
        position: fixed;
        bottom: 30px;
        left: 45%;
    }

    form p:last-child {
        padding-top: 6px;
    }
}

#btn-login label {
    color: white !important;
    text-transform: unset !important;
}

#recuperar-senha {
    padding: 30px !important;
}

.login_ad {
    color: #FFFF;
    width: 390px;
}

.invisivel {
    display: none !important;
}

#toast-container {
    z-index: 1;
    bottom: 15%;
    top: auto !important;
    display: flex !important;
    right: auto;
    flex-direction: column;
    align-items: center !important;
    justify-content: end !important;
    height: 100%;
    width: 100%;
    max-width: 100%;
    pointer-events: none;
}

.toast {
    width: auto !important;
    min-width: 300px;
    max-width: 80%  ;
    justify-content: center;
    border-radius: 25px;
    pointer-events: auto;
}

    .toast > button {
        min-width: max-content !important;
    }

    .toast > span {
        word-break: break-word;
    }

#divContent {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    display: flex !important;
    align-items: center;
    justify-content: start;
    overflow: auto;
}

.divCaptcha {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 78px;
    transition: all 0.3s ease;
    gap: 10px;
    margin: 10px;
}

    .divCaptcha > p {
        color: red;
        font-size: 12px;
        margin: 0 !important;
    }

@media screen and (max-height: 640px) {
    #logo-pa {
        padding-top: 40px !important;
        width: 250px;
    }

    form {
        padding: 0 20px !important;
    }
}

#divSpinner {
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    #divSpinner.invisible {
        opacity: 0;
        z-index: unset;
    }

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}

    .dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .dot:nth-child(2) {
        animation-delay: -0.16s;
    }

@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}
