/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
}

/*body, textarea, p, input {*/
  /*font-family: 'Source Sans Pro', Helvetica, Arial, Verdana, sans-serif;*/
  /*color: #505050;*/
/*}*/

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
}

h2, h3, h4 {
    font-weight: 300;
}

h3 {
    font-size: 20px;
}

.p10 {
    padding:10px 0;
}

.affix-page {
    top:0;
    background-color: #fff;
    width:100%;
}

.navbar {
    margin-bottom: 0;
    border: none;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    background-color: #e7e7e7;
    color: #555;
    /* border: 1px solid #ddd; */
    /* border-bottom-color: transparent; */
    cursor: default;
}

.menu-item {
    text-transform: uppercase;
}

.navbar-default {
    background-color: #fff;
    border-color: transparent;
}

.navbar-brand img {
    width:200px;
    position: relative;
    max-width: 200px;
    margin-top: -10px;
}

img.eu-navbar {
    width: 150px;
    position: relative;
    max-width: 200px;
    margin-top: 8px;
    margin-right:10px;
    margin-left:30px;
}
.navbar-home {
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 120px;
    bottom: 0px;
    width: 100%;
}

.navbar-lower > div {
    text-align: center;
    width: 12.5%;
    float: left;
    padding: 10px 1%;
    border-right: 1px solid rgba(0, 0, 0, .1);
    -webkit-transition: color .15s cubic-bezier(.33, .66, .66, 1);
    transition: color .15s cubic-bezier(.33, .66, .66, 1);
}

.navbar-lower img {
    vertical-align: middle;
}

/*.business-header {*/
    /*background-image: url('../../img/hbp_home.jpg');*/
/*}*/

.subsite_header {
    margin-top: -1px;
    min-height: 80px;
    /*background-color: #EF5450;*/
    /*color: #fff;*/
}

.item a {
    cursor: auto;
}

.navbar-home .item-text {
    margin-top: 10px;
}

.item-text {
    position:relative;
    min-height: 40px;
}

.item-text span {
    color: #fff;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 13px;
    text-align:center;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.navbar-subpage > div {
    /*background-color: #bdc3c7;*/
    /*color: #fff;*/
}

.explore {
    background-color: #EF5450;
    color: #fff;
}

.simulated, .simulated.active {
    background-color: #F47716;
    color: #fff;
}

.silicon, .silicon.active {
    background-color: #FBB535;
    color: #fff;
}

.cognition, .cognition.active {
    background-color: #FBCB3F;
    color: #fff;
}

.medicine, .medicine.active {
    background-color: #33AABB;
    color: #fff;
}

.robots, .robots.active {
    background-color: #2D8EB3;
    color: #fff;
}

.computing, .computing.active {
    background-color: #2070A8;
    color: #fff;
}

.engaged, .engaged.active {
    background-color: #164E75;
    color: #fff;
}

.business-header {
    position: relative;
    height: 400px;
    background-image: center center no-repeat scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.subsite-title span {
    text-transform: uppercase;
}

.subsite-icon {
    width: 40px;
    height:40px;
}


.subsite-tagline {
    padding-left: 50px;
    margin-bottom: 20px;
}


.aldryn-newsblog-sidebar .aldryn-newsblog {
    margin-bottom: 0;
}
.aldryn-newsblog-categories {
    margin-bottom: 21px;
    padding-bottom: 21px;
    /*text-transform: uppercase;*/
}
.aldryn-newsblog-authors, .aldryn-newsblog-categories, .aldryn-newsblog-recommended, .aldryn-newsblog-search, .aldryn-newsblog-tags {
    padding-bottom: 10.5px;
    border-bottom: 1px solid #e9e9e9;
}

.aldryn-newsblog-categories .badge {
    /*float: right;*/
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #ccc;
    border-radius: 3px;
}


.blog-post {
    position:relative;
    padding: 15px;
    height: 350px;
    /*margin:5px;*/
    /*float: left;*/
    opacity: .9;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}
.blog-post a {
    /*text-decoration: none;*/
}

.section-title {
    text-align:center;
    padding-bottom:20px;
}

.section-title h3 {
    text-transform:uppercase;
}

.main-content {
    margin-top:50px;
}

.fullwidth-header {
    background-color:#ecf0f1;
}

.fullwidth-header h2 {
    padding:10px 0 20px;
    font-weight:300;
    color:#7f8c8d;
}

@media screen and (max-width: 992px) {
    .picture_and_title {
        width: 100%;
        height: 150px;
        overflow: hidden;
    }

    .blog-post {
        height: 250px;
    }
     .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }

    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
    .navbar-nav .open .dropdown-menu {
       position: static;
       float: none;
       width: auto;
       margin-top: 0;
       background-color: transparent;
       border: 0;
       -webkit-box-shadow: none;
       box-shadow: none;
    }

}

.blog-post-item-content {
    /*position:absolute;*/
    bottom:0;
    color: #555;
    padding:0px;
    /*dispay:table-cell;*/
    /*vertical-align: bottom;*/
    width:100%;
}

.blog-post a {
    text-decoration: none;
}

.blog-post .title {
    /*margin-top: 90px;*/
    /*background-color: #34495e;*/
    font-weight: bolder;
    padding: 6px 10px;
    font-size: 1.2em;
    opacity: .9;
    vertical-align: bottom;
}

.blog-post small {
    color: #7f8c8d;
    font-weight: 300;
    display: block;
    font-size: 0.8em;
}

.pager{
    margin-top:50px;
}

.lead-text {
    font-weight:200;
    font-size: 18px;
}

.nav-tabs{
    border-top: 1px solid #ddd;
}

.nav-tabs>li>a{
    border-radius:0;
}

.nav-tabs>li.selected,  .nav-tabs>li.selected>a{
    color: #555;
    background-color:#e5e5e5;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
    color: #555;
    background-color:#e5e5e5;
}

/*Events*/
.aldryn-events-calendar {
    padding-top: 16px;
    border: 1px solid #ccc;
}

.aldryn-events-calendar h3 {
    float: left;
    font-size: 20px;
    font-weight: 200;
    text-transform: capitalize;
    min-width: 150px;
    margin: 7px 20px 0;
    border: 0;
}
.aldryn-events-sidebar h3 {
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #a1c42c;
    text-transform: uppercase;
}

.aldryn-events-calendar table {
    margin: 16px 0 0;
    border-top: 1px solid #ccc;
}

h5.event-date {
    text-transform: uppercase;
    font-weight: 300;
}

.table {
    width:auto;
}

.js-calendar-table td.today {
    background: #ccc;
}


/* News style */
.news h2 {
    color: #ccc;
    /*color: #777;*/
    font-weight: lighter;
    text-align: center;
    padding: 10px;
    font-size: 1.5em;
    text-transform: uppercase;
}

.news-item-home {
    background-color: white;
    height: 330px;
    margin: 15px 5px;
}

.news-header {
    padding: 10px 20px 10px 20px;
    color: #aaa;
    text-transform: uppercase;
    font-size: .7em;
}

.picture_and_title  {
    width: 100%;
    height: 140px;
    background-image: url("assets/img/test-img.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.news-item-home .news-details {
    padding: 15px 20px;
}

.news-item-home .news-title-home {
    color: #aaa;
}

.read-more {
    border: 1px solid #ccc;
    text-transform: uppercase;
    color: #ccc;
    font-size: .7em;
    margin-bottom: 20px;
    background-color: transparent;
}

.news .filters {
    padding: 0px 10px 0 10px;
}

.news .filters ul {
    padding-left: 0;
}

.news .filters ul li {
    list-style: none;
    margin: 5px;
    padding: 5px 6px;
}

.news .filters ul li.active,  .news .filters ul li.active a {
    background-color: #F6F6F6;
    color: #777;
}

.news .filters ul li.active .badge {
    background-color: #777;
    color: #F6F6F6;
    padding: 3px 7px;
}

.news-list-item .news-details h4 {
    font-size: 1.2em;
    line-height: 1.3em;
}


.news-list-item .news-details h4 a {
    color: #2c3e50;
    -webkit-transition: color 0.2s;
    -moz-transition: color 0.2s;
    -ms-transition: color 0.2s;
    -o-transition: color 0.2s;
    transition: color 0.2s;
}

.news-list-item .news-details h4 a:hover {
    color: #27aae1;
    text-decoration: none;
}

.news-list-item .news-date small {
    color: #aaa;
    text-transform: uppercase;
}

.news-list-item .lead-text {
    font-size: 1em;
}

.divider-wrapper {
    width: 150px;
    margin: 25px auto;
}

.divider {
    width: 100%;
    border-top: 2px solid #eee;
    margin: 0 auto;
}

.news-list-item .news-details h4 a:hover {
    color: #27aae1;
    text-decoration: none;
}

.news-list-item .categories ul, .news-list-item .featured {
    padding-left: 0;
}

.news-list-item .categories ul a li {
    font-size: 0.8em;
    list-style: none;
    display: inline-block;
    padding: 2px 5px;
    background-color: #ecf0f1;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.news-list-item .featured {
    margin-bottom: 5px;
    color: #27aae1;
    font-size: 0.8em;
    display: inline-block;
    padding: 3px 6px;
    background-color: #f6f7f6;
    -webkit-transition: all 0.2s;

    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.news-list-item .featured span {
    text-transform: uppercase;
}

.news-list-item .categories ul a li:hover {
    background-colofr: #27aae1;
    color: white;
}

.news-home a:hover {
    text-decoration:none;
    font-weight: bolder;
}

a:hover .news-header, a:hover .news-title-home {
    color: #777;
}

.events-home a:hover {
    text-decoration:none;
    font-weight: bolder;
}

.event-item-home {
    background-color: white;
    min-height: 100px;
    margin: 15px 0px;
    padding: 5px;
}

.event-date-home {
    width:100px;
    height:100%;
    min-height:100px;
    border-right: 5px solid #F6F6F6;
}

.event-container {
    display: flex;
}

.event-header {
    padding: 10px 20px 10px 20px;
    color: #aaa;
    text-transform: uppercase;
    font-size: .7em;
}

.event-item-home .event-details {
    padding: 15px 20px;
}

.event-item-home .event-title-home a {
    color: #aaa;
}

a:hover .event-header, .event-title-home a:hover  {
    color: #777;
}

.publication {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: #eee 1px solid;
}

.publication-journal-info {
  font-style: italic;
}

.publication-tags span {
  background-color: #eee;
  padding: 4px 6px;
  margin: 4px;
  font-size: 0.8em;
}

/* TODO check the categories value in the publication json. The following classes are based on that */
.publication-tags .explore-the-brain {
  background-color: #EF5450;
  color: white;
}

.publication-tags .brain-simulation {
  background-color: #F47716;
  color: white;
}

.publication-tags .silicon-brains {
  background-color: #FBB535;
  color: white;
}

.publication-tags .understanding-cognition {
  background-color: #FBCB3F;
  color: white;
}

.publication-tags .medicine {
  background-color: #33AABB;
  color: white;
}

.publication-tags .robots {
  background-color: #2D8EB3;
  color: white;
}

.publication-tags .massive-computing {
  background-color: #2070A8;
  color: white;
}

.publication-tags .open-ethical-engaged {
  background-color: #164E75;
  color: white;
}

.embed-display .navbar,
.embed-display .subsite_header,
.embed-display .business-header,
.embed-display footer.footer {
    display:none;
}