:root {
    --pl-primary: #612232;
    --pl-primary-dark: #4c0b1c;
    --pl-secondary: #b0955b;
    --pl-secondary-dark: #897447;
    --pl-tertiary: #333;
    --pl-tertiary-dark: #121212;
    --pl-border-primary: rgba(97,34,50,0.62);
    --pl-border-secondary: rgba(176,149,91,0.58);
    --pl-border-color: #dee2e6;
    --pl-bg-menu: #fff;
    --pl-bg-submenu: var(--bs-gray-100);
    --pl-bg-body: #f1f5f7;
    --pl-font-color-footer: var(--bs-gray-500);
    --pl-bg-link-menu: var(--bs-gray-100);
    --pl-bg-form: #fff;
}

body {
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--pl-bg-body);
    --pl-header-logo-pladse: url('../image/pladse_white.png');    
    --pl-sesion-logo-pladse: url('../image/pladse.png');
}

    body.theme-dark {
        --pl-border-color: #494949;
        --pl-bg-body: #333;
        --pl-bg-menu: #333;
        --pl-bg-submenu: var(--bs-gray-800);
        --pl-font-color-footer: var(--bs-gray-700);
        --pl-bg-link-menu: var(--bs-gray-900);
        --pl-bg-form: #2d2d2d;
        --pl-sesion-logo-pladse: url('../image/pladse.png');
        color: var(--bs-gray-600);
    }

        body.theme-dark .btn-pl-primary, body.theme-dark .swal2-styled.swal2-confirm {
            background-color: var(--pl-secondary) !important;
            color: #fff;
        }

            body.theme-dark .btn-pl-primary:hover {
                background-color: var(--pl-secondary-dark) !important;
                color: #fff;
            }

            body.theme-dark .btn-pl-primary:focus {
                box-shadow: 0 0 0 3px var(--pl-border-secondary) !important;
            }

        body.theme-dark .border-bottom {
            border-bottom: 1px solid var(--pl-border-color) !important;
        }

        body.theme-dark .border-end {
            border-right: 1px solid var(--pl-border-color) !important;
        }

        body.theme-dark .border-top {
            border-top: 1px solid var(--pl-border-color) !important;
        }

        body.theme-dark .swal2-styled.swal2-confirm:hover, body.theme-dark .swal2-styled.swal2-confirm:focus,
        body.theme-dark .form-check-input:focus, body.theme-dark .form-control:focus {
            box-shadow: 0 0 0 3px var(--pl-border-secondary) !important;
        }

        body.theme-dark .form-check-input:checked {
            background-color: var(--pl-secondary);
            border-color: var(--pl-border-secondary);
        }

        body.theme-dark .form-check-input:focus, .form-control:focus {
            border-color: var(--pl-border-secondary);
        }

        body.theme-dark .form-control, body.theme-dark .select2-container--default .select2-selection--single {
            /*background-color: var(--bs-gray-700);*/
            background-color: #272727;
            border: 1px solid var(--pl-border-color);
            color: var(--bs-gray-500);
        }

            body.theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered {
                color: var(--bs-gray-500);
            }

        body.theme-dark .form-label {
            color: var(--bs-gray);
        }

        body.theme-dark .list-group-item, body.theme-dark .offcanvas {
            color: var(--bs-gray-500);
            background-color: var(--bs-gray-800);
            border: 1px solid var(--pl-bg-menu);
        }

            body.theme-dark .list-group-item:hover {
                background-color: var(--bs-gray-700);
            }

table th.col-2-icon, table td.col-2-icon {
    width: 8rem;
}

table th.col-3-icon, table td.col-3-icon {
    width: 12rem;
}

table tbody td .col-img {
    width: 3.5rem;
}

    table tbody td .col-img img {
        border-radius: 50%;
        border: 2px solid var(--bs-gray-200);
        height: 2.75rem;
        object-fit: contain;
        padding: 2px;
        width: 2.75rem;
    }

table tbody tr.active {
    background-color: var(--bs-gray-200);
    --bs-table-bg: var(--bs-gray-200);
}

table tbody tr.inactive td, table tbody tr.inactive span, table tbody tr.inactive small {
    color: red !important;
}

.btn-pl-primary, .swal2-styled.swal2-confirm {
    background-color: var(--pl-primary) !important;
    color: #fff !important;
}

    .btn-pl-primary:hover {
        background-color: var(--pl-primary-dark) !important;
        color: #fff !important;
    }

    .btn-pl-primary:focus {
        box-shadow: 0 0 0 3px var(--pl-border-primary) !important;
    }

.btn-pl-secondary {
    background-color: var(--pl-secondary) !important;
    color: #fff !important;
}

    .btn-pl-secondary:hover {
        background-color: var(--pl-secondary-dark) !important;
        color: #fff !important;
    }

    .btn-pl-secondary:focus {
        box-shadow: 0 0 0 3px var(--pl-border-secondary) !important;
    }


.card-pl-dashboard {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.card-pl-dashboard-icono {
    border-radius: 10px;
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
}

    .card-pl-dashboard-icono img {
        width: 3rem;
    }

.card-pl-dashboard-contenido {
    text-align: right;
}

    .card-pl-dashboard-contenido p {
        font-size: 3rem;
        font-weight: bold;
        line-height: 4rem;
        margin: 0;
    }

    .card-pl-dashboard-contenido span {
        font-size: 1rem;
    }

.swal2-styled.swal2-confirm:hover, .swal2-styled.swal2-confirm:focus,
.form-check-input:focus, .form-control:focus {
    box-shadow: 0 0 0 3px var(--pl-border-primary) !important;
}

.form-check-input:checked {
    background-color: var(--pl-primary);
    border-color: var(--pl-border-primary);
}

.form-check-input:focus, .form-control:focus {
    border-color: var(--pl-border-primary);
}

.fs-7, .form-control, .btn {
    font-size: 0.8rem;
}

.form-control {
    font-weight: 600;
}

.image-perfil-slide-left {
    padding-right: 0.5rem;
    width: 19rem;
}

.image-perfil-detail {
    height: 7rem;
    width: 7rem;
    object-fit: cover;
    border: 4px solid #4c4c4c;
}

.cuenta-usuario {
    height: calc(100vh - 4.5rem);
}

.requerido::after {
    color: var(--bs-primary);
    content: "*";
    font-weight: bold;
    margin-left: 8px;
    position: relative;
    top: 4px;
}

.pl-area-asignada > small {
    color: #fff;
    display: inline-block;
    text-transform: capitalize;
}

.pl-area-asignada > span {
    background-color: #b0955b;
    color: #fff;
    font-size: 0.7rem;
    padding: 0 0.5rem;
}

.pl-box-shadow {
    border: 1px solid var(--pl-border-color);
    box-shadow: rgb(76 78 100 / 22%) 0px 2px 10px 0px;
    margin: 0.25rem;
}

.pl-bg-form {
    background-color: var(--pl-bg-form);
}

.pl-card {
    height: 20rem;
    margin-bottom: 0.75rem;
    overflow: hidden !important;
    transition: filter .2s, height .5s;
}

.pl-card-gris {
    filter: grayscale(1);
}

.pl-card:hover {
    box-shadow: rgb(76 78 100 / 22%) 0px 2px 10px 0px;
    filter: grayscale(0);
    overflow: auto !important;
    transition-property: filter;
    transition-duration: .2s;
}

.pl-card-image {
    align-items: center;
    display: flex;
    height: 9rem;
    justify-content: center;
    margin: 0 auto;
    padding: 1.5rem;
    text-align: center;
}

.pl-card-text {
    color: var(--bs-gray);
    display: -webkit-box !important;
    font-weight: normal;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
}

.pl-card:hover .pl-card-text {
    -webkit-line-clamp: initial !important;
}

.pl-header-logo {
    align-items: center;
    background-color: var(--pl-secondary);
    display: flex;
    height: 4.5rem;
    justify-content: center;
    width: 15rem;
}

    .pl-header-logo > .pl-header-logo-size {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 4rem;
        width: 80%;
    }

    .pl-header-logo > .pladse {
        background-image: var(--pl-header-logo-pladse);
    }

    /*quitar despues*/
    .pl-header-logo > #logo-pladse {
        background-image: var(--pl-header-logo-pladse);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 4rem;
        width: 80%;
    }

.pl-sesion-logo {
    align-items: center;
    display: flex;
    height: 4.5rem;
    justify-content: center;
    width: 100%;
}

    .pl-sesion-logo > .pl-sesion-logo-size {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 4.5rem;
        width: 100%;
    }

    .pl-sesion-logo > .pl-sesion-logo-footer {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 2rem;
        width: 100%;
    }

    .pl-sesion-logo > .pladse {
        background-image: var(--pl-sesion-logo-pladse);
    }

    .pl-sesion-logo > .avaco {
        background-image: var(--pl-sesion-logo-avaco);
    }

    /*QUITAR DESPUES*/
    .pl-sesion-logo > #logo-pladse {
        background-image: var(--pl-sesion-logo-pladse);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 4.5rem;
        width: 100%;
    }

.pl-header-contenido {
    align-items: center;
    background-color: var(--pl-primary);
    color: var(--pl-secondary);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    height: 4.5rem;
}

    .pl-header-contenido a {
        border-radius: 50%;
        display: inline-flex;
        color: var(--pl-secondary);
        font-size: 1.25rem;
        height: 2rem;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        width: 2rem;
    }

        .pl-header-contenido a:hover {
            background-color: rgba(255,255,255,0.2);
            color: #fff;
        }

.pl-header-usuario-logueado {
    cursor: pointer;
    margin-right: 1rem;
}

#pl-menu {
    left: -15rem;
    position: relative;
    transition: all 0.2s;
    width: 0;
}

    #pl-menu.show {
        left: 0;
        transition: all 0.2s;
        width: 15rem;
    }

#pl-submenu {
    left: -27rem;
    position: relative;
    transition: all .2s;
    width: 0;
    z-index: 8;
}

    #pl-submenu.show {
        left: 0px;
        transition: all .2s;
        width: 15rem;
    }

.pl-section-menu {
    background-color: var(--pl-bg-menu);
    border-right: 1px solid var(--pl-border-color);
    max-height: calc(100vh - 4.5rem);
    padding-bottom: 1rem;
    padding-top: 1rem;
    overflow-y: hidden;
}

.pl-section-submenu {
    background-color: var(--pl-bg-submenu);
    border-right: 1px solid var(--pl-border-color);
    max-height: calc(100vh - 13.75rem);
    min-height: calc(100vh - 13.75rem);
    padding-bottom: 1rem;
    padding-top: 1rem;
    overflow-y: hidden;
}

    .pl-section-menu:hover, .pl-section-submenu:hover {
        overflow-y: auto;
    }

    .pl-section-menu a, .pl-section-submenu a, #offcanvasCerrarSesion a {
        align-items: center;
        border: 1px solid transparent;
        border-radius: 4px;
        color: var(--bs-gray-600);
        display: block;
        font-size: 0.9rem;
        margin: 2px 0.5rem;
        padding: 0.35rem 0.5rem;
        text-decoration: none;
    }

#offcanvasCerrarSesion a {
}

    .pl-section-menu a:hover, .pl-section-menu a:focus,
    .pl-section-submenu a:hover,
    #offcanvasCerrarSesion a:hover {
        background-color: var(--pl-bg-link-menu);
        box-shadow: rgb(76 78 100 / 22%) 0px 2px 10px 0px;
        color: var(--pl-secondary);
    }

.pl-section-submenu .active, .pl-section-submenu a:focus {
    background-color: var(--bs-gray-200);
}

.pl-section-menu > a > i {
    font-size: 0.9rem;
    width: 1.5rem;
}

.pl-section-contenido {
    width: calc(100% - 15rem);
}

.pl-section-contenido-main {
    max-height: calc(100vh - 9rem);
    min-height: calc(100vh - 9rem);
    overflow-y: auto;
    position: relative;
}

.pl-section-contenido-main-title {
    border-bottom: 1px solid var(--pl-border-color);
    padding: 1rem;
}

.pl-section-contenido-sesion {
    max-height: calc(100vh - 4.5rem);
    min-height: calc(100vh - 4.5rem);
    overflow-y: auto;
}

.pl-section-contenido-submenu {
    max-height: calc(100vh - 13.75rem);
    min-height: calc(100vh - 13.75rem);
    overflow-y: auto;
}

.pl-section-contenido-submenu-con-tabs {
    max-height: calc(100vh - 15.5rem);
    min-height: calc(100vh - 15.5rem);
    background-color: var(--bs-white);
    overflow-y: auto;
}

.pl-section-contenido-main .datos a {
    color: var(--bs-gray-500);
    width: 2rem;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
}

    .pl-section-contenido-main .datos a:hover {
        box-shadow: rgb(76 78 100 / 22%) 0px 2px 10px 0px;
        color: var(--pl-secondary);
    }

.pl-section-contenido-footer {
    align-items: center;
    border-top: 1px solid var(--pl-border-color);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    height: 4.5rem;
}

    .pl-section-contenido-footer > div {
        color: var(--pl-font-color-footer);
    }

    .pl-section-contenido-footer img {
        width: 5rem;
    }

/*listas*/
.pl-list-icon {
    align-items: center;
    background-color: transparent;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    object-fit: cover;
    height: 2rem;
    width: 2rem;
    text-decoration: none;
}

    .pl-list-icon:hover, .pl-list-icon:focus {
        background-color: var(--pl-secondary);
        color: #fff !important;
    }

/* card dashboard*/
.pl-card-dashboard {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.pl-card-dashboard-icono {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 5rem;
    justify-content: center;
    width: 5rem;
}

    .pl-card-dashboard-icono i {
        font-size: 2rem;
    }

    .pl-card-dashboard-icono img {
        width: 3rem;
    }

.pl-card-dashboard-contenido {
    text-align: right;
}

    .pl-card-dashboard-contenido .porcentaje {
        color: var(--bs-gray);
        position: absolute;
        right: 17px;
        top: 5px;
    }

    .pl-card-dashboard-contenido p {
        font-size: 2.5rem;
        font-weight: normal;
        line-height: 4rem;
        margin: 0;
    }

    .pl-card-dashboard-contenido span {
        font-size: 1rem;
    }

/*bootstrap*/
.form-label {
    margin-bottom: 0.25rem;
}

.nav-tabs .nav-link {
    color: var(--bs-gray-500);
}

    .nav-tabs .nav-link.active {
        color: var(--pl-secondary);
        font-weight: 500;
    }

/*select2*/
.select2-container .select2-selection--single {
    height: 33px;
}

select2-container--focus:focus-visible {
    outline: #737373 auto 1px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 33px;
        padding-left: 14px;
        font-weight: 600;
        font-size: 0.8rem;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        margin-left: -10px;
        margin-top: 0px;
    }

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #737373;
    outline: none;
    padding: 8px 12px;
}

.select2-search--dropdown {
    padding: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #888;
    height: 32px;
    margin-right: 27px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--pl-secondary);
    color: white;
}

/*tooltip bootstrap*/
.tooltip-inner {
    background-color: var(--pl-secondary);
    color: #fff;
}

.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: var(--pl-secondary);
}

.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: var(--pl-secondary);
}

.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    border-bottom-color: var(--pl-secondary);
}

.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
    border-left-color: var(--pl-secondary);
}

/*ScrollBar*/
::-webkit-scrollbar {
    border-radius: 50%;
    height: 5px;
    width: 3px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.09);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--pl-secondary);
    }

/*citas*/
/*.citas {
    height: calc(100vh - 13.25rem);
    overflow: auto;
}*/
.citas > div {
    padding: 1rem;
}

.citas img {
    height: 20rem;
    object-fit: cover;
    width: 20rem;
    border-radius: 50%;
    border: 3px solid rgba(0,0,0,0.05);
}

.citas .titulo {
    background-color: var(--bs-gray-100);
    border-radius: 5px;
    border: 1px dotted var(--bs-gray-300);
    color: var(--pl-primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    padding: 0.5rem;
    text-align: center;
}

@media (max-width: 1440px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 1024px) {
    #pl-submenu {
        overflow: auto;
        position: absolute;
        top: 4.1rem;
        bottom: 0;
    }

    .citas img {
        height: 16rem;
        width: 16rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .cuenta-usuario {
        height: initial;
    }

    #pl-menu {
        bottom: 0;
        position: fixed;
        top: 4.5rem;
        z-index: 9;
    }

        #pl-menu.show {
            width: 15rem;
        }

    .image-perfil-slide-left {
        padding-right: 0rem;
        width: 100%;
    }

    .pl-section-contenido-submenu {
        max-height: calc(100vh - 14rem);
        min-height: calc(100vh - 14rem);
        overflow-y: auto;
    }

    .pl-section-contenido-submenu-con-tabs {
        max-height: calc(100vh - 16.25rem);
        min-height: calc(100vh - 16.25rem);
        overflow-y: auto;
    }

    .pl-header-usuario-logueado {
        font-size:.6rem;
    }

    .citas {
        height: initial;
        overflow: hidden;
    }

        .citas > div {
            padding: 1rem;
        }
}

@media (max-width: 576px) {
    body {
        --pl-header-logo-pladse: url('../image/PLADSE_icono.png');
    }

    table th.col-2-icon, table td.col-2-icon {
        width: 10rem;
    }

    #pl-menu.show {
        width: 100%;
    }

    .pl-header-logo {
        width: 4rem;
    }

        .pl-header-logo > #logo-pladse {
            background-image: url('../image/PLADSE_icono.png');
        }

    #pl-submenu {
        width: 100% !important;
    }

    .pl-section-contenido-footer {
        padding: 0 1rem;
    }

    .badge-notification {
        font-size: 0.6rem;
        padding: 0.45em 0.2em;
        margin-top: -0.1rem;
        margin-left: -0.5rem;
        position: absolute;
    }

    .citas img {
        height: 12rem;
        width: 12rem;
    }
}

@media screen and (max-width: 320px) {
    .pl-header-usuario-logueado {
        font-size: .5rem;
    }
}

.table-actualizado-listado {
    --bs-table-color: #000;
    --bs-table-bg: #F5AF62;
    --bs-table-border-color: #ccc2a4;
    --bs-table-striped-bg: #f2e7c3;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #e6dbb9;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #ece1be;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.pl-list-icon-success {
    align-items: center;
    background-color: #285C4D !important;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    object-fit: cover;
    height: 2rem;
    width: 2rem;
}

.textoiconblanco{
    color: white !important;
}