﻿/*
z-index

    30 tela modal
    25 menu
    20 barra cabecalho/rodape
     5 barra secao


*/

html {
    height: 100%;
}

body {
    line-height: normal;
    color: #262626;
    font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    min-height: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    font-weight: 600;
}

/*body::after {
    content: '';
    display: block;
    height: 100px;
}*/

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 115px;
}

.fw-600 {
    font-weight: 600;
}

.p-viewer2 {
    float: right;
    margin-top: -32px;
    position: relative;
    cursor: pointer;
    padding-right: 10px;
    z-index: 4;
}


.container-tela {
    max-width: 700px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: .35rem;
    background-color: transparent;
}


.input-bg-white {
    background-color: #ffffff !important;
}

input.input-validation-error {
    border-color: red;
}

label {
    margin-bottom: 0px;
}

td {
    padding: 0px;
    line-height: normal;
    vertical-align: middle;
    border-top: none;
}

.salvarSize:Hover {
    background: #D99817;
    color: white;
}

.ab-menuzinho {
    height: auto;
    position: fixed;
    z-index: 25;
    width: 0px;
    top: 0;
    right: 0;
    background-color: white;
    /*overflow-x: hidden;*/
    transition: width 1s;
    border-left: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
}


    .ab-menuzinho a:hover {
        color: gray;
    }


.ab-atalhomenu {
    padding: 0px 8px 0px 32px;
    text-decoration: none;
    height: 48px;
    color: black;
    display: block;
    transition: 0.3s;
}

    .ab-atalhomenu label {
        position: relative;
        left: 20px;
        top: 14px;
        height: 36px;
        font-weight: 500;
        font-size: 14px;
    }

.ab-grid-linha {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(200, 200, 200);
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(200, 200, 200);
}


.ab-tela-padrao {
    margin: auto;
    background-color: transparent;
    width: 100%;
    /*border-bottom: solid 1px black;*/
}

.ab-tela-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 30; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.ab-barra-cabeca {
    display: inline-flex;
    background-color: white;
    height: 48px;
    width: 100%;
    position: sticky;
    left: 0px;
    top: 48px;
    border-bottom: solid 1px black;
    z-index: 20;
    padding: 0px 8px 0px 8px;
}

    .ab-barra-cabeca label {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 0px;
    }

.ab-barra-secao {
    position: relative;
    padding: 6px 8px 6px 8px;
    height: 30px;
    display: inline-flex;
    background-color: rgb(235, 235, 235);
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 5;
}

.ab-barra-rodape {
    display: inline-block;
    background-color: white;
    height: 48px;
    width: 100%;
    position: sticky;
    left: 0px;
    bottom: 0px;
    padding: 0px 8px 0px 8px;
}

.infra-pos-2juntos {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.infra-pos-solito {
    width: 100%;
}

.esquerdo {
    float: left;
    display: inline-block;
    width: 50%;
}

.direito {
    width: 50%;
    float: right;
    display: inline-block;
}

.centroesquerda {
    text-align: left;
}


.centrodireita, .esquerdadireita {
    text-align: right;
}


.esquerdinho {
    display: inline-block;
    width: 50%;
}

.direitinho {
    display: inline-block;
    width: 50%;
    /*right: 0px;*/
    float: right;
}


.ab-pnl-padrao {
    padding: 4px 8px 4px 8px;
}


.ab-moldura-padrao {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    padding: 1px 4px 1px 4px;
    vertical-align: middle;
}

.infra-cxa-imagem {
    /*background-color: yellow;
    background-image: url("../images/pencilBlack.png");*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


.ab-texto-conteudo {
    /*text-align: left;*/
    font-size: 14px;
    font-weight: 700;
    color: black;
    /*vertical-align: middle;
    position: relative;
    display: table-cell;*/
}

.ab-texto-nomecampo {
    /*text-align: left;*/
    font-size: 12px;
    font-weight: 500;
    color: black;
    /*vertical-align: middle;
    position: relative;
    display: table-cell;*/
}

/*campo com 12 caracteres */
.ab-tam-l12 {
    width: 120px;
}

/*.infra-cpo-botao {
    height: 30px;
    line-height: 28px;
    background-color: #ddd;
    border: solid 1px black;
    border-radius: 5px;
}

    .infra-cpo-botao label {
        height: 20px;
        line-height: 20px;
        color: rgb(0, 0, 238);
        cursor: pointer;
        top: 3px;
        left: 8px;
        display: table-cell;
        position: relative;
    }*/

.infra-cpo-botao {
    height: 30px;
    line-height: 28px;
    color: black;
    background-color: white;
    border: solid;
    border-color: rgb(55, 55, 55);
    border-width: 1px;
    border-radius: 5px;
    padding: 1px 4px 1px 4px;
    cursor: pointer;
}

    .infra-cpo-botao:hover {
        color: white;
        background-color: rgb(55, 55, 55);
    }


    .infra-cpo-botao label {
        height: 20px;
        font-size: 12px;
        font-weight: 700;
        line-height: 20px;
        cursor: pointer;
        top: 3px;
        left: 8px;
        display: table-cell;
        position: relative;
    }

.ab-botao-cabeca {
    display: inline-block;
    height: 48px;
    width: 48px;
    z-index: 20;
    cursor: pointer;
    border: none;
}


.ab-botao-rodape {
    display: inline-block;
    height: 48px;
    width: 48px;
    /*position: sticky;*/
    bottom: 0px;
    z-index: 20;
    cursor: pointer;
}

.ab-botao-abrir {
    /*background-color: #4dc247;*/
    width: 36px;
    height: 36px;
    margin: 6px 6px 6px 6px;
    border-radius: 18px;
    background-color: white;
    background-image: url("../images/pradireitablack.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
}

    .ab-botao-abrir:hover {
        background-image: url("../images/pradireitawhite.png");
        background-color: rgb(55, 55, 55);
    }


.ab-botao-incluir {
    /*background-color: #4dc247;*/
    width: 36px;
    height: 36px;
    margin: 6px 6px 6px 6px;
    border: solid;
    border-color: rgb(55, 55, 55);
    border-width: 1px;
    border-radius: 18px;
    background-color: white;
    background-image: url("../images/maisblack.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
}

    .ab-botao-incluir:hover {
        background-image: url("../images/maiswhite.png");
        background-color: rgb(55, 55, 55);
    }


.ab-botao-editar {
    /*background-color: #4dc247;*/
    width: 36px;
    height: 36px;
    margin: 6px 6px 6px 6px;
    border: solid;
    border-color: rgb(55, 55, 55);
    border-width: 1px;
    border-radius: 18px;
    background-color: white;
    background-image: url("../images/pencilblack.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
}

    .ab-botao-editar:hover {
        background-image: url("../images/pencilwhite.png");
        background-color: rgb(55, 55, 55);
    }


.ab-botao-voltar {
    /*background-color: #4dc247;*/
    width: 36px;
    height: 36px;
    margin: 6px 6px 6px 6px;
    border-radius: 18px;
    background-color: white;
    background-image: url("../images/voltarblack.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
}

    .ab-botao-voltar:hover {
        background-image: url("../images/voltarwhite.png");
        background-color: rgb(55, 55, 55);
    }

.ab-botao-fechar {
    /*background-color: #4dc247;*/
    width: 36px;
    height: 36px;
    margin: 6px 6px 6px 6px;
    border-radius: 18px;
    background-color: white;
    background-image: url("../images/xisblack.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
}

    .ab-botao-fechar:hover {
        background-image: url("../images/xiswhite.png");
        background-color: rgb(55, 55, 55);
    }

.ab-botao-menuzinho {
    /*background-color: #4dc247;*/
    width: 36px;
    height: 36px;
    margin: 6px 6px 6px 6px;
    border-radius: 18px;
    background-color: white;
    background-image: url("../images/pointsblack.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
}

    .ab-botao-menuzinho:hover {
        background-image: url("../images/pointswhite.png");
        background-color: rgb(55, 55, 55);
    }


.infra-cpo-numero {
    text-align: right;
    width: 100%;
}


@media screen and (max-width: 600px) {

    .infra-pos-2juntos {
        display: table;
    }

    .esquerdo {
        display: block;
        width: 100%;
        float: none;
    }

    .direito {
        width: 100%;
        display: block;
        float: none;
    }

    .centroesquerda, .centrodireita {
        text-align: center;
    }


    .esquerdadireita {
        text-align: left;
    }

    .ab-tam-l12 {
        width: 70px;
    }
}

@media screen and (max-width: 300px) {


    .esquerdinho {
        display: block;
        width: 100%;
    }


    .direitinho {
        display: block;
        width: 100%;
        float: none;
    }
}
