body {
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
}

.text-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4em;
    font-weight: 700;
}

.text-justify {
  text-align: justify;
}

/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
    border: solid 1px;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.7);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255,255,255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #333;
    background-color: rgba(255,255,255,0.8);
}

/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

/* Menu */


#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

.navbar-custom {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.3);
    /*font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;*/
    background-color: #000;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
}

.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}

.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.navbar-custom, .navbar-custom a {
    color: #fff;
}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover {
    outline: 0;
    color: rgba(255,255,255,.8);
    background-color: transparent;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
    outline: 0;
    background-color: transparent;
}

.navbar-custom .nav li.active {
    outline: 0;
}

.navbar-custom .nav li.active a {
    background-color: rgba(255,255,255,.3);
}

.navbar-custom .nav li.active a:hover {
    color: #fff;
}

@media(min-width:768px) {
    .navbar-custom {
        padding: 20px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: 0 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .navbar-custom.top-nav-collapse {
        padding: 0;
        border-bottom: 1px solid rgba(255,255,255,.3);
        background: rgba(0, 0, 0, 0.9);
    }
}

/* Header */
header {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: black;
}

header .background {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: block;
    height: 100%;

    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    filter: blur(1px);

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header .content {
    /*background: rgba(0, 0, 0, 0.55);
    border-radius: 3px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);*/
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 20px;
    color: white;
    position: relative;
}

/* Section */

section {
    padding: 50px 0;
}

.about-text {
    font-size: 16px;
    font-weight: 300;
}

/* Research */

.research-item {
    margin-bottom: 30px;
}


/* Projects */

.project.title {
    max-height: 47px;
    text-align: center;
    overflow: hidden;
    background: #f5f5f5
}

.project.image {
    max-height: 130px;
    overflow: hidden;
}

.project.description {
    max-height: 200px;
    overflow: hidden;
}

.project-item {
    margin-bottom: 60px;
}

.project-item p {
    margin-top: 15px;
}

.img-proj {
    margin: auto;
    width: 100%;
    /*margin-bottom: -5px;*/
}

.img-proj:hover {
    opacity: 0.9;
}

.label {
    font-weight: 500;
    font-size: 100%;
}

.project.label {
    background-color: teal;
    opacity: .7
}

.card:hover .label {
    opacity: 1;
}

/* Members */

.member .btn {
    margin: 10px;
}

.photo {
    margin-top: 23px;
}

.ui.cards {
  margin-bottom: 20px;
}

/* Contact */
.contact {
    padding: 50px 0;
}



/* Footer */

footer {
    padding: 40px 0;
}
