﻿@font-face {
    font-family: 'Franklin Gothic Medium Cond';
    src: url('../fonts/framdcn.eot');
    src: url('../fonts/framdcn.eot#iefix') format('embedded-opentype'), url('../fonts/framdcn.ttf') format('truetype'), url('../fonts/framdcn.svg#Franklin Gothic Medium Cond') format('svg');
}

html, body {
    height: 100%;
}

body {
    background-color: rgb(243, 243, 243);
    font-family: "Poppins", sans-serif;
}

/* Globais */
*:focus {
    outline: none;
}

.clear {
    clear: both;
}

input[type='text'].input-validation-error,
input[type='password'].input-validation-error,
input[type='email'].input-validation-error {
    border: 1px solid #ff6868;
    background-color: #fff1f1;
}

    input[type='text'].input-validation-error:focus,
    input[type='password'].input-validation-error:focus,
    input[type='email'].input-validation-error:focus {
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
    }

.validation-summary-errors {
    color: white;
    font-size: 16px;
    background-color: #dc5b58;
    border-bottom: 1px solid #e37c79;
    padding: 5px 0;
    text-align: center;
}

.validation-summary-valid span,
.validation-summary-valid ul {
    display: none;
}

.validation-summary-errors ul {
    display: none;
}

/* Layout */

#body_login {
    display: flex;
    flex-direction: column;
}

    #body_login header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #FFFFFF;
        padding: 10px;
    }

header {
    border-bottom: 1px solid rgb(221, 221, 221);
}

    header .topo-logo {
        display: flex;
        align-items: center;
        width: 230px;
    }

        header .topo-logo img {
            width: 100%;
        }

    header .topo-itens-wrapper {
        background-color: #FFFFFF;
    }

    header .topo-itens {
        height: 63px;
        border-bottom: 1px solid rgb(221, 221, 221);
    }

    header .topo-contato {
    }

    header .topo-fone {
        color: rgb(0, 108, 140);
        font-size: 18px;
        text-align: right;
    }

        header .topo-fone a {
            color: rgb(0, 108, 140);
        }

    header .topo-atendimento {
        color: rgb(0, 108, 140);
        font-size: 0.8em;
        text-align: right;
    }

.noticias {
    position: relative;
    top: 20px;
    left: 20px;
    width: 335px;
    height: 300px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid rgb(221, 221, 221);
}

.titulo-noticias {
    color: #f7971d;
    font-size: 22px;
    padding-bottom: 5px;
}

#body_login main {
    height: 84vh;
    display: flex;
    gap: 20px;
    align-items: center;
    padding-left: 20px;
}

    #body_login main .area-propagandas {
        position: relative;
        border-left: 1px solid #ddd;
        flex-grow: 1;
        height: 100%;
        display: flex;
        overflow: hidden;
    }

        #body_login main .area-propagandas .botoes {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 95%;
            display: flex;
            justify-content: space-between;
            font-size: 35px;
        }

            #body_login main .area-propagandas .botoes i {
                cursor: pointer;
                transition: .5s all ease;
            }

                #body_login main .area-propagandas .botoes i:hover {
                    color: #F7971D;
                }

        #body_login main .area-propagandas img {
            min-width: 100%;
            height: auto;
            object-fit: cover;
            transition: all ease 1s;
        }

#body_login .login-frame {
    position: relative;
    width: 335px;
    height: 300px;
    background-color: white;
    border-radius: 6px;
    border: 1px solid rgb(221, 221, 221);
    flex-shrink: 0;
}

    #body_login .login-frame iframe {
        border: none;
    }

#login_frame {
    background-color: transparent;
    margin: 20px;
}

    #login_frame .titulo {
        color: #f7971d;
        font-size: 22px;
        padding-bottom: 5px;
    }

    #login_frame .validation-summary-valid {
        border-top: 2px solid #e9e9e9;
    }

    #login_frame .validation-summary-errors {
        margin-left: -20px;
        margin-right: -20px;
    }

    #login_frame .ultimo-usuario {
        margin-top: 57px;
        text-align: center;
    }

        #login_frame .ultimo-usuario #entrar_ultimo_usuario {
            background-color: #3f8abf;
            color: white;
            font-size: 16px;
            border: none;
            border-bottom: 1px solid rgb(101,161,204);
            float: left;
            padding: 8px 15px;
            border-radius: 5px;
            width: 295px;
            margin-bottom: 20px;
        }

            #login_frame .ultimo-usuario #entrar_ultimo_usuario:active {
                transform: scale(1.05, 1.05);
                box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
            }

        #login_frame .ultimo-usuario #nao_sou_ultimo_usuario {
            font-size: 16px;
        }

    #login_frame .campos {
        margin-top: 15px;
    }

        #login_frame .campos input {
            width: 295px;
            padding: 5px 0 5px 40px;
            border: 1px solid #e9e9e9;
            border-radius: 5px;
            font-size: 16px;
            background-repeat: no-repeat;
            background-position: left 5px center;
            margin-bottom: 15px;
        }

        #login_frame .campos #email, #emailEsqueciSenha {
            background-image: url("../images/login_usuario.png");
        }

        #login_frame .campos #senha {
            background-image: url("../images/login_senha_transparente.png");
            background-position: left 10px center;
        }

    #login_frame .botoes {
        margin-bottom: 30px;
    }

    #login_frame #autenticar, #redefinir {
        background-color: #3f8abf;
        color: white;
        font-size: 16px;
        border: none;
        border-bottom: 1px solid rgb(101,161,204);
        float: left;
        padding: 8px 15px;
        border-radius: 5px;
    }

        #login_frame #autenticar:active, #redefinir:active {
            transform: scale(1.05, 1.05);
            box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2)
        }

#esqueceu_a_senha, .voltar_para_login {
    float: right;
    font-size: 16px;
    color: #4da6ff;
    margin-top: 15px;
}

#login_frame .acesso {
    border-top: 2px solid #e9e9e9;
}

#login_frame .ou {
    background-color: white;
    width: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #e9e9e9;
    font-size: 16px;
    text-align: center;
    margin-top: -18px;
    margin-bottom: 35px;
}

.texto-esqueceu-senha, .texto-senha-alterada {
    color: #909090;
    margin-top: 5px;
    font-size: 1.05em;
}

.overlay-login {
    z-index: 2;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 6px;
    background-color: rgba(255,255,255, 0.8);
    display: none;
}

.loading-grande {
    background: url("../images/loading_grande.png") no-repeat center center;
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: 50%;
    margin-top: -50px;
    background-size: 75px;
    z-index: 10;
}

#body_login .login_empresa_frame {
    position: absolute;
    top: 330px;
    right: 50px;
    width: 335px;
    height: 225px;
    background-color: white;
    border-radius: 6px;
}

#login_empresa_frame {
    background-color: transparent;
    margin: 20px;
}

    #login_empresa_frame .titulo {
        color: #f7971d;
        font-size: 1.7em;
        padding-bottom: 5px;
    }

    #login_empresa_frame .validation-summary-valid {
        border-top: 2px solid #e9e9e9;
    }

    #login_empresa_frame .validation-summary-errors {
        margin-left: -20px;
        margin-right: -20px;
    }

    #login_empresa_frame .campos {
        margin-top: 15px;
    }

        #login_empresa_frame .campos input {
            padding: 5px 0 5px 40px;
            border: 1px solid #e9e9e9;
            border-radius: 5px;
            font-size: 16px;
            background-repeat: no-repeat;
            background-position: left 5px center;
            margin-bottom: 15px;
        }

        #login_empresa_frame .campos #Empresa_lookup {
            background-image: url("../images/icone-campo-filial.png");
            background-repeat: no-repeat;
            background-position: left 10px center;
            background-size: 21px;
        }


    #login_empresa_frame .botoes {
        margin-bottom: 30px;
    }

    #login_empresa_frame #entrar {
        background-color: #3f8abf;
        color: white;
        font-size: 16px;
        border: none;
        border-bottom: 1px solid rgb(101,161,204);
        float: left;
        padding: 8px 15px;
        border-radius: 5px;
    }

        #login_empresa_frame #entrar:active {
            position: relative;
            top: 3px;
        }

    #login_empresa_frame .acesso {
        border-top: 2px solid #e9e9e9;
    }

    #login_empresa_frame .ou {
        background-color: white;
        width: 30px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        color: #e9e9e9;
        font-size: 16px;
        text-align: center;
        margin-top: -18px;
        margin-bottom: 35px;
    }

    #login_empresa_frame .form-campo {
        margin-bottom: 0px;
    }

        #login_empresa_frame .form-campo .grande {
            width: 295px;
        }

    #login_empresa_frame div.input input {
        padding-right: 30px !important;
    }

#body_login .divTransparenteLogin {
    z-index: 5;
    position: absolute;
    top: 83px;
    right: 50px;
    width: 335px;
    height: 285px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
}

#body_login .divTransparente {
    z-index: 1;
    position: absolute;
    top: 397px;
    right: 50px;
    width: 335px;
    height: 225px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
}

#divTransparente {
    background-color: transparent;
    margin: 20px;
}

input[type='text']:focus:not(.input-validation-error) {
    background-color: #f4f9fb;
    border: 1px solid #88c6dd;
}

.lookupFocus {
    background-color: #f4f9fb;
    border: 1px solid #88c6dd !important;
}

#esqueceu_senha .validation-summary-errors {
    width: 295px;
    border-radius: 5px;
}

#campo_email_senha {
    padding-top: 7px;
}

#body_login footer {
    width: 100%;
    background-color: #FFFFFF;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-top: 1px solid rgb(221, 221, 221);
}

    #body_login footer p, #body_login footer h4 {
        margin: 0;
        padding: 0;
    }

.loading-gif {
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loading-gif p {
        font-size: 2.5rem;
    }

    .loading-gif .actions {
        display: flex;
    }

@media (max-width: 768px) {
    .area-propagandas {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .main {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}