


{
--ess-primary: #c8102e; /* Rouge ESS (à ajuster si besoin) */
--ess-primary-dark: #a00d25;
--ess-primary-darker: #8a0b1f;
--ess-dark: #222222;
--ess-light: #f7f7f7;
}


html,
body {
height: 100%;
}

body {
background-color: #f5f5f5;
}

/* Conteneur principal /
#main {
min-height: calc(100vh - 120px); / laisse la place pour la navbar + footer */
padding-bottom: 20px;
}

/* Limiter la largeur globale pour éviter l’effet “étalé” sur très grand écran */
#main.container-fluid {
max-width: 1400px;
margin: 0 auto;
}

}


@media (max-height: 800px) {
#calendar {
min-height: 400px;
}
}

@media (max-width: 768px) {
#calendar {
min-height: 350px;
padding: 5px;
}
}


.fc-week-number,
.fc-week-number-header {
display: none !important;
}


.fc-toolbar h2 {
font-size: 18px;
font-weight: 600;
}

.fc-event {
font-size: 11px;
padding: 1px 2px;
}


#filter {
margin-bottom: 10px;
}

/* Sur mobile, compacter un peu les filtres */
@media (max-width: 768px) {
#filter {
padding: 5px 10px;
}

#filter .form-group {
    margin-bottom: 5px;
    display: block;
    width: 100%;
}

}


#toggleFilters {
margin-bottom: 5px;
}


#page-schedule {
overflow-x: auto;
overflow-y: hidden;
}


#page-schedule table {
width: 100%;
border-collapse: collapse;
background-color: #ffffff;
}


#page-schedule td,
#page-schedule th {
border: 1px solid #e5e5e5;
font-size: 11px;
padding: 3px 4px;
}


#page-schedule thead th {
position: sticky;
top: 0;
z-index: 2;
background-color: #ffffff;
}


#page-schedule td.resourcename,
#page-schedule th.resourcename {
position: sticky;
left: 0;
z-index: 3;
background-color: #ffffff;
font-weight: 600;
}


@media (max-width: 768px) {
#page-schedule td,
#page-schedule th {
border-width: 0.5px;
}
}


#page-manage-resources .resourceDetails {
border-bottom: 1px solid #eeeeee;
padding: 15px 15px 10px;
margin: 0;
background-color: #ffffff;
}


@media (min-width: 992px) {
#page-manage-resources .resourceDetails {
padding: 20px 20px 15px;
}
}


#page-manage-resources .section-title {
font-weight: 600;
margin-top: 10px;
margin-bottom: 5px;
text-transform: uppercase;
font-size: 11px;
color: #999999;
}


#page-manage-resources .update {
color: #bbbbbb;
font-size: 12px;
}

#page-manage-resources .update,
#page-manage-resources .update {
color: #666666;
text-decoration: none;
}


#page-manage-resources .resource-image {
max-width: 100%;
height: auto;
border-radius: 3px;
}



@media (max-width: 768px) {
.fab-add-reservation {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 999;
border-radius: 50%;
width: 48px;
height: 48px;
padding: 0;
text-align: center;
line-height: 48px;
font-size: 22px;
}
}


#page-schedule,
#page-manage-resources,
#page-calendar {
margin-top: 10px;
}


.panel {
border-radius: 4px;
}


.form-control {
font-size: 12px;
padding: 4px 8px;
}


@media (min-width: 992px) {


  #page-schedule #reservations-left:not(.hidden){
    width: 320px !important;
    min-width: 320px;
    max-width: 360px;
    box-sizing: border-box;
  }


  #page-schedule #reservations.col-md-10{
    width: calc(100% - 320px) !important;
    box-sizing: border-box;
  }


  #page-schedule #reservations.col-md-12{
    width: 100% !important;
  }
}
