/* FULLCALENDAR */
.fc .fc-toolbar-title { font-size: 1rem; margin-bottom: 0.5rem; text-transform: uppercase; font-weight: bold;}
.fc .fc-toolbar.fc-header-toolbar { margin-bottom: 0}

.fc-daygrid-day { cursor: pointer; width: auto !important;}
.fc table{font-size:.813rem!important;}
.fc .fc-daygrid-day-frame { height:83px}
.row-mes .fc .fc-daygrid-day-frame { height: 130px}

.fc .fc-daygrid-day-bg .fc-bg-event { border: 0}
.fc .fc-cell-shaded, .fc .fc-day-disabled { background: #FFF}
.fc .fc-bg-event { opacity: 1;}
.fc-event-title { display: none;}
.fc-event-title.fc-sticky { display: none;}
.fc .fc-daygrid-event { height: 0.25rem}

.fc-button-group { margin-bottom: 1rem}
.fc-button-group .fc-icon { height: auto !important; top: -0.3rem !important}

.fc-basic-view tbody .fc-row { min-height: 2em; background-color: #FFF}
.fc-ltr .fc-basic-view .fc-day-number { text-align: center; font-size: 1rem}
.fc-scrollgrid thead { display: none}
/*.fc-row.fc-rigid .fc-content-skeleton { top: 0.2rem}*/
.fc-other-month { color: #FFF}
.fc-bg .fc-other-month { background-color: #FFF !important}
.fc-bgevent { opacity: 1}
.fc-event .fc-title { display: none}
.popover-header { display: none}
.fc-day-grid-event { height: 0.2rem}
.fc-row .fc-bg { z-index: 1000}

/*PROPIS */
.incidencies-list span { font-size: 0.875rem}
.incidencies-list span i { font-size: 0.7rem}
.db.table { border-bottom: 1px solid #dee2e6}
.tr-treballador th { font-weight: 400; font-size: 0.9rem}

/*SELECT PICKER */
.btn.dropdown-toggle.btn-light { border: 1px solid #ced4da}

/*PLANNING*/
.planning-td-treballador { width: 14rem}
.planning-td-dia-top, .planning-td-dia { font-weight: 400; width: 20px; font-size: 0.9rem; border-right: 1px solid #dee2e6 !important }
.planning-td-dia { padding-top: .40rem!important; padding-bottom: .40rem!important; }
.moure-planning { cursor: pointer}
.moure-planning:hover { opacity: 0.5;}
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,.03);}

.solicitud-planning { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; z-index: 1000}
.solicitud-planning-close { font-size: 1.2rem;
    margin-top: -0.7rem;
    font-weight: bold;
    cursor: pointer;}

/* RESUM */
.tr-resum-treballadors { cursor: pointer}
.tr-resum-treballadors:hover { font-weight: bold;}
.fc .fc-daygrid-day.fc-day-today {
    background-color: transparent!important;
}
.fc .fc-cell-shaded, .fc .fc-day-disabled{
    background-color: transparent!important;
}
.fc-day-today a{
    color: #1a2992!important;
}
.calendariGestioDiaTDFinde{
    color: red!important;
}
.fc-daygrid-day-number {
    font-size: 1rem;
}
.fc-event {
    border:0!important;
    font-size:.875rem;
    white-space:break-spaces;
    background-color: transparent!important;
    height: auto!important;
}
.custom-event{
    padding: 10px!important;
}

.custom-event-text {
    overflow: hidden;
    font-size:.813rem;
    font-weight: 300;
}

@media(max-width:1199px){
    .fc-daygrid-day-number {
        font-size: .875rem!important;
    }
}
.img-back-calendar{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;}
@media(max-width:1479px){
    .custom-event-text {
        font-size:.75rem!important;
    }
}

/* Para pantallas ≤ 991px, ocultamos solo el texto dentro del div */
@media screen and (max-width: 991px) {
    .custom-event-text {
        display: none;
    }
    .row-mes .fc .fc-daygrid-day-frame { height: 83px!important}
    .custom-event{
        padding: 5px!important;
    }
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999; /* Asegura que el modal esté delante de todos los elementos */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo oscuro semi-transparente */
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    z-index: 10000; /* Asegura que el contenido del modal esté también en frente */
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
