main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .76em; /* Reducido de .9em */
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 0.4rem;
}

.form-group .control-label {
   color: gray; 
   font-size: 11px; 
}



.help-block {
    color: red;
}

body {
    /* Ajusta este valor según la altura de tu navbar. 56px es un valor común para BS5. */
    /* Si tu navbar es más alto, incrementa este valor. */
    padding-top: 70px; /* Ejemplo, ajusta según sea necesario */
    font-size: 0.76rem; /* Reducido de 0.9rem */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px; /* Reducido de 14px */
    font-weight: 400;
    line-height: 1.43;
}



/* Estilos para el Navbar */
header#header .navbar { /* Sé más específico para evitar afectar otros navbars si los hubiera */
    border-bottom: 2px solid darkgray;
}

/* Estilos generales para enlaces */
a {
    color: black;
    text-decoration: none;
    font-weight: normal;
}

a:hover {
    color: gray;
    text-decoration: none;
    font-weight: normal;
}

.nav-item {
    font-size: 0.72rem; /* Reducido de 0.85rem */
}

/* Si los enlaces dentro de .nav-item también necesitan ajuste específico */
.nav-item .nav-link {
    font-size: 0.72rem; /* Reducido de 0.85rem */
    /* Bootstrap 5 añade padding a .nav-link, puedes ajustarlo si es necesario también */
    /* padding-top: 0.4rem; */
    /* padding-bottom: 0.4rem; */
}

h1, .h1 {
    font-size: 1.27rem; /* Reducido de 1.5rem */
}

h2, .h2 {
    font-size: 0.85rem; /* Reducido de 1rem */
}

h3, .h3 {
    font-size: 0.85rem; /* Reducido de 1rem */
}

h4, .h4 {
    font-size: 0.64rem; /* Reducido de 0.75rem */
}

h5, .h5 {
    font-size: 0.64rem; /* Reducido de 0.75rem */
}

h6, .h6 {
    font-size: 0.64rem; /* Reducido de 0.75rem */
}

.btn-xs {
    padding: 0.125rem 0.25rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}
