/*
Theme Name: Divi Child
Theme URI: https://example.com
Description: A child theme for Divi
Author: Thoughtprocess Interactive
Template: Divi
Version: 1.0
*/

@import url("../Divi/style.css");
/* Divi Overrides */
@media (max-width: 980px) {
  .et_pb_row {
    width: 90%;
  }
  .et_pb_section:not(.mhb-subpage-banner-wrapper) {
    padding: 2% 0;
  }
}
/* Nav */
.mhb-nav-wrapper .sub-menu {
  padding: 0 !important;
}
.mhb-nav-wrapper .sub-menu li {
  padding: 0 !important;
  width: 100%;
}
.mhb-nav-wrapper .sub-menu li a {
  width: 100% !important;
  transition: 0.2s ease-in-out;
}
.mhb-nav-wrapper .sub-menu li a:hover {
  background-color: #365695 !important;
  color: #fff !important;
  opacity: 1 !important;
}
.mhb-nav-wrapper .sub-menu li ul.sub-menu {
  top: -3px;
}
.mhb-nav-wrapper
  .menu-item-has-children
  ul.sub-menu
  .menu-item-has-children
  a:after {
  transform: rotate(-90deg);
}
.mhb-toolbar-wrapper li a {
  border-right: 2px solid #365695;
  padding-bottom: 0 !important;
  top: -8px;
  padding-right: 8px;
}
.mhb-toolbar-wrapper li {
  padding-left: 4px !important;
  padding-right: 4px !important;
}
.mhb-toolbar-wrapper button {
  margin-left: 15px;
  margin-top: -8px;
}
.mhb-toolbar-wrapper button:after {
  font-size: 14px !important;
  color: #365695 !important;
  font-weight: bold;
}
/* #mhb-mobile-nav {
  display: none;
} */
@media (min-width: 1300px) and (max-width: 1650px) {
  .mhb-nav-wrapper li {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .mhb-nav-wrapper li a {
    font-size: 14px !important;
  }
}
@media (min-width: 981px) and (max-width: 1299px) {
  .mhb-nav-wrapper li {
    padding-right: 8px !important;
  }
  .mhb-nav-wrapper li a {
    font-size: 14px !important;
    padding-right: 15px !important;
  }
  #mhb-desktop-nav .et_pb_column_1_4 {
    width: 17.875%;
  }
  #mhb-desktop-nav .et_pb_column_1_2 {
    width: 70.25%;
  }
}
@media (min-width: 981px) and (max-width: 1220px) {
  .mhb-nav-wrapper li {
    padding-left: 0px !important;
    padding-right: 8px !important;
  }
  .mhb-toolbar-wrapper li a {
    font-size: 12px !important;
  }
}
@media (max-width: 980px) {
  body.nav-opened {
    overflow: hidden;
  }
  .et_mobile_menu {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .et_mobile_menu ul.sub-menu {
    display: none;
  }
  .submenu-toggle {
    float: right;
    font-size: 20px;
    cursor: pointer;
    padding: 0 10px;
    user-select: none;
  }
  #mhb-mobile-nav .menu-link-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #mhb-mobile-nav .sub-menu.open {
    display: block !important;
  }
  #mhb-mobile-nav .sub-menu.closed {
    display: none !important;
  }
  #mhb-mobile-nav {
    display: flex;
    width: 100%;
  }
  #mhb-mobile-nav .et_mobile_menu:first-of-type {
    height: 100vh;
  }
  #mhb-mobile-nav .et_pb_menu__logo-wrap {
    padding-left: 5%;
  }
  #mhb-mobile-nav .et_pb_menu__logo-wrap .et_pb_menu__logo {
    margin-right: 0;
  }
  #mhb-mobile-nav .et_pb_menu__wrap {
    padding-right: 5%;
  }
  #mhb-mobile-nav ul {
    padding-left: 0;
    padding-right: 0;
    top: 60px;
  }
  #mhb-mobile-nav a {
    font-size: 16px;
    padding-top: 2px;
    padding-bottom: 2px;
    border: none;
  }
  #mhb-mobile-nav a:hover {
    opacity: 1 !important;
    background-color: transparent !important;
    color: #365695 !important;
  }
  #mhb-mobile-nav .menu-item-has-children > a,
  #mhb-mobile-nav .menu-item-has-children a .sub-menu a {
    position: relative;
    background-color: transparent !important;
    display: inline-block;
  }
  #mhb-mobile-nav .menu-item-has-children .sub-menu {
    padding-left: 10px !important;
  }
  /* #mhb-mobile-nav .menu-item-has-children > a:after {
    font-size: 20px !important;
    color: #365695 !important;
    font-weight: bold;
    font-family: ETmodules;
    content: "3";
    float: right;
    font-weight: 800;
  } */
  /* #mhb-desktop-nav {
    display: none;
  } */
  #mhb-mobile-nav .mhb-mobile-contact {
    padding: 20px 5%;
  }
  #mhb-mobile-nav .mhb-mobile-contact a {
    background-color: #a15ea5;
    border-color: #a15ea5 !important;
    color: #fff !important;
    font-size: 14px;
    border-radius: 0px;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    padding-top: 8px !important;
    padding-right: 16px !important;
    padding-bottom: 8px !important;
    padding-left: 16px !important;
    line-height: 1.7em !important;
    border: 2px solid;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    transition: all 300ms ease 0ms;
    width: fit-content;
  }
  #mhb-mobile-nav .mhb-mobile-contact a:hover {
    background-color: #a15ea5 !important;
    color: #fff !important;
  }
}
/* Footer */
.mhb-footer-contact a {
  color: #fff !important;
}
.mhb-footer-social-wrapper,
.mhb-footer-copyright-wrapper {
  display: flex;
  gap: 1rem;
}
.mhb-footer-copyright-wrapper,
.mhb-footer-copyright-wrapper a {
  color: #fff;
}
#form_footeremailupdates button.frm_button_submit {
  border-radius: 0 !important;
  background: transparent !important;
  color: #a6ce39 !important ;
  box-shadow: none !important;
  border-width: 2px !important;
  text-transform: uppercase !important;
  transition: 0.2s ease-in-out;
}
#form_footeremailupdates button.frm_button_submit:hover {
  background: #a6ce39 !important;
  color: #fff !important;
}
/* Buttons */
.mhb-btn {
  font-size: 14px;
  border-radius: 0px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 16px;
  border-radius: 0px;
  line-height: 1.7em !important;
  transition: all 300ms ease 0ms;
}
.mhb-btn:hover {
  cursor: pointer;
}
.mhb-primary-white-btn {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #814e84;
  border: 2px solid;
}
.mhb-primary-white-btn:hover {
  background-color: #ffffffcb !important;
  border-color: #ffffffcb !important;
}
.mhb-secondary-white-btn {
  background-color: transparent;
  border-color: #fff !important;
  color: #fff !important;
  border: 2px solid;
}
.mhb-secondary-white-btn:hover {
  color: #ffffffcb !important;
  border-color: #ffffffcb !important;
}
.mhb-primary-purple-btn {
  background-color: #9e5ca3 !important;
  border-color: #9e5ca3 !important;
  color: #fff;
}
.mhb-primary-purple-btn:hover {
  color: #ffffff;
  background-color: #814e84 !important;
  border-color: #814e84 !important;
}
.mhb-secondary-purple-btn {
  background-color: transparent;
  border-color: #9e5ca3 !important;
  color: #9e5ca3 !important;
  border: 2px solid;
}
.mhb-secondary-purple-btn:hover {
  color: #814e84 !important;
  border-color: #814e84 !important;
}
.mhb-primary-blue-btn {
  background-color: #365695;
  border-color: #365695;
  color: #fff;
}
.mhb-primary-blue-btn:hover {
  color: #ffffff;
  background-color: #2d4678;
  border-color: #2d4678;
}
.mhb-secondary-blue-btn {
  background-color: transparent;
  border-color: #365695;
  color: #365695;
  border: 2px solid;
}
.mhb-secondary-blue-btn:hover {
  color: #2d4678;
  border-color: #2d4678;
}
.mhb-primary-green-btn {
  background-color: #008847;
  border-color: #008847;
  color: #fff;
}
.mhb-primary-green-btn:hover {
  color: #ffffff;
  background-color: #01713b;
  border-color: #01713b;
}
.mhb-secondary-green-btn {
  background-color: transparent;
  border-color: #008847;
  color: #008847;
  border: 2px solid;
}
.mhb-secondary-green-btn:hover {
  color: #01713b;
  border-color: #01713b;
}
@media (max-width: 980px) {
  .mhb-footer-copyright-wrapper {
    flex-wrap: wrap;
  }
}
/* People Loop Layout */
.mhb-board-of-trustees-wrapper,
.mhb-staff-members-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem 2rem;
}
.mhb-board-of-trustees-wrapper > div,
.mhb-staff-members-wrapper > div {
  text-align: center;
}
.mhb-member-image-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-position: center 10%;
  background-size: cover;
  background-repeat: no-repeat;
}
.mhb-member-image-wrapper img {
  border-radius: 50%;
}
.mhb-member-name,
.mhb-member-title {
  color: #a15ea5;
  text-align: center;
}
.mhb-member-name {
  margin-bottom: -12px;
}
.mhb-member-title {
  font-weight: 300;
  padding-bottom: 0;
  margin-top: 10px;
}
.mhb-member-description {
  font-size: 0.8em;
  line-height: 1.3em;
}
.mhb-member-location {
  font-size: 0.8em;
  line-height: 1.3em;
  font-style: italic;
  font-weight: 400;
}
/* Meeting Minutes/Annual Reports/Audits Layout/Publications/ etc. */
.mhb-annual-report-wrapper {
  width: 100%;
}
.mhb-annual-report-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5rem;
}
.mhb-annual-report-wrapper .mhb-annual-report .mhb-annual-report-file {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1rem;
}
.mhb-annual-report-wrapper .mhb-annual-report {
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
  transition: 0.2s ease-in-out;
  align-items: center;
  gap: 1rem;
}
.mhb-annual-report:hover {
  background: none !important;
}
.mhb-meeting-minutes-wrapper,
.mhb-annual-audit-wrapper,
.mhb-publications-wrapper,
.mhb-board-meeting-wrapper,
.mhb-board-committees-wrapper {
  width: 50%;
}
.mhb-meeting-minutes-wrapper .mhb-meeting-minutes,
.mhb-annual-audit-wrapper .mhb-annual-audit,
.mhb-publications-wrapper .mhb-publication,
.mhb-board-meeting-wrapper .mhb-board-meeting,
.mhb-board-committees-wrapper .mhb-board-meeting {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #8a8c8e;
  padding: 10px 0;
  transition: 0.2s ease-in-out;
  gap: 10rem;
}

.mhb-meeting-minutes-wrapper .mhb-meeting-minutes:hover,
.mhb-annual-report-wrapper .mhb-annual-report:hover,
.mhb-annual-audit-wrapper .mhb-annual-audit:hover,
.mhb-publications-wrapper .mhb-publication:hover,
.mhb-board-meeting-wrapper .mhb-board-meeting:hover,
.mhb-board-committees-wrapper .mhb-board-meeting:hover {
  background: #f6eff6;
}

.mhb-meeting-minutes-wrapper .meeting-minutes-table-label,
.mhb-board-committees-wrapper .mhb-board-committee-label {
  font-weight: 600;
  color: #a15ea5 !important;
  pointer-events: none;
}
.mhb-board-meeting-wrapper .mhb-board-meeting-label h2 {
  padding-bottom: 0 !important;
  color: #a15ea5 !important;
}
.mhb-board-committees-wrapper .mhb-board-committee-label {
  text-transform: capitalize;
}
.mhb-meeting-minutes-wrapper .mhb-meeting-minutes-year-group:not(:first-child) {
  padding: 2% 0;
}
.mhb-meeting-minutes-wrapper .mhb-meeting-minutes-title,
.mhb-annual-report-wrapper .mhb-annual-report-title,
.mhb-annual-audit-wrapper .mhb-annual-audit-title,
.mhb-board-meeting-wrapper .mhb-board-meeting-title,
.mhb-board-meeting-wrapper .mhb-board-meeting-month,
.mhb-board-committees-wrapper .mhb-board-meeting-title {
  padding-bottom: 0;
  font-weight: 600;
}
.mhb-meeting-minutes-wrapper .mhb-meeting-minutes-year,
.mhb-annual-report-wrapper .mhb-annual-report-label,
.mhb-annual-audit-wrapper .mhb-annual-audit-label {
  color: #a15ea5 !important;
}
.mhb-meeting-minutes-wrapper .mhb-meeting-minutes-file,
.mhb-annual-report-wrapper .mhb-annual-report-file,
.mhb-annual-audit-wrapper .mhb-annual-audit-file,
.mhb-publications-wrapper .mhb-publication-file {
  font-weight: 600;
}
.mhb-board-committee-group:not(:last-of-type) {
  padding-bottom: 4rem;
}
@media (max-width: 980px) {
  .mhb-meeting-minutes-wrapper,
  .mhb-annual-report-wrapper,
  .mhb-annual-audit-wrapper,
  .mhb-publications-wrapper,
  .mhb-board-meeting-wrapper,
  .mhb-board-committees-wrapper {
    width: 100%;
  }
  .mhb-meeting-minutes-wrapper .mhb-meeting-minutes,
  .mhb-annual-report-wrapper .mhb-annual-report,
  .mhb-annual-audit-wrapper .mhb-annual-audit,
  .mhb-publications-wrapper .mhb-publication,
  .mhb-board-meeting-wrapper .mhb-board-meeting,
  .mhb-board-committees-wrapper .mhb-board-meeting {
    gap: 2rem;
  }
}
@media (max-width: 767px) {
  .mhb-annual-report-list {
    grid-template-columns: 1fr;
  }
}
/* Home Events Layout */
.mhb-latest-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem;
}
.mhb-latest-events .mhb-event-item {
  border: 2px solid #365695;
  padding: 32px;
  color: #4e4e4e;
  transition: all 0.2s ease-in-out;
}
.mhb-latest-events .mhb-event-item:hover {
  transform: scale(1.05);
}
.mhb-latest-events .mhb-event-item h3 {
  color: #365695;
  padding-bottom: 0;
}
.mhb-latest-events .mhb-event-item .mhb-event-cat {
  font-size: 14px;
  font-style: italic;
}
@media (max-width: 767px) {
  .mhb-latest-events {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* Funded Agencies Loop */
.mhb-funded-agencies-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  flex-wrap: wrap;
}
.mhb-funded-agency-link-wrapper {
  display: grid;
  transition: 0.2s ease-in-out;
}
.mhb-funded-agency-link-wrapper:hover {
  cursor: pointer;
  transform: scale(1.02);
}
.mhb-funded-agency {
  padding: 20px;
  background: #f6f6f6;
  border-radius: 30px;
  border: 2px solid #365695;
  color: #4e4e4e;
}
.mhb-agency-project .bullet {
  list-style-type: disc;
  display: inline-block;
  height: 4px;
  width: 4px;
  background: #4e4e4e;
  border-radius: 50%;
  margin-right: 4px;
  top: -2px;
  position: relative;
}
.mhb-funded-agencies-wrapper
  .mhb-funded-agency
  .mhb-agency-project-row:nth-child(odd) {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.mhb-funded-agencies-wrapper .mhb-agency-project {
  padding-bottom: 0;
  font-size: 18px;
  line-height: 1.25;
  text-decoration: underline;
}
.mhb-funded-agencies-wrapper .mhb-service-type span {
  font-weight: 300;
}
.mhb-funded-agencies-wrapper .mhb-agency-name {
  color: #365695;
  font-weight: 600;
  text-decoration: none;
  display: initial;
}
.mhb-funded-agencies-wrapper .mhb-agency-amount {
  font-weight: 300;
}
.mhb-agency-project-description.multi p,
.mhb-agency-project-description.single {
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.5rem;
}
/* Misc */
.mhb-home-banner {
  background:
    linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
    url("/wp-content/uploads/2025/11/MHB-hero.png");
  background-size: cover;
  background-position: center;
}
.mhb-flexbox {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.mhb-flexbox-sm {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.mhb-blog-post-list h3,
.mhb-search-results-list h3 {
  padding-bottom: 3px !important;
}
.mhb-blog-post-list .post-meta,
.mhb-search-results-list .post-meta {
  margin-bottom: 12px;
}
.mhb-blog-post-list .post-meta a,
.mhb-search-results-list .post-meta a {
  text-decoration: underline;
  color: #a15ea5 !important;
}
.mhb-blog-post-list .more-link,
.mhb-search-results-list .more-link {
  font-size: 14px;
  border-radius: 0px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  padding-top: 8px !important;
  padding-right: 16px !important;
  padding-bottom: 8px !important;
  padding-left: 16px !important;
  line-height: 1.7em !important;
  border: 2px solid;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  transition: all 300ms ease 0ms;
  background-color: #a15ea5;
  border-color: #a15ea5;
  color: #fff;
  width: fit-content;
  margin-top: 20px;
}
.mhb-blog-post-list .more-link:hover,
.mhb-search-results-list .more-link:hover {
  background-color: #814e84;
  border-color: #814e84;
}
.mhb-blog-post-list .pagination a,
.mhb-search-results-list .pagination a {
  font-size: 14px;
  border-radius: 0px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
  padding-top: 8px !important;
  padding-right: 16px !important;
  padding-bottom: 8px !important;
  padding-left: 16px !important;
  line-height: 1.7em !important;
  border: 2px solid;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  transition: all 300ms ease 0ms;
  background-color: #365695;
  border-color: #365695;
  color: #fff;
  width: fit-content;
  margin-top: 20px;
}
.mhb-blog-post-list .pagination a:hover,
.mhb-search-results-list .pagination a:hover {
  background-color: #2d4678;
  border-color: #2d4678;
}
@media (min-width: 981px) {
  .mhb-align-center-md {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 980px) {
  .mhb-history-block-parent-wrapper .et_pb_with_border {
    border: none;
  }
  .mhb-history-block-wrapper .et_pb_blurb_content {
    max-width: 100%;
  }
  .mhb-history-block-1::before,
  .mhb-history-block-3::before,
  .mhb-history-block-5::before,
  .mhb-history-block-7::before,
  .mhb-history-block-9::before {
    position: absolute;
    left: 0;
    z-index: 100;
    bottom: -32px;
    margin-left: 0 !important;
  }
  .mhb-history-block-2::after,
  .mhb-history-block-4::after,
  .mhb-history-block-6::after,
  .mhb-history-block-8::after,
  .mhb-history-block-10::after {
    position: absolute;
    right: 0 !important;
    z-index: 100;
    bottom: -32px;
    margin-right: 0 !important;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 26px;
  }
  .mhb-contact-ext-wrapper {
    display: block;
    padding: 15px 0;
  }
  .mhb-contact-ext-wrapper > .et_pb_column {
    width: 100%;
  }
}
