:root {
    --dark-green: #1a3c34;
    --light-green: #4a7043;
    --white: #ffffff;
}

.modal-backdrop {
  z-index: 1040 !important;
  pointer-events: none !important;
  opacity: 0.1 !important; /* adjust brightness if needed */
}
.modal.show {
  z-index: 9999 !important;
}

.main_content a{
	text-decoration: none !important;
	color: black;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

#emergencyBanner {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1055;
  background-color: #BBE179;
  color: #774015;
  padding: 1rem;
  text-align: center;
  font-size: 1.7rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#emergencyBanner.fade-out {
  opacity: 0;
  pointer-events: none;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-green);
	overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

  

.bg-dark-green {
    background-color: var(--dark-green);
}

.bg-light-green {
  background-color: #e4f0d8;
}

.monyear {
	text-decoration: none;
	font-size: 1.3rem;
	font-family: 'Playfair Display', serif;
	color: black;
	line-height: 1.3rem;
	padding-bottom: 10px;
}

.section {
    padding: 10px 0;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 400;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #d4a373;
}

.nav-link.active {
  color: #a66e39 !important;
}

.emergency-banner {
    background-color: white;
    color: red;
    text-align: center;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.text-white a {
    text-decoration: none;
    color: var(--white);
}

.text-white a:hover {
    color: var(--white);
}

@media (max-width: 767px) {
    .navbar-nav {
        background-color: var(--dark-green);
        padding: 10px;
    }
    .section {
        padding: 5px 0;
    }
}

/* Main calendar table */
table.table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background-color: white;
}

/* Table header */
.table thead th,
.table tr th {
  background-color: #1e6823; /* deep golf green */
  color: white;
  padding: 0.75rem;
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
}

/* Table cells */
.table td {
  height: 100px;
  vertical-align: top;
  padding: 0.5rem;
  background-color: #f9f9f9;
  transition: background-color 0.3s;
  position: relative;
  transition: transform 0.2s ease;
}

.calendar-nav .btn {
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.calendar-nav .btn:hover {
  background-color: #1e6823;
  color: #fff;
  border-color: #1e6823;
}

.table td:hover {
  background-color: #e4f0d8; /* light golf green on hover */
  transform: scale(1.02);
}

/* Day numbers */
.table td h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Buttons inside cells */
.table td .btn-xs {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.25rem;
}

/* Today highlight */
.table td.today {
  background-color: #d1e7dd;
  border-bottom: 4px solid #1e6823;
}

/* Empty cells */
.table td.empty {
  background-color: transparent;
}

/* Calendar header + navigation */
.calendar-header h4 {
  font-family: 'Playfair Display', serif;
  color: #1e6823;
  margin-bottom: 1rem;
}

.calendar-nav {
  margin-bottom: 1.5rem;
}

.calendar-nav a {
  margin: 0 5px;
}

.table td a.btn-success:hover {
  background-color: #1e6823;
  color: #fff;
}

.table td, .table th {
  white-space: normal;
  word-wrap: break-word;
}

.btn-site-green {
    background-color: #27642a; /* Dark green tone – adjust as needed */
    color: white;
    border-color: #27642a;
  }

 .btn-site-green:hover {
    background-color: #2e7d32;
    border-color: #2e7d32;
    color: white;
  }

@media (max-width: 576px) {
  .table td {
    min-width: 100px;
    height: 80px;
    padding: 0.25rem;
  }

  .table td h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .table td .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
  }
}

@media (max-width: 768px) {
  .btn-site-green {
  padding: 0.25rem 0.5rem;
  font-size: 0.70rem;
    }
	
	.booktee {
		font-size: 1.2rem;
		white-space: nowrap;
	}
	
	.btnlogin {
		font-size: 1.1rem;
	}
	
  .calendar-table td,
  .calendar-table th {
    font-size: 0.75rem;
    min-width: 90px;
    padding: 0.3rem;
  }
  .calendar-table td h4 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .calendar-table .btn {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
  }
  .table td {
    height: 80px;
    padding: 0.25rem;
  }

  .table td h4 {
    font-size: 0.85rem;
  }

  .table td .btn-xs {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  .calendar-table thead th:nth-child(1)::after { content: "Sun"; }
  .calendar-table thead th:nth-child(2)::after { content: "Mon"; }
  .calendar-table thead th:nth-child(3)::after { content: "Tue"; }
  .calendar-table thead th:nth-child(4)::after { content: "Wed"; }
  .calendar-table thead th:nth-child(5)::after { content: "Thu"; }
  .calendar-table thead th:nth-child(6)::after { content: "Fri"; }
  .calendar-table thead th:nth-child(7)::after { content: "Sat"; }

  .calendar-table thead th {
    color: transparent;
    position: relative;
	padding: 0.25rem !important;
    height: auto;
    line-height: 1 !important;
  }
	
  .calendar-table thead th::after {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	font-size: 0.8rem;
    line-height: 1;
  }
	
	.monyear {
		font-size: 1rem;
		padding-bottom: 5px;
	}
}