body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

body.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 1024px;
}

.container_login {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.container_inicial {
    color: #575757;
    padding-top: 2em;
    padding-left: 5em;
    padding-right: 5em;
    line-height:130%;
}

.container_inicial ul{
    list-style: decimal;
    padding-left: 0;
}

.container_inicial li{
    margin: 10px 30px 0;
}



section {
    display: flex;
}

article{
    flex: 200px;
}

article:nth-of-type(3) {
    flex: 2;
}


#loginForm {
    text-align: right;
}

p {
    margin-top: 10px;
}

input, button, select, textarea{
    margin-top: 10px;
    padding: 8px;
    font-size: 14px;
    border-radius: 8px;
}

input:not(.required),
button:not(.required),
select:not(.required),
textarea:not(.required) {
    border: 1px solid silver;
}

textarea{
    width: 80%;
    height: 5em;
}


.required {
    border: 1px solid red;
}

.filled {
    border: 1px solid silver;
}

button {
    cursor: pointer;
    background-color: #757575;
    color: #fff;
    border: none;
    border-radius: 8px;
}

button:hover {
    background-color: #5a5a5a;
}

a{
    text-decoration: none;
    color: black;
}

h2{
    margin-top: 50px;
}
h3 {
    margin-top: 30px;
    margin-bottom: 2px;
    color: #333;
}
h6 {
    margin: 10px;
    font-style: italic;
    color: red;
}
label{
    color: #555555;
}


/*Aparencia Menu*/
.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    color: #000000;
}

.logo img {
    height: 50px; /* Ajuste conforme necessário */
    cursor: pointer;
    display: flex;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav li {
    margin-right: 100px;
    font-size: 16px;
}

nav a {
    font-weight: bold;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7);
}

nav a:hover {
    color: rgb(0, 0, 0);
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.search-bar input {
    padding: 8px;
}

.menu-icon {
    font-size: 40px;
    cursor: pointer;
    position: relative;
    text-align: end;
    width: 40px;
}

#menuIcon:hover + #menuModal {
    display: block;
}

#menuModal:hover {
    display: block;
}

.modal {
    display: none;
    position: absolute;
    
    right: 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 1em;
    font-size: 20px;
    min-width: 200px;
    text-align: end;
}

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

.modal li {
    margin-bottom: 10px;
}

.modal a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}


/*Table Listagem*/
table {
    width: auto;
    border-collapse: collapse;
    margin: 20px auto;
}

th, td {
    border: 0;
    padding: 8px;
    text-align: left;
    vertical-align:top;
    width: auto;
}

th {
    background-image: linear-gradient(#ffffff, #ddd);
    color: rgb(83, 83, 83);
}

tr:nth-child(even) {
    background-color: #f2f2f2; /* Cor para as linhas pares */
}

tr:nth-child(odd) {
    background-color: #ffffff; /* Cor para as linhas ímpares */
}

tr td:last-child {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

.Sub {
    color: rgb(68, 68, 68);
    font-size: small;
}
tr .Sub_Cab {
    padding-left: 5dvh;
}

a.import {
	text-decoration: none;
    padding-left: 2dvh;
    float: right;
}

.bot {
	text-decoration: none;
    padding-left: 2dvh;
}

.aviso {
    display: none;
    position:absolute;
    top: 100px;
    background-color: #ffe263;
    color: #333;
    padding: 10px;
    border-radius: 5px;
}

.mini_img {
    max-height: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mini_img:hover {
    transform: scale(5);
}


img[src="fotos/"] {
    display: none;
}

.sugestoes{
    display: none;
    position:absolute;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #a3a3a3;
    padding: 2px;
    min-width: 200px;
}

.linhas:nth-child(even) {
    padding: 4px;
    background-color: #f2f2f2; /* Cor para as linhas pares */
}

.linhas:nth-child(odd) {
    padding: 4px;
    background-color: #ffffff; /* Cor para as linhas ímpares */
}

@media only screen and (max-width: 768px) {
    .container, .container_inicial {
        width: 100%; /* Alterado para 100% para ocupar a largura total em dispositivos móveis */
    }

    .container_login{
        width: 80%;
    }

    table{
        width: 100%; /* Alterado para 100% para ocupar a largura total em dispositivos móveis */
    }

    .container_inicial {
        padding: 2em 1em; /* Ajuste do espaçamento interno para dispositivos móveis */
    }

    .menu-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal {
        position: fixed;
        top: 60px;
        right: 10px;
    }

    .fecha_cel{
        display: none;
    }

}