/* Configuração de fonte dinâmica que varia com o tamanho da janela
adicionar class din e utilizar font-size: font-size: 1vw; nos elementos */
/* Older browsers */
.din { font-size: 16px; }
/* Modern browsers only need this one */
@media screen and (min-width: 25em){
    .din { font-size: calc( 16px + (24 - 16) * (100vw - 400px) / (800 - 400) ); }
}
/* Safari <8 and IE <11 */
@media screen and (min-width: 25em){
    .din { font-size: calc( 16px + (24 - 16) * (100vw - 400px) / (800 - 400) ); }
}
@media screen and (min-width: 50em){
    .din { font-size: calc( 16px + (24 - 16) * (100vw - 400px) / (800 - 400) ); }
}

.invisivel{
    display: none !important;
}
.t1{
    font-weight: bold;
}
.t2{
    font-size: 90%;
}
.t3{
    font-size: 70%;
}
.ic_banco {
    height: 30px;
    border-radius: 5px;
    box-shadow: 1px 1px 2px;
}
.ic {
    height: 30px;
    border-radius: 5px;
}
.ic_img {
    height: 100px;
    border-radius: 10px;
}
.btnMargin{
    margin-right: 10px;
}
.custom-map-control-button {
    position: absolute;
    top: 0px;
    left: 371px;
    font-size: 22px;
    background-color: white;
    border: none;
}
#menu_direito{
    overflow: auto;
}
.tdis{
    font-size: 70%;
    font-weight: normal;
}
@media (max-width: 991.98px) {
    .main-sidebar, .main-sidebar::before {
        box-shadow: none!important;
        margin-left: -250px;
    }
}
@media (max-width: 991.98px) {
    .sidebar-open .main-sidebar, .sidebar-open .main-sidebar::before {
        margin-left: 0;
    }
}
#login {
/*    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(100% - 0px);*/
    background-color: #005cbe;
}
#boxLogin {
    width: 400px;
    padding: 40px;
    background: #003C7C;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}
#boxLogin2 {
    width: 400px;
    color: #fff;
    padding: 50px;
}
#logoLogin {
    width: 150px;
    height: 57px;
}
.inputlogin {
    display: flex;
    align-items: center;
    position: relative;
    float: left;
    width: calc(100% - 6px);
    border: 3px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 3px 3px 4px 0px rgb(0 0 0 / 80%);
}
.iconlogin {
    position: relative;
    float: left;
    width: 45px;
    height: 42px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.inputLoginBlock {
    background-color: rgba(255,255,255, 0.2) !important;
    color: white !important;
}
input[type="text"].login, input[type="password"].login {
    border: 0px solid #fff;
    border-radius: 0 5px 5px 0;
    background-color: #fff;
    font-size: 14pt;
    position: relative;
    float: left;
    padding: 10px 20px;
    color: black;
    font-family: arial;
    width: calc(100% - 0px - 45px);
}
.btn.btn-primary.login{
    font-size: 17pt;
    width: calc(100%);
    background-color: #04d1cc;
    border-color: transparent;
}
.ck{
    cursor: pointer;
}
.list_autocomplete {
    background: #9bff9b;
    padding: 10px;
    border-radius: 10px;
    z-index: 100;
}
.tbMenor table td {
    padding: 3px;
    /*font-size: 9pt;*/
}
.list_autocomplete > table > thead > tr {
    background-color: rgba(0,0,0,0.3);
    color: #fff;
}
.list_autocomplete > table > tbody > tr {
    cursor: pointer;
    color: #000;
}
.list_autocomplete > table > tbody > tr > td {
    white-space: nowrap;
    padding-right: 10px;
}
.list_autocomplete > table > tbody > tr:hover {
    background-color: #ffe700;
}
tr.selecionado {
    background-color: rgb(255 237 0 / 37%) !important;
}
.list_autocomplete > table > tbody > tr.selected {
    background-color: #ffe700;
}
.red {
    color: red !important;
}
.green {
    color: green !important;
}
.red_back {
    background-color: red !important;
}
.green_back {
    background-color: green !important;
}
.link {
    color: #007bff;
}
.blue {
    color: #00f;
}
.form-control:disabled, .form-control[readonly] {
    /*DESATIVEI ISSO, SERA QUE FICA BOM?*/
    /*background-color: #ffffff00 !important;*/
    /*border-color: #fff !important;*/
    background-color: rgb(233 236 239 / 50%) !important;
}
/* recuo do submenu */
ul.nav.nav-treeview {
    margin-left: 20px;
}
/*total das tabelas*/
tfoot.totalTabela > tr > td {
    font-weight: bold;
}
.nao_selecionar {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* menu suspenso */
.m_suspenso {
    z-index: 10000;
    position: absolute;
    top: 0px;
    left: 0px;
    border: 1px solid rgb(190 193 195);
    border-radius: 5px;
    min-width: 202px;
    padding: 5px;
    font-size: 14px;
    background-color: rgb(233 228 231);
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 50%);
    display: flex;
    flex-direction: column;
}
.m_linha{
    display: flex;
    flex-direction: row;
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
}
.m_linha > hr{
    width: 100%;
    padding: 0px;
    margin: 4px;
}
.m_ic {
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    float: left;
    margin-right: 5px;
}
.m_text {
    display: flex;
    align-items: center;
}
.m_linha:hover:not(.m_disabled) {
    background-color: rgb(96 167 255);
    color: #fff;
}
.m_linha.m_disabled > .m_text {
    color: rgb(132 132 132);
}
/* ic */
.ic {
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    position: relative;
    float: left;
}
.ic.cinza {
    background-image: url(../img/cinza.png);
}
.ic.ok {
    background-image: url(../img/ok.png);
}
.ic.alerta {
    background-image: url(../img/alerta.png);
}
span.anexo, span#anexo {
    position: relative;
    float: left;
    background-image: url(../img/attachment-24px.svg);
    background-position: -2px -5px;
    width: 20px;
    height: 15px;
}
/* etiqueta da lista de mensagem whatsapp */
.metiqueta{
    padding: 4px 5px;
    border-radius: 5px;
    font-weight: 700;
}
.mvermelho{
    background-color: #f00;
    color: #fff;
}
.mamarelo{
    background-color: #ff0;
    color: #000;
}
.mverde{
    background-color: #03a800;
    color: #ffffff;
}
.toasts-top-right{
    z-index: 100000 !important;
}
.tbicon {
    width: 23px;
    margin: -5px 0px;
    padding-right: 0px;
}
/*.despesa {
    color: #dc3545!important;
}
.receita {
    color: #28a745!important;
}*/
.form_despesa, #form_despesa, #form_despesa_arquivo, #form_despesa_pagamento {
/*    background-color: #dc3545!important;*/
    background-color: #cc656e!important;
    color: #fff;
}
.form_despesa tr:nth-child(1) th, .form_despesa .card-primary:not(.card-outline)>.card-header, .form_despesa .btn-primary {
/*    background-color: #9f000e !important;*/
    background-color: #843138 !important;
}
.bg-primary tr:nth-child(1) th, .bg-primary .card-primary:not(.card-outline)>.card-header, .bg-primary .btn-primary {
    background-color: #004fa3 !important;
}
.bg-danger tr:nth-child(1) th, .bg-danger .card-primary:not(.card-outline)>.card-header, .bg-danger .btn-primary {
    background-color: #9f000e !important;
}
#form_receita, #form_receita_arquivo, #form_receita_pagamento {
    background-color: var(--primary)!important;
    /*background-color: #0062cc!important;*/
    /*background-color: #007bff!important;*/
}
.abbr2 {
    font-size: 80%;
    color: #888;
}
/* local */
._local, ._lote, ._valid, ._qtd{
    margin-right: 5px;
    white-space: nowrap;
}
._local{
    color: red;
}
._lote{
    color: green;
}
._valid{
    color: blue;
}
._qtd{
    color: #000;
    font-weight: bold;
}
.itemProprio{
    /*opacity: .5;*/
}
.itemFornecedor{
    opacity: .5;
}
.qntTotal {
    font-weight: bold;
    color: green;
}
#detalheCliente, .tb_detalhes_cliente {
    background-color: #b5ff9d;
}
.loteEstourado {
    background-color: #f00 !important;
    color: #fff !important;
}
.loteFalta {
    background-color: yellow !important;
    color: #000 !important;
}
.loteOk {
    background-color: #0f0 !important;
    color: #000 !important;
}
._icv{
    margin-right: 3px;
}
i[title2]:hover::after {
    position: absolute;
    /* bottom: 100%; */
    /* left: 100%; */
    display: block;
    padding: 1em;
    background: yellow;
    content: attr(title2);
    color: #000;
    z-index: 2;
    opacity: 1;
    font-size: 12px;
    /*margin-top: 30px;*/
    border-radius: 5px;
    box-shadow: 5px 5px 5px 0px #00000066;
    font-family: arial;
}
abbr[title2] {
    text-decoration: underline dotted;
}
abbr[title2]:hover::after {
    position: absolute;
    /* bottom: 100%; */
    /* left: 100%; */
    display: block;
    padding: 1em;
    background: yellow;
    content: attr(title2);
    color: #000;
    z-index: 100;
    opacity: 1;
    font-size: 12px;
    /*margin-top: 30px;*/
    border-radius: 5px;
    box-shadow: 5px 5px 5px 0px #00000066;
    font-family: arial;
}
.title {
    text-decoration: underline dotted;
}
.title > div {
    font-weight: normal;
    display: none;
    position: absolute;
    padding: 1em;
    background: yellow;
    color: #000;
    z-index: 100;
    opacity: 1;
    font-size: 12px;
    /*margin-top: 30px;*/
    border-radius: 5px;
    box-shadow: 5px 5px 5px 0px #00000066;
    font-family: arial;
}
.title:hover > div {
    display: block;
}
/*    BLINK   */
.blinkred {
  -webkit-animation: blinkred 1s step-end infinite;
  animation: blinkred 1s step-end infinite
}
@-webkit-keyframes blinkred {
  50% { color: red; }
}
@keyframes blinkred {
  50% { color: red; }
}
i#icComunicador.online {
    color: green;
}
i#icComunicador.offline {
    color: red;
}
i#icComunicador.aguardando {
    color: #ccce00;
}
td[contenteditable=true] {
    background-color: #ffffa1;
    box-shadow: inset 3px 3px 3px 0px #727272;
}
.table.table-head-fixed thead tr:nth-child(1) th{
    /*background-color: #fff0 !important;*/
}
#detalheProduto * {
    background-color: #85ff85;
}
#detalheProduto * {
    /*font-size: 70%;*/
}
#detalheProduto th {
    padding: 0px 12px;
}
.tb_precoVenda {
    background-color: #82ff82;
    position: absolute !important;
    border-radius: 3px;
    box-shadow: 5px 5px 5px;
    z-index: 100;
    margin-top: 40px;
}
.tb_precoVenda thead {
    background-color: #fff;
}
.tb_precoVenda th, .tb_precoVenda td{
    border: 1px solid #000;
}
.ic_bt {
    /* position: relative; */
    /* float: left; */
    /*margin-left: 5px;*/
}
#imgLogotipo > img{
    width: 200px;
    border-radius: 8px;
}
.s1{
    color: #f00;
}
.s2{
    /*color: #c2a700;*/
    color: #009021;
}
.s3{
/*    color: #009021;*/
    color: #00f;
}

#vLiquido, #vLiquido2{
    font-size: 120%;
    background-color: green !important;
    color: #fff;
    font-weight: bold;
}
#vDiferenca, #vDiferenca2{
    font-size: 120%;
    background-color: red !important;
    color: #fff;
    font-weight: bold;
}

/* rtsp */
.fp-Video {
    border: 1px double black;
    width: 322px;
    height: 242px;
}
.display {
    width: 100%;
    height: 100%;
    display: inline-block;
}
.display > video, object {
    width: 100%;
    height: 100%;
}
div#tbICMS {
    font-size: 10pt;
}
#tbICMS .table td, .table th {
    padding: 0.15rem;
}
#tbICMS .table-hover tbody tr:hover {
    color: #fff;
    background-color: #000;
}



/* TREE */ 
ul.children {
    padding-left: 30px;
}

/*ul {padding-left: 20px;}
li {
    list-style-type: none; 
    outline: none; 
    padding: 5px;
}
li ul {margin-top: 5px;}
.visually-hidden {
    position: absolute; 
    left: -999em;
} 
.tree {
    padding: 10px; 
    margin-bottom: 2em; 
    border: 1px solid #999;
}
.hasChildren {position: relative;}
.tree li ul {display: none;}
.tree a {padding: 2px 5px 2px 0;}
.tree a:focus {outline: 2px dotted #f00;}
.tree li li a {
    background-image: url("../img/raquo-blue.png");
    background-repeat: no-repeat;
    background-position: 8px 0.5em;
    padding-left: 40px;
}
.tree .hasChildren a {
    background-image: none; 
    padding-left: 30px;
}
.tree li .noChildren a {
    background-image: url("../img/raquo-blue.png"); 
    padding-left: 25px;
}
.toggle {
    background-position: left top; 
    background-repeat: no-repeat; 
    cursor: pointer; 
    height: 14px; 
    width: 14px; 
    position: absolute; 
    left: 10px; 
    top: 0.4em;
}
.tree .expanded {background-image: url("../img/minus-blue.png");}
.tree .collapsed {background-image: url("../img/plus-blue.png");}
.tree .expanded.hover {background-image: url("../img/minus-blue-hover.png");}
.tree .collapsed.hover {background-image: url("../img/plus-blue-hover.png");}
#footer {clear: both;}*/

/* LOGISTICA */
.truck, .truckH, .truckOK, .truckErr, .truckCancel, .truckAlert{
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    position: relative;
    float: left;
}
.truck{
    background-image: url("../img/iconsML.png");
    background-position: -30px -2px;
    margin: -6px;
}
.truckH{
    background-image: url("../img/iconsML.png");
    background-position: -30px -32px;
    margin: -6px;
}
.truckOK{
    background-image: url("../img/iconsML.png");
    background-position: -30px -62px;
    margin: -6px;
}
.truckErr{
    background-image: url("../img/iconsML.png");
    background-position: -30px -92px;
    margin: -6px;
}
.truckCancel{
    background-image: url("../img/iconsML.png");
    background-position: 0px -92px;
    margin: -6px;
}
.truckAlert{
    background-image: url("../img/iconsML.png");
    background-position: -30px -122px;
    margin: -6px;
}
.btn {
    margin-right: 5px;
}
#statusProcesso {
    padding: 3px 9px;
    border-radius: 12px;
    color: #e6e6e6;
    position: fixed;
    z-index: 10000;
    top: 10px;
    display: none;
}
#statusProcesso.ativo {
    background: green;
    box-shadow: 0px 0px 5px 3px #9dff96;
    display: block;
}
.tipo_00 {
    /* entrada */
    background-color: #df6f00;
    color: #fff;
    padding: 1px 4px;
    border-radius: 8px;
    font-size: 80%;
}
/* .tipo_01 não faz sentido, entrada que gera financeiro */
.tipo_10 {
    /* saída sem financeiro */
    background-color: #b2aa00;
    color: #fff;
    padding: 1px 4px;
    border-radius: 8px;
    font-size: 80%;
}
.tipo_11 {
    /* saída com financeiro */
    background-color: #00b200;
    color: #fff;
    padding: 1px 4px;
    border-radius: 8px;
    font-size: 80%;
}
._center {
    text-align: center;
}
._right {
    text-align: right;
}
.nav_fixo_pdv {
    position: fixed !important;
    width: calc(100% - 0px);
    z-index: 1000;
}
.telas_pdv {
    padding-top: 65px;
}
.i{
    font-style: italic;
}
#icone_mapa {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1041;
    height: 50px;
    cursor: pointer;
}
div#detalhes_carga, div#detalhes_carga_romaneio {
    /*position: fixed;*/
    /*bottom: 3px;*/
    /*left: 0;*/
    z-index: 1040;
    background-color: #fff;
    display: flex;
    flex-direction: row;
}
div.detalhes_carga {
    border: 2px solid #000;
    border-radius: 10px;
    padding: 5px;
    margin-right: 4px;
}
div.detalhes_carga > .t {
    font-size: 12pt;
}
div.detalhes_carga > .v {
    font-weight: bold;
    font-size: 10pt;
}
/* drag drop */
.dg_box {
}
.dg_box.move {
}
.dg_box.vazia {
    min-height: 30px;
    min-width: 30px;
}   
.dg_box.vazia.move {
    background-color: rgb(255 237 0 / 37%);
}
/* montagem de carga */
.btCarga{
    font-size: 30pt;
    cursor: pointer;
}
.btCarga.fa-circle-plus.add {
    color: #00cc00;
}
/*#_vendasMontarCarga {
    display: flex;
    flex-wrap: wrap;
}*/
#_vendasMontarCarga {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    position: absolute;
    z-index: 1000;
    background-color: #fff;
    overflow: auto;
    top: 15x;
    right: 15px;
}
.dMC{
    /*divMontarCarga*/
    border: 3px solid #00f;
    margin: 2px;
    padding: 2px;
    border-radius: 10px;
    width: 150px;
}
.dMCP{
    /*divMontarCarga Pessoa*/
    font-size: 10pt;
    text-wrap: nowrap;
    /*overflow: auto;*/
}
.ordemMC {
    /*montar carga letra*/
    background-color: red;
    border-radius: 10px;
    padding: 5px 10px;
    color: #fff;
    font-weight: bold;
}
.btHeadModal {
    padding: 6px;
    border-radius: 14px;
    cursor: pointer;
}
.btHeadModal:hover {
    background-color: #ddd;
}
.btHeadModal.checked {
    color: #0a0;
}
.totalCheck {
    /*border: 1px solid;*/
    z-index: 10000;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #eee;
    display: flex;
    flex-direction: row;
    padding: 0 10px;
}
.totalCheck_box {
    /* border: 1px solid; */
    padding: 2px;
    margin-right: 5px;
}
totalCheck_titulo {
    font-size: 80%;
}
.totalCheck_valor {
    font-weight: bold;
}
#calendar > .fc-view-harness{
    min-width: 1000px;
}
.foto_pessoa {
    max-width: 300px;
}
.depart {
    background-color: #007bff;
    border-color: #006fe6;
    color: #fff;
    padding: 0 10px;
    margin-top: .31rem;
    border-radius: 5px;
}
.risc{
    text-decoration: line-through;
}
.destaqueCalendario{
    background-color: #ffbcbc !important;
}
@media (min-width: 576px) {
  .modal-dialog {
    /*max-width: 500px;*/
    max-width: calc(100% - 3.5rem) !important;
    margin: 1.75rem auto;
  }
}
.nowrap {
    white-space: nowrap;
}
.form-control.radio {
    border: 0px solid #ced4da;
    padding: 0;
}
/*div#bancos_fluxo_de_caixa > table {
    font-size: 80%;
}*/
div#bancos_fluxo_de_caixa > table > thead > tr > th,
div#bancos_fluxo_de_caixa > table > tbody > tr > td,
div#bancos_fluxo_de_caixa > table > tfoot > tr > td {
    padding: 3px 5px;
}
span._sped {
    text-shadow: 1px 1px 0px #FE8A00, 1px -1px 0px #FE8A00, -1px -1px 0px #FE8A00, -1px 1px 0px #FE8A00;
/*    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: #FE8A00;*/
    color: #fff;
    font-size: 70%;
}

/* MONTAR CARGA */
.div_pedidos_carga {
    
}
.div_venda {
    border: 1px solid;
    border-radius: 10px;
    padding: 3px;
    box-shadow: black 1px 1px;
    margin: 3px;
}
.div_venda:hover {
    background-color: rgb(254 255 0 / 53%);
}
.pedidoCarga {
    font-weight: bold;
    font-size: 9pt;
}
.clienteCarga {
    font-size: 9pt;
}
.enderecoCarga {
    font-size: 9pt;
}
.vNFCarga {
    font-size: 12pt;
    font-weight: bold;
}
.letraCarga {
    position: relative;
    float: right;
    /*margin-top: -20px;*/
    margin-right: 5px;
    background-color: #f00;
    color: #fff;
    border: 1px solid #000;
    padding: 0px 8px;
    border-radius: 15px;
    font-weight: bold;
}
.fecharCarga {
    position: relative;
    float: right;
    /*margin-top: -20px;*/
    margin-right: 5px;
    color: #000;
    border: 1px solid #000;
    padding: 0px 8px;
    border-radius: 15px;
    font-weight: bold;
}
.fecharCarga:hover {
    background-color: #f00;
    color: #fff;
}
.not_fluxo {
    opacity: 0.3;
    text-decoration: line-through;
}

/* OFX  */
.legenda_ofx {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin: 0 10px;
}
.legenda_ofx > div {
    padding: 5px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.conciliado {
  background-color: #aeffcc !important;
}
.soOFX {
  background-color: #ffdfae !important;
}
.soSISTEMA {
  background-color: rgb(255, 115, 115);
}
.receita {
  color: #007c00 !important;
  font-weight: bold;
}
.despesa {
  color: #f00 !important;
  font-weight: bold;
}