﻿@font-face {
    font-family: 'MinionPro-Bold';
    src: url('../fonts/Minion-Pro/MinionPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro-BoldCn';
    src: url('../fonts/Minion-Pro/MinionPro-BoldCn.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro-BoldCnIt';
    src: url('../fonts/Minion-Pro/MinionPro-BoldCnIt.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'MinionPro-BoldIt';
    src: url('../fonts/Minion-Pro/MinionPro-BoldIt.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'MinionPro-It';
    src: url('../fonts/Minion-Pro/MinionPro-It.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'MinionPro-Medium';
    src: url('../fonts/Minion-Pro/MinionPro-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro-MediumIt';
    src: url('../fonts/Minion-Pro/MinionPro-MediumIt.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'MinionPro-Regular';
    src: url('../fonts/Minion-Pro/MinionPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro-Semibold';
    src: url('../fonts/Minion-Pro/MinionPro-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MinionPro-SemiboldIt';
    src: url('../fonts/Minion-Pro/MinionPro-SemiboldIt.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

/* Myriad Pro */
@font-face {
    font-family: 'MyriadPro-Bold';
    src: url('../fonts/Myriad-Pro/MyriadPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro-BoldCn';
    src: url('../fonts/Myriad-Pro/MyriadPro-BoldCn.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro-BoldCnIt';
    src: url('../fonts/Myriad-Pro/MyriadPro-BoldCnIt.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'MyriadPro-BoldIt';
    src: url('../fonts/Myriad-Pro/MyriadPro-BoldIt.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'MyriadPro-It';
    src: url('../fonts/Myriad-Pro/MyriadPro-It.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'MyriadPro-Medium';
    src: url('../fonts/Myriad-Pro/MyriadPro-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro-MediumIt';
    src: url('../fonts/Myriad-Pro/MyriadPro-MediumIt.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'MyriadPro-Regular';
    src: url('../fonts/Myriad-Pro/MyriadPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro-Semibold';
    src: url('../fonts/Myriad-Pro/MyriadPro-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro-SemiboldIt';
    src: url('../fonts/Myriad-Pro/MyriadPro-SemiboldIt.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}


.navbarWeb {
    overflow: visible !important; /* 👈 Permite que el submenú se vea completo */
    background-color: #ffffff;
    position: fixed; 
    top: 0px; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
    vertical-align: central;
    z-index: 100;
}
    /* Links inside the navbar */
    .navbarWeb .menu-link {
        float: left;
        display: block;
        color: #18800e;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        background: #ffffff;
    }

        .navbarWeb .menu-link:hover {
            background: #808080;
            color: black;
        }

        .contenido-principal {
            padding-top: 230px;
            padding-bottom: 15px;
        }

        .responsive-div-head1 td a {
            display: inline-flex; /* Hace que el enlace se comporte como un contenedor flexible */
            align-items: center; /* Centra la imagen dentro del enlace */
            justify-content: center; /* Centra horizontalmente */
            height: 100%; /* Ocupa toda la altura del <td> */
        }

        .responsive-div-head1 {
            width: 100%; /* Ocupa todo el ancho disponible */
            height: 50px; /* Altura fija */
            background-color: #18800e; /* Color de fondo */
            padding: 20px;
        }

        @media (max-width: 768px) {
            .imgresponsive {
                width: 70px;
                height: 30px;
            }
            .fontbanner {
                font-size: 15px
            }
            .fontbanner2 {
                font-size: 8px
            }
            .fonth1 {
                font-size: 15px;
                font-weight: bold;
                margin: 0.67em 0;
            }

            .fonth2 {
                font-size: 8px;
                font-weight: bold;
                margin: 0.67em 0;
            }
        }
        @media (min-width: 769px) {
            .imgresponsive {
                width: 143px;
                height: 65px;
            }
            .fontbanner {
                font-size: 60px
            }
            .fonth1 {
                font-size: 2em;
                font-weight: bold;
                margin: 0.67em 0;
            }
            .fonth2 {
                font-size: 1.5em;
                font-weight: bold;
                margin: 0.67em 0;
            }
        }

.responsive-div-foot1 td a {
    display: inline-flex; /* Hace que el enlace se comporte como un contenedor flexible */
    align-items: center; /* Centra la imagen dentro del enlace */
    justify-content: center; /* Centra horizontalmente */
    height: 100%; /* Ocupa toda la altura del <td> */
}

    .responsive-div-foot1 {
        width: 100%; /* Ocupa todo el ancho disponible */
        /*height: 50px;*/ /* Altura fija */
        background-color: #eeedea; /* Color de fondo */
        color: #18800e;
    }

    #mySidenav {
        position: fixed;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 1000;
    }

        #mySidenav a {
            position: relative;
            right: -80px;
            transition: 0.3s;
            padding: 15px;
            width: 100px;
            text-decoration: none;
            font-size: 20px;
            color: white;
            border-radius: 5px 0 0 5px;
            display: flex;
            margin-bottom: 0px;
        }

            #mySidenav a:hover {
                right: 0;
            }

    #whatsapp {
        background-color: #18800e;
    }

    #pagos {
        background-color: #e89d25;
    }

    #intranet {
        background-color: #808080;
    }

    .sidenav a {
        display: flex;
        align-items: center; /* Alinea verticalmente */
        gap: 5px; /* Espacio entre imagen y texto */
        text-decoration: none;
        color: black;
        padding: 5px 10px;
    }

    .sidenav img {
        width: 30px;
        height: 30px;
    }

    .banner-container {
        position: relative;
        width: 100%;
        /*max-width: 1200px;*/ /* Ajusta según necesites */
        margin: auto;
    }

        .banner-container img {
            width: 100%;
            height: auto;
            display: block;
        }

    .overlay-content {
        position: absolute;
        top: 50%; /* Centra verticalmente */
        left: 30%; /* Centra horizontalmente */
        transform: translate(-20%, -50%); /* Corrige el centrado exacto */
        color: white;
        text-align: center;
        background: rgba(0, 0, 0, 0); /* Opcional: fondo semitransparente */
        padding: 20px;
        border-radius: 10px;
    }

        .overlay-content h1 {
            font-size: 2em;
            margin-bottom: 10px;
        }

        .overlay-content button {
            background-color: #ff9900;
            color: white;
            padding: 5px 10px;
            border: none;
            cursor: pointer;
            font-size: 1.2em;
            border-radius: 5px;
        }

            .overlay-content button:hover {
                background-color: #e89d25;
            }

    .div1 {
        background-color: #eeedea;
        border-radius: 15%;
        max-width: 100%;
        font-family: MinionPro-Regular, sans-serif;
    }

    .div2 {
        background-color: #eeedea;
        border-radius: 2%;
        font-family: MinionPro-Regular, sans-serif;
        width: 100%;
    }

    .overlay-content-general {
        color: black;
        text-align: center;
        background: rgba(0, 0, 0, 0);
        padding: 20px;
        border-radius: 10px;
    }

        .overlay-content-general h1 {
            font-size: 2em;
            margin-bottom: 10px;
        }

        .overlay-content-general table button,
        .overlay-content-general tr button,
        .overlay-content-general td button,
        .overlay-content-general p button {
            background-color: #ff9900;
            color: white;
            padding: 10px 20px;
            border: none;
            cursor: pointer;
            font-size: 1.2em;
            border-radius: 5px;
        }

            .overlay-content-general table button:hover,
            .overlay-content-general tr button:hover,
            .overlay-content-general td button:hover,
            .overlay-content-general p button:hover {
                background-color: #e89d25;
            }


    .table-container {
        color: black;
        text-align: center;
        position: relative;
        width: 100%;
        z-index: 1;
    }

        .table-container h1 {
            font-size: 2em;
            margin-bottom: 10px;
        }

        .table-container::before,
        .table-container::after {
            content: "";
            position: absolute;
            width: 40%; /* Ajusta el tamaño de la imagen */
            height: 40%; /* Aproximadamente cubre dos filas */
            background-size: contain;
            background-repeat: no-repeat; /* Evita el mosaico */
            opacity: 1; /* Opcional: ajusta la opacidad */
            z-index: 0;
        }


        .table-container::before {
            top: 0;
            right: 0;
            background-image: url('../images/web/fondo-hoja2.png');
            background-position: right center;
        }

        .table-container::after {
            bottom: 0;
            left: 0;
            background-image: url('../images/web/fondo-hoja1.png');
            background-position: left center;
        }

    table2 {
        position: relative;
        z-index: 1;
        background-color: #eeedea; /* Asegura que el fondo base se mantenga */
    }

/* ----- SUBMENÚ DESPLEGABLE ----- */
/* Contenedor general del menú */
nav, header, .menu-container {
    overflow: visible; /* 👈 permite que el submenú se muestre completo */
}

/* Cada bloque de submenú */
.submenu {
    position: relative; /* 👈 define el punto de referencia para el submenú */
    display: inline-block;
}

/* Submenú desplegable */
.submenu-content {
    display: none;
    position: absolute;
    top: 100%; /* 👈 se ubica justo debajo del enlace principal */
    left: 0;
    background-color: #004080;
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-radius: 4px;
    z-index: 9999; /* 👈 garantiza que quede por encima de todo */
    /*margin-top: 6px;*/
}

    /* Enlaces dentro del submenú */
    .submenu-content a {
        color: white;
        padding: 10px 16px;
        display: block;
        text-decoration: none;
    }

        .submenu-content a:hover {
            background-color: rgba(255,255,255,0.1);
        }

/* Mostrar el submenú al pasar el mouse */
.submenu:hover .submenu-content {
    display: block;
}


/* ----- VERSIÓN MÓVIL ----- */
@@media (max-width: 768px) {
    .menu-link {
        display: block;
        padding: 12px;
    }

    .submenu-content {
        position: static;
        box-shadow: none;
        background-color: #002b5c;
        border-radius: 0;
        margin-top: 0;
    }
}

