        /* Define la fuente */
        @font-face {
            font-family: 'Vogie Narrow';
            src: url('../fonts/vogie-narrow.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        /* Aplica la fuente a toda la página */
        body {
            font-family: 'Vogie Narrow', sans-serif!important;
            overflow-x: hidden;
        }

        html, body {
            height: 100%;
            margin: 0;
        }

        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .container-custom-body {
            flex: 1;
        }


        main {
        flex: 1;
        }


        main {
        flex: 1;
        }


        a{
            color: #1d8350;
        }
        a:hover{
            color: #125333;
        }

        .logo-head{
            width: 170px;
            height: auto; 
        }
        .logo-head-min{
            width: 130px;
            height: auto;
        }

        label{
            font-size: 21px;
        }
        #resultados{
            font-size: 19px;
        }
        select{
            appearance: auto!important;
            -webkit-appearance: auto!important;
            -moz-appearance: auto!important;
            height: 45px;
            font-size: 19px!important;
        }


        h2 span{
            font-size: 18px !important;
            opacity: 0.7;
        }
        h2{
            line-height: 20px;
        }
 

        /* resultados */
        .bg-featured-blog h1{
            color: white;
            font-size: 90px;
            font-weight: bold;
            position: absolute;
            bottom: -17px;
            right: 16px;
            text-shadow: 1px 1px 5px black;
        }

        .bg-featured-blog{ 
            box-shadow: none!important;
        }


        /* Tabla */
        th{
            font-size: 20px;
        }
        table.dataTable>tbody>tr>th, table.dataTable>tbody>tr>td{
            font-size: 15px;
        }


        /* Estilos para el video de fondo */
        .video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        .video-background iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100vw;
            height: 56.25vw; /* 16:9 aspect ratio */
            min-height: 100%;
            min-width: 100%;
        }

        /* Filtro azul sobre el video */
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(29, 131, 80, 0.45); /* Color azul con opacidad */
            z-index: 0;
        }

        header .container {
            position: relative;
            z-index: 2;
        }
       
        header{
            padding-top: 3em!important;
            padding-bottom: 2em!important;
        }
        .top{
            padding-top: 6em!important;
            padding-bottom: 6em!important;
            position: relative;
            min-height: 600px;
        }

        .botones{
            position: absolute; 
            left: 35px; 
            top: 5px;
            margin: auto;
        }
        .logos{
            position: absolute;

            left: 0;
            right: 0;
            bottom: 0px;
            margin: 0 auto; 
            text-align: center;
        }

        .logos {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Estilos para los logos en el header */
        .logo-wrapper {
            display: flex;
            align-items: center;
        }
        .aamm {
            width: 200px;
            height: 200px;
            margin: 0 auto;
            display: block;
            box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.55);
            border-radius: 99999px; 
        }

        .aamm2 {
            width: 200px;
            height: 200px;  
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.35);
            border-radius: 9px; 
        }

        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 85px;
            height: 100%;
            background-color: #ffffff;
            border-right: 1px solid rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 20px;
        }
        .sidebar-logo {
            margin-bottom: 30px;
        }
        .bi-chevron-right::before{
            font-size: 16px!important;
        }
        .drop li a{
            font-size: 24px!important;
        }
        .menu-toggle {
            cursor: pointer;
            color: #d33333;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            
            top: 40%;
            position: relative;
        } 
        .menu-toggle .line {
            width: 30px;
            height: 3px;
            background-color: #d33333;
            margin: 4px 0;
            transition: all 0.3s;
        }
        .menu-toggle.open .line1 {
            transform: rotate(44deg) translate(9px, 10px);
        }
        .menu-toggle.open .line2 {
            opacity: 0;
        }
        .menu-toggle.open .line3 {
            transform: rotate(-44deg) translate(6px, -6px);
        }
        .menu-items {
            position: fixed;
            top: 0;
            left: 85px;
            width: 0;
            height: 100%;
            background-color: #fff;
            transition: width 0.2s;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 50px;
            z-index: 10000;
            box-shadow: 10px 0px 30px #00000023;
        }
        .menu-items.expanded {
            width: 30%;
        }
        .menu-items li a {
            color: #0d3385;
            text-decoration: none;
            margin: 10px 0;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 32px;
            font-weight: 600;
            vertical-align: 21px;
            margin-bottom: 20px;
            border-left: 3px solid transparent;
            padding-left: 10px;
            padding-bottom: 3px;
        }
        .menu-items li a:hover{
            border-left: 3px solid #1d8350;
        }
        .menu-items li{
            list-style: none;
        }
        .menu-items ul{
            width: 80%; 
        }
        .menu-items.expanded a {
            opacity: 1;
        }
        .main-content {
            margin-left: 85px; 
        }

        .fa-lg{
            font-size: 2.2em !important;
        }
         
        .btn-azul {
            display: inline-block;
            background-color: #1d8350;
            color: white;
            padding: 10px 20px;
            border: none;
            cursor: pointer;
            transform: skewX(-16deg);
            overflow: hidden;
            position: relative;
            border-radius: 10px 0px 0px 0px;
        }
        .btn-primary{
            background: #1c1c1c;
            border: none;
        }
        .btn-primary:hover{
            background: #1d8350!important;
        }

        .btn-blanco {
            display: inline-block;
            background-color: #1c1c1c;
            color: #fff;
            padding: 6px 8px;
            border: none;
            cursor: pointer;
            transform: skewX(-16deg);
            overflow: hidden;
            position: relative;
            border-radius: 10px 0px 0px 0px;
            min-width: 158px;
            margin-right: 15px;
        }
        .btn-blanco:hover{
            background: #1d8350!important;
        }

        .btn-brillante {
            position: relative;
            z-index: 1;
            background-color: rgb(190, 68, 68)!important;
        }

        .btn-brillante::before {
            content: '';
            position: absolute;
            top: 0;
            left: -75%;
            width: 50%;
            height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
            transform: skewX(-16deg);
            z-index: 2;
            animation: shine 2.5s infinite;
            pointer-events: none;
            border-radius: 10px 0px 0px 0px;
        }

        @keyframes shine {
            0% {
                left: -75%;
            }
            50% {
                left: 155%;
            }
            100% {
                left: 155%;
            }
        }

        
        .btn2{
            border-radius: 10px 0px 0px 0px!important;
        }

        .card-body{
            background: #fafafa;
            background-image: url(../assets/back.png);
            background-size: contain;
            background-repeat: no-repeat;
            background-position-y: bottom;
            background-position-x: right;
        }
        .card{
            border: none!important;
            box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
            max-height: 270px;
        }

        .btn-lg{
            font-size: 21px;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .btn .btn-content {
            display: inline-block;
            transform: skewX(17.6deg); 
        }
        
        footer{
            background-color: #0f0f0f;  
        }
        
        .red-social i{
            font-size: 34px;
        }
        
        .border-bottom{
            border-bottom: 2px solid rgba(255, 255, 255, 0.3)!important;
        }
        
        /** Galería **/

        .gallery {
            width: 90%;
            margin: 0 auto;
            padding: 20px 20;
            box-sizing: border-box;
        }

        .gallery .slider {
            width: 100%;
        }

        .gallery .slider .slick-slide {
            margin: 0 10px;
        }
        
        .slick-track{
            padding: 25px 0px;   
        }
 
        .gallery-item { 
            height: 400px !important; /* Altura uniforme */
        }

        .gallery .slider img {
            width: 100%;
            height: 100%; /* Asegura que la imagen ocupe toda la altura del contenedor */
            object-fit: cover; /* Escala y recorta para llenar el espacio */
            border-radius: 10px;
            border: 1px solid white;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
        }
 
        .gallery .slick-prev,
        .gallery .slick-next {
            width: 40px;
            height: 40px;
            border-radius: 7px;
            background-color: rgba(0, 0, 0, 0.4);
            color: white;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px; /* Ajusta el tamaño del icono si es necesario */
            border: none;
        }

        .gallery .slick-prev {
            left: -45px; /* Ajusta la posición según sea necesario */
        }

        .gallery .slick-next {
            right: -45px; /* Ajusta la posición según sea necesario */
        }
        .slick-next:before, .slick-prev:before{
            content: ''!important;
        }
        
        /* Noticias */
        .feature{
            overflow: hidden;
            min-width: 100px!important;
            height: 100px!important;
            box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.25);
        }
        .feature img{
            height: 100%!important;
            width: auto!important;
        }
 
        .boton-new:hover{
            cursor: pointer; 
            filter: brightness(1.12);
        }
        .boton-new:hover .feature img{
            transform: scale(1.05); 
        }
        .feature img{
            transition: transform 0.6s ease;
        }

       

        .titulo-nota{
            font-size: 5em;
            color: #141414;
            line-height: 78px;
        }
  

        /* Fuentes */

        .line-bottom{
            width: fit-content;
            border-bottom: 1px solid #1d8350;
        }

        .lead {
            font-size: 1.5rem;
            font-weight: 300;
        }
        
        .titulo-new{
            font-weight: 600;
            font-size: 20px;
            line-height: 20px;
        }
        .parrafo-new{ 
            color: #1c1c1c;
            font-size: 18px;
            line-height: 19px;
            font-weight: 100;
            margin-bottom: 0px;
        }
        small{
            font-weight: 500;
            font-size: 15px;
            letter-spacing: 1px;
            color: #5c5c5c;
        }

        .f-blue{
            color: #1d8350!important;
        }
        
        h4{
            font-size: 21px;
        }

    .img-nota{
        object-fit: cover; height: auto;
    }

.prox-eventos-card{
    overflow: hidden;
}


    .bg-featured-blog{
        background-image: url(../assets/logo-FEDEMOT.png)!important; 
        background-size: contain!important;
    }

@media (max-width: 900px) {
    
    .bg-featured-blog h1{
        display: none;
    }
    
    .btn-azul .btn-content{
        color: white!important;
    }
    
        .aamm {
            width: 150px;
            height:150px; 
        }


    .titulo-nota{
        font-size: 3em;
        color: #141414;
        line-height: 45px;
    } 
    
    
    .prox-eventos-card{
    overflow: visible;
    }
     
    .menu-toggle.open .line1 {
        transform: rotate(44deg) translate(6px, 10px);
    }
    .menu-toggle.open .line3 {
        transform: rotate(-44deg) translate(1px, -4px);
    }   
    
    .sidebar {
        position: static; /* Cambiar a estático para que ocupe el espacio en la parte superior */
        width: 100%; /* Tomar el ancho completo */
        height: auto; /* Altura automática */
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Añadir un borde en la parte inferior */
    }

    .menu-items {
        position: static; /* Cambiar a estático para que aparezca debajo de la barra lateral */
        width: 100%; /* Tomar el ancho completo */
        height: auto; /* Altura automática */
        box-shadow: none; /* Remover la sombra */
        padding: 0; /* Remover padding si no es necesario */
        display: none; /* Inicialmente ocultar el menú */
    }

    .menu-items.expanded {
        display: flex; /* Cambiar a flex para mostrar el menú como una columna */
        flex-direction: column; /* Alinear los elementos verticalmente */
        padding: 10px 0; /* Añadir algo de padding */
        width: 100%;
    }

    .main-content {
        margin-left: 0; /* Sin margen a la izquierda en pantallas pequeñas */
        max-width: 100%; /* Ancho completo */
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 17px;
    }
    .menu-items li a{
        font-size: 26px;
    }
    
    .img-nota{
        object-fit: cover; height: auto;
    }
    
    
    .botones {
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        margin: auto;
    }
    .btn-blanco {
        display: inline-block;
        background-color: #ffffff; 
        padding: 6px 4px;
        border: none;
        cursor: pointer;
        transform: none;
        overflow: hidden;
        position: relative;
        border-radius: 0px;
        min-width: fit-content;
        margin-right: 0px;
        font-size: 15px;
    } 
    .btn-primary:hover {
        background: red!important;
    } 
    .btn .btn-content {
        display: inline-block;
        transform: none;
        color: #272727;
        font-size: 0.8em;
    }   
    
    
    
    .btn-lg{
        font-size: 21px!important;
        padding: 3px 17px!important;
    }
    
    
    .gallery .slick-next {
        right: -10px;
    }
    .gallery .slick-prev {
        left: -9px;
    }
    
    
    .logo-wrapper {
        flex-direction: column;
    }
    .logo-head-center {
        order: -1; /* Coloca el logo del centro en la parte superior */
        margin-bottom: 15px; /* Espacio entre el logo central y los otros logos */
        width: 135px;
    }
    
    .logo-head-min{
       width: 66px; 
    }
}
