#schoolsmenu, .not-found:not(.active),
.customSchoolsDropdown-inner:has(.not-found.active) .tabcontent .tabcontent__title,
.customSchoolsDropdown-inner:has(.not-found.active) .tablist button,
#customSchoolsDropdown .close-school-menu,
#cms-header:has(#customSchoolsDropdown) .m4--drawer-element.mobile-element.new-mobile-header:not(.child-element):has(#schools-header) {
  display: none !important;
}

.customSchoolsDropdown-inner:has(.not-found.active) .tabpanes {
  height: auto;
  min-height: unset;
}

.customSchoolsDropdown-inner .not-found {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 600;
}

/* fix schools arrow issue and add schools button on mobile */
#cms-header:has(#customSchoolsDropdown) #h1 #schoolsbutton svg,
#cms-header:has(#customSchoolsDropdown) #h2 #schoolsbutton svg path {
  transform: rotate(0);
}

#cms-header:has(#customSchoolsDropdown).has-custom-schools-menu-active #h1 #schoolsbutton svg,
#cms-header:has(#customSchoolsDropdown).has-custom-schools-menu-active #h2 #schoolsbutton svg path {
  transform: rotate(-180deg);
}
#cms-header:has(#customSchoolsDropdown) .mobile-header {
  padding-top: 20px;
}
#cms-header:has(#customSchoolsDropdown) .mobile-header:not(.menu-open) {
  height: auto;
  padding-bottom: 35px;
}

#cms-header:has(#customSchoolsDropdown) .mobile-header.shrink .menu-mobile {
  top: 108px;
}

#cms-header:has(#customSchoolsDropdown) .mobile-header #schoolsbutton {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  outline: none;
  position: absolute;
  right: 20px;
  bottom: 10px;
}

#cms-header:has(#customSchoolsDropdown) .mobile-header #schoolsbutton .button-action {
  display: block;
  text-align: left;
  white-space: nowrap;
}

#cms-header:has(#customSchoolsDropdown) .mobile-header #schoolsbutton .menu-field {
  color: var(--nav-color);
  line-height: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#cms-header:has(#customSchoolsDropdown) .mobile-header #schoolsbutton svg path {
  fill: var(--nav-color) !important;
  transform-origin: 50% 50%;
  transition: all 0.5s ease-in-out;
}

#cms-header:has(#customSchoolsDropdown) .mobile-header:not(.menu-open) .left-icon {
  top: auto;
  transform: none;
  bottom: 10px;
  left: 20px;
}
#cms-header:has(#customSchoolsDropdown) .mobile-header.menu-open .left-icon {
  top: 115px;
}
#cms-header .mobile-header + #customSchoolsDropdown .tabpanes {
  height: calc(100vh - 270px);
}

#cms-header .mobile-header + #customSchoolsDropdown:has(.not-found.active) .tabpanes {
  height: 0;
}

.has-custom-schools-menu-active .mobile-menu-wrapper {
  opacity: 0;
  visibility: hidden;
}

/* end */
#cms-header.has-custom-schools-menu-active #customSchoolsDropdown {
  display: block;
}

body:has(#cms-header.has-custom-schools-menu-active) #cms-header.has-custom-schools-menu-active {
  z-index: 3;
}

.customSchoolsDropdown {
  display: none;
  --school-dd-bg-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
  --school-dd-text-color: #fff;
  --school-tablist-bg-color: #e1e1e1;
  --school-tablist-text-color: #000;
  width: 100%;
  left: 0;
  top: 100%;
  position: absolute;
  background-color: var(--school-dd-bg-color);
  color: var(--school-dd-text-color);
  padding: 2em;
  box-sizing: border-box;
  box-shadow: 4px 4px 21px 0px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(10px) brightness(40%);
  backdrop-filter: blur(10px) brightness(40%);
}
.customSchoolsDropdown:has(.found-items) .tablist .tablinks {
  opacity: 0.1;
  pointer-events: none;
  cursor: default;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.filter-area {
  margin-bottom: 5px;
}
.filter-area input {
  padding: 0.6em 1em;
  width: 100%;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 1.25em;
  border-radius: 0.25em;
  outline: none;
  color: #000;
}

.tablist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--school-tablist-bg-color);
}
.tablist button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.5em 0;
  transition: 0.3s;
  font-size: 1.4em;
  color: var(--school-tablist-text-color);
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid #a9a8a8;
  opacity: 0.75;
  position: relative;
}
@media only screen and (max-width: 1500px) {
  .tablist button {
    font-size: 1em;
  }
}
.tablist button:first-child {
  border-left: 0;
}
.tablist button.active, .tablist button:hover, .tablist button:focus {
  opacity: 1;
  background: var(--secondary-color);
  color: var(--secondary-color-contrast);
  border-bottom-color: var(--secondary-color);
}
.tablist button.active::after {
  width: 0;
  height: 0;
  display: block;
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--secondary-color);
  top: 100%;
  transition: all 0.4s ease 0s;
}

.tabpanes {
  height: calc(100vh - 450px);
  min-height: 300px;
  overflow-y: auto;
  margin-top: 1em;
  padding-right: 10px;
}
.tabpanes::-webkit-scrollbar {
  width: 5px;
}
.tabpanes::-webkit-scrollbar-thumb {
  background: var(--school-dd-text-color);
}
.tabpanes::-webkit-scrollbar-track {
  background: rgba(221, 221, 221, 0.2705882353);
}

.tabcontent {
  display: none;
  padding: 0.75em 0;
  border-top: none;
}
.tabcontent.active {
  display: block;
}
.tabcontent__title {
  display: none;
}
.tabcontent.found-items {
  display: block;
}
.tabcontent.found-items .tabcontent__title {
  display: block;
}

.custom-schools-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  box-sizing: border-box;
  margin-top: 1em;
}
@media only screen and (max-width: 1500px) {
  .custom-schools-list:has(a:nth-child(5)) {
    grid-template-columns: repeat(5, 1fr);
  }
}
.custom-schools-list:has(a:nth-child(5)) {
  grid-template-columns: repeat(5, 1fr);
}
.custom-schools-list:has(a:nth-child(6)) {
  grid-template-columns: repeat(6, 1fr);
}
.custom-schools-list span.no-link,
.custom-schools-list .custom-school-button {
  color: var(--school-dd-text-color);
  text-decoration: none;
  font-size: 1.1em;
  padding: 0.5em;
  border-radius: 0.2em;
  display: flex;
}
@media only screen and (max-width: 1500px) {
  .custom-schools-list span.no-link,
  .custom-schools-list .custom-school-button {
    font-size: 1em;
  }
}
.custom-schools-list span.no-link:hover,
.custom-schools-list .custom-school-button:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .tab button {
    display: block;
    text-align: left;
  }
}
@media only screen and (max-width: 1200px) {
  .tablist {
    display: none;
  }
  .tabpanes {
    max-height: unset;
  }
  .tabpanes:has(.found-items) .tabcontent {
    display: none;
  }
  #customSchoolsDropdown {
    padding-inline: 10px;
  }
  #customSchoolsDropdown .tabpanes .found-items {
    display: block;
  }
  #customSchoolsDropdown .tabpanes .found-items .custom-schools-list {
    max-height: 1000px;
  }
  .tabcontent {
    display: block;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  .tabcontent__title {
    display: block;
    width: 100%;
    font-size: 1.25em;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    position: relative;
    border-bottom: 1px solid currentColor;
    padding-inline: 10px;
    padding-right: 30px;
    cursor: pointer;
    box-sizing: border-box;
  }
  .tabcontent__title:after {
    content: "";
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 2px);
    right: 15px;
    transition: all 0.25s linear;
  }
  .active-accordion .tabcontent__title {
    background-color: var(--secondary-color);
    color: var(--secondary-color-contrast);
    border-bottom-color: transparent;
  }
  .tabcontent .custom-schools-list {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
    box-sizing: border-box;
    padding-inline: 10px;
  }
  .tabcontent .custom-schools-list .custom-school-button {
    display: block;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2235294118);
    text-align: left;
    min-height: unset;
    padding-left: 0;
    padding-top: 1.15em;
    padding-bottom: 1.15em;
    border-radius: 0;
  }
  .tabcontent .custom-schools-list .custom-school-button:hover {
    color: var(--school-dd-text-color);
    background-color: transparent;
    border-bottom: 1px solid var(--school-dd-text-color);
    font-weight: 700;
  }
  .tabcontent.active-accordion .tabcontent__title:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    right: 14px;
  }
}
@media only screen and (max-width: 600px) {
  .customSchoolsDropdown {
    padding: 20px;
  }
}/*# sourceMappingURL=extended-schools-dropdown-v2.css.map */