html {
  --colorBackgroundOpcionNueva: var(--colorTransparente);
  --colorBackgroundOpcionNuevaHover: var(--colorTransparente);
  --colorBackgroundContenedorOpcionNueva: var(--colorTransparente);
  --colorBackgroundContenedorOpcionNuevaHover: var(--colorTransparente);
}

.contenedor-selector-year-y-documentos {
  margin: 15px 20px 20px 20px;
}

@media screen and (min-width: 768px) {
  .contenedor-selector-year-y-documentos {
    margin: 30px 30px 20px 30px; /* margin-top no es 50px debido a que el selector de años tiene un margen algo superior a 20px */
  }
}

@media screen and (min-width: 1200px) { /* 1140px + 30px x 2 */
  .contenedor-selector-year-y-documentos {
    margin: 30px 0 20px 0; /* margin-top no es 50px debido a que el selector de años tiene un margen algo superior a 20px */
  }
}

.panel-selector-year {
  display: flex;
  width: 100%;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .panel-selector-year {
    height: 90px;
    background-color: var(--colorBackgroundPanelSelectorYear);
    margin-top: 0;
  }
}

@media screen and (min-width: 996px) {
  .panel-selector-year {
    height: 130px;
  }
}

.boton-selector-year {
  width: 100%;
  margin: 0 30px 0 30px;
  border: 1px solid var(--colorBordeSelectorYear);
  border-radius: 0;
  background-color: var(--colorBackgroundSelector); /* Hasta 20200721 estaba: linear-gradient(0deg, #F2F4F7 0%, var(--fondoBlanco) 100%); */
}

@media screen and (min-width: 576px) {
  .boton-selector-year {
    width: 395px;
  }
}

.label-selector-year {
  display: none;
  color: var(--colorGrisTextos);  /* Hasta 20200721 estaba casiNegro */
  font-size: var(--letra16);
  font-weight: bold;
  line-height: 19px;
  letter-spacing: 0.4px;
}

@media screen and (min-width: 576px) {
  .label-selector-year {
    display: block;
  }
}

.boton-selector-year {
  position: relative;
}

.boton-selector-year select {
  display: none; /* hide original SELECT element: */
}

.select-selected {
  background-color: var(--colorBackgroundSelector);
  border-radius: 4px;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "\0276F"; /* https://www.toptal.com/designers/htmlarrows/ */
  font-size: var(--LetraSelectorNormal);
  top: 16px;
  right: 10px;
  width: 0;
  height: 0;
  transform: rotate(90deg);
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  position: absolute;
  content: "\0276E"; /* https://www.toptal.com/designers/htmlarrows/ */
  font-size: var(--LetraSelectorNormal);
  top: 16px;
  right: 10px;
  width: 0;
  height: 0;
  transform: rotate(90deg);
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
  color: var(--colorTextoSelectorYear);
  font-size: var(--LetraSelectorNormal);
  font-weight: bold;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: var(--colorBackgroundSelector);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}


@media screen and (min-width: 576px) {
  #selector-year {
    border-left: 1px solid var(--bordeGris);
    margin-left: 35%;
    padding-left: 20px;
  }
}

.panel-documentos-year {
  height: auto;
  width: 100%;
}

.sin-panel-year {
  margin-top: 0;
}

@media screen and (min-width: 768px) {
  .sin-panel-year {
    margin-top: 30px;
  }
}

.contenedor-panel-documentos-year {
  background-color: var(--colorBackgroundPanelDocumentosYear);
}

.titulo-year {
  height: 36px;
  width: auto;
  border: 1px solid var(--bordeGris);
  border-radius: 4px;
  background-color: var(--colorBackgroundTituloYear);
  margin: 20px 20px 0 20px;
}

@media screen and (min-width: 768px) {
  .titulo-year {
    margin: 20px 30px 0 30px;
  }
}

.titulo-year img {
  width: 20px;
  height: 20px;
}

.contenedor-titulo-year {
  display: flex;
  height: 100%;
  width: 100%; /*can be in percentage also.*/
  align-items: center;
  justify-content: center;
}

.contenedor-titulo-year a {
  text-decoration: none;
}

.texto-titulo-year {
  color: var(--colorTextoTituloYear);
  font-size: var(--letraYearsSmall);
  font-weight: 600;
  margin-left: 20px;
}

@media screen and (min-width: 768px) {
  .texto-titulo-year {
    font-size: var(--letraYearsNormal);
  }
}

#texto-titulo-year {
  margin: 0px;
  padding: 0px 0px 0px 0px;
}

.panel-lista-documentos {
  margin: 20px 20px 30px 20px;

}

@media screen and (min-width: 768px) {
  .panel-lista-documentos {
    margin: 20px 30px 30px 30px;
  }
}

.contenedor-panel-lista-documentos {

}

.grid-contenedor-panel-lista-documentos {

}

.opcion-nueva {
  border: none;
  border-radius: 0;
  background-color: var(--colorBackgroundOpcionNueva);
}

.contenedor-opcion-nueva {
  height: 100%;
  border-top: 2px solid var(--colorBordeContenedorOpcionNueva);
  border-radius: 0;
  background-color: var(--colorBackgroundContenedorOpcionNueva);
}

.imagen-opcion-nueva img {
  width: 105px; /* Consistente con .grid-contenedor-opcion-nueva en orden_cronologico_grid.css */
}

@media screen and (min-width: 768px) {
  .imagen-opcion-nueva img {
    width: 125px; /* Consistente con .grid-contenedor-opcion-nueva en orden_cronologico_grid.css */
  }
}

.descripcion-documento {
  display: flex;
  width: 100%;
  color: var(--colorTextoDescripcionDocumento);
  font-size: var(--letraBotonDescripcionDocumentoSmall);
  line-height: 16px;
  align-items: flex-start;
  padding: 0 20px 0 0;
}

@media screen and (min-width: 768px) {
  .descripcion-documento {
    font-size: var(--letraBotonDescripcionDocumentoNormal);
    line-height: 22px;
  }
}

.descripcion-documento p {
  margin: 0;
}

@media screen and (min-width: 768px) {
  .xxxxxdescripcion-documento p {
    margin: 0 0 30px 0;
  }
}

.id-documento {
  display: flex;
  align-items: center;
  color: var(--colorTextoReferenciaADocumento);
  font-size: var(--letraBotonReferenciaADocumentoSmall);
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .id-documento {
    font-size: var(--letraBotonReferenciaADocumentoNormal);
  }
}

.id-documento:hover {
  color: var(--colorTextoReferenciaADocumentoHover);
  letter-spacing: 0.2px;
}

.ver-mas-opcion-nueva {
  align-self: flex-start;
}

.fecha-acto {
  color: var(--destacados);
}

.expediente-acto {
  color: var(--destacados);
}

.empresas-acto {
  color: var(--destacados);
}

.tipo-acto {
  color: var(--destacados);
}

.descripcion-acto {
  color: var(--destacados);
}

.fecha-notificacion {
  color: var(--destacados);
}

.empresas-notificacion {
  color: var(--destacados);
}

.tipo-notificacion {
  color: var(--destacados);
}

.descripcion-notificacion {
  color: var(--destacados);
}
