:root {
    --pi-btn-icon-box-bg: #dfe6f1;
    --pi-menu-link-i-bg: #e4e6ef;
    --pi-menu-link-i-color: #7e8299;
    --pi-select-finder-bg: #f5f8fa;
    --pi-select-item-bg: #eff2f5;
    --pi-primary-color: #1F5F8B;
    --pi-secondary-color: #1891AC;
    --pi-white-text: #fff;
    --pi-input-bg: #fbfbfb;
}

.app-content.app-main-menu {
    padding-bottom: 0 !important;
    /* background-color: #fff; */
    /* background-color: var(--pi-fourth-white-color); */
}

.app-content.app-main-menu .container-fluid {
    padding: 0 !important;
}

.app-sidebar-logo-default {
    width: 150px;
}

button,
a,
i,
span {
    transition: all .2s !important;
}

.form-check-custom.form-check-sm .form-check-input {
    height: 1.25rem !important;
    width: 1.25rem !important;
}

.form-check-input {
    cursor: pointer !important;
}

.table:not(.not-select) th:first-child {
    padding: 7px 9px !important;
}

.btn {
    position: relative !important;
    border-radius: 3px !important;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px !important;
}

.app-main {
    min-height: calc(100vh - 130px) !important;
}

.btn.shadow.default-shadow {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
}

.btn-icon-box {
    position: absolute !important;
    left: 0;
    top: 0;
    padding: 5px 5px !important;
    width: 25px !important;
    height: 100%;
    border-bottom-left-radius: 2px !important;
    border-top-left-radius: 2px !important;
}

.btn-icon-box i {
    font-size: 12px !important;
    position: relative;
    transform: translate(2px, -1px);
}

.btn-with-icon {
    text-align: right !important;
    padding-left: 32px !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    font-weight: 100 !important;
    position: relative !important;
}

.btn-with-icon:not(.btn-xs) .btn-icon-box {
    padding: 8px 3px !important;
}

button:focus,
a:focus {
    outline: none !important;
    /* border: none !important; */
    box-shadow: none;
}

td .btn.btn-icon {
    width: 26px !important;
    height: 26px !important;
    background-color: var(--pi-secondary-color);
    box-shadow: rgb(0 0 0 / 5%) 0px 0px 0px 1px !important;
}

textarea {
    overflow: auto !important;
    min-height: 10em !important;
    width: 100% !important;
    resize: none !important;
}

.menu.menu-sub .menu-item .menu-link i {
    background-color: var(--pi-menu-link-i-bg);
    padding: 4px;
    margin-right: 6px;
    border-radius: 2px;
    color: var(--pi-menu-link-i-color);
    font-size: 13px;
    text-align: center;
    box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
    width: 24px;
}

.footer-box {
    position: absolute;
    width: -webkit-fill-available;
    bottom: 0;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500 !important;
}

.badge {
    min-width: 64px !important;
    justify-content: center !important;
}

.video {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    z-index: -1 !important;
    opacity: .8 !important;
}

.truncate {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* CARDS */

.card {
    border-radius: 3px !important;
    box-shadow: rgb(0 0 0 / 15%) 0px 2px 8px !important;
    /* border-radius: 4px !important; */
    /* border-radius: 7px !important; */
}


/* FIN CARDS */


/* INPUTS */

.form-control.form-select-sm,
.form-control.form-control-sm {
    padding-bottom: 0.4rem !important;
    font-size: .825rem !important;
    border-radius: 3px !important;
    height: 33px;
    border: none !important;
    background-color: var(--pi-input-bg);
    box-shadow: rgb(0 0 0 / 10%) 0px 1px 3px 0px, rgb(0 0 0 / 6%) 0px 1px 2px 0px !important;
}

.form-control.form-control-solid {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px !important;
}

.form-control.form-select {
    border: none !important;
}


/* .input-file-wrapper,
.input-file-wrapper * {
    cursor: pointer;
    caret-color: transparent;
}

.input-file-wrapper:after {
    font-family: 'Material Symbols Outlined';
    content: 'description';
    position: absolute;
    right: 0;
    padding: 3px;
    margin: 2px;
    width: 18px;
    height: 20px;
    font-size: 17px;
    text-align: center;
    color: #7393b0;
    background-color: #f8f9fe;
    border-radius: 3px;
} */


/* FIN INPUTS */


/* SELECT BUSCADOR */

.select-finder-box {
    position: absolute;
    background-color: var(--pi-white-text);
    border-radius: 2px;
    max-height: 100px;
    overflow: auto;
    width: 100%;
    top: 0px;
    box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
    z-index: 10;
    /* opacity: 0; */
}

.select-finder-box .select-item {
    display: block;
    font-size: 12px;
    background-color: var(--pi-input-bg);
    padding: 8px;
    cursor: pointer;
    color: var(--pi-secondary-color);
    border-bottom: 1px solid var(--pi-second-white-color);
    font-weight: 600;
}

.select-finder-box .select-item i {
    color: var(--pi-third-color);
    font-size: 10px;
    vertical-align: baseline;
    margin-right: 5px;
}

.select-finder-box .select-item:hover {
    color: var(--pi-white-text) !important;
    background-color: var(--pi-secondary-color) !important;
}

.select-finder-box .select-item:hover i {
    color: var(--pi-white-text) !important;
}


/* FIN SELECT BUSCADOR */


/* MODALS */

.fade:not(.show) {
    opacity: 0;
    display: none !important;
}

.modal {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.loading {
    animation-duration: 4s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: preloadAnimation;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    display: flex;
    color: transparent;
}

@keyframes preloadAnimation {
    0% {
        background-position: -769px;
    }
    100% {
        background-position: 769px;
    }
}

.modal-header {
    display: initial !important;
}

.modal-buttons {
    position: absolute !important;
    right: -15px !important;
    top: -15px !important;
    padding: 10px;
}

.close-modal-btn:hover,
.save-modal-btn:hover {
    opacity: 1 !important;
}

.save-modal-btn:hover {
    background-color: var(--pi-menu-link-i-color) !important;
}

.save-modal-btn:hover i {
    color: var(--pi-btn-icon-box-bg) !important;
}

.modal-content {
    border-radius: 3px !important;
    background-color: var(--pi-fourth-gray-color) !important;
}

.text-modal-btn {
    font-size: 9px !important;
    position: absolute !important;
    display: block !important;
    bottom: 2px !important;
}


/* .modal-body {
    max-height: 55em !important;
    overflow-x: auto !important;
} */


/* FIN MODALS */


/* TABLAS */

.action-buttons {
    /* position: sticky;
    right: 0; */
    padding: 0 !important;
    min-width: 14em;
    /* width: 200px; */
}

table {
    margin-bottom: 0 !important;
}

td.action-buttons .btn.btn-icon.select-special-crud-table {
    width: 40px !important;
}

td.action-buttons .btn.btn-icon.select-special-crud-table i {
    margin: 2px !important;
}

.td-popper-box {
    margin: 7px;
    display: inline-block;
}

#assocTable thead tr {
    background-color: #fff !important;
}

#assocTable tr td button:hover,
#reboot-search:hover,
#send-search:hover {
    opacity: .8 !important;
}

.btn-xs {
    padding: 5px !important;
    font-size: 12px !important;
}

.text-xs {
    font-size: 11px !important;
    font-weight: 500;
}

#deleteAsociateElement {
    font-size: 3px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 21px;
    position: absolute !important;
    right: 0;
    top: 0;
    border-top-right-radius: 2px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 2px !important;
    border-bottom-right-radius: 0 !important;
}

#editAsociateElement {
    font-size: 3px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 21px;
    position: absolute !important;
    right: 30px;
    top: 16px;
    transform: translate(0%, -50%);
}

#asociateElementText,
#editElementText {
    font-size: 11px !important;
    color: var(--pi-select-finder-bg);
}

.loading-div-layer {
    background-color: rgb(0 0 0 / 50%);
    width: 100% !important;
    height: 100% !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    margin-top: 0 !important;
}

.loading-div-layer-inside {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    margin-top: 0 !important;
}

.td-popper-box .inline-block {
    margin: -7px !important;
    border: 0 !important;
}


/* FIN TABLAS */


/* ASISTENTE */

.as-action-buttons {
    display: flex;
    gap: 10px;
}

.assistants-box {
    /* padding: 10px 5px 0 10px; */
    /* overflow-y: auto; */
    max-height: 50em;
    margin-bottom: 10px;
}


/* FIN ASISTENTE */


/* USER SIDEBAR */

.user-info-sidebar {
    text-align: center;
    width: 100%;
    border-top: 1px solid var(--pi-seventh-gradient-color);
    padding: 20px 15px;
    margin: 15px auto;
    text-align-last: right;
}

.user-info-sidebar .user-icon {
    padding: 4px;
    border-radius: 2px;
    width: 20px;
    display: inline-flex;
}

.user-info-sidebar .user-icon i {
    font-size: 14px;
    vertical-align: text-bottom;
    color: var(--pi-secondary-color);
}

.user-info-sidebar .user-name {
    font-size: 12px;
    margin-left: 5px;
    color: #e5ebf2;
}

.user-info-sidebar .user-email {
    font-size: 11px;
    display: block;
    margin-top: 10px;
    color: #aac0d0;
}

.user-info-sidebar .user-logout {
    cursor: pointer;
    font-size: 12px;
    color: var(--pi-danger-color);
    font-weight: 600;
    position: relative;
    top: 15px;
}


/* FIN USER SIDEBAR */
