/*
Theme Name:  WHRI2020
Theme URI:  https://affinitybridge.com
Description:  Child theme for the Twenty Nineteen theme for WHRI.
Author: Katrina Bell
Author URI:  https://affinitybridge.com
Template:  twentynineteen
Version:  1.0
License:  GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* test2 */

/* || VARIABLES */

:root {
  /* main colors */
  --main-bg-color: #2F0542;
  --light-bg: #f2f2f2;
  --main-txt-color: #414042;
  --light-txt-color: #f2f2f2d6;
  --green: #86A043;
  --another-green: #79983b;
  --purple:#2F0542;
  --another-purple: #300542;
  /* news & events */
  --news-category-badge: #3E4991;
  --media-category-badge: #339AA4;
  --events-category-badge: #E45A2D;
  /* other colors */
  --white: #fff;
  --grey: #ccc;
  --lightest-grey: #e1e2e3;
  --light-grey: #f2f3f4;
  --another-grey: #c1c2c3;
  --medium-grey: #71797F;
  --dark-grey: #8a8b8c;
  --mediumish-dark-grey: #666;
  --medium-dark-grey: #777;
  --darker-grey: #44464c;
  /* padding */
  --main-padding: 40px;
  /* buttons */
  --btn-padding: 10px 24px;
  --btn-radius: 50px;
  /* fonts */
  --title-font: 'Heebo', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --standard-size: 16px;
}

/* full width style for WHRI2020 */

.page-template-page-fullwidth.page .entry-content .elementor {
  margin: 0 auto;
  max-width: 100%;
}

.page-template-page-fullwidth.page div.elementor-widget-wrap>div.elementor-element {
  width: auto;
} /* left-aligning featured image */

@media only screen and (min-width: 376px) and (max-width: 768px) {

  .page-template-page-fullwidth.page .entry-header {
    padding: 30px 3.5% 15px;
  }
} /* tablet sizes */

@media only screen and (min-width: 768px) {

  .page-template-page-fullwidth.page .entry-header {
    padding: 30px 10% 15px;
  }
} /* desktop sizes */

@media only screen and (min-width: 1700px) {

  .page-template-page-fullwidth.page .entry-header {
    padding: 30px 13.5% 15px;
  }
} /* large tablet sizes */

.post-type-archive-research-resources .full-width-header-container h1.entry-title {
  font-weight: 800;
}

.post-type-archive-research-resources h2.research-resources-post-title {
  color: var(--purple);
}

.post-type-archive-research-resources .entry {
  margin-top: 0;
}

.post-type-archive-research-resources .site-content {
  background: white;
}

.post-type-research-archives .full-width-container .entry .entry-footer,
.post-type-archive-research-resources .entry footer.entry-footer {
  margin: 0 !important;
} /* requires !important to override other pre-existing !importants */

.post-type-archive-research-resources .full-width-container:nth-of-type(2) {
  margin: 0 10% 40px 10%;
} /* aligning edit button to content */

@media only screen and (min-width: 568px) and (max-width: 767px) {
  
  .full-width-container div.entry-content,
  .full-width-container div.entry-summary {
    margin: 0 10%;
  }
} /* small tablet sizes */

@media only screen and (min-width: 767px) and (max-width: 1025px) {

  div.full-width-header-container {
    margin: 0 calc(5%);
  }

  div.full-width-container {
      margin: 0 calc(5% + 5px);
  }

  .full-width-container div.entry-content > *,
  .full-width-container div.entry-summary > * {
    max-width: 100%;
  }

} /* iPad and IPad Pro sizes */

@media only screen and (min-width: 1025px) {

  .post-type-archive-research-resources .full-width-header-container, 
  .single-research-resources .full-width-header-container, 
  .single-post .full-width-header-container {
    margin: 0 calc(16% + 60px);
  } /* the calc() is based on twentynineteen/style.css (e.g. line 4200 ) */

  .research-resources-post-back-button,
  .post-type-archive-research-resources .full-width-container, 
  .single-research-resources .full-width-container, 
  .single-post .full-width-container {
    margin: 0 calc(16% + 60px);
  } /* content of a single post on content.single.php and content-page.php */
} /* Desktop Sizes */

@media only screen and (min-width: 1168px) {

  .single-post .post-navigation {
    margin: calc(3 * 1rem) calc(16% + 55px);
  }


  .single-research-resources div.nav-links,
  .post-type-archive-research-resources div.nav-links,
  .single-post div.nav-links {
    margin: 0 10%;
  }
} /* larger desktop sizes */

@media only screen and (max-width: 1024px) {

  .single-post .post-navigation {
    margin: calc(3 * 1rem) 146px;
  } /* to align .post-navigation with .site-content */

  .single-post .post-navigation .nav-links {
    max-width: 100%;
  }
} /* standard desktop sizes */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

  .post-type-archive-research-resources .entry-content p {
    margin-right: 0;
    padding-right: 0;
    max-width: 100%;
  } 
} /* larger tablet to desktop sizes */

@media only screen and (min-width: 768px) {

  .single-post .post-navigation {
    max-width: 100%;
  }

  .single-research-resources .entry-content h2,
  .post-type-archive-research-resources .entry-content h2 {
    font-size: 40px;
  }
}

@media only screen and (max-width: 768px) {

  .post-type-archive-research-resources .entry .entry-content {
      max-width: calc(100% - (2 * 1rem));
      margin: 0 0.5rem;
  }

  .post-type-archive-research-resources .full-width-header-container .entry-header, 
  .single-research-resources .full-width-header-container .entry .entry-header, 
  .single-post .full-width-header-container .entry .entry-header {
    padding: 30px -10% 15px;
  }

  .single-post .post-navigation {
    margin: calc(3 * 1rem) 76px;
  }
} /* mobile sizes */

@media only screen and (max-width: 568px) {

  .post-type-archive-research-resources .full-width-header-container, 
  .single-research-resources .full-width-header-container, 
  .single-post .full-width-header-container {
    margin: 0 0;
  }
  .research-resources-post-back-button,
  .post-type-archive-research-resources .full-width-container, 
  .single-research-resources .full-width-container, 
  .single-post .full-width-container {
    margin: 0 5%;
  }

  .post-type-archive-research-resources .full-width-header-container .entry-header, 
  .single-research-resources .full-width-header-container .entry .entry-header, 
  .single-post .full-width-header-container .entry .entry-header {
    padding: 30px 8.5% 15px;
  }

  .single-post .post-navigation {
    margin: calc(3 * 1rem) 6px;
  }
} /* mobile sizes */

/* START - styling for research resources content type */

.research_resources-template-default p a {
  display: inline;
  word-wrap: normal;
  overflow: hidden;
} /* Prevents links in paragraphs from line-breaking strangely */

.research_resources-template-default ul li {
  margin-bottom: 0.2em;
}

.research_resources-template-default h3 a,
h4 a,
h5 a,
h6 a {
  text-transform: none;
  white-space: normal;
  color: var(--another-green); /* green */
} /* Fixes styles of heading links in accordions, */

.research_resources-template-default .elementor-widget-accordion .elementor-active .elementor-accordion-icon,
.research_resources-template-default .elementor-widget-accordion .elementor-active .elementor-accordion-title {
  color: var(--another-purple); /* purple */
} /* Keeps the color of the accordion when open */

a.research-resources-post-back-button {
  margin-bottom: 64px; /* 32px*2 of space between main content and back button */
  padding: 0 6.6%;
} /* placement */

/* END - styling for research resources content type */

/* || hotfixes for theme styles */

body {
  font-family: var(--body-font);
  overflow-x: hidden;
}

a {
  outline: none;
}

a:focus {
  outline: none;
}

a:active {
  outline: none;
}

a:visited {
  color: inherit;
}

.widget a:hover {
  color: var(--white);
}

.social-navigation ul.social-links-menu li a:hover,
.social-navigation ul.social-links-menu li a:active {
  color: var(--white);
  opacity: 1;
}

h1:not(.site-title):before,
h2:before {
  display: none;
}

.site-width {
  max-width: 1260px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  padding-bottom: 60px;
}

.site-header {
  padding: 0;
  background: var(--main-bg-color);
  color: var(--light-txt-color);
}

.site-branding-container {
  padding: 15px 0px 0px 0px;
}

.entry .entry-content,
.entry .entry-summary {
  padding: 0 !important;
}

.site-branding {
  margin: 0 5%;
  display: block;
}

body.page .main-navigation {
  text-align: right;
}

.main-navigation {
  text-align: right;
}

/*.menu-social-menu-container {
  padding-right;
}*/

.main-navigation .main-menu > li > a {
  color: var(--light-txt-color);
  font-weight: 900;
  font-size: 17px;
  font-family: var(--title-font);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-left: 10px;
  /* transition: all 300ms ease; */
}

.current-menu-item > a {
  padding-bottom: 9px !important;
  color: var(--green);
} 

.sub-menu .current-menu-item > a {
  border-bottom: none;
}

.widget a {
  color: var(--green);
}

.footer-wrapper .current-menu-item > a,
.footer-wrapper .current-page-parent > a {
  border-bottom: none;
  padding-bottom: 0 !important;
  color: var(--green);
}

.main-navigation .main-menu > li {
  margin-bottom: 0 !important;
}

.main-navigation .main-menu > li.menu-item-has-children .submenu-expand svg {
  display: none;
}

.main-navigation .main-menu > li > a:hover,
.main-navigation .main-menu > li > a:hover + svg {
  border-bottom: 3px solid var(--green);
  padding-bottom: 9px;
}

.main-navigation .main-menu > li > a:hover,
.main-navigation .main-menu > li > a:hover + svg {
  color: var(--green);
}

.main-navigation .sub-menu > li > a,
.main-navigation .sub-menu > li > .menu-item-link-return {
  display: flex;
}

.main-navigation .sub-menu > li {
  margin-bottom: 0 !important;
}

.main-navigation .sub-menu {
  background: var(--purple);
}

.main-navigation .sub-menu a {
  font-size: var(--standard-size);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--title-font);
}

.main-navigation .sub-menu > li > a:hover,
.main-navigation .sub-menu > li > a:focus,
.main-navigation .sub-menu > li > .menu-item-link-return:hover,
.main-navigation .sub-menu > li > .menu-item-link-return:focus {
  background: var(--purple);
  color: var(--green);
}

#responsive-menu-container #responsive-menu li.responsive-menu-item a {
  line-height: 50px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  font-family: var(--title-font);
}

.site-logo {
  position: relative;
  left: 0;
  right: auto;
  top: 0;
  width: 311px;
  width: -webkit-fill-available;
  max-width: 311px;
}

.site-logo a {
  display: inline;
}

.site-logo svg {
  max-width: 311px;
}

.cls-2 {
  color: var(--green) !important;
}

.social-navigation {
  text-align: right;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 0;
}

.social-navigation ul.social-links-menu li a {
  color: var(--green);
}

.elementor-button-icon svg {
  width: 4em !important;
}

.elementor-card-shadow-yes .elementor-post__card,
.elementor-card-shadow-yes .elementor-post__card:hover {
  box-shadow: none !important;
}

.elementor-posts .elementor-post__card .elementor-post__read-more {
  margin-top: auto;
  margin-bottom: 0;
}

.elementor-widget-posts .elementor-post__read-more {
  color: var(--purple);
}

/* START - styling for "News & Events" page only */

.elementor-9684 .elementor-element.elementor-element-618400d .elementor-nav-menu--main a.elementor-item:hover,
.elementor-9684 .elementor-element.elementor-element-618400d .elementor-nav-menu--main a.elementor-item:active{
  text-decoration: underline;
} /* category links */

.elementor-9684 .elementor-posts--thumbnail-top .elementor-post__thumbnail__link {
  margin-bottom: 0;
}

.elementor-9684 .elementor-posts--thumbnail-top .elementor-posts--skin-cards:not(.elementor-posts-masonry) .elementor-post__card, 
.elementor-9684 .elementor-posts .elementor-posts--skin-cards:not(.elementor-posts-masonry) .elementor-post__card {
  display: -webkit-box; /* removes display: flex in other stylesheet */
}

.elementor-9684 .elementor-element.elementor-element-2f67ec9a .elementor-post__card div.elementor-post__badge {
  display: inline-block;
  position: relative;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  /* background: var(--green); */
  border-radius: 0;
  width: auto;
  height: auto;
  margin: 0 0 10px 0;
  top: -12px; /* closes gap between badge and featured image */
}

.elementor-9684 .elementor-element.elementor-element-2f67ec9a .category-in-the-news .elementor-post__card div.elementor-post__badge,
.elementor-9684 .elementor-element.elementor-element-2f67ec9a .category-our-news .elementor-post__card div.elementor-post__badge {
  background: var(--news-category-badge);
} /* Our News Category Badge Color */

.elementor-9684 .elementor-element.elementor-element-2f67ec9a .category-in-the-media .elementor-post__card div.elementor-post__badge {
  background: var(--media-category-badge);
} /* In the Media Category Badge Color */

.elementor-9684 .elementor-element.elementor-element-2f67ec9a .category-meet-the-researcher .elementor-post__card div.elementor-post__badge {
  background: var(--green);
} /* Meet the Researcher Category Badge Color */

.elementor-9684 .elementor-element.elementor-element-2f67ec9a .category-events .elementor-post__card div.elementor-post__badge {
  background: var(--events-category-badge);
} /* Events Category Badge Color */

.archive.category .item-image .item-info h4,
.elementor-9684 .elementor-posts .elementor-post__card .elementor-post__title {
  margin-bottom: 20px;
  font-weight: 600;
}

.elementor-9684 .elementor-posts .elementor-post__card .elementor-post__excerpt { margin-bottom: 10px; }

.archive.category .elementor-post__read-more,
.elementor-9684 .elementor-post__read-more {
  color: var(--purple);
  font-size: 16px !important;
  font-weight: bold !important;
  letter-spacing: 0.5px;
}

.elementor-9684 .elementor-post__read-more:hover { color: var(--green); }

.elementor-post__read-more::before {
    content: url('img/arrow.svg');
    display: inline-block;
    height: 24px;
    width: 78px;
    vertical-align: sub;
    margin-right: 5px;
}

.archive.category .elementor-post__read-more::before,
.elementor-9684 .elementor-post__read-more::before {
    content: '';
    width: 0;
    height: 0;
    display: none;
    margin: 0;
}

.archive.category .elementor-post__read-more::after,
.elementor-9684 .elementor-post__read-more::after {
  content: url("img/arrow-new.svg");
  display: inline-block;
  height: calc(25px * 0.47); /* reducing to a % of original */
  width: calc(78px * 0.47);
  vertical-align: baseline;
  margin-right: 5px;
}

/* END - styling for "News & Events" page only */

.elementor-post__read-more {
  color: var(--purple);
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
}

.elementor-post__read-more:hover {
  color: var(--green);
}



.elementor-post__read-more::before:not(.elementor-9684) {
  content: url('img/arrow.svg');
  display: inline-block;
  height: 24px;
  width: 78px;
  vertical-align: sub;
  margin-right: 5px;
} /* does not put arrows on "News & Events" page */

.elementor-post__thumbnail {
  background: var(--purple);
  background-image: url("img/whitelogo.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 75%;
}

.bck-thumb {
  background: var(--purple);
  background-image: url("img/whitelogo.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 82%;
  height: 225px;
  width: 100%;
}

.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail.elementor-fit-height img {
  width: 75%;
  height: auto;
}

.site-info {
  text-align: center;
  margin: 0 !important;
  padding-bottom: 5px;
  font-size: 11px;
  background: var(--purple);
  color: var(--grey) !important;
}

.footer-wrapper {
  background: var(--purple);
}

.site-footer {
  /* max-width: 80%;
  margin: 0 10%; */
  background: var(--purple);
  color: var(--light-txt-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 20px;
}

.site-footer .social-navigation {
  text-align: left;
}

.footer-wrapper .widget-column #menu-footer a:hover,
.footer-wrapper .widget-column #menu-footer a:active,
.footer-wrapper .widget-column a:hover, 
.footer-wrapper .widget-column a:active { color: var(--white);}

#site-footer-bottom-wrapper .site-info a { color: var(--grey); }

#site-footer-bottom-wrapper .site-info a:hover,
#site-footer-bottom-wrapper .site-info a:active { color: var(--green); }

/* fixes footer floating in middle of page on 404 page, on tablet and desktop */
@media only screen and (min-width: 568px) {
  .error404 .site-main {
    margin: 50px 0;
    min-height: 100%;
    position: relative;
  }

  .error404 .page-header {
    text-align: center;
    padding: 0 20px;
  }
  .error404 .site-footer {
    padding: 0 0 60px 0;
  }

  .error404 .site-footer-bottom,
  .error404 .site-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
  }
}

.widget_archive ul li,
.widget_categories ul li,
.widget_meta ul li,
.widget_nav_menu ul li,
.widget_pages ul li,
.widget_recent_comments ul li,
.widget_recent_entries ul li,
.widget_rss ul li {
  font-size: 18px;
  color: var(--green);
}

.widget-column {
  padding-right: 30px;
}

.textwidget p {
  color: var(--light-txt-color);
}

.page-id-9575 .elementor-widget:not(:last-child) {
  margin-bottom: 0 !important;
}

.elementor-widget-toggle .elementor-tab-title.elementor-active a, 
.elementor-widget-toggle .elementor-tab-title.elementor-active .elementor-toggle-icon,
.elementor-widget-accordion .elementor-active .elementor-accordion-title,
.elementor-accordion-item .elementor-tab-title.elementor-active .elementor-accordion-title,
.elementor-widget-accordion .elementor-active .elementor-accordion-icon {
  color: var(--purple) !important;
}

.elementor-accordion .elementor-accordion-item + .elementor-accordion-item, 
.elementor-toggle .elementor-toggle-item + .elementor-toggle-item {
  border: 4px solid var(--purple) !important;
}

.elementor-accordion div.elementor-accordion-item,
.elementor-toggle div.elementor-toggle-item {
  border: 4px solid var(--purple);
  margin-bottom: 40px;
}

.elementor-toggle-item div.elementor-tab-title.elementor-active {
  border-bottom: 4px solid var(--purple) !important;
}

#lightB {
  color: var(--light-txt-color);
  cursor: pointer;
}

#lightB:hover {
  color: var(--purple);
}

.post-type-archive-research-resources .entry-header,
.entry .entry-header {
  margin-left: auto;
  margin-right: auto;
  background: var(--light-bg);
  padding: 30px 8.5% 15px;
  margin-top: 0;
  color: var(--purple);
  margin-bottom: 40px;
}

.entry-meta {
  margin: 0.8rem 0px 0px !important;
}

.entry .entry-header h1 {
  /* max-width: 70%; */
  margin-top: 30px;
  font-weight: 800;
}

.entry-title {
  color: var(--purple);
}

.entry .entry-title:before {
  display: none;
}

.entry-content p {
  font-family: var(--body-font);
  font-size: var(--standard-size);
  font-weight: normal;
  line-height: 1.5;
  color: var(--main-txt-color);
  margin-top: 0 !important;
}

blockquote {
  border-left: 3px solid var(--green);
}

.nav-links {
  margin: 0 10%;
  color: var(--purple);
}

.entry .entry-footer {
  margin: 0 10% !important;
  color: var(--purple);
}


.post-navigation .nav-links .nav-previous {
  padding-right: 1rem;
}

.post-navigation .nav-links a .meta-nav {
  font-family: var(--title-font);
  color: var(--main-bg-color);
}

.post-navigation .nav-links a .post-title {
  color: var(--green);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3 !important;
}

.post-navigation .nav-links .nav-next {
  text-align: right;
}

.entry .entry-content a {
  text-decoration: none;
}

.entry .entry-content a:hover {
  color: var(--green);
}

.head-none {
  display: none;
}

.post-thumbnail img {
  margin-top: 0 !important;
}

.entry .entry-content > *,
.entry .entry-summary > * {
  margin-top: 0;
}

.elementor-pagination,
.navigation.pagination {
  margin: 50px 0px 0px;
}

.svg-inline--fa.fa-phone-alt {
  width: 20px;
}

/* end hotfixes for theme styles */

/* || New Globals */

.btn-green {
  background: var(--green);
  color: var(--light-txt-color);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-size: var(--standard-size);
  font-weight: bold;
  font-family: var(--title-font);
}

.btn-green:visited {
  color: var(--light-txt-color);
}

.btn-green:hover {
  color: var(--green) !important;
  background: var(--light-txt-color);
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background: var(--green);
  color: var(--light-txt-color);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-size: var(--standard-size);
  font-weight: bold;
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button:hover {
  color: var(--green);
  background: var(--light-txt-color);
}

/* h1 { } */

.entry-content h1 {
  font-size: 46px;
  color: var(--purple);
}

h2 {
  letter-spacing: 0.2;
}

.single-research-resources .entry-content h2,
.post-type-archive-research-resources .entry-content h2 {
  font-size: 1.5em;
}

h3 {
  letter-spacing: 0.2;
  font-size: 40px;
}

.entry-content h3 {
  font-size: 32px;
}

h4 {
  letter-spacing: 0.2;
  font-size: 24px;
  font-weight: 800;
  color: var(--purple);
}

h4 a {
  color: var(--purple) !important;
}

h5 {
  text-transform: uppercase;
  font-size: 32px;
  letter-spacing: 0.5px;
  color: var(--medium-grey);
}

.entry-content h5 {
  color: var(--green);
  font-size: 22px;
}

h6 {
  letter-spacing: 0.2;
}

.entry-content h6 {
  font-size: 18px;
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.3px;
  margin-bottom: 5px;
}

.su-spoiler-title {
  font-family: var(--title-font) !important;
  font-size: 14px !important;
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.5px;
}

p {
  font-size: var(--standard-size);
  font-weight: normal;
  line-height: 1.3;
  font-family: var(--body-font);
}

a {
  display: inline-block;
  color: var(--purple);
  font-weight: 600 !important;
  cursor: pointer;
}

a:active {
  text-decoration: none;
}

ul {
  list-style-type: square;
}

ul li,
ol li {
  font-family: var(--body-font);
  color: var(--main-txt-color);
  line-height: 1.5;
  font-size: 15px;
  margin-bottom: 15px;
}

.uppercase {
  text-transform: uppercase;
}

.light-txt {
  color: var(--light-txt-color);
}

.fas {
  color: var(--purple);
}

/* || Staff Loop Shortcode */

.staff-loop {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  grid-column-gap: 100px;
  margin: 0 5%;
}

.staff-loop .staff-member {
  margin-bottom: 50px;
}

.staff-loop .staff-member a {
  font-family: var(--title-font);
  color: var(--green);
  font-weight: 700;
  text-transform: lowercase;
  display: block;
}

.staff-loop .staff-member h4 {
  font-size: 28px;
  margin: 0 !important;
  line-height: 1.5;
}

.staff-loop .staff-member .uppercase {
  font-family: var(--title-font);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 17px;
  margin: 0 !important;
  display: inline-block;
}

.staff-member hr {
  margin-bottom: 5px;
  margin-top: 10px;
  background: var(--purple) !important;
}

/* || Archive Pages */

body.archive {
  background: var(--light-bg);
}

.page-header-archive {
  padding: 50px 0px;
  font-size: 35px;
  font-family: var(--title-font);
  display: flex;
  flex-direction: column-reverse;
}

.page-header-archive a {
  font-size: 35px;
  font-family: var(--title-font);
  display: inline-block;
  color: var(--green);
  text-align: right;
}

.research-resources-post-back-button h5,
.page-header-archive a h5 {
  font-size: 20px !important;
  font-family: var(--title-font);
  /* display: inline-block; */
  color: var(--green);
  font-weight: 600;
  margin: 0 !important;
  line-height: 1;
} /* E.g. "back to all research resources" on RR CPTs, "Back to All News & Events" link*/

a.research-resources-post-back-button:hover h5,
a.research-resources-post-back-button:active h5,
.page-header-archive a:hover h5,
.page-header-archive a:active h5 {
  color: var(--green);
  text-decoration: underline;
}

.page-header-archive h1 {
  /* display: inline-block; */
  font-family: var(--title-font);
  color: var(--purple);
  font-weight: 800;
  margin: 0 !important;
  line-height: 1;
  font-size: 38px;
}

.vsel-image-info {
  display: none;
}

.vsel-meta {
  width: 100%;
  float: none;
}

.archive-loop {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  grid-column-gap: 30px;
  grid-row-gap: 35px;
}

.archive.category .archive-item {
  display: block;
  padding-bottom: 20px;
}

.archive-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  padding-bottom: 25px;
}

.archive-item a {
  font-family: var(--title-font);
  margin-left: 25px;
}

.archive-item a:hover {
  color: var(--green);
}

.item-image img {
  object-fit: cover;
  height: 225px;
}

.archive.category .item-info {
  padding: 20px 30px 0px 30px;
}

.item-info {
  padding: 25px;
  padding-top: 20px;
}

.item-info h4 {
  font-size: 21px;
  margin: 0;
  color: var(--purple);
}

.archive.category .item-info p {
  font-family: var(--body-font);
  line-height: 1.5em;
  font-size: 14px;
  color: var(--medium-dark-grey);
}

.item-info p {
  font-family: var(--body-font);
  line-height: 1.5em;
  font-size: 15px;
  color: var(--main-txt-color);
}

h5.widget-title {
  font-size: 22px;
  color: var(--light-txt-color);
  font-weight: 600;
  margin-top: 60px;
}

.vsel-meta-link a {
  margin-left: 0px;
}

/* || COPIED FROM OLD STYLE SHEET -- FIND A RESEARCHER PAGE STYLES  */

.researcher-filter {
  background: var(--light-grey);
  display: inline-block;
  padding: 20px;
}

.researcher-filter h3 {
  font-size: 1em;
}

.researcher-filter h3:before {
  content: "\f002";
  font-family: "FontAwesome";
  margin-right: 0.5em;
}

.researcher-filter p {
  margin-bottom: 1em;
}

.researcher-filter em {
  display: block;
  font-size: 0.9em;
  line-height: 1.2em;
  margin: 0.5em 0;
}

.researcher-filter input[type="text"] {
  background: var(--white);
}

.researcher-filter input[type="submit"] {
  display: block;
  text-align: center;
  width: 100%;
}

/* || Search Results */

.results-staff {
  border-bottom: 1px solid var(--lightest-grey);
  float: none;
  display: block;
  line-height: 1.5em;
  margin-right: 0;
  margin-bottom: 20px;
  min-height: auto;
  padding: 0 0 20px !important;
  width: 100%;
}

.results-staff h5 {
  display: block;
  font-size: 1em;
  line-height: 1.5em;
  margin-bottom: 0.5em;
  /* vertical-align: top; */
  width: 100%;
  color: var(--purple);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
textarea {
  font-family: var(--body-font);
  font-size: 15px;
}

.mdf_input_container_block.mdf_input_container_block_1 .data-filter-section-title {
  font-family: var(--body-font);
}

label {
  font-family: var(--body-font);
  font-size: var(--standard-size);
}

.results-staff .results-personal-info {
  display: block;
  font-size: 0.9em;
  line-height: 1.4em;
  margin: 0 !important;
  /* vertical-align: top; */
  width: 100%;
}

.results-staff .results-link {
  display: block;
  font-size: 0.9em;
  margin: 0 !important;
  text-align: right;
  /* vertical-align: top; */
  width: 100%;
}

.results-staff .results-link:before {
  content: "\f05a";
  font-family: "FontAwesome";
  margin-right: 0.5em;
}

.results-staff .results-link:after {
  content: "\f105";
  font-family: "FontAwesome";
  margin-left: 0.3em;
}

.results-staff .results-link:hover {
  box-shadow: none;
}

.mdf_input_container_block_1:before {
  display: block;
  content: "Research Themes: ";
  font-weight: bold;
  margin-top: 14px;
}

ol.tw-pagination {
  list-style: none !important;
  font-size: 0.9em;
  margin-left: 0 !important;
  margin-bottom: 2em !important;
}

ol.tw-pagination li {
  background: var(--light-grey);
  display: inline-block !important;
  margin-right: 3px;
  width: 24px;
  text-align: center;
  font-weight: bold;
}

ol.tw-pagination li:first-child {
  background: none;
  width: auto;
  font-weight: normal;
}

.mdf_widget_found_count {
  padding: 0 0 5px;
}

.mdf_shortcode_container .mdf_tooltip {
  display: none;
}

.mdf_shortcode_container {
  font-size: 0.9em;
}

input[type="checkbox"].mdf_option_checkbox {
  background: var(--white);
}

input[type="submit"].mdf_button {
  margin-top: 1em;
}

input[type="button"].mdf_button.mdf_reset_button {
  margin: 1em auto 0;
  background: transparent;
  border: 0px solid var(--another-grey);
  color: var(--dark-grey);
  font-size: 0.9em;
  padding: 0.64375em 0.975em 0.58125em;
  text-align: center;
}

input[type="button"].mdf_button.mdf_reset_button:hover {
  background: var(--darker-grey);
  border-color: var(--darker-grey);
  color: var(--white);
}

.mdf_shortcode_reset_button {
  display: none;
  text-align: center;
}

.page-id-64 .su-row {
  max-width: 100%;
}

.button.results-link {
  display: block;
  position: relative;
  width: fit-content;
  float: right;
}

.results-staff .results-personal-info {
  font-size: var(--standard-size);
  color: var(--main-txt-color);
  width: 70%;
  font-family: var(--body-font);
}

/* || MOBILE */

@media only screen and (max-width: 1024px) {
  .site-branding {
    margin: 0 10%;
    padding-bottom: 15px;
    padding-top: 5px;
  }

  .site-footer {
    margin: 0 5%;
  }

  .error404 .site-footer {
    margin: 0;
  } /* fixes footer floating in middle of page on 404 page */

  body {
    font-family: var(--body-font);
  }

  .post-type-archive-research-resources .entry-header h1 {
    font-weight: 800;
    word-wrap: break-word;
    hyphens: auto;
  }

  .post-type-archive-research-resources .entry-header h1,
  .entry .entry-header h1 {
    /* width: 80%; */
    font-size: 38px;
  }

  .page-header-archive {
    align-items: center;
  }

  .page-header-archive h5 {
    padding: 15px 0px;
  }
}

@media only screen and (max-width: 768px) {
  .entry .entry-header h1 {
    width: 100%;
    font-size: 38px;
  }

  body {
    font-family: var(--body-font);
  }

  .entry .entry-header h1 {
    width: 100%;
  }

  .site-logo {
    max-width: 200px;
  }

  #responsive-menu-title {
    font-weight: 800;
    font-family: var(--title-font);
    font-size: 22px;
  }

  .social-navigation ul.social-links-menu li a svg {
    width: 25px;
    height: auto;
  }

  :root {
    --btn-padding: 6px 14px;
  }

  .btn-green {
    font-size: 14px;
  }

  .staff-loop {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }

  .archive-loop {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 5%;
  }
}

@media only screen and (max-width: 568px) {
  body {
    font-family: var(--body-font);
  }

  .social-navigation {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-logo {
    max-width: 275px;
  }

  .site-branding {
    margin: 0 5%;
    display: block;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .site-footer .social-navigation {
    align-items: center;
  }

  .widget-column {
    padding-right: 0px;
  }

  .staff-loop {
    grid-template-columns: repeat(1, 1fr);
    display: grid;
  }

  .archive-loop {
    grid-template-columns: repeat(1, 1fr);
    margin: 0 5%;
  }
}

/* || SEARCH FORM & SEARCH RESULTS */
#site-navigation .is-menu.dropdown form,
#responsive-menu-container .is-menu.dropdown form {
  background-color: var(--white);
  box-shadow: 2px 2px 3px var(--mediumish-dark-grey);
}

#site-navigation .is-form-style input.is-search-input:focus,
#responsive-menu-container .is-form-style input.is-search-input:focus {
  outline: 2px dashed var(--green) !important;
}

#responsive-menu-container .is-search-form {
  background-color: var(--white);
  overflow: auto;
  font-size: 19px;
}

#responsive-menu-container .is-search-input {
  float: left;
  margin: 3px;
  padding: 8px;
  min-width: 80%;
}

#responsive-menu-container .is-search-submit {
  float: right;
}

#responsive-menu-container .is-search-icon {
  padding: 10px;
}

body.search-results header.page-header {
  margin: 20px 5%;
}

body.search-results h1.page-title {
  display: inline;
}

body.search-results .page-description {
  display: inline !important;
}

body.search-results .entry {
  margin-top: calc(3rem);
}

body.search-results .entry-header {
  margin: 0 !important;
  font-size: 12px;
  padding: 15px 10%;
}

@media only screen and (min-width: 768px) {
  body.search-results .entry .post-thumbnail .post-thumbnail-inner img {
    float: right;
    width: 40%;
    margin-left: 10px;
  }
}

body.search-results .nav-links {
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
