﻿
#label-pages {
    margin-left: 1rem;
    font-size: 0.82rem;
}

#dt-length-0 {
    font-size: 0.82rem;
}

.dt-paging-button {
    font-size: 0.82rem;
}

#DocumentacionContainer {
    padding-left: 0 !important;
    padding-right: 0 !important
}

.nav .form-control {
    font-size: 0.82rem;
}

tr {
    height: 2.2rem;
}

/* Quitar bordes hover thTitles */
table.dataTable thead > tr > th.dt-orderable-asc:hover, table.dataTable thead > tr > th.dt-orderable-desc:hover, table.dataTable thead > tr > td.dt-orderable-asc:hover, table.dataTable thead > tr > td.dt-orderable-desc:hover {
    outline: none;
}

/* Badges Entidades */
.alamo-badge {
    font-size: 0.82rem;
    font-weight: 500;
    margin: 1px;
    background-color: color-mix(in srgb, var(--primary-color) 20%, transparent);
    color: var(--terciary-color);
    max-width: 100%;
    line-height: 1rem;
    padding: 0.2rem 0.5rem;
}

.modules-badge, .links-badge {
    line-height: 1.2rem;
}

    .modules-badge > div, .links-badge, .links-details-badge > div {
        white-space: normal;
        word-break: break-word;
        text-align: start;
    }

        .modules-badge > div > div, .links-badge, .links-details-badge > div > div {
            white-space: normal;
            word-break: break-word;
            text-align: start;
        }

.links-badge {
    background-color: var(--grey-input);
    color: var(--primary-color) !important;
    font-weight: 400 !important;
    padding: 2px 10px;
}

.links-details-badge {
    background-color: transparent;
    color: var(--primary-color) !important;
    font-weight: 400 !important;
    padding: 2px 10px;
    text-align: inherit;
    white-space: inherit;
}

.revoked-badge {
    border-radius: 50%;
    height: 1rem;
    width: 1rem;
}

.textarea-h::-webkit-resizer, .std-h::-webkit-resizer {
    resize: none;
    overflow: hidden;
}

.textarea-container {
    position: relative;
    width: 100%;
}

.link-icon-image {
    position: absolute;
    top: 45%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    width: 40px
}

textarea.links-badge {
    padding-left: 40px;
}

.changes-badge {
    width: 5.5rem;
}

.entity-badge {
    min-width: 3rem;
}

.thActions, .tdActions {
    text-align: center !important;
    justify-items: center;
}

.thRevoked {
    text-align: center !important;
    justify-items: center;
    padding-left: 1.4rem !important;
}

.fa-eye {
    color: var(--primary-color);
}

/* Intercalado del colors de las filas de la tabla */
.tr-primary {
    background-color: var(--grey-input) !important;
    cursor: pointer;
}

    .tr-primary:hover {
        background-color: var(--grey-hover) !important;
    }

.tr-secondary {
    background-color: #fff !important;
    color: black;
}

/* Ajustar el tamaño de las columnas de la tabla */
.thDate, td.tdDate {
    min-width: 9rem !important;
    max-width: 9rem !important;
} 


.thBadges, td.tdBadges {
    min-width: 15rem !important;
    max-width: 15rem !important;
}

.tdActions {
    min-width: 10rem !important;
}

.tdRevoked {
    min-width: 5rem !important;
}

    .tdRevoked > div {
        justify-content: center;
    }

@media(max-width: 768px) {
    .thDate, td.tdDate {
        min-width: 10rem !important;
        max-width: 12rem !important;
    }
}

#table-regulations, #table-reports, #table-audits, #table-users, #table-periodicities {
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

#table-regulations, #table-audits, #table-users, #table-periodicities {
    margin-top: -1rem !important;
}

#table-reports {
    margin-top: -1.5rem !important;
}

    #table-reports.less-margin {
        margin-top: -1rem !important;
    }

th.thDate {
    text-align: center;
}

td.tdDate {
    text-align: center !important;
}
.tdMarginRight {
    padding-right: 3rem !important;
}
