body {
    font-family: 'Montserrat';
    margin: 0;
}
.navbar{
    display: flex;
    align-items: center;
    padding: 10px;
    margin-left: 10%;
    color:#393C3E;
    font-weight: 300;
    font-family: 'Montserrat';
    font-size: 18px;
}

.navbar a.Activa {
    text-decoration: underline; /* Solo subraya el enlace activo */
}
.navbar a{
    text-decoration: none;
    padding: 10px;
    line-height: 1.25em;
}

.home{
    width: 18px;
    margin-right: 20px;
}
.home:hover{
    text-decoration: underline;
}
.Superior {
    background-color: #611232;
    /*background-color: #0c231e;*/
    height: 60px;
    width: auto;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 1000;
    
}



.Superior div {
    display: inline-block;
}

.Imagen_Gob{
    
    margin-top: 0.5%;
    margin-left: 6%;
}

.Logo_Gobierno {
    width: 90px;
    height: auto;
    float: left;
   
    margin-left: 20px;
    margin-top: 10px;
}

#toggleButton {
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    z-index: 1000;
}

.Opciones {
    float: right;
    margin-left: 20%;
    height: 45px;
   display: none;
}


a.Op_servicios {
    text-decoration: none;
    color: rgb(131, 131, 131);
    color: white;
    display: inline-block;
    padding: 13px 20px;
    margin-bottom: 15px;
}

a.Op_servicios:hover {
    color: rgb(24, 24, 24);
    cursor: pointer;
    background-color: rgb(204, 183, 64);
}

.Lupa {
    width: 18px;
}

.Barra_Menu {
    background-color:#a57f2c;
    height: 60px;
    text-align: left;
    display: flex;
    top: 60px;
    left: 0;
    right: 0;
    position: fixed;
    display: flex;
    z-index: 999;
}

.IMSS {
    color: rgb(255, 255, 255);
    text-align: left;
    display: flex;
    margin-left: 8%;
    float: left;
    font-family: 'Montserrat';
    margin-top: 15px;
    font-size: 20px;
    
}


.IMSS:hover {
    color: #12C;
}

.Dir {
    list-style-type: none;
    padding: 6;
    margin: 0;
    text-align: right;
    align-items: center;
    justify-content: right;
    float: right;
    margin-left: 15%;
    display: flex;
    
    
}

.Submenu {
    display: none;
    position: absolute;
    left: -150px;
    top: 100%;
    background-color: white;
    border: 1px solid #ccc;
    padding: 6px;
    z-index: 1000;
    list-style: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}

.Dir li {
    position: relative;
}

.Dir li:hover .Submenu {
    display: block;
}

.Submenu li {
    margin: 0;
}

.Submenu li a {
    display: block;
    padding: 4px 7px;
    text-decoration: none;
    color: #000;
    text-align: left;
}

.Submenu li a:hover {
    background-color: #f0f0f0;
}

a.Directorio {
    text-decoration: none;
    color: rgb(131, 131, 131);
    color: white;
    display: inline-block;
    padding: 13px 20px;
    /* Ajusta el padding superior e inferior según lo que necesites */
    margin-bottom: 15px;
}

a.Directorio:hover {
    color: rgb(24, 24, 24);
    cursor: pointer;
    background-color: rgb(204, 183, 64);

}

.Banner-IMSS {
    text-align: center;
    margin-top: 130px;
}

.Banner1 {
    margin-top: 8px;
    align-items: center;
}

.Titulo_servicios {
    font-size: 38px;
    text-align: center;
    margin-right: 60%;
    font-family: 'Montserrat';
    color: #404041;
    font-weight: 600;

}

.Titulo-servicios1{
    font-size: 38px;
   margin-left: 10%;
    font-family: 'Montserrat';
    color: #404041;
    font-weight: bold;

}

.Separador {
    height: 8px;
    border: 1px;
    box-shadow: 1px;
    border-color: rgb(226, 226, 226);
    border-style: solid;
    width: 1098px;
    margin-left: 10%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.Div1 {
    background-color: rgb(182, 120, 6);
    height: 8px;
    width: 40px;
}

.Profesiones {
    padding-left: 10px;
    padding-right: 10px;
    min-height: 1px;
    position: relative;
    text-align: center;
}

.Profesiones div {
    display: inline-block;
    padding: 10px;
    height: 250px;
}

.text-tramites {
    color: #545454;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-tramites:hover {
    text-decoration: underline;
}

.text {
    width: 160px; /* Ajusta este valor si es necesario */
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
    word-wrap: break-word; /* Permite que el texto se ajuste */
}

.Derechohabientes {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Cambia a center para centrar todo el contenido */
    font-family: 'Montserrat';
    font-weight: bold;
    margin-bottom: 20px;
}

.Img {
    width: 160px;
    height: 220px;
    margin-bottom: 10px;
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: #7e7e7e;
    display: block;
    text-align: center;
    font: bold;
}

.Titulo_servicios{
    margin-top: 60px;
}

.Accesos {
    margin: 0 auto; 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center; 
        text-align: center;
}

.Accesos div {
    display: inline-block;
    padding: 30px;
    height: 100px;

}
.color-ico {
    color: #545454;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-ico:hover {
    text-decoration: underline;
}

.text-ico {
    width: 90px;
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}
}
.Iconos-Accesos {
    height: 250px;
    display: flex;
    white-space: nowrap;
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;

}

.Img-Accesos {
    width: 80px;
    height: 80px;
    display: block;
}

.Imagenesc {
    width: 1100px;
    height: 280px;
    display: flex;
    margin: 0 auto;
    margin-top: 55px;
    color: #545454 !important;
    font-weight: 600;

}

.Vistas {
    position: relative;
    overflow-x: hidden;
}



.Slider-Interes {
    display: flex;
    justify-content: center;
}

.Titulo-interes {
    text-align: left;
    font-size: 25px;
}

.Interes-carrusel {
    width: 550px;
    height: 270px;
    /*background-color: aquamarine;*/
    flex-direction: column;
}

.Interes-carrusel2 {
    width: 550px;
    height: 220px;
    background-color: rgb(29, 61, 50);
}

.img-interes {
    width: 475px;
    margin-top: 10px;
    margin-left: 40px;
}

.Interes-carrusel.ArrowLeft .Interes-carrusel.ArrowRight {

    position: absolute;
    height: 100%;
    width: 2em;
    align-items: center;
    justify-content: center;
    display: none;
    user-select: none;

}

.Acerca-de {
    width: 1100px;
    height: 280px;
    display: flex;
    margin: 0 auto;
    margin-top: 2px;
    border: 1px;


}

.Text-Acerca-de {
    width: 550px;
    height: 290px;
    text-align: left;
    font-size: 16px;
    margin-top: 15px;
    font-family: 'Montserrat';
}

.Link-Acerca-de {
    text-align: left;
    margin-top: 10px;
    color: #12C;
}

.Slider-Interes .Cuadros-Banner{
    display: inline-block;
	
}

.Cuadros-Banner:hover{
    text-decoration: underline;
    color: #545454;
}

.Cuadros-Banner a{
    background: #ffffff;
    border: 1px;
    border-color:  #666;
    border-style: solid;
    
	display: block;
	width: 30px;
	height: 30px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
    font-family: 'Arial';
    font-weight: 100;
    font-size: 18px;
}

.Cuadro-IMSS{
  margin-left: 30px;
}

.IMSS-NUM a{
    background: #ffffff;
    border: 1px;
    border-color:  #666;
    border-style: solid;
    
	display: block;
	width: 30px;
	height: 30px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
    font-family: 'Arial';
    font-weight: 100;
    font-size: 18px;
}
.Abajo{
    width: 4%;
    height: 30px;
    display: block;
    color: #912222;
}


.Cuadros-Banner{
    text-align: center;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    color: #ffffff;
	padding-top: 20px;
}

.Enlaces {
    margin-top: 30px;
    flex-direction: column;
    align-items: flex-start;
    display: flex;
	-webkit-border-radius: 5px;
	border-radius: 5px;

}

.Links-Ex {
    color: #12C;
    text-align: left;
}

.Links-Ex:hover {
    text-decoration: underline;
}

.Red {
    color: #12C;
    text-align: left;
}

.Red:hover {
    text-decoration: underline;
}

.Enlaces {
    padding-right: 45px;
    color: #545454 !important;
}

.En {
    font-size: 27px;
    padding-bottom: 10px;
    font-weight: 600;
    font-family: 'Montserrat';
}

.Enlace-ex {
    width: 190px;
    height: auto;
    padding-top: 20px;

}

.Img-red-s {
    width: 16px;
    height: 15px;
}

.Redes-s {
    padding-top: 30px;
    color: #545454 !important;

}

.Busquedas {
    width: 1100px;
    height: 280px;
    display: flex;
    margin: 0 auto;
    margin-top: 2px;




}

.Separador-busquedas {
    height: 8px;
    border: 1px;
    box-shadow: 1px;
    border-color: rgb(226, 226, 226);
    border-style: solid;
    width: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.Div-Busquedas {
    background-color: rgb(182, 120, 6);
    height: 8px;
    width: 40px;
}

.Titulo-Busquedas {
    font-size: 28px;
    text-align: left;
    font-family: 'Montserrat';
    color: #404041;
    font-weight: bold;
    margin-bottom: 10px;
    
}

.text-dato-importante{
    font-size: 15px;
    font-family: 'Montserrat';
    
}

.IMSS-Numeros {
    display: flex;
    margin-right: 40px;
}

.Preguntas-Salud {
    margin-right: 49px;
}

.Consulta {
    color: #12C;
    text-align: left;
}

.Consulta:hover {
    text-decoration: underline;
}

a {
    cursor: pointer;
}

a.visited {
    text-decoration: none;
}


.PalabrasB {
    list-style: none;
    color: #12C;
    font-family: 'Montserrat';
}

body ul {
    line-height: 1.5em;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

.Tamaño18 {
    font-size: 20px;
    color: #12C;
}

.Tamaño17 {
    font-size: 18px;
    color: #12C;
}

.Tamaño12 {
    font-size: 16px;
    color: #12C;
}

.Tamaño19 {
    font-size: 30px;
    color: #12C;
}
.Tamaño13{
    font-size: 16px;
    color: #12C;
}

.Texto-in{
    font-family: 'Montserrat';
    font-size: 10px;
}


.agenda{
    margin: 0 auto;
    width: 1100px;
    height: 400px;
    display: flex;
}

.Prensa{
    width: 800px;
    height: 400px;
}
.Div-prensa{
    background-color: rgb(182, 120, 6);
    height: 8px;
    width: 40px;
}
.Separador-prensa{
    height: 8px;
    border: 1px;
    box-shadow: 1px;
    border-color: rgb(226, 226, 226);
    border-style: solid;
    width: 1098px;
    
}

.Img-prensa{
    margin-top: 30px;
    margin-left: 30px;
    width: 250px;
    height: 90px;
}
.link-prensa{
    margin-top: 30px;
    text-align: justify;
    font-size: 20px;
    font-family: 'Montserrat';
    color: #12C;
}
.link-prensa a{
    text-decoration: underline;
}
.contenedor-text{
    
}
.text-prensa{
    text-align: justify;
    color: #545454;
}

.contenedor-prensa{
    display: flex;
    
}

.fechaComunicados{
    float: left;
    height: 56px;
    margin-right: 10px;
    margin-top: 10px;
    text-align: center;
    width: 56px;
    color: rgb(255, 255, 255) !important;
    background: none 0px 0px repeat scroll rgb(57, 59, 60);
    border-radius: 10px;
    border-style: solid;
    border-width: 0.1em;
    padding: 3px;
    margin-left: 10px;
}

.text-com{
    text-align:left ;
    margin-top: 10px;
    color: #12C;
}
.text-com:hover{
    text-decoration: underline;
}



.final{
    
    background-color: #611232;
   /* background-color: #0c231e;*/
    min-height: 56px;
    color: #FFF;
    padding: 0px 0 0px;
    text-align: left;
    margin-top: 30px;
    font-weight: 300;
    display: flex;
    width: auto;
    height: 400px;
    top: 0;
    left: 0;
    right: 0;
}

.Gob-end{
    margin-top: 30px;
    margin-left: 100px;
}

.Enlaces-end{
    display: block;
    text-align: left;
    justify-content: left;
    align-items: center;
    margin-top: 30px;
    margin-left: 15px;
    width: 15%;
    color: white;
}
.Enlaces-end label{
    color: white;
}

.enlaces-lista {
    list-style-type: none; /* Quita los puntos de la lista */
    padding: 0;           /* Elimina el padding */
    margin: 0;  
    margin-top: 25px; 
            /* Elimina el margen */
}

.enlaces-lista li {
    display: inline;       /* Muestra los elementos en línea */
    
}

.Den-end{
    color: #FFF;
    text-align: left;
}

.Links-g{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.Links-g li{
    display: inline;
}
.GobMX{
    width: 270px;
    font-family: 'Montserrat';
    
}
.Leer-end{
    color: #FFF;
    font-size: 14px;
    text-decoration: none;
    margin-top: -18px;
    font-family: 'Montserrat';
    margin-left: 10p;
}

.Denuncia{
    width: 564px;
    margin-top: 25px;
    margin-left: 30px;
    
    
}
.Cont-img{
    display: flex;
}
.Icon-twitter:hover{
    color: #ff0404;
}

.Banner-end{
    height: 50px;
    background-image: url(https://framework-gb.cdn.gob.mx/gobmx/img/pleca.svg);
    background-color: #ffffff;
    background-repeat: repeat-x;
    bottom: 0;
}







@media(max-width: 799px) {

    .Banner-IMSS {
        justify-content: center; /* Centra el banner horizontalmente */
    
    }

    .Banner1 {
        width: 80%; /* Haz el banner más pequeño en móviles */
        height: auto; /* Mantiene la proporción de la imagen */
    }


    .Opciones {
        display: none; /* Las opciones están ocultas inicialmente en pantallas pequeñas */
        visibility: hidden; /* Asegúrate de que las opciones no sean visibles */
        opacity: 0; /* Completamente transparentes */
        height: 0; /* Sin altura para evitar que ocupen espacio */
        overflow: hidden; /* Ocultar el contenido que sobresale */
        transition: visibility 0s, opacity 0.5s ease; /* Transición suave para mostrar/ocultar */
    }

    /* Mostrar el ícono de menú en pantallas pequeñas */
    #menu-icon {
        display: inline-block;
        cursor: pointer;
    }

    /* Mostrar las opciones cuando el menú esté activo */
    .Opciones.active {
        display: flex; /* Usar flex para alinear las opciones */
        visibility: visible; /* Hacer visibles las opciones */
        opacity: 1; /* Totalmente opacas */
        height: auto; /* Permitir que el menú ajuste su altura automáticamente */
        overflow: visible; /* Hacer visible el contenido */
        position: absolute;
        top: 60px;
        right: 0;
        background-color:#611232;
        width: 100%; /* Asegurar que el menú ocupa toda la pantalla */
        padding: 10px;
        transition: visibility 0s, opacity 0.5s ease; /* Mantener la transición suave */
    }

    .Opciones a {
        display: block;
        margin: 10px 0;
        text-align: right;
        padding-right: 20px;
    }

.Icon-men{
    width: 30px;
    height: 30px;
    margin-top: 2%;
    margin-right: 1%;
    order: 2; /* Colocar el ícono del menú después del título */
    margin-left: auto; /* Empujar el ícono del menú a la derecha */
 
}

.Icon-superior {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 30px; /* Ajusta el tamaño según lo necesites */
    height: auto;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}
    .navbar{
        margin-left: 15%;
        font-size: 16px;
    }

.Superior{
    width: 100%;
}
    
.Barra_menu{
   
    flex-direction: column; /* Cambia la dirección a vertical */
    height: auto; /* Ajusta la altura automáticamente */
    width: 100%;
  }

  .Barra_Menu ul {
    flex-direction: column; /* Cambia la lista a vertical */
    
}

.Barra_Menu li {
    text-align: left; /* Centra el texto en los elementos del menú */
    float: left;
    width: 100%;
    padding: 1px 0; /* Ajusta el espaciado para mejor apariencia */
    background-color: #a57f2c;
    
}
.Dir {
    display: none; /* Ocultar el menú inicialmente */
    flex-direction: column; /* Alinear elementos en columna */
    position: absolute; /* Posicionamiento absoluto */
    top: 60px; /* Ajustar según sea necesario */
    right: 0;
    background-color: #333; /* Fondo del menú */
    width: 100%; /* Ancho completo */
    z-index: 1000; /* Asegurar que esté por encima de otros elementos */
}

/* Mostrar menú cuando esté activo */
.Dir.active {
    display: flex; /* Mostrar como flex en columnas */
}

/* Estilos para los enlaces del menú */
.Dir a {
    color: white; /* Color de texto */
    padding: 10px; /* Espaciado */
    text-decoration: none; /* Sin subrayado */
    text-align: left; /* Alinear texto a la izquierda */
    display: block;
    width: 100%;; /* Hacer enlaces como bloques */
}

/* Submenús */
.Submenu {
    display: none;
    height: auto;
    margin-left: 30%; /* Ocultar submenús por defecto */
}

.Dir li:hover .Submenu {
    display: block; 
    height: auto;/* Mostrar submenús al pasar el mouse */
}

/* Estilos para los enlaces del submenú */
.Submenu a {
    padding: 10px; /* Espaciado para submenús */
    text-align: left; /* Alinear texto a la izquierda */
    color: white; /* Color de texto para submenús */
}


    .Titulo_servicios {
        font-size: 38px;
        font-family: 'Montserrat';
        color: #404041;
        font-weight: 600;
        width: 100%;
        
        
    }
    
    .Titulo-servicios1{
        font-size: 25px;
        justify-content: center;
       
        width: 92%;
        margin-left: 7%;
        font-family: 'Montserrat';
        color: #404041;
        font-weight: bold;
    
    }
    
    .Separador {
        height: 8px;
        border: 1px;
        box-shadow: 1px;
        border-color: rgb(226, 226, 226);
        border-style: solid;
        width: 86%;
    
    }
    
    .Div1 {
        background-color: rgb(182, 120, 6);
        height: 8px;
        width: 40px;
    }
    
    
.Profesiones div {
    display: flex; /* Cambia a flex para que se alineen correctamente */
    flex-direction: column; /* Mantén la dirección de flexión en columna */
    align-items: center; /* Centra el contenido */
    width: 90%; /* Ajusta este valor según lo necesites */
    margin: 0 auto 10px;
    height: auto; /* Centra los elementos y añade espacio abajo */
}

.text-tramites {
    display: flex; /* Asegúrate de que text-tramites use flex */
    flex-direction: column; /* Mantén la dirección de flexión en columna */
    align-items: center; /* Centra el contenido */
    width: 100%; /* Permite que el texto use el ancho completo */
}

.text {
    font-size: 15px; /* Ajusta el tamaño de fuente como desees */
    text-align: center; /* Asegura que el texto esté centrado */
}

.Img {
    width: 100%; /* Haz que la imagen ocupe todo el ancho disponible */
    height: auto; /* Mantiene la relación de aspecto */
}
    
    .Accesos{
        display: flex;
        flex-direction: column;
    }
    
    
    .Acerca-de{
        flex-direction: column;
        height: auto;
    }
    
    .Text-Acerca-de{
        width: 30%;
        margin-left: 4.2%;
    }
    
    .Enlaces{
        margin-top: 60px;
        margin-left: 4.2%;
    }
    .Redes-s{
        margin-left: 4.2%;
        margin-bottom: 20px;
    }
    
    .Busquedas{
        flex-direction: column;
        height: auto;
    }
    .Titulo-Busquedas{
        margin-left: 2%;
    }
    .Div-Busquedas{
        margin-right: 2%;
        margin-left: 1%;
    }
    .Consulta{
        margin-left: 4.2%;
    }
    
    table{
        width: 30%;
        font-size: medium;
        margin-left: 3%;
    }
    .agenda{
        flex-direction: column;
        height: auto;
    }
    .contenedor-prensa{
        flex-direction: column;
        margin-left: 4.2%;
    }
    .Img-prensa{
        width: 30%;
    }
    .link-prensa{
        width: 40%;
        font-size: 15px;
        
    }
    .contenedor-text{
        flex-direction: column;
        margin-top: 10px;
        width: 40%;
        margin-left: 3%;
        float: left;
    }
    
    .Fecha {
        display: flex;
        flex-direction: column;
    }
    
    .fechaComunicados {
        flex-direction: column; /* Alineación en fila */
        align-items: center; /* Alinea el contenido verticalmente */
    }
    
    .text-com {
        margin-left: 10px; /* Mantener el espaciado */
        width: 20%;
    }
    .item-comunicados{
        display: flex;
        margin-left: 3%;
    }
    
        .final{
            flex-direction: column; /* Cambia a columna */
            align-items: center; /* Centra los elementos */
            height: auto;
        }
    
        .Enlaces-end{
            display: block;
            text-align: left;
            justify-content: left;
            align-items: center;
            margin-top: 30px;
            width: 80%;
            
        }
        .GobMX{
            width: 80%;
            font-family: 'Montserrat';
            
        }
        .Denuncia{
            width: 80%;
            margin-right: 2%;
            
        }
    
        .Logo-gob-end{
            margin-right: 50%;
        }

        .Enlaces-end label{
            color: white;
            text-align: left;
            width: 80%;
            margin-right: 10%;
        }
       .Leer-end{
        display: none;
       }
    }



    @media (min-width:700px){
        .Icon-men, .Icon-superior{
            display: none;
        }
        .Opciones{
            display: flex;
        }
    }