﻿/* Global */
* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    font-family: "Segoe WP", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
}

.loader {
    background: url('../../Images/ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: right;
}

/* Layout padrao tela */
.layout-tela {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: calc(100% - 54px) 54px;
    height: 100vh;
}
.tela__corpo {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    overflow: auto;
}
.tela__rodape {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: rgb(42, 63, 84);
    /*z-index: 6;*/
}

.titulo-principal {
    font-size: 21px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
    margin: 10px 15px;
}

.titulo-secundario {
    display: block;
    font-weight: 500;
    font-size: 1.15em;
    /*padding-left: 10px;*/
    margin: 10px 15px;
    /*border-left: 5px solid rgb(200, 200, 200);*/
    border-bottom: 1px solid rgb(238, 238, 238);
}

/* UTILITARIOS */
.botoes-rodape {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    padding: 10px;
    text-align: left;
    background-color: transparent;
    z-index: 6;
}

.espacador {
    flex: 1 0 0;
}

/* HTML Tags Custom */
.textarea-noresize {
    resize: none;
}

/* js classes */
.data, 
.hora, 
.dataHora, 
.dataIgnoraDiasAnterior {
    text-align: center;
}

.numdecimal, 
.numDecimalCincoCasas, 
.numdecimal4, 
.numdecimal5,
.numdecimal6,
.numdecimal8, 
.numDecimalSeisCasas,
.decimal4 {
    text-align: right;
}

/* Estilo tela de login */
.box-flex {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.box-login {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-bg {
    width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 0 15px rgb(0 0 0 / 30%);
}

.login-elements {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 15%;
    margin-bottom: 15%;
}

.box-footer {
    width: inherit;
    padding: 5px;
    text-align: center;
}

.img-logo-login {
    width: 90%;
    margin-top: 2em;
    margin-bottom: 2em;
}

.input-login-style {
    width: 100%;
    border: none;
    border-bottom: 2px solid rgb(95, 95, 95, 0.3);
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 5px;
    background-color: #d3d3d33f;
    outline: none;
    height: 3em;
    padding-left: 1em;
    margin-top: 1em;
    box-sizing: border-box;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.input-login-style:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid Highlight;
    transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
}

.input-login-style:focus {
    background-color: rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid Highlight;
}

.btn-login {
    width: 100%;
    background-color: #3761A8;
    margin-top: 2em;
    margin-bottom: 1em;
    height: 40px;
    border: none;
    color: white;
    transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    border-radius: 5px;
}

.btn-login:hover {
    background-color: Highlight;
}

/* SNACKBAR */
.snackbar {
    min-width: 250px;
    margin-left: -125px;
    padding: 1em;
    position: fixed;
    left: 50%;
    bottom: 10%;
    color: white;
    background-color: darkorange;
}

.snackbar-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1
}

/* LOADING */
/*.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #000000 url('../../Images/newloading.gif') 50% 50% no-repeat;
    opacity: 0.7;
}*/

/*body.loading {
    overflow: hidden;
}*/

/*body.loading .modal {
    display: block;
}*/

/* Bootstrap Custom */
.row {
    margin-left: 0px;
    margin-right: 0px;
}

.modal-body {
    padding-left: 0px;
    padding-right: 0px;
}

.modal-body.modal-overflow {
    max-height: 77vh;
    overflow: auto;
}

/*.titulo-principal {
    display: block;
    font-size: 21px;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
    margin-top: 10px;
    margin-bottom: 10px;
}

.titulo-secundario {
    display: block;
    width: 100%;
    font-weight: 500;
    font-size: 1.2em;
    padding-left: 10px;
    margin: 10px 0px;
    border-left: 5px solid rgb(200, 200, 200);
    border-bottom: 1px solid rgb(238, 238, 238);
}*/

.botoes-rodape {
    width: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    padding: 10px;
    text-align: left;
    background-color: transparent;
    z-index: 6;
}

.section-title {
    display: block;
    width: 100%;
    font-weight: 500;
    font-size: 1.15em;
    padding-left: 10px;
    margin: 10px 0px;
    border-left: 5px solid rgb(200, 200, 200);
    border-bottom: 1px solid rgb(238, 238, 238);
}

/* Item desabilitado no ListBox */
.item-desabilitado {
    color: white;
    font-weight: bold;
    background-color: #286090;
    pointer-events: none;
}

.item-desabilitado label {
    color: white;
}

.item-desabilitado .checkbox:hover,
.item-desabilitado .checkbox:active {
    background-color: #286090;
}

.item-desabilitado input[type=checkbox] {
    display: none;
}

/* Paginacao do GridView */
.tabela_paginacao {
    height: 30px;
}
.tabela_paginacao > td,
.tabela_paginacao table {
    height: inherit;
    height: inherit;
}
.tabela_paginacao table td {
    width: 30px;
    text-align: center;
    padding: 0;
    border: 1px solid #ddd;
}
.tabela_paginacao table td > a {
    display: block;
    text-decoration: none;
}
.tabela_paginacao table td:has(span) {
    color: white;
    font-weight: bold;
    background-color: Highlight;
}
.tabela_paginacao table td:hover {
    background-color: rgba(0 0 0 / .2);
}

/* GridView menu dropdown */
.dropdown.open .dropdown-menu.row-menu {
    display: flex;
    flex-direction: column;
}

.dropdown-menu.row-menu a {
    display: block;
    padding: 5px 10px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu.row-menu a:hover:not([disabled="Disabled"]) {
    color: #262626;
    text-decoration: none;
    background-color: #e9e7e7;
}

.dropdown-menu.row-menu a[disabled="Disabled"] {
    color: #777;
    cursor: not-allowed;
}

.dropdown-menu.row-menu a span:first-child {
    padding-right: 10px;
}