@charset "UTF-8";
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth; /* Desplazamiento suave */
  font-family: serif;
}

.cabecera {
  margin: 2rem 0;
}
.cabecera h1 {
  font-family: serif;
  text-align: center;
  font-style: italic;
  margin-bottom: 1rem;
}
.cabecera h2 {
  font-family: serif;
  text-align: center;
}
.cabecera a {
  color: black;
  text-decoration: none;
}
.cabecera ul {
  list-style: none;
}

.botonLogin {
  display: flex;
  flex-direction: row-reverse;
}

pre {
  text-wrap: wrap;
}

.navObrasArtistas {
  font-family: serif;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  border-bottom: 1px solid black;
  margin-top: 1rem;
}
.navObrasArtistas li a {
  color: black;
  text-decoration: none;
}
.navObrasArtistas li:hover {
  border-bottom: 1px solid black;
}
.navObrasArtistas .botonLoginLi {
  font-family: serif;
  margin-left: auto;
}

.pestanaActiva {
  font-weight: bold;
  border-bottom: 1px solid black;
}

header {
  margin: 0 auto;
  padding: 0 0.5rem;
  max-width: 800px;
}

.buscador {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  flex: 1;
}

.boton {
  text-align: center;
  width: auto;
  border-radius: 0;
  padding: 0.25rem 0.5rem;
}

main {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0 0.5rem;
  max-width: 800px;
}

.ficha {
  color: dimgray;
  background-color: whitesmoke;
  padding: 0.5rem;
  margin: 0.5rem 0rem;
  display: flex;
  flex-direction: row;
  outline: 1px solid rgb(200, 200, 200);
}
.ficha img {
  width: 100%;
  max-width: 7rem;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  align-self: center;
  overflow: hidden;
}
.ficha ul {
  list-style: none;
  margin: 0 1rem;
  padding: 0;
}
.ficha ul li {
  padding-bottom: 0.33rem;
}
.ficha .parcial {
  color: black;
  padding: 0.2rem;
  margin: 0;
  border-radius: 0.2rem;
  display: inline-flex;
  font-family: monospace;
  font-weight: bolder;
  font-size: small;
  margin-left: auto;
}
.ficha .datosObra {
  padding: 0 0 0 1rem;
}
.ficha .botonInsertar {
  text-align: center;
  width: auto;
  border-radius: 0;
  padding: 0.25rem 0.5rem;
}
.ficha .insertarDatos {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.ficha .insertarDatos li {
  margin-bottom: 0.5rem;
}
.ficha .insertarDatos input {
  width: 100%;
}
.ficha .insertarDatos textarea {
  width: 100%;
}
.ficha .titulo {
  font-weight: bold;
}
.ficha .titulo a {
  text-decoration: none;
}
.ficha .titulo span {
  font-style: italic;
}
.ficha a {
  color: dimgray;
}
.ficha .controlesFicha {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}
.ficha .botonesBorrarEditar {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  list-style: none;
  align-items: flex-end;
  margin: 0;
  gap: 0.5rem;
}
.ficha .botonesBorrarEditar li {
  margin-left: auto;
}

.ventanaBorrar {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: whitesmoke;
  border: none;
  outline: 1px solid red;
  padding: 1rem;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  box-sizing: border-box;
}
.ventanaBorrar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.ventanaBorrar ul ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.ventanaBorrar ul ul li {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
}

.fichaGrande {
  color: dimgray;
  background-color: whitesmoke;
  padding: 0.5rem;
  margin: 0.5rem 0rem;
  display: flex;
  flex-direction: column;
  outline: 1px solid rgb(200, 200, 200);
}
.fichaGrande img {
  width: 100%;
  max-width: 800px;
  -o-object-fit: contain;
     object-fit: contain;
  align-self: center;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.fichaGrande ul {
  list-style: none;
  margin: 0 0rem;
  padding: 0;
}
.fichaGrande li {
  padding-bottom: 0.33rem;
}
.fichaGrande .datosObra {
  padding: 0 0 0 1rem;
}
.fichaGrande .titulo {
  font-weight: bold;
}
.fichaGrande .titulo a {
  text-decoration: none;
}
.fichaGrande .titulo span {
  font-style: italic;
}
.fichaGrande a {
  color: dimgray;
}
.fichaGrande .parcial {
  color: black;
  padding: 0.2rem;
  margin: 0;
  border-radius: 0.2rem;
  display: flex;
  font-family: monospace;
  font-weight: bolder;
  font-size: small;
  margin-left: auto;
}
.fichaGrande .parcial li {
  margin-left: auto;
}

.controlesFichaGrande {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: end;
}

.cuerpo {
  text-align: justify;
  margin: 2rem 0.5rem;
}
.cuerpo p {
  text-indent: 1.5rem; /* Sangría en la primera línea */
  margin-bottom: 0.5rem; /* Separación entre párrafos */
  line-height: 1.5;
  /* Si contiene una imagen */
}
.cuerpo p:has(img) {
  text-indent: 0;
}
.cuerpo p a {
  color: dimgray;
}
.cuerpo img {
  width: 100%;
}
.cuerpo .cita {
  text-indent: 0; /* Sangría en la primera línea */
  line-height: 1.5;
  color: dimgray;
  font-style: italic;
  font-size: large;
  text-align: justify;
  padding: 0 2rem;
  margin: 0rem 1rem 0 1rem;
}
.cuerpo .firmaCita {
  color: dimgray;
  font-size: large;
  padding: 0 0.5rem;
  margin: 0 1rem 3rem 1rem;
  text-align: right;
}

.login {
  display: flex;
  flex-direction: column;
  list-style: none;
  background-color: whitesmoke;
  max-width: 300px;
  margin: 2rem;
  padding: 2rem;
  gap: 0.25rem;
  outline: 1px solid rgb(200, 200, 200);
  margin-left: auto;
  margin-right: auto;
}
.login input {
  width: 100%;
}
.login .acceder {
  margin-top: 2rem;
}
.login ul {
  display: flex;
  flex-direction: row;
  list-style: none;
}
.login ul li {
  margin-right: 0.5rem;
}

.boton {
  border-radius: 0;
  padding: 0.25rem 0.5rem;
}

.botonDerecha {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.botonBorrar {
  color: white;
  font-weight: bold;
  background-color: tomato;
  border-color: tomato;
}
.botonBorrar:hover {
  background-color: rgb(243, 95, 69);
}

.ficha:hover {
  outline: 1px solid dimgray;
}

.formularioInsertar {
  color: dimgray;
  background-color: whitesmoke;
  padding: 0.5rem;
  margin: 0.5rem 0rem;
  display: flex;
  flex-direction: column; /* Cambiado a columna para que los elementos se apilen verticalmente */
  outline: 1px solid rgb(200, 200, 200);
}
.formularioInsertar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.formularioInsertar ul li {
  padding-bottom: 0.33rem;
}
.formularioInsertar ul li input,
.formularioInsertar ul li select,
.formularioInsertar ul li textarea {
  width: 100%; /* Asegúrate de que el ancho sea 100% */
  box-sizing: border-box; /* Asegúrate de que el padding y el borde se incluyan en el ancho total */
}
.formularioInsertar ul li ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}
.formularioInsertar ul li ul ul {
  gap: 0.25rem;
}
.formularioInsertar .insertoCuerpo {
  font-size: small;
}

.paginacion {
  width: 100%;
  display: flex;
  flex-direction: row;
  list-style: none;
  justify-content: center;
  margin: 1.5rem 0;
  gap: 0rem;
}
.paginacion .botonPaginaActual {
  font-weight: bold;
  padding: 0rem 1rem 1rem 1rem;
}
.paginacion a {
  font-size: large;
  text-decoration: none;
  color: dimgray;
  line-height: 2rem;
  padding: 1rem;
}
.paginacion a:hover {
  color: black;
}

.paginacionArticulos {
  gap: 20%;
}
.paginacionArticulos a {
  padding: 2rem;
}
.paginacionArticulos span {
  color: whitesmoke;
}

@media (max-width: 600px) {
  .ficha {
    flex-direction: column;
  }
  .ficha img {
    max-width: 100%;
    margin-bottom: 0.5rem;
  }
  .ficha ul {
    padding: 0;
    margin: 0;
  }
  .ficha .datosObra {
    padding: 0.25rem 0;
  }
  .fichaGrandeAutor {
    flex-direction: column;
  }
  .ventanaBorrar {
    padding: 0.5rem;
    max-width: 95%;
    max-height: 80%;
  }
}/*# sourceMappingURL=hojaEstilo.css.map */