html, body {
  height: 100%; 
  margin: 0;
}

.filter-container {
  background-color: #3D4A44;
  max-width: 260px;
  border-radius: 0px 0px 20px 0px;
  padding: 0 20px 20px 0;
  box-sizing: border-box;
  position: relative;
}


.filter-title {
  color: #f5f5dc;
  background-color: #0981A0;
  width: 100%;
  border-radius: 0px 0px 20px 0px;
  position: relative;
  padding: 20px 0px 13px 20px;
  z-index: 2;
}

.filter-title h3 {
    font-size: 1.3rem;
}

.filter-control-container {
  background-color:#31A7B7;
  width: 100%;
  height: 100%;
  border-radius: 0px 0px 20px 0px;
  box-sizing: border-box;
  margin-top: -15px;
  position: relative;
  z-index: 1;
}

.filter-header {
  font-size: 1em;
  color: #f5f5dc;
  background-color: #756648;
  width: 95%;
  cursor: pointer;
  padding: 7px 0 7px 15px;
  padding-right: 5px;
}

.filter-header p {
  margin: 0;
  padding: 0;
}

form.filter-form:first-of-type .filter-header {
  padding-top: 23px;
}

form.filter-form:last-of-type .filter-header {
  position: relative;
  border-radius: 0 0 20px 0;
  z-index: 1;
}

.filter-header:hover {
  background-color: #9e491e;
}

.filter-category {
  display: none;
}

.filter-form.open .filter-category {
  display: block;
}

.filter-scroll-wrapper {
  position: relative;
  max-height: 250px;  
  overflow-y: auto;
  padding-right: 10px;
}

.scroll-message {
  background-color: rgba(245, 245, 220, 0.7);
  color: #3d4a44;
  font-size: 0.8rem;
  padding: 5px 10px;
  display: inline-block;
  transition: opacity 0.4s ease-in-out;
  width: 95%;
  text-align: center;
  }
  
  .filter-scroll-wrapper {
  max-height: 250px; /* or any height you want */
  overflow-y: auto;
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 -4px 6px rgba(0, 0, 0, 0.3); /* Add inner shadow at the top and bottom */
  }

.filter-subtitle {
  font-size: 1em;
  color: #3d4a44;
  background-color: #998E6E;
  width: 95%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 3px 5px 25px;
}

.filter-category label {
  font-size: .9rem;
  color: #3d4a44;
  background-color: #C2B89B;
  width: 95% !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 3px 5px 25px;
  width: 100%;
  box-sizing: border-box;
 
}

.filter-category label:hover {
  color: #b66b24; 
  background-color: #f5f5dc;
  transition: 0.3s ease-in-out;
}

input[type="checkbox"] {
  appearance: none;
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  border: 2px solid #3d4a44;
  border-radius: 4px;
  background-color: #b66b24;
  cursor: pointer;
  position: relative;
}

input[type="checkbox"]:checked::after {
  content: '✔';
  font-size: 12px;
  color: #f5f5dc;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.program-note {
  background-color: #C2B89B;
  width: 95%;
  height: 100%;
  font-size: .8em;
  color: #555;
  padding: 10px 10px 10px 20px;
}

.clear-filters-btn {
  font-size: .8em !important;
  background-color: transparent;
  color: #334a44;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: inherit;
  outline: none;
  display: block;
  margin: 0 auto;       
  padding: 10px 75px;
}

.filtered-content_container {
  min-height: calc(100vh - 242px); 
}


@media (min-width: 768px) {
  .fixed-col {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: fit-content;
    z-index: 5;
  }
}

@media (max-width: 767px) {

  .filter-container {
    min-width: 100%; 
    border-radius: 0px 0px 0px 0px;``
  }
  
  .no-filter-container {
    display: flex;
    flex-direction: column;
    min-height: auto; 
    margin-bottom: 2rem; 
  }

  .layout-wrapper.fallback-active {
    flex: 1;
    min-height: auto; 
  }

  .filtered-content_container {
    min-height: auto; 
    margin-top: 20px;
  }
  .filter-scroll-wrapper {
  max-height: 250px; /* or any height you want */
 }
}

