       /* Estilo para buscador */
       .navbar {
        background-color: #eef2fb;
        padding-left: 25px;
        padding-right: 25px;
    }

    .logo {
        color: #fff;
        font-size: 24px;
        margin-right: 20px;
    }


    .search-container {
        display: flex;
        align-items: center;
        flex-grow: 1;
        position: relative;
    }

    .search-input,
    .search-button,
    .search-toggle,
    .close-button {
        display: none;
        padding: 10px;
        border: none;
        background: transparent;
        font-size: 18px;
        cursor: pointer;

    }

    .form_contend {
        padding-left: 4%;
        padding-right: 4%;
    }

    .men {
        display: none;
    }

    .men1 {
        display: block;
    }

    @media screen and (max-width: 700px) {
        .search-toggle {
            display: block;
            position: absolute;
            right: 1%;
            top: 50%;
            transform: translateY(-50%);
        }

        .search-input,
        .search-button,
        .close-button {
            display: none;
        }

        .search-open .search-input {
            display: block;
            width: 70%;
            margin-right: 10px;

        }

        .search-open .search-button {
            display: block;
            width: 10%;
            margin-right: 10px;
        }

        .search-open .search-toggle {
            display: none;
        }

        .search-open .close-button {
            display: block;
        }

        .nav-link-text {
            display: none;
        }


    }

    @media screen and (min-width: 700px) {

        .search-input,
        .search-button {
            display: block;
        }

        .search-toggle,
        .close-button {
            display: none;
        }

        .nav-link-icon {
            display: none;
        }

        .nav-links {
            display: flex;
        }
    }

    @media screen and (max-width: 700px) {
        .search-container.search-open {
            position: fixed;
            /* Cambiar a "fixed" para mantenerlo en la parte superior */
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgb(208 220 245);
            z-index: 999;
            display: flex;
            justify-content: space-between;
            /* Espacio entre elementos */
            align-items: center;
            /* Centrar verticalmente */
            padding: 20px;
            /* Espacio interno */
        }

        .search-input {

            margin-right: 10px;
        }

        .search-toggle {

            margin-right: 10px;
        }

        .search-button,
        .close-button {
            flex: 1;
            /* Ocupa el mismo espacio que los otros elementos */
        }
        
      .oneban{
            display: none;
        }
        .candidate-block-two {
            margin-bottom: 0px;
        }
      
    }


    /* Mostrar íconos de enlaces a menos de 500px */
    @media screen and (max-width: 700px) {
        .nav-link-icon {
            display: inline-block;
        }
        
    }

    /**estilo*/
    .main-header {
        position: static;
    }

    /* Mostrar íconos MENU */
    @media screen and (max-width: 900px) {
        .men {
            display: inline-block;
        }

        .men1 {
            display: none;
        }
    }

    /**estilo*/
    .main-header {
        position: static;
    }

    /*<!---buscador BD-->*/
    /* Estilos para la sugerencia y sugerencia seleccionada */
    .suggestion.selected {
        background-color: #f3f3f3;

    }

    /* Estilo para el contenedor de búsqueda y sugerencias */
    #search-container {
        position: relative;
    }

    /* Estilo para el input de búsqueda */
    #search {
        width: 100%;
        /* O cualquier ancho deseado */
        padding: 10px;
        font-size: 16px;
    }

    input:focus,
    select:focus,
    select,
    input.form-control:focus {
        outline: none !important;
        outline-width: 0 !important;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
    }

    /* Estilo para el contenedor de sugerencias */
    #suggestions {
        position: fixed;
        background-color: rgb(255, 255, 255);
        /* Fondo semitransparente para superponer */
        z-index: 999;
        /* Asegura que se superponga sobre otros elementos */
        display: none;
        /* Inicialmente oculto hasta que haya sugerencias */
    }

    /* Estilos para las sugerencias */
    .suggestion {
        list-style: none;
        padding: 5px 15px 6px;
        margin: 5px 0;
        cursor: pointer;
        text-align: initial;
    }

    .suggestion ul {
        padding: 3px 0px 0px 1px;
    }

    .suggestion:first-child {
        border-top: none;
    }

    .suggestion:hover {
        background-color: #f1f1f1;
    }

    /* Estilo para resaltar palabras clave */
    .highlight {
        /*background-color: #ffff00;*/
        /* Amarillo */
        font-weight: bold;
    }

    /* Estilos para la sugerencia activa */
    .suggestion.active {
        background-color: #dddddd;

    }

    /**Estilo para ventana emergente*/
    .popup-container {
        position: fixed;
        top: 10%;
        left: 0;
        width: 100%;
        /*height: 100%;*/
        /*background-color: rgba(0, 0, 0, 0.5);*/
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 4;
    }

    .popup-content {
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    /*por clicya*/
    /*imagen pagina principal*/
    .cropped_p1 {
        height: 89px;
        object-fit: cover;
        object-position: 20% 10%;
    }
    
    /*imagen search*/
    .cropped_p2 {
        height: 150px;
        object-fit: cover;
        object-position: 50% 50%;
        border-radius: 7px;
        width: 95%;
    }

    .icons{
        position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
    background-position: center;
width: 30px;
        font-size: 18px;
        color: #347fe5;
    }
    
  /*imagen redondeada de detalles*/
    .image-container {
        display: flex;
        justify-content: flex-end;
        /* Alinea las imágenes a la derecha */
        margin-top: -76px;
    }

    .image-overlay {
        position: relative;
        /* Para que los elementos se superpongan */
        width: 60px;
        /* Tamaño de la imagen */
        height: 60px;
        /* Tamaño de la imagen */
        margin-left: -20px;
        /* Espacio entre imágenes */
    }

    .image-overlay img {
        position: absolute;
        /* Posición absoluta para superponer las imágenes */
        top: 0;
        left: 0;
        width: 100%;
        /* Para que la imagen se ajuste al contenedor */
        height: 100%;
        border: 5px solid #ffffff;
        border-radius: 50%;
    }

    .cropped_p3 {
        height: 89px;
        object-fit: cover;
        object-position: 20% 10%;
    }