/*
Theme Name: miofr2021
Theme URI: http://underscores.me/
Author: MPHI
Author URI: https://www.mphi.org/
Description: Custom theme for Michigan Overdoes Fatality Review
Version: 1.0.0
Tested up to: 5.7.2
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: miofr2021
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */
@import "font-awesome.min.css";
body {
  min-height: 100vh;
  background: #fff url("../img/bg.jpg") no-repeat;
  background-size: cover;
  overflow-y: scroll;
  -ms-overflow-style: scrollbar;
}

#page {
  margin-bottom: 1.5rem;
}

.site-branding {
  background: #fff;
  padding: 1rem 1rem 0 1rem;
  max-width: 1300px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.site-branding .site-title {
  margin: 0;
}
.site-branding .logo {
  width: 300px;
}

#primary-menu {
  align-items: stretch;
  height: 100%;
}

#site-navigation {
  background: #4a2c7c;
  display: grid;
  justify-items: flex-end;
  align-items: center;
  grid-template-columns: 1fr 100px;
  padding: 0 1rem 0;
  min-height: 64px;
  transition: all 0.5s;
}
@media screen and (max-width: 599px) {
  #site-navigation {
    display: block;
    padding: 0.5rem 1rem 0;
  }
}
#site-navigation .menu-toggle {
  background: #4a2c7c;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0;
  padding: 0.5rem;
  min-height: 44px;
  margin: 0 0.5rem 0.5rem;
}
#site-navigation .menu-toggle[aria-expanded=true] {
  background: #341f56;
}
#site-navigation li {
  min-height: 64px;
}
@media screen and (max-width: 640px) {
  #site-navigation li {
    float: none;
    width: 100%;
  }
}
#site-navigation a {
  display: block;
  padding: 1.25rem 1rem 0.5rem;
  color: #fff;
  border-right: 1px solid transparent;
  height: 64px;
  min-height: 64px;
}
#site-navigation ul.sub-menu {
  background-color: #fff;
  width: 100%;
  min-width: 270px;
  margin: 0;
  padding: 0;
  display: block;
}
#site-navigation ul.sub-menu li {
  margin: 0;
  padding: 0;
  float: none;
  display: block;
}
#site-navigation ul.sub-menu a {
  display: block;
  width: 100%;
  border-top: 1px solid transparent;
  color: #4a2c7c;
}
#site-navigation ul.sub-menu a:hover, #site-navigation ul.sub-menu a:focus {
  background-color: #e6e6e6;
  color: #4a2c7c;
}
#site-navigation li.current-menu-item > a, #site-navigation a:hover, #site-navigation a:focus {
  background-color: #341f56;
  color: #fff;
}
#site-navigation li.menu-item-has-children > a:after {
  margin-left: 0.5rem;
  font-family: FontAwesome;
  content: "\f0d7";
  text-decoration: none;
}
#site-navigation li.menu-item-has-children > a:after:hover, #site-navigation li.menu-item-has-children > a:after:focus {
  text-decoration: none;
}

#site-navigation.toggled ul {
  float: none;
  display: block;
  position: static !important;
  background: transparent;
  box-shadow: none;
}
#site-navigation.toggled .sub-menu li {
  float: none;
  display: block;
  width: 100%;
  min-width: 100%;
  padding-left: 1rem;
}
#site-navigation.toggled .sub-menu a {
  color: #fff;
}
#site-navigation.toggled .sub-menu li.current-menu-item > a, #site-navigation.toggled .sub-menu a:hover, #site-navigation.toggled .sub-menu a:focus {
  background-color: #341f56;
  color: #fff;
}

.toggle-search {
  background: #4a2c7c;
  color: #fff;
  border-color: #fff;
  border-radius: 0;
  cursor: pointer;
  margin: 0.5rem;
}
.toggle-search svg {
  fill: #fff;
  width: 29px;
  height: 29px;
}
.toggle-search:hover, .toggle-search:focus {
  background: #281844;
}

#topbar-search {
  position: absolute;
  right: 0px;
  top: 95px;
  background: #fff;
  width: 300px;
  padding: 0.5rem;
  z-index: 3000;
  border: 1px solid #D1C1E0;
  margin-bottom: 0.5rem;
}
#topbar-search .search-submit {
  display: none;
}
#topbar-search .search-field {
  width: 100%;
}
@media screen and (max-width: 640px) {
  #topbar-search {
    position: static;
    width: 100%;
    margin-bottom: 1rem;
  }
}

.searchOff {
  display: none;
}

.site-description {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

#primary {
  background: #fff;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

body.page .entry-title {
  display: none;
  margin: 0;
}

#secondary, #colophon {
  background: #fff;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

#secondary {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
}

.footer-border {
  margin: 0 auto;
  content: "";
  border-top: 2px solid #4a2c7c;
  width: calc(100% - 3rem);
}

.social-links a {
  color: #4a2c7c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 0.5rem;
}
.social-links a:hover, .social-links a:focus {
  color: #341f56;
  border-bottom-color: #341f56;
}

.site {
  display: flex;
  flex-direction: column;
}

.entry-content {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media screen and (min-width: 960px) {
  .entry-content > *:not(.alignwide, .alignfull) {
    max-width: 68%;
    margin-left: auto;
    margin-right: auto;
  }
}
.entry-content .alignwide {
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.smallheight {
  max-height: 300px;
  overflow: hidden;
}

.no-results.not-found {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
}
.no-results.not-found .search-field {
  width: 50%;
}

.has-primary-purple-color.has-text-color, .has-primary-purple-color.has-inline-color {
  color: #4a2c7c;
}

.has-magenta-color.has-text-color, .has-magenta-color.has-inline-color {
  color: #E74E8D;
}

.has-light-purple-color.has-text-color, .has-light-purple-color.has-inline-color {
  color: #D1C1E0;
}

.has-light-blue-color.has-text-color, .has-light-blue-color.has-inline-color {
  color: #AEE0E8;
}

.has-light-gray-color.has-text-color, .has-light-gray-color.has-inline-color {
  color: #eee;
}

.has-dark-gray-color.has-text-color, .has-dark-gray-color.has-inline-color {
  color: #444;
}

.has-white-color.has-text-color, .has-white-color.has-inline-color {
  color: #fff;
}

.has-primary-purple-background-color {
  background-color: #4a2c7c;
}

.has-light-purple-background-color {
  background-color: #D1C1E0;
}

.has-magenta-background-color {
  background-color: #E74E8D;
}

.has-light-blue-background-color {
  background-color: #AEE0E8;
}

.has-light-gray-background-color {
  background-color: #eee;
}

.has-dark-gray-background-color {
  background-color: #444;
}

.has-white-background-color {
  background-color: #fff;
}

.has-black-background-color {
  background-color: #000;
}

.is-style-large-header-size {
  font-size: 3rem;
}

.is-style-page-header-image {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  aspect-ratio: 16/3;
  overflow: hidden;
}
.is-style-page-header-image img {
  width: calc(100% + 3rem);
}

.is-style-extra-padding .wp-block-column {
  padding: 0.5rem;
}

.is-style-extra-padding-stretch .wp-block-column {
  padding: 0.5rem;
  align-self: stretch;
}

.wp-block-button__link {
  border: 1px inset transparent;
}
.wp-block-button__link:hover, .wp-block-button__link:focus {
  text-decoration: underline;
  border: 1px inset rgba(0, 0, 0, 0.5);
}

.is-style-square-border .wp-block-button__link {
  border-radius: 0;
}

.wpcf7-form-control.wpcf7-submit.has-primary-purple-background-color {
  background-color: #4a2c7c;
  color: #fff;
  border-radius: 0;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
}
.wpcf7-form-control.wpcf7-submit.has-primary-purple-background-color:hover, .wpcf7-form-control.wpcf7-submit.has-primary-purple-background-color:focus {
  background: #281844;
  text-decoration: underline;
}

.callout {
  padding: 0.75rem;
  background: #e1e1e1;
}

.error404 #primary {
  padding: 0 1.5rem 1.5rem;
}

.single-staff_person .entry-header {
  display: none;
}

.single-staff_person .staff-member {
  margin-top: 1.5rem;
}

.single-staff_person .staff-photo,
.single-staff_person .staff-name,
.single-staff_person .staff-title {
  text-align: center;
}

.single-staff_person .navigation.post-navigation {
  display: none;
}

.single-staff_person .ReturnToList {
  text-align: center;
  min-width: 200px;
  margin: 0 auto;
}

.single-staff_person .ReturnToList a {
  display: inline-block;
  min-width: 200px;
  border: 1px solid #ddd;
  padding: 0.5rem;
  font-size: 1.2rem;
  background-color: #eee;
  text-decoration: none;
  color: #4a2c7c;
}

.single-staff_person .ReturnToList a:hover,
.single-staff_person .ReturnToList a:active,
.single-staff_person .ReturnToList a:focus {
  text-decoration: none;
  background: #d5d5d5;
  border-color: #ccc;
  color: #341f56;
}

.single-staff_person .staff-member {
  margin-bottom: 1.5rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin: 0.5rem 0;
}

@media screen and (max-width: 600px) {
  .staff-grid {
    display: block;
  }
  .staff-grid .staff-member {
    margin: 0.5rem 0.5rem 1rem;
  }
}
.staff-grid .staff-name, .staff-grid .staff-title, .staff-grid .staff-photo {
  text-align: center;
}

.staff-grid .btn-post {
  text-align: center;
  background: #eee;
  border: 1px solid #ddd;
  display: block;
  padding: 0.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  color: #4a2c7c;
}

.staff-grid .btn-post:hover,
.staff-grid .btn-post:active,
.staff-grid .btn-post:focus {
  background: #d5d5d5;
  border-color: #ccc;
  color: #341f56;
}

.staff-grid .staff-member {
  border: 1px solid #eee;
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s;
}

.staff-grid .staff-member:hover {
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.partners-funders-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}
@media screen and (max-width: 600px) {
  .partners-funders-list {
    display: block;
  }
  .partners-funders-list .single-partner-funder {
    margin-bottom: 1.5rem;
  }
  .partners-funders-list .single-partner-funder div.partner-funder-image {
    text-align: center;
  }
}

.partners-funders-list .single-partner-funder {
  border: 1px solid #eee;
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s;
  padding: 0.5rem 0 0;
}

.partners-funders-list .single-partner-funder:hover {
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.details-button {
  text-align: center;
  background: #eee;
  border: 1px solid #ddd;
  display: block;
  padding: 0.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  color: #4a2c7c;
}
.details-button:hover, .details-button:active, .details-button:focus {
  background: #d5d5d5;
  border-color: #ccc;
  color: #341f56;
}

.partners-funders-list .single-partner-funder header {
  padding: 0.5rem;
}

.partners-funders-list .single-partner-funder .partner-funder-title {
  text-align: center;
}

.partners-funders-list .single-partner-funder div.partner-funder-image {
  min-height: 180px;
}

.partners-funders-list {
  margin-bottom: 1.5rem;
}

body.single-partner_funder .entry-header {
  display: none;
}
body.single-partner_funder .post-navigation {
  display: none;
}
body.single-partner_funder .single-partner-funder {
  margin-top: 1.5rem;
}
body.single-partner_funder .single-partner-funder div.partner-funder-image, body.single-partner_funder .single-partner-funder .partner-funder-title {
  text-align: center;
}
body.single-partner_funder .single-partner-funder .partner-funder-title {
  font-size: 2rem;
}
body.single-partner_funder .ReturnToList {
  text-align: center;
  min-width: 200px;
  margin: 0 auto;
}
body.single-partner_funder .ReturnToList a {
  display: inline-block;
  min-width: 200px;
  border: 1px solid #ddd;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  background-color: #eee;
  text-decoration: none;
  color: #4a2c7c;
}
body.single-partner_funder .ReturnToList a:hover, body.single-partner_funder .ReturnToList a:active, body.single-partner_funder .ReturnToList a:focus {
  text-decoration: none;
  background: #d5d5d5;
  border-color: #ccc;
  color: #341f56;
}

/*# sourceMappingURL=miofr2021-styles.css.map */
