@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");


section#homepage-featured {
  background-color: #eeeff3;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

@media screen and (max-width: 39.9375em) {
  section#homepage-featured {
    background-color: white;
  }
}

section#homepage-featured img {
  object-fit: contain;
}
section#homepage-featured div#other-heritage-months {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

section#homepage-featured
  div#other-heritage-months
  div.row
  div.columns:last-child {
  padding-left: 10px;
}

section#homepage-featured div#other-heritage-months img.cropped-page-preview {
  height: 110px;
}

section#homepage-featured div#other-heritage-months p#other-header {
  margin-bottom: 0.2rem;
}

section#homepage-featured div#other-heritage-months div.row div.columns {
  text-align: left;
}

section#homepage-featured div#other-heritage-months p {
  margin-bottom: 0.3rem;
}

/*todo: review -- had to change this to be on a class because if its on an id it'll override class styles
https://learn.freecodecamp.org/responsive-web-design/basic-css/override-class-declarations-by-styling-id-attributes/
*/
section.homepage-featured a {
  color: #c5258f;
  font-weight: 400;
  text-decoration: underline;
}

section.homepage-featured a:hover {
  font-weight: bold;
  color: #c5258f;
}

section#homepage-search {
  min-height: 500px;
  background-size: cover;
}

div#search-wrapper {
  margin: 50px auto 0;
  color: #ffffff;
  background-color: rgba(39, 46, 94, 0.95);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

div#search-wrapper h1 {
  font-size: 26px;
  color: #ee933b;
  font-family: "Roboto Slab", serif;
  font-weight: bold;
}

div#search-wrapper h2 {
  font-family: "Roboto Slab", serif;
  font-size: 18px;
  color: #ffffff;
}

div#search-wrapper h2.search-title span.element {
    color: #EE933B;
}

div#search-box {
  /*margin-top: 31px;*/
  z-index: 500;
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.5);
  background-color: rgba(92, 98, 143, 0.9);
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0px 25px;
}

form#dropdown-search {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
  padding: 10px 0;
}

form button.dropdown-search {
  border: solid 1px white;
  border-radius: 0px;
  background-color: #c5258f;
  display: flex;
  align-items: center;
  padding: 0px 10px;
  text-decoration: none !important;
}

form#advanced-search-form {
  padding-bottom: 1rem;
}

form#advanced-search-form button.dropdown-search i {
  padding: 0.5rem 0rem !important;
  background-color: transparent;
}

form button.dropdown-search:hover {
  background-color: #891e5f;
}

form#dropdown-search button.dropdown-search i.fa-search {
  background-color: transparent;
  padding: 0.5rem 0.5rem 0.5rem 0rem;
}

form#dropdown-search button.dropdown-search span {
  font-family: Roboto;
  font-size: 17px;
}

form#dropdown-search div.dropdown-pane {
  width: 200px;
  border-radius: 6px;
  padding: 0px;
}

form#dropdown-search div.dropdown-pane ul.dropdown-list {
  list-style: none;
  margin: 0px;
}

form#dropdown-search div.dropdown-pane ul.dropdown-list li {
  font-family: Roboto;
  font-size: 14px;
  color: #4a4a4a;
  cursor: pointer;
  padding: 5px 10px;
}

form#dropdown-search div.dropdown-pane ul.dropdown-list li:hover {
  background-color: #f3d3e9;
  font-weight: bold;
}

form#dropdown-search span.dropdown-text {
  white-space: nowrap;
  padding: 0px 5px;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  height: 1.5rem;
}

form#dropdown-search button.search-select {
    font-size: 15px;
    min-height: 1.5rem;
    font-family: Roboto, sans-serif;
    width: 200px;
    background-color: white;
    border-radius: 6px;
    color: #4a4a4a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}


form#dropdown-search button.search-select i.fa {
  padding: 0px;
  font-size: 15px;
  background-color: white;
  color: #c5258f;
  -moz-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

li.disabled-item {
  pointer-events: none;
  color: rgb(235, 235, 228) !important;
}

div.search-grouping {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
}

div.advanced-search-wrapper {
  /*padding: 0 0 1rem;*/
  width: 80%;
  text-align: center;
}

div.advanced-search-wrapper button#advanced-search {
  padding: 1rem 0;
}

div.advanced-search-wrapper button {
  color: #f3d3e9;
  font-family: Roboto;
  font-size: 17px;
  text-decoration: underline;
  cursor: pointer;
}

div.advanced-search-wrapper div.search-flex-field input {
  font-family: Roboto, sans-serif !important;
  font-size: 14px !important;
  border: solid 1px #c5258f;
}

div.advanced-search-wrapper
  div.search-flex-field
  input::-webkit-input-placeholder {
  font-family: Roboto, sans-serif;
  font-size: 14px;
}

div.advanced-search-wrapper div.search-flex-field input::placeholder {
  font-family: Roboto, sans-serif;
  font-size: 14px;
}

div.advanced-search-wrapper div.search-flex-field input::-moz-placeholder {
  font-family: Roboto, sans-serif;
  font-size: 14px;
}

div.advanced-search-wrapper div.search-flex-field input::-ms-placeholder {
  font-family: Roboto, sans-serif;
  font-size: 14px;
}

div.advanced-search-wrapper button:hover {
  font-weight: 500;
}

div.advanced-search-wrapper div#advanced-search-section {
  display: flex;
  flex-direction: column;
}

div.advanced-search-wrapper div#advanced-search-section div.search-flex-field {
  margin-right: 0px;
}

div.advanced-search-wrapper button.dropdown-search {
  border: none;
}

/*div.advanced-search-wrapper button#hide-advanced-search {*/
/*margin-top: 1rem;*/
/*}*/

div.hide-search-wrapper {
  text-align: center;
}

section#explainer {
  width: 100%;
  height: 150px;
}
section#explainer div#explainer-body {
  background-color: rgba(92, 98, 143, 0.9);
  height: 100%;
  border-bottom-left-radius: 25%;
  border-bottom-right-radius: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20%;
  text-align: center;
}

div#explainer-body h3 {
  font-family: Roboto;
  font-size: 18px;
  color: #ffffff;
}

p#other-months {
  font-weight: bold;
  color: #272e5e;
  font-size: 18px;
}

button.primary-button {
  border-radius: 0;
  /*fixme: for some reason .theme-aqua .button overrides this even though this is higher in the sheet?? look into
        enqueueing styles so we don't have to set !important*/
  background-color: transparent !important;
  border: solid 1px #c5258f;
  margin: 0;
}

button.primary-button.long {
  width: 304px;
}

button.primary-button:hover {
  /*see fix me above*/
  background-color: #c5258f !important;
}

button.primary-button.small {
  padding: 0.5rem;
}

a button.primary-button {
  text-decoration: none;
  color: #c5258f !important;
  font-family: Roboto;
}

a:hover button.primary-button {
  color: #ffffff !important;
}

div.centered-button {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 10px 1rem;
  margin-left: -5px;
}

div.centered-button button.primary-button {
  align-self: end;
}

div.truncated-text {
  height: 161px;
  position: relative;
  margin-bottom: 20px;
}

section#homepage-featured .item-single-featured p.subheader {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: #4a4a4a;
}

.featured-card-pad {
  padding: 0 1.5rem !important;
}

/* special media queries to make the inline dropdown search form look nice */
@media screen and (max-width: 1033px) {
  div#search-wrapper {
    max-width: 655px;
  }
  div.search-grouping {
    margin-bottom: 5px;
    margin-top: 5px;
  }
}

@media screen and (min-width: 1034px) {
  div#search-wrapper {
    padding: 50px 1.5rem;
    max-width: 1055px;
    margin: 50px auto 0 !important;
  }
  div#search-box {
    padding: 0 25px;
  }
  div.search-grouping {
    margin-bottom: 10px;
  }
}
/*media query to make sure  the typed description doesn't jitter from 2 lines to 3*/
@media screen and (max-width: 405px) {
    h2.search-title {
        height: 75px;
    }
}
/*end special media queries*/

@media screen and (min-width: 40em) {
  .p-y-2-medium {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  section#homepage-search {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  div#search-box,
  div#advanced-search-section {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 39.9375em) {
  .p-x-0-small {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .p-y-0-small {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  div.feature-card div.feature-card-text.featured-story {
    box-shadow: 0 0 7px 0 rgba(238, 147, 59, 0.5);
    border: solid 1px #ee933b;
    border-top: 0;
    margin-bottom: 1rem;
  }
  div.feature-card div.feature-card-text.featured-story:hover {
    border: solid 2px #ee933b;
    border-top: 0;
  }
  button.primary-button.long {
    width: 100%;
  }
  div.centered-button {
    padding: 0;
    margin-left: 0;
  }
  div.centered-button a {
    width: 100%;
  }
  div.feature-card .feature-card-header {
    color: #272e5e;
  }
  .home-header-text {
    color: #af5b26;
  }
  section#homepage-featured div#other-heritage-months div.row div.columns {
    text-align: center;
  }

  section#homepage-search {
    padding: 0;
    background-image: none !important;
  }

  section#homepage-search div#search-wrapper {
    margin: 0;
    padding: 1rem 0 0;
  }
  section#homepage-search div#search-wrapper div#search-box {
    width: 100%;
    box-shadow: none;
    margin-top: 23px;
  }
  .search-title {
    padding: 0 15px;
    text-align: left;
    width: 100%;
  }
  div.advanced-search-wrapper {
    width: 100%;
    background-color: rgba(92, 98, 143, 0.9);
  }
  div.advanced-search-wrapper .flex-form {
    margin: 0 1rem;
  }

  div.advanced-search-wrapper div#advanced-search-section {
    flex-direction: column-reverse;
  }
  div.advanced-search-wrapper button#advanced-search {
    margin-top: 0;
    padding-top: 0;
  }

  div.advanced-search-wrapper button#hide-advanced-search {
    margin-top: 0;
    margin-bottom: 1rem;
  }

  form#dropdown-search button#community-dropdown-button,
  form#dropdown-search div#community-dropdown {
    width: 222px;
  }
  form#dropdown-search button#neighborhood-dropdown-button,
  form#dropdown-search div#neighborhood-dropdown {
    width: 270px;
  }

  form#dropdown-search {
    flex-direction: column;
  }
  div.search-grouping {
    align-self: end;
    margin: 5px 0 12px;
  }
  form#dropdown-search span.dropdown-text.first {
    padding-left: 0;
  }
  form#dropdown-search span.dropdown-text:not(.first) {
    padding: 0 10px;
  }

  form#advanced-search-form {
    background-color: white;
    padding-top: 2rem;
  }
}
