:root {
    --bs-primary-rgb: 152,178,15;
    --bs-custom-table-bg: #223900;
    --bs-custom-gradiant-bg: #98B20F;
    --bs-body-bg-rgb: 242,242,242;
    --bs-primary-bg-subtle: #98B20F;
    --bs-nav-pills-link-active-b: #98B20F;
    --bs-primary: #98B210;
   --bs-primary-hover: #7F920D;
}


.accordion {
    --bs-accordion-active-bg: #706F6F;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary) !important;
    --bs-btn-border-color: var(--bs-primary) !important;
    --bs-btn-hover-bg: var(--bs-primary-hover);
    --bs-btn-hover-border-color: var(--bs-primary-hover);
}

.nav-pills {
    --bs-nav-pills-link-active-bg: transparent;
    --bs-nav-pills-link-active-color: var(--bs-primary);
}
.btn-secondary {
    --bs-btn-bg: #223900;
    --bs-btn-border-color: #98B20F;
    opacity: 0.8;
}

.login-container {
    max-width: 350px;
    padding: 0 15px 15px;
}

.login-background {
    background-image: url("/images/login.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position-x: center;
    background-color: #98B20F;
}


#sidebar-toggler {
    position: absolute;
    left: 100%;
    bottom: 25px;
    z-index: 99;
}

#sidebar-offcanvas-toggler {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 99;
}

nav .active {
    color: black !important;
}

.nav-pills .nav-link:hover {
    color: var(--bs-primary-hover) !important;
}

.nav-pills .nav-link:active {
    color: var(--bs-primary) !important;
    background: var(--bs-primary-bg-subtle) !important;
}

#loader {
    position: absolute;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-content: center;
    color: var(--bs-primary);
    background-color: rgba(0, 0, 0, 0.5);
}

    #loader > div {
        width: 5rem;
        height: 5rem;
    }

html[data-bs-theme="dark"] .logo {
    content: url("/images/logo-dark2.png");
}

/*main:has(> .with-background) {
    background-image: url("/images/background3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.with-background {
    background-image: url("/images/background3.jpg");
     background-size: cover;
    background-position: center;
    background-position: center;
    backdrop-filter: blur(5px) brightness(70%);
    height: 100% !important;
}

.with-background-black {
    background-image: url("/images/background3Black.jpg");
     background-size: cover;
    background-position: center;
    background-position: center;
    backdrop-filter: blur(5px) brightness(70%);
    height: 100% !important;
}

    .with-background .logo {
        content: url("/images/logo-dark2.png");
    }*/

.swal-footer {
    display: flex;
    justify-content: space-around;
}

table a {
    color: var(--bs-body-color);
}

.table-group-divider {
    border-top-color: var(--bs-primary);
}


@font-face {
    font-family: 'Proxima Nova', sans-serif;
    src: url('../fonts/Proxima Nova Reg.ttf') format('truetype'); /* Ajusta la ruta y el formato según tu fuente */
}

body {
    font-family: 'Proxima Nova', sans-serif;
}

label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

    .table-grid > div {
        display: flex;
        flex-direction: column;
    }

.shadow-logo {
    box-shadow: 5px 0.5rem 0.3rem rgba(0, 0, 0, 0.50);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
}

.contentContainer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.contentContainer.show {
    max-height: 350px;
}

.contentContainer.hide {
    max-height: 0;
}

input[readonly],
input[readonly]:focus {
    background-color: #f0f0f0; 
    color: #6c757d;
}

input[readonly], label.readonly {
    pointer-events: none;
    cursor: not-allowed; /* Cambia el cursor a un signo de prohibido */
}

select[readonly] {
    pointer-events: none;
    background-color: #e9ecef; 
    cursor: not-allowed;
}

/* Bloquear interacciones y cambiar el fondo cuando el select tiene readonly */
select[readonly] + .select2-container .select2-selection {
    pointer-events: none;
    background-color: #e9ecef !important;
    cursor: not-allowed !important;
    opacity: 1; 
}

/* Asegurar que el cursor de prohibido también se aplique al contenedor de Select2 */
select[readonly] + .select2-container {
    cursor: not-allowed !important;
}

.status-title {
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(var(--bs-body-bg-rgb));
}

.color-Pendiente {
    background-color: #4bce97;
    border-color: #4bce97;
}
.color-Encurso {
    background-color: #faa53d;
    border-color: #faa53d;
}

.color-Finalizada {
    background-color: #f87462;
    border-color: #f87462;
}

.color-Expedienteencurso {
    background-color: #9f8fef;
    border-color: #9f8fef;
}
.color-ExpedienteFinalizado {
    background-color: #579dff;
    border-color: #579dff;
}

.button-container a {
    font-weight: 600;
    text-transform: uppercase;
    min-height: 60px;
    vertical-align: middle;
    display: grid;
    place-items: center;
    padding: 0 50px;
    color: white;
}

.logo-home {
    /*background-image: url("/images/home.jpg");*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0% 90%;
}

.table-responsive thead {
    /*background-image: linear-gradient(to right, var(--bs-custom-table-bg), var(--bs-custom-gradiant-bg));*/
    background-color: #706F6F;
    color: #706F6F;
}

   /* .table-responsive thead:hover, .table-responsive thead th:hover, .table-responsive thead tr:hover {
        background-color: inherit !important; /* o el color original 
        color: #706F6F;
        box-shadow: none;
        transform: none;
    } */
    .comment-box .bi {
        color: #de0c0c;
        cursor: pointer;
    }

.accordion-header .accordion-button:not(.collapsed ) h4{
    color:#fff;
}
/*CSS COMENTARIOS*/
comments-list * {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

comments-list a {
    color: var(--bs-btn-bg);
    text-decoration: none;
}

comments-list ul {
    list-style-type: none;
}

.comments-container h1 {
    font-size: 36px;
    color: #283035;
    font-weight: 400;
}

.comments-container h1 a {
    font-size: 18px;
    font-weight: 700;
}

.comments-list {
    margin-top: 30px;
    position: relative;
}

.comments-list:before {
    content: '';
    width: 2px;
    height: 100%;
    background: #c7cacb;
    position: absolute;
    left: 32px;
    top: 0;
}

.comments-list:after {
    content: '';
    position: absolute;
    background: #c7cacb;
    bottom: 0;
    left: 27px;
    width: 7px;
    height: 7px;
    border: 3px solid #dee1e3;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.comments-list .reply-list:before, .comments-list .reply-list:after {
    display: none;
}

.comments-list .reply-list li:before {
    content: '';
    width: 60px;
    height: 2px;
    background: #c7cacb;
    position: absolute;
    top: 25px;
    left: -55px;
}

.comments-list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.comments-list li:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    width: 0;
}

.comments-list .reply-list {
    padding-left: 88px;
    clear: both;
    margin-top: 15px;
}

.comments-list .comment-avatar {
    width: 65px;
    height: 65px;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    overflow: hidden;
}

.comments-list .comment-avatar img {
    width: 100%;
    height: 100%;
}

.comments-list .reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comments-list .comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

.comments-list .comment-box {
    width: 90%;
    float: right;
    position: relative;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    box-shadow: 0 1px 3px rgba(0,0,0,0.20);
}

.comments-list .comment-box:before, .comments-list .comment-box:after {
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    display: block;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    border-color: transparent #FCFCFC;
    top: 8px;
    left: -11px;
}

.comments-list .comment-box:before {
    border-width: 11px 13px 11px 0;
    border-color: transparent rgba(0,0,0,0.17);
    left: -12px;
}


.comments-list .comment-box .comment-head {
    background: #FCFCFC;
    padding: 10px 12px;
    border-bottom: 1px solid #E5E5E5;
    overflow: hidden;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

.comments-list .comment-box .comment-head i {
    float: right;
    margin-left: 14px;
    position: relative;
    top: 2px;
    color: #A6A6A6;
    cursor: pointer;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

    .comments-list .comment-box .comment-head i:hover {
        color: var(--bs-btn-bg);
    }

.comments-list .comment-box .comment-name {
    color: #283035;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}

.comments-list .comment-box .comment-name a {
    color: #283035;
}

.comments-list .comment-box .comment-head span {
    float: left;
    color: #999;
    font-size: 13px;
    position: relative;
    top: 1px;
}

.comments-list .comment-box .comment-content {
    background: #FFF;
    padding: 12px;
    font-size: 15px;
    color: #595959;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

.comments-list .comment-box .comment-name.by-author, .comments-list .comment-box .comment-name.by-author a {
    color: var(--bs-btn-bg);
}

.comments-list .comment-box .comment-name.by-author:after {
    content: 'autor';
    background: var(--bs-btn-bg);
    color: #FFF;
    font-size: 12px;
    padding: 3px 5px;
    font-weight: 700;
    margin-left: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
/*CSS CAJA COMENTARIOS*/
/*CSS COMENTARIOS*/
comments-list * {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

comments-list a {
    color: var(--bs-btn-bg);
    text-decoration: none;
}

comments-list ul {
    list-style-type: none;
}

.comments-container h1 {
    font-size: 36px;
    color: #283035;
    font-weight: 400;
}

    .comments-container h1 a {
        font-size: 18px;
        font-weight: 700;
    }

.comments-list {
    margin-top: 30px;
    position: relative;
}

.comments-list:before {
    content: '';
    width: 2px;
    height: 100%;
    background: #c7cacb;
    position: absolute;
    left: 32px;
    top: 0;
}

.comments-list:after {
    content: '';
    position: absolute;
    background: #c7cacb;
    bottom: 0;
    left: 27px;
    width: 7px;
    height: 7px;
    border: 3px solid #dee1e3;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.comments-list .reply-list:before, .comments-list .reply-list:after {
    display: none;
}

.comments-list .reply-list li:before {
    content: '';
    width: 60px;
    height: 2px;
    background: #c7cacb;
    position: absolute;
    top: 25px;
    left: -55px;
}

.comments-list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

    .comments-list li:after {
        content: '';
        display: block;
        clear: both;
        height: 0;
        width: 0;
    }

.comments-list .reply-list {
    padding-left: 88px;
    clear: both;
    margin-top: 15px;
}

.comments-list .comment-avatar {
    width: 65px;
    height: 65px;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    overflow: hidden;
}

    .comments-list .comment-avatar img {
        width: 100%;
        height: 100%;
    }

.comments-list .reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comments-list .comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

.comments-list .comment-box {
    width: 90%;
    float: right;
    position: relative;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.20);
    box-shadow: 0 1px 3px rgba(0,0,0,0.20);
}

    .comments-list .comment-box:before, .comments-list .comment-box:after {
        content: '';
        height: 0;
        width: 0;
        position: absolute;
        display: block;
        border-width: 10px 12px 10px 0;
        border-style: solid;
        border-color: transparent #FCFCFC;
        top: 8px;
        left: -11px;
    }

    .comments-list .comment-box:before {
        border-width: 11px 13px 11px 0;
        border-color: transparent rgba(0,0,0,0.17);
        left: -12px;
    }


    .comments-list .comment-box .comment-head {
        background: #FCFCFC;
        padding: 10px 12px;
        border-bottom: 1px solid #E5E5E5;
        overflow: hidden;
        -webkit-border-radius: 4px 4px 0 0;
        -moz-border-radius: 4px 4px 0 0;
        border-radius: 4px 4px 0 0;
    }

        .comments-list .comment-box .comment-head i {
            float: right;
            margin-left: 14px;
            position: relative;
            top: 2px;
            color: #A6A6A6;
            cursor: pointer;
            -webkit-transition: color 0.3s ease;
            -o-transition: color 0.3s ease;
            transition: color 0.3s ease;
        }

            .comments-list .comment-box .comment-head i:hover {
                color: var(--bs-btn-bg);
            }

    .comments-list .comment-box .comment-name {
        color: #283035;
        font-size: 14px;
        font-weight: 700;
        float: left;
        margin-right: 10px;
    }

        .comments-list .comment-box .comment-name a {
            color: #283035;
        }

    .comments-list .comment-box .comment-head span {
        float: left;
        color: #999;
        font-size: 13px;
        position: relative;
        top: 1px;
    }



    .comments-list .comment-box .comment-content {
        background: #FFF;
        padding: 12px;
        font-size: 15px;
        color: #595959;
        -webkit-border-radius: 0 0 4px 4px;
        -moz-border-radius: 0 0 4px 4px;
        border-radius: 0 0 4px 4px;
    }

    .comments-list .comment-box .comment-name.by-author, .comments-list .comment-box .comment-name.by-author a {
        color: var(--bs-btn-bg);
    }

    .comments-list .comment-box .comment-name.by-author:after {
        content: 'autor';
        background: var(--bs-btn-bg);
        color: #FFF;
        font-size: 12px;
        padding: 3px 5px;
        font-weight: 700;
        margin-left: 10px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5em; /* Ajusta el espacio entre el checkbox y la etiqueta */
}

.text-primary {
    color:#333333 !important;
}