html {
    height: 100%;
    --sans-font: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    padding: 100px;
    width: 66%;
    margin: 0 auto;
    flex: 1 0 auto;
}

.container h1,
.container h2,
.container h3,
.container h4 {
    text-align: center;
}

.content {
    flex: 1;
}

.sidebar {
    width: 10%;
    position: fixed;
    top: 10%;
    left: 0;
    bottom: 0;
    margin-left: 10px;
    overflow-y: auto;
    background-color: white;
    text-align: left;
    text-indent: 35px;
}

.sidebar p {
    margin: 0;
    line-height: 0.5;
    margin-bottom: 20px;
    text-align: left;
}

.sidebar a {
    text-decoration: none;
    color: gray;
}

.sidebar a:hover {
    text-decoration: none;
    color: black;
}

.container-horiz {
    display: inline-block;
    margin-right: 10px;
}

.container-horiz img {
    vertical-align: middle;
}

.table-container {
    padding-left: 20px;
    padding-bottom: 15px;
}

table {
    border-collapse: collapse;
    border: 0;
    padding-bottom: 30px;
}

th,
td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

td {
    width: 80px;
}

img {
    max-height: 100px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.inline-image {
    display: inline;
    max-height: none;
}

.inline-table img {
    display: inline;
    max-height: none;
    max-width: 70%;
    height: auto;
}

.welcome-image {
    max-height: none;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 40px auto 0;
}

.subclass {
    color: gray;
    padding-top: 10px;
}

.cell {
    position: relative;
    width: 90px;
}

.wide {
    position: relative;
    width: 200px;
}

.big {
    position: relative;
    width: 300px;
}

.medium {
    position: relative;
    width: 150px;
}

.tall {
    position: relative;
    max-height: 200px;
}

.tall-force {
    position: relative;
    height: 220px;
}

.no-border {
    border: 0;
}

.upper-legend {
    position: absolute;
    top: 5px;
    left: 5px;
}

.lower-legend {
    position: absolute;
    bottom: 5px;
    left: 5px;
}

.legend {
    font-size: 12px;
}

.menu,
.menu2 {
    font-family: var(--sans-font);
    display: flex;
    justify-content: space-around;
    color: #fff;
    padding: 10px 0;
}

.menu {
    background-color: #333;
}

.menu2 {
    background-color: rgb(110, 110, 110);
    width: 40%;
    margin: 0 auto;
    margin-bottom: 3px;
}

.menu a,
.menu2 a {
    text-decoration: none;
    color: #fff;
    padding: 0 20px;
}

.menu a.active,
.menu2 a.active {
    font-weight: bold;
}

.menu a:hover,
.menu2 a:hover {
    text-decoration: none;
}

.indented {
    text-indent: 20px;
    line-height: 0.5;
}

.styled-table {
    width: 447.7pt;
    border: 1pt solid #000000;
    border-collapse: collapse;
    margin: 0 auto;
}

.styled-table th {
    font-weight: bold;
}

.styled-table td {
    border-width: 1pt;
    border-style: solid;
    padding: 5pt 4.5pt;
    vertical-align: top;
}

.styled-table td:first-child {
    width: 25.2pt;
    border-right-style: solid;
}

.styled-table td:last-child {
    width: 401.5pt;
    border-left-style: solid;
}

.styled-table tr {
    height: 13.2pt;
}

.styled-table tr:last-child {
    height: 76.5pt;
}

.styled-table p {
    margin: 0;
    font-size: 11pt;
    font-family: 'Times New Roman';
}

.styled-table p strong,
.styled-table p em {
    font-family: 'Times New Roman';
}

.styled-table p span {
    font-family: 'Times New Roman';
}

.styled-table2 {
    border: 1pt solid #000000;
    border-collapse: collapse;
    margin: 0 auto;
}

.styled-table2 th {
    font-weight: bold;
}

.styled-table2 td {
    width: 100px;
}

.styled-table2 td:first-child {
    text-align: left;
}

.styled-table2 th,
.styled-table2 td:not(:first-child) {
    text-align: center;
}

.paragraph-wrapper {
    width: 70%;
    margin: 0 auto;
    padding-bottom: 20px;
}

.paragraph-wrapper p {
    margin: 0;
    text-indent: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: justify;
}

.footnotes {
    margin-top: 20px;
    clear: left;
}

.footnote {
    font-family: Calibri;
    font-size: 10pt;
    line-height: 101%;
    margin-bottom: 10px;
}

.footnote sup {
    font-size: 7pt;
}

.footnote a {
    color: #0563c1;
    text-decoration: none;
}

.footnote a:hover {
    text-decoration: underline;
}

.footnotes-divider {
    border: none;
    border-top: 1px solid black;
    width: 25%;
    margin-top: 20px;
    margin-bottom: 20px;
    float: left;
}

footer {
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

/* =============================== */
/* = ESTILOS DEL FOOTER AÑADIDOS = */
/* =============================== */

.pdf-embed {
    width: 100%;
    height: 80vh;
    border: 1px solid #ccc;
    display: block;
    margin-top: 20px;
}

.footercontainer {
    width: 66%;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-top {
    background-color: #EDDFBA;
    padding: 20px 0;
}

.footer-top .footercontainer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
}

.footer-text {
    min-width: 0;
}

.footer-text p {
    font-family: var(--sans-font);
    font-size: 11px;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}

.footer-logos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-logos img {
    max-height: 100px;
    width: auto;
}

.footer-bottom {
    background-color: #14152D;
    color: #fff;
    padding: 25px 0;
    font-size: 10px;
    font-family: var(--sans-font);
}

.footer-bottom .footercontainer {
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-logo img {
    height: 10px;
    display: block;
}

.footer-bottom-center {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.footer-bottom-center a {
    color: #EDDFBA;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.footer-bottom-center a:hover {
    text-decoration: underline;
}

.footer-bottom-right {
    text-align: right;
}

@media (max-width: 992px) {
    .footer-bottom .footercontainer {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-bottom-right,
    .footer-bottom-center {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footercontainer {
        width: auto;
        padding: 0 20px;
    }

    .footer-top .footercontainer,
    .footer-bottom .footercontainer {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .footer-logos {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-logos img {
        margin: 0 15px;
    }
}

/* =============================== */
/* == FIN DE ESTILOS DEL FOOTER == */
/* =============================== */
