:root {
    --color-fondo-claro: rgb(254, 234, 222);
    --color-texto-oscuro: #65030D;
}
html {
  font-size: 12px;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.body-expositivo {
    font-size: small;
    color: var(--color-texto-oscuro);
    text-align: justify;
    margin-right: 15vw;
    margin-left: 15vw;
}

.body-avisos {
    font-size: small;
    color: var(--color-texto-oscuro);
    text-align: justify;
    margin-right: 8vw;
    margin-left: 8vw;
}

.body-titulo {
    color: var(--color-texto-oscuro);
    margin-right: 15px;
}

    .body-titulo.estrecho {
        margin-left: 30px;
        margin-right: 30px;
    }

.body-deslizante-entrada {
    position: relative;
    z-index: -90;
    min-height: 35vh;
    height: auto;
    max-width: 60%;
    margin-right: 20%;
    margin-left: 20%;
    font-size: 1.1em;
    font-family: Calibri, Arial, sans-serif;
    font-style: normal;
    color: var(--color-texto-oscuro);
    text-align: center;
    animation-duration: 5s;
    animation-delay: 0.5s;
    animation-name: desliza;
    border-top-width: 2px;
    border-right-width: 0px;
    border-bottom-width: 2px;
    border-left-width: 0px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-top-color: #330000;
    border-right-color: #330000;
    border-bottom-color: #330000;
    border-left-color: #330000;
    line-height: 25px;
}

@keyframes desliza {
    from {
        top: -200px;
        color: #FFFFFF;
    }

    to {
        top: 0px;
        color: var(--color-texto-oscuro);
    }
}

.body-marco-fondo {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #000000;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 0px;
    padding-top: 0px;
    min-height: 95vh;
    width: 100vw;
    opacity: 0.25;
    z-index: -100;
}

    .body-marco-fondo.imagenentrada {
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: cover;
        background-image: url(/Imagenes/IMG_0969.jpeg);
    }

@media (max-width: 768px) {
    body-marco-fondo.imagenentrada {
    }
}

.navbar-brand.mibanda {
    color: rgba(251,249,249,0.9) !important;
}

.navbar-brand.mibanda:hover {
    color: rgba(251,249,249,1) !important;
}
.text-dark.mitextomenu {
    color: rgba(251,249,249,0.6) !important;
}

.text-dark.mitextomenu:hover {
    color: rgba(251,249,249,1) !important;
}
.navbar-toggler-icon.miicono {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(250,250,250,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.enlaces {
    color: var(--color-texto-oscuro);
    text-decoration: underline;
}
    .enlaces:hover {
        color: black;
        text-decoration: none;
    }
.cabeza-menu-general{
    position: fixed;
    margin-top: 0px;
    width: 100%;
}
.pie-textoaviso {
    font-size: 10px;
    left: 20px;
    right: 20px;
    text-align: center;
}
.pie-menu-general {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-grow: 1 !important;
    justify-content: space-evenly;
    width: 100%;
}
.pie-menu-opciones{
    font-size: 12px;
    color: var(--color-texto-oscuro);
    text-decoration: none;
}
.pie-menu-opciones:hover{
    color: black;
    text-decoration: underline;
}
.pie-fondo {
    background-color: var(--color-fondo-claro);
    margin-bottom: 0px;
    width: 100%;
    position: absolute;
    bottom: 0px;
}
.marcareg{
    font-size: x-small;
}

.flex-contenedor {
    display: flex;
    padding: 0px;
    margin: 0px;
    list-style: none;
    border:1px solid silver;
}
.flex-contenedor.desliza {
    flex-wrap: wrap;
    justify-content: space-around;
}
.flex-contenedor.nodesliza {
    flex-wrap: nowrap;
}
.flex-contenedor-desliza-vertical {
    display: flex;
    padding: 0px;
    margin: 10px;
    width: auto;
    max-width: 90%;
    list-style: none;
    border: 1px solid silver;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: column;
}
.flex-contenedor-elemento {
    background-color: var(--color-fondo-claro);
    padding: 0px;
    margin: 10px;
    width: 370px;
    height: auto;
    color: maroon;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
}
.flex-contenedor-elemento-descriptivo {
    background-color: var(--color-fondo-claro);
    padding: 0px;
    margin: 5px;
    color: maroon;
    font-weight: normal;
    font-size: 0.5em;
    text-align: left;
    max-width: 100%;
}
.flex-contenedor-elemento-descriptivo.medio {
    font-size: 1em;
 }

.flex-contenedor-elemento-descriptivo.grande {
    font-weight: bold;
    font-size: 2em;
 }
.flex-contenedor-elemento-titulo {
    text-decoration: underline;
    font-weight: bold;
    font-size:1em;
}

.menu_opcion_con_fondo {
    color: var(--color-texto-oscuro);
    margin-left: 30px;
    margin-right: 30px;
    background-color: var(--color-fondo-claro);
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: maroon;
    color: rgb(254, 234, 222);
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .cookie-banner.show {
        transform: translateY(0);
    }

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(254, 234, 222);
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgb(254, 234, 222);
    opacity: 0.95;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-link {
    color: rgb(254, 234, 222);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

    .cookie-link:hover {
        color: rgb(254, 234, 222);
        opacity: 0.8;
    }

.cookie-accept-btn {
    background-color: rgb(254, 234, 222);
    color: maroon;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

    .cookie-accept-btn:hover {
        background-color: rgb(245, 220, 200);
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .cookie-accept-btn:active {
        transform: translateY(0);
    }

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-text h4 {
        font-size: 1.1rem;
    }

    .cookie-text p {
        font-size: 0.9rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .cookie-accept-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 12px;
    }

    .cookie-accept-btn {
        width: 100%;
        max-width: 250px;
    }
}
