/*
Author: Sebastian Wiedling
*/

html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-size: 100%;
  font-family: 'Open Sans', sans-serif;
  color: #3c3c3c;
  background-color: #FFF;
  height: calc(100% - 72px); /*52*/
}

a {
  color: #3c3c3c;
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

sub {
  vertical-align: sub;
  font-size: smaller;
}

main {
  margin: 20px;
}

img, svg {
  max-width: 100%;
}
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}
.img-circle {
  border-radius: 50%;
}

.bold {
  font-weight: bold;
}

ul.list {
	list-style: outside;
	margin-left: 20px;
}
.o4u-articles > article ul.list > li {
  line-height: 1.6;
  font-size: 0.9em;
}
article ul.list+p {
	margin-top: 1em;
}

.o4u-button {
  border: 2px solid #FFF;
  border-radius: 0.25em;
  background-color: transparent;
  color: #FFF;
  padding: 1em;
  top: 2em;
  font-weight: bold;
  position: relative;
}
.o4u-button:hover {
  background-color: #FFF;
  color: #236fa8;
  text-shadow: none;
  box-shadow: none !important;
}
.o4u-button i {
  margin-left: 1em;
}
section#home {
	background-color: #FFF;
}
#home > h2 {
  color: #00589c; 
  font-weight: bold;
  font-size: 1.8em;
  padding-bottom: 1em;
  margin-left: 12px;
}

.helpBox {
	background-color: #fffbd1;
	padding: 5px;
	width: 45%; 
	position: absolute;
	top: 15%;
	right: 5%;
}

/* -------------------------------- 

Modules - Loading Pace

-------------------------------- */

.pace .pace-progress {
  background: rgba(0, 88, 156, 1);
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  height: 2px;

  -webkit-transition: width 1s;
  -moz-transition: width 1s;
  -o-transition: width 1s;
  transition: width 1s;
}

.pace-inactive {
  display: none;
}




.overflow-hidden, 
.overflow-hidden2 {
  overflow: hidden;
}

.o4u-container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.o4u-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}


/* -------------------------------- 

Main components 

-------------------------------- */
.o4u-main-content {
  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
  min-height: 100%;
  position: relative;
  background-color: #FFF; 
  z-index: 2;
  /* FAIL pos fixed + background fixed bug - Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

/*----------------------------------

	Navigation

----------------------------------*/
.full-margin {
	margin: 0px 2% 30px;
}
nav:not(.unslider-nav) {
	position: relative;
	border: 1px solid #3c3c3c;
	margin: 0 auto;
	padding-bottom: 10px;
}
nav.o4u-filter, 
nav#o4u-lateral-nav {
	margin-top: -10px;
	border: none;
	padding-bottom: 0;
}
main.slide-out .o4u-overlay {
	left: 20px;
	top: -20px;
	height: 200vh; /*calc(100% + 58px)*/
}

.inner-wrap {
	overflow: hidden;
	/*padding: 20px 20px 20px;*/
	padding-bottom: 30px;
}

.inner, .headline {
	float: right;
}

.inner > a {
	display: inline-block;
}
.inner img.logo {
	width: 100%;
	max-width: 167px;
	/*
	border-top: 20px solid rgb(255, 255, 255); 
	border-left: 20px solid rgb(255, 255, 255); 
	border-right: 20px solid rgb(255, 255, 255); 
	*/
	display: block;
	bottom: 0;
}
.headline {
	color: rgba(0, 88, 156, 1);
	position: absolute;
	left: 20px;
	top: 20px;
}
.headline > h1 {
	font-size: 3em;
}
.headline > h2 {
	font-size: 2em;
	margin-top: 20px;
	margin-bottom: -10px;
}
section#home header .inner-wrap + .menu {
	background-color: rgba(0, 88, 156, 1);
	padding: 10px;
	height: 40px;
}
.menu > .o4u-textbutton {
	color: #FFF;
	float: right;
	margin-left: 50px;
}
.menu > .o4u-textbutton:hover {
	text-decoration: underline;
}	

@media only screen and (min-width : 1200px) and (max-width : 1770px) {
	.headline > h1 {
		font-size: 2.5em;
	}
}	
@media only screen and (min-width : 600px) and (max-width : 1199px) {
	.headline > h1 {
		font-size: 2em;
	}
	.headline > h2 {
		font-size: 1.25em;
	}
}
@media only screen and (max-width : 615px) {
	.headline > h1 {
		font-size: 1.5em;
	}
	.headline > h2 {
		font-size: 1em;
	}
	.headline {
		padding-right: 0px;
	}
	.logo-right {
		position: relative;
		top: 0;
	}
}	

@media only screen and (max-width : 1355px) {
	.headline {
		position: relative;
		left: 0;
		padding-bottom: 20px;
	}
	.inner, .headline {
		float: none;
	}
	.inner {
		margin-top: -20px;
	}
}

@media only screen and (max-width : 663px) {
	.headline > h2 {
		font-size: 1em;
	}
}
	
/*------------------------------------------

	Footerbar

------------------------------------------*/

#o4u-lateral-nav .socials {
  padding: 0 32px;
  position: absolute;
  /*z-index: 2;*/
}
#o4u-lateral-nav .socials:after {
  content: "";
  display: table;
  clear: both;
}
#o4u-lateral-nav .socials a i {
  height: 32px;
  width: 32px;
  float: left;
  padding: 6px;
  margin-right: .5em;
  border-radius: 0.25em;
  background-position: center;
}
#o4u-lateral-nav .socials a.o4u-textbutton {
  border-radius: 0.25em;
  position: relative; /*absolute*/
  height: 32px;
  padding: 8px;
}
#o4u-lateral-nav .socials a.o4u-textbutton:hover, #o4u-lateral-nav .socials a i:hover {
  color: rgba(0, 62, 111, 1);
}

/*----------------------------------

	Flex

----------------------------------*/

section#home > .o4u-flex {
	height: calc(100vh - 240px);
}	
.o4u-flex {
	height: 100vh;
}
.o4u-flex,
.o4u-buttons {
	display: flex;
	flex-flow: row wrap;
}
.o4u-flex > .o4u-item,
.o4u-buttons > div,
.o4u-buttons.videos > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.o4u-flex > .o4u-item,
.o4u-buttons > div {
	width: 33.333%;
	height: 33.3334%;
}
.o4u-buttons.videos > div {
	width: 50%;
	height: 50%;
}	
.o4u-buttons > div {
	padding: 5px;
}
.o4u-flex > .o4u-item {
	text-align: center;
	color: #FFF;
	font-size: 30px;
	padding: 20px;
	line-height: 1.5;
	transition: all 0.3s ease-in-out 0s;
	-webkit-filter: grayscale(10%);
	filter: grayscale(10%);
}
.o4u-flex > .o4u-item:hover {
	cursor: pointer;
	-webkit-filter: none;
	filter: none;
	/*
	-webkit-box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.4);
	box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,0.4);
	*/
}
body:not(.touch) .o4u-flex > .o4u-item > span {
	opacity: 0;
}
body:not(.touch) .o4u-flex > .o4u-item:hover > span {
	opacity: 1;
}
.o4u-flex > .o4u-item > span {
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.o4u-flex > .o4u-item.biodiversity {
	background: #93c0d6 url("../img/photo-1.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.watermanagement {
	background: #25354c url("../img/photo-2.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.ecosystemservices {
	background: #435d2b url("../img/photo-3.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.foodsecurity {
	background: #707d33 url("../img/photo-4.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.climatechange {
	background: #a2bed4 url("../img/photo-5.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.sciencepolicyinterface {
	background: #eee6d7 url("../img/photo-6.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.stakeholderparticipation {
	background: #97898f url("../img/photo-7.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.productseducation {
	background: #1d6789 url("../img/photo-8.jpg") no-repeat center center;
}
.o4u-flex > .o4u-item.globalscientificsynthesis {
	background: #010915 url("../img/photo-9.jpg") no-repeat center center;
}

#main-articles.open {
	background-color: rgba(255, 255, 255, 0.98);
	padding: 20px;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 0;
}
#main-articles,
.o4u-item-content {
	display: none;
}
#main-articles.open,
.o4u-item-content.active {
	display: block;
	-webkit-animation: o4u-fade-in 0.3s;
	-moz-animation: o4u-fade-in 0.3s;
	animation: o4u-fade-in 0.3s;
}	
.o4u-item-content > .o4u-container:first-child {
	margin-top: 10px;
}

#main-articles > .o4u-close {
	position: absolute;
}	
	
.o4u-item-content.slideLeft {
	-webkit-animation: o4u-slide-left 1s;
	-moz-animation: o4u-slide-left 1s;
	animation: o4u-slide-left 1s;
}
.o4u-item-content.slideRight {
	-webkit-animation: o4u-slide-right 1s;
	-moz-animation: o4u-slide-right 1s;
	animation: o4u-slide-right 1s;
}

@media only screen and (max-aspect-ratio: 4/3) {
	.o4u-flex > .o4u-item {
		background-size: 190% !important;
	}
}
@media only screen and (min-aspect-ratio: 4/3) {
	.o4u-flex > .o4u-item {
		background-size: 100% !important;
	}
}
/*
@media only screen and (min-width : 1300px) {
	.o4u-flex > .o4u-item {
		background-size: 100% !important;
	}
}
@media only screen and (max-width : 330px) {
	.o4u-flex > .o4u-item {
		background-size: 160% !important;
	}
}
@media only screen and (min-width: 331px) and (max-width : 360px) {
	.o4u-flex > .o4u-item {
		background-size: 190% !important;
	}
}
@media only screen and (min-width: 361px) and (max-width : 800px) {
	.o4u-flex > .o4u-item {
		background-size: 190% !important;
	}
}
@media only screen and (min-width: 800px) and (min-height : 1024px) {
	.o4u-flex > .o4u-item {
		background-size: 220% !important;
	}
}
*/


@media only screen and (max-width : 660px) {
	.o4u-flex > .o4u-item {
		font-size: 20px;
	}
	.o4u-flex > .o4u-item ,
	#main-articles {
		padding: 10px;
	}	
	.o4u-buttons > div {
		width: 50%;
	}
}	
@media only screen and (max-width : 460px) {
	.o4u-buttons > div {
		width: 100%;
	}	
}	
@media only screen and (max-width : 420px) {
	.o4u-flex > .o4u-item {
		font-size: 15px;
	}
	.o4u-flex > .o4u-item,
	#main-articles	{	
		padding: 10px;
	}	
}


/* -------------------------------- 

Biographyslider

-------------------------------- */

main {
  position: relative;
  z-index: 2;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
main.slide-out, footer.slide-out {
  /* the main element slides to the left when the author bio is visible */
  -webkit-transform: translateX(-320px);
  -moz-transform: translateX(-320px);
  -ms-transform: translateX(-320px);
  -o-transform: translateX(-320px);
  transform: translateX(-320px);
}
main.slide-out .o4u-overlay {
  /* the overlay layer gets visible when the author bio slides in */
  display: block;
  -webkit-animation: o4u-fade-in 0.3s;
  -moz-animation: o4u-fade-in 0.3s;
  animation: o4u-fade-in 0.3s;
}
@media only screen and (min-width: 450px) {
  main.slide-out {
    /* change in size of the author bio section */
    -webkit-transform: translateX(-400px);
    -moz-transform: translateX(-400px);
    -ms-transform: translateX(-400px);
    -o-transform: translateX(-400px);
    transform: translateX(-400px);
  }
}
@media only screen and (min-width: 650px) {
  main.slide-out {
    /* change in size of the author bio section */
    -webkit-transform: translateX(-600px);
    -moz-transform: translateX(-600px);
    -ms-transform: translateX(-600px);
    -o-transform: translateX(-600px);
    transform: translateX(-600px);
  }
}
@media only screen and (min-width: 1200px) {
  main.slide-out {
    -webkit-transform: translateX(-800px);
    -moz-transform: translateX(-800px);
    -ms-transform: translateX(-800px);
    -o-transform: translateX(-800px);
    transform: translateX(-800px);
  }
}


/* -------------------------------- 

Header 

-------------------------------- */
section#home header {
	background: rgba(255, 255, 255,1); /* Old browsers */
	margin-bottom: 20px;
}


/* -------------------------------- 

Impressum + item-content

-------------------------------- */

.o4u-whitepage {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 5%;
  color: #3c3c3c;
  background-color: #FFF;
  opacity: 0.98;
  overflow: auto;
}
/*
.o4u-item-content > .o4u-container > h1,
.o4u-item-content > .o4u-container > h2,
.o4u-item-content > .o4u-container > h3 {
	font-family: Georgia, serif;
}
*/
.o4u-whitepage h1,
.o4u-item-content h1,
.o4u-whitepage h2,
.o4u-item-content h2,
.o4u-whitepage h3,
.o4u-item-content h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: #00589c;
}  
.o4u-whitepage h1,
.o4u-item-content h1 {  
  font-size: 2em;
}
.o4u-item-content h1 {  
  padding-bottom: 0.5em;
}
.o4u-item-content h1+p {
	padding-bottom: 1.25em;
}
.o4u-whitepage h2,
.o4u-item-content h2 {
  font-size: 1.5em;
  padding: 1.5em 0 0.5em 0;
}
.o4u-whitepage h3,
.o4u-item-content h3 {
  font-size: 1.25em;
  padding: 0.5em 0;
}

.o4u-whitepage .project h3 {
	font-weight: normal;
}
.o4u-whitepage .projects {
	display: flex;
	flex-wrap: wrap;
}
.o4u-whitepage .projects > div {
	display: inline-block;
	padding: 10px;
	width: 33%;
}
@media only screen 
and (max-width : 768px) {
	.o4u-whitepage .projects > div {
		width: 50%;
	}	
}
.o4u-whitepage .projects.logo > div > img  {
	padding 0 10px;
}	
.o4u-whitepage .projects+h4 {
	margin-top: 30px;
}


h2+.o4u-buttons {
	margin-top: 3px;
}
.o4u-buttons h3 {
  color: #3c3c3c !important;	
}	
.o4u-buttons h3+p {
	margin-top: -0.5em;
	margin-bottom: 0.5em;
}

.o4u-whitepage p,
.o4u-item-content p,
#appContent p {
  font-size: 0.9em;
  padding: 0.25em 0;
  line-height: 1.5em;
}
.o4u-whitepage p:last-child {
  padding-bottom: 5%;
}
.o4u-whitepage i {
  font-style: italic;
}
.o4u-whitepage b,
.o4u-whitepage a,
.o4u-item-content b {
  font-weight: bold;
}
.o4u-whitepage a:hover {
  color: #00589c;
}
.o4u-whitepage .hr,
.o4u-item-content .hr {
  border-bottom: 1px solid #00589c;
  margin: 0.5em 0;
}
.o4u-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  position: fixed;
  background: url("../img/o4u-icon-close2.svg") no-repeat center center;
  text-indent: 100%;
  white-space: nowrap;
  transform: translateZ(0);
  -moz-transform: translatez(0);
  -ms-transform: translatez(0);
  -o-transform: translatez(0);
  -webkit-transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
.o4u-item-content a.o4u-textbutton {
	border: 1px solid #00589c;
	display: inline-block;
	padding: 10px;
}
.o4u-item-content a.o4u-textbutton:hover {
	border-color: rgba(0, 62, 111, 1);
}	
.o4u-prev-article,
.o4u-next-article,
.o4u-prev-project,
.o4u-next-project {
	position: fixed;
	top: 50%;
	transform: translateZ(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    -webkit-transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}
.o4u-prev-article,
.o4u-prev-project {
	left: 5%;
}
.o4u-next-article,
.o4u-next-project {
	right: 5%;
}
/*
@media only screen 
and (max-width : 660px) {
	.o4u-prev-article {
		left: 20px;
	}
	.o4u-next-article {
		right: 20px;
	}
}	
*/


/* -------------------------------- 

Reader 

-------------------------------- */

.o4u-reader {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 2% 5% 5% 5%;
  color: #3c3c3c;
  background-color: #FFF;
  opacity: 0.98;
  overflow: auto;
}
.o4u-reader.active {
	display: block;
	-webkit-animation: o4u-fade-in 0.3s;
	-moz-animation: o4u-fade-in 0.3s;
	animation: o4u-fade-in 0.3s;
}	
.o4u-reader h3,
.o4u-reader b {
	font-weight: bold;
}	
.o4u-reader h3 {
	line-height: 1.4;
}
.o4u-reader a:not(.rslides_nav),
.o4u-item-content a:not(.rslides_nav) {
	color: #00589C;
}	
.o4u-reader a:hover {
	text-decoration: underline;
}
.o4u-textbutton.o4u-readerbutton {
	padding: 60px 80px !important;
	color: #FFF;
	font-size: 20px;
	font-weight: bold;
	position: relative;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.o4u-textbutton.o4u-readerbutton:before {
	content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    background-repeat: no-repeat;
    background-position: 50% 0;
    -ms-background-size: cover;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.o4u-readerbutton[href="#comtess"]:before {
	background-image: url('../img/projects/button_comtess.jpg');
}
.o4u-readerbutton[href="#sulama"]:before {
	background-image: url('../img/projects/button_sulama.jpg');
}
.o4u-readerbutton[href="#cclandstrad"]:before {
	background-image: url('../img/projects/button_cclandstrad.jpg');
}
.o4u-readerbutton[href="#carbiocial"]:before {
	background-image: url('../img/projects/button_carbiocial.jpg');
}
.o4u-readerbutton[href="#legato"]:before {
	background-image: url('../img/projects/button_legato.jpg');
}
.o4u-readerbutton[href="#lucci"]:before {
	background-image: url('../img/projects/button_lucci.jpg');
}
.o4u-readerbutton[href="#sascha"]:before {
	background-image: url('../img/projects/button_sascha.jpg');
}
.o4u-readerbutton[href="#kulunda"]:before {
	background-image: url('../img/projects/button_kulunda.jpg');
}
.o4u-readerbutton[href="#innovate"]:before {
	background-image: url('../img/projects/button_innovate.jpg');
}
.o4u-readerbutton[href="#tfo"]:before {
	background-image: url('../img/projects/button_tfo.jpg');
}
.o4u-readerbutton[href="#sumario"]:before {
	background-image: url('../img/projects/button_sumario.jpg');
}
.o4u-readerbutton[href="#surumer"]:before {
	background-image: url('../img/projects/button_surumer.jpg');
}
.o4u-textbutton.o4u-readerbutton:hover:before {
	opacity: 1;
	/*
	-webkit-box-shadow: inset 0 0px 30px rgb(0,62,111);
	box-shadow: inset 0 0px 30px rgb(0,62,111);
	-moz-box-shadow: inset 0 0px 30px rgb(0,62,111);
	*/
}
.o4u-textbutton.o4u-readerbutton:hover {
	text-shadow: 0 0 15px rgb(0,62,111);
}


.o4u-foldable {
	margin: 20px 0;
}
.o4u-foldable > .o4u-fold-header {
	background-color: #EEE;
	padding: 10px;
	cursor: pointer;
}
/*
.o4u-foldable > .o4u-fold-header > a[aria-expanded="true"] > i.fa {
	
}
*/
.o4u-foldable > .o4u-fold-content {
	display: none;
}
.o4u-foldable > .o4u-fold-content.open {
	display: block;
	padding: 10px; 
	background-color: #F8F8F8;
}

.o4u-slider .img-caption {
	background-color: rgba(0, 0, 0, 0.5);
	color: #FFF;
	padding: 10px;
	position: absolute;
	bottom: 0;
	width: 100%;
	font-size: 0.8em;
}
.o4u-slider .img-caption > i {
	font-style: italic;
}
.o4u-slider .img-caption > span {
	font-size: 0.7em;
}	

.o4u-articles > article > header > h2+img {
	margin-top: 20px;
}


/* -------------------------------- 

Slides

-------------------------------- */

.o4u-me-bio {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  overflow-y: auto;
  /* smooth scrolling on mobile phones and tablets */
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  /* this how we move the author bio section off the canvas */
  -webkit-transform: translateX(320px);
  -moz-transform: translateX(320px);
  -ms-transform: translateX(320px);
  -o-transform: translateX(320px);
  transform: translateX(320px);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.o4u-me-bio.slide-in {
  /* the author bio section slides in when the user clicks on the team member picture */
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.o4u-me-bio .o4u-me-bio-pict {
  position: relative;
}

.videostv.o4u-me-bio,
.gdi.o4u-me-bio,
.wocat.o4u-me-bio,
.landyous.o4u-me-bio {
  background: rgba(0, 88, 156, 1);	
}
.videostv.o4u-me-bio .o4u-me-bio-pict::after,
.gdi.o4u-me-bio .o4u-me-bio-pict::after,
.wocat.o4u-me-bio .o4u-me-bio-pict::after,
.landyous.o4u-me-bio .o4u-me-bio-pict::after {
  background: -webkit-linear-gradient( bottom , rgba(0, 88, 156, 1), rgba(0, 88, 156, 0));
  background: linear-gradient(to top, rgba(0, 88, 156, 1), rgba(0, 88, 156, 0));
}
.o4u-me-bio .o4u-me-bio-pict::after {
  /* gradient at the bottom of the image - same color of the background of the section */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
}
.no-cssgradients .o4u-me-bio .o4u-me-bio-pict::after {
  display: none;
}
.o4u-me-bio img {
  width: 100%;
  display: block;
}
.o4u-me-bio .o4u-bio-content {
  padding: 1em;
  color: #FFF;
}
.o4u-me-bio .o4u-bio-content h1,
.o4u-me-bio .o4u-bio-content h2,
.o4u-me-bio .o4u-bio-content h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
}
.o4u-me-bio .o4u-bio-content h1 {
  text-align: center;
  font-size: 20px;
  font-size: 1.25rem;
}
.o4u-me-bio .o4u-bio-content p {
  margin: 1em 0;
  line-height: 1.4;
}
.o4u-me-bio .o4u-bio-content h2 {
  font-size: 2em;
  color: #FFF;
  font-weight: bold;
  padding: 0.5em 0;
}
.o4u-me-bio .o4u-bio-content h3 {
  font-size: 1.25em;
  color: #FFF;
  padding-bottom: 1em;
}
.o4u-me-bio .o4u-bio-content .videos h3 {
	color: #FFF !important;
	padding-top: 0.25em;
	padding-bottom: 0 !important;
}
	
.o4u-me-bio .o4u-bio-content ul {
  list-style: disc;
  padding-left: 20px;
}
.o4u-me-bio .o4u-bio-content ol {
  list-style: outside inside;
  padding-left: 20px;
}
.o4u-me-bio .o4u-bio-content ul li,
.o4u-me-bio .o4u-bio-content ol li {
  padding-bottom: 0.5em;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.o4u-me-bio .o4u-bio-content a {
  color: #FFF;
  font-weight: bold;
}
.o4u-me-bio .o4u-bio-content a:not(.btn):hover {
  /*text-decoration: underline;*/
  color: #3c3c3c;
}
.o4u-me-bio .o4u-bio-content a.btn {
	border: 1px solid #FFF;
	display: block;
	padding: 10px;
	text-align: center;
	margin-top: 20px;
}
.o4u-me-bio .o4u-bio-content a.btn:hover {
	background-color: rgba(0, 0, 0, 0.2);
}	
/*
.o4u-me-bio .o4u-bio-content a.btn:before {
	background-color: #FFF;
    margin-top: -10px;
    content: "";
    height: 36px;
    left: 25%;
    position: absolute;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
    visibility: hidden;
    width: 50%;
}	
.o4u-me-bio .o4u-bio-content a.btn:hover:before {
	transform: scaleX(1);
    visibility: visible;
}	
*/

@media only screen and (min-width: 450px) {
  .o4u-me-bio {
    width: 400px;
    -webkit-transform: translateX(400px);
    -moz-transform: translateX(400px);
    -ms-transform: translateX(400px);
    -o-transform: translateX(400px);
    transform: translateX(400px);
  }
}
@media only screen and (min-width: 650px) {
  .o4u-me-bio {
    width: 600px;
    -webkit-transform: translateX(600px);
    -moz-transform: translateX(600px);
    -ms-transform: translateX(600px);
    -o-transform: translateX(600px);
    transform: translateX(600px);
  }
  .o4u-me-bio .o4u-bio-content {
    padding: 2em;
  }
  .o4u-me-bio .o4u-bio-content p {
    line-height: 1.6;
    margin: 1em 0;
  }
}
@media only screen and (min-width: 1200px) {
  .o4u-me-bio {
    width: 800px;
    -webkit-transform: translateX(800px);
    -moz-transform: translateX(800px);
    -ms-transform: translateX(800px);
    -o-transform: translateX(800px);
    transform: translateX(800px);
  }
  .o4u-me-bio .o4u-me-bio-pict::after {
    height: 150px;
  }
  .o4u-me-bio .o4u-bio-content {
    padding: 3em;
    /* we move the content up so the title is over the color gradient */
    -webkit-transform: translateY(-80px);
    -moz-transform: translateY(-80px);
    -ms-transform: translateY(-80px);
    -o-transform: translateY(-80px);
    transform: translateY(-80px);
  }
  .o4u-me-bio .o4u-bio-content h1 {
    font-size: 40px;
    font-size: 2.5rem;
  }
  .o4u-me-bio .o4u-bio-content p {
    font-size: 0.9em;
  }
  .no-cssgradients .o4u-me-bio .o4u-bio-content {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

.o4u-me-bio-close {
  width: 32px;
  height: 32px;
  overflow: hidden;
  position: fixed;
  top: 10px;
  right: 10px;
  background: url("../img/o4u-icon-close.svg") no-repeat center center;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 3;
  display: none;
}
.o4u-me-bio-close.is-visible {
  display: block;
  -webkit-animation: o4u-move-in 0.8s;
  -moz-animation: o4u-move-in 0.8s;
  animation: o4u-move-in 0.8s;
}
@media only screen and (min-width: 1200px) {
  .o4u-me-bio-close {
    right: 20px;
    top: 20px;
  }
}

.o4u-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255,0.9); /*0, 62, 111,0.8*/
  cursor: pointer;
  display: none;
  z-index: 101;
}

#lightbox {
	position: fixed;
}


/* -------------------------------- 

	Apps

-------------------------------- */

.o4u-app {
	clear: both;
	margin: 50px 0;
}
.o4u-app > div:first-child {
	float: left;
	width: 200px;
	margin-right: 20px;
	min-height: 290px;
}
#scientificcoordination .o4u-app > div:first-child  {
	min-height: 150px;
}
p + .o4u-app {
	margin-top: 15px;
}


/* -------------------------------- 

Articles

-------------------------------- */
.o4u-articles {
  position: relative;
  width: 90%;
  max-width: 650px;
  margin: 0 auto 50px;
}
.o4u-articles::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
.o4u-articles article {
  padding: 35px 0;
  border-bottom: 1px solid #e6e6e6;
}
.o4u-articles article:last-of-type {
  border-bottom: none;
  min-height: 100vh;
}
.o4u-articles h1 {
  margin: .6em 0 .2em;
  color: #141414;
  line-height: 1.2;
  font-size: 2em;
  /*font-family: Georgia, serif;*/
}
.o4u-articles p {
  padding: 0.5em 0;
  line-height: 1.6;
  font-size: 0.9em;
}
.o4u-articles p+h3 {
	padding-top: 1em;
}	
.o4u-articles p:last-of-type {
  padding-bottom: 0;
}

@media only screen and (min-width: 1100px) {
  .o4u-articles {
    width: 970px;
    max-width: none;
    padding-right: 320px;
    margin-bottom: 5em;
  }
  .o4u-articles::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

/* -------------------------------- 

Aside

-------------------------------- */
.o4u-reader-abstract {
  /* hide on mobile */
  display: none;
  width: 290px;
  background-color: #f2f2f2;
}
.o4u-reader-abstract li {
  counter-increment: articles;
}
.o4u-reader-abstract a {
  display: block;
  position: relative;
  padding: 25px 15px 25px 65px;;
}
.o4u-reader-abstract a:hover {
  text-decoration: none;
}
.o4u-reader-abstract a:hover em {
  color: #00589C;
}
.o4u-reader-abstract a::before, .o4u-reader-abstract a::after {
  position: absolute;
}
.o4u-reader-abstract a::before {
  /* article number */
  content: counter(articles);
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 1.1em;
  width: 36px;
  height: 36px;
  line-height: 34px;
  border-radius: 50%;
  color: #b3b3b3;
  font-family: Georgia, serif;
  text-align: center;
  box-shadow: inset 0 0 0 1px #d9d9d9;
  -webkit-transition: background-color 0.3s, color 0.3s;
  -moz-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}
.o4u-reader-abstract a::after {
  /* bottom separation - line */
  content: '';
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 0;
  height: 1px;
  width: 260px;
  background-color: #d9d9d9;
}
.o4u-reader-abstract a.read em {
  color: #a6a6a6;
}
.o4u-reader-abstract a.read::before {
  background-color: #d9d9d9;
}
.o4u-reader-abstract a.reading em {
  color: #00589c;
}
.o4u-reader-abstract a.reading svg {
  display: block;
}
.o4u-reader-abstract a.reading::before {
  background-color: #ffffff;
  color: #141414;
}
.o4u-reader-abstract li:last-of-type a::after {
  display: none;
}
.o4u-reader-abstract em {
  display: block;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #141414;
  /* truncate text with ellipsis */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  transition: color 0.3s;
}
.o4u-reader-abstract b {
  color: #a6a6a6;
  font-size: 1.2rem;
  font-family: Georgia, serif;
  font-style: italic;
}
.o4u-reader-abstract svg {
  /* this is the filling circle around the article number */
  display: none;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 1.1em;
  stroke: #00589c;
}
@media only screen and (min-width: 1100px) {
  .o4u-reader-abstract {
    display: block;
    position: absolute;
    top: 35px;
    right: 0;
  }
  .o4u-reader-abstract.fixed {
    position: fixed;
    right: calc(50% - 485px);
	transform: translateZ(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    -o-transform: translatez(0);
    -webkit-transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
  }
}


/*
	RSlides
*/
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}

.rslides_nav {
  color: white;
  position: relative;
  padding: 10px;
  text-shadow: 0 0 5px #000;
  margin-top: calc(-25% - 32px);
  z-index: 100;
}
.o4u-reader a.rslides_nav {
	margin-top: -25%;
}
.rslides_nav.prev {
  float: left;	
}
.rslides_nav.next {
  float: right;	
}


/*
	
	Youtube
	
*/
.youtube,
.vimeo {
    background-color: #000;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
	min-height: 178px;
	margin-top: 15px;
}
.youtube img,
.vimeo img {
    width: 100%;
    top: -16.84%;
    left: 0;
    opacity: 0.7;
}
.youtube .play-button,
.vimeo .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba( 0,88,156,0.6 );
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.youtube .play-button:before,
.vimeo .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button,
.vimeo img,
.vimeo .play-button {
    cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before,
.vimeo img,
.vimeo iframe,
.vimeo .play-button,
.vimeo .play-button:before
 {
    position: absolute;
}
.youtube .play-button,
.youtube .play-button:before,
.vimeo .play-button,
.vimeo .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe,
.vimeo iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}


/* -------------------------------- 

xkeyframes 

-------------------------------- */
@-webkit-keyframes o4u-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-moz-keyframes o4u-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes o4u-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-webkit-keyframes o4u-move-in {
  0% {
    -webkit-transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes o4u-move-in {
  0% {
    -moz-transform: translateX(100px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes o4u-move-in {
  0% {
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes o4u-slide-left {
  0% {
    -webkit-transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes o4u-slide-left {
  0% {
    -moz-transform: translateX(100%);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes o4u-slide-left {
  0% {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes o4u-slide-right {
  0% {
    -webkit-transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(100%);
  }
}
@-moz-keyframes o4u-slide-right {
  0% {
    -moz-transform: translateX(0);
  }

  100% {
    -moz-transform: translateX(100%);
  }
}
@keyframes o4u-slide-right {
  0% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
}




/* Portrait */

@media only screen 
and (max-width : 880px) {
	
}

/* -------------------------  */
/* PHONES ------------------  */
/* -------------------------  */

/* Landscape */

@media only screen 
and (max-width : 660px) {
	main {
		margin: 15px;
	}
	nav#o4u-lateral-nav {
		margin-top: -10px;
	}
	main.slide-out .o4u-overlay {
		left: 15px;
	}
	section#home .inner-wrap {
		padding: 20px 20px 30px;
	}
}

/* Portrait */
@media only screen 
and (max-width : 420px) {
	main {
		margin: 10px;
	}
	nav#o4u-lateral-nav {
		margin-top: -10px;
	}
	main.slide-out .o4u-overlay {
		left: 10px;
	}	
	.menu > .o4u-textbutton {
		font-size: 80%;
	}	
}