/* PDF RENDER */

.bloque-pdf {
    background: #4b4b4b;
    padding: 2em;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.bloque-pdf.flex-start {
    display: inline-block;
    overflow-x: scroll;
}

.bloque-pdf #loading img {
    width: 2.5em;
    vertical-align: middle;
    margin-right: 0;
}

.bloque-pdf #loading {
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bloque-pdf::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.bloque-pdf::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.bloque-pdf::-webkit-scrollbar-thumb {
    background: #888;
}

.bloque-pdf::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#pdf-canvas {
    width: 100%;
}

.navigation {
    display: flex;
    align-items: center;
}

.navigation svg {
    width: 0.75em;
    fill: #ffffff;
    cursor: pointer;
}

.navigation svg#prev-page {
    margin-right: 1em;
}

#pdf-controls-down {
    width: 100%;
}

#page-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
}

.pdf-info {
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    display: -ms-flexbox;
    position: sticky;
    top: 0;
    color: #FFFFFF;
    padding: 0.5em;
    justify-content: space-between;
    width: 100%;
}

#page-info .separation {
    margin: 0 0.5em;
}

#page-info input[type="number"]::-webkit-inner-spin-button,
#page-info input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#page-info input[type="number"] {
    -moz-appearance: textfield;
}

#page-info input[type="number"] {
    text-align: center;
    font-size: 1em;
    background: #ffffff;
    border-width: 0;
    border-style: none;
    border-radius: 0;
    border-color: transparent;
    border-image: none;
    font-family: 'Roboto', sans-serif;
}

#zoom-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

#zoom-controls select {
    width: 5em;
    height: auto;
}

#zoom-controls svg {
    fill: #ffffff8f;
}

#zoom {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 0.5em;
}

#zoom::-webkit-slider-runnable-track {
    height: 15px;
    background: #ccc;
    border-radius: 16px;
}

#zoom::-moz-range-track {
    height: 15px;
    background: #ccc;
    border-radius: 16px;
}

#zoom::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 15px;
    width: 15px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #1971c2;
    box-shadow: -407px 0 0 400px #1971c2;
}

#zoom::-moz-range-thumb {
    height: 15px;
    width: 15px;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #1971c2;
    box-shadow: -407px 0 0 400px #1971c2;
}

.pdf-reader a.button {
    align-self: end;
    margin-bottom: 1em;
}


/* .pdf-reader h1{
	line-height: 1.5em;
}

#canvases{
	width: 100%;
	padding: 0 5em;
    background: var(--grisOscuro);
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#canvases canvas{
	margin: 1em 0;
}

.pdf-info{
	width: 100%;
	background: rgba(0,0,0,0.8);
    display: flex;
    position: sticky;
    top: 0;
    color: #FFFFFF;
    padding: 0.5em;
    justify-content: space-between;
}

#zoom-nav{
	display: none;
}

#zoom-nav svg{
	width: 25px;
}

#zoom-nav i:first-child{
	margin-right: 0.5em;
} */

/* LISTA PDF */

.pdf-list {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.pdf-list {
    margin: 0 0 2em 0;
}

.pdf-list.extra-margin {
    margin: 2em 0;
}

.pdf-list .desplegable.transparencia {
    width: 100%;
}

.contenido-desplegable {
    display: flex;
    align-items: center;
}

.contenido-desplegable span,
.desplegable-text .contenido-desplegable span {
    background: none;
    border-radius: 0;
    color: var(--negro) !important;
    font-weight: bold;
    font-size: 1em !important;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.desplegable-text .contenido-desplegable span {
    background: none;
}

.desplegable.transparencia .pdf-list {
    margin: 1em 0 0 0;
}

.desplegable.transparencia .pdf-list a:hover .view,
.pdf-list a:hover .view,
a.contenido-desplegable:hover .view {
    opacity: 1;
}

.contenido-desplegable .view {
    margin-left: auto;
}

.contenido-desplegable .view,
.desplegable.transparencia .pdf-list .view,
.pdf-list .view {
    float: right;
    opacity: 0;
    transition: 0.2s;
}

.pdf-list.row-dir p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.pdf-list.row-dir p,
.desplegable-text p {
    padding: 0 2em;
    line-height: 1.5em;
    margin-block-start: 0.5em;
}

.desplegable-text span h3 {
    color: var(--primario);
    padding: 0 1.7em;
    text-transform: uppercase;
}

.desplegable-text span h4 {
    padding: 0 2em;
    color: var(--primario);
}

.title-folder span {
    width: 74%;
    font-weight: bold;
    font-family: var(--fuenteSec);
}

.tab-margin::first-letter {
    color: var(--primario);
}

.desplegable-text span {
    display: block;
    margin: 1em 0;
    padding: 1em 1em 0 1em;
    border-radius: 6px;
    background: #ededed;
}

.desplegable hr {
    display: none;
}

.desplegable span hr {
    width: 94%;
    margin-bottom: 2em;
    /*border: 4px solid var(--primario);*/
}

.pdf-list.row-dir {
    padding: 1em 0 2em 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.pdf-list.row-dir img {
    width: 20%;
    border-radius: 6px;
    -webkit-box-shadow: 7px 7px 0px 0px var(--primario);
    -moz-box-shadow: 7px 7px 0px 0px var(--primario);
    box-shadow: 7px 7px 0px 0px var(--primario);
}

.desplegable-text .pdf-list {
    margin: 0.5em 0 0 0;
}

.nombres-miembros {
    columns: 2;
    padding-top: 1em;
}

.pdf-list svg {
    vertical-align: text-bottom !important;
    margin-right: 0.5em;
}

.desplegable.transparencia.double-docs .pdf-list a {
    width: 49%;
}

.pdf-list a {
    color: var(--negro) !important;
    font-weight: bold;
    width: 100%;
    /*padding: 1em;*/
    padding: 0.75em;
    border-radius: 6px;
    border: 1px solid #e2e2e2;
    margin-bottom: 1em;
    width: 100%;
}

.desplegable:hover,
.desplegable.transparencia:hover,
.pdf-list a:hover {
    border: 1px solid var(--grisTor);
}

main.aviso-legal .desplegable {
    margin: 0.5em 0;
    padding: 0 1em;
}

.frame .pdf-list a.title-folder:hover {
    border: none;
}

.desplegable.transparencia h2 {
    font-size: 1em;
    font-family: var(--fuenteSec);
    font-weight: bold;
    color: var(--negro);
    color: #181818;
}

.desplegable.transparencia a.title-folder h2 span {
    font-family: var(--fuente);
}

.desplegable.transparencia a.title-folder {
    border: none;
    padding: 0;
    margin: 0;
}

.desplegable.transparencia {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 0.75em;
    margin-bottom: 1em;
}

.desplegable.transparencia h2 svg:first-child {
    float: right;
    margin-top: 3px;
    transform: rotate(180deg);
    transition: 0.2s;
}

div.desplegable-text#comp-den span {
    background-color: #FFFFFF;
    margin: 0;
}

.desplegable-text#comp-den p {
    padding: 0 1em;
    line-height: inherit;
}

.desplegable-text#comp-den p,
.desplegable-text#comp-den ol li {
    font-family: var(--fuenteSec);
}

div.desplegable-text#comp-den a.contenido-desplegable {
    margin-top: 2em;
}

.pdf-list .icon--filled {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

a.go-back {
    font-family: var(--fuenteSec);
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    align-self: baseline;
    font-weight: 500;
    color: var(--grisTor);
}

.go-back .icon--filled__glyph {
    fill: var(--grisTor);
}

a.go-back:hover svg {
    transform: translateX(-5px);
}

a.go-back svg {
    margin-right: 8px;
    transition: 0.2s;
}

/* PDF NOT FOUND */

.not-found {
    display: flex;
    justify-content: center;
}

svg.notFound {
    fill: #e2e2e2;
    margin: 2em 0;
}

.pdf-reader a.button.center {
    align-self: center;
    margin: 2em 0;
    text-transform: none;
}