﻿/* =========================================================
   MCPS DROPDOWN NAVIGATION
   ========================================================= */


#header ul.top-menuList li a {
  font-size: 1.2em;
}

#full-nav-container,
#full-nav-container *,
#nav-wrapper,
#nav-wrapper * {
  box-sizing: border-box;
}

#full-nav-container {
  position: relative;
  z-index: 20000;

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  overflow: visible !important;

  background: #1f3a69 !important;
  background-color: #1f3a69 !important;
  background-image: none !important;

  border: 0 !important;
  opacity: 1 !important;
}

#full-nav-container.row {
  margin: 0 !important;
  padding: 0 !important;
}

#full-nav-container > .col-12 {
  margin: 0 !important;
  padding: 0 !important;
}

#nav-wrapper {
  position: relative;
  z-index: 20001;

  width: 100%;
  min-height: 58px;

  margin: 0 !important;
  margin-bottom: 0 !important;

  padding-top: 0 !important;
  padding-bottom: 0 !important;

  display: flex;
  align-items: stretch;
  flex-wrap: wrap;

  overflow: visible !important;

  background: #1f3a69 !important;
  background-color: #1f3a69 !important;
  background-image: none !important;

  border: 0 !important;
  opacity: 1 !important;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

/* Add visual balance to the desktop navigation. */
@media (min-width: 992px) {
  #nav-wrapper {
    padding-left: clamp(1.25rem, 3vw, 3.5rem) !important;
    padding-right: 0.75rem !important;
  }
}

/* =========================================================
   BOOTSTRAP COLLAPSE WRAPPER
   ========================================================= */

#mcps-main-nav {
  position: relative;
  z-index: 20002;

  align-items: stretch;
  overflow: visible !important;

  background: #1f3a69 !important;
  background-color: #1f3a69 !important;
  background-image: none !important;

  opacity: 1 !important;
}

@media (min-width: 992px) {
  #mcps-main-nav.collapse {
    display: flex !important;
    height: auto !important;
    visibility: visible !important;
  }
}

/* =========================================================
   MOBILE MENU TOGGLE
   The same centered button shows bars when closed and an X when open.
   Bootstrap controls aria-expanded and the collapse itself.
   ========================================================= */

.mcps-navbar-toggler {
  width: 52px;
  height: 52px;

  margin: 0.25rem auto !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  color: #ffffff !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  border: 0 !important;
  border-radius: 0 !important;

  text-align: center;

  box-shadow: none !important;
  opacity: 1 !important;
}

.mcps-navbar-toggler:hover,
.mcps-navbar-toggler:focus,
.mcps-navbar-toggler:active {
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mcps-navbar-toggler:focus {
  outline: none;
}

.mcps-navbar-toggler:focus-visible {
  outline: 3px solid #07befd;
  outline-offset: -3px;
  border-radius: 0.25rem !important;
}

.mcps-mobile-menu-icon {
  display: inline-block;

  color: #ffffff !important;

  font-size: 1.75rem;
  font-style: normal !important;
  line-height: 1;
}

.mcps-mobile-menu-icon-close {
  display: none;
}

/* Bootstrap changes aria-expanded when the collapse opens or closes. */
.mcps-navbar-toggler[aria-expanded="true"] .mcps-mobile-menu-icon-open,
.mcps-navbar-toggler:not(.collapsed) .mcps-mobile-menu-icon-open {
  display: none;
}

.mcps-navbar-toggler[aria-expanded="true"] .mcps-mobile-menu-icon-close,
.mcps-navbar-toggler:not(.collapsed) .mcps-mobile-menu-icon-close {
  display: inline-block;
}

@media (min-width: 992px) {
  #nav-wrapper > .mcps-navbar-toggler {
    display: none !important;
  }
}

/* =========================================================
   MAIN NAVIGATION LIST
   ========================================================= */

#nav-wrapper .top-menuList {
  position: relative;
  z-index: 20003;

  width: auto;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;

  list-style: none;
  overflow: visible !important;

  background: #1f3a69 !important;
  background-color: #1f3a69 !important;
  background-image: none !important;

  opacity: 1 !important;
}

/* Top-level items. */
#nav-wrapper .top-menuList > li {
  position: relative;
  z-index: 20004;

  display: flex;
  align-items: stretch;

  flex: 0 0 auto !important;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none;
  overflow: visible !important;

  background: #1f3a69 !important;
  background-color: #1f3a69 !important;
  background-image: none !important;

  opacity: 1 !important;
}

/* Top-level links. */
#nav-wrapper .top-menuList > li > a {
  position: relative;

  min-height: 58px;
  padding: 0 1.4rem !important;

  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  color: #ffffff !important;

  background: #1f3a69 !important;
  background-color: #1f3a69 !important;
  background-image: none !important;

  text-decoration: none !important;

  font-size: 0.93rem;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;

  border-bottom: 3px solid #1f3a69;

  opacity: 1 !important;

  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

/* Dropdown caret. */
#nav-wrapper .top-menuList > li.has-submenu > a::after,
#nav-wrapper .top-menuList > li > a[href="javascript:void(0);"]::after {
  content: "\f107";

  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  font-size: 0.78rem;
  line-height: 1;

  opacity: 1;

  transition: transform 0.15s ease;
}

/* Solid top-level hover/open state. */
#nav-wrapper .top-menuList > li:hover,
#nav-wrapper .top-menuList > li.is-open {
  background: #075a9c !important;
  background-color: #075a9c !important;
  background-image: none !important;

  opacity: 1 !important;
}

#nav-wrapper .top-menuList > li:hover > a,
#nav-wrapper .top-menuList > li.is-open > a {
  color: #ffffff !important;

  background: #075a9c !important;
  background-color: #075a9c !important;
  background-image: none !important;

  border-bottom-color: #ffffff;

  opacity: 1 !important;
}

#nav-wrapper .top-menuList > li:hover > a::after,
#nav-wrapper .top-menuList > li.is-open > a::after {
  transform: rotate(180deg);
}

/* Keyboard focus. */
#nav-wrapper .top-menuList > li > a:focus-visible,
#nav-wrapper .top-menuList > li > .nav-submenu li a:focus-visible {
  outline: 3px solid #07befd;
  outline-offset: -3px;
}

/* Hover bridge so the dropdown stays selectable. */
#nav-wrapper .top-menuList > li::after {
  content: "";

  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  height: 10px;

  display: block;
}

/* =========================================================
   DROPDOWN PANELS
   ========================================================= */

#nav-wrapper .top-menuList > li > .nav-submenu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;

  z-index: 99999 !important;

  min-width: 300px;
  max-width: 390px;
  max-height: calc(100vh - 150px);

  margin: 0 !important;
  padding: 0.55rem 0 !important;

  display: none !important;

  overflow-y: auto;
  overflow-x: hidden;

  list-style: none !important;

  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;

  border: 1px solid #cfdde8;
  border-top: 5px solid #0285b6;
  border-radius: 0 0 10px 10px;

  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.34),
    0 8px 20px rgba(0, 0, 0, 0.24);

  opacity: 1 !important;

  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Keep the final dropdowns from running off the right edge. */
#nav-wrapper .top-menuList > li:nth-last-child(-n + 2) > .nav-submenu {
  left: auto !important;
  right: 0 !important;
}

/* Desktop dropdown show state. */
@media (min-width: 992px) {
  #nav-wrapper .top-menuList > li:hover > .nav-submenu,
  #nav-wrapper .top-menuList > li.is-open > .nav-submenu {
    display: block !important;

    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;

    opacity: 1 !important;
  }
}

/* Submenu list items. */
#nav-wrapper .top-menuList > li > .nav-submenu > li {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  display: block !important;
  float: none !important;

  list-style: none !important;

  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;

  opacity: 1 !important;
}

/* Submenu links. */
#nav-wrapper .top-menuList > li > .nav-submenu li a {
  width: 100%;
  min-height: 42px;

  padding: 0.68rem 1.15rem 0.68rem 1.2rem !important;

  display: flex !important;
  align-items: center;

  color: #082f57 !important;

  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;

  text-decoration: none !important;

  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 600;

  white-space: normal !important;

  border-left: 4px solid #ffffff;
  border-bottom: 1px solid #e3edf5;

  opacity: 1 !important;
  text-shadow: none !important;

  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    padding-left 0.15s ease;
}

#nav-wrapper .top-menuList > li > .nav-submenu li:last-child a {
  border-bottom: 0;
}

/* Solid submenu hover/focus. */
#nav-wrapper .top-menuList > li > .nav-submenu li:hover,
#nav-wrapper .top-menuList > li > .nav-submenu li:focus-within {
  background: #dff0f8 !important;
  background-color: #dff0f8 !important;
  background-image: none !important;

  opacity: 1 !important;
}

#nav-wrapper .top-menuList > li > .nav-submenu li a:hover,
#nav-wrapper .top-menuList > li > .nav-submenu li a:focus {
  color: #052745 !important;

  background: #dff0f8 !important;
  background-color: #dff0f8 !important;
  background-image: none !important;

  border-left-color: #0285b6;

  padding-left: 1.35rem !important;

  opacity: 1 !important;
}

#nav-wrapper .top-menuList > li > .nav-submenu li a:focus-visible {
  outline: 3px solid #07befd;
  outline-offset: -3px;
}

/* =========================================================
   STAFF DIRECTORY
   ========================================================= */

#nav-wrapper .mcps-staff-directory,
#nav-wrapper > span.d-none.d-lg-block {
  margin-left: auto;

  flex: 0 0 auto;
  align-self: stretch;

  opacity: 1 !important;
}

#nav-wrapper .mcps-staff-directory > a,
#nav-wrapper > span.d-none.d-lg-block > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;

  color: #ffffff !important;

  background: #0285b6 !important;
  background-color: #0285b6 !important;
  background-image: none !important;

  box-shadow: none !important;

  opacity: 1 !important;
}



/* =========================================================
   MOBILE-ONLY UTILITY LINKS
   ========================================================= */

#nav-wrapper .mcps-mobile-utilities {
  display: none;

  background: #1f3a69 !important;
  background-color: #1f3a69 !important;
}

#nav-wrapper .mcps-mobile-utility-inner {
  width: calc(100% - 2rem);
  margin: 0 auto !important;
  padding: 0 !important;
}

#nav-wrapper .mcps-mobile-utility-row {
  --bs-gutter-x: 0;

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

#nav-wrapper .mcps-mobile-utility-left {
  padding-left: 0 !important;
  padding-right: 0.5rem !important;
}

#nav-wrapper .mcps-mobile-utility-right {
  padding-left: 0.5rem !important;
  padding-right: 0 !important;
}

#nav-wrapper .mcps-mobile-directory,
#nav-wrapper .mcps-mobile-quick-link {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;

  border-radius: 0.25rem !important;
  box-shadow: none !important;
}

#nav-wrapper .mcps-mobile-directory {
  min-height: 66px;
  margin-bottom: 1rem !important;
  padding: 0.8rem 1rem !important;

  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  color: #ffffff !important;

  background: #0285b6 !important;
  background-color: #0285b6 !important;
  background-image: none !important;

  border: 1px solid #07befd !important;

  font-size: 1.2rem !important;
  line-height: 1.2;
  font-weight: 700;
}

#nav-wrapper .mcps-mobile-directory:hover,
#nav-wrapper .mcps-mobile-directory:focus,
#nav-wrapper .mcps-mobile-directory:active {
  color: #ffffff !important;

  background: #056c9c !important;
  background-color: #056c9c !important;
  background-image: none !important;

  border-color: #07befd !important;
}

#nav-wrapper .mcps-mobile-directory-icon {
  margin: 0;

  display: inline-block;
  flex: 0 0 auto;

  color: #ffffff !important;

  font-size: 1.55rem;
  font-style: normal !important;
  line-height: 1;
}

#nav-wrapper .mcps-mobile-quick-link {
  min-height: 54px;
  padding: 0.65rem 0.45rem !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  color: #1f3a69 !important;

  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;

  border: 1px solid #d6e2eb !important;

  font-size: 0.95rem !important;
  line-height: 1.2;
  font-weight: 600;

  white-space: normal;
}

#nav-wrapper .mcps-mobile-quick-link:hover,
#nav-wrapper .mcps-mobile-quick-link:focus,
#nav-wrapper .mcps-mobile-quick-link:active {
  color: #052745 !important;

  background: #f2f7fa !important;
  background-color: #f2f7fa !important;
  background-image: none !important;

  border-color: #07befd !important;
}

#nav-wrapper .mcps-mobile-directory:focus-visible,
#nav-wrapper .mcps-mobile-quick-link:focus-visible {
  outline: 3px solid #07befd;
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  #nav-wrapper .mcps-mobile-utilities {
    display: block !important;
  }
}

@media (min-width: 992px) {
  #nav-wrapper .mcps-mobile-utilities {
    display: none !important;
  }
}

/* =========================================================
   TABLET AND MOBILE
   ========================================================= */

@media (max-width: 991.98px) {
  /*
   * Remove Bootstrap row, column, and navbar spacing so the dark
   * navigation ends flush against the section below it.
   *
   * The dark background also overrides the bg-brightblue class that
   * remains on #full-nav-container in the current HTML.
   */
  #full-nav-container,
  #full-nav-container.row {
    margin: 0 !important;
    padding: 0 !important;

    background: #1f3a69 !important;
    background-color: #1f3a69 !important;
    background-image: none !important;

    border: 0 !important;
  }

  #full-nav-container > .col-12 {
    margin: 0 !important;
    padding: 0 !important;
  }

  /*
   * One centered mobile control occupies the first row. There is no
   * district-name link or other content to its left or right.
   */
  #nav-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: center;

    min-height: 56px;

    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;

    background: #1f3a69 !important;
    background-color: #1f3a69 !important;
    background-image: none !important;

    border: 0 !important;
    opacity: 1 !important;
  }

  /* Hide a legacy logo wrapper if one remains elsewhere in the template. */
  #nav-wrapper > .logo-wrapper {
    display: none !important;
  }

  #nav-wrapper > .mcps-navbar-toggler {
    grid-column: 1;
    grid-row: 1;

    justify-self: center;
    align-self: center;

    margin: 0.25rem auto !important;
  }

  /*
   * The opened or closed navigation menu spans the full navbar
   * beneath the first row.
   */
  #mcps-main-nav {
    grid-column: 1;
    grid-row: 2;

    width: 100%;
    flex-basis: 100%;

    margin: 0 !important;
    padding: 0 !important;

    background: #1f3a69 !important;
    background-color: #1f3a69 !important;
    background-image: none !important;

    border: 0 !important;
    opacity: 1 !important;
  }

  /*
   * A closed Bootstrap collapse must not reserve height or create
   * white space below the navbar.
   */
  #mcps-main-nav.collapse:not(.show) {
    display: none !important;

    height: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
  }

  /* Preserve Bootstrap's collapse animation behavior. */
  #mcps-main-nav.collapsing {
    overflow: hidden !important;
  }

  #nav-wrapper .top-menuList {
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    background: #1f3a69 !important;
    background-color: #1f3a69 !important;
    background-image: none !important;

    opacity: 1 !important;
  }

  /*
   * No light-blue border is applied to mobile navigation items.
   */
  #nav-wrapper .top-menuList > li {
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    display: block;

    background: #1f3a69 !important;
    background-color: #1f3a69 !important;
    background-image: none !important;

    border: 0 !important;
    opacity: 1 !important;
  }

  #nav-wrapper .top-menuList > li > a {
    width: 100%;
    min-height: 48px;

    padding: 0.85rem 1rem !important;

    display: flex !important;
    align-items: center;
    justify-content: space-between;

    color: #ffffff !important;

    background: #1f3a69 !important;
    background-color: #1f3a69 !important;
    background-image: none !important;

    font-size: 0.95rem;

    border-bottom: 0;

    opacity: 1 !important;
  }

  #nav-wrapper .top-menuList > li:hover,
  #nav-wrapper .top-menuList > li.is-open {
    background: #075a9c !important;
    background-color: #075a9c !important;
    background-image: none !important;
  }

  #nav-wrapper .top-menuList > li:hover > a,
  #nav-wrapper .top-menuList > li.is-open > a {
    color: #ffffff !important;

    background: #075a9c !important;
    background-color: #075a9c !important;
    background-image: none !important;

    opacity: 1 !important;
  }

  #nav-wrapper .top-menuList > li::after {
    display: none;
  }

  #nav-wrapper .top-menuList > li.has-submenu > a::after,
  #nav-wrapper .top-menuList > li > a[href="javascript:void(0);"]::after {
    margin-left: auto;
  }

  #nav-wrapper .top-menuList > li > .nav-submenu {
    position: static !important;

    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;

    margin: 0 !important;
    padding: 0.3rem 0 !important;

    display: none !important;

    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    opacity: 1 !important;

    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #nav-wrapper .top-menuList > li.is-open > .nav-submenu {
    display: block !important;

    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;

    opacity: 1 !important;
  }

  #nav-wrapper .top-menuList > li:hover > .nav-submenu {
    display: none !important;
  }

  #nav-wrapper .top-menuList > li.is-open:hover > .nav-submenu {
    display: block !important;
  }

  #nav-wrapper .top-menuList > li > .nav-submenu > li {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;

    opacity: 1 !important;
  }

  #nav-wrapper .top-menuList > li > .nav-submenu li a {
    min-height: 40px;

    padding: 0.65rem 1.15rem 0.65rem 1.65rem !important;

    color: #082f57 !important;

    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;

    font-size: 0.9rem;
    font-weight: 600;

    opacity: 1 !important;
  }

  #nav-wrapper .top-menuList > li > .nav-submenu li a:hover,
  #nav-wrapper .top-menuList > li > .nav-submenu li a:focus {
    background: #dff0f8 !important;
    background-color: #dff0f8 !important;
    background-image: none !important;

    padding-left: 1.85rem !important;

    opacity: 1 !important;
  }
}


/* HEADER */
.header-spacing { padding-bottom: 24px; }
.district-name img { margin-left: 5%; }
.my-auto.header-spacing { margin:0 !important; }
#google_translate_element { padding: 0; margin: 0; display: inline-flex;}
#header .form-inline { margin: 18px 0 0 0 !important; }
#header #search-btn { color: #fff !important; background: #1F3A69 !important; padding: 12px 0 !important; }
#header input[type=search] { background: #f3f3f3; font-size: 1em; width: 100% !important; padding: 0 10px !important; }
#header .btn.btn-sm { margin:0;}


.row.no-gutters.justify-content-center.justify-content-lg-end.align-items-center.flex-nowrap {
    margin-top: 18px;
}


/* MISC*/
.accordion .card .card-body {
    font-size: 1em;
}

.live-chat-btn::before {
    content: "\f086";
    font-family: FontAwesome;
    margin-right: 8px;
}

.contact-heading::before {
    content: "\f2bb";
    font-family: FontAwesome;
    margin-right: 8px;
}


#header .form-control {
    width: 100%!important;
  }



/* =========================================================
   Social Media
   ========================================================= */

.social-icon-row {
    display: flex;
    align-items: center;
}

.social-icon-row .col {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.social-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;
    margin: 0;

    color: #fff;
    font-size: 0;
    line-height: 1;
    text-decoration: none;
}

.social-icon::before {
    font-family: FontAwesome;
    font-size: 16px;
    line-height: 1;
    color: #1F3A69;
}

.facebook::before {
    content: "\f09a";
}

.twitter::before {
    content: "\f099";
}

.instagram::before {
    content: "\f16d";
}

.youtube::before {
    content: "\f16a";
}

.linkedin::before {
    content: "\f0e1";
}

.flickr::before {
    content: "\f16e";
}




/* =========================================================
   SEARCH
   ========================================================= */
#header .form-inline .row {
    width: 100% !important;
}

/* =========================================================
   PHONE-SIZE ADJUSTMENTS
   ========================================================= */

@media (max-width: 575.98px) {
  #nav-wrapper .top-menuList > li > a {
    font-size: 0.92rem;
  }
}
