/* panel-casilla-busqueda-index */

  .contenedor-buscador-index {
    margin-top: 35px;
  }


  .panel-casilla-busqueda-index {
    height: auto;
    width: 100%;
    margin-top: 20px;
  }

  .panel-terminos-sugeridos-index {
    display: none;
    overflow: auto;
    z-index: 1;
    margin: 0 20px 0 20px;
  }

  @media screen and (min-width: 768px) {

    .panel-terminos-sugeridos-index {
      margin: 0;
    }

  }

  .panel-documentos-sugeridos-index {
    display: none;
    overflow: auto;
    z-index: 1;
    margin: 0 20px 0 20px;
  }

  @media screen and (min-width: 768px) {

    .panel-documentos-sugeridos-index {
      margin: 0;
    }

  }

/* -> panel-casilla-busqueda-index */


/* panel-casilla-botones-index */

  .input-casilla-busqueda-index {
    height: 60px;
    border: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-radius: 4px;
    margin: 0 0 0 20px;
  }

  @media screen and (min-width: 768px) {

    .input-casilla-busqueda-index {
      height: 70px;
      border-radius: 4px 0 0 4px;
      margin: 0;
    }

  }

  #input-casilla-busqueda-field-index {
    height: 100%;
    width: 100%;
    color: var(--colorTextoCasillaBuscar);
    font-size: var(--letra18);
    line-height: 19px;
    padding: 0 20px 0 20px;
    border: none;
    border-radius: 4px;
  }

  @media screen and (min-width: 768px) {

    #input-casilla-busqueda-field-index {
      border-radius: 4px 0 0 4px;
      padding: 0 30px 0 30px;
    }

  }

  #input-casilla-busqueda-field-index:hover {
    border: 1px solid var(--colorBordeInputCasillaBusquedaHover);
  }

  #input-casilla-busqueda-field-index:focus {
    outline: none;
  }

  .show-index {
    display: block;
  }

  .boton-buscar-texto-index {
    width: 60px;
    height: 60px;
    border: none;
    background-color: var(--colorBackgroundBotonBuscar);
    border: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-radius: 0 4px 4px 0;
    margin: 0 20px 0 0;
    cursor: pointer;
  }

  @media screen and (min-width: 768px) {

    .boton-buscar-texto-index {
      width: 70px;
      height: 70px;
      margin: 0;
    }

  }

  .boton-buscar-texto-index:hover {
    background-color: var(--colorBackgroundBotonBuscarHover);
  }

  .boton-buscar-texto-index img {
    width: 30px;
    height: 30px;
  }

  .contenedor-boton-buscar-texto-index {
    display: flex;
    height: 100%;
    width: 100%; /*can be in percentage also.*/
    line-height: 30px;
    align-items: center;
    justify-content: center;
  }

  #texto-boton-buscar-texto-index {
    margin: 0px;
    padding: 0px 0px 0px 0px;
  }

/* -> panel-casilla-botones-index */


/* panel-terminos-sugeridos-index */

  .contenedor-panel-terminos-sugeridos-index {
    height: auto;
  }

  .grid-contenedor-panel-terminos-sugeridos-index {
    height: auto;
  }

  .titulo-terminos-sugeridos-index {
    height: 60px;
    width: 100%;
    border-left: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-right: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-bottom: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    background-color: var(--colorFondoTituloTerminosSugeridos);
    padding-left: 23px;
  }

  .titulo-terminos-sugeridos-index img {
    width: 20px;
    height: 20px;
  }

  .contenedor-titulo-terminos-sugeridos-index {
    display: flex;
    height: 100%;
    width: 100%; /*can be in percentage also.*/
    align-items: center;
    justify-content: flex-start;
  }

  .texto-titulo-terminos-sugeridos-index {
    color: var(--colorTextoTituloTerminosSugeridos);
    font-size: var(--letra16);
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-left: 10px;
  }

  #texto-titulo-terminos-sugeridos-index {
    margin: 0px;
    padding: 0px 0px 0px 0px;
  }

  .terminos-sugeridos-index {
    height: auto;
  }

  .contenedor-terminos-sugeridos-index {
    height: auto;
  }

  .grid-contenedor-terminos-sugeridos-index {
    height: auto;
  }

  .item-terminos-sugeridos-index {
    display: flex;
    height: 60px;
    width: 100%; /*can be in percentage also.*/
    align-items: center;
    justify-content: flex-start;
    border-left: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-right: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-bottom: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    color: var(--colorTextoItemsTerminosSugeridos);
    background-color: var(--colorFondoItemsTerminosSugeridos);
    z-index: 99;
    cursor: pointer;
  }

  /*when hovering an item:*/
  .item-terminos-sugeridos-index:hover {
    color: var(--colorTextoItemsTerminosSugeridosHover);
    background-color: var(--colorFondoItemsTerminosSugeridosHover);
  }

  /*when navigating through the items using the arrow keys:*/
  .item-terminos-sugeridos-active-index {
    color: var(--colorTextoItemsTerminosSugeridosHover);
    background-color: var(--colorFondoItemsTerminosSugeridosActive);
  }

  .texto-item-terminos-sugeridos-index {
    height: 24px; /* Para que el texto se mantenga en una sola línea */
    font-size: var(--letra16);
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin: 0 23px 0 23px;
    overflow: hidden; /* Para que el texto se mantenga en una sola línea y se oculte lo que no cabe */
  }

/* -> panel-terminos-sugeridos-index */


/* panel-documentos-sugeridos-index */

  .contenedor-panel-documentos-sugeridos-index {
    height: auto;
  }

  .grid-contenedor-panel-documentos-sugeridos-index {
    height: auto;
  }

  .titulo-documentos-sugeridos-index {
    height: 60px;
    width: 100%;
    border-left: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-right: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-bottom: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    background-color: #FFFFFF;
    padding-left: 23px;
  }

  .titulo-documentos-sugeridos-index img {
    width: 20px;
    height: 20px;
  }

  .contenedor-titulo-documentos-sugeridos-index {
    display: flex;
    height: 100%;
    width: 100%; /*can be in percentage also.*/
    align-items: center;
    justify-content: flex-start;
  }

  .texto-titulo-documentos-sugeridos-index {
    color: var(--colorTextoTituloDocumentosSugeridos);
    font-size: var(--letra16);
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-left: 10px;
  }

  #texto-titulo-documentos-sugeridos-index {
    margin: 0px;
    padding: 0px 0px 0px 0px;
  }

  .documentos-sugeridos-index {
    height: auto;
  }

  .contenedor-documentos-sugeridos-index {
    height: auto;
  }

  .grid-contenedor-documentos-sugeridos-index {
    height: auto;
  }

  .item-documentos-sugeridos-index {
    display: flex;
    height: 60px;
    width: 100%; /*can be in percentage also.*/
    align-items: center;
    justify-content: flex-start;
    border-left: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-right: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    border-bottom: 1px solid var(--colorBordeBotonPanelBotonesVisor);
    color: var(--colorTextoItemsDocumentosSugeridos);
    background-color: #FFFFFF;
    z-index: 99;
    cursor: pointer;
  }

  /*when hovering an item:*/
  .item-documentos-sugeridos-index:hover {
    color: var(--colorTextoItemsDocumentosSugeridosHover);
    background-color: var(--colorFondoItemsDocumentosSugeridosHover);
  }

  /*when navigating through the items using the arrow keys:*/
  .item-documentos-sugeridos-active-index {
    color: var(--colorTextoItemsDocumentosSugeridosActive);
    background-color: var(--colorFondoItemsDocumentosSugeridosActive);
  }

  .contenedor-item-documentos-sugeridos-index {
    height: 100%;
    width: 100%;
  }

  .grid-contenedor-item-documentos-sugeridos-index {
    height: 100%;
    width: 100%;
    align-items: center;
  }

  .texto-item-documentos-sugeridos-index {
    height: 24px; /* Para que el texto se mantenga en una sola línea */
    font-size: var(--letra16);
    line-height: 24px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-left: 23px;
    margin-right: 23px;
    overflow: hidden; /* Para que el texto se mantenga en una sola línea y se oculte lo que no cabe */
    justify-content: flex-end;
  }

  @media screen and (min-width: 576px) {

    .texto-item-documentos-sugeridos-index {
      margin-right: 0; /* boton-abrir-documento-index es visible a partir de 576px, luego ya no es necesario el margen derecho */
    }
  }

  .boton-abrir-documento-index {
    display: none;
    border-radius:3px;
    background-color: var(--colorBackgroundBotonBuscadorIndex);
    justify-content: center;
    margin-right: 23px;
  }
  
  .boton-abrir-documento-index:hover {
    background-color: var(--colorBackgroundBotonBuscadorIndexHover);
  }

  @media screen and (min-width: 576px) {

    .boton-abrir-documento-index {
      display: flex;
    }
  }

  .contenedor-boton-abrir-documento-index a {
    display: flex;
    margin: 5px 10px 5px 10px;
    align-content: center;
  }

  .texto-boton-abrir-documento-index {
    color: white;
    font-size: var(--letra12);
    font-weight: bold;
  }

