body { font-weight: 300; }

/* correctly style search field box-shadow */
.main-nav-item.search.active { box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) !important; }

/* search page and results */
body.search-results .entry-title { margin-bottom: 0 !important; }
body.search-results .entry-summary { margin-top: 0 !important; }
body.search-no-results .no-results h1.page-title {
  bottom: auto;
  color: #313131;
  font-size: 42px;
  line-height: 1;
  margin: 0;
  padding: 0;
  position: relative;
  }

.search-results-nav {
  height: auto;
  margin: 50px auto;
  overflow: hidden;
  text-align: center;
  }
.search-results-nav li a,
.search-results-nav li a:hover,
.search-results-nav li.active a,
.search-results-nav li.disabled {
  color: #fff;
  display: block;
  text-decoration:none;
  }
.search-results-nav li {
  display: inline-block;
  }
.search-results-nav li.ellipses {
  margin-right: 5px;
  padding: 10px;
  }
.search-results-nav li a,
.search-results-nav li a:hover,
.search-results-nav li.active a,
.search-results-nav li.disabled {
  background: #ea6d2f;
  padding: 10px 20px;
  }
.search-results-nav li a:hover {
  background: #ffc320;
  color: #fff;
  }
.search-results-nav li.active a {
  background: #f5f5f5;
  color: #313131;
  }

.page-content .search-form {
  margin-bottom: 50px;
  text-align: center;
  }
.page-content .search-field {
  width: 60%;
  }

.menu-srf-container h6 {
  color: #fff;
  margin: 30px;
  line-height: 24px;
  }
.menu-srf-container p {
  color: #fff;
  margin: 30px;
  font-size: 16px;
  line-height: 22px;
  }
.menu-srf-container a.special-link {
  color: #fff;
  font-size:  16px;
  }

/* custom callout box */
.callout {
  background: #ea6d2f;
  clear: right;
  color: #fff;
  float: right !important;
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 30px !important;
  margin-left: 1.31579%;
  width: 23.68421%;
  }
.callout-no-bg {
  background: transparent;
  color: #080D09;
  }
.callout-white-bg {
  background: #fff;
  color: #080D09;
  }
  .callout a {
    border-bottom: dotted 1px #fff;
    color: #fff;
    }
  .callout a:hover {
    border-bottom: dotted 1px #ffc320;
    color: #ffc320;
    }
  .callout img {
    height: auto;
    width: 100%;
    }
  .page-content .callout h2 {
    font-size: 18px;
    line-height: 24px;
    margin: 15px 20px 20px;
    }
  .page-content .callout h3 {
    font-size: 15px;
    line-height: 21px;
    margin: 15px 20px 0;
    }
  .page-content .callout p {
    margin: 20px;
    }
    .callout .icon { font-size: .7em; }
    .page-content .callout blockquote {
      color: #fff;
      font-size: 18px;
      line-height: 24px;
      margin: 1em 20px;
      }
/* custom aside */
.page-content aside.gray {
  background: #f5f5f5;
  margin-bottom: 30px;
  padding-bottom: 10px;
  }
  .page-content aside h2 {
    font-size: 22px;
    margin: 20px 40px 0;
    }
  .page-content aside p {
    font-size: 16px;
    margin: 0 40px 20px;
    }
/* custom figure */
figure {
  font-size: 15px;
  font-weight: 300;
  line-height: 28px;
  margin-bottom: 40px !important;
  }
figcaption {
  color: #007c8b;
  font-size: 15px;
  font-weight: 300;
  line-height: 28px;
  }
figcaption.heading {
  font-size: 30px;
  line-height: 36px;
  }
  figcaption a {
    border-bottom: dotted 1px #007c8b;
    color: #007c8b;
    }
figure.right {
  clear: right;
  float: right !important;
  }
figure br { display: none; }
figure img {
  display: block;
  height: auto;
  margin: 0 auto 15px;
  }
figure pre {
  background: #f5f5f5;
  border-left: solid 5px #0592af;
  color: #0592af;
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 15px;
  padding: 10px;
  }
aside figure {
  margin: 0;
  }

/* custom table styles */
.page-content table {
  font-size: 15px;
  font-weight: 300;
  line-height: 28px;
  }
.page-content th {
  background: #313131;
  color: #eee;
  padding: .5em;
  text-align: left;
  vertical-align: middle;
  }
.page-content td {
  padding: .5em;
  vertical-align: top;
  }
.page-content tr {
  border-bottom: solid 1px #313131;
  }

#overlay {
  background: #000;
  display: none;
  height: 100%;
  left: 0;
  opacity: .7;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 500;
  }
.modal {
  background: #fff;
  display: none;
  height: auto;
  left: 50%;
  margin: 100px 0 0 -400px;
  padding: 20px;
  position: fixed;
  top: 0;
  width: 800px;
  z-index: 1000;
  }
  .modal h1 {
    font-size: 24px;
    line-height: 30px;
    }
.modal-close {
  cursor: pointer;
  height: 25px;
  position: fixed;
  right: 20px;
  top: 20px;
  width: 25px;
  z-index: 1001;
  }
  .modal-close:after {
    color: #fff;
    content: 'x';
    cursor: pointer;
    font-size: 36px;
    left: 0;
    position: absolute;
    top: 0;
    }
#subscribe-modal {
  margin-left: -320px;
  width: 600px;
  }
#subscribe-modal iframe {
  border: none;
  height: 500px;
  width: 100%;
  }
/* custom generic color classes */
.orange { color: #ea6d2f; }

/* resize heading tags */
.page-content h2 { font-size: 40px; line-height: 46px; }
.page-content h3 { font-size: 30px; line-height: 36px; }
.page-content h4 { font-size: 25px; line-height: 31px; }
.our-work-intro h2 strong { font-weight: 900; }

/* correct ordered list font weight */
.page-content li { font-weight: 300; }

/* correct sidebar nav behavior */
.page-nav-contain.has-current-menu-item .page-nav-item { opacity: .5; }
.page-nav-contain.has-current-menu-item .page-nav-item.active { opacity: 1; }
.page-nav li.current-menu-item {
  opacity: 1 !important;
  padding: 0 30px 20px 30px !important;
  }
.page-nav li.page-nav-item:first-of-type { padding-top: 30px !important; }
.page-nav li.current-menu-parent { opacity: 1 !important; }
.page-nav li.current-menu-parent li {
  opacity: .5;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  }
.page-nav li.current-menu-parent li:hover {opacity: 1; }
.page-nav li.current-menu-parent li.current-menu-item { padding: 0 0 15px 30px !important; }
.page-nav li.current-menu-parent li.current-menu-item:first-of-type { padding-top: 15px !important; }

/* related-video module tweaks */
.related-video__item {
  margin: 0 30px 20px 0;
  vertical-align: top;
  width: 255px;
  }
.related-video__preview { height: 140px; overflow: hidden; }
.related-video__image img {
  width: 100%;
  }
.related-video__overlay {
  transition: 0.2s;
  }
.related-video__link:hover .related-video__overlay {
  background: rgba(255, 195, 32, .3);
  }
.related-video__overlay:after {
  background: #eee;
  border-radius: 50%;
  color: rgba(0, 0, 0, .5);
  content: '\25BA';
  font-size: 30px;
  left: 50%;
  margin: -25px 0 0 -25px;
  padding: 5px 12px 0 16px;
  opacity: .5;
  position: absolute;
  top: 50%;
  }
  .related-video__link:hover .related-video__overlay:after {
    opacity: .8;
    }
@media screen and (max-width: 750px) {
  .related-video__preview {
    height: 140px !important;
  }
}

/* gallery tweaks -- why are these needed? */
ul.gallery { margin: 0 0 1.5em !important; padding: 0 !important;}
.gallery-columns-2 .gallery-item { max-width: 49.775% !important; }
.gallery-columns-3 .gallery-item { font-size: 16px; line-height: 140%; max-width: 33% !important; }
.gallery-columns-4 .gallery-item { font-size: 14px; line-height: 140%; max-width: 24.685% !important; }
.gallery-columns-5 .gallery-item { font-size: 13px; line-height: 140%; max-width: 19.595% !important; }
.gallery-columns-6 .gallery-item { font-size: 13px; line-height: 140%; max-width: 16.5% !important; }
.gallery-columns-7 .gallery-item { font-size: 12px; line-height: 140%;}
.gallery-columns-8 .gallery-item { font-size: 12px; line-height: 140%; }
.gallery-columns-9 .gallery-item { font-size: 10px; line-height: 140%; }
ul.gallery .special-link { font-size: 1em; font-weight: 300; }

/* subscribe forms */
.footer-newsletter form.validate {
  overflow: hidden;
  }
#mc-error {
  bottom: 15px;
  color: #ea6d2f;
  display: block;
  font-size: 14px;
  font-style: italic;
  line-height: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  }

body.page .page-content #mc_embed_signup form {
  margin-bottom: 10em;
  padding: 0;
  text-align: left;
  }
body.page #mc_embed_signup input {
  border-radius: 0 !important;
  }
body.page .page-content #mce-EMAIL {
  width: 50%;
  }
body.page #mc-embedded-subscribe {
  background: #ea6d2f;
  border-radius: 0;
  font-size: 18px;
  font-weight: normal;
  height: auto;
  line-height: 1.8em;
  padding: 10px 20px;
  }
#mce-error-response, #mce-success-response {
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
  text-align: left;
  }
#mce-error-response { color: #c00; }
#mce-success-response {
  height: 60px;
  margin: 0 0 30px;
  opacity: 0;
  }
.footer-newsletter.submitted:after { content: ''; }
@media screen and (max-width: 450px) {
  body.page .page-content #mce-EMAIL {
    width: 100%;
    }
}

/* SRF promo banner */
.srf-promo {
  background: #0592af url(/wp-content/themes/concord2017/images/srf-banner-bg.png) no-repeat right 60px center;
  background-size: 35%;
  height: 500px;
  margin-bottom: 30px;
  }
  .srf-promo__content {
    padding-top: 80px;
    }
  .srf-promo__title {
    color: #fff;
    font: 900 54px museo, sans-serif;
    line-height: 60px;
    margin: 0 0 30px 20px;
    }
  .srf-promo__description {
    color: #fff;
    font: 300 24px museo-sans, helvetica, arial, sans-serif;
    line-height: 30px;
    margin: 0 0 40px 20px;
    }
  .srf-promo__button {
    margin: 0 0 10px 20px;
    }
    .srf-promo__button a {
      background: #fff;
      color: #0592af;
      padding: 20px 50px;
      }
  .srf-promo__alt-link {
    color: #fff;
    font: 300 16px museo-sans, helvetica, arial, sans-serif;
    line-height: 22px;
    margin: 0 0 40px 20px;
    }
    .srf-promo__alt-link a {
      color: #fff;
      }
@media screen and (max-width: 500px) {
  .srf-promo {
    padding-bottom: 20px;
    }
  .srf-promo__content {
    padding-top: 40px;
    }
}
@media screen and (max-width: 950px) {
  .srf-promo {
    background: #0592af;
    height: auto;
    padding-bottom: 40px;
    }
  .srf-promo__title, .srf-promo__alt-link {
    margin-right: 20px;
    }
  .srf-promo__button {
    margin-right: 20px;
    }
}

.project-list.software .project-item__image {
  background: #f5f5f5 !important;
  text-align: center;
  }
.project-list.software .project-item__image img {
  display: inline-block;
  height: auto;
  margin: 15% auto;
  width: 40%;
  }
@media screen and (min-width: 37.5em) {
  .project-list.software .project-item {
    width: 330px;
  }
}

/* add linkedin button -- we need to update icomoon files to include linkedin */
.social-link__linkedin {
  display: inline-block;
  color: #313131; }
  .social-link__linkedin::before {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    content: "\e90f";
    font-family: "icomoon";
    font-size: 15px;
    border: 2px solid rgba(49, 49, 49, 0.15);
    padding: 5px;
    border-radius: 50%;
    position: relative;
    top: 1px; }
  .social-link__linkedin:hover::before {
    color: #ffc320;
    border-color: #313131; }

/* center content area iframes */
.page-content iframe {
  display: block;
  margin: 0 auto;
  }

/* custom inline image styles */
img.float-right {
  float: right;
  height: auto;
  margin: 10px 0 0 1.31579%;
  max-width: 50%;
  }
img.float-left {
  float: left;
  height: auto;
  margin: 10px 20px 0 0;
  max-width: 50%;
  }
/* custom videojs styles */
.video-js {
  margin-bottom: 60px;
  }
.video-js .vjs-big-play-button {
  background: #ea6d2f !important;
  border: none !important;
  border-radius: 0 !important;
  opacity: .8 !important;
  }
@media screen and (min-width: 751px) {
  .video-js .vjs-big-play-button {
    height: 2em !important;
    left: 42% !important;
    line-height: 2em !important;
    margin: 0 !important;
    top: 42% !important;
    width: 4em !important;
    }
  .video-js .vjs-big-play-button:before {
    content: '\f101';
    font-size: 48px !important;
    top: 0 !important;
    }
}
@media screen and (max-width: 750px) {
  .video-js .vjs-big-play-button {
    left: 50% !important;
    margin: -.75em 0 0 -1.5em;
    top: 50% !important;
    }
  .video-js .vjs-big-play-button:before {

    }
}
/* custom conference styles */
.conference-list {
  list-style: none;
  margin: 0;
  padding: 0;
  }
  .conference-list li {
    border-bottom: solid 1px #ddd;
    margin-bottom: 40px;
    min-height: 100px;
    overflow: hidden;
    padding-bottom: 20px;
    }
  .conference-list li:last-child {
    border-bottom: none;
    }
  .conference-list li img {
    border: solid 1px #ddd;
    float: left;
    height: 100px;
    margin: 3px 1em 3em 0;
    width: 100px;
    }
.conference-presentation {
  color: #0592af;
  }
.conference-presentation img {
  clear: right;
  height: 23.68421%;
  width: 23.68421%;
  }

/* custom newsletter styles */
img.cover {
  border: solid 1px #eee;
  height: auto;
  width: 300px;
  }
img.innovator {
  height: 600px;
  width: auto;
  }
.newsletter-excerpt-image {
  background: transparent !important;
  height: auto !important;
  max-height: 450px !important;
  overflow: hidden;
  }
.caption { /* remove? */
  font-size: 14px;
  }
.caption img { /* remove? */
  clear: both;
  display: block;
  height: auto;
  margin-bottom: 10px;
  width: 100%;
  }
.page-template-newsletter-article .page-content h1 { font-size: 54px; line-height: 60px; }
.no-image + .newsletter-breadcrumb { margin: -40px auto 0; }
.no-image + .newsletter-breadcrumb .newsletter-breadcrumb__item a { color: rgba(49, 49, 49, 0.25); }
.no-image + .newsletter-breadcrumb .newsletter-breadcrumb__item a:hover { color: #ffc320; }
.newsletter-nav__previous-link { margin-bottom: 20px; padding-left: 24px; text-align: left; }
.newsletter-nav__previous-link a:before {
  content: '\e903';
  font-family: 'icomoon';
  font-size: 1em;
  margin: 1px 0 0px -24px;
  position: absolute;
  }
.newsletter-nav__next-link { margin-bottom: 20px; text-align: right; }
.newsletter-nav__next-link a:after {
  content: '\e904';
  font-family:'icomoon';
  font-size: 1em;
  margin: 1px 0 0px 6px;
  position: absolute;
  }
.newsletter-nav__toc-link { margin-bottom: 20px; text-align: center; }

/* custom news page styles -- change this so it's not based on ID number */
body.page-id-2568 .page-content ul {
  list-style: none;
  padding-left: 0;
  }

/* custom partners page styles */
#partners, #funders {
  list-style: none;
  margin: 0;
  padding: 0;
  }
  #partners li, #funders li {
    display: inline-block;
    margin: 20px;
    }
@media screen and (max-width: 950px) {
  #partners li, #funders li {
    margin: 0;
    text-align: center;
    width: 48%;
  }
}
@media screen and (max-width: 750px) {
  #partners li, #funders li {
    margin: 0;
    text-align: center;
    width: 100%;
  }
}

/* custom staff list page styles */
#staff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  }
  #staff-list li {
    display: block;
    float: left;
    font-size: 12px;
    line-height: 140%;
    margin: 0 2% 2%;
    padding: 0;
    width: 21%;
    }
  #staff-list li:nth-child(4n+1) {
    clear: left;
    }
    #staff-list li img {
      height: auto;
      margin-bottom: .5em;
      width: 100%;
      }
.slideshow-nav.staff {
  margin-top: -145px;
  position: relative;
  z-index: 20;
  }

/* custom board list styles */
ul.board-members {
  list-style: none;
  padding: 0;
}
.board-member__name {
  margin-bottom: 0;
  }
.board-member__title {
  font-family: museo, sans-serif;
  font-size: 28px;
  font-weight: 100;
  line-height: 34px;
  }
.past-board-member .has-bio:after {
  color: #ea6d2f;
  content: 'Show Bio';
  cursor: pointer;
  font-size: 12px;
  font-weight: 300;
  margin-left: 1em;
  }
.past-board-member__bio {
  display: none;
  }
  .past-board-member__bio:after {
    color: #ea6d2f;
    content: 'Hide Bio';
    cursor: pointer;
    font-size: 12px;
    font-weight: 300;
    margin-left: 1em;
    }

@media screen and (max-width: 950px) {
  .slideshow-nav.staff { display: none; }
  #staff-list li {
    font-size: 16px;
    margin: 0 2% 2%;
    width: 29%;
  }
  #staff-list li:nth-child(4n+1) { clear: none; }
  #staff-list li:nth-child(3n+1) { clear: left; }
}
@media screen and (max-width: 750px) {
  .callout {
    float: none;
    margin-bottom: 20px;
    margin-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    }
  #staff-list li {
    font-size: 16px;
    margin: 0 2% 2%;
    width: 46%;
  }
  #staff-list li:nth-child(4n+1) { clear: none; }
  #staff-list li:nth-child(2n+1) { clear: left; }
}
@media screen and (max-width: 500px) {
  .page-content .search-field {
    margin-bottom: 20px;
    width: 100%;
    }
  .page-content .search-submit {
    width: 100%;
    }
  #staff-list li {
    font-size: 14px;
  }
}

/* custom staff bio page styles */
.staff-member__name {
  font-size: 55px;
  margin-bottom: 0;
  }
.staff-member__title {
  font: 100 36px museo, sans-serif;
  line-height: 48px;
  }
.staff-member__contact dd, .staff-member__qa dd {
  font-weight: 300;
  margin-left: 0;
  margin-bottom: 20px;
  }
.staff-member__contact dt, .staff-member__qa dt { font-weight: 700; }
.staff-member__photos {
  float: right;
  min-height: 500px;
  position: relative;
  width: 250px;
  }
  .staff-member__photos img {
    left: 0;
    max-width: inherit !important;
    position: absolute;
    top: 0;
    }
  .staff-member__photos img:nth-child(1) {
    animation: bioPhoto1Fade 5s 2s alternate infinite;
    }
  .staff-member__photos img:nth-child(2) {
    animation: bioPhoto2Fade 5s 2s alternate infinite;
    opacity: 0;
    }
i.previous.staff-page, i.next.staff-page {
  font-size: 50px;
  opacity: .5;
  }
a i.previous.staff-page, a i.next.staff-page {
    opacity: 1;
    }
@keyframes bioPhoto1Fade {
  0%, 50% { opacity: 1; }
  75%, 100% { opacity: 0; }
  }
@keyframes bioPhoto2Fade {
  0%, 50% { opacity: 0; }
  75%, 100% { opacity: 1; }
  }
@media screen and (max-width: 450px) {
  .staff-member__photos { display: none; }
}

/* footer newsletter form tweaks */
@media screen and (max-width: 950px) {
  .footer-newsletter {
    width: 255px;
    }
}
@media screen and (max-width: 750px) {
  .footer-newsletter {
    width: 255px;
    }
}

/* promo tweaks */
.body-promo-contain:hover { cursor: default !important; }
.promo__image {
  background: transparent !important;
}

/* site-wide project card tweaks */
.project-item__image {
  background: #fff !important;
  overflow: hidden;
  }
  .project-item__image img {
    height: 235px;
    width: 350px;
    }
@media screen and (max-width: 750px) {
  .project-item__image {
    height: auto !important;
    }
  .project-item__image img {
    height: auto;
    width: 100%;
    }
}

/* custom project page styles */
.project-publications {
  margin-left: 0;
  max-height: 320px;
  overflow: hidden;
  padding-left: 0;
  position: relative;
  }
.project-publications__toggle {
  background: #fff;
  background: -moz-linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  background: -webkit-linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  background: -o-linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  background: -ms-linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 30px, rgba(255, 255, 255, 1) 120px);
  bottom: 0;
  content: ' ';
  display: block;
  height: 120px;
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  }
  .project-publications__toggle a {
    bottom: 40px;
    display: block;
    font: 700 18px museo-sans, sans-serif;
    left: 0;
    margin-top: 20px;
    position: absolute;

    }
    .project-publications__toggle a:before {
      content: '\e905';
      font-family: icomoon;
      font-size: 11px;
      margin-right: 5px;
    }
    .project-publications__toggle.open a:before {
      content: '\e906';
    }
.project-publications__list {
  list-style: none;
  margin-top: 0;
  margin-left: 0;
  padding-left: 0;
  }
.project-publications__item {
  margin-left: 0;
  padding-left: 0;
  }
body.page-template-project #atstbx {
  opacity: 0 !important;
  height: 30px;
  width: 30px;
  margin-top: -30px;
  }

/* news item tweaks */
body.page-template-about-us .news__item {
  font-size: 18px;
  }
/* .news__item-title a[href*=blog\.concord\.org]:before {
  background: #f5f5f5;
  color: #666;
  content: 'blog post';
  display: block;
  font-size: 11px;
  line-height: 1;
  margin: -26px 0 5px 100px;
  padding: 5px 7px;
  width: 62px;
  } */

/* home page tweaks */
.updates-hiring__text li {
  line-height: 1.6;
  padding-bottom: 10px;
}
