:root {
    --pl-primary: #C90166;
    --pl-primary-dark: #C90166;
    --pl-secondary: #009887;
    --pl-secondary-dark: #0f8174;
    --pl-tertiary: #AE1922;
    --pl-tertiary-dark: #AE1922;
    --pl-border-primary: rgba(97,34,50,0.62);
    --pl-border-secondary: rgba(16,117,106,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-sesion-logo: url('../image/PLADSE_logo_nombre_gris_rojo.png');
}

.fondo-logo {
    background-image: url(/imagen/tramatrans.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.imagen-perfil {
    border-radius: 10px;
    border: 2px solid #fff;
    position: absolute;
    right: 4rem;
    top: 3rem;
}

    .imagen-perfil > img {
        border-radius: 10px;
        display: block;
        height: 6rem;
        object-fit: cover;
        width: 6rem;
    }

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: url('../image/PLADSE_logo_nombre_blanco_dorado.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);
        }

#logo-horizontal {
    width: 30%;
}

.btn-pl-primary, .swal2-styled.swal2-confirm {
    background-color: var(--pl-primary) !important;
    color: #fff;
}

    .btn-pl-primary:hover {
        background-color: var(--pl-primary-dark) !important;
        color: #fff;
    }

    .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;
}

    .btn-pl-secondary:hover {
        background-color: var(--pl-secondary-dark) !important;
        color: #fff;
    }

    .btn-pl-secondary:focus {
        box-shadow: 0 0 0 3px var(--pl-border-secondary) !important;
    }

.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-secondary);
    border: 4px solid var(--pl-border-secondary);
}

.form-check-input:focus, .form-control:focus {
    border-color: var(--pl-border-secondary);
}

.fs-7, .form-control, .btn {
    font-size: 0.8rem;
}

.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 > #logo-pladse {
        background-image: url('../image/PLADSE_logo_nombre_blanco_rojo.png');
        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 > #logo-pladse {
        background-image: var(--pl-sesion-logo);
        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: -26rem;
    position: relative;
    transition: all .2s;
    width: 0;
    z-index: 8;
}

    #pl-submenu.show {
        left: 5px;
        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);
    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 {
        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;
    }

        .pl-section-menu a:hover, .pl-section-menu a:focus,
        .pl-section-submenu 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-main {
    max-height: calc(100vh - 9rem);
    min-height: calc(100vh - 9rem);
    overflow-y: hidden;
    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-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;
    }

/*select2*/
.select2-container .select2-selection--single {
    height: 40px;
}

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: 40px;
        padding-left: 14px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        margin-left: -10px;
        margin-top: 4px;
    }

.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: 39px;
    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: #000;
    color: #fff;
}

.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #000;
}

.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: #000;
}

.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    border-bottom-color: #000;
}

.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
    border-left-color: #000;
}

/*ScrollBar*/
::-webkit-scrollbar {
    border-radius: 50%;
    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);
    }

@media (max-width: 1440px) {
    #logo-horizontal {
        width: 50%;
    }
}

@media (max-width: 1200px) {
    .imagen-perfil {
        background-color: #fff;
        right: 3.5rem;
        top: 4rem;
    }

        .imagen-perfil > img {
            height: 5rem;
            width: 5rem;
        }
}

@media (max-width: 992px) {
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    #logo-horizontal {
        width: 72%;
    }

    #pl-submenu {
        overflow: auto;
        position: absolute;
        top: 6.5rem;
        bottom: 0;
    }

    .imagen-perfil {
        right: 2.5rem;
        top: 8rem;
    }

        .imagen-perfil > img {
            height: 4rem;
            width: 4rem;
        }

    .pl-section-contenido-submenu {
        max-height: calc(100vh - 16rem);
        min-height: calc(100vh - 16rem);
        overflow-y: auto;
    }

    .pl-header-usuario-logueado {
        background-color: #333;
        left: 0;
        margin-right: 0;
        padding: 0.5rem 1rem;
        position: fixed;
        right: 0;
        top: 4.5rem;
        z-index: 99;
    }
}

@media (max-width: 576px) {
    #logo-horizontal {
        width: 90%;
    }

    #pl-menu {
        bottom: 0;
        position: fixed;
        top: 4.5rem;
        z-index: 9;
    }

        #pl-menu.show {
            width: 100%;
        }

    .imagen-perfil {
        background-color: #fff;
        right: 17px;
        top: 100px;
    }

        .imagen-perfil > img {
            height: 3rem;
            width: 3rem;
        }

    .beca-titulo > p {
        font-size: 1.2rem;
    }

    .beca-titulo > img {
        width: 100%;
    }

    .pl-header-logo {
        width: 4rem;
    }

        .pl-header-logo > #logo-pladse {
            background-image: url('../image/PLADSE_icono.png');
        }

    #pl-submenu {
        width: 97% !important;
    }

    .badge-notification {
        font-size: 0.6rem;
        padding: 0.45em 0.2em;
        margin-top: -0.1rem;
        margin-left: -0.5rem;
        position: absolute;
    }
}
