@import "./generic.css";
@import "./view.css";
@import "./forms.css";
@import "./dashboard.css";
/* @import "./modal.css"; */

/* LOADER */

#server-loader {
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
    color: var(--dark-gray);
    display: none;
}

/* Permissão */

.permissao {
    min-height: calc(100vh - 400px);
    padding: 15px;
    font-size: 1.1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.permissao i {
    color: var(--cor_icon);
    font-size: 3em;
    margin: 15px;
}

.permissao span {
    color: var(--cor_subtitulo);
}

/* DOWNLOAD */

span.download-anexo {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 275px;
    font-size: 12px;
    color: var(--cor_titulo);
}

span.download-anexo:hover {
    color: var(--cor_subtitulo);
}


.obs_mail {
    color: var(--rp_vermelho);
    font-size: 12px;
}

/* TABLE TEXTAREA */

table td.data-table-vertical-clamp {
    width: calc(100% - 32px);
    vertical-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
    white-space: normal;
    line-height: 17px;
}

table td.data-table-vertical-clamp>p {
    margin: 0;
}


/* Nav link */

.nav-link:hover {
    box-shadow: 0px 0px 0px 2px var(--cor_borda);
}

.nav-pills .nav-link.active {
    margin-bottom: 0px;
}

.nav-pills a,
.nav-pills a:hover,
.nav-pills a:visited {
    color: var(--cor_titulo);
}

.nav-pills a.nav-link,
.nav-pills span.nav-link {
    font-size: 0.9em;
    transition: 0.2s;
    border-radius: 50px;
    outline: none;
}

/* ADDON */

.rp-input-group .rp-addon {
    top: 4px;
}

/* GERENCIADORES */

#gerenciador-nav-header input[type=radio][name=btn-tabs] {
    display: none;
}

/* DATATABLE  */

.status-box-custom {
    color: var(--data-color);
    background-color: color-mix(in srgb, var(--data-color), var(--background) 80%);
    border: 0.5px solid color-mix(in srgb, var(--data-color), var(--background) 50%);
    border-radius: 10px;
    padding: 2px 5px;
    margin: 8px 0;
    display: flex;
    gap: 5px;
    width: fit-content;
    justify-content: start;
    align-items: center;
    font-weight: bold;
    font-size: 0.8em;
}


td.td_config .div-rp-td-join>section,
td.td_config .div-rp-td-join>section>div:not(.child-join) {
    display: flex;
    /* gap: 10px; */
    justify-content: center;
    flex-wrap: nowrap;
}

td.td_config .div-rp-td-join>section>div:not(.child-join) div:empty {
    display: none;
}

td.td_config .div-rp-td-join>section>div:not(.child-join) div:not(:empty),
td.td_config .div-rp-td-join>section>div.child-join {
    padding: 0px 4px;
}

td.td_config .div-rp-td-join>section div.child-join,
td.td_config .div-rp-td-join>section div.child-join span {
    display: flex;
}

td.td_config .div-rp-td-join>section div.child-join span {
    display: flex;
}

td.td_config .div-rp-td-join>section div.child-join:empty {
    display: none;
}

td.td_config i:hover {
    color: var(--cor_subtitulo);
    cursor: pointer;
}

.pagina {
    zoom: 0.9;
}

.fix-zoom {
    zoom: 1.11;
}

.min-height-transition {
    transition: min-height ease 0.5s;
}