/* GENERAL */
body {
  /* text-rendering: geometricPrecision; */
}
ol,
li {
  color: #9b9b9b;
}
/* ICON FONT */
@font-face {
  font-family: iconic;
  src: url(fonts/open-iconic.woff);
}

/* MENU */
.w-dropdown-toggle {
  padding: 0px;
  padding-right: 20px;
}
.dropdown-list .nav-link {
  color: #333;
  padding: 10px;
  font-size: 0.8em;
  line-height: 1.5em;
  letter-spacing: 1px;
}
.dropdown-list .w-nav-link {
  padding: 10px;
}
.search .nav-link {
  color: #333;
}

/* search form */
form.is-search-form.is-form-style {
  display: flex;
}
.search-form {
  position: absolute;
  width: 350px;
  margin-bottom: 0px;
  margin-right: 20px;
  right: 0px;
  top: 65px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  display: flex;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}
.search-form.active {
  z-index: 100;
  opacity: 1;
  pointer-events: auto;
}
.search-form.mobile {
  position: static;
  opacity: 1;
  pointer-events: auto;
  top: 0px;
  margin: 0 auto;
  margin-top: 10px;
  display: none;
}
.search-form label {
  display: inline;
}
.search-form .search-field {
  height: 40px;
  float: initial;
  margin-right: 10px;
  background: #f3f3f3;
}
.search-form .search-submit {
  height: 40px;
  width: 40px;
  color: white;
  background: #db2089;
  transition: all 200ms ease;
}
.search-form .search-submit:hover {
  background: #333;
}
.oi.nav-link {
  cursor: pointer;
}
@media (max-width: 991px) {
  .search-form {
    width: 90%;
    margin-right: 10px;
  }
  .search-form .search-field {
    width: 90%;
    background: #f3f3f3;
    border-bottom: 2px solid #333;
  }
  .oi.nav-link {
    display: none;
  }
  .search-form.desktop {
    display: none;
  }
  .search-form.mobile {
    display: flex;
  }
}
/* hide resource form in nav */
.nav-menu .resources-search-form {
  display: none;
}
.hero-text-wrapper .search-form {
  display: none;
}

/* RESOURCES FORM */
.searchandfilter {
  padding: 20px;
  background: RGB(247, 247, 247);
}
.searchandfilter ul > li:nth-child(2) > ul > li:not(.current-cat) {
  display: none;
}
.searchandfilter > div > ul > li:nth-child(2) {
  display: block;
}
.current-cat > label {
  display: none;
}
.searchandfilter li.current-cat {
  display: inline-block;
}
.children > li {
  display: inline-block !important;
}
.searchandfilter li {
  color: #333;
}
.searchandfilter li > ul {
  padding-left: 0px !important;
  margin: 0px;
}
.searchandfilter h4 {
  margin-bottom: 5px;
  margin: 20px 0px 5px;
}
.searchandfilter > div > ul > li:last-child {
  display: block;
}
.searchandfilter input[type="submit"] {
  padding: 5px 40px;
  margin: 20px 0px 5px;
}

.resource-tags {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -webkit-box-align: center;
  align-items: center;
  margin-right: 20px;
  color: #333;
}
.resource-tags label {
  margin-bottom: 0px;
}
.resource-tag-item {
  margin-right: 5px;
  /* line-height: 1em; */
}
.resource-tags input {
  margin-right: 5px;
}

/* TAG STYLING */
.resource-tag-item,
.resource-tag-item label {
  list-style: none;
  display: inline-block;
}

/* BACKGROUND IMAGE URL UPDATES */
.hero-content-block.right {
  background-position: 50%, 50% 50%;
}

/* HOME */
.section.featured-story-section {
  padding-bottom: 50px;
}
.about-column-block {
  position: relative;
  z-index: 5;
}
.no-featured-img.featured-story-column-block {
  width: 100%;
  height: auto;
}
.no-featured-img .featured-story-content-block {
  max-width: none;
}
.home .hero-content-block .bg-element {
  display: none;
}

/* EVENTS */
.category-link-block.large {
  position: relative;
  z-index: 5;
}
.category-main-title.large {
  margin-right: 120px;
}
.address {
  font-size: 1.15em;
}

/* BLOG POST */
/* fix image in block posts */
.story-wrapper img {
  height: auto;
}
.post-info-title.author {
  display: block;
}
.small-author-block .small-author-title {
  margin-top: 15px;
  display: inline-block;
  color: #ffffff;
  -webkit-transition: color 200ms ease;
  -o-transition: color 200ms ease;
  transition: color 200ms ease;
}
.small-author-block .small-author-title:hover {
  color: #db2089;
}
.subpage-header-block.recent-post-link {
  z-index: 5;
}
.dropdown-toggle .nav-link {
  margin-bottom: 0px;
  line-height: 22px;
}
.dropdown-toggle.nav-link:hover,
.dropdown-toggle .nav-link:hover {
  text-decoration: none;
}
.no-featured-img .subpage-header-section.post-header {
  height: 100%;
  padding-bottom: 50px;
}
.no-featured-image .hero-text-wrapper.post-version {
  max-width: 575px;
  /* max-width: 100%; */
  margin: 0px 50px;
  padding: 0px;
}
.no-featured-image .nav-link,
.no-featured-image .learn-more-link-block.read-now,
.no-featured-image .small-author-title {
  color: #333;
}
.no-featured-image .bg-element.post-page {
  display: none;
}
.no-featured-image .small-author-block.in-header {
  position: absolute;
  left: auto;
  right: 40px;
  margin-bottom: 0px;
  /* background: papayawhip; */
}
.no-featured-image .learn-more-link-block.read-now:hover {
  color: #db2089;
}
.section.no-featured-img {
  padding: 120px 40px 0px 40px;
}
@media (max-width: 768px) {
  .section.no-featured-img {
    padding-top: 90px;
  }
}

/* Blog Page */
.no-featured-img.page-template-page-blog .hero-text-wrapper.post-version,
.no-featured-img .hero-text-wrapper.post-version {
  max-width: 100%;
  margin: 0px;
  padding: 0px;
}
.no-featured-image.page-template-page-blog .subpage-header-section.post-header,
.no-featured-image.archive .subpage-header-section.post-header {
  padding-bottom: 0px;
}
.post-item.w-dyn-item.no-featured-img {
  margin-top: 60px;
}
.bg-element.bottom-right {
  display: none;
}

/* pagination */
.pagination {
  margin-top: 8%;
  font-size: 2em;
  font-weight: 600;
  text-align: center;
}
.pagination a,
.pagination span {
  padding-left: 5px;
  padding-right: 5px;
}

@media (max-width: 991px) {
  .no-featured-image .small-author-block.in-header {
    position: static;
    padding-left: 0;
    max-width: none;
  }
  .no-featured-image .hero-text-wrapper.post-version {
    max-width: none;
    margin: 0px;
    padding: 0px;
  }
}
@media (max-width: 767px) {
  .post-item.w-dyn-item.no-featured-img {
    margin-top: 40px;
  }
  .post-block {
    margin-top: 40px;
  }
  .pagination {
    margin-top: 8%;
    font-weight: 600;
    text-align: center;
  }
  .pagination a,
  .pagination span {
    padding-left: 2px;
    padding-right: 2px;
  }
}
@media (max-width: 400px) {
  .pagination {
    font-size: 1.25em;
  }
}

/* allow floats mobile + */
@media (min-width: 768px) {
  .rtb .alignleft {
    float: left;
    min-width: unset;
    margin: 0px 20px 0px 0px;
  }
  .rtb .alignright {
    float: right;
    min-width: unset;
    margin: 0px 0px 0px 20px;
  }
}
@media (max-width: 991px) {
  .menu-button {
    border-color: #000;
    color: #000;
  }
  .menu-button.close-version {
    right: 0;
  }
  .w-nav[data-collapse="medium"] .w-dropdown-list {
    margin-left: 25px;
  }
}

/* ARCHIVES */
.archive .section.less-top-padding {
  background-color: transparent;
}
.archive .cats-tags {
  margin-top: 15%;
  background-color: transparent;
}
.category-link-block.small {
  background-color: #ffffff;
}
.section.cats-tags .bg-element.small {
  display: none;
}
.archive .subpage-header-block {
  z-index: 2;
}
.archive .bg-element.small.top-left {
  display: none;
}
.archive .posts-list {
  display: block;
}
@media (max-width: 768px) {
  .archive .bg-element.small {
    display: none;
  }
}

/* RESOURCES ARCHIVE */
.category-resources .about-section {
  padding-top: 60px;
}

/* RESOURCES PAGE */
.page-resources .subpage-header-section.post-header {
  padding-bottom: 0px;
}
.page-resources .section.less-top-padding {
  background-color: transparent;
}
.page-resources .hero-text-wrapper.post-version {
  margin: 0px;
}
.cat-link {
  margin-right: 5px;
  padding: 4px 10px 3px;
  border-radius: 4px;
  background-color: #db2089;
  color: #ffffff;
  font-size: 15px;
  line-height: 27px;
  padding-bottom: 0.3em;
}
.cat-button {
  display: inline-block;
  margin-bottom: 10px;
}
.page-resources .section-title-wrapper {
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .page-resources .posts-list-wrapper.with-search {
    margin-bottom: 0px;
  }
  .page-resources .section.less-top-padding {
    padding: 30px 0px 0px 0px;
    background-color: transparent;
  }
}
@media (max-width: 991px) {
  .page-resources .section.less-top-padding {
    padding: 0px;
  }
}

/* CONTACT */
.subpage-header-section.contact {
  height: 100%;
}
.page-contact .subpage-header-block {
  height: 80vh;
  background-color: unset;
}
.subpage-header-block.with-form {
  height: 100%;
}
.contact-form-wrapper {
  margin-top: 80px;
  margin-bottom: 80px;
}
.contact-form-wrapper label {
  font-size: 0.8em;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}
.contact-form-wrapper textarea {
  height: 150px;
  outline: none; /* TODO: use another method that's better for accessibility */
}
.contact-form-wrapper input,
.contact-form-wrapper textarea {
  padding: 10px 10px 10px 0px;
  font-weight: normal;
  color: #ffffff;
  background: transparent;
  border: 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  width: 100%;
  outline: none; /* TODO: use another method that's better for accessibility */
}
.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: #ffffff;
  opacity: 0.7;
}
.contact-form-wrapper input[type="submit"] {
  border: none;
  background-color: white;
  color: black;
  padding: 10px 20px;
  margin-left: auto;
  -webkit-transition: color 200ms ease;
  -o-transition: color 200ms ease;
  transition: color 200ms ease;
  outline: none; /* TODO: use another method that's better for accessibility */
}
.contact-form-wrapper input[type="submit"]:hover {
  color: #ff39a2;
}
span.wpcf7-not-valid-tip {
  color: #db2089;
  font-size: 0.9em;
  line-height: 1.5em;
}
div.wpcf7-validation-errors,
div.wpcf7-mail-sent-ok {
  border: 0px;
  color: #db2089;
  font-size: 0.9em;
  line-height: 1.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0px;
  margin: 0px;
}

/* MORE POSTS */
.post-title-link.small.more-title {
  min-height: 200px;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  background-color: #333;
  padding: 5%;
  color: #ffb42a;
  text-align: center;
}
.post-title-link.small.more-title:hover {
  color: #db2089;
}
.post-title-link.small.more-title .more-title-text {
  font-size: 1.5em;
  line-height: 1.15em;
}

/* FOOTER */
.footer-row ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.footer-row ul li a {
  color: #ffb42a;
  display: block;
  font-family: Montserrat, sans-serif;
  -webkit-transition: color 200ms ease;
  -o-transition: color 200ms ease;
  transition: color 200ms ease;
}
.footer-row ul li a:hover {
  color: #ffffff;
}
.newsletter-footer-block {
  width: 50%;
}
.footer-title.newsletter-title {
  color: white;
}
.social-icon {
  width: 40px;
  -webkit-filter: brightness(100%) grayscale(0%);
  filter: brightness(100%) grayscale(0%);
  padding: 2px;
  -webkit-transition: -webkit-filter 200ms ease;
  transition: -webkit-filter 200ms ease;
  transition: filter 200ms ease;
  transition: filter 200ms ease, -webkit-filter 200ms ease;
}
.social-icon:hover {
  filter: brightness(200%) grayscale(100%);
}
@media (max-width: 768px) {
  .newsletter-footer-block {
    width: 80%;
  }
}

/* 404 */
.section.f404 {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
}
