html {
    width: 100%;
    height: 100%;
}

body {
    height: 100%;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 0.8em;
    color: #111;
    background-color: #e5e5e5;
}

#wrapper {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

#header {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: 165px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: -webkit-gradient(linear, left top, left bottom, from(#9d9999), to(#5f5f63));
    background: -webkit-linear-gradient(top, #9d9999 0%, #5f5f63 100%);
    background: -o-linear-gradient(top, #9d9999 0%, #5f5f63 100%);
    background: linear-gradient(to bottom, #9d9999 0%, #5f5f63 100%);
}

#header > *, #container, #footer #footer_content {
    width: 980px;
    margin: 0 auto;
}

#header #head {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 25px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#header #head #logo a {
    display: block;
    font-size: 4em;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

#header #head #socialmedia_icons a {
    margin-left: 15px;
}

#header #head #socialmedia_icons a img {
    -webkit-box-shadow: 0 0 5px #4e494978;
    box-shadow: 0 0 5px #4e494978;
    border-radius: 5px;
    border: 2px solid white;
}

#header #navi_container {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(#7f7b7c), to(#6f6f73));
    background: -webkit-linear-gradient(top, #7f7b7c 0%, #6f6f73 100%);
    background: -o-linear-gradient(top, #7f7b7c 0%, #6f6f73 100%);
    background: linear-gradient(to bottom, #7f7b7c 0%, #6f6f73 100%);
}

#header #navi_container a {
    display: inline-block;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

#header #navi_container a.active {
    background: #fff;
    color: #333;
}

#header #navi_container a:not(.active):hover {
    text-decoration: underline;
}

#container {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: white;
}

#container #custom_header {
    text-align: center;
    padding: 15px;
}

#container #custom_header img {
    border: 2px solid #616165;
}

#container section {
    padding: 25px;
    color: #111111;
}

#container section p {
    text-align: justify;
    font-size: 1.1em;
    line-height: 1.3em;
}

#container section p {
    margin-bottom: 15px;
}

#container section p em {
    font-style: italic;
}

#container section p a {
    color: #878787;
}

#container section p a:hover {
    text-decoration: none;
}

#container section p.pull-right {
    padding-left: 20px;
}

#container section h2 {
    font-size: 2em;
    font-weight: bold;
    color: #878787;
    margin-bottom: 25px;
}

#container section h3 {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 20px;
}

#container section h4 {
    font-size: 1.6em;
    font-weight: bold;
    color: #00665a;
    margin-bottom: 10px;
}

#container section h5 {
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: underline;
    color: black;
    margin-top: 40px;
    margin-bottom: 15px;
}

#container .videos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#container .videos .video {
    width: 400px;
    margin: 25px;
    text-align: center;
}

#container .videos .video h6 {
    font-weight: bold;
    line-height: 1.2em;
    margin-bottom: 10px;
    padding: 0 25px;
}

#container .section-home {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

#container .section-home img, #container .section-contact img {
    width: 300px;
    border-radius: 30px;
    border: 2px solid #616165;
    background: #616165;
}

#container .section-home > div {
    width: 500px;
}

#container .section-home > div p {
    text-align: justify;
    font-size: 1.3em;
    line-height: 1.3em;
}

#container .section-home p:not(:last-of-type) {
    margin-bottom: 25px;
}

#container .section-research h3:last-of-type {
    margin-bottom: 40px;
}

#container .section-research p {
    line-height: 1.6em;
}

#container .section-research .p-img {
	text-align: center;
}

#container .section-research img {
	max-width: 700px;
	border: 2px solid #616165;
}

#container .section-cv {
    padding-bottom: 50px;
}

#container .section-cv .columns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

#container .section-cv .columns > *{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
}

#container .section-cv .columns > *:first-child{
    padding-right: 20px;
}

#container .section-cv .columns > *:last-child{
    padding-left: 20px;
}

#container .section-cv h4:not(:first-of-type){
    margin-top: 80px;
}

#container .section-cv h4 + p {
    margin-top: 40px;
}

#container .section-publications {
    padding-bottom: 50px;
}

#container .section-publications h5 {
    text-decoration: none;
}

#container .section-publications p b {
    font-weight: bold;
    text-decoration: underline;
}

#container .section-publications h4 {
    margin: 60px 0 35px;
}

#container .section-contact {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

#container .section-contact > div {
    width: 500px;
}

#container .section-contact > img {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
	width: 400px;
	margin-right: 30px;
}

#container .section-contact h2 {
    color: #00665a;
    margin-bottom: 35px;
}

#container .section-contact h5 {
    font-size: 1.2em;
    margin-top: 35px;
}

#container .section-contact h5:first-of-type {
    margin-top: 15px;
}

#footer {
    background: -webkit-gradient(linear, left top, left bottom, from(#605e5e), to(#949794));
    background: -webkit-linear-gradient(top, #605e5e 0%, #949794 100%);
    background: -o-linear-gradient(top, #605e5e 0%, #949794 100%);
    background: linear-gradient(to bottom, #605e5e 0%, #949794 100%);
}

#footer #footer_content {
    height: 42px;
    background-color: #7c7b76;
    margin-bottom: 80px;
}