﻿select.select2:required + .select2-container .select2-selection--single {
    border-color: #fa5c7c !important;
}

select.select2:required:valid + .select2-container .select2-selection--single {
    border-color: #dee2e6 !important;
}

.invalid-feedback-message{
    position:absolute;
    text-align:right;
}

.g-d-btn-full-height {
    height: 100%;
}

.g-btn-full-height {
    height: 100%;
}

.btn-full-height {
    height: calc(100% - 10px);
}

.form-floating-select-multiple .select2-container {
    height: inherit !important;
}
.form-floating-date-label {
    margin-right: -10px !important;
}
/* Fix floating label with Select2 */
.form-floating > .select2-container {
    height: calc(3.5rem + 2px);
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 100% !important;
    padding: 1rem 0.75rem 0 0.75rem !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

#event-modal .select2-container .select2-selection--single {
    height: 100% !important;
    padding: 1rem 0.75rem 0 0.75rem !important;
    border: 1px solid #ced4da;
    border-radius: inherit;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2.4rem;
  padding-left: 0;
  padding-right: 0;
}

/* Optional: remove the border overlap */
.form-floating > label {
  z-index: 99999999 !important;
  margin-right: 10px;
}

.form-control-color{
    width: 100%;
}

.d-event-demande-class {
    background-color: inherit;
}

.d-flex-doc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.bt-dem-duration {
    height: calc(3.5rem + calc(var(--ct-border-width) * 2));
    position: relative;
    margin-bottom: 1.5rem !important;
}

.form-floating > .form-control:focus ~ label::after, .form-floating > .form-control:not(:placeholder-shown) ~ label::after, .form-floating > .form-control-plaintext ~ label::after, .form-floating > .form-select ~ label::after {
    background-color: transparent;
}

span.interact {
    cursor: pointer;
}

.prldr img {
    -webkit-animation: blink 1.5s infinite alternate !important;
    animation: blink 1.5s infinite alternate !important;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
    /* Rendre presque invisible */
    100% {
        opacity: 1;
    }
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: inherit !important;
}

table.dataTable tbody > tr.selected td, table.dataTable tbody > tr > .selected > td {
    border-color: inherit !important;
}

.select-info {
    display: none !important;
}

.logo-lg img {
    height:36px;
}

.logo-sm img {
    height: 36px;
}

.craTbl th:first-child,
.craTbl td:first-child,
.craTbl tfoot th:first-child,
.craTbl tfoot td:first-child {
    text-align: left;
    max-width: 100px;
}

.craTbl th:not(:first-child),
.craTbl td:not(:first-child) {
    width: 50px;
    text-align: center !important;
}

.disabled-day .fc-daygrid-day-number {
    background-color: #fa5c7c;
    color: #FFF !important;
}

.disabled-day {
    background-color: #ffc35a;
}

.enabled-day .fc-daygrid-day-number {
    background-color: #0acf97;
    color: #FFF !important;
}

.fc-validSaisie-button {
    /*background-color: red;*/
}

.filter-txt{
    width:25%;
}

/*.filter-select{
    position:absolute !important;
    width:75% !important;
}*/

.input-group-filter {
    display: -webkit-box;
}

.select2-multiple-group .select2-container {
    width: 75% !important;
    z-index: 99999999 !important;
}

.select2-container {
    width: 100% !important;
    z-index: 99999999 !important;
}

.select2-selection--multiple {
    display: flex !important;
    padding-top: 20px;
}

.select2-selection--multiple > ul {
    margin-bottom: inherit;
}


table tr {
    vertical-align: middle !important;
}

#dv-grpmt{
    display: grid;
    height: 100%;
}

.item-to-delete {
    float: right;
}

.drag-origin-shadow {
    opacity: 0.5 !important;
    border: 2px dashed gray;
    pointer-events: none; /* Empêche l'interaction avec l'ombre */
}

/* Visibilité du focus sur le select avec Bootstrap */
.select2:focus, select.form-select:focus, .form-control:focus {
    border-color: #007bff; /* Bordure bleue pour le focus */
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25); /* Ombre bleue claire */
    outline: none; /* Éviter le double contour si nécessaire */
}

.bootstrap-timepicker-widget{
    position:absolute;
}

#calendar .active {
    background-color: darkslateblue !important;
}

/*.fc .fc-timegrid-slot-label-cushion {
    padding: 0 4px;
    position: absolute;
    top: -4px;
    left: 0px;
    font-size:0.75rem;
}*/

.btn-add-menu {
    background-color: var(--ct-success);
}

.w-img{
    margin-left: 50px !important;
}

.modal-body .form-floating > label {
    /*left: inherit !important;
    right: 0 !important;*/
    z-index: 999999;
}

.form-floating > label {
    /*left: inherit !important;
    right: 0 !important;*/
    z-index: 999999;
}

.temporary-event-list, .temporary-event .fc-event-title, .temporary-event .fc-event-time {
    color: darkred;
}

.event-to-validate {
    box-shadow: 5px 5px 10px #fa5c7c !important;
}

.fc-list-event:has(.validate-event-list) td:first-child {
    background-color: #fa5c7c;
}

/*.fc-list-event:not(:has(.validate-event-list)) td:first-child {
    background-color: #0acf97;
}
*/

.fc-daygrid-event-dot {
    margin: initial !important;
}

.tcol {
    border: 1px dashed !important;
    height: 40px;
}

.tcol > .mt-2 {
    margin-top: initial !important;
    height: 100%;
}

.monthlist-floating-right{
    float:right;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    background-color: #727cf5;
    color: #fff;
}
.hiddenbt{
    display:none !important;
}
.btn-group {
    width: auto !important;
    float: right !important;
    margin-left: 10px !important;
}
.page-title-right-bt-m {
    position:relative;
    float: left;
    padding-left: 5px;
    width: 50px;
    z-index:1 !important;
}
.dataTables_filter {
    text-align: right !important;
    width: auto !important;
    float: right !important;
}
.dataTables_length {
    width: auto !important;
    float: left !important;
    margin-left: 10px !important;
}
.fc-col-header{
    width: 100% !important;
    table-layout:fixed;
}
.floating-group input {
    padding-right: 40px;
}

.floating-group span {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    cursor: pointer;
}
.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.8rem;
  padding-bottom: 0.625rem;
}
.fc-event.shift-hover:hover {
    cursor: copy;
}
.dtrg-group:hover {
    cursor: grab;
}
.dtrg-group {
    background-color: #6c757d;
}
.dtrg-group td{
    color: #fff;
}
.mnthtbl td:last-child {
    font-weight: bold !important;
    font-style: italic !important;
}
.mnthtbl thead th:last-child {
    font-weight: bold !important;
    font-style: italic !important;
}
.mnthtbl tfoot td {
    font-weight: bold !important;
    font-style: italic !important;
}
p {
    text-align: justify;
}
.drgl {
    padding-top: inherit;
    padding-bottom: inherit;
}