/**
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         dogmo.com
 Author URI:     https://www.dogmo.com
 Template:       Divi
 Version:        1.0.0
*/
/** 
* SCSS structure loosely based on underscores framework
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Legacy
	- Legacy CSS
# Abstracts
	- Mixins
    - Variables
# Base
    - Typography
    - Elements

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Abstracts
--------------------------------------------------------------*/
/**
* Color notes: Pulled from website:
*    #251f1f - body text in use on site
*       also see: #666, #333, #231f20 - body color set on body tag
*    #98002e - header red text
*
*    #D31145 - red buttons, link text
*    #98002e - link text hover
*    #9E002B - button hover state
*
*    1px solid #98002E - menu rule
*    rgba(0, 0, 0, 0.6) - menu link (a) text 
*    rgba(0,0,0,.03) - submenu background hover
*
*    #d0c6b7 - beige background color
*    #251f1f - footer bg color
**/
.light {
  font-weight: 300;
}

.normal {
  font-weight: 400;
}

.semibold {
  font-weight: 500;
}

.bold {
  font-weight: 600;
}

.heavy {
  font-weight: 600;
}

.ital {
  font-style: italic;
}

/*--------------------------------------------------------------
# Legacy
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/** 
* Only the search partial (and the supporting color and typography variable partials) should be active
* All other partials are in development
**/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  font-family: "canada-type-gibson", "Helvetica", Arial, Lucida, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "canada-type-gibson", "Helvetica", Arial, Lucida, sans-serif;
  font-weight: 600;
  padding-bottom: 0.625rem;
  color: #231f20;
  word-break: break-word;
}

h1, .h1 {
  font-size: 2.1875rem;
  line-height: 1.1;
}

h2, .h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  padding-bottom: 1.25rem;
}
footer h2, footer .h2 {
  font-weight: 500;
  padding-bottom: 10px;
}

h3, .h3 {
  font-size: 1.5625rem;
  line-height: 1.3;
}

h4, .h4 {
  font-size: 1.5rem;
  color: #98002e;
  line-height: 1.3;
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1.125rem;
}

/* 
H1
Font-size:35px;
Line-height:1.1em; (change from 1.3em)
Padding-bottom: ? (match post title)


H2
Gibson Semibold
Font-size:30px;
Line-height:1.1em; (change from 1em)
Padding-bottom:20px; (change from 10px;)

H3
Font-size ok :25px;
Line-height:1.2em; (change from 1em)
Padding-bottom: 

H4
Gibson Semibold?
Font-size:25px;
Line-height:1.2em; (change from 1em)
Padding-bottom: 


*/
p, ul, ol, li {
  font-family: "canada-type-gibson", "Helvetica", Arial, Lucida, sans-serif;
  font-weight: 400;
}

strong {
  font-weight: 600;
}

.caption {
  line-height: 1.5;
}

/* Elements
--------------------------------------------- */
/* MEGA MENU
--------------------------------------------- */
/* adds hover state on main nav */
.about_NPWF_mega_menu:hover:before,
.work_NPWF_mega_menu:hover:before,
.news_NPWF_mega_menu:hover:before {
  background-color: #636466;
  opacity: 0.24;
}

@media all and (max-width: 979px) {
  .megamenu-show:before {
    opacity: 0 !important;
  }
  .about_NPWF_mega_menu:hover:before,
  .work_NPWF_mega_menu:hover:before,
  .news_NPWF_mega_menu:hover:before {
    opacity: 0 !important;
  }
}
#menu_NPWF_about,
#menu_NPWF_work,
#menu_NPWF_news {
  margin-top: 40px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* NEW Adds demarcation for bottom of megamenu */
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#mobile_menu1 {
  top: 89px;
  border-top: 1px solid #231f20;
}

#page-container #et-boc .et-l .et_pb_mega_menu_custblog_1 .et_pb_post .entry-title a {
  color: #231f20 !important;
}

#menu_NPWF_about .underline-links a,
#menu_NPWF_work .underline-links a,
#menu_NPWF_news .underline-links a {
  border-bottom: 2px solid transparent;
}
#menu_NPWF_about .underline-links a:hover,
#menu_NPWF_work .underline-links a:hover,
#menu_NPWF_news .underline-links a:hover {
  border-bottom: 2px solid #231f20;
}

#menu_NPWF_about .underline-links p,
#menu_NPWF_work .underline-links p {
  padding-bottom: 0.5em;
  line-height: 1.3em;
}

#menu_NPWF_about .underline-links a,
#et-boc #menu_NPWF_work .underline-links a {
  color: #231f20;
  font-size: 18px;
  font-weight: 500;
}

.mega-menu-red { /* TODO: consolidate with color variables -ew */
  border-bottom: 2px transparent; /* NEW to prevent shift on hover */
  color: #98002e;
  text-transform: uppercase;
  font-size: 20px;
  font-family: "canada-type-gibson", "Helvetica", Arial, Lucida, sans-serif;
  line-height: 1.3em;
  margin-bottom: 4px; /* NEW Adds a little breathing room for the underline on hover */
}

a.mega-menu-red:hover, a.mega-menu-red:active { /* NEW Adds hover state to submenu headers so it's obvious that they're links */
  /* border-bottom: 2px solid #98002e; */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* ABOUT */
#menu_NPWF_about .dmm-dropdown-ul li a {
  display: inline-block !important;
  border-top: 0px !important;
  padding: 0px !important;
}
#menu_NPWF_about .dmm-dropdown-ul li a:hover {
  border-bottom: 2px solid #231f20 !important;
}
#menu_NPWF_about h2, #menu_NPWF_about p {
  font-family: "canada-type-gibson", "Helvetica", Arial, Lucida, sans-serif !important;
  color: #231f20;
}

#other-resources-menu,
.other-resources-menu-inner {
  display: flex;
  align-items: center;
}
#other-resources-menu img,
.other-resources-menu-inner img {
  margin-right: 8px;
}

#other-resources-menu {
  justify-content: space-between;
  margin-right: 5vw;
}

/* OUR WORK */
#menu_NPWF_work .et_pb_mega_menu_image_2 {
  height: 300px;
}
#menu_NPWF_work .et_pb_mega_menu_image_2 .et_pb_image_wrap {
  width: 100%;
}
#menu_NPWF_work .et_pb_mega_menu_image_2 .et_pb_image_wrap img {
  object-fit: cover;
  width: 100%;
  height: 300px;
}

/* NEWS */
#menu_one_mf_news .et_pb_text_inner {
  font-family: "canada-type-gibson", "Helvetica", Arial, Lucida, sans-serif;
  color: #231f20 !important;
}

#menu_NPWF_news h2 {
  line-height: 1.3em;
}
#menu_NPWF_news article {
  margin-bottom: 0;
  padding-bottom: 0;
}

#other-resources-menu a,
#menu_one_mf_news h2 a {
  color: #231f20 !important;
  font-family: "canada-type-gibson", "Helvetica", Arial, Lucida, sans-serif;
  font-size: 16px;
}

@media all and (max-width: 1150px) {
  #other-resources-menu {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* END MEGA MENU */
/** Search **/
.searchandfilter ul, .searchandfilter li {
  padding: 0;
  font-size: 14px;
  line-height: 2;
}
.searchandfilter ul {
  padding: 0;
}
.searchandfilter ul li {
  padding: 0;
  margin: 1rem 0;
}
.searchandfilter ul li li {
  margin: 0;
  padding: 0;
  align-content: center;
  display: flex;
  flex-wrap: wrap;
}
.searchandfilter .sf-field-post_date .sf_date_field {
  display: none !important;
}
.searchandfilter .sf-field-post_type label.sf-label-checkbox {
  position: relative;
  left: -2000px;
  font-size: 0;
  color: #636466;
  cursor: pointer;
}
.searchandfilter .sf-field-post_type label.sf-label-checkbox:hover, .searchandfilter .sf-field-post_type label.sf-label-checkbox:active, .searchandfilter .sf-field-post_type label.sf-label-checkbox:focus {
  color: #98002e;
}
.searchandfilter .sf-field-post_type input {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  color: #636466;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
.searchandfilter .sf-field-post_type input:after, .searchandfilter .sf-field-post_type input:before {
  width: max-content;
  cursor: pointer;
  color: #636466;
}
.searchandfilter .sf-field-post_type input:after {
  margin-left: 20px;
  min-width: 16rem;
  text-wrap: nowrap;
  word-wrap: normal;
}
.searchandfilter .sf-field-post_type input:before, .searchandfilter .sf-field-post_type input:checked:before {
  font-family: "ETmodules";
  font-size: 1.5rem;
  line-height: 1;
}
.searchandfilter .sf-field-post_type input:before {
  content: "V";
  color: #636466;
}
.searchandfilter .sf-field-post_type input:checked:before {
  content: "Z";
  color: #98002e;
}
.searchandfilter .sf-field-post_type input:hover, .searchandfilter .sf-field-post_type input:hover:after, .searchandfilter .sf-field-post_type input:hover:before, .searchandfilter .sf-field-post_type input:active, .searchandfilter .sf-field-post_type input:active:after, .searchandfilter .sf-field-post_type input:active:before, .searchandfilter .sf-field-post_type input:focus, .searchandfilter .sf-field-post_type input:focus:after, .searchandfilter .sf-field-post_type input:focus:before {
  color: #98002e;
}
.searchandfilter .sf-field-post_type input[value=post]:after {
  content: "Blog posts";
}
.searchandfilter .sf-field-post_type input[value=news_post]:after {
  content: "News room";
}
.searchandfilter .sf-field-post_type input[value=dlp_document]:after {
  content: "PDF resources";
}
.searchandfilter .sf-field-post_type input[value=reports]:after {
  content: "Special reports";
}
.searchandfilter .sf-field-post_type input[value=childbirthconnection]:after {
  content: "Childbirth Connection";
}

.filter-container {
  width: 25%;
  float: left;
}
.filter-container.fullwidth {
  width: 100%;
}
.filter-container .toggle {
  cursor: pointer;
}
.filter-container ul li li {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  width: fit-content;
}

#search-toggle-target {
  display: none;
  position: absolute;
  right: -1.875rem;
  top: -8.5rem;
  background: #fff;
  padding: 1rem;
  z-index: 1;
}
#search-toggle-target form {
  float: right;
  margin-right: 40px;
}

#search-toggle-button {
  display: none;
  position: absolute;
  padding: 0.25rem 0;
  right: 0;
  top: -5.5rem;
  margin-right: 4rem;
}
#search-toggle-button .search-button.search-toggle {
  font-size: 1.5rem;
}

@media screen and (max-width: 980px) {
  #search-toggle-target {
    left: 0;
    right: 0;
    top: -7.5rem;
  }
  #search-toggle-button {
    display: block;
  }
}
.mobile_nav .search-button.search-toggle {
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 980px) {
  #search-toggle-button .search-button.search-toggle {
    padding: 0.75rem 2rem;
  }
}
@media screen and (max-width: 767px) {
  #search-toggle-button .search-button.search-toggle {
    padding: 0.75rem 1rem;
  }
}
@media screen and (max-width: 429px) {
  #search-toggle-button .search-button.search-toggle {
    font-size: 1.75rem;
    padding: 0.75rem 1rem;
  }
  .mobile_menu_bar:before {
    font-size: 50px !important;
  }
}
.search-button, .search-button a,
.search-button.search-toggle,
.search-button.search-toggle a,
.search-button-close,
.search-button-close a {
  align-self: center;
  background: none;
  border: 0;
  color: #251f1f;
  cursor: pointer;
  display: flex;
  font-family: "ETmodules";
  font-size: 1.5rem;
  padding: 0.25rem;
}

.search-button-close, .search-button-close a {
  font-size: 2.25rem;
  padding: 1rem;
  position: absolute;
  right: 0;
}

.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li.search-button a, .et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li.search-button-close a,
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.search-button a,
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.search-button-close a,
.et_pb_menu .et_pb_menu__menu > nav > ul > li.search-button a,
.et_pb_menu .et_pb_menu__menu > nav > ul > li.search-button-close a {
  align-self: center;
  background: none;
  border: 0;
  color: #251f1f;
  cursor: pointer;
  display: flex;
  font-family: "ETmodules";
  font-size: 1.5rem;
  padding: 0.25rem;
}
.et-db #et-boc .et-l .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li.search-button-close,
.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.search-button-close,
.et_pb_menu .et_pb_menu__menu > nav > ul > li.search-button-close {
  font-size: 2.25rem;
  padding: 1rem;
}

.mobile_nav ul li.search-button, .mobile_nav ul li.search-button a, .mobile_nav ul li.search-button-close, .mobile_nav ul li.search-button-close a {
  align-self: center;
  background: none;
  border: 0;
  color: #251f1f;
  cursor: pointer;
  display: flex;
  font-family: "ETmodules";
  font-size: 1.5rem;
  padding: 0.25rem;
}
.mobile_nav ul li.search-button-close {
  font-size: 2.25rem;
  padding: 1rem;
}

.search-submit,
.search-reset {
  cursor: pointer;
  display: flex;
  padding: 0;
  font-size: 1rem;
}
.search-submit a, .search-submit button,
.search-reset a,
.search-reset button {
  display: inline-flex;
  align-items: center;
}
.search-submit a:after, .search-submit a:before, .search-submit button:after, .search-submit button:before,
.search-reset a:after,
.search-reset a:before,
.search-reset button:after,
.search-reset button:before {
  font-family: "ETmodules";
}

.search-reset a:before, .search-reset button:before {
  content: "M";
  font-size: 1.5rem;
  cursor: pointer;
}

.sf-field-submit, .sf-field-submit input, .sf-field-reset, .sf-field-reset input {
  cursor: pointer;
}

.filter-container input[type=text] {
  border: 1px solid #e7e0d8 !important;
  margin: 0.25rem 0;
  padding: 0.5rem 1rem;
  width: 100%;
}
.filter-container select.sf-input-select.daterangeselect {
  width: 200px;
  border: 1px solid #e7e0d8 !important;
  cursor: pointer;
  font-weight: 400;
  margin: 0.25rem 0;
  padding: 0.6rem 1rem;
}
.filter-container .sf-field-submit, .filter-container .sf-field-reset {
  cursor: pointer;
  display: inline-flex !important;
  width: fit-content;
}
.filter-container .sf-field-submit input, .filter-container .sf-field-reset input {
  background: none;
  border: 2px solid #98002e;
  color: #98002e;
  font-weight: 500;
  cursor: pointer;
  padding-top: 4px !important;
  padding-right: 30px !important;
  padding-bottom: 2px !important;
  padding-left: 30px !important;
  border-radius: 8px;
  transition: all 300ms ease 0ms;
}
.filter-container .sf-field-submit {
  margin-right: 0.5rem !important;
}
.filter-container .sf-field-submit input {
  background-color: #98002e;
  color: #fff;
}

.search-bar-top {
  display: flex;
  justify-content: flex-end;
}
.search-bar-top .searchandfilter ul {
  display: flex;
  align-self: self-start;
}
.search-bar-top .searchandfilter ul li {
  display: flex;
}
.search-bar-top .searchandfilter input {
  border: 1px solid #e7e0d8 !important;
  padding: 15px 10px;
  width: 540px;
}
.search-bar-top .searchandfilter input[type=submit] {
  font-family: "ETmodules" !important;
  height: 56px;
  width: fit-content;
  padding: 1rem;
}

.search-results {
  margin-bottom: 50px !important;
}
.search-results .search-results-header {
  color: #9d9fa2;
  padding-bottom: 2rem;
}
.search-results .search-results-header .search-results-term {
  color: #231f20;
}
.search-results .et_pb_post {
  min-height: 170px;
}
.search-results .et_pb_post:not(:last-of-type) {
  border-bottom: 1px solid #DDDDDD !important;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.search-results .et_pb_post .entry-featured-image-url {
  display: flex !important;
  width: fit-content;
  float: left;
}
.search-results .et_pb_post .entry-featured-image-url img, .search-results .et_pb_post .entry-featured-image-url span {
  vertical-align: bottom;
  max-width: 100%;
  min-width: 115px;
}
.search-results .et_pb_post .post-meta {
  font-size: 18px;
  padding-left: 120px;
}
.search-results .et_pb_post .post-meta, .search-results .et_pb_post .post-meta a {
  color: #98002e !important;
  font-size: 18px !important;
  line-height: 1em;
}
.search-results .et_pb_post .post-content {
  line-height: 1.3em;
  padding-left: 120px;
}
.search-results .et_pb_post .post-content p {
  line-height: 1.3em;
}
@media screen and (min-width: 981px) {
  .search-results .entry-featured-image-url img, .search-results .entry-featured-image-url span, .search-results .entry-featured-image-url .placeholder-thumb-img {
    width: 100px;
    float: left;
  }
  .search-results .entry-title {
    padding-bottom: 5px;
    padding-left: 120px;
  }
}
@media screen and (max-width: 980px) {
  .search-results .et_pb_post .entry-title {
    font-size: 19px;
    line-height: 1.1em;
  }
  .search-results .et_pb_post h2 {
    font-size: 27px;
  }
  .search-results .et_pb_post .post-meta {
    font-size: 16px;
  }
  .search-results .et_pb_post .post-content {
    font-size: 17px;
  }
}
@media screen and (max-width: 767px) {
  .search-results .et_pb_post .entry-featured-image-url img, .search-results .et_pb_post .entry-featured-image-url span {
    width: 100px;
    float: left;
    margin-right: 10px;
    margin-bottom: 4px;
  }
  .search-results .et_pb_post .entry-title {
    font-size: 17px;
    line-height: 1.1em;
    padding-bottom: 5px;
    padding-left: 110px;
  }
  .search-results .et_pb_post .post-meta, .search-results .et_pb_post .post-content {
    padding-left: 0;
  }
  .search-results .et_pb_post .post-meta {
    font-size: 16px;
  }
  .search-results .et_pb_post .post-content {
    font-size: 17px;
  }
}
.search-results .et_pb_section_0_tb_body {
  border-bottom-width: 1px;
  border-bottom-color: #fff;
  height: 300px;
  width: 100%;
  max-width: 100%;
}
.search-results .et_pb_text {
  color: #98002e;
  line-height: 1.3em;
  font-weight: 600;
  font-size: 35px;
  line-height: 1.3em;
  margin-top: 15px;
  text-transform: normal;
}
@media screen and (max-width: 1025px) {
  .search-results .et_pb_section_0_tb_body .et_pb_row {
    width: 100% !important;
  }
}
@media screen and (max-width: 980px) {
  .search-results .et_pb_section_0_tb_body {
    height: 250px;
  }
  .search-results .et_pb_section_0_tb_body .et_pb_text {
    font-size: 35px;
    margin-top: 15px;
    padding-left: 0;
  }
}
@media screen and (max-width: 825px) {
  .search-results .et_pb_section_0_tb_body .et_pb_row {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .search-results .et_pb_section_0_tb_body {
    height: 225px;
  }
  .search-results .et_pb_section_0_tb_body .et_pb_row {
    width: 100%;
    padding: 0 50px !important;
  }
  .search-results .et_pb_section_0_tb_body .et_pb_text {
    font-size: 32px;
    margin-top: 0;
  }
}
.search-results .et_pb_with_background {
  background: #e7e0d8 !important;
}
.search-results .section_has_divider.et_pb_bottom_divider .et_pb_bottom_inside_divider {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNGRkZGRkYiPjxwYXRoIGQ9Ik0zMjAgMjhDMTYwIDI4IDgwIDQ5IDAgNzBWMGgxMjgwdjcwYy04MCAyMS0xNjAgNDItMzIwIDQyLTMyMCAwLTMyMC04NC02NDAtODR6Ii8+PC9nPjwvc3ZnPg==);
  background-size: 100% 100px;
  background-repeat: no-repeat;
  bottom: 0;
  height: 100px;
  z-index: 1;
  transform: scale(1, -1);
}
.search-results .search-returns-container {
  width: 70%;
  float: left;
  margin-left: 5%;
  margin-bottom: 5rem;
}
.search-results .pagination a {
  color: #fff !important;
}
.search-results .pagination .alignleft a, .search-results .pagination .alignright a {
  background-color: #98002e !important;
  border: 2px solid #98002e !important;
  border-radius: 8px !important;
  font-family: canada-type-gibson !important;
  font-weight: 500 !important;
  padding: 0.4em 1.5em;
  text-transform: none !important;
}
.search-results .type-childbirthconnection:before,
.search-results .type-dlp_document:before,
.search-results .type-news_post:before,
.search-results .type-page:before,
.search-results .type-post:before,
.search-results .type-reports:before {
  text-transform: uppercase;
  color: #333;
  font-size: 0.85rem;
  background: #e7e0d8;
  padding: 0.5rem 0.5rem 0.3rem 0.5rem;
  display: flex;
  width: 100%;
  min-width: 100px;
  max-width: fit-content;
  text-align: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  margin-right: auto;
}
.search-results .type-childbirthconnection:before {
  content: "Childbirth Connection";
}
.search-results .type-dlp_document:before {
  content: "PDF Resource";
}
.search-results .type-news_post:before {
  content: "News Room";
}
.search-results .type-page:before {
  content: "webpage";
}
.search-results .type-post:before {
  content: "Blog Post";
}
.search-results .type-reports:before {
  content: "Special Report";
}
.search-results .page .placeholder-thumb-img:before {
  content: url(../../../wp-content/uploads/search-icon-webpages.svg);
}
.search-results .post .placeholder-thumb-img:before {
  content: url(../../../wp-content/uploads/search-icon-blog.svg);
}
.search-results .news_post .placeholder-thumb-img:before {
  content: url(../../../wp-content/uploads/search-icon-news.svg);
}
.search-results .reports .placeholder-thumb-img:before {
  content: url(../../../wp-content/uploads/search-icon-reports.svg);
}
.search-results .childbirthconnection .placeholder-thumb-img:before {
  content: url(../../../wp-content/uploads/search-icon-cbc.svg);
}
.search-results .dlp_document .placeholder-thumb-img:before {
  content: url(../../../wp-content/uploads/search-icon-resources.svg);
}

@media screen and (max-width: 767px) {
  .search-bar-top {
    justify-content: center;
  }
  .search-bar-top .searchandfilter .sf-input-text {
    width: 60vw;
    margin-left: 10vw;
  }
  .search-results .pagination .alignleft a, .search-results .pagination .alignright a {
    padding: 0.4em 0.4em;
  }
  .search-results .filter-container,
  .search-results .search-returns-container {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-bottom: 2rem;
  }
  .search-results .filter-container {
    display: inline-flex;
    flex-direction: column-reverse;
  }
  .search-results .filter-container .searchandfilter > ul {
    margin-bottom: 2rem;
    border-bottom: 1px solid #d0c6b7;
    padding-bottom: 1rem;
  }
  .search-results .filter-container .searchandfilter ul ul {
    margin-bottom: 0;
  }
  .search-results .filter-container .searchandfilter ul li {
    display: inline-flex;
    flex-direction: column;
  }
  .search-results .filter-container .searchandfilter ul li.sf-field-search {
    width: calc(50% - 1rem) !important;
    margin: 0;
  }
  .search-results .filter-container .searchandfilter ul li.sf-field-post_date {
    display: none;
  }
  .search-results .filter-container .searchandfilter ul li.sf-field-post_date {
    margin-left: 1rem;
  }
  .search-results .filter-container .searchandfilter ul .sf-field-post_date .sf_date_field {
    display: none !important;
  }
  .search-results .filter-container .searchandfilter ul .sf-field-post_date ul {
    display: none;
  }
  .search-results .filter-container .searchandfilter ul .sf-field-post_date ul li {
    width: fit-content;
  }
  .search-results .filter-container .searchandfilter ul .sf-field-post_date .sf-input-select.daterangeselect {
    width: 100%;
    min-width: none;
  }
  .search-results .filter-container .searchandfilter ul .sf-field-post_type {
    width: 100%;
  }
  .search-results .filter-container .searchandfilter ul .sf-field-post_type ul li {
    display: flex;
    flex-direction: row;
    margin: 0;
    width: fit-content;
    min-width: 16rem;
  }
}
/* Hides display of non-megamenu submenu */
/* Expanded fix to target lower-level CBC single posts, Report single posts, Event single posts and archive, news_posts */
.archive.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.childbirthconnection-template-default.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.single-childbirthconnection.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.post-type-archive-childbirthconnection.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.reports-template-default.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.single-reports.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.events-template-default.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.single-events.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.post-type-archive-events.et-db #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.news_post-template-default #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul,
.single-news_post #et-boc .et-l .et-menu-nav li.mega-menu:hover > ul {
  opacity: 0 !important;
  visibility: hidden !important;
}

.archive #et-boc .et-l #menu_NPWF_news h2 a,
.childbirthconnection-template-default #et-boc .et-l #menu_NPWF_news h2 a,
.single-childbirthconnection #et-boc .et-l #menu_NPWF_news h2 a,
.post-type-archive-childbirthconnection #et-boc .et-l #menu_NPWF_news h2 a,
.reports-template-default #et-boc .et-l #menu_NPWF_news h2 a,
.single-reports #et-boc .et-l #menu_NPWF_news h2 a,
.events-template-default #et-boc .et-l #menu_NPWF_news h2 a,
.single-events #et-boc .et-l #menu_NPWF_news h2 a,
.post-type-archive-events #et-boc .et-l #menu_NPWF_news h2 a,
.news_post-template-default #et-boc .et-l #menu_NPWF_news h2 a,
.single-news_post #et-boc .et-l #menu_NPWF_news h2 a {
  color: #231f20 !important;
}

.archive #menu_NPWF_news article,
.childbirthconnection-template-default #menu_NPWF_news article,
.single-childbirthconnection #menu_NPWF_news article,
.post-type-archive-childbirthconnection #menu_NPWF_news article,
.reports-template-default #menu_NPWF_news article,
.single-reports #menu_NPWF_news article,
.events-template-default #menu_NPWF_news article,
.single-events #menu_NPWF_news article,
.post-type-archive-events #menu_NPWF_news article,
.news_post-template-default #menu_NPWF_news article,
.single-news_post #menu_NPWF_news article {
  margin-bottom: 0 !important; /* This looks like a duplicate of the rule on line 191 */
}

.archive .about_NPWF_mega_menu:before,
.archive .work_NPWF_mega_menu:before,
.archive .news_NPWF_mega_menu:before,
.childbirthconnection-template-default .about_NPWF_mega_menu:before,
.childbirthconnection-template-default .work_NPWF_mega_menu:before,
.childbirthconnection-template-default .news_NPWF_mega_menu:before,
.single-childbirthconnection .about_NPWF_mega_menu:before,
.single-childbirthconnection .work_NPWF_mega_menu:before,
.single-childbirthconnection .news_NPWF_mega_menu:before,
.post-type-archive-childbirthconnection .about_NPWF_mega_menu:before,
.post-type-archive-childbirthconnection .work_NPWF_mega_menu:before,
.post-type-archive-childbirthconnection .news_NPWF_mega_menu:before,
.reports-template-default .about_NPWF_mega_menu:before,
.reports-template-default .work_NPWF_mega_menu:before,
.reports-template-default .news_NPWF_mega_menu:before,
.single-reports .about_NPWF_mega_menu:before,
.single-reports .work_NPWF_mega_menu:before,
.single-reports .news_NPWF_mega_menu:before,
.events-template-default .about_NPWF_mega_menu:before,
.events-template-default .work_NPWF_mega_menu:before,
.events-template-default .news_NPWF_mega_menu:before,
.single-events .about_NPWF_mega_menu:before,
.single-events .work_NPWF_mega_menu:before,
.single-events .news_NPWF_mega_menu:before,
.post-type-archive-events .about_NPWF_mega_menu:before,
.post-type-archive-events .work_NPWF_mega_menu:before,
.post-type-archive-events .news_NPWF_mega_menu:before,
.news_post-template-default .about_NPWF_mega_menu:before,
.news_post-template-default .work_NPWF_mega_menu:before,
.news_post-template-default .news_NPWF_mega_menu:before,
.single-news_post .about_NPWF_mega_menu:before,
.single-news_post .work_NPWF_mega_menu:before,
.single-news_post .news_NPWF_mega_menu:before {
  bottom: 6px !important;
}

@media screen and (max-width: 979px) {
  .news_NPWF_mega_menu:before,
  .about_NPWF_mega_menu:before,
  .work_NPWF_mega_menu:before {
    opacity: 0 !important;
  }
}
/* END KLUDGE */
/* Legacy
--------------------------------------------- */

.searchandfilter ul li.sf-field-post_date {
  display: none;
}
