
.btn-fichaje-activo {
    background-color: #C5D1D1;
}

.btnFinalizarPausa {
    background: #592221;
}

    .btnFinalizarPausa:hover {
        background: #c15957;
    }

.btn-primary-tareas-iniciar {
    --bs-btn-color: #000;
    --bs-btn-bg: #5c6b70;
    --bs-btn-border-color: #5c6b70;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #6D9CA7;
    --bs-btn-hover-border-color: #6D9CA7;
    --bs-btn-focus-shadow-rgb: 169, 160, 139;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #5c6b70;
    --bs-btn-active-border-color: #5c6b70;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #d5dbdd;
    --bs-btn-disabled-border-color: #d5dbdd;
}

:root {
    --bs-primary-rgb: 2, 0, 60;
    --bs-custom-table-bg: #02003c;
    --bs-custom-gradiant-bg: #02003c;
    --bs-body-bg-rgb: 2, 0, 60;
    --bs-primary-bg-subtle: #02003c;
    --bs-nav-pills-link-active-b: #02003c;
    --bs-primary: #ddccb8;
}

.btn-primary {
    --bs-btn-bg: #02003c;
    --bs-btn-border-color: #02003c;
}

nav .nav-pills, nav .nav-link {
    --bs-nav-pills-link-active-bg: #ddccb8;
    color: #fff!important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #02003c !important;
}

.nav-principal a.nav-link:hover {
    color: #fff !important;
    opacity: 0.5;
}


.btn-secondary {
    --bs-btn-bg: #02003c;
    --bs-btn-border-color: #ddccb8;
    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: #02003c;
}


#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.active:hover {
    color: #6D9CA7 !important;
}

.nav-pills .nav-link:hover {
    color: #fff !important;
}

.nav-pills .nav-link:active {
    color: var(--bs-black) !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, .table-responsive thead:hover {
    background-image: linear-gradient(to right, var(--bs-custom-table-bg), var(--bs-custom-gradiant-bg));
    background-color: var(--bs-custom-table-bg);
    color: white;
}

.comment-box .bi {
    color: #de0c0c;
    cursor: pointer;
}

.accordion-header .accordion-button:not(.collapsed ) h4{
    color:#fff;
}

/*CSS CAJA COMENTARIOS*/
.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%;
    }

.reply-list:before, .reply-list:after {
    display: none;
}

.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;
    }

.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%;
    }

.reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

.comments-list .comment-box {
    width: 95%;
    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;
    }



.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;
}

    .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;
    }

        .comment-box .comment-head i:hover {
            color: #03658c;
        }

.comment-box .comment-name {
    color: #283035;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}

    .comment-box .comment-name a {
        color: #283035;
    }

.comment-box .comment-head span {
    float: left;
    color: #999;
    font-size: 13px;
    position: relative;
    top: 1px;
}

.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;
}

    .comment-box .comment-content textarea {
        padding: 5px;
    }

.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {
    color: #03658c;
}

    .comment-box .comment-name.by-author:after {
        content: 'autor';
        background: #03658c;
        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 COMENTARIOS*/
.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%;
    }

.reply-list:before, .reply-list:after {
    display: none;
}

.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;
    }

.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%;
    }

.reply-list .comment-avatar {
    width: 50px;
    height: 50px;
}

.comment-main-level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear: both;
}

.comments-list .comment-box {
    width: 95%;
    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;
    }

.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;
}

    .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;
    }

        .comment-box .comment-head i:hover {
            color: #03658c;
        }

.comment-box .comment-name {
    color: #283035;
    font-size: 14px;
    font-weight: 700;
    float: left;
    margin-right: 10px;
}

    .comment-box .comment-name a {
        color: #283035;
    }

.comment-box .comment-head span {
    float: left;
    color: #999;
    font-size: 13px;
    position: relative;
    top: 1px;
}

.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;
}

.comment-box .comment-name.by-author, .comment-box .comment-name.by-author a {
    color: #DE0C0C;
}

    .comment-box .comment-name.by-author:after {
        content: 'autor';
        background: #DE0C0C;
        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;
    }


/*calendario*/
.filtro-calendario-container {
    flex-direction: column;
    width: 100%;
    max-width: 200px; /* Limita el ancho de la columna de filtros */
}

.botones-filtro-calendario {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

/* Asegura que el calendario ocupe todo el ancho disponible */
#calendar {
    width: 100% !important;
    min-height: 70vh;
    margin: 0 auto;
    padding: 1em;
}

.botones-filtro-calendario button {
    width: 100%;
}

.fc-daygrid-day {
    height: auto !important; /* Ajustar la altura autom?ticamente */
}

.fc-daygrid-event {
    white-space: nowrap; /* Evita que el texto de los eventos se divida en varias l?neas */
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-daygrid-body {
    min-height: 80px; /* Ajusta la altura m?nima de cada celda */
}

.fc-daygrid-day-events {
    max-height: 100px; /* Limita la altura de la lista de eventos */
    overflow-y: auto; /* Activa el scroll si hay muchos eventos */
}

.evento-dia {
    width: 100%;
    height: 100%;
    position: absolute; /* Para que ocupe toda la celda */
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column; /* Asegura que los eventos est?n en l?nea separada */
    display: flex;
    align-items: center; /* Centra el texto verticalmente */
    justify-content: center; /* Centra el texto horizontalmente */
    color: white;
    border-radius: 5px; /* Opcional: bordes redondeados */
    text-align: center;
    cursor: pointer;
}

.fc-body .fc-day-grid-container {
    height: auto !important;
}

#eventsModalBody {
    display: flex;
    flex-direction: column;
    gap: .5em;
    max-height: 60vh;
    overflow-y: auto;
}

.evento-modal {
    display: flex;
    justify-content: space-between;
    align-content: center;
    gap: 1em;
    padding: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 5px;
}


.task-day {
    color: #fff;
}

.color-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.evento-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

span.fc-day-number {
    padding: 5px;
}

@@media (width > 768px) {
    .fc-body .fc-row {
        height: 11vh !important;
    }
}

@@media (height < 768px) {

    #calendar {
        margin: 0px auto !important;
        padding-top: 8px;
    }

    .fc-body .fc-row {
        height: 10vh !important;
    }

    .fc-toolbar.fc-header-toolbar {
        margin-bottom: 0.5em;
    }
}
