﻿:root {
    --cor-fundo: #f9f9ff;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cor-fundo);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 9%;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
}

.content {
    padding: 20px 10%;
}

h1 {
    font-size: 2.5em;
    color: #4c5bd4;
}

    h1 span {
        font-weight: bold;
        color: #2a328f;
    }

.navbar-brand {
    background-color: transparent !important;
}

/* Background image */
.background-image {
    position: fixed;
    bottom: 0;
    right: 0;
    width: auto; /* ocupa 100% da largura da viewport */
    height: 90vh;
    z-index: -1;
    pointer-events: none;
    opacity: 50%;
}
    .background-image-index {
        opacity: 100%;
    }

main.content {
    flex: 1;
}

#txtTermo {
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}

/* elementos index */
.btn-index {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

.btn-index-buscar {
    background-color: #4c5bd4;
}

.btn-index-buscarAvancado {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.linha {
    display: flex;
    margin-bottom: 2px;
    align-items: baseline; /* Alinha o texto pela base dos números */
}

.numero {
    min-width: 70px;
    text-align: right;
    font-size: 25px;
}

.texto {
    flex: 1;
    text-align: left;
    margin-left: 10px;
    font-size: 16px;
}

/* Menu horizontal principal */
.menu {
    display: flex;
    align-items: center;
    list-style: none;
}

    .menu li {
        position: relative;
    }

    .menu a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
        transition: color 0.2s;
    }

        .menu a:hover {
            color: #0077cc;
            border-left: 3px solid transparent;
        }

/* Submenu horizontal */
.submenu {
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

    .submenu li {
        margin: 0;
    }

    .submenu a {
        display: block;
        padding: 8px 15px;
        color: #333;
        margin: 0;
    }

        .submenu a:hover {
            background-color: #f0f0f0;
        }

/* Exibir submenu ao passar o mouse */
.menu li:hover .submenu {
    display: block;
}

/* Ícone de login à direita */
.menu-right {
    margin-left: auto;
}