@charset "utf-8";
/* CSS Document */
/* COLOURS AND FONTS */
/* #7B297F; /* EI Dark Purple */
/* #BB64BF; /* EI Purple */
/* #464646; /* EI Grey */
/* #000000; /* Black */
/* #FBFEF9; /* Baby Powder */
/* #E30022; /* Cadmium Red */

/* Global Styles */

body {
    font-family: Arial, sans-serif;
}

.calendar-container {
    max-width: 800px;
    margin: 5px auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

table {
    border-collapse: collapse;
    width: 20%;
    margin-bottom: 20px;
}

caption {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

th, td {
    border: 1px solid #ddd;
    padding: 5px;
    text-align: center;
}

th {
    background-color: #f0f0f0;
}

.weekend {
    background-color: #f5f5f5;
}

.bank-holiday {
  background-color: #add8e6; /* Dodger Blue */
}

.professional {
  background-color: #ffc04d;
}

.school-holiday {
  background-color: #c9fdc9;
}

.empty {
    background-color: #fff;
    border: none;
}

/* Key */
.calendar-key ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.calendar-key li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.calendar-key span {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 5px;
  border: 1px solid #ddd;
}

/* Color the key spans */
.professional-key {
  background-color: #ffc04d;
}

.bank-holiday-key {
  background-color: #ffcccc;
}

.school-holiday-key {
  background-color: #c9fdc9;
}

.weekend-key {
  background-color: #f5f5f5;
}

/* Optional: adjust layout on smaller screens */
@media (max-width: 768px) {
  .calendar-key ul {
    flex-direction: column;
    align-items: center;
  }
}