﻿
:root {
    --cor1: #1fbae2;
    --cor2: #155e71;
    --cor_txt1: #000;
    --cor_txt2: #fff;
    --cor_fundo1: #f2f5f9;
    --cor_fundo2: #fff;
    --detalhe: #e4e4e4;
    --fonte: "Assistant-Regular";
    --cabecalho: url('../images/cabecalho-layout.png');
    --logo: url('../images/logo.png');
    --logo_cor_fundo: #f2f5f9;
    --logo_size: auto;
    --logo_login: url('../images/logo.png');
    --logo_login_size: auto;
    --banner_login: url('../images/imagem-login.png');
    /*--cabecalho: #bf3939;*/
    --imgImportacao: url('../images/logo-importacao.png');
    --imgExportacao: url('../images/logo-exportacao.png');
    --imgDrawback: url('../images/logo-drawback.png');
}

body {
    min-height: 100%;
    width: 100%;
}

/* #region Fonts */
@font-face {
    font-family: 'Assistant-Bold';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("../fonts/Mada/Mada-Bold.ttf");
}

@font-face {
    font-family: 'Assistant-ExtraLight';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("../fonts//Mada/Mada-ExtraLight.ttf");
}

@font-face {
    font-family: 'Assistant-Light';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("../fonts/Mada/Mada-Light.ttf");
}

@font-face {
    font-family: 'Assistant-Regular';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("../fonts/Mada/Mada-Regular.ttf");
}

@font-face {
    font-family: 'Assistant-SemiBold';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url("../fonts/Mada/Mada-SemiBold.ttf");
}

/* #endregion */

header {
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.min-header {
}

    .min-header .menu {
        position: absolute;
        top: calc(calc(3.4vh + 2.4vw) - calc(3vh + 2vw));
        left: calc(200px + 1vh + 1vw);
    }
        .min-header #logoCabecalho {
            height: 60px !important;
            background-size: 100%;
            width: calc(160px + 1vh + 1vw);
        }

    .min-header .cabecalho {
        height: calc(3.4vh + 2.4vw);
        transition: 0.8s;
    }

body {
    font-family: var(--fonte);
    background-color: var(--cor_fundo1);
}

hr {
    background-color: var(--detalhe);
}

nav.cabecalho {
    height: calc(8vh + 2.5vw);
    max-height: 125px;
    min-height: 60px;
    color: white;
    font-size: calc(7px + .5vh + .5vw);
    background: var(--cabecalho);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    transition: 0.8s;
}

nav.cabecalho .container-left {
    float: left;
}

#logoCabecalho {
    background: var(--logo);
    background-color: var(--logo_cor_fundo);
    background-repeat: no-repeat;
    background-position: center;
    background-size: var(--logo_size);
    padding: 10px 20px;
    border-radius: 60px;
    height: 120px;
    width: 300px;
    cursor: pointer;
    transition: 0.5s;
}

nav.cabecalho .container-right {
    float: right;
}

span#nomeUsuario {
    font-weight: bold;
    color: var(--cor_txt2);
    margin-right: 1.5vw;
    position: relative;
}

    span#nomeUsuario:before {
        content: '';
        position: absolute;
        bottom: -5px;
        border-bottom: 5px solid var(--cor1);
        width: 50%;
        right: 0;
    }

#botoesHeader{
    height: 100%;
    display: inline-block;
    font-size: 26px;
}

/* BOTAO SAIR */
a#botaoSair {
    position: absolute;
    top: 1.5%;
    right: 0.5%;
    font-size: 1.3rem;
    cursor: pointer;
    color: white;
}

a#botaoSair:hover {
    text-shadow: 0 0 2px white;
    text-decoration: none;
}

nav.menu {
    background-color: var(--cor1);
    padding: 0;
}

    nav.menu .caixa-opcoes {
        margin: 0 0 0 2.5vw;
    }

    nav.menu .caixa-opcoes .selecionado {
        background-color: var(--cor_fundo1) !important;
        border-color: var(--cor_fundo1) !important;
        color: var(--cor_txt1) !important;
        padding-top: 25px !important;
        font-size: calc(7px + .5vh + .3vw) !important;
    }

        nav.menu .caixa-opcoes .opcao {
            color: var(--cor_txt2);
            font-weight: bold;
            font-size: calc(3px + .5vh + .3vw);
            margin: 0;
            height: 100%;
            padding: calc(0.5vw + 0.5vh);
            line-height: 1;
            cursor: pointer;
            display: inline-block;
            /*Abas*/
            border: 1px solid;
            margin-right: -6px;
            margin-bottom: -1px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            transition: 1s;
            /*Abas*/
        }

    nav.menu .caixa-opcoes .opcao a {
        color: inherit;
    } 

nav.menu .caixa-opcoes .opcao:hover {
    text-shadow: 0 0 2px white;
}

header {
    margin-bottom: 1.5em;
}

/*ERRO TOPO*/

    header #erroTopoContainer {
        display: none;
        position: absolute;
        width: 100%;
        z-index: 10;
    }

    header #erroTopo {
        border-top: 5px solid #ccc;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        background-color: white;
        padding: 0.6em;
        background: rgb(233,97,97);
        cursor: pointer;
    }

        header #erroTopo #erroContent {
            color: #fff;
            font-weight: bold;
            width: 95%;
            display: flex;
            flex-direction: column;
        }

            header #erroTopo #erroContent #erroTitle {
                font-weight: bold;
                padding-left: 0.5rem;
                font-size: 25px;
            }

            header #erroTopo #erroContent #erroTexto {
                color: #fff;
                font-weight: normal;
                text-align: justify;
                overflow-wrap: break-word;
                font-size: 20px;
                width: 95%;
                padding-left: 1.5rem;
            }

        header #erroTopo #fecharErroTopo {
            width: 3%;
            font-size: calc(17px + 0.45vh + 0.45vw);
            background: none;
            text-align: center;
            cursor: pointer;
            color: #fff;
        }


            header #erroTopo #fecharErroTopo:hover {
                text-shadow: 0 0 3px #fff;
            }

/* SUCESSO TOPO */

    header #sucessoTopoContainer {
        display: none;
        position: absolute;
        width: 100%;
        z-index: 10;
    }

        header #sucessoTopoContainer #sucessoTopo {
            border-top: 5px solid #ccc;
            height: 100%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            background-color: white;
            padding: 0.6em;
            background: rgb(102 193 66);
            cursor: pointer;
        }

        header #sucessoTopoContainer #sucessoTopo #sucessoTexto {
            color: #fff;
            font-weight: bold;
            text-align: justify;
            overflow-wrap: break-word;
            font-size: 23px;
            width: 95%;
            padding-left: 1.5rem;
        }

        header #sucessoTopoContainer #sucessoTopo #fecharSucessoTopo {
            width: 3%;
            font-size: calc(17px + 0.45vh + 0.45vw);
            background: none;
            text-align: center;
            cursor: pointer;
            color: #fff;
        }


            header #sucessoTopoContainer #sucessoTopo #fecharSucessoTopo:hover {
                text-shadow: 0 0 3px #fff;
            }

/* sobreposição bootstrap */
.dropdown:hover > .dropdown-menu {
    display: block;
}

table tbody tr {
    background-color: var(--cor_fundo1);
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--cor2);
    color: white;
    border-top: 1vh solid var(--cor1);
    text-align: center;
    padding: 10px 0;
}