@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url("iconsch.css");
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

.base {
    color: var(--base) !important;
}

.base:hover {
    color: var(--light10) !important;
}

.bg-base {
    background-color: var(--base) !important;
}

.bg-base:hover {
    background-color: var(--light10) !important;
}

.border-base {
    border-color: var(--base) !important;
}

.light90 {
    color: var(--light90) !important;
}

.bg-light90 {
    background-color: var(--light90) !important;
}

.light80 {
    color: var(--light80) !important;
}

.bg-light80 {
    background-color: var(--light80) !important;
}

.light40 {
    color: var(--light40) !important;
}

.bg-light40 {
    background-color: var(--light40) !important;
}

.light10 {
    color: var(--light10) !important;
}

.bg-light10 {
    background-color: var(--light10) !important;
}

.border-light10 {
    border-color: var(--light10) !important;
}

.dark10 {
    color: var(--dark10) !important;
}

.dark40 {
    color: var(--dark40) !important;
}

.dark80 {
    color: var(--dark80) !important;
}

body {
    font-family: "Nunito", Helvetica;
    background: #fff;
    color: #262626;
    padding-right: 0px !important;
    scrollbar-gutter: stable !important;
}

iframe html body{
    height: 100%;
}

.customScrollY {
    overflow-y: scroll !important;
}

.customScrollY.modal-open {
    overflow-y: hidden !important;
}


a {
    color: var(--base);
    text-decoration: none;
}

    a:hover {
        color: var(--dark10);
        text-decoration: none;
    }

.cursor-pointer:hover {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", Helvetica;
}

.h2 {
    font-size: clamp(1rem, 2vw, 2rem);
}

.h3 {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.h6 {
    font-size: clamp(0.5rem, 2vw, 1rem);

}

textarea {
    resize: none;
}

/*iframe {
    aspect-ratio: 16 / 9;
    height: 100%;
    width: 100%;
}*/

.primary {
    color: var(--primarybase);
}

.secondary {
    color: var(--secondarylight-10)
}

.body-1-bold {
    /* Common/Body 1 Bold */
    font-family: Nunito;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.875rem; /* 150% */
}

.body-1 {
    font-family: Nunito;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 30px;
    text-align: right;
}

.heading-3 {
    /* Mobile/Heading 3 */
    font-family: Nunito;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem; /* 100% */
}

.heading-4 {
    /* Desktop/Heading 4 */
    font-family: Nunito;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem; /* 100% */
}

.subtitle {
    /* Common/Subtitle */
    font-family: Nunito;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.5rem; /* 120% */
}
.caption {
    /* Common/Caption */
    font-family: Nunito;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1rem; /* 114.286% */
}

.caption-bold {
    /* Common/Caption Bold */
    font-family: Nunito;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1rem; /* 114.286% */
}

.label {
    /* Common/Label */
    font-family: Nunito;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.25rem; /* 125% */
}

.label-bold {
    /* Common/Label Bold */
    font-family: Nunito;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25rem; /* 125% */
}

.label-extrabold {
    /* Common/Label Bold */
    font-family: Nunito;
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.25rem; /* 125% */
}

.tiny {
    /* Common/Tiny */
    font-family: Nunito;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.875rem; /* 116.667% */
}


.rounded-circle {
    border-radius: 50% !important;
    aspect-ratio: 1/1;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.form-control.is-invalid{
    background-image: none;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label {

    opacity: 1;
    transform: translateY(-1em) !important;
}

.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown),
.form-floating > .form-control-plaintext:focus,
.form-floating > .form-control-plaintext:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 1rem;
}
/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 10px;
    /*padding: 20px 30px;*/
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

    .pagetitle h1 {
        font-size: 24px;
        margin-bottom: 0;
        font-weight: 600;
        color: #012970;
    }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--base);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 24px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: var(--light10);
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Columns */
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px
}
/* Img Responsive */
.img-responsive {
    display: block;
    max-width: 100%;
    height: auto
}


/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}


.dropdown-menu .dropdown-item {
    padding: 10px 15px;
    /*color: white;*/
    transition: 0.3s;
    white-space: break-spaces;
}

.dropdown-menu-dark .dropdown-item{
    color:white
}

    .dropdown-menu .dropdown-item-custom {
        padding: 10px 15px;
        color: initial;
        transition: 0.3s;
        white-space: break-spaces;
        cursor: pointer;
    }
    .dropdown-menu .dropdown-item-publicacion {
        padding: 10px 15px;
        color: initial;
        transition: 0.3s;
        white-space: break-spaces;
        cursor: pointer;
        border-radius: 5px;
        margin:2px;
    }

    

        .dropdown-menu .dropdown-item-publicacion i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .dropdown-menu .dropdown-item-custom:hover,
        .dropdown-menu .dropdown-item-publicacion:hover {
            background-color: var(--light80);
        }


.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.colaborador {
    border-radius: 8px;
    border: 1px solid;
    border-color: var(--graylight-80);
    box-shadow: none;
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

    .card-title span {
        color: #899bbd;
        font-size: 14px;
        font-weight: 400;
    }

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 40%;
}

    .btn-close:focus {
        outline: 0;
        box-shadow: none;
    }

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
    background-color: inherit !important;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

.widget-button {
    height: 3rem;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

    .breadcrumb a:hover {
        color: #51678f;
    }

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #55bcef;
}

/* Horizontal list */
dl {
    margin-top: 0;
    margin-bottom: 20px
}

dd, dt {
    line-height: 1.42857143
}

dt {
    font-weight: 700
}

dd {
    margin-left: 0
}

.dl-horizontal dd:before,
.dl-horizontal dd:after {
    display: table;
    content: " ";
}

.dl-horizontal dd:after {
    clear: both;
}

@media (min-width: 768px) {
    .dl-horizontal dt {
        float: left;
        width: 160px;
        overflow: hidden;
        clear: left;
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .dl-horizontal dd {
        margin-left: 180px
    }
}

/* Pager */

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none
}

    .pager li {
        display: inline
    }

        .pager li > a, .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 15px;
        }

            .pager li > a:focus, .pager li > a:hover {
                text-decoration: none;
                background-color: #eee
            }

    .pager .next > a, .pager .next > span {
        float: right
    }

    .pager .previous > a, .pager .previous > span {
        float: left
    }

    .pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover, .pager .disabled > span {
        color: #777;
        cursor: not-allowed;
        background-color: #fff
    }

/* Form Group*/

.form-group {
    margin-bottom: 15px;
}

/* Button */
.btn-link {
    --bs-btn-font-weight: 400;
    --bs-btn-color: var(--base);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: var(--base);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: var(--base);
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-box-shadow: none;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    text-decoration: none;
}

    .btn-link:focus-visible {
        color: var(--bs-btn-color);
    }

    .btn-link:hover {
        color: var(--bs-btn-hover-color);
        text-decoration: underline;
    }
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 26px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    height: 100px;
    /* box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1); */
    background-color: var(--base);
    padding-left: px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

    .header .toggle-sidebar-btn {
        font-size: 32px;
        padding-left: 10px;
        cursor: pointer;
        color: #012970;
    }

.search-bar {
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.search-form {
    width: 100%;
}

    .search-form input {
        border: 0;
        font-size: 14px;
        color: #012970;
        border: 1px solid rgba(1, 41, 112, 0.2);
        padding: 7px 38px 7px 8px;
        border-radius: 8px;
        transition: 0.3s;
        width: 100%;
    }

        .search-form input:focus,
        .search-form input:hover {
            outline: none;
            box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
            border: 1px solid rgba(1, 41, 112, 0.3);
        }

    .search-form button {
        border: 0;
        padding: 0;
        margin-left: -30px;
        background: none;
    }

        .search-form button i {
            color: #012970;
        }

:root {
    --footer-height: 84px;
}

@media(max-width: 380px) {
    .logoAnon {
        display: none;
    }
}

.header-encuesta {
    height: var(--header-height, 100px);
}

.logoAnon {
    display: flex;
}



/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

    .header-nav .nav-profile img {
        max-height: 36px;
    }

    .header-nav .nav-profile span {
        font-size: 14px;
        font-weight: 600;
    }

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

    .header-nav .notifications .notification-item {
        display: flex;
        align-items: center;
        padding: 15px 10px;
        transition: 0.3s;
    }

        .header-nav .notifications .notification-item i {
            margin: 0 20px 0 10px;
            font-size: 24px;
        }

        .header-nav .notifications .notification-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .header-nav .notifications .notification-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .notifications .notification-item:hover {
            background-color: #f6f9ff;
        }

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

    .header-nav .messages .message-item {
        padding: 15px 10px;
        transition: 0.3s;
    }

        .header-nav .messages .message-item a {
            display: flex;
        }

        .header-nav .messages .message-item img {
            margin: 0 20px 0 10px;
            max-height: 40px;
        }

        .header-nav .messages .message-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #444444;
        }

        .header-nav .messages .message-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .messages .message-item:hover {
            background-color: #f6f9ff;
        }

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

    .header-nav .profile .dropdown-header h6 {
        font-size: 18px;
        margin-bottom: 0;
        font-weight: 600;
        color: #444444;
    }

    .header-nav .profile .dropdown-header span {
        font-size: 14px;
    }

    .header-nav .profile .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .header-nav .profile .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .header-nav .profile .dropdown-item:hover {
            background-color: #f6f9ff;
        }

.dropdown-menu-dark {
    background-color: #343a40;
}

.accordion-dark .accordion-header {
    background-color: #343a40;
}

.accordion-dark .accordion-button {
    color: #ffffff;
    background-color: #343a40;
}

.accordion-dark .accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #343a40;
}

.accordion-dark .accordion-collapse {
    background-color: #343a40;
}

.accordion-dark .accordion-body {
    color: #ffffff;
}

.accordion-dark .dropdown-item {
    color: #ffffff;
}

.accordion-button-menu::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
    transform: rotate(-90deg);
}

.accordion-button-menu:is(.collapsed):hover::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
    transform: rotate(-90deg);
}

.accordion-button-menu:not(.collapsed) {
    color: var(--base) !important;
}

.accordion-button-menu:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.accordion-button-menu:not(.collapsed):hover::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff' ><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.dropdown-item:hover,
.accordion-dropdown:hover {
    color: var(--base);
    background-color: transparent !important;
}

.accordion-dropdown {
    margin: 0 !important;
    border: 0 !important;
    width: 15vw;
    font-weight: normal !important;
}

.overlay {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1016;
}

.overlay-navbar {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1046;
}

.profile-container:hover .overlay, .profile-container:hover .overlay-navbar {
    background-color: black;
    opacity: 0.7;
    cursor: pointer;
}



.profile-container:hover .profile-pic {
    opacity: 0.7;
}

.form-floating > .form-control:placeholder-shown:not(:focus) + label {
    opacity: 1;
    transform:  translateY(-1em);
}

.form-floating > .form-control::placeholder {
    opacity: 1;
}
/*--------------------------------------------------------------
# Foto Empresa
--------------------------------------------------------------*/
.fotoEmpresa {
    display: inline-block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
    vertical-align: middle;
}

/*--------------------------------------------------------------
# Foto Login
--------------------------------------------------------------*/
.fotoLogin {
    display: inline-block;
    /*width: 100%;
    height: auto;*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
}
/*--------------------------------------------------------------
# Foto Perfil
--------------------------------------------------------------*/
.fotoPerfil {
    display: inline-block;
    width: 8vw;
    aspect-ratio: 1/1;

    border-radius: 50%;
    background-size:cover;
    background-position: center center;
    vertical-align: middle;
    /*background-repeat:no-repeat;*/
}

.fotoWidget {
    display: inline-block;
    width: 3vw;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
    vertical-align: middle;
}

.fotoAlcanceEmpleado {
    display: inline-block;
    width: 16%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
    vertical-align: middle;
}

.fotoPublicacionEmpleado {
    display: inline-block;
    width: 4em;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-size: cover;
    background-position: center center;
    vertical-align: middle;
    /*background-repeat:no-repeat;*/
}




/*--------------------------------------------------------------
# Drop Zone
--------------------------------------------------------------*/

.offcanvas {
    height: auto !important; /* Ajusta la altura automáticamente según el contenido */
    max-height: 100%; /* Evita que el offcanvas se desborde de la pantalla */
}

.h-fit-content {
    height: fit-content !important;
}

.dropzone-box {
    display: flex;
    /*padding: 1rem;*/
    border: 2px dashed var(--graylight-40);
    border-radius: 1rem;
    min-height: 8em;
    flex-wrap: wrap;

}

    .dropzone-area {
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
        /*height: 100%;*/
        cursor: pointer;
        transition: all 0.3s ease;
        /*border: 1px solid transparent;*/
        border-radius: 1rem;
    }

    .dropzone-text {
        display: flex;
        text-align: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        align-self: center;
    }


    .hidden {
        display: none;
    }
/*--------------------------------------------------------------
# Photo Spinner
--------------------------------------------------------------*/
.spinner-photo {
    display: inline-block;
    
    aspect-ratio: 1/1;
   
    vertical-align: var(--bs-spinner-vertical-align);
    border-radius: 50%;
    animation: var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);
}
@keyframes spinner-photo {
    
    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }
}

.spinner-photo {
    --bs-spinner-width: 2rem;
   /* --bs-spinner-height: 2rem;*/
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-animation-speed: 3s;
    --bs-spinner-animation-name: spinner-photo;
    background-color: currentcolor;
    opacity: 0;
}
/*--------------------------------------------------------------
# Scrollbar
--------------------------------------------------------------*/
@property --colorScroll {
    syntax: "<color>";
    inherits: true;
    initial-value: transparent;
}

.custom-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    transition: --colorScroll .5s;
}

    .custom-scroll:hover {
        --colorScroll: #aaa;
    }


    .custom-scroll::-webkit-scrollbar {
        width: 5px;
    }

    .custom-scroll-thick::-webkit-scrollbar {
        width: 8px;
    }

    .custom-scroll::-webkit-scrollbar-thumb {
        background-color: var(--colorScroll);
        border-radius: 5px;
        cursor: pointer;
        height: 30px;
    }

    .custom-scroll::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .custom-scroll::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: sticky;
    top: 0; /* Se mantiene fijo hasta que se alcance el límite */
    max-height: calc(100vh - 100px); /* Ajusta la altura disponible */
    width: 18vw;
    /*transition: all 0.3s;*/
    /*padding-top: 30px;*/
    /*overflow-y: auto;*/
    /*scrollbar-width: thin;*/
    /*scrollbar-gutter: stable;*/
    /*scrollbar-color: #aab7cf transparent;*/
    /* box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1); */
    background-color: #fff;
    transition: width 0.5s, --colorScroll .5s;
}

    /*.sidebar:hover {
        --colorScroll: #aaa;
    }


    .sidebar::-webkit-scrollbar {
        width: 5px;*/
        /*height: 8px;*/
       /* background-color: #fff;*/
    /*}

    .sidebar::-webkit-scrollbar-thumb {
        background-color: var(--colorScroll);
        border-radius: 5px;
        cursor: pointer;
        height: 30px;
    }

    .sidebar::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .sidebar::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }*/
    /* @media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 300px;
  }
} */
    @media (max-width: 1199px) {
    }

/* @media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 90px;
  }

  
} */

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 3.5rem;
}

    .sidebar-nav li {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sidebar-nav .nav-item {
        margin-bottom: 5px;
    }

    .sidebar-nav .nav-heading {
        font-size: 11px;
        text-transform: uppercase;
        color: #899bbd;
        font-weight: 600;
        margin: 10px 0 5px 15px;
    }

    .sidebar-nav .nav-link,
    .sidebar-nav .nav-link.accordion-button,
    .sidebar-nav .nav-link.accordion-button.collapsed {
        display: flex;
        align-items: center;
        font-size: 15px;
        font-weight: 600;
        color: #FFFF;
        transition: 0.3s;
        background: var(--base);
        padding: 10px 15px;
        border-radius: 0.5rem;
        height: 3rem;
    }

    .sidebar-nav .nav-link i {
        font-size: 1.5rem;
        /*margin-right: 10px;*/
        /* color: #FFFF; */
    }

    .sidebar-nav .nav-link.collapsed {
        color: var(--graybase);
        background: #fff;
    }

    .sidebar-nav .nav-link.collapsed i {
        color: var(--light40);
    }

    .sidebar-nav .nav-link.accordion-button.collapsed i {
        color: #FFFF;
    }

    .sidebar-nav .nav-link.collapsed .sub-menu-text {
        font-weight: bold;
        color: #262626;
    }

    .sidebar-nav .nav-link:hover .sub-menu-text {
        font-weight: bold;
        color: #FFF;
    }

    .sidebar-nav .nav-link:hover,
    .sidebar-nav .nav-link:hover.accordion-button.collapsed {
        color: #f6f9ff;
        background: var(--light40);
    }

    .sidebar-nav .nav-link:hover i {
        color: #FFFF;
    }

    .sidebar-nav .nav-link .bi-chevron-down {
        margin-right: 0;
        transition: transform 0.2s ease-in-out;
    }

    .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
        transform: rotate(180deg);
    }

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

    .sidebar-nav .nav-content a {
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: 600;
        color: #012970;
        padding: 10px 0 10px 40px;
        transition: 0.3s;
    }

        .sidebar-nav .nav-content a i {
            font-size: 6px;
            margin-right: 8px;
            line-height: 0;
            border-radius: 50%;
        }

        .sidebar-nav .nav-content a:hover,
        .sidebar-nav .nav-content a.active {
            color: #4154f1;
        }

            .sidebar-nav .nav-content a.active i {
                background-color: #4154f1;
                color: #f6f9ff
            }

.sidebar-nav .nav-link a.active i {
    background-color: #FFFF;
    color: #FFFF
}

.sidebar .nav-link .sub-menu-letter {
    display: none; /* Ocultar el texto de los enlaces */
}
/*--------------------------------------------------------------
# mini sidebar
---------------------------------------------------------------*/
.mini-sidebar {
    width: 80px; /* Ancho reducido para mostrar solo los iconos */
    transition: width 0.5s, --colorScroll 0.5s;
}

.mini-sidebar .nav-link {
    justify-content: center;
}

.mini-sidebar .accordion-body .nav-link {
    width: 3rem;
    border-radius: 50%;
    margin: auto;
}
    .mini-sidebar .nav-link span {
        display: none; /* Ocultar el texto de los enlaces */
    }

    .mini-sidebar .nav-link .sub-menu-letter {
        display: block; /* Ocultar el texto de los enlaces */
    }

.mini-sidebar .nav-link i {
    margin-right: 0; /* Eliminar margen derecho del icono */
}

.toggle-sidebar-btn {
    font-size: 1.5em; /* Cambia el tamaño del icono */
    color: var(--base); /* Cambia el color del icono */
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .toggle-sidebar-btn.rotated {
        transform: rotate(180deg); /* Cambia el ángulo según tus necesidades */
    }


/*--------------------------------------------------------------
# Side Menu configuraciones
--------------------------------------------------------------*/

.sideMenu {
    left: 0;
    bottom: 0;
    background-color: var(--dark40);
    color: white;
    min-height: 90vh;
    max-height: 90vh;
    width: 18vw;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto;
    scrollbar-width: none;

}

.sideMenu .nav-link {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
}

.sideMenu .nav-link.active {
    background-color: var(--base) !important;
    border-bottom: none !important;
}

.sideMenu .nav-link:hover, .sideMenu .nav-link.active:hover {
    background-color: var(--light40) !important;
}

.sideMenu .nav-item {
    margin-bottom: 5px;
}

.sideMenu hr {
    border: 1px solid white;
    border-radius: 5px;
    width: 100%;
    margin: 10px 0;
    opacity: 1;
}


/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
.alert-info {
    color: black;
}

.alert-custom {
    background-color: var(--light90);
    color: var(--base);
    border-color: var(--light90);
}

.accordion-item {
    /*margin-top: 2em;*/
    margin-bottom: 2em;
}

.accordion-button {
    padding: 0.5em;
}

.accordion-button,
.accordion-button:not(.collapsed) {
    background-color: var(--graylight-90);
    color: #212529;
    font-weight: bold;
}

.accordion-button.publicacion{
    cursor:default;
    height: 3rem
}
.accordion-button.publicacion::after{
    background-image: none;
    content: none;
}

/*----------------------------------------
# Carousel
------------------------------------------*/
@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.carousel{
    padding-bottom: 7vh;
    display: flex;
}

.carousel-indicators{
    margin-bottom: 0;
}

    .carousel-control-prev, .carousel-control-next {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
        border: 0;
        opacity: 0.9;
        /*background-color: var(--light40);*/
        background-size:cover;
        transition: opacity 0.3s ease-in-out;
        width: 5%;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon{
        z-index: 3;

    }

    .overlay-button {
        border-radius: inherit;
        width: 100%;
        height: 100%;
        background: black;
        transition: .5s ease;
        opacity: 0.3;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        text-align: center;
        z-index: 2;
    }
        .overlay-button:hover,
        .carousel-control-prev-icon:hover ~ .overlay-button,
        .carousel-control-next-icon:hover ~ .overlay-button {
            opacity: 0.5;
        }

    .carousel-control-prev {
        border-radius: 0 10px 0 0;
        margin-right: 0.5em;
    }
    .carousel-control-next {
        margin-left: 0.5em;
        border-radius: 10px 0 0 0;
    }

.carousel-item {
    height: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-caption {
    height: 50%;
    position: absolute;
    background-color: rgba(0,0,0,0.3);
    bottom: 0;
    right:0;
    left: 0;
    padding-top: 1.25rem;
    color: #fff;
    text-align: center;
    padding: 10px;
    transition: background-color 0.2s ease-in-out;
    z-index: 2;
    cursor: pointer;
}

    .carousel-caption:hover {
        background-color: rgba(0,0,0,0.6);
    }

.carousel .carousel-indicators button {
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background-color: var(--base);
}

.carousel-caption > h3 {
    text-align: left;
    font-weight: bold;
}

.carousel-caption > p {
    text-align: justify;
}

/* Fix for flickering carousel */
.carousel-inner .carousel-item {
    opacity: 0;

    left: 0;
    width: 100%;
    display: block;
    position: absolute;
}

    .carousel-inner .carousel-item:first-of-type {
        position: relative;
    }

.carousel-inner .active {
    opacity: 1;
    z-index:3;
}
/* End of fix */

/*----------------------------------------
------------------------------------------*/

.publication-footer {
    color: grey;
    font-weight: 550;
}

.curso-detail {
    font-size: 14px;
}

.nav-link {
    color: var(--bs-secondary-rgb);
}

    .nav-link:hover {
        color: var(--base);
    }

.nav-link.active {
    background: transparent;
    color: var(--base);
    font-weight: bold;
    border-bottom: 4px solid var(--base);
}


.btn-cursos,
.btn-cursos:hover,
.progress-bar {
    background-color: var(--secondarylight-10);
    font-weight: bold;
}

.btn-cursos-off,
.btn-cursos-off:hover {
    background-color: var(--graylight-80);
    font-weight: bold;
}

.btn-cursos-active {
    background-color: var(--secondarylight-10);
    font-weight: bold;
    outline: 3px solid var(--secondarylight-10);
    outline-offset: 0.3em;
}

.btn.base:disabled, .btn.base.disabled {
    color: var(--light40) !important;
    pointer-events: none;
    border-color: #00000000;
}
.widgets {
    -ms-flex: 0 0 25vw;
    flex: 0 0 25vw;

    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: none;
}

/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

    .dashboard .filter .icon {
        color: #aab7cf;
        padding-right: 20px;
        padding-bottom: 5px;
        transition: 0.3s;
        font-size: 16px;
    }

        .dashboard .filter .icon:hover,
        .dashboard .filter .icon:focus {
            color: #4154f1;
        }

    .dashboard .filter .dropdown-header {
        padding: 8px 15px;
    }

        .dashboard .filter .dropdown-header h6 {
            text-transform: uppercase;
            font-size: 14px;
            font-weight: 600;
            letter-spacing: 1px;
            color: #aab7cf;
            margin-bottom: 0;
            padding: 0;
        }

    .dashboard .filter .dropdown-item {
        padding: 8px 15px;
    }

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

    .dashboard .info-card h6 {
        font-size: 28px;
        color: #012970;
        font-weight: 700;
        margin: 0;
        padding: 0;
    }

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

    .dashboard .activity .activity-item .activite-label {
        color: #888;
        position: relative;
        flex-shrink: 0;
        flex-grow: 0;
        min-width: 64px;
    }

        .dashboard .activity .activity-item .activite-label::before {
            content: "";
            position: absolute;
            right: -11px;
            width: 4px;
            top: 0;
            bottom: 0;
            background-color: #eceefe;
        }

    .dashboard .activity .activity-item .activity-badge {
        margin-top: 3px;
        font-size: 11px;
        line-height: 0;
        border-radius: 50%;
        flex-shrink: 0;
        border: 3px solid #fff;
        flex-grow: 0;
    }

    .dashboard .activity .activity-item .activity-content {
        padding-left: 10px;
        padding-bottom: 20px;
    }

    .dashboard .activity .activity-item:first-child .activite-label::before {
        top: 5px;
    }

    .dashboard .activity .activity-item:last-child .activity-content {
        padding-bottom: 0;
    }

/* News & Updates */
.dashboard .news .post-item + .post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

    .dashboard .news h4 a {
        color: #012970;
        transition: 0.3s;
    }

        .dashboard .news h4 a:hover {
            color: #4154f1;
        }

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

    .dashboard .recent-sales .table thead {
        background: #f6f6fe;
    }

        .dashboard .recent-sales .table thead th {
            border: 0;
        }

    .dashboard .recent-sales .dataTable-top {
        padding: 0 0 10px 0;
    }

    .dashboard .recent-sales .dataTable-bottom {
        padding: 10px 0 0 0;
    }

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

    .dashboard .top-selling .table thead {
        background: #f6f6fe;
    }

        .dashboard .top-selling .table thead th {
            border: 0;
        }

    .dashboard .top-selling .table tbody td {
        vertical-align: middle;
    }

    .dashboard .top-selling img {
        border-radius: 5px;
        max-width: 60px;
    }

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

    .iconslist .icon {
        background-color: #fff;
        border-radius: 0.25rem;
        text-align: center;
        color: #012970;
        padding: 15px 0;
    }

    .iconslist i {
        margin: 0.25rem;
        font-size: 2.5rem;
    }

    .iconslist .label {
        font-family: var(--bs-font-monospace);
        display: inline-block;
        width: 100%;
        overflow: hidden;
        padding: 0.25rem;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #666;
    }

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

    .profile .profile-card .social-links a:hover {
        color: #012970;
    }

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

    .contact .info-box i {
        font-size: 38px;
        line-height: 0;
        color: #4154f1;
    }

    .contact .info-box h3 {
        font-size: 20px;
        color: #012970;
        font-weight: 700;
        margin: 20px 0 10px 0;
    }

    .contact .info-box p {
        padding: 0;
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .contact .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid #18d26e;
        border-top-color: #eee;
        animation: animate-loading 1s linear infinite;
    }

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

    .contact .php-email-form input:focus,
    .contact .php-email-form textarea:focus {
        border-color: #4154f1;
    }

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

    .contact .php-email-form button[type=submit]:hover {
        background: #5969f3;
    }

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

    .error-404 h1 {
        font-size: 180px;
        font-weight: 700;
        color: #4154f1;
        margin-bottom: 0;
        line-height: 150px;
    }

    .error-404 h2 {
        font-size: 24px;
        font-weight: 700;
        color: #012970;
        margin-bottom: 30px;
    }

    .error-404 .btn {
        background: #51678f;
        color: #fff;
        padding: 8px 30px;
    }

        .error-404 .btn:hover {
            background: #3e4f6f;
        }

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
:root {
    --footer-height: 84px;
}

@media(max-width: 575px) {
    :root {
        --footer-height: 86px;
    }
}

@media(max-width: 348px) {
    :root {
        --footer-height: 126px;
    }
}

.footer {
    transition: all 0.5s;
    height: var(--footer-height);
    background-color: #fff;
    border-top: 1px solid #E5E5E5
}


/*--------------------------------------------------------------
# Configuration
--------------------------------------------------------------*/
.custom-checkbox .settings-icon {
    margin-left: auto;
    cursor: pointer;
    color: var(--base);
}

.custom-checkbox .form-check-input {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--base);
    border-color: var(--base);
}

.custom-checkbox .form-check-label {
    color: #000;
    cursor: pointer;
}

.custom-checkbox .form-check-input:checked ~ .form-check-label {
    color: var(--base);
}

.settings-icon {
    margin-left: auto;
    cursor: pointer;
}


/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

/* Hide scrollbar for all browsers */
/*::-webkit-scrollbar {
    display: none !important;
}

* {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}*/

/*.sticky-top-custom {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;*/ /* Ensure it stays above other content */
/*}*/

.scrollable-dropdown {
    max-height: 60vh; 
    overflow-y: auto;
}

/* For WebKit-based browsers (Chrome, Safari) */
.scrollable-dropdown::-webkit-scrollbar {
    width: 5px; /* Fixed width in pixels for precise control */
}

.scrollable-dropdown::-webkit-scrollbar-track {
    background: #343a40; /* Track color */
}

.scrollable-dropdown::-webkit-scrollbar-thumb {
    background: #f1f1f1; /* Scrollbar thumb color */
    border-radius: 10px; /* Round the corners */
}

.scrollable-dropdown::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0; /* Color on hover */
}

/* For Firefox */
.scrollable-dropdown {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: #f1f1f1 #343a40; /* Scrollbar thumb and track color */
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.form-switch .form-check-input {
    font-size: 1.25em !important;
    transition: all 0.25s ease;
}

.form-check-input:checked ~ .form-check-label {
    color: var(--base) !important;
}

.form-check-input:checked {
    background-color: var(--base) !important;
    border-color: var(--base) !important;
}

.without-border,
.without-border:focus,
.without-border:active,
.without-border:hover {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/*--------------------------------------------------------------
# Toasts
--------------------------------------------------------------*/
.toast-top-right {
    top: 110px !important;
    right: 10px !important;
}

.toast-top-left {
    top: 110px !important;
    left: 10px !important;
}

.toast-top-full-width {
    top: 110px !important;
}

/*--------------------------------------------------------------
# Parametrizacion color empresa
--------------------------------------------------------------*/
.icon-sidebar-color {
    color: var(--light40);
}

.icon-base-color {
    color: var(--base);
}

.custom-baseButton {
    background-color: var(--base) !important;
    color: #FFFFFF !important;
    border-color: var(--base) !important;
}

.custom-baseButton:hover,
.custom-baseButton:active {
    background-color: var(--light10) !important;
    border-color: var(--light10) !important;
}

.custom-cancelButton {
    border: 0px solid;
    background-color: white;
    color: var(--base);
}

.custom-buttonOutline {
    background-color: white !important;
    color: var(--base) !important;
    border-color: var(--base) !important;
}

.custom-buttonOutline:hover {
    background-color: white !important;
    color: var(--dark10) !important;
    border-color: var(--dark10) !important;
}

.tabs-configuracionGeneral:hover {
    color: var(--light40);
}

.tabs-configuracionGeneral.disabled {
    color: var(--graylight-40) !important;
    cursor: not-allowed;
}

.custom-popover {
    --bs-popover-border-color: var(--base);
    --bs-popover-header-bg: var(--base);
    --bs-popover-header-color: var(--bs-white);
}

/*.form-control:focus{
    border-color: lightgray !important;
    box-shadow: 0 0 0 0.25rem lightgray !important;
}*/

.form-select:focus{
    border-color: lightgray !important;
    box-shadow: 0 0 0 0.25rem lightgray !important;
}
/*--------------------------------------------------------------
# KENDO UI
--------------------------------------------------------------*/
td[role='gridcell'] i {
    font-size: 1.25em;
}


.k-fontSize {
    font-size: 13px !important;
}

.k-fontName {
    font-size: 14px !important;
}

.k-grid-header, .k-grid-header-wrap {
    border-radius: 10px 10px 0px 0px !important;
}

th.k-header:first-child {
    border-radius: 10px 0px 0px 0px !important;
}

th.k-header:last-child {
    border-radius: 0px 10px 0px 0px !important;
}

/* Aplica sólo a .k-grid que NO contengan internamente un .k-grid-pager */
.k-grid:not(:has(.k-grid-pager)) tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.k-grid:not(:has(.k-grid-pager)) tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}


.k-header.k-grid-toolbar {
    background-color: #F5F5F5 !important;
    border-color: #E6E6E6 !important;
    border-radius: 10px 10px 0px 0px;
}

.k-grid td {
    border-left: 0 !important;
    padding-top: 0em;
    padding-bottom: 0em;
}

.k-grouping-header {
    background-color: #F5F5F5 !important;
}

.k-widget {
    border-radius: 10px;
    border-color: #CBCBCB !important;
}

.k-pager-wrap {
    border-radius: 0px 0px 10px 10px !important;
}

.k-grid .k-header .k-button,
.k-scheduler .k-header .k-button,
.k-scheduler .k-header li,
.k-scheduler .k-header .k-link,
.k-gantt > .k-header li,
.k-gantt > .k-header .k-link,
.k-gantt-toolbar .k-button,
.km-pane-wrapper .k-header .k-button {
    background-color: #F5F5F5 !important;
    border-color: transparent !important;
}

/*.k-grid tr:hover {
    background-color: #def1fb;
}*/

#treePermisosPorRama > div.k-grid-header,
#treePermisosPorRamaSegmentar > div.k-grid-header {
    display: none;
}

.k-treelist,
#treePermisosPorRama > div.k-grid-content.k-auto-scrollable > table > tbody > tr > td,
#treePermisosPorRamaSegmentar > div.k-grid-content.k-auto-scrollable > table > tbody > tr > td {
    border: 0;
}

    .k-treelist .k-alt.k-state-selected, .k-treelist .k-alt.k-state-selected > td, .k-treelist .k-state-selected, .k-treelist .k-state-selected td {
        background-color: var(--base);
    }

.k-grid tr.k-state-selected, .k-grid tr.k-state-selected > td {
    background-color: #fff !important;
    color: #444 !important;
    border-color: #e6e6e6 !important;
}

    .k-grid td.k-state-selected:hover, .k-grid tr.k-state-selected:hover td {
        background-color: var(--light90) !important;
        color: #444 !important;
    }

.k-grid tr:hover {
    background-color: var(--light90) !important;
}

.k-checkbox:checked + .k-checkbox-label:before {
    background-color: var(--base) !important;
    border-color: var(--base) !important;
    color: #fff;
    font-size: 10px !important;
}

.k-checkbox-label:before {
    border-radius: 0.25rem !important;
}

/*Editor*/
.k-editor .k-editable-area .k-content {
    border-radius: 0 0 10px 10px;
}


.k-editable-area {
    padding-bottom: 1em;
}

    .k-editable-area iframe {
        resize: vertical;
        min-height: 35vh;
    }

.k-loading-image {
    background-image: url('../../assets/images/loading_softland.gif') !important;
    background-size: 3rem 3rem;
    background-position: center !important;
}

.k-action-buttons {
    font-size: 0.8rem !important;
}

.k-grid-header th.k-header {
    border: 0px !important;
    height: 30px !important;
    font-family: 'Nunito' !important;
    font-style: normal !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    line-height: 20px !important;
    color: #969696 !important;
    background-color: #F5F5F5 !important;
}

.k-grid-header-wrap {
    border: 0px !important;
}

.k-grid-header, .k-grid-pager, .k-header-column-menu.k-state-active {
    background-color: #F5F5F5 !important;
}

.k-grid td[role="gridcell"] {
    font-weight: 500 !important;
    line-height: 1.2em !important;
    font-family: 'Nunito' !important;
}

.k-grid-norecords {
    display: flex;
    justify-content: center;
    align-items: center;
}
/*----------------------------------------------
    Banner Celebraciones
------------------------------------------------*/
.celebrado-image {
    width: 55px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 4px solid var(--base);
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--base);
    background-size: cover;
    background-position: center center;
    vertical-align: middle;
}

.banner {
    width: 100%;
    max-height: none;
    display: inline-block;
    overflow: unset;
    height: 100%;
    padding-bottom: 4vw;
    position: relative;
}


/* Home Antiguo */
.breadcrumb > li {
    display: inline-block
}

.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0"
}
/*----------------------------------------------
    Input Numerico
------------------------------------------------*/

.InputNumerico {
    position: relative;
    height: inherit;
}

    .InputNumerico input {
        float: left;
        padding: 0;
        padding-right: 30px !important;
        height: inherit !important;
        text-align: right;
    }

        .InputNumerico input:focus {
            outline: 0;
        }

.InputNumerico-nav {
    float: left;
    position: relative;
    height: 100%;
}

.InputNumerico-button {
    cursor: pointer;
    border: none;
    width: 30px;
    text-align: center;
    color: #4B4B4B;
    font-size: 20px;
    font-family: "FontAwesome" !important;
    background: transparent;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    line-height: 0;
}

    .InputNumerico-button:active {
        background: #EAEAEA;
    }

    .InputNumerico-button.InputNumerico-up {
        position: absolute;
        height: 50%;
        top: 0;
        border-radius: 0 4px 0 0;
    }

    .InputNumerico-button.InputNumerico-down {
        position: absolute;
        bottom: 0;
        height: 50%;
        border-radius: 0 0 4px 0;
    }

/*----------------------------------------------
    Custom Dropdown
------------------------------------------------*/
.custom-dropdown {
    position: relative;
}

    .custom-dropdown .k-dropdown-wrap, .custom-dropdown .k-multiselect-wrap {
        background-color: white !important;
        border: 1px solid #ccc !important;
        border-radius: 6px !important;
        min-height: 56px !important;
        box-shadow: none !important;
    }

        .custom-dropdown .k-dropdown-wrap .k-input, .custom-dropdown .k-multiselect-wrap .k-input {
            height: 56px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

    .custom-dropdown .floating-label {
        position: absolute;
        top: 0.3rem;
        left: 0.5rem;
        font-size: 0.8rem;
        color: #000;
        background: transparent;
        padding: 0 0.25rem;
        opacity: 0.65;
    }

    .custom-dropdown .k-dropdown-wrap .k-select {
        line-height: 56px;
    }

        .custom-dropdown .k-dropdown-wrap .k-select .k-icon {
            display: none; /* Oculta el ícono original */
        }

        .custom-dropdown .k-dropdown-wrap .k-select::after {
            content: "\e924";
            font-family: iconsch;
            font-weight: 900;
            display: inline-block;
            font-size: 16px;
            color: #333;
        }

    .custom-dropdown .k-multiselect-wrap li {
        margin: 21px 0px 1px 3px;
    }

    .custom-dropdown .k-multiselect {
        border-radius: 10px !important;
    }

    .custom-dropdown .k-dropdown {
        width: 100% !important;
    }

.k-dropdown-wrap.k-state-disabled, .k-picker-wrap.k-state-disabled, .date-wrap:has(.k-state-disabled) {
    background-color: #e9ecef !important;
    cursor: initial;
}


.k-dropdown:has(> .k-state-disabled) {
    cursor: initial;
}

.dropdown-menu-scrollable {
    max-height: 20vh;
    overflow-y: scroll;
}

.dropdown-toggle::after {
    display: none !important;
}

/*------------------------------------------------
    Text Dropdown
-------------------------------------------------*/
.text-dropdown {
    position: relative;
}

    .text-dropdown .k-dropdown-wrap, .text-dropdown .k-multiselect-wrap {
        background-color: white !important;
        border: none !important;
        box-shadow: none !important;
        text-decoration: underline;
        text-decoration-color: var(--base);
    }

        .text-dropdown .k-dropdown-wrap {
            padding: 0 2em 0 0;
        }

            .text-dropdown .k-dropdown-wrap .k-input {
                text-indent: .3em;
            }
                .text-dropdown .k-dropdown-wrap .k-select, .text-dropdown .k-dropdown-wrap .k-input {
                    line-height: 1.25rem !important;
                    color: var(--base) !important;
                    padding: 0;
                }

        .text-dropdown .k-dropdown-wrap .k-select .k-icon {
            display: none; /* Oculta el ícono original */
        }

        .text-dropdown .k-dropdown-wrap .k-select::after {
            content: "\e924";
            font-family: iconsch;
            font-weight: 900;
            display: inline-block;
            font-size: 16px;
            color: var(--base);
        }

    .text-dropdown .k-multiselect-wrap li {
        margin: 21px 0px 1px 3px;
    }

    .text-dropdown .k-multiselect {
        border-radius: 10px !important;
    }

/*----------------------------------------------
    bootbox
------------------------------------------------*/

.bootbox .modal-dialog {
    display: flex;
    align-items: center;
    min-height: 100vh; /* Hace que ocupe toda la pantalla */
}

.bootbox .modal-header {
    border-bottom: none;
    position: relative; /* Para posicionar el botón de cierre */
}

    .bootbox .modal-header .modal-title {
        font-size: 1.25rem;
        font-weight: bold;
        margin: 0;
    }

    .bootbox .modal-header .close {
        position: absolute;
        right: 1rem;
        top: 0.5rem;
        font-size: 1.75rem;
        color: #444444;
        opacity: 0.5;
        background: none;
        border: none;
        padding: 0;
    }

        .bootbox .modal-header .close:hover {
            opacity: 1;
        }

.bootbox .modal-footer {
    border-top: none;
}

    .bootbox .modal-footer .btn-link {
        color: #6c757d; /* Color del botón Cancelar */
    }

        .bootbox .modal-footer .btn-link:hover {
            text-decoration: none;
            color: #5a6268; /* Color del botón Cancelar al pasar el mouse */
        }

    .bootbox .modal-footer .custom-baseButton {
        background-color: #007bff; /* Color del botón Aceptar */
        color: #fff;
        border: none;
        padding: 0.375rem 0.75rem;
        border-radius: 0.25rem;
    }

        .bootbox .modal-footer .custom-baseButton:hover {
            background-color: #0056b3; /* Color del botón Aceptar al pasar el mouse */
        }

/*----------------------------------------------
    Input text with clear
------------------------------------------------*/
.clear-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #aaa;
}

    .clear-button:hover {
        color: #000;
    }

.breadcrumb > .active {
    color: #777
}


/*----------------------------------------------
    Messages
------------------------------------------------*/
.info-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/*----------------------------------------------
    Grid Commands Buttons
------------------------------------------------*/
.gridCommands {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0.5rem 0.5rem 0.5rem;
}
.gridCommands-left {
    display: flex;
    flex-grow: 1;
    align-items: center;
}

.gridCommands-right {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: end;
}

/*----------------------------------------------
    Badges
------------------------------------------------*/
.badge-yellow {
    background-color: #FEEFC8;
    color: #CBA541;
    border: 1px solid #CBA541;
    text-align: center;
    border-radius: 0.375rem;
    padding: 4px 0 4px 0;
}

.badge-red {
    background-color: #FECFCE;
    color: #FD7571;
    border: 1px solid #FD7571;
    text-align: center;
    border-radius: 0.375rem;
    padding: 4px 0 4px 0;
}

.badge-green {
    background-color: #C7EDC6;
    color: #4BC649;
    border: 1px solid #4BC649;
    text-align: center;
    border-radius: 0.375rem;
    padding: 4px 0 4px 0;
}

.badge-blue {
    background-color: #C6E9FA;
    color: #1CA5EA;
    border: 1px solid #1CA5EA;
    text-align: center;
    border-radius: 0.375rem;
    padding: 4px 0 4px 0;
}

.badge-gray {
    background-color: #E5E5E5;
    color: #969696;
    border: 1px solid #969696;
    text-align: center;
    border-radius: 0.375rem;
    padding: 4px 0 4px 0;
}


/*----------------------------------------------
    Modal
------------------------------------------------*/

.modal.modal-dark .modal-content {
    background-color: #4B4B4B;
    color: #fff;
}

.modal.modal-dark .btn-close {
    color: #fff;
}


/*--------------------------------------------
    TreeList
------------------------------------------------*/


/* =========================
   Contenedor (opcional)
   ========================= */
.tree-container {
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border: 1px solid #cbcbcb;
    border-radius: 8px;
}

/* =========================
   TreeList: base & layout
   ========================= */
.k-treelist > .k-grid-header {
    display: none; /* oculta cabecera */
}

.k-treelist .k-grid-content {
    height: inherit !important;
    padding-right: 10px !important;
    overflow: auto;
    overflow-x: auto !important; /* scroll horizontal */
}

    .k-treelist .k-grid-content table {
        table-layout: auto; /* (por defecto) ayuda a crecer natural */
        min-width: max-content; /* evita compresión */
    }

    /* “Tarjeta” por fila (pensado para 1 columna árbol) */
    .k-treelist {
        border: 0 !important;
        display:block;
    }
        .k-treelist .k-grid-content > table > tbody > tr > td {
            border: 0;
            margin-bottom: 0.25rem;
            cursor: pointer;
            display: inline-flex; /* o flex */
            align-items: center;
            gap: .5rem;
            min-width: max-content; /* el bloque crece y fuerza el ancho de la tabla */
        }

        .k-treelist,
        .k-treelist .k-grid-content > table > tbody > tr > td {
            width: 100%;
            padding: 0.5rem 0.25rem !important;
            border-radius: 5px;
            font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
            font-size: 1rem;
            font-style: normal;
            font-weight: 600;
            line-height: 1.25rem; /* 125% */
            white-space: nowrap; /* no truncar */
            overflow: visible !important;
            text-overflow: unset !important;
        }

    
/* Asegura que spans no colapsen */
.k-treelist td span {
    display: inline-block;
    min-width: max-content;
}

            .k-treelist .k-icon {
                display: inline-block;
                min-width: max-content;
            }

/* =========================
   Estados & hover
   ========================= */
.k-treelist tr.k-state-selected,
.k-treelist tr:hover {
    background-color: unset !important; /* limpiamos fondo de la fila */
}

.k-treelist td .form-check {
    visibility: hidden;
    margin-left: auto; 
}

            .k-treelist tr.k-state-selected .form-check,
            .k-treelist tr:hover .form-check {
                visibility: visible;
            }

.k-treelist td:hover {
    background-color: var(--light90);
}

body .k-treelist .k-state-selected td {
    background-color: var(--light80) !important;
    border: solid 1.5px var(--light10) !important
}

/* =========================
   Iconos expandir/colapsar
   ========================= */
.k-treelist .k-icon.k-i-collapse::before {
    content: "\e924";
    font-family: "iconsch";
    font-size: 18px;
    padding: 0px;
    margin: 0px;
}

.k-treelist .k-icon.k-i-expand::before {
    content: "\e926";
    font-family: "iconsch";
    font-size: 18px;
    padding: 0px;
    margin: 0px;
}


/*========================
   Iconos ramas
  ======================== */

.k-treelist [class^="iconsch-"] {
    color: #969696;
}



/* ===== Bootbox (renombrar / eliminar) con el mismo look ===== */
.fg-bootbox .modal-dialog {
    max-width: 520px;
}

.fg-bootbox .modal-content {
    border-radius: 18px;
    border: 0;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.fg-bootbox .modal-header {
    background: #fff;
    border-bottom: 1px solid #e6e9ee;
    padding: 16px 20px;
}

.fg-bootbox .modal-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.15;
}

.fg-bootbox .modal-body {
    padding: 16px 20px;
}

.fg-bootbox .modal-footer {
    background: #fff;
    border-top: 1px solid #e6e9ee;
    padding: 12px 20px;
}

    /* botones “sin padding” como dejaste en el otro */
    .fg-bootbox .modal-footer .btn {
        border-radius: 10px;
    }