﻿/* --- Estilos para el sticky footer (pie de página fijo) --- */
body {
    display: flex; /* Habilita Flexbox en el cuerpo de la página */
    flex-direction: column; /* Organiza los elementos en una columna */
    min-height: 100vh; /* Asegura que el cuerpo ocupe al menos el 100% de la altura de la ventana */
    margin: 0; /* Elimina cualquier margen por defecto */
}

#MainContent { /* Este es el contenedor principal que "empuja" el pie de página */
    flex-grow: 1; /* Permite que este contenedor se expanda para llenar el espacio disponible */
}

.footer {
    width: 100%;
    height: 81px;
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 10px 0;
    /* Los estilos de posicionamiento absoluto ya no son necesarios con Flexbox */
}

/* --- Estilos generales y existentes --- */
#topContent {
    text-align: right;
    background-color: #600;
    color: White;
    font-size: x-large;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    height: 50px;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('imagenes/SICGROUP-W.png') 50% 50% no-repeat rgb(249,249,249);
    opacity: .8;
}

.boton_web {
    font-family: Arial;
    color: #000000;
    background-color: black;
    width: 100px;
}

.alineacion {
    text-align: center;
}

.boton_personalizado {
    text-decoration: none;
    font-family: Arial;
    font-weight: bold;
    font-size: 14px;
    font-style: normal;
    color: #000000;
    background-color: #dbe0ff;
    border-radius: 8px;
    border: 1px #006505;
    width: 100%;
    max-width: 100%;
}

    .boton_personalizado:hover {
        opacity: 0.5;
        text-decoration: none;
    }

.boton_personalizado2 {
    text-decoration: none;
    font-style: normal;
    background-color: #00B4FE;
    color: #000000;
    border-radius: 8px;
    border: 1px #006505;
    width: 100px;
}

    .boton_personalizado2:hover {
        opacity: 0.5;
        text-decoration: none;
    }

.Texto_personalizado {
    text-decoration: none;
    font-family: Arial;
    font-weight: normal;
    font-size: 10pt;
    font-style: normal;
    color: black;
    height: 25px;
    background-color: #dbe0ff;
    border-radius: 3px;
    border: 1px #006505;
}

    .Texto_personalizado:hover {
        opacity: 0.3;
        text-decoration: none;
    }

.ANCHO_COLUMNA {
    width: 50%
}

.Titulo {
    font-family: Arial;
    font-weight: bold;
    font-size: 18pt;
    font-style: normal;
    color: #000;
}

.Letra {
    font-family: Arial;
    font-weight: normal;
    font-size: 10pt;
    font-style: normal;
}

.Boton_accion {
    text-decoration: none;
    font-family: Arial;
    font-weight: normal;
    font-size: 14pt;
    font-style: normal;
    color: white;
    height: 25px;
    background-color: #00B4FE;
    border-radius: 3px;
    border: 1px #006505;
    width: 100px;
}

    .Boton_accion:hover {
        opacity: 0.5;
        text-decoration: none;
    }

.Texto_alineacion {
    text-decoration: none;
    font-family: Arial;
    font-size: 14pt;
    color: black;
    border-radius: 3px;
    border: 1px #006505;
}

.animacion_div {
    Height: 150px;
    width: 150px;
    max-width: 200px;
}

.animacion {
    Height: 35px;
    border-radius: 5px;
    border-width: 1px;
    border-color: lightgray;
    border-style: solid;
    font-family: Arial;
    font-size: 14px;
    font-style: normal;
    color: gray;
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width: 98%;
}

    .animacion:hover {
        text-decoration: none;
        animation: fadeIn ease 2s;
    }

.animacion_solo {
    height: 40PX;
    text-align: center;
    background-color: white;
    border-radius: 15px;
    border: 1px #006505;
    font-size: 14pt;
    font-family: Arial;
    color: black;
}

    .animacion_solo:hover {
        text-decoration: none;
        animation: fadeIn ease 2s;
    }

input::-webkit-input-placeholder {
    color: silver;
    font-family: Arial;
    font-size: 10pt;
}

input:-moz-placeholder {
    color: silver;
    font-family: Arial;
    font-size: 10pt;
}

input:-ms-input-placeholder {
    color: silver;
    font-family: Arial;
    font-size: 10pt;
}

.MaxMin {
    max-width: 200px;
    width: 100%;
}

/* --- Estilos para el menú de navegación (ASP:Menu) --- */
.menu-container {
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.menu-profesional {
    width: 100%;
    background-color: #fff;
    border: none;
    font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
}

    .menu-profesional > ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .menu-profesional ul li {
        border: none;
        margin: 0 10px;
        position: relative;
        padding: 0;
    }

        .menu-profesional ul li a {
            color: #333;
            text-decoration: none;
            padding: 8px 15px;
            display: block;
            white-space: nowrap;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

            .menu-profesional ul li a:hover {
                background-color: #f0f0f0;
                color: #000;
            }

    .menu-profesional ul ul {
        list-style: none;
        background-color: #fff;
        border: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin: 0;
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
    }

        .menu-profesional ul ul li {
            margin: 0;
            border-bottom: 1px solid #eee;
        }

            .menu-profesional ul ul li:last-child {
                border-bottom: none;
            }

/* --- Estilos para la galería de productos --- */
.contenedor_productos {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.imagen_producto {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

    .imagen_producto img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

.info_producto {
    flex-grow: 1;
    text-align: left;
}

    .info_producto h3 {
        margin: 0;
        font-size: 16px;
        color: #333;
    }

    .info_producto p {
        margin: 0;
        font-size: 12px;
        color: #666;
    }

.boton_producto {
    flex-shrink: 0;
    width: 100px;
}

/* --- Media Queries para móviles --- */
@media (max-width: 768px) {
    /* Ajuste de contenedores principales para ocupar el 100% */
    .container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* Estilos del menú */
    .menu-profesional {
        box-shadow: none;
    }

        .menu-profesional > ul {
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
        }

        .menu-profesional ul li {
            width: 100%;
            border-bottom: 1px solid #eee;
            margin: 0;
        }

        .menu-profesional ul ul {
            position: static;
            box-shadow: none;
            width: 100%;
            padding-left: 20px;
        }

            .menu-profesional ul ul li {
                border-bottom: none;
            }

    /* Estilos de la galería de productos */
    .contenedor_productos {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100% !important;
    }

    .imagen_producto,
    .info_producto,
    .boton_producto {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }

        .imagen_producto img {
            width: 150px;
            height: 150px;
        }
}
