@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,700,700italic);

html, body {
    font-family: 'Roboto', Helvetica Neue, Helvetica, sans-serif;
    font-size: 100%;
    color: #59595c;
}

.bar--blue {
    background-color: #6188C6;
    border-bottom: 5px solid #f89e46;
}
.bar--dark-blue {
    background-color: #496695;
    border-bottom: 8px solid #6188C6;
}
.bar--orange {
    background-color: #f89e46;
    border-bottom: 8px solid #6188C6;
}
.transition {
    font-size: .8em;
    color: #ffffff;
    margin-bottom: 0;
}
.transition__link, .transition__link:hover {
    color: #fff;
    font-weight: normal;
    text-decoration: underline;
}
.transition__col1 {
    padding-bottom: 0;
    padding-top: .6em;
}
.action-nav {
    padding-top: .5em;
	padding-bottom: 0;
	text-align: right;
}
.action-nav__list {
    margin: 0;
}
.action-nav__item {
    display: inline-block;
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}
.action-nav__item:first-child {
    border: none;
}
.action-nav__link {
	color: #ffffff;
    display: block;
    padding: .2em .8em;
    transition: background-color .2s;
}
.action-nav__link, .action-nav__link.active, .action-nav__link:hover {
	background-color: rgba(96, 135, 197, 1);
    color: #ffffff;
}
.action-nav__item:last-child .action-nav__link {
    background-color: rgb(66,66,66);
    background-color: rgba(66,66,66,.3);
}
.action-nav__item:last-child .action-nav__link:hover, .action-nav__item:last-child .action-nav__link.active {
    background-color: rgb(66,66,66);
    background-color: rgba(66,66,66,1);
}
.subscribe-dropdown {
    display: none;
    position: absolute;
    background-color: #6188C6;
    z-index: 1;
    padding: 1em;
    color: #fff;
    right: 0;
    width: 200px;
    text-align: left;
    padding-top: 0;
    box-shadow: 2px 2px 3px rgba(100,100,100,0.5);
}
.subscribe-dropdown__location {
    color: #333;
}
.subscribe-dropdown.is-open {
    display: block;
}
.subscribe-dropdown__list {
    list-style: none;
}
.subscribe-dropdown__title {
    font-size: 1em;
}
.subscribe-dropdown__label {
    display: none;
}
input.subscribe-dropdown__email {
    border-radius: 0;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}
input.subscribe-dropdown__submit {
    border-radius: 0;
    border: 0;
    background-color: #f89e46;
    padding: .2em .5em;
    font-weight: bold;
    margin: 0;
}
input.subscribe-dropdown__submit:hover, input.subscribe-dropdown__submit:active, input.subscribe-dropdown__submit:focus { 
    background-color: #F39539;
    color: #ffffff;
}
.login-dropdown {
    display: none;
    position: absolute;
    background-color: rgb(66,66,66);
    background-color: rgba(66,66,66,1);
    z-index: 1;
    padding: 1em;
    color: #fff;
    right: 0;
    width: 255px;
    text-align: left;
    padding-top: 0;
    box-shadow: 2px 2px 3px rgba(100,100,100,0.5);
}
.login-dropdown.is-open {
    display: block;
}
.login-dropdown__list {
    list-style: none;
}
.login-dropdown__title {
    font-size: 1em;
}
.site-header {
	padding-bottom: 1em;
    border-bottom: 4px solid #6188C6;
}
.site-header__title {
    height: 67px;
    width: 291px;
    display:block;
    text-indent:-9999px;
    background: url('../img/logos/sciencenode-logo-tm.png');
    /*background: url('../img/logos/sciencenode-logo-halloween-v2.png');
    background: url('../img/logos/sciencenode-logo-eclipse.png');*/
    background-size: 291px 65px;
    background-repeat: no-repeat;
}

.site-title {
    padding-top:0;
    margin-top: .5em;
}

.nav-inline {
    right: 4em;
    position: absolute;
    transition: right .2s;
}
.nav-inline.is-nudged {
    right: 16em;
}
.nav-inline ul li {
    padding: .5em 1.5em;
}

.nav-inline ul {
    border-bottom: none;
}

.nav-inline ul {
    border: none;
	margin: 1.25em 0 0 0;
}
.nav-inline ul li {
	padding: 0 .7em;
}
.nav-inline ul li a:after {
	content: '';
	display: block;
	margin: auto;
	height: 3px;
	width: 0px;
	background: transparent;
	transition: width .15s ease, background-color .15s ease;
}
.nav-inline ul li a:hover:after, .nav-inline ul li.active a:after {
  width: 100%;
  background: #f89e46;
}
.nav-inline ul li.active {
    border: none;
}
.nav-inline ul li a:hover {
    color: #333333;
    text-decoration: none;
}
.nav-inline ul li a {
	font-size: 1.3em;
}
@media screen and (max-width:768px) {
    
    .site-header {
        padding-bottom: 0;
    }
    
    .nav-inline ul li.active {
        background-color: #f89e46;
        border: none;
    }
    .nav-inline ul li.active a, .nav-inline ul li.active a:hover, .nav-inline ul li.active a:focus {
        color: #ffffff;
    }
}
.search {
    position: absolute;
    right: 0;
    top: 1.125em;
}

.search__input {
    width: 0 !important;
    padding: .4em 0 !important;
    border: 0 !important;
    transition: width .2s !important;
}

.is-expanded {
    width: 230px !important;
    padding: .4em !important;
}

.search__button {
    height: 32px;
    width: 32px;
    padding: 0 !important;
    position: absolute;
    right: 0;
    top: 0;
    text-indent: -999em;
    border: none !important;
    background: url(../img/search-icon.2x.png) no-repeat center center;
    background-size: 16px 16px;
    border-radius: 0 !important;
    display: inline-block;
    margin: 0 !important;
    color: white;
    background-color: #f89e46 !important;
}

.search__button:focus {
    background-color: #6188C6 !important;
    background-image: url(../img/search-icon.2x.png) !important;
    background-size: 20px 20px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

.search__button--cancel {
    background-image: url(../img/search-icon-cancel.2x.png) !important;
}


/* Intro block override of uits-style.css */
.intro {
    border-top: 4px solid rgba(40,40,40,0.2);
    padding: 0;
    background-color: #EAEAEA;
    background-image: url('../img/halftone-pattern.png');
}

    
.intro__col1 {
    padding: 0;
    margin-top: -5px;
    border-top: 5px solid rgb(66,66,66);
    border-top: 5px solid rgba(66,66,66,.2);
    max-height: 400px;
    overflow: hidden;
}
@media screen and (max-width:40.063em) {
    .intro__col1 {
        max-height: 250px;
    }
}
.latest {
    background-color: #6188C6;
    color: #ffffff;
    /*margin-bottom: 2em;*/
}
.latest--empty {
    border-bottom: 4px solid #6188C6;
}
.latest__col1 {
    padding: 0 18px 0 0;
}
.latest__col2 {
    padding: 1.5em 0;
}
@media screen and (max-width: 910px) {
    .latest__col2 {
        display: none;   
    }
    .latest__col1 {
        width: 100%;
    }
}
.latest__label {
    background-color: #496695;
    display: inline-block;
    margin: 0;
    font-weight: bold;
    font-size: 1.5em;
}
.latest__button {
    color: white;
    display: block;
    padding: .8em 1em;
}
.latest__button:hover {
    color: white;
}
.latest__title {
    display: inline-block;
    padding: 0;
    padding-left: 1em;
    margin: 0;
    font-size: 1.5em;
    font-weight: normal;
}
@media screen and (max-width:64.063em) {
    .latest__label {
        font-size: 1em;
    }
    .latest__title {
        padding-left: .5em;
        font-size: 1em;
        width: auto;
        vertical-align: middle;
        margin: 1em 0;
    }
    .latest__col2 {
        padding: .7em 0;
    }
}
.latest__link {
    color: #ffffff;
    font-weight: normal;
}
.latest__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* gitkit overrides */
.gitkit-input, .gitkit-input-invalid {
    border: 1px solid #ddd !important;
    border-top: 1px solid #ccc !important;
    box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    display: inline-block !important;
    font-size: 15px !important;
    height: 32px !important;
    margin: 0 0 24px !important;
    max-width: 300px !important;
    padding-left: 8px !important;
    width: 100% !important;
}

/* revised home intro banner styles */

.intro {
}

.intro__img {
  float: left;
  overflow: hidden;
  position: relative;
  width: 60%;
  height: 400px;
}

.intro__img img {
  max-width: initial;
  height: 100%;
}

.intro__img-caption {
  background: rgba(0,0,0,0.25);
  color: #fff;
  display: block;
  font-size: 0.75rem;
  padding: 0.5em 0.75em;
  position: absolute;
  right: 0;
  bottom: 0;
}

.intro__txt {
  display: table;
  position: relative;
  float: left;
  width: 40%;
  height: 100%;
}

.intro__txt-inner {
  display: table-cell;
  vertical-align: middle;
  padding: 0 2.5em;
  height: 400px;
}

.intro__txt-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

.intro__txt-title a {
  transition: all 0.3s ease;
}

.intro__txt-title a:focus,
.intro__txt-title a:hover {
  text-decoration: none;
}

p.intro__txt-teaser {
  font-size: 1.125rem;
  margin-bottom: 1.5em;
}

a.button {
}

a.button:focus,
a.button:hover {
  text-decoration: none;
}

@media screen and (max-width: 48em) {
  
  .intro__img {
    background: rgba(0,0,0,.20);
    width: 100%;
    height: auto;
  }
  
  .intro__img img {
    max-width: 100%;
    height: auto;
  }
  
  .intro__img img {
    margin: 0 auto;
  }
  
  .intro__txt {
    width: 100%;
  }
  
  .intro__txt-inner {
    display: block;
    padding: 2em 2em 1em;
    height: auto;
  }
  
}

@media screen and (max-width: 40.063em) {
  
  .intro__img-caption {
    display: none;
  }
  
}

