/**
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 {
    font-family: "IBM Plex Sans";
    margin: 0;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

#navbar {
    margin-left: 3%;
    margin-top: 30px;
    width: 100%;
}

#navbar-block{
    width: 100%;
}

#subnavbar {
    margin-left: 7%;
}

#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: inline-block;
    align-items: center;
    justify-content: center;
}


#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-libros {
    width: 70%;
}

#i-libros a {
    text-decoration: none;
    color: var(--text-color);
}

#i-libros a:hover {
    text-decoration: underline;
}

#i-libros>li:nth-child(even) {
    list-style: none;
}

.i-libro {
    font-weight: bold;
    margin-top: 30px;
}

#i-libros ul {
    text-align: left;
}

#i-libros li ul {
    list-style: circle;
    margin-bottom: 10px;
}

#i-libros li ul li {
    margin: 4px;
}

/**
    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 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 {
    width: 12%;
    padding: 20pt;
    text-align: center;
    font-size: 20pt;
    font-weight: bold;
    text-decoration: none;
}

#prePag div,
#postPag div {
    padding-top: 5pt;
    padding-bottom: 5pt;
    border-radius: 10px;
    background-color: var(--btn-bg-color);
    color: var(--primary-color);
}

/*-----------------------------------------------------------------------*/

/* PÁGINAS */

/*
#div-pagina p:not(:first-of-type) {
    text-indent: 1.25cm;
}
*/

#div-pagina .highlight {
    border: 1pt solid var(--secundary-color);
    border-radius: 2pt;
    background-color: #a9ff91;
}

#div-pagina #inyeccion h2 {
    margin-top: 30px;
    font-size: 24pt;
}

#div-pagina #inyeccion h3 {
    margin-top: 20px;
    font-size: 22pt;
}

#div-pagina #inyeccion h4 {
    margin-bottom: 20px;
    font-style: italic;
    font-size: 18pt;
}

#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 p a {
    color: black;
    text-decoration: none;
}

#div-pagina #inyeccion p a:hover {
    color: blue;
    text-decoration: underline;
}

#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,
#frecuencia-navbar-block {
    color: var(--text-color);
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
}

#alfabetica-navbar-block ul,
#frecuencia-navbar-block ul {
    list-style: none;
    margin-top: 0px;
}

#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;
}


/***
    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;
}

#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;
}

/***
    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 {
    border-bottom: 1px solid #222;
}

#div-alfabetica table th {
    padding: 5px 10px 10px 5px;
}

#div-alfabetica table td {
    padding: 5px 10px 10px 5px;
}

/**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;
}

/**Para no permitir seleccionar el texto*/

#inyeccion, #content-esp {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}


/*Imaxe da xunta en agradecementos*/
.xunta{
    margin-right: 40px;
}

