.border-right {
   border-right: 1px solid white;
}


/*** General adjustments ***/

main li {
  margin-bottom: .75em;
}

.subpage section {
  padding-top: 0;
}

@media (min-width: 767px) {

  main li {
    font-size: 18px;
    line-height: 1.6;
  }
  
  .subpage section {
    padding-top: 0;
  }
  
}


/* Hiding elements offscreen while keeping them available to screen readers. 
   from: https://www.paciellogroup.com/blog/2012/05/html5-accessibility-chops-hidden-and-aria-hidden/ */

.offscreen {
  clip: rect(1px 1px 1px 1px) !important; /* IE 6/7 */
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important; /* added line */
  width: 1px !important;
 }

.offscreen:focus {
  position:relative !important;
  clip:auto !important;
  width:auto !important;
  height:auto !important;
  overflow:auto !important;
}

a:hover {
   color:#e9af00;
   text-decoration:underline;
}

/* Buttons */

.btn-people {
  font-family: Lora, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: none;
  background-color: rgba(255, 255, 255, 0);
}

.explore {
      font-weight: bold;
    font-size: 18px;
}

.roomnumber {
    color: #b9bfcc;
    font-size: .9em;
    }



/* Use on spans to create invisible spaces in the visible text of links displaying long URLs
   so that they will break to multiple lines on mobile phones.  */
   
.hidden-space {
  font-size: 1px !important;
}


/*** Navigation bar adjustments ***/

.navbar > .container {
  margin: 0;
  margin-left:auto;
  margin-right: auto;
  max-width: 1170px;
}

.navbar-toggle {
  padding: 12px 12px !important;
}

.homepage .navbar-dark, 
.homepage .navbar-light {
  background-color: transparent;
  border-bottom: none;
}

.homepage .navbar-dark.top-nav-collapse, 
.homepage .navbar-light.top-nav-collapse {
  background-color: #3e444d;
  border-bottom: 1px solid #33383f;
}

.navbar > .container .navbar-brand, 
.navbar > .container-fluid .navbar-brand {
  margin: 0 30px 0 0;
  height: 65px;
}

.navbar-dark .navbar-brand .logo img.cistar {
  margin-top: 0 !important;
  max-height: 65px !important;
}

.navbar-right {
   float: right !important;
}


@media (min-width: 767px) {

  .navbar > .container {
    width: initial;
  }

  .navbar > .container .navbar-brand, 
  .navbar > .container-fluid .navbar-brand {
    margin-top: -15px;
  }
  
  .navbar-dark.top-nav-collapse, 
  .navbar-light.top-nav-collapse,
  .navbar-dark.navbar-relative,
  .navbar-light.navbar-relative {
    padding: 20px 0 5px 0;
  }

}

li.active a, .page-scroll .active{
color: #e9af00 !important;
}

.navbar-dark.top-nav-collapse .nav li a:after {
   background: #e9af00;
}

.navbar-dark .nav li.active a, .navbar-light .nav li.active a {
    color: #e9af00 !important;
}

.nav li a {
    padding: 5px 10px !important;
}


/*** In-page links to subpages ***/

.subpage-links a {
  font-size: 1.5em;
  padding: 10px 30px 10px 20px;
}


/*** Header image ***/

header#intro {
  background-color: #314b82 !important;
  background-image: url('./homepage-images/');
  background-position: 60% center;
  background-size: auto 100%;
}

header.intro-large-title h1.brand-heading .text-primary {
  color: #fff !important;
}

header.intro-large-title h1.brand-heading {
  width: 250px;
  height: 100px;
  margin: 20px auto;
  background-image: url(./site-images/);
  background-size: cover;
  background-repeat: no-repeat;
}

.intro-img .brand-heading, 
.intro-slider .brand-heading, 
.intro-video .brand-heading, 
.intro-img-half .brand-heading, 
.intro-slider-half .brand-heading {
  font-size: 70px;
}

header#intro .nsf-logo {
  width: 50px;
  height: 50px;
  position: absolute;
  left: 10px;
  margin-top: -10px;
  background-image: url(./site-images/);
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {

  .intro-img .brand-heading, 
  .intro-slider .brand-heading, 
  .intro-video .brand-heading, 
  .intro-img-half .brand-heading, 
  .intro-slider-half .brand-heading {
    margin-top: 100px;
    font-size: 70px;
  }

  header.intro-large-title h1.brand-heading {
    width: 500px;
    height: 200px;
    margin: 90px auto;
  }

  header#intro .nsf-logo {
    width: 100px;
    height: 100px;
  }
  
}

header.intro-large-title h4 {
  color: #e9af00 !important;
}


/*** University Logos ***/

#university-logos {
  padding: 20px 0 0 0;
}

#university-logos img {
  max-height: 40px;
  margin: 1em;
}


/*** News ***/

.subpage.news h1,
.subpage.news .event-content {
  width: 90%;
  max-width: 750px;
  margin: auto auto;
}

.subpage.news .blog-preview-img img {
  max-width: 400px;
  margin: 0 auto;
}

DISABLED .subpage.news .blog-preview-img {
  max-height: 300px;
  overflow: hidden;
  display: block;
}

.subpage.news .event-image-container {
  float: right;
}

.subpage.news .event-intro {
  margin: 2em 0 20px 0;
}

@media (min-width: 767px) {
  .subpage.news .event-intro {
    margin: 2em 0 30px 0;
    font-size: 18px;
    line-height: 1.6;
  }
}


/*** Research ***/

.services-col img {
  margin-bottom: 1.5em;
}

li.research-list {
  line-height: 2em;
}

/*** Partner Logos ***/

#technology-transfer li {
  padding: 1.5em 0;
}

#technology-transfer img {
  max-height: 80px;
  margin: 1em;
}


/*** People ***/

#people .list-group-item {
  min-height: 140px !important;
}

.peopleimg {
  float: right;
  margin: 10px 5px 5px -10px;
  border-radius: 50%;
  height: 100%;
  
}

.peoplename {
  font-size: 1.2em;
  font-weight: bold;
}

.peopletitle {
  font-size: .8em;
}

.light-text {
  color: #b9bfcc;
  font-size: .9em;
}

.light-text i.fa {
  font-size: 1em;
}


/*** Darkening colors on light backgrounds ***/

hr.primary {
  border-top: 6px solid #e9af00;
}

.bg-dark hr.primary {
  border-top: 6px solid #e9af00;
}

hr.primary-small {
  border-top: 3px solid #e9af00;
}

.bg-dark hr.primary-small {
  border-top: 3px solid #e9af00;
}

.text-primary, 
a {
  color: #e9af00;
}

.bg-dark .text-primary, 
.intro-dark-bg .text-primary,
.bg-dark a,
.intro-dark-bg a {
  color: #e9af00;
}

.blog-1 .blog-col .blog-preview-content h3 a:hover {
  color: #e9af00;
}

.bg-dark .blog-1 .blog-col .blog-preview-content h3 a:hover {
  color: #e9af00;
}

.contact-1 form .floating-label-form-group-with-focus label,
.contact-2 form .floating-label-form-group-with-focus label {
  color: #e9af00;
}

.bg-dark .contact-1 form .floating-label-form-group-with-focus label,
.bg-dark .contact-2 form .floating-label-form-group-with-focus label {
  color: #e9af00;
}

ul#filters li button.btn-link:hover,
ul#filters li button.btn-link:focus,
ul#filters li button.btn-link:active,
ul#filters li button.btn-link.active {
  color: #e9af00;
}

.bg-dark ul#filters li button.btn-link:hover,
.bg-dark ul#filters li button.btn-link:focus,
.bg-dark ul#filters li button.btn-link:active,
.bg-dark ul#filters li button.btn-link.active {
  color: #e9af00;
}

.services-1 .icon {
  color: #f4f5f7;
  background: #e9af00;
}

.bg-dark .services-1 .icon {
  color: #f4f5f7;
  background: #e9af00;
}

.services-1 .icon-effect li:hover .icon {
  color: #e9af00 !important;
  box-shadow: 0 0 0 4px #e9af00;
}

.bg-dark .services-1 .icon-effect li:hover .icon {
  color: #e9af00 !important;
  box-shadow: 0 0 0 4px #e9af00;
}

.services-1.bg-dark .icon,
.services-1.bg-primary .icon,
.services-1.bg-secondary .icon,
.services-1.bg-success .icon,
.services-1.bg-info .icon,
.services-1.bg-warning .icon,
.services-1.bg-danger .icon,
.services-1.bg-parallax-dark .icon {
  color: #e9af00 !important;
  background: #f4f5f7;
}

.bg-dark .services-1.bg-dark .icon,
.bg-dark .services-1.bg-primary .icon,
.bg-dark .services-1.bg-secondary .icon,
.bg-dark .services-1.bg-success .icon,
.bg-dark .services-1.bg-info .icon,
.bg-dark .services-1.bg-warning .icon,
.bg-dark .services-1.bg-danger .icon,
.bg-dark .services-1.bg-parallax-dark .icon {
  color: #e9af00 !important;
  background: #f4f5f7;
}


/*** Admin pages for people, etc. ***/

.admin-breadcrumbs {
  margin-bottom: 1em;
}

.msg {
  padding: .5em 1em;
  border-radius: 5px;
}

/*** Sponsor Display Tweaks ***/

#sponsors .row {
  padding-bottom: 2rem;
}

#sponsors .col-sm-3 img {
  max-height: 14vh;
  max-width: 14vh;
}

#sponsors .col-sm-4 img {
  max-height: 10vh;
  max-width: 20vh;
}