* {
    --max-page-width: 1500px;
}

html,
body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

hr {
    color: grey;
}

a {
    text-decoration: none;
    color: black;
}

span {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0;
    margin-right: 0;
}

img {
    display: block;
    width: auto;
    height: auto
}

h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
}

.tabla {
    width: 100%;
    overflow: auto;
}

.tabla table {
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    min-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tabla td,
.tabla th {
    padding: 10px;
}

.tabla th a {
    color: #fff;
    text-decoration: underline;
}

.tabla thead th {
    height: 40px;
    background-color: #353839;
    color: #fff;
    text-align: left;
}

.tabla tbody tr {
    height: 50px;
    font-size: 15px;
    color: #808080;
    font-weight: unset;
}

.tabla tbody tr td a:hover {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.tabla tbody tr:hover,
.tabla tbody tr:hover a {
    color: #555555;
    background-color: #f5f5f5;
    cursor: pointer;
}

.tabla tbody tr td:nth-of-type(1),
.tabla thead th:nth-of-type(1) {
    padding-left: 62px;
}

.tabla tbody tr td:last-child,
.tabla thead th:last-child {
    padding-right: 62px;
}

.tabla tbody tr:nth-of-type(odd) {
    background-color: #f5f5f5;
}


input[type=file] {
    width: 350px;
    max-width: 350px;
    color: #444;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #555;
}

input[type=file]::file-selector-button {
    margin-right: 20px;
    border: 1px solid #000;
    background: #000;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
    background: #fff;
    color: #000;
}

.contenido {
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
    word-wrap: break-word;
}

.texto-principal>.descripcion {
    margin: auto;
    text-align: center;
    width: 40%;
    font-size: 12pt;
    font-weight: 700;
    color: #ffffff;
    font-style: normal;
    border: none;
    background: #149dcc;
    border-radius: 25px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.texto-principal>p {
    padding-bottom: 2px;
    color: #767676;
}

.pagina {
    display: flex;
    max-width: var(--max-page-width);
    flex-direction: column;
    margin: 0px auto;
    width: 100vw;
}

.error {
    color: red;
    position: absolute;
}

.exito {
    font-size: 1em;
    border: 1px solid #08df16;
    background-color: #9fe0a4;
    color: #005b06;
    padding: 5px;
    border-radius: 5px;
    margin: 10px;
}

.errorMsg {
    font-size: small;
    border: 1px solid #df0808;
    background-color: #e09f9f;
    color: #5b0000;
    padding: 5px;
    border-radius: 5px;
    margin: 10px;
}


.sin_resultado {
    text-align: center;
    margin-top: 160px;
    color: gray
}

input[type=file] {
    width: 100%;
    word-wrap: unset;
    padding: 8px;
}

.input-foco:focus {
    border: 2px solid #337CCF;
}

.shrink-on-hover {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.shrink-on-hover:hover,
.shrink-on-hover:focus,
.shrink-on-hover:active {
    -webkit-transform: scale(0.97);
    transform: scale(0.97);
}

.textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    resize: none;
}

.paginacion {
    display: flex;
    gap: 15px;
    align-content: center;
}

.paginacion .paginas {
    padding: 3px 7px;
    border-radius: 5px;
    color: #084cdf;
    cursor: pointer;
}

.paginacion .paginas:hover {
    color: black;
    background-color: #d9d9d9;
}

.paginacion .actual {
    color: white;
    background-color: #084cdf;
}

.boton,
.boton-eliminar {
    margin-top: auto;
    margin-bottom: auto;
    color: white;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12pt;
}

.boton {
    background-color: #084cdf;
    border: 1px solid #084cdf;
}

.boton:hover {
    color: #084cdf;
    background-color: white;
}

.boton-eliminar {
    background-color: #df0808;
    border: 1px solid #df0808;
}

.boton-eliminar:hover {
    color: #df0808;
    background-color: white;
}

.botonera,
.botonera_right {
    display: flex;
    margin-bottom: 10px;
    gap: 10px;
}

.botonera {
    justify-content: left;
}

.botonera_right {
    justify-content: right;
}

.seleccionado {
    box-shadow: 0 0 10px 5px #48abe0;
}

.admin {
    background-color: #000;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 1;
}

.admin-tag {
    margin-left: 20px;
    position: absolute;
    float: right;
    background-color: #000;
    padding: 6px 6px;
    font-size: 13px;
    border-radius: 2px;
    display: none;
    white-space: nowrap;
}

.admin .icons-list {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: right;
}

.btn-icon {
    text-align: center;
    cursor: pointer;
}

.btn-icon:hover>.admin-tag {
    display: inline-block;
}

.btn-icon button {
    background: none;
    border: none;
    cursor: pointer;
}

.filtros label {
    color: #000;
    font-weight: bold;
}

.filtros .contenedor {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.filtros input[type=date] {
    appearance: none;
    outline: 10px red;
    border: 0;
    box-shadow: none;
    flex: 1;
    padding: 0 1em;
    color: #333333;
    background-color: white;
    background-image: none;
    cursor: pointer;
    --background-gradient: linear-gradient(178deg, #ffff33 10%, #3333ff);
    font-size: 0.9rem;
}

.drop-docs {
    display: flex;
    flex-direction: row;
    gap: 25px;
    padding-bottom: 15px;
}

.drop-docs .contenedor {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.drop-docs select {
    appearance: none;
    box-shadow: none;
    flex: 1;
    border: 0;
    padding: 0 1em;
    color: #000;
    background-image: none;
    cursor: pointer;
    font-size: 0.9rem;
    outline: none;
    background-color: #ffff;
}


.drop-docs select::-ms-expand {
    display: none;
}

.drop-docs .select {
    position: relative;
    display: flex;
    width: 13em;
    height: 2.5em;
    border: 1px solid #000;
    overflow: hidden;
}

.drop-docs .select::after {
    content: '\25BC';
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5em 1em 0.5em 1em;
    transition: .25s all ease;
    pointer-events: none;
    padding: 0.5em 1em 0.5em 1em;
    background-color: #ffff;
}

.drop-docs .select:hover::after,
.drop-docs .select:focus::after {
    color: #eee;
    background-color: #000;
}

.campos {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%
}

.campo {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.capitalizar {
    text-transform: capitalize;
}

.campo input {
    height: 10px;
}

.campo_texto {
    min-height: 80px;
    font-family: "Roboto", sans-serif;
}

.campo input,
.campo_texto {
    width: 100%;
    padding: 15px;
    border: none;
    outline: 1px solid #ced4da;
    font-size: 12pt;
}

.campo input:hover,
.campo input:focus,
.campo_texto:hover,
.campo_texto:focus {
    background-color: var(--menu-bg);
    outline-color: #337CCF;
}

.campo input:focus {
    outline-width: 1px;
}

.campos .label {
    font-size: 12pt;
    margin-bottom: 10px;
}

@media (max-width: 858px) {
    .paginacion .extras {
        display: none;
    }

    .contenedor-imagen-texto {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
    }

    .archivos-iconos {
        flex-direction: column;
    }

    .sin_resultado {
        margin-top: 50px;
    }


    .drop-docs {
        flex-direction: column;
    }

    .drop-docs .select {
        margin: auto;
    }

    .drop-docs .select {
        width: 100%;
    }

}