.page-help-snippet {
  border-bottom: 0.2em solid rgb(255, 234, 123);
  padding: 0.5em;
  font-weight: 300;
  text-align: center;
  margin: 1em;
  margin-top: 0;
}
div#activityOffcanvas {
  width: 94%;
  display: block;
  margin: auto;
  border-radius: 0.5em;
}
div#helpAccordion {
  width: 80%;
  display: block;
  margin: auto;
}
button.accordion-button.collapsed {
  font-size: 0.5em;
}
#back-top {
  background: #0e76bb;
}
.board-info-holder p,
.board-info-holder li {
  font-size: 94%;
}
.accordion-button {
  background-color: #0e76bb;
  color: #ffdc74;
}

img.afterschoolAppLogo {
  margin: auto;
  display: block;
  width: 240px;
  margin-top: 4em;
}
.activitiescountbadge {
  font-size: 0.75em;
  background: #ffc107;
  padding: 0.2em;
  border-radius: 0.5em;
  color: #333;
  position: absolute;
  margin: -1em -1.5em;
}
.row.welcome-slideshow {
  margin-top: -0.6em !important;
}
.hp-google-translate.hptranslate {
  display: none;
}
ol.breadcrumb {
  display: none;
}
.fixed-top {
  z-index: 9999;
}
.modal-xl {
  width: 80%;
}
.modal-dialog.modal-dialog-centered.modal-xl {
  max-width: 90%;
}
#allSchoolsactivityModal,
schoolActivityModal {
  z-index: 9999;
}
#activityModal .school-dir-image-container {
  display: none;
}
#activityModal .modal p {
  margin: 0;
  padding-top: 0;
}
div#mapContainer button {
  border: none;
  padding: 1.4em;
  color: #405c88;
}
.container.template-pages {
  max-width: 75% !important;
}
h2 {
  font-size: 3em !important;
  padding: 0.2em;
}
p {
  padding-bottom: 0;
}
.programs {
  margin-top: -0.5em;
  padding: 0.5em;
}

.hp-google-translate {
  margin: 11em 22em;
  z-index: 1038;
}
.row.supe-schools-menu {
  position: fixed;
  width: 100%;
  z-index: 1031;
  margin-top: -7.1em;
  margin-top: -3.5em;
  left: 0;
  right: 0;
}
.welcome-title {
  text-transform: uppercase;
  color: #000;
  font-weight: bold;
  margin: 0;
}
#autocomplete-dropdown {
  position: absolute;
  border: 1px solid #ddd;
  background: #fff;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1000;
  margin: -0.4em 18.5em;
}
.autocomplete-item {
  padding: 8px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background-color: #f0f0f0;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border: 1px solid #ccc;
  z-index: 1000;
}
.close-popup {
  cursor: pointer;
  font-size: 18px;
}
/*TIPPY*/
.tippy-box.light {
  background-color: #f9f9f9;
  color: #333;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.tippy-box[data-theme~="my-theme"] {
  background-color: #4a90e2;
  color: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tippy-box[data-theme~="my-theme"] .tippy-arrow {
  color: #4a90e2;
}

.tippy-box[data-theme~="my-tomato"] {
  background-color: tomato;
  color: white;
  border-radius: 4px;
  padding: 5px;
}

.tippy-box[data-theme~="my-tomato"] .tippy-arrow {
  color: tomato;
}

.tippy-box[data-theme~="my-orange"] {
  background-color: #f59200;
  color: white;
  border-radius: 4px;
  padding: 5px;
}

.tippy-box[data-theme~="my-orange"] .tippy-arrow {
  color: #f59200;
}

.tippy-box[data-theme~="my-white"] {
  background-color: #fff;
  color: #222222;
  border-radius: 4px;
  padding: 5px;
  filter: drop-shadow(1px 1px 2px #ccc);
}

.tippy-box[data-theme~="my-white"] .tippy-arrow {
  color: #fff;
}
/*END TIPPY*/
/*
.keycontainer {
border: solid #fbead8;
display: inline-block;
padding: 2em;
border-radius: .3em;
background: #fff0e0;
margin-left: 2em;
}
*/
/*
.keycontainer {
border: solid #e9e9e9;
display: inline-block;
padding: .51em;
border-radius: .3em;
background: #f6f6f6;
margin-left: 2em;
left: 0;
text-align: center;
}
*/
.keycontainer {
  border: solid #f1f1f1;
  padding: 0.51em;
  border-radius: 0.3em;
  background: #e9e9e9;
  left: 0;
  text-align: center;
  /* width: 60%; */
  margin: auto;
  display: block;
}
.keycontainer ul {
  margin: 0;
  padding: 0;
}
.keycontainer li {
  list-style-type: none;
  /* font-weight: 400; */
  margin: 0;
  padding: 0;
  font-size: 0.85em;
}
.keycontainer h4 {
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8em;
  color: #fff;
  background: #747478;
  padding: 0.25em;
}

.school-card h3.schoolnameLabel i {
  position: absolute;
  z-index: 2;
  margin: -5px -4px;
  font-size: 1em;
  right: 0;
  top: 0;
  background: #ffffff;
  border-radius: 1em;
  width: 1.95em;
  display: none;
}
h3.schoolnameLabel i {
  position: absolute;
  z-index: 2;
  margin: -16px -13px;
  /*filter: drop-shadow(0px -1px 1px black);*/
  font-size: 1em;
  right: 0;
  top: 0;
  /*background: #ffffff;*/
  border-radius: 1em;
}
/* div#school-list {
  margin: 0em;
  padding: 0.2em;
} */
div#school-list {
  margin: 0em;
  padding: 0.2em;
  width: 84%;
  margin: auto;
}
.image-card {
  background: #ff7907;
  border-radius: 0.2em;
  height: 400px;
  margin: 0.5em 0em;
  position: relative;
  cursor: pointer;
}

div#schoolcard {
  background: url(/supeschools/img/24/cards/school.jpg);
  background-size: cover;
}
div#activitycard {
  background: url(/supeschools/img/24/cards/activities.jpg);
  background-size: cover;
}
div#boardcard {
  background: url(/supeschools/img/24/cards/board.jpg);
  background-size: cover;
}
div#mapcard {
  background: url(/supeschools/img/24/cards/map.jpg);
  background-size: cover;
  display: none;
}
div#clubcard {
  background: url(/img/23/july/60.jpg);
  background-size: cover;
}

.leaf-school-icon i {
  font-size: 20px;
  color: #0059dd;
}
.leaf-activity-icon i {
  font-size: 20px;
  color: #dc3545;
}
/*
.image-card h3 {
font-size: 1.5em;
color: #ffffff;
font-weight: 800;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
*/
/*
.image-card h3 {
font-size: 1.2em;
color: #ffffff;
background: #ff0019;
color: #333;
padding: .4em 2em;
border-radius: .5em;
color: #FFF;
z-index: 2;
text-transform: uppercase;
transition: .3s;
}
*/
.image-card h3 {
  font-size: 1.2em;
  color: #ffffff;
  /* font-weight: 800; */
  /*
background: #ff0019;
background: rgb(255 255 255 / 5%);
*/
  /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); */
  color: #333;
  padding: 0.4em 2em;
  border-radius: 0em;
  color: #fff;
  color: #ffd967;
  z-index: 2;
  text-transform: uppercase;
  transition: 0.3s;
  /*width: 80%;*/
  text-align: center;
  font-weight: bold;
}
.image-card h3:hover {
  transform: scale(1.1);
}
.image-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 55px;
  background-color: #f3f3f3;
  position: relative;
  text-align: center;
  /*border-radius: 8px;*/
  transition: 0.9s;
}
#helpcard {
  margin: 0.85em 0;
}
.image-card:hover {
  filter: grayscale(1);
}

div#bio-full-3 ul {
  margin-left: 0em;
  display: inline-block;
}

/* Read More Button Styling */
.read-more-button {
  padding: 2px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0.5em 0;
}

.read-more-button:hover {
  background-color: #0056b3;
}

.read-more-button:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.collapse-button {
  padding: 2px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #6c757d;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0.5em 0;
}

.collapse-button:hover {
  background-color: #545b62;
}

.collapse-button:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/*
.image-card .scrolled {
background: #ff7907;
border-radius: .2em;
height: 400px;
margin: .5em 0em;
position: relative;
}
*/
.image-card.schoolcard.scrolled,
.image-card.scrolled {
  height: 4em;
  padding-top: 0.7em;
}
.supe-schools-menu.lock {
  position: fixed;
  width: 100%;
  z-index: 1031;
  margin-top: 1.2em;
  margin-top: 4.9em;
  left: 0;
  right: 0;
}
button.btn.btn-primary.open-modal-grid.board-district-btn {
  color: #ffdf31;
}
.card-overlay {
  background: hsl(216deg 25% 33% / 50%);
  background: #f52400;
  background: #0752c1;
  /* background: #f59200; */
  /*background: #9f0010;*/
  position: absolute;
  width: 100%;
  display: block;
  top: 0;
  bottom: 0;
  z-index: 1;
  /*filter: drop-shadow(2px 4px 6px black);*/
  filter: drop-shadow(2px -2px 2px black);
}
.image-card.schoolcard .card-overlay,
.image-card .card-overlay {
  transition: 0.3s;
}
.hp-translate-margin-on-scroll {
  margin: 3.8% 9%;
  margin: 10.8% 9%;
  margin: 7.8% 9%;
}
.image-card.schoolcard.scrolled .card-overlay,
.image-card.scrolled .card-overlay {
  background: hsl(216deg 57.19% 21.63% / 90%);
  background: #ff0019;
  background: #9f0010;
  background: #f59200;
  background: #072a5e;
  /* background: #637bff; */
  /*background: linear-gradient(135deg, #ffc107 0%, #ff5733 100%);*/
}

.supeSchoolListContainer.lock,
.supeSchoolListContainer.lock,
.BoardZonesContainer.lock,
.BoardZonesContainer.lock,
.activityContainer.lock,
.activityContainer.lock {
  margin-top: 20em !important;
}
.hp-translate-margin-on-scroll {
  margin: 7.8% 9% !important;
  display: none;
}
.goog-te-gadget-simple {
  margin-top: 4em;
}
button.clear-results {
  background: #ffffff;
  border-radius: 2em;
  text-align: center;
  display: block;
  text-decoration: none;
  width: 12em;
  margin: 3.5em auto;
  border: solid #ff0019;
  color: #ff0019;
  transition: 0.5s;
}
button.clear-results:hover {
  background: #ff0019;
  color: #fff;
}
nav.breadcrumbs {
  display: none;
}
.welcome-title,
.welcome-p {
  text-align: center;
  font-size: 2.5em;
}

.welcome-p {
  font-size: 1em;
  color: #333;
}

.colorO {
  color: #f57a33;
}

.list1 ul li,
.list2 ul li {
  font-family: inherit;
  line-height: 1.5em;
  margin-bottom: 0.9rem;
  text-rendering: optimizeLegibility;
}

.list1 ul li {
  font-weight: bold;
  font-size: 1.5rem;
  list-style: none;
  text-align: center;
}

.list2 ul li {
  font-weight: normal;
  font-size: 1rem;
}

p {
  font-weight: normal;
  font-size: 1em;
  margin: 0;
  margin-bottom: 0.9rem;
  text-rendering: optimizeLegibility;
  /*padding-left: 1.5em;*/
  padding-top: 1em;
}

.welcome-banner {
  width: 96.7%;
  margin: 1em 1em;
}

.providing {
  color: #333;
  text-align: center;
  font-size: 1.2em;
  margin-top: -0.7em;
  padding: 0.5em;
}

ul.panelList {
  float: left;
  margin-right: 30px;
}

.template-page-style ol li,
.template-page-style ul li {
  font-family: inherit;
  font-weight: normal;
  font-size: 0.87rem;
  line-height: 1.1;
  margin-bottom: 0.9rem;
  text-rendering: optimizeLegibility;
  text-align: left;
}

.template-page-style h3 {
  background-color: #2e5291;
  background-color: rgb(104, 99, 99);
  color: #fff;
  display: block;
  font-size: 1em;
  padding: 0.4em;
  text-align: center;
  text-transform: uppercase;
}

i.fa.fa-circle {
  font-size: 0.5em;
  color: red;
  margin: -0.8em 1em;
  display: inline-block;
}
#resizer {
  max-width: 100%;
  width: 100%;
}
.breadcrumbs {
  border: none;
}

/*BOARD ZONES*/
.board-member-btn {
  transition: transform 0.3s ease, filter 0.3s ease;
  padding-bottom: 4em;
}

.board-member-btn:hover {
  transform: scale(1.05);
  filter: grayscale(100%);
}

.board-member-bg {
  /*background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(200, 200, 200, 1) 100%);*/
  position: relative;
  /*height: 150px;*/
  width: 94%;
}

.board-member-img {
  position: relative;
  z-index: 1;
  background: #0d6efd;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, #163c72 100%);
  margin-top: -25px;
  width: 300px;
  height: auto;
  border-radius: 4%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: solid #94bfff 0.3em;
  cursor: pointer;
}
.board-info-holder {
  display: block;
  /*margin-top: 13em;*/
}
/*	END BOARD ZONES*/

@media (max-width: 1830px) {
  /*
.board-info-holder {
margin-top: 10em;
}
*/
}
@media (max-width: 1600px) {
  div#school-list {
    margin: 0em;
    padding: 0.2em;
    width: 98% !important;
    margin: auto;
  }
}

@media (max-width: 1500px) {
  div#school-list {
    width: 88%;
  }

  .modal {
    --bs-modal-width: 100% !important;
  }
}
@media (max-width: 1400px) {
  /* .school-actions .btn-primary,
  .school-actions .btn-secondary {
    font-size: .9em;
  } */

  .container.template-pages {
    max-width: 96% !important;
  }
}

@media (max-width: 1280px) {
  .supe-schools-menu.lock {
    position: fixed;
    width: 100%;
    z-index: 1028;
    margin-top: -7em;
    left: 0;
    right: 0;
  }

  .center-text {
    text-align: left !important;
  }
  .panel ul li,
  .panel1 ul li,
  .panel2 ul li {
    text-align: left;
  }
  .csa {
    margin-left: 1em !important;
  }
  .welcome-center-girl {
    display: none;
  }
}
span.chair-title {
  display: none;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.9em;
  background-color: red;
  padding: 0.1em 0.5em;
  border-radius: 0.9em;
  margin: -6em 0.5em;
  z-index: 2;
  left: 0;
  right: 0;
}
.board-img-wrapper {
  display: inline-block;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow for the Polaroid effect */
  text-align: center;
  transition: transform 0.3s ease;
}

.board-img {
  width: 150px;
  height: 150px;
  border-radius: 10%;
  object-fit: cover;
}

.board-img-wrapper:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
}

.board-img-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  font-style: italic;
}

@media (max-width: 1150px) {
  .row.supe-schools-menu {
    z-index: 1031;
    margin-top: -12.4em;
    margin-top: -8.7em;
  }

  .supe-schools-menu.lock {
    margin-top: -9.2em;
    z-index: 9999;
  }
  div#school-list {
    width: 90%;
  }
}
@media (max-width: 900px) {
  .template-page-style h3 {
    text-align: left;
    padding-left: 0.5em;
  }
}
@media (max-width: 780px) {
  .supe-schools-menu.lock {
    margin-top: -10em;
    /*z-index: 999;*/
  }
  .hp-google-translate {
    margin: 15em 0em;
    z-index: 1038;
  }
}
@media (max-width: 730px) {
  .row.supe-schools-menu {
    z-index: 1031;
    margin-top: -12.6em;
    margin-top: -6.8em;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1em;
  }
  .welcome-center-title h1 {
    color: #fff;
    margin-top: 4em;
    font-size: 1.5em;
    text-shadow: 2px 2px 0px rgb(0 0 0 / 40%);
  }
  .welcome-center-title p {
    font-size: 1em;
    color: #2e5291;
    background: #fbd04e;
    width: 90%;
    text-align: center;
    margin: auto;
  }
  .template-page-style h3 {
    width: 100%;
  }
  .supe-schools-menu.lock {
    margin-top: -10em;
  }
  .image-card {
    margin: 0em 0em;
  }
  .row.supe-schools-menu {
    z-index: 1031;
    margin-top: -10em;
    margin-top: -7em;
  }
  .image-card h3 {
    font-size: 0.8em;
  }
}

.face-hp-boxes {
  height: 15em;
  position: relative;
  margin-bottom: 1.5em;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 0.2em;
  overflow: hidden;
  margin: 0.5em;
}

.container.template-pages h2 {
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 2.5em;
  z-index: 1;
  display: none;
}

.overlay {
  background: rgb(51 51 51 / 20%);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 97%;
}
.overlay2 {
  background: #1b1c53;
  /* background: #0d6efd; */
  /* background: #003179; */
  top: 0;
  bottom: 0;
  display: inline;
  width: 100%;
  height: 100%;
  transition: 0.2s;
}
.face-hp-boxes h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  font-size: 2.2em;
  padding: 1em;
  position: absolute;
  display: block;
  margin: 1.7em auto;
  text-align: center;
  top: 0;
  bottom: 0;
  text-transform: uppercase;
  left: 0;
  right: 0;
  text-shadow: 4px 2px 0px rgb(0 0 0 / 80%);
  z-index: 2;
}

.position-relative {
  position: relative;
}
.row.school-container {
  border-bottom: solid #f1f1f1;
}
.row.schools-container p {
  font-size: 0.95em;
  margin: 0;
  text-rendering: optimizeLegibility;
  line-height: 2em;
  color: #fff;
}
.schools-container i {
  color: #ff9800;
  padding: 0.5em;
  border-radius: 2em;
}
.schools-container a {
  text-decoration: none;
  font-weight: bold;
  color: #ffffff;
}
.schools-container .data {
  padding: 0em 1em;
  margin-top: 0em;
}

p.school-name-label {
  color: #fff;
  text-decoration: none;
  font-weight: 400 !important;
  margin-top: 0 !important;
  text-align: center;
  position: absolute;
  top: 0;
  padding: 0.02em !important;
  background: #132136;
  width: 100%;
}

/* .schools-container .data {
} */

div#az-filter button {
  background: #06426e;
  border: none;
  margin: 0.2em 0.15em;
  color: #fff;
  font-size: 1em;
  padding: 0.2em 0.7em;
  border-radius: 0.2em;
  transition: 0.2s;
}
div#az-filter button:hover {
  color: gold;
}
button#load-more {
  background: #ffffff;
  border-radius: 2em;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: all 0.3s;
  width: 12em;
  margin: 3.5em auto;
  border: solid #517ec3;
  color: #517ec3;
  transition: 0.5s;
}
button#load-more:hover {
  background: #517ec3;
  color: gold;
}
.nth-school-color:nth-child(even) {
  background: #f3f3f3;
}
.hp-new-section a.button#load-more :hover {
  transform: scale(1.02);
}
div#az-filter {
  margin-bottom: 1em;
  display: none;
}
label {
  display: inline-block;
  text-transform: uppercase;
}
hr.schools-divider {
  border-bottom: solid #a3a3a3 0.1em;
  border-top: solid 0.2em #a3a3a3;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}
.label-edge {
  position: absolute;
  background: #709dff;
  height: 0.3em;
  width: 100%;
  margin: -0.2em 0em;
  border-radius: 9em;
}
/*
input#search-query {
width: 100%;
margin: .5em 0;
border: solid #efefef;
padding: 1em;
border-radius: .7em;
background: #e9e9e9;
font-size: 1.5em;
}
*/
input#search-query {
  width: 70%;
  margin: 0.5em auto;
  border: solid #a6cef4 0.25em;
  padding: 0.5em;
  border-radius: 0.3em;
  color: #444444;
  background: #ffffff;
  background: #ebebeb;
  font-size: 1.2em;
  display: block;
}
button.school-directory-search-btn {
  width: 100%;
  bottom: 0;
  background: #0d6efd;
  border: #0d6efd solid;
  color: #fff;
  margin: 0 0.5em 0.5em 0;
  border-radius: 0.2em;
  transition: 0.2s;
  text-transform: uppercase;
  padding: 0.5em;
  display: none;
}

.school-directory-search-btn:hover {
  background: #333;
  border: solid #333;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid #d5d5d5;
  border-radius: 3px;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  margin: 0 0.2em;
}

input[type="checkbox"]:checked {
  background-color: #f78e00;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M1 5l2 2 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
div#school-list img {
  transition: 0.2s;
}
div#school-list img:hover {
  transform: scale(1.1);
}
.search-form {
  /* border: solid #e7e7e7; */
  padding: 1em;
  /* background: #ffffff; */
}
.school-dir-image-container:hover {
  /*background-size: 110% !important; */
  filter: grayscale();
  /* Scale the background image to 110% on hover */
}
p.school-name-label {
  transition: 0.2s;
}
p.school-name-label:hover {
  background: #0d6efd;
}
.sub-menuD a i {
  margin-right: 10px;
  color: #f67627;
}

.modal p {
  margin: 0.5em;
  padding-top: 0;
}

/* div#BoardZonesContainer {
  margin: 0 0;
  padding: 0;
} */

div#BoardZonesContainer,
#clubContainer {
  padding-top: 3em !important;
  margin: 0 auto;
  padding: 0;
}
/* div#BoardZonesContainer h3 {
  
background: #df0000;
color: #FFF;
display: inline-block;
padding: .25em 2em;

} */

/* #schoolListContainer, */
#BoardZonesContainer,
#activityContainer,
#clubContainer {
  display: none;
}

#search-query::placeholder {
  color: #ccc; /* Change to any color you prefer */
}

#search-query:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #ccc;
}

#search-query::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #ccc;
}

.board-district-btn {
  width: 96%;
  text-transform: uppercase;
}
.schoolActivityModal {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schoolActivityModal-content {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 800px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.schoolActivityModal-header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 0px;
  display: flex;
  justify-content: space-between;
}

.schoolActivityModal-header h5 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.schoolActivityModal-body {
  padding: 2em;
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
}

.schoolActivityModal-footer {
  border-top: 1px solid #ddd;
  padding-top: 15px;
  display: flex;
  justify-content: flex-end;
}

/* Buttons */
/* .schoolActivityModal .btn-close-modal {
  cursor: pointer;
  font-size: 20px;
  top: 15px;
  position: absolute;
  right: 0;
  border-radius: 2em;
  border: solid;
  background: red;
  background: #6868a3;
  color: #ffffff;
  margin: -2em -1em;
  width: 1.9em;
  height: 1.9em;
} */
.schoolActivityModal .btn-close-modal {
  cursor: pointer;
  font-size: 20px;
  top: 15px;
  position: absolute;
  right: 0;
  border-radius: 2em;
  border: solid;
  background: red;
  background: #6868a3;
  color: #ffffff;
  margin: -2em auto;
  width: 1.9em;
  height: 1.9em;
  display: block;
  left: 0;
  border: solid #fff 0.2em;
  filter: drop-shadow(1px 2px 2px black);
  transition: 0.2s;
}
.schoolActivityModal .btn-primary {
  background-color: #007bff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.schoolActivityModal .btn-primary:hover {
  background-color: #0056b3;
}

/* Custom Scrollbar */
.schoolActivityModal-body::-webkit-scrollbar {
  width: 6px;
}
.schoolActivityModal-body::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}
.schoolActivityModal-body::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

#districtContainer button.btn-close {
  position: absolute;
  right: 0;
  border-radius: 2em;
  border: solid;
  background: red;
  color: #ffffff;
  margin: -2em -1em;
}
#districtContainer .btn-close {
  box-sizing: content-box;
  width: 2em;
  height: 2em;
  padding: 0.25em 0.25em;
  color: #000; /* Customize color as needed */
  background: transparent; /* Remove the background image */
  border: 0;
  border-radius: 0.375rem;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#districtContainer .btn-close i {
  font-size: 1.25em; /* Adjust size of the icon */
  color: inherit; /* Inherit the color from the button */
}

/* School List */
.school-list ul {
  list-style: none;
  padding: 0;
}

.school-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.school-list li:last-child {
  border-bottom: none;
}

.schoolActivityModal-content {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  width: 95%; /* Increase size by 30% */
  max-width: 1100px; /* Increased width */
  padding: 20px;
  position: relative;
  transition: all 0.3s ease-in-out;
  /*font-family: Arial, sans-serif;*/
}
.schoolActivityModal-body .bm-pic {
  float: left;
  margin: 0 1em 1em 0;
  background: #2828b1;
  background: radial-gradient(
    circle,
    rgba(2, 0, 36, 1) 0%,
    rgba(103, 143, 255, 1) 0%,
    rgba(103, 143, 255, 1) 14%,
    rgba(32, 43, 101, 1) 100%
  );
  position: relative;
  width: 15.6em;
  height: 20em;
  z-index: 1;
  transition: 0.2s;
}
.schoolsindistrictLabel {
  text-align: center;
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 1.6em;
  margin-bottom: 0.25em;
}
/* School List Columns */
.school-list,
.board-view-school-list {
  display: flex;
  justify-content: space-between;
  margin-top: 0px;
  background: #f5f5f5;
}
.school-list-column,
.board-view-school-list-column {
  flex: 1;
  margin: 0;
  padding: 0 0.5em;
}

.school-list-column h6,
.board-view-school-list-column h6 {
  margin-bottom: 10px;
  font-size: 18px;
  text-decoration: underline;
}

.school-list-column ul,
.board-view-school-list-column ul {
  list-style-type: none;
  padding-left: 0;
}

.school-list-column li,
.board-view-school-list-column li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 0.25em;
}

.school-list-column li a,
.board-view-school-list-column li a {
  color: #6f7070;
  text-decoration: none;
  border: none;
  padding: 0;
  margin: 0;
}

.school-list-column li a:hover,
.board-view-school-list-column li a:hover {
  text-decoration: underline;
}

/* Dynamic Header */
.school-district-header {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.school-list-column li,
.board-view-school-list-column li {
  font-size: 14px;
  padding: 0;
}
.school-list-column h6,
.board-view-school-list-column h6 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  background-color: #2d465d;
  color: white;
  padding: 5px 0px !important;
  border-radius: 8px;
  width: 100%;
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 0.2em;
  text-decoration: none;
  border-radius: 0;
}
.school-row-container {
  border: solid #f1f1f1 0.25em;
  border-radius: 0.5em;
  padding: 0.5em;
  padding-top: 0.2em;
  margin-bottom: 1em;
}
.viewAct button,
.viewZone button {
  font-weight: bold;
  font-size: 1em;
  background: #5170a1;
  border: solid #a1a1a1;
  color: #fff;
  padding: 0.4em 2em;
  text-align: center;
  border: none;
  margin-bottom: 0.5em;
  width: 90%;
  border-radius: 0.5em;
  margin-top: 1.65em;
  transition: 0.3s;
  height: 6em;
}
.viewAct button:hover,
.viewZone button:hover {
  background: #484848;
}
/* LOAD SCHOOLS */
.school-card {
  background: #f9f9f9;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 4px 50px rgba(1, 1, 1, 0.2);
  padding: 8px;
  position: relative;
  margin: 0.5em 1.5em;
  margin: 1em 1em;
  border: #eeeeee 0.3em solid;
}
.school-card {
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  background: #394751;
  overflow: hidden;
  transition: transform 0.2s;
}

.school-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}

/*
.school-card-header {
background: #0c254b;
padding: 7px;
text-align: center;
border-bottom: 2px solid #cfcfcf;
font-size: 1.7em;
}
*/
/* .school-card-header {
background: #0a2a59;
background: #212529;
padding: 7px;
text-align: center;
font-size: 1.4em;
position: relative;
} */
.school-card-header {
  padding: 7px;
  text-align: center;
  font-size: 1.4em;
  position: relative;
}

/* .schoolnameLabel {
color: #fff;
font-size: .8em;
font-weight: bold;
margin: 0;
text-align: center;
width: 100%;
padding: 0 1.55em;
} */
/* .schoolnameLabel {
color: #ffffff;
font-size: .8em;
font-weight: bold;
margin: 0;
background: #050d3b;
text-align: left;
width: 100%;
padding: .2em .5em;
} */
/* .schoolnameLabel {
color: #080808;
font-size: .8em;
font-weight: bold;
margin: 0;
text-align: left;
width: 100%;
padding: 0;
border-bottom: solid #141414 .2em;
} */

.schoolnameLabel {
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  margin: 0;
  text-align: left;
  width: 100%;
  /* background: #ffffff; */
  padding: 0em 0.2em 0 0.2em;
}
.school-dir-image-container {
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: top;
  margin-bottom: 0.5px;
  border-radius: 0 0 0.4em 0.4em;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0.4em;
  border-bottom-left-radius: 0.4em;
  display: none;
}
.school-details {
  color: #333;
  padding: 2px 0;
  line-height: 1.6;
}
.school-details p {
  padding-top: 0;
}
.school-actions {
  margin-top: 0.5px;
  text-align: right;
}

.school-actions .btn-primary,
.school-actions .btn-secondary {
  background-color: #3498db;
  background-color: #587fc5;
  /* background-color: #118e54; */
  border: none;
  display: block;
  margin: auto;
  width: 98%;
  margin-top: 0.25em;
  transition: background-color 0.3s ease;
}

.school-actions .btn-primary:hover,
.get-directions .btn-primary:hover {
  background-color: #5e7f96;
}

.school-actions .btn-secondary {
  background-color: #2ecc71;
  background-color: #009740;
  background-color: #cacaca;
  /*    margin-top: 0.5em;*/
}

.school-actions .btn-secondary:hover {
  background-color: #27ae60;
}

.get-directions {
  text-align: center;
  margin-top: 15px;
}

.get-directions .btn-primary {
  background-color: #009688;
  color: white;
  padding: 4px 20px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  width: 98%;
  display: block;
  margin: auto;
  transition: background-color 0.3s ease;
}

.get-directions .fa-map-location-dot {
  margin-right: 8px;
}
i.fa-solid.fa-map-location-dot {
  color: #ffc107;
}
i.fa-solid.fa-up-right-from-square {
  color: #ffc107;
}

@media (max-width: 768px) {
  .school-card {
    margin-bottom: 20px;
  }
}
/* END LOAD SCHOOLS */

/*
.school-list-column.pre-k h6, .board-view-school-list-column.pre-k h6 {
background-color: #ff6f61;
}

.school-list-column.elementary h6, .board-view-school-list-column.elementary h6 {
background-color: #28a745;
}

.school-list-column.middle h6, .board-view-school-list-column.middle h6 {
background-color: #ffc107;
}

.school-list-column.high h6, .board-view-school-list-column.high h6 {
background-color: #17a2b8;
}
*/

.color-legend span {
  margin-right: 15px;
}

.color-legend i {
  margin-right: 5px;
}

.school-list-column i.fa-star,
.board-view-school-list-column i.fa-star {
  margin-left: 5px;
}

.schoolActivityModal-body p {
  padding: 0 0 0 0;
}
.school-district-header {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  position: absolute;
  margin: -1em auto;
  left: 0;
  right: 0;
  text-align: center;
}
/* li i.fa.fa-star {
  color: red;
  display: none;
} */

button.clear-results {
  background: #ffffff;
  border-radius: 2em;
  text-align: center;
  text-decoration: none;
  width: 12em;
  margin: 1.5em auto;
  border: solid #ff0019;
  color: #ff0019;
  transition: 0.5s;
  display: block !important;
}
/* div#supeSchoolListContainer h3, h3.supeschoolsviewTitle {
background: #df0000;
color: #ffffff;
display: inline-block;
padding: .25em 2em;
display: block;
text-align: center;
margin: auto;
font-weight: bold;
} */
button.btn.btn-primary.open-modal-grid.board-district-btn {
  background-color: #216bdd;
}
/* h3.supeschoolsviewTitle, div#BoardZonesContainer h3 {
color: #000000;
display: inline-block;
padding: 0.5em 2.5em;
text-align: center;
margin: 0.5em auto;
font-size: 2rem;
letter-spacing: 0.05em;
border-radius: 4px;
text-transform: uppercase;
position: relative;
overflow: hidden;
width: 100%;
margin-bottom: 0;
} */
h3.supeschoolsviewTitle.fix-space {
  margin-top: 0px;
  padding-top: 0px;
  font-weight: 800;
  display: none;
}
h3.supeschoolsviewTitle span {
  font-weight: 900;
  color: red;
}

.text-light {
  font-size: 1.01em;
}

h3.supeschoolsviewTitle:before,
div#BoardZonesContainer h3:before {
  content: "";
  position: absolute;
  left: -50%;
  top: 0;
  /* width: 200%; */
  height: 100%;
  /*background: rgba(255, 255, 255, 0.1); */
  transform: skewX(-20deg);
  transition: all 0.5s ease-in-out;
}

h3.supeschoolsviewTitle:hover:before,
div#BoardZonesContainer h3:hover:before {
  left: 150%; /* Move the highlight across the text */
}

/* h3.supeschoolsviewTitle:hover {
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
transform: scale(1.02); 
} */
@media only screen and (min-width: 1200px) {
  .mobile-only {
    display: none;
  }
}

@media only screen and (max-width: 1200px) {
  .image-card h3 {
    font-size: 1em;
    color: #ffffff;
    color: #ffcd37;
    /*font-weight: 800;*/
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); */
    padding: 0.2em 2em;
  }
}

/*ALL SCHOOL ACTIVITIES VIA BTN OR URL*/
/* 
#schoolactivityContainer {
  display: none;
  transition: opacity 0.3s ease;
} */
#schoolactivityContainer p {
  text-align: center;
  margin-top: -1.2em;
  font-size: 1em;
}
#schoolactivityContainer .card {
  border: none;
  border-radius: 10px;
}

#schoolactivityContainer .card-body {
  background-color: #fff;
  border-top: 3px solid #007bff;
}

#schoolactivityContainer .card-title i {
  margin-right: 5px;
}

#schoolactivityContainer .btn-primary {
  background-color: #0056b3;
  border: none;
}

#schoolactivityContainer .btn-primary:hover {
  background-color: #004085;
}

#schoolactivityContainer .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

#schoolactivityContainer .card-body {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#schoolactivityContainer .card-body:hover {
  background-color: #fff;
}
#schoolactivityContainer a.btn.btn-primary {
  padding: 0.2em 1em;
  display: none;
}
#schoolactivityContainer .card.mb-3.shadow-sm {
  margin: 0.5em;
  background: #f8f8f8;
  border: solid #f6f6f6;
}
div#schoolactivityContainer .card-title i {
  color: #ff4f5f;
}
#allSchoolsactivityModal .badge {
  font-size: 0.7rem;
  vertical-align: middle;
  padding: 0.375em 0.75em;
  margin: -0.5em 0.5em;
  position: absolute;
}

#allSchoolsactivityModal .modal-title {
  text-align: center;
  display: block;
  width: 100%;
  font-weight: bold;
  color: #201f1f;
  /* background: #3d4e5f; */
  text-transform: uppercase;
  color: #035389;
}
#allSchoolsactivityModal .modal-header {
  padding: 0;
}
#allSchoolsactivityModal modal-title .badge {
  margin-left: 10px;
}
#allSchoolsactivityModal span.badge.bg-primary {
  background: orange !important;
}
#allSchoolsactivityModal button.btn-close,
#activityModal button.btn-close {
  position: absolute;
  right: 0;
  border-radius: 2em;
  border: solid;
  background: red;
  color: #ffffff;
  margin: -2em -1em;
}
#allSchoolsactivityModal .btn-close,
#activityModal .btn-close {
  box-sizing: content-box;
  width: 2em;
  height: 2em;
  padding: 0.25em 0.25em;
  color: #000; /* Customize color as needed */
  background: transparent; /* Remove the background image */
  border: 0;
  border-radius: 0.375rem;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#allSchoolsactivityModal .btn-close i,
#activityModal .btn-close i {
  font-size: 1.25em; /* Adjust size of the icon */
  color: inherit; /* Inherit the color from the button */
}
.svg-icon-style {
  width: 6em;
  height: 6em;
  display: block;
  margin: 0 auto 0.5em auto;
  /* border: solid; */
  padding: 0.2em;
  /* border-radius: 5em; */
  background: #fff;
}
div#schoolactivityContainer .card-title i {
  color: #ffffff;
  background: #ff6207;
  padding: 0.5em;
  border-radius: 2em;
  border: 2px solid #ccc;
}

h5#activityModalLabel .modal-title,
h5#activityModalLabel {
  text-align: center;
  width: 100%;
  font-weight: bold;
  font-size: 1.5em;
}

span.highlight-activity {
  color: #dc3545;
  /*font-weight: 900;*/
}
div#schoolactivityContainer .btn {
  padding: 0.2em 0.7em;
}
div#activityModal a {
  text-decoration: none;
}
@media (max-width: 768px) {
  #schoolactivityContainer .card {
    margin-bottom: 20px;
  }
}
/*END ALL SCHOOL ACTIVITIES VIA BTN OR URL*/

/* ACVITITY */

.icon-box {
  background-color: #f0f0f0;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  color: #333;
}
.icon-box.school-view {
  float: left;
  margin-right: 0.1em;
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px solid #ccc;
  margin-bottom: 1em;
}
button#toggle-scroll {
  border: #ccc;
  padding: 1.4em;
  margin-bottom: 1em;
  width: 20em;
}
.activity-content i {
  color: #ffc107 !important;
}

#activityList li {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  min-height: 5em;
}
.activity-content .fa-solid,
.activity-content .fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #fff;
  font-size: 2.5em;
  padding: 0.2em;
}
/*
.activity-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
padding: 20px;
background-color: #051936;
}
*/
/*
.activity-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
margin: 20px;
padding: 20px;
background-color: #f1f1f1;
background: radial-gradient(circle, #03A9F4 0%, #3F51B5 100%);
background-color: #051936;
}
*/
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 2em 0;
  padding: 0em 2em;
  background-color: #f1f1f1;
}
/* #activityContainer h3 {
position: absolute;
margin: 2em auto;
display: block;
color: #FFF;
color: #3d3d3d;
width: 90%;
} */
/*
.activity-content img.svg-icon {
width: 13em;
height: 13em;
fill: #ffc107;
padding: .2em;
display: inline-block;
}
*/
/*
.activity-content img.svg-icon {
width: 11em;
height: 11em;
fill: #ffc107;
padding: .2em;
display: inline-block;
border-radius: 11em;
border: solid #222222 .4em;
background: #FFF;
padding: .15em;
}
*/
.activity-content img.svg-icon {
  width: 10em;
  height: 10em;
  fill: #ffc107;
  padding: 0.2em;
  display: inline-block;
  border-radius: 11em;
  /* border: solid #222222 .4em; */
  background: #fff;
  padding: 0.15em;
}
.activity-item {
  position: relative;
  height: 250px;
  overflow: hidden;
  /*border-radius: 15px;*/
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background-color: #333;
}

.activity-item:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

.activity-item .activity-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.5);
  transition: filter 0.3s ease-in-out;
  background-color: #222; /* Default background color */
}

.activity-item:hover .activity-bg {
  filter: grayscale(0);
}
/*
.activity-item .activity-content {
position: absolute;
top: 0;
background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, #163c72 100%);
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
background: radial-gradient(circle, rgb(35 50 80) 0%, #040404 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 1;
transition: opacity 0.3s ease-in-out;
cursor: pointer;
border: solid #ffc107 .3em;
}
*/
/* .activity-item .activity-content {
position: absolute;
top: 0;
background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, #163c72 100%);
left: 0;
right: 0;
bottom: 0;
background: rgb(255 255 255 / 100%);
background: radial-gradient(circle, rgb(35 50 80) 0%, #040404 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 1;
transition: opacity 0.3s ease-in-out;
cursor: pointer;
border: solid #ffc107 .3em;
} */
/*
.activity-item .activity-content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle, #03A9F4 0%, #3F51B5 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
opacity: 1;
transition: opacity 0.3s ease-in-out;
cursor: pointer;
border: solid #2196F3 .4em;
box-sizing: border-box;  Ensures consistent box sizing
}
*/
.activity-item .activity-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, #03a9f4 0%, #3f51b5 100%);
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
  /* border: solid #2196F3 .4em; */
  box-sizing: border-box;
  border: solid #e7e7e7;
  border: solid #94bfff 0.3em;
}
/*
.activity-item .activity-name {
font-size: 20px;
font-weight: bold;
color: #fff;
text-align: center;
}
*/
/*
.activity-item .activity-name {
font-size: 20px;
font-weight: bold;
color: #213f6e;
text-align: center;
}
*/

/*
.activity-item .activity-name {
font-size: 16px;
font-weight: bold;
color: #ffffff;
color: rgb(51 51 51 / 0%);
text-align: center;
padding-top: .5em;
transition: .2s;;
}
*/
.activity-item .activity-name {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background: #0e76bb;
  text-align: center;
  padding: 0.15em 1em;
  transition: 0.2s;
  border-radius: 1em;
}
.activity-item:hover .activity-name {
  background: #333;
}
ul#activityList li img {
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, #163c72 100%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
  border: solid #ffc107 0.3em;
}
span.activity {
  font-weight: 500;
  margin-left: 0.4em;
  /*
background: #FFF;
position: absolute;
*/
  width: 100%;
  padding: 0.2em;
  bottom: 0;
}
#activityList h3 {
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}
/* END ACTIVITY */

/*SCHOOL GRID ACTIVIES MODAL*/
.schoolActivityModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.5s ease-out;
  z-index: 1038;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  animation: scaleIn 0.5s ease-out;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #333;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}
span.badge.badge-primary {
  position: absolute;
  font-size: 0.5em;
  margin: 0.2em -0.1em;
}
i.fa-solid.fa-certificate {
  color: red;
}
#activityList {
  list-style-type: none;
  padding: 0;
  overflow-y: auto;
}
#activityList li {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
.schoolActivityModal-content {
  display: none; /* Initially hidden */
  position: fixed; /* Fixed position to make it stick on the viewport */
  top: 50%; /* Positioning from the top */
  left: 50%; /* Positioning from the left */
  transform: translate(-50%, -50%); /* Centering horizontally and vertically */
  z-index: 1000; /* Ensure it appears on top */
  background-color: white; /* Set background color */
  padding: 1em; /* Add padding */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
  width: 65%; /* Increased width to make it wider (approx. 30% wider than before) */
  max-width: 65%; /* Ensure the modal doesn't exceed 65% of the viewport width */
  border-radius: 8px; /* Rounded corners */
}

.schoolActivityModal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.btn-close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

/* .schoolActivityModal-body {
     margin-top: 20px;
} */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* END SCHOOL GRID ACTIVIES MODAL*/

/* SCHOOL VIEW DISTRICT MODAL  */
.boardActivityModal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  max-width: 100%;
  max-height: 80vh;
  overflow: hidden;
  background-color: white;
  border: 1px solid #ccc;
  padding: 1em;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  z-index: 10500;
  display: block;
}

.boardActivityModal-content {
  width: 100%;
  padding: 1em;
  overflow-y: auto;
  max-height: 75vh;
}
.boardActivityModal-header h5.modal-title {
  text-align: center;
}

@media (max-width: 768px) {
  .boardActivityModal {
    width: 90%;
    max-height: 90vh;
  }

  .boardActivityModal-content {
    max-height: 85vh;
  }

  .modal-dialog.modal-dialog-centered.modal-xl {
    max-width: 98%;
  }

  .modal-content {
    width: 98%;
  }
}

/* END SCHOOL VIEW DISTRICT MODAL */

@media only screen and (max-width: 1000px) {
  .keycontainer {
    width: 90%;
  }

  input#search-query {
    width: 90%;
  }
  .schoolActivityModal-body {
    padding: 1em;
  }
  /* .schools-container .data {
    padding-top: 3em;
  } */
  .template-pages p,
  .template-pages li {
    font-size: 90%;
  }
  .activity-content i {
    display: none;
  }
  .image-card h3 {
    font-size: 0.8em;
  }
  .schoolActivityModal-header h5 {
    font-size: 1.2em;
  }
}

@media only screen and (max-width: 600px) {


  .mobile-only .image-card {
    height: 100px;
    transition: 0.9s;
    display: block;
  }
  .schoolActivityModal .btn-close-modal {
    right: -40px;
    top: -60px;
  }
  .schoolActivityModal-body img {
    width: 100% !important;
    height: auto !important;
  }
}

@media (min-width: 2000px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1800px !important;
  }
}
