/**
PARA AÑADIR LOS ESPACIOS A LOS <a>

p a:not(:first-child)::before{
    content: " ";
}
*/


/*maqueta general y index*/

:root {
    --primary-color: #000066;
    --secundary-color: #20660A;
    --terciary-color: #30B309;
    --text-color: #33333A;
    --btn-bg-color: #EFEEF5;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('./../font/IBM-Plex/IBMPlexSans-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}


body {
    margin: 0;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    font-family: "IBM Plex Sans";
}

#navbar {
    margin-left: 3%;
    margin-top: 30px;
    width: 100%;
}

#navbar-block{
    width: 100%
}

#subnavbar {
    margin-left: 7%;
}

#subnavbar .cont-buscador ul {
    padding-left: 0px;
    width: 100%;
}


#navbar-block ul,
#subnavbar-block ul {
    list-style: none;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 0px;
    padding-left: 0px;
}

#navbar-block ul > a,
#navbar-block ul li {
    display: inline-block;
    padding: 10px 20px 10px 20px !important;
    border-right: 2pt solid white;
    text-decoration: none;
}

#navbar-block ul a li,
#navbar-block ul .dropbtn,
#navbar-block ul .dropdown{
    font-size: 14pt;
    font-weight: bold;
    color: black;
}

#navbar-block ul a li img {
    width: 200px;
}

#subnavbar ul {    padding-left: 0px;
}

#subnavbar .btn {
    margin: 0 3px 0 3px;
    background-color: var(--btn-bg-color);
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary-color);
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#subnavbar .btn>li{
    width: 130px;
}

#subnavbar .btn:hover {
    color: var(--terciary-color);
}

#subnavbar .current-view {
    color: var(--terciary-color);
}


/* -- */

/*MAS O MENOS ASÍ SOLUCIONAMOS EL FOOTER*/
/*
#page-container { se lo pusimos al body
  position: relative;
  min-height: 100vh;
}

#content-wrap { lo tiene el #content
  padding-bottom: 2.5rem;    
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;            
}
*/

#title {
    margin-left: 8%;
}

#title h1 {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 600;
}

#title h2 {
    font-size: 20px;
    color: var(--text-color);
}

#content {
    padding-bottom: 152px;
    /*footer-height*/
    margin-left: 8%;
    color: var(--text-color);
    line-height: 30px;
}

#content-esp {
    padding-bottom: 152px;
    /*footer-height*/
    color: var(--text-color);
    line-height: 30px;
}

.italic {
    font-style: italic;
}

#content h1,
#content-esp h1 {
    font-weight: 600;
    font-size: 48px;
    color: var(--primary-color);
}

#img-1 img {
    width: 450px;
    margin-left: 5%;
}

#content .btn {
    margin-right: 20px;
    background-color: var(--terciary-color);
    color: white;
    border-radius: 10px;
    width: 150px;
}

#content #textos-2 {
    margin-right: 8%;
}

.i-poema a {
    text-decoration: none;
    color: var(--text-color);
}

.i-poema a:hover {
    text-decoration: underline;
}

.i-libro{
    font-weight: bold;
    font-size: 25px;
    margin-top: 30px;
    font-style: italic;
}

.espacio{
    padding: 20px;
}

.i-musa{
    font-weight: bold;
    margin-top: 30px;
}

.i-musa ul {
    text-align: left;
}

.i-musa li ul {
    list-style: circle;
    margin-bottom: 10px;
}

.i-musa li ul li {
    margin: 4px;
}

.i-seccion+li:nth-child(even) {
    list-style: none;
}

.i-musa-7>li:nth-child(odd) {
    list-style: none;
}


/** BUSCADOR DE POEMAS
*/
#respuesta, #respuesta-alfabetica {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */

    color: var(--text-color);
    line-height: 30px;
    text-align: left;
    margin-left: 8%;
}

#respuesta {
    padding-bottom: 152px;
}

#respuesta-alfabetica {
    padding-bottom: 152px;
    margin-left: 8%;
    line-height: 30px;
}

#respuesta-alfabetica table,
#respuesta-alfabetica h4 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 15%;
}

#respuesta-alfabetica tr td:nth-child(1) {
    text-align: right;
}


/**
    PIE DE PÁGINAS
*/

#footer {
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
}

#footer-block {
    height: 100%;
    padding-top: 20px;
}

#footer-block div div:nth-of-type(2){
    font-size: 12px;
    padding-top: 12px;
}

#footer-block ul {
    padding-left: 0px;
    margin-top: 0px;
    width: 30%;
    list-style: none;
    border: 2pt solid #dddddd;
    border-right: 2pt solid white;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}

#footer-block ul a {
    padding-left: 40px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

#footer-block ul a:hover {
    background-color: white;
}

#footer-block ul a li {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14pt;
    font-weight: bold;
    color: black;
}

#footer-pag-logo {
    color: white;
    font-size: 32px;
    font-weight: 700;
    padding-left: 5%;
}

#block-usc-logo img {
    width: 84px;
}

/*----------------------------------------------------------------------*/

/*PAGINACIÓN*/

#prePag,
#postPag {
    
    padding: 20pt;
    text-align: center;
    font-size: 20pt;
    font-weight: bold;
    text-decoration: none;
    width:200px;

}

#prePag div,
#postPag div {
    padding-top: 5pt;
    padding-bottom: 5pt;
    border-radius: 10px;
    background-color: var(--btn-bg-color);
    color: var(--primary-color);
    width:146.67px;
}

/*-----------------------------------------------------------------------*/

/* PÁGINAS */

#div-pagina .highlight {
    border: 1pt solid var(--secundary-color);
    border-radius: 2pt;
    background-color: #a9ff91;
}

#div-pagina #inyeccion h1 {
    margin-top: 35px;
    font-size: 28pt;
    font-weight: 500;
}

#div-pagina #inyeccion h2 {
    margin-top: 30px;
    font-size: 24pt;
}
#div-pagina #inyeccion .subseccion{
    margin-top: 30px;
    font-size: 20pt;
}

#div-pagina #inyeccion h3 {
    margin-top: 20px;
    font-size: 15pt;
}

#div-pagina #inyeccion h4 {
    margin-bottom: 20px;
    font-style: italic;
    font-size: 18pt;
    color:black;
}

#div-pagina #inyeccion h4 a {
    color: black;
    text-decoration: none;
}

#div-pagina #inyeccion h4 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

#div-pagina #inyeccion .cont-p{
    text-align: left;
    display: inline-block;
    
}

#div-pagina #inyeccion div p {
    text-align: left;
    line-height: 10px;
    
}

#div-pagina #inyeccion div .acotacion,
#div-pagina #inyeccion div .subtit {
    text-align: center;
}


#div-pagina #inyeccion p a {
    color: black;
    text-decoration: none;
    margin-bottom: 5px;
}

#div-pagina #inyeccion p a:hover {
    color: blue;
    text-decoration: underline;
}

#div-pagina #inyeccion table{
    border-spacing: 15px;
    display: inline-block;
}

#div-pagina #inyeccion table p {
    text-align: left;
    line-height: 10px;
}

.personaje{
    text-align: left;
    font-style: italic;
    font-weight: 350;
    margin-right: 15px;
}

#div-pagina {
    text-align: center;
}


p.unido[style="text-indent: 2em;"] {
    margin-top: 0px;
}

#div-pagina #inyeccion p:not(.unido)[style="text-indent: 2em;"] {
    margin-top: 25px;
}

#div-pagina #inyeccion p:not(.unido)[style="text-indent: 2em"] {
    margin-top: 25px;
}


#div-pagina .poema{
    width: 50%;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

#div-pagina .poema p{
    text-indent: 0;
    line-height: 7pt;
}

#div-pagina .carta{
    width: 50%;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

#div-pagina .carta p{
    text-indent: 0;
}

/*-----------------------------------------------------------------------*/

/*Menú-ALFABETO*/

#alfabetica-navbar-block {
    color: var(--text-color);
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

#frecuencia-navbar-block {
    color: var(--text-color);
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
}

#alfabetica-navbar-block ul,
#frecuencia-navbar-block ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin-top: 0px;
    align-items: center;
}

#alfabetica-navbar-block ul a {
    /*display: inline-block;*/
    text-decoration: none;
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--btn-bg-color);
    margin-right: 5px;
    margin-top: 5px;
    cursor: pointer;
}

#alfabetica-navbar-block ul a:hover {
    color: var(--terciary-color);
}

#alfabetica-navbar-block ul li,
#frecuencia-navbar-block ul li {
    list-style: none;
    font-size: 15pt;
    line-height: 36px;
    /*Esto centra en base a la height, si es igual lo centra vertical*/
}


/*-----------------------------------------------------------------------*/

/*Menú-FRECUENCIA*/

#frecuencia-navbar-block ul a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    padding: 0px 10px 0px 10px;
    background-color: var(--btn-bg-color);
    margin-right: 5px;
    margin-top: 5px;
    height: 100%;
    cursor: pointer;
}

#frecuencia-navbar-block ul a:hover {
    color: var(--terciary-color);
}

/*Clase que se añade o se quita para marcar que elemento se está viendo de los menus de alfabetica o frecuencia*/
.current-AFnavbar {
    color: var(--terciary-color) !important;
}

.indice-container{
    margin-left:65px;
}
/***
    TABLAS CONCORDANCIAS
*/

#div-tabla {
    margin: auto;
    width: fit-content;
}

#div-tabla h2 {
    margin-top: 30px;
    text-align: center;
}

#div-tabla h2 span {
    font-weight: bold;
}

#div-tabla table {
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

#div-tabla table tr th,
#div-tabla table tr td {
    border-bottom: 1px solid #222;
}

#div-tabla table th {
    padding: 5px 10px 10px 5px;
    text-align: center;
}

#div-tabla table td {
    padding: 5px 10px 10px 5px;
}

#div-tabla table tr td:nth-child(2) {
    text-align: center;
}

#div-tabla table tr td:nth-child(3) {
    text-align: right;
}

#div-tabla table tr td:nth-child(4) {
    font-weight: bold;
    text-align: center;
}

#div-tabla table tr td:first-child,
#div-tabla table tr th:first-child {
    padding-left: 30px;
}

#div-tabla table tr td:last-child,
#div-tabla table tr th:last-child {
    padding-right: 30px;
}

/***
    TABLAS FRECUENCIAS
*/

#div-frecuencia{
    width: fit-content;
    margin-left: 15%;
}

#div-frecuencia table th {
    padding: 5px 10px 10px 5px;
}

#div-frecuencia table td {
    padding: 5px 10px 10px 5px;
    text-align: left;
}


/***
    TABLAS ALFABETICA
*/

#div-alfabetica {
    width: fit-content;
    margin-left: 15%;
}

#div-alfabetica table {
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

#div-alfabetica table tr th,
#div-alfabetica table tr td,
#respuesta-alfabetica table tr th,
#respuesta-alfabetica table tr td{
    border-bottom: 1px solid #222;
}

#div-alfabetica table th,
#respuesta-alfabetica table th{
    padding: 5px 10px 10px 5px;
}

#div-alfabetica table td,
#respuesta-alfabetica table td{
    padding: 5px 10px 10px 5px;
}


/***
    CLASES POEMAS
*/

.subtit {
    margin-top: 35px;
    font-size: 16pt;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}


.acotacion{
    text-align: center;
    font-style: oblique;
    font-weight: 300;
    margin-top: 12px;
    margin-bottom: 25px;
}

#div-pagina #inyeccion .accion,
.accion{
    text-align: center;
    font-style: oblique;
    font-weight: 300;
    margin-top: 35px;
    margin-bottom: 35px;
    line-height: 25px;
}

.comentario{
    margin-top: 20px;
    font-size: 14pt;
    font-weight: 350;
}

.comentario-211{
    margin-top: 20px;
    font-weight: 350;
    line-height: normal;
}

/**clase para poner el titulo en dos h4 pero sin espacio entre ellos"**/
h4.tit_punt_apart {
    margin-bottom: 0px !important;
    font-size: 14px !important;
}
/**ESTILO DESPLEGABLE*/

.desplegable {
  overflow: hidden;
}

.dropdown .dropbtn {
    cursor: pointer;
    border: none;
    outline: none;
    color: white;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.desplegable {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  z-index: 1;
}

.desplegable a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
      font-size: 15px;
}

.desplegable a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

.container{
    width:500px;
}

.container-211{
    width:1200px !important;
}

#inyeccion, #content-esp {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    
    position:relative;
}

/**Estilo del buscador*/
#buscador {
    grid-column: 1;
    grid-row: 1;
    margin-top: 5px;
}

#alfabetica-navbar {
    grid-column: 2 / 6;
    grid-row: 1;
}

#busquedapoemas{
    border-radius: 10px;
    border: 1px solid var(--text-color);
    outline-offset: unset;
    padding: 10px 10px 10px 10px;
    width: 270px;
    height: 38px;
    margin-right:3px;

}

#busquedapalabras{
    border-radius: 10px;
    border: 1px solid var(--text-color);
    outline-offset: unset;
    padding: 10px 10px 10px 10px;
    width: 150px;
    height: 38px;
    margin-right:3px;

}

#busquedapoemas::placeholder,
#busquedapalabras::placeholder {
    font-size: 12px;
}


#btn-buscador-alfabetica {
    margin: 0 3px 0 3px;
    display: inline-block;
    background-color: var(--btn-bg-color);
    border-radius: 10px;
    width: 40%;
    font-weight: 600;
    color: var(--primary-color);
}

#btn-buscador {
    margin: 0 3px 0 3px;
    display: inline-block;
    background-color: var(--btn-bg-color);
    border-radius: 10px;
    width: 30%;
    font-weight: 600;
    color: var(--primary-color);
}

#btn-buscador:hover {
    color: var(--terciary-color);
}


#subnavbar-block ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#subnavbar-block ul li:nth-child(3) a.btn {
    margin-right: 50px;
}

#subnavbar-block ul li {
    display: inline-block;
}

#subnavbar-block ul li a {
    text-decoration: none; /* Opcional: quita el subrayado de los enlaces */
}

.contenido-buscador {
    display: flex;
    flex-direction: row;
}

.form-busc {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*width: 100%;*/
    margin-right: 10px;
    font-size: 15px;
}

p.num-verso {
    vertical-align:middle;
    position: relative;
    right: 0;
    text-align: right;
    margin-left: 30px;
    margin-top: 2px;
    /*font-weight: bold;*/
    color: black;
    font-size: 14px;
    /*white-space: pre; /* To preserve the tab character spacing */
}


span.num-verso {
    vertical-align:middle;
    display: inline-block;
    position: absolute;
    right: 0;
    text-align: right;
    margin-left: 30px;
    /*font-weight: bold;*/
    color: black;
    font-size: 14px;
    /*white-space: pre; /* To preserve the tab character spacing */
}
td {
            vertical-align: middle;
        }
