/* Add here all your css styles (customizations) */

.menu-off {
    display: none;
}

.menu-on {
    display: block;
}

.top-menu {
/*    color: rgb(204, 244, 231);
    /*    display: none;  */
    /*    padding-right: 1em; */
    font-stretch: narrower;
    font-weight: bold;
    margin-inline-start: 1em;
}

.pos-rel-50 {
    position: relative;
    top: 0.5em;
}

.pos-rel-100 {
    position: relative;
    top: 4em;
}

.horiz-center {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0%);

}

.h-icone {
    float: right;
    padding-right: 1em;
    font-weight: bold;
    font-size: 24px;
}

#containerPix {
    width: 100%;
    height: auto;
    margin: 5px auto;
    text-align: left;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.bg-subaru {
    background-color: rgb(184, 221, 227);
    border-radius: 13px;

}

.bg-subarulight {
    background-color: rgb(210, 236, 240);
    border-radius: 13px;

}

#logo-text {
    display: inline-flex;
    padding-right: 1em;
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-stretch:expanded;
    /* Adicione uma fonte alternativa para o caso da fonte principal falhar */
    color: gold; /* aquamarine; */
    
}
#tenant {
    display: inline-flex; 
    padding-right: 1em; 
    font-weight: bold;
    font-stretch: condensed;
    font-size: 1.2em;
    font-family: 'Montserrat', sans-serif; /*'Arial Narrow'; */
    color:rgb(240, 239, 170);
}

#loginContainer {
    display: none;
    position: fixed;
    left: 40%;
    top: 15%;
    width: 300px;
    height: auto;
    margin: 5px auto;
    /*            text-align: left;*/
    padding: 15px;
    background-color: rgb(135, 135, 137); /* rgb(184, 221, 227);*/
    border-radius: 13px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#xFormContainer {
    display: block;
    max-width: 100% - 20px;
    margin: 0px;
    height: 100%;
    /* Defina uma altura máxima desejada */
    overflow-y: auto;
    /* Permite rolagem vertical */
    /* auto;*/
    /* margin-left: 50px; */
    text-align: center;
    padding-left: 0px;
    padding-top: 0;
    background-color: #eef3ef;
    border-radius: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#old-painel-status {
    position: fixed;
    left: 0;
    top: 60%;
    /* Começa onde o #menu-lateral termina */
    width: 140px;
    height: 20%;
    background-color: #f1eda5;
    /* #075a2a; */
    color: #080808;
    font-size: 13px;
    padding: 0px;
    margin: 0;
}

#temppainel-status {
    position: fixed;
    left: 10%;
    top: 10%;
    /* Começa onde o #menu-lateral termina */
    width: 80%;
    height: 85%;
    background-color: #f1eda5;
    /* #075a2a; */
    color: #080808;
    font-size: 18px;
    padding: 0px;
    margin: 0;
}

#painel-mensagens {
    position: fixed;
    left: 0;
    top: 80%;
    /* Começa onde o #painel-status termina */
    width: 140px;
    height: 20%;
    background-color: #bdf4d4;
    /* #075a2a; */
    color: #1a0000;
    font-size: 8px;
    padding: 0px;
    margin: 0;
}


/* Estilos do menu lateral */

#menu-lateral {
    position: fixed;
    left: 0;
    top: 0px;
    width: 100px;
    height: 60%;
    background-color: #29a85e;
    /* #075a2a; */
    color: #fff;
    padding: 20px;
}

#menu-lateral ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}

#menu-lateral li {
    margin-bottom: 15px;
}

#menu-lateral .logout a {
    background-color: #69d797;
    color: black;
    /*    font-weight: bold;
    /* Outros estilos que desejar */
}

/* Estilos para o item de menu selecionado */

#menu-lateral a {
    display: block;
    padding: 2px 1px;
    text-decoration: none;
    color: #fff;
    /*    background-color: #3bba70; */
    transition: background-color 0.3s;
    font-size: 15px;
    border-bottom: 1px solid #aae9cb;
    border-right: 1px solid #3cdf80;
    border-top: 1px solid #087733;
    border-left: 1px solid #087733;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(229, 246, 229, 0.2);

}


#menu-lateral a:hover {
    background-color: #161718;
    /* Cor de fundo ao passar o mouse */
}

/* fim do menu lateral */
#area-util {
    position: fixed;
    top: 20%;
    width: calc(100% - 140px);
    float: right;
    background-color: #01402b;
    color: #fff;
    padding: 0px;
}

#menu-superior {
    width: calc(100% - 140px);
    float: right;
    background-color: #01402b;
    color: #fff;
    padding: 0px;
}

#menu-superior ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#menu-superior ul.nav>li {
    margin-left: 30px;
    float: left;
    position: relative;
}

#menu-superior ul.nav>li>a {
    display: block;
    color: white;
    text-align: center;
    padding: 8px 10px;
    /* Reduced padding */
    text-decoration: none;
}

#menu-superior ul.nav li a:hover {
    background-color: #111;
}

/* Estilo para o item ativo */
.navbar-brand.top-menu.menuOption.active {
    /**/
    /* .navbar-brand.topMenu.active { */
    background-color: #255480;
    /* Cor do item ativo */
}

/* Submenu */
.submenu1 {
    /*    width: calc(100% - 100px); */
    width: max-content;
    /*float: right; */
    background-color: #e7f6eb;
    color: #fff;
    padding-right: 20px;
    border-bottom: solid 1px #3cdf80;
}

.submenu1 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.submenu1 ul.nav>li {
    margin-left: 30px;
    float: left;
    position: relative;
}

.submenu1 ul.nav>li>a {
    display: flex;
    color: rgb(2, 35, 1);
    text-align: center;
    /* font-weight: bold; */
    padding: 8px 10px;
    /* Reduced padding */
    text-decoration: none;
}

.submenu1 ul.nav>li>a.active {
    background-color: #84f0e5;
}

.submenu1 ul.nav li a:hover {
    background-color: #3ac170;
}

.submenu-ruler {
    position: fixed;
    border: 0;
    height: 1.5px;
    background-color: #3cdf80;
    /* Cor preta */
    /*    top: 3.5em; */
    width: 200%;
    margin: -1px;
    left: -50%;
    /* Margem superior e inferior de 20px */
}

/* fim do menu superior */

.selected {
    background-color: #089403;
    color: #4ff51c !important;
    /* Mudar a cor do texto para branco */
}

.msg-centered {
    text-align: center;
    background-color: #b2d5c4;
    color: black;
    font-family: Arial, sans-serif;
    font-size: 18px;
    position: relative;
    top: 4.5em;
    left: 50%;
    transform: translate(-50%, -50%);
    /* margin-top: 5%;
    /*  150px; */
    width: max-content;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

.auxf {
    padding: 10px
}

/* Estilos do formulário */
#formulario {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    /* Garante que o formulário esteja acima do menu */
}


body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    /*    background-color: #f3f3f3; */
    margin: 0;
    padding: 0;
}

h2 {
    text-align: center;
    padding: 0;
    background-color: #9fc5b2;
    color: #333;
    margin-top: 0;
    margin-bottom: 5px;
}

h3 {
    text-align: center;
    padding: 0;
    font-size: large;
    color: #faf6f6;
    margin-top: 20px;
    margin-bottom: 0px;
}

h4 {
    color: black;
    font-size: large;
    margin-top: 0;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 0;
    text-align: center;
}

p {
    color: #242424;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

input {
    width: 60%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: snow;
}

button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #027780;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 16px;

}

.centered-cell {
    text-align: center;
    /* Alinhamento horizontal */
    margin-left: 10px;
    vertical-align: middle;
    /* Alinhamento vertical */
}

.btn-status {
    width: 40px;
    height: 25px;
    text-align: center;
    background-color: #6c756e;
    line-height: 25px;
    /* Isto centraliza o texto verticalmente */
    padding: 0;
    /* Remove o espaçamento interno */
}

#companyLogo {
    max-width: 100%;
    height: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0%; 
    max-width: 90px; 
    max-height: 35px;
    border-radius: 5px;
}


.jTable {
    /*    width: 100%;*/
    border-collapse: collapse;
    background-color: lightgrey;
    border: solid 2px rgb(71, 71, 71);
    /*    table-layout: auto;*/
    
}

.jTable th,
.jTable td {
    padding: 2px 0.8em;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 12px;
    height: 20px;
    color: black;
    /* altura da linha da tabela */
}

.fontLarg th,
.fontLarg td {
    font-size: 0.9em;
}
.fontLarger th,
.fontLarger td {
    font-size: 1.2em;
}

.jTable thead th {
    position: sticky;
    top: 0;
    /* Fixa no topo do container */
    z-index: 1;
    /* Garante que o cabeçalho fique sobre as outras células */
}

.jTable th {
    background-color: #027780;
    color: white;
}

.jTable .short {
    width: 70px;
}

.jTable .double {
    width: 120px;
}

.jTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.jTable tbody tr:hover {
    background-color: #9de6ee;
}

caption {
    caption-side: top !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    padding-bottom: 0cm !important;
    color: black !important;
}

.userClass {
    padding: 0;
    margin-top: 10px;
    background-color: rgb(48, 242, 132);
    color: black;
    width: 80%;
    height: 30px;
    font-size: 24px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border: solid 2px rgb(3, 121, 64);

}

#oldcontextMenu {
    display: none;
    position: absolute;
    background-color: rgb(211, 246, 226);
    border: 1px solid #55a758;
    border-top: 2px dashed;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 10px;
    text-align: left;
}

.contextMenu {
    display: none;
    position: absolute;
    background-color: rgb(211, 246, 226);
    border: 1px solid #55a758;
    border-top: 2px dashed;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 10px;
    text-align: left;
}

.contextMenu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contextMenu ul li {
    padding: 8px;
    cursor: pointer;
    font-size: smaller;
}

.contextMenu ul li:hover {
    background-color: #55a758;
}

/* Estilos para a janela mmodal */
.mmodal {
    display: none;
    /* Esconder por padrão */
    position: fixed;
    /* Ficar em cima da página */
    z-index: 1;
    /* Ficar na frente */
    left: 0;
    top: 6em;
    left: 10%;
    width: 80%;
    height: 80%;
    overflow: auto;
    /* Habilitar rolagem se necessário */
    background-color: rgb(0, 0, 0);
    /* Cor de fundo */
    background-color: rgba(0, 0, 0, 0.4);
    /* Preto com opacidade */
}

/* Conteúdo da janela mmodal */
.mmodal-content {
    position: relative;
    text-align: center;
    background-color: #fefefe;
    margin: 1% 1%;
    /* 15% de cima e centralizado */
    padding: 20px;
    border: 1px solid #888;
    width: 98%;
    height:98%;
    /* Largura */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: show 0.4s;
}

/* Animação para mostrar a janela */
@keyframes show {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* Estilos para o menu de configuracao */
.formulario .checkbox-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.formulario .checkbox-group input[type="checkbox"] {
    margin-right: 5px;
    width: 10%;
}

.formulario .button-group {
    display: flex;
    justify-content: space-around;
    width: 70%;
    padding-left: 30%;
    margin-top: 20px;
}

.formulario .button-group button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.formulario .button-group button:first-child {
    background-color: #3c8dbc;
    color: white;
}

.formulario .button-group button:last-child {
    background-color: black;
    color: white;
}

.minor-action-button {
    padding: 0.1em;
    padding-left: 0.3em;
    padding-right: 0.3em;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #b9f4f7;
    color:black;
}

.minor-remove-button {
    background-color: #638686;
    color: yellow;
}

.formTitle {
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
    border-bottom: solid 2px black;
    margin-bottom: 0.3em;
    color: black;
}

.readonly {
    background-color: #ccedf3;
    cursor: not-allowed;
}

/* estilos para o menu de cobranca */
.formulario .input-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.formulario .input-group label {
    margin-right: 5px;
    width: 25%;
}

.formulario .input-group input {
    margin-right: 5px;
    max-width: 65%;
}


/* Botão de fechar */
.mclose {
    position: absolute;
    right: 0px;
    top: 0px;
    color: white;
    background-color: #e00505;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 32px;
    padding: 0;
    line-height: 0.7em;
}

.mclose:hover,
.mclose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}