:root {
    /* Cores Máquina solo */
    --mqs-laranja: #F1C400;
    --mqs-creme: #D6D2C4;
    --mqs-cinza: #999998;
    --mqs-grafite: #373A36;
    --mqs-dark: #151515;
    --h-controles: 40px;
    --h-rodape: 50px;
    --respiro: 80px;
    --h-barras: calc(var(--h-controles) + var(--h-rodape));
}

body {
    font-family: 'Arial', 'Verdana', 'Helvetica';
    margin: 0;
    padding: 0;
    background-color: white;
    overflow-x: hidden;
    min-height: 90vh;
}

.container {
    display: flex;
    flex-direction: column;
}

/* Fundos Cores Máquina solo */
.laranja-mqs {
    background-color: #F1C400;
}

.creme-mqs {
    background-color: #D6D2C4;
}

.cinza-mqs {
    background-color: #999998;
}

.grafite-mqs {
    background-color: #373A36;
}

.dark-mqs {
    background-color: #151515;
}

.branco {
    background-color: white;
}

/* Tabelas bootstrap */
table {
    font-family: 'Arial', 'Verdana', 'Helvetica';
}

.table-sm {
    font-size: 13px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}

.table-sm td,
.table-sm th {
    width: 1px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tabelas e paginadores customizados */
.rolar {
    overflow: auto;
}

td.min,
th.min {
    width: 1% !important;
    white-space: nowrap;
}

.listagem {
    max-height: calc(100% - var(--h-barras));
    height: 70vh;
}

.rodape {
    /* navbar paginacao */
    /* height: auto; */
    min-height: var(--h-rodape);
    background-color: var(--mqs-creme);
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.principal {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.controles {
    /* btn novo e filtros */
    height: fit-content;
    min-height: var(--h-controles);
}

input::placeholder {
    color: #D6D2C4;
}

input[type="search"]::-webkit-search-cancel-button {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    margin: auto;
    background-image: url('resources/img/close.svg');
    background-size: contain;
}

.paginacao {
    width: 100vw;
}

thead th {
    top: 0;
    position: sticky;
    z-index: 1;
    vertical-align: middle;
}

tbody th {
    left: 0;
    position: sticky;
    z-index: 1;
}

/* Formularios | controles */
.form-select {
    border: 1px solid #000 !important;
    box-shadow: none;
    margin: 0px;
    padding: 1px;
    border-radius: 0;
    width: 12.2em;
}

.combo {
    position: absolute !important;
    left: 0px !important;
    top: 0px;
    background-color: white !important;
    border: 1px solid #000 !important;
    border-radius: 0 0 5px 5px !important;
    border-top: none !important;
    font-family: sans-serif !important;
    width: 14em !important;
    padding: 5px !important;
    max-height: 10rem !important;
    overflow-y: auto !important;
}

.combo .option {
    background-color: white !important;
    padding: 4px !important;
    color: blue !important;
    margin-bottom: 1px !important;
    font-size: 18px !important;
    cursor: pointer !important;
}

.combo .option:hover {
    background-color: lightblue !important;
}

/* imputs e combos largos */
.wide {
    width: 16em;
}

/* Botões */
.btn-add {
    background-color: #F1C400;
    color: #333;
    width: 250px;
    box-sizing: border-box;
    font-weight: normal;
    float: left;
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    margin: 0;
    text-align: center;
    font-size: 12px;
}

.btn-add :hover {
    background-color: #ddd;
}

.btn-gravar {
    background-color: #D6D2C4;
    /* #373A36 #999998 */
    /* color: #FFF;  */
    width: 150px;
    box-sizing: border-box;
    font-weight: normal;
    float: left;
    text-decoration: none;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    margin: 0;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
}

.btn-gravar span {
    line-height: 18px;
}

/* Exibição de Dicas */
.teller {
    cursor: pointer;
    position: relative;
    color: #000;
}

.teller:hover {
    color: #F1C400;
}

.teller .tip {
    visibility: hidden;
    text-align: center;
    border-radius: 6px;
    padding: 3px;
    border: solid black 1px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 180px;
    margin-left: -90px;
    position: absolute;
    /* z-index: 2; */
    bottom: 100%;
    height: 18px;
}

.teller:hover .tip {
    /* visibility: visible; */
    position: absolute;
}

/* Oclutar Elemento */
.oculto {
    display: none;
}

.icone-acao {
    font-size: 24px;
}

.btn-icone-acao {
    border: none !important;
}