/* ----- GLOBALS ----- */
* {
	margin: 0;
}
html, body {
	font-family: 'Rubik', sans-serif;
	color: #666666;
	background-color: #FFF;
	font-size: 17px;
	margin:0;
	padding:0;
	height:100%;
}
body {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
}
#global-container {
	order: 0;
    flex: 1 0 auto;
    align-self: auto;
	width: 100%;
}
#content {
	overflow:auto;
}
.wrap{
	min-width:100px;
	max-width:1100px;
	margin:0 auto;
	position:relative;
	padding: 0 30px
}
.wrap p a {
	color: #149A9A;
	text-decoration: none;
}
	.wrap p a:hover {
		text-decoration: underline;
	}
.clear {
	clear: both;
	width: 0;
	height: 0;
}
.col1_2 { 
	width: 50%; 
}
.col1_2, .col1_3, .col2_3 { 
	float: left; 
}
.col2_3 { 
	width: 66.6%; 
}
.col1_3 { 
	width: 33.3%; 
}
.link {
	cursor: pointer;
}
video {
	width: 100%    !important;
	height: auto   !important;
}
input, textarea, select {
	padding: 8px;
	color: #149a9a;
	font-family: 'Rubik', sans-serif;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
input[type="text"], textarea {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 0;
	border: 1px solid #999;
}
h1 {
	margin: 50px 0 30px;
	font-weight: 400;
	font-size: 40px;
	text-align: center;
	color: #555;
}
h2 {
	margin-top: 40px;
	line-height: 34px;
	font-size: 26px;
}
p {
	line-height: 24px;
	margin: 10px 0;
}
.page-header-image img {
	width: 100%;
}
.button-container {
	margin: 20px 0;
}
.button {
	padding: 7px 15px;
	background-color: #149A9A;
	font-size: 16px;
	color: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
	-webkit-transition: all 300ms cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-moz-transition: all 300ms cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-o-transition: all 300ms cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	transition: all 300ms cubic-bezier(0.260, 0.980, 0.605, 0.900); /* custom */
	-webkit-transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-moz-transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-o-transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); /* custom */
	white-space: nowrap;
}
.button:hover {
	background-color: #027878
}
.button-loader {
	height: 24px;
	vertical-align: middle;
}
.button-container.right .button-loader {
	margin-right: 30px;
}
.button-container.center .button-loader {
	margin-left: 20px;
}
.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
.bottom-spacer {
	height:50px;
}

.gray-section {
	background-color: #EAE4D3;
}
.green-section {
	background-color: #D9FFA9;
}
.in-page-title {
	background-color: #149A9A;
	padding: 100px 0 40px;
}
	.in-page-title h1 {
		text-align: right;
		color: #FFF;
		text-transform: uppercase;
		margin-left: 220px;
	}
.page-content {
	margin-top: 50px;
}
.section {
	color: #666;
	padding: 50px 30px;
}
	.section ul li {
		margin: 10px 0;
	}
.section-splitter {
	position: relative;
}
.section.with-image .wrap {
	display: table;
}
.section-splitter-top {
	margin-top: 50px;
}
.section-splitter-top .section-splitter-inner1 {
	background-color: #D9FFA9;
	width: 100%;
	height: 30px;
	z-index:-1;
	-webkit-clip-path: polygon(0% 100%, 30% 0%, 100% 100%);
	-moz-clip-path: polygon(0% 100%, 30% 0%, 100% 100%);
	-ms-clip-path: polygon(0% 100%, 30% 0%, 100% 100%);
	clip-path: polygon(0% 100%, 30% 0%, 100% 100%);
}
.section-splitter-bottom {
	margin-bottom: 50px;
}
.section-splitter-bottom .section-splitter-inner1 {
	background-color: #D9FFA9;
	width: 100%;
	height: 30px;
	z-index:-1;
	-webkit-clip-path: polygon(0% 0%, 0% 60%, 15% 0%, 65% 100%, 95% 60%, 100% 0);
	-moz-clip-path: polygon(0% 0%, 0% 60%, 15% 0%, 65% 100%, 95% 60%, 100% 0);
	-ms-clip-path: polygon(0% 0%, 0% 60%, 15% 0%, 65% 100%, 95% 60%, 100% 0);
	clip-path: polygon(0% 0%, 70% 100%, 100% 0%);
}
.section .col1, .section .col2 {
	display: table-cell;
	width: 50%;
	vertical-align: middle;
}
.image-container {
	text-align: center;
}
.section .image-container img {
	max-height: 200px;
}
.form-container label {
	display: block;
	margin: 10px 0;
}
.form-container input, .form-container textarea {
	width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
.form-container textarea {
	height: 179px;
}
.form-container .col1_2:nth-of-type(1) .padder {
	margin-right: 20px;
}
.form-container .col1_2:nth-of-type(2) .padder {
	margin-left: 20px;
}
.consent {
	font-size: 13px;
}
#consent-popup {
	max-width: 600px;
}
	#consent-popup .consent-bar {
		width: 100%;
		height: 30px;
		background-color: #66A622;
	}
#consent-popup .consent {
	margin: 40px;
	font-size: 14px;
}
	.consent input {
		width: auto;
	}
#consent-popup .button-container {
	margin-bottom: 20px;
}
#consent-popup .button {
	margin: 0 5px;
}
/* ----- HEADER ----- */
#header {
	padding: 10px 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9;
}
	#header #logo {
		float:left;
		margin-top: 20px;
	}
		#header #logo img {
			height: 200px;
		}
	#header #menu-container {
		overflow: hidden;
		text-align: right;
	}
		#header #menu-container ul#menu {
			list-style: none;
			margin: 55px 0 0;
			padding: 0;
			font-size: 0;
		}
			#header #menu-container ul#menu li {
				display: inline-block;
				font-size: 14px;
				color: #F3F3F3;
				margin: 0 15px;
				letter-spacing: 1px;
				font-weight: 600;
				text-transform: uppercase;
			}
				#header #menu-container ul#menu li a {
					text-decoration: none;
					color: inherit;
					display: table;
					padding-bottom: 3px;
					border-bottom: 2px solid transparent;
				}
					#header #menu-container ul#menu li a:hover,
					#header #menu-container ul#menu li a.selected {
						border-bottom: 2px solid #F0F0F0;

					}
/* ----- HOME ----- */
div#home-banner {
	width:100%;
	height: 500px;
	background-color: #149A9A;
	position: relative;
	overflow: hidden;
	-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 75%);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 75%);
}
	div#home-banner #brain-image {
		position: absolute;
		bottom: -100px;
		right: 20px;
		width: 500px;
	}
	div#home-banner div#home-banner-title,
	div#home-banner div#home-banner-subtitle {
		color: #FFF;
	}
	div#home-banner div#home-banner-title {
		margin-top: 255px;
		font-size: 60px;
	}
	div#home-banner div#home-banner-subtitle {
		margin-top: 5px;
		font-size: 20px;
	}
div#home h1 {
	margin-bottom: 0;
}
div#home #lab-responsible {
	font-size: 24px;
	margin-bottom: 40px;
}
#home-projects-title {
	font-size: 20px;
	font-weight: 500;
	margin-top: 70px;
	text-transform: uppercase;
}
div#home-projects {
	background-color: #149A9A;
	padding: 20px 0 50px;
	color: #FFF;
	margin: 50px 0;
}
div#home-projects .home-project {
	margin: 50px 0;
	font-size: 0;
}
	div#home-projects img {
		width: 80%;
		max-width: 230px;
	}
	div#home-projects p {
		font-size: 17px;
	}
	div#home-projects .col1_3,
	div#home-projects .col2_3 {
		display: inline-block;
		vertical-align: middle;
		float: none;
	}
#home-news {
	font-size: 0;
	margin: 50px auto;
}
	#home-news h2 {
		margin-bottom: 30px;
	}
	#home-news ul {
		list-style: none;
		padding: 0;
		margin: 0;
		font-size: 0;
	}
		#home-news li {
			width: 33.3%;
			display: inline-block;
			vertical-align: top;
			font-size: 12px;
		}
			#home-news li .padder {
				padding: 20px;
				-webkit-transition: all 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
				transition:         all 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
			}
		#home-news a.button {
			display: inline-block;
			color: #FFF;
			font-size: 13px;
			padding: 10px 20px;
		}
		#home-news a.button:hover {
			color: #FFF;
		}
		#home-news a {
			text-decoration: none;
			color: inherit;
			display: block;
		}
		#home-news .padder:hover {
			background-color: #149A9A;
			color: #FFF;
		}
		#home-news .image {
			width: 100%;
			height: 200px;
			background-position: center;
			background-size: cover;
			margin-right: 20px;
		}
		#home-news .date {
			color: #149A9A;
			font-weight: 600;
			-webkit-transition: all 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
			transition:         all 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
			font-size: 13px;
			margin-bottom: 3px;
		}
			#home-news .padder:hover .date {
				color: #FFF;
			}
		#home-news .details {
			overflow: hidden;
			text-align: justify;
			font-size: 13px;
			line-height: 18px;
			margin-top: 20px;
		}
		#home-news p {
			margin: 5px 0;
			line-height: 18px;
		}
		#home-news .read-more {
			margin-top: 10px;	
			text-align: right;
			color: #149A9A;
			-webkit-transition: all 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
			transition:         all 300ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
		}
			#home-news .padder:hover .read-more {
				color: #FFF;
			}
		#content #home-news h3 {
			text-align: left;
			margin: 0 0 10px;
			font-size: 16px;
		}

div#we-are-cer .section {
	padding: 0;
}
div#home-pictos {
	font-size: 0;
	text-align: center;
}
	div#home-pictos h2.first-title {
		margin-top: 0;
	}
	#home-pictos a {
		text-decoration: none;
		color: inherit;
		display: table;
	}
	#home-pictos ul {
		margin: 50px auto 0;
		padding: 0;
	}
		#home-pictos li {
			width: 33%;
			display: inline-block;
			vertical-align: top;
			font-size: 14px;
			text-align: center;
		}
			#home-pictos li h2.picto-title {
				text-align: center;
				font-size: 20px;
				font-weight: 600;
				margin: 30px 0 10px;
			}
			#home-pictos li>div {
				margin: 0 20px;
			}
			#home-pictos li img {
				width: 80%;
				max-width: 128px;
			}
			#home-pictos p {
				text-align: center;
				line-height: 18px;
				font-size:17px;
			}
				#home-pictos li p {
					font-size: 15px;
				}
#home-form-container {
	position: relative;
	padding: 50px 0;
}
	#home-form-container #home-form-title,
	#home-form-container #home-form-subtitle {
		text-align: center;
	}
	#home-form-container #home-form-title {
		font-size: 26px;
	}
	#home-form-container #home-form-subtitle {
		margin: 5px 0 30px;
	}
	#home-form-container label,
	#home-form-container input[type=text],
	#home-form-container textarea {
		display: block;
	}
	#home-form-container label {
		margin-bottom: 5px;
	}
	#home-form-container input[type=text],
	#home-form-container textarea {
		width: 100%;
	}
	#home-form-container textarea {
		height: 111px;
	}
	#home-form-container .col1_2:nth-of-type(1) .padder {
		margin-right: 20px;
	}
	#home-form-container .col1_2:nth-of-type(1) label:nth-of-type(2) {
		margin-top: 20px;
	}
	#home-form-container .col1_2:nth-of-type(2) .padder {
		margin-left: 20px;
	}
	#home-form-container .consent {
		margin: 30px 0;
		font-size: 12px;
	}
		#home-form-container .consent input {
			vertical-align: middle;
		}
/* ----- ABOUT ----- */
#page-about img {
	max-width: 400px;
	width: 80%;
}
/* ----- PEOPLE ----- */
#page-people h2 {
	margin: 50px 0;
	text-align: center;
}
.left-aligned-people .picture {
	float: left;
	margin-right: 40px;
}
.left-aligned-people .text {
	overflow: hidden;
}
.top-aligned-people .picture {
	margin: 20px auto;
}
.left-aligned-people .text p,
.top-aligned-people .text p {
	font-size: 14px;
}
.left-aligned-people .picture,
.top-aligned-people .picture {
	width: 200px;
	height: 200px;
	background-size: cover;
	background-position: center;
	border-radius: 2px;	
}
.people-element-container {
	margin: 50px 0;
}
.people-element-container:after {
	content: "";
	display: table;
	clear: both;
}
#page-people .col1_2 p {
	text-align: center;
}
/* ----- PROJECTS ----- */
#page-projects img {
	width: 100%;
	max-width: 700px;
	margin: 40px 0;
}
#page-projects p.small {
	font-size: 12px;
	line-height: 18px;
	margin: 30px 0;
}
.tabs-container {
	width: 100%;
	margin-bottom: 50px;
}
	.tabs-container>div {
		display: inline-block;
		width: 200px;
		text-align: center;
		background-color: #DDD;
		color: #666;
		padding: 7px 0;
		cursor: pointer;
	}
	.tabs-container>div.selected,
	.tabs-container>div:hover {
		background-color: #149A9A;
		color: #FFF;
	}
.project-type-container,
.outreach-type-container {
	display: none;
}
	.project-type-container.selected,
	.outreach-type-container.selected {
		display: inline;
	}

	#clipping-container #news {
		font-size: 0;
	}
	#clipping-container .newsresume-entry {
		width: 50%;
		display:inline-block;
		vertical-align: top;
		padding: 0;
		font-size: 17px;
		border: 0;
	}
	#clipping-container .newsresume-entry .padder {
		margin: 10px;
		padding: 20px;
		background-color: #F0F0F0;
	}
	#clipping-container .newsresume-entry h2 {
		margin: 0 0 20px;
	}
	#clipping-container .newsresume-entry p:last-of-type {
		margin-bottom: 0;
	}
	#clipping-container .newsresume-entry a {
		word-break: break-all;
	}

/* ----- PUBLICATIONS ----- */
.publications-filter {
	border-top: 1px solid #CCC;
	padding-top: 20px;
	margin-top: 20px;
}
.publications-list {
	margin-top: 50px;
}
.publications-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
	.publications-list ul li {
		margin: 10px 0;
		padding: 15px;
		background-color: #F8F1E9;
		border: 1px solid #D8C8B8;
		line-height: 24px;
	}
		.publications-list ul li a {
			color: #149A9A;
		}

/* ----- NEWS ----- */

#news a {
	color: inherit;
	text-decoration: none;
}
.newsresume-entry {
	border-bottom:1px solid #61605C;
	position:relative;
	padding:20px;
	-webkit-transition: all 1000ms cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-moz-transition: all 1000ms cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-o-transition: all 1000ms cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	transition: all 1000ms cubic-bezier(0.260, 0.980, 0.605, 0.900); /* custom */
	-webkit-transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-moz-transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	-o-transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); 
	transition-timing-function: cubic-bezier(0.260, 0.980, 0.605, 0.900); /* custom */
}
.newsresume-entry img {float:right; margin: 5px 0 10px 10px; max-width:200px}
.newsresume-entry .read-more {text-align: center;color: #149A9A;}
.newsresume-entry .entry-date {padding:5px 0 10px;font-size:13px;font-weight:600}

.newsresume-entry p, .news-entry p {
	margin-top: 10px;
	text-align: justify;
}
#news-detail-image-container {
	text-align: center;
	margin: 30px 0;
}
	#news-detail-image-container img {
		max-width: 500px;
		max-height: 400px;
		width: 100%;
	}
a.news_pagger {
	font-size: 12px; 
	font-weight: bold;	
}
a.news_pagger:hover {
	color: #6E2763;
}
#news-paging {text-align:right;margin-top:20px;padding: 5px 10px;}
#news-paging a {color:#7e7e7e;margin:0 5px;font-size:20px;}
#news-paging a:hover {
	color: #149A9A;
}
#news-paging a.selected-page {
	color: #149A9A;
}

.news-entry img#news-entry-image {float:right;margin-left:10px;max-width:400px}
.news-entry .entry-date {padding:5px 0 10px;font-size:13px;font-weight:600}
.news-entry h2 {border-bottom:1px solid #149A9A;padding-bottom:10px}
.news-entry h2 a {color: #149A9A; text-decoration: none; }
.news-entry h2 a:hover {text-decoration:underline;}
.news-entry .button {text-decoration: none}

.empty-list {text-align:center;font-size:24px;padding: 60px 0}
.empty-list img {display: inline-block;max-width:150px;width:90%}

/* ----- DIGITAL MARKETING ----- */
ul#dm-pictos {
	list-style:none;
	font-size: 0;
	margin: 60px auto;
}
ul#dm-pictos li {
	display: inline-block;
	width: 20%;
	text-align: center;
}
ul#dm-pictos li img {
	width: 90%;
	max-width: 128px;
}
ul#dm-pictos h3 {
	font-size: 22px;
	margin: 20px 0 0;
}
ul#dm-pictos p {
	margin-top: 5px;
	font-size: 16px;
	text-align: center;
}
#dm-form {
	padding: 30px 0;
	display: none;
}
#dm-form-container h3 {
    margin-top: 40px;
    line-height: 34px;
    font-size: 26px;
}
/* ----- OUTREACH ----- */
#sct-container img {
	width: 100%;
	max-width: 700px;
	margin: 40px 0;
}
/* ----- CONTACTS ----- */
#page-contacts .intro {
	margin-bottom: 40px;
	font-weight: 600;
}
#contact-contacts {
	text-align: left;
}
	#contact-contacts h2 {
		font-weight: 600;
		font-size: 16px;
		margin: 20px 0 0;
		text-transform: uppercase;
	}
	#contact-contacts h2:nth-of-type(1) {
		margin: 0;
	}
	#contact-contacts p {
		margin: 0;
		line-height: 22px;
	}
	#contact-contacts a {
		color: inherit;
		text-decoration: none;
	}
		#contact-contacts a:hover {
			text-decoration: underline;
		}
	
#contact-form {
	text-align:left
	margin-left: 20px;
}
	#contact-form .form-line {
		margin-bottom: 20px;
		text-align: left;
	}
	#contact-form label {
		font-weight: 400;
		float:left;
		width: 100px;
		margin-right: 10px;
	}
	#contact-form .input-container {
		overflow: hidden;
	}
	#contact-form input, #contact-form textarea {
		width: 100%;
	}
	#contact-form textarea {height:130px}
	#contact-form input[type="checkbox"] {
		vertical-align:middle;width:auto;
	}
#page-contacts .map-intro {
	margin: 30px 0 20px;
}
.embed-map-container { position: relative; padding-bottom: 500px; height: 0; overflow: hidden; width: 100% } 
.embed-map-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ----- FOOTER ----- */
#footer {
	width:100%;
	background-color: #149A9A;
	color: #FFF;
	padding: 0 0 30px;
	order: 1;
	flex: 0 0 auto;
	align-self: auto;
}
#prefooter {
	margin: 20px 0;
	text-align: center;
}
	#prefooter .sponsor {
		display: inline-block;
		margin: 20px;
		vertical-align: middle;
	}
		#prefooter .sponsor img {
			height: 40px;
		}
		#prefooter .sponsor:nth-of-type(1) img {
			height: 100px;
		}
#posfooter {
	margin-top: 30px;
}
.footer-col1,
.footer-col2,
.footer-col3 {
	display: inline-block;
	vertical-align: top;
}
	/* ----- FOOTER COLUMN 1 ----- */
	.footer-col1 {
		display: inline-block;
		width: 35%
	}
		.footer-col1 .padder {
			margin-right: 20px;
		}
		.footer-col1 img {
			height: 170px;
			float: left;
			margin-right: 30px;
		}
		.footer-col1 p {
			font-size: 14px;
			line-height: 22px;
			margin: 0;
			overflow: hidden;
		}
	/* ----- FOOTER COLUMN 2 ----- */
	.footer-col2 {
		width: 45%
	}
	.footer-col2 .padder {
		margin: 0 20px 0 100px;
	}
	.footer-col2 ul {
		padding: 0;
		margin: 0;
		list-style: none;
		display: inline-block;
		margin-right: 60px;
		vertical-align: top;
	}
		.footer-col2 ul li {
			margin: 5px 0;
		}
		.footer-col2 ul li:nth-of-type(1),
		.footer-col2 ul li:nth-last-of-type(1) {
			margin-top: 0;
		}
			.footer-col2 ul li a {
				color: #FFF;
				text-decoration: none;
				font-size: 15px;
				position: relative;
			}
	.footer-menu a.selected:before,
	.footer-menu a:hover:before {
		content: "●";
		position: absolute;
		left: -13px;
	}
	/* ----- FOOTER COLUMN 3 ----- */
	.footer-col3 {
		width: 20%;
		font-size: 22px;
	}
	.footer-col3 {
		text-align: left;
	}
		.footer-col3 p {
			margin-top: 0;
		}
		.footer-col3 img {
			height: 32px;
			margin: 0 3px;
		}
#privacy-policy-link-container {
	margin-top: 15px;
}
	#privacy-policy-link-container a {
		color: #FFF;
		text-decoration: none;
		font-size: 15px;
	}
#eb-credits {
	text-align: center;
	padding: 10px 0 0;
}

#cookies-message {
  padding: 20px;
	background-color: rgba(55,55,55,0.85);
	color: #FFF;
	font-size: 14px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border-radius: 5px;
	z-index: 9999;
	max-width: 300px;
	width: 100%;
}
	#cookies-message .button-container {
		margin-bottom: 0;
	}
	#cookies-message a {
		cursor: pointer;
		text-decoration: none;
		margin: 0 10px;
		display: inline-block;
	}
	#cookies-message a:hover {
		background-color: #027878
	}
#error_404 {
	text-align: center;
	margin: 100px 0;
}
	#error_404 img {
		width: 80%;
		max-width: 200px;
	}
	#error_404 p strong {
		font-size: 30px;
	}
	#error_404 .button {
		text-decoration: none;
	}


/* ----- RWD ----- */
/*@media only screen and (max-width: 659px) {	
	input, textarea, select {width:100%}	
}

@media only screen and (min-width: 900px) {
	input, textarea, select {width:90%}
}*/
@media only screen and (max-width: 319px) {
	div#home-image h2 {
		font-size: 22px;
		line-height: 32px;
	}
}
@media only screen and (max-width: 339px) {
	.button {
		font-size: 13px;
	}
	#header #logo img {
		height: 140px;
		margin-top: 15px;
	}
	.in-page-title {
		padding: 160px 0 40px;
	}
	.in-page-title h1 {
		font-size: 30px;
	}
	div#home-banner div#home-banner-title {
		margin-top: 180px;
	}
}
@media only screen and (max-width: 355px) {
	#prefooter .sponsor img {
		width: 70%;
		height: auto;
	}
	#prefooter .sponsor:nth-of-type(1) img {
		width: 100%;
	}
}
@media only screen and (max-width: 399px) {
	#contact-form label {
		float: none;
		margin-right: 0;
	}
	#contact-form .input-container {
		margin-top: 10px;
	}
}
@media only screen and (max-width: 499px) {
	#home-form-container .col1_2 {
		float: none;
		width: 100%;
	}
	#home-form-container .col1_2:nth-of-type(1) .padder {
		margin-right: 0;
	}
	#home-form-container .col1_2:nth-of-type(2) .padder {
		margin-left: 0;
	}
	#home-form-container .col1_2:nth-of-type(2) label:nth-of-type(1) {
		margin-top: 20px;
	}
}
@media only screen and (max-width: 584px) {
	div#home-banner div#home-banner-title {
		font-size: 40px;
	}
	/*div#home-image .col1_2 {
		display: block;
		text-align: center;
		width: 100%;
	}
		div#home-image img {
			max-width: 300px;
		}
	.form-button-area .form-container .col1_2 {
		float: none;
		width: 100%;
	}
		.form-button-area .form-container .col1_2 .padder {
			margin: 0;
		}*/
}
@media only screen and (max-width: 689px) {
	div#home-projects .home-project {
		margin: 100px 0;
	}
	div#home-projects .col1_3, div#home-projects .col2_3 {
		display: block;
		width: 100%;
	}
	.people-element-container .left-aligned-people {
		text-align: center;
	}
	.left-aligned-people .picture {
		float: none;
		margin: 30px auto;
		max-width: 200px;
		width: 100%;
	}
	.left-aligned-people .text {
		text-align: left;
	}
	#page-people .col1_2 {
		float: none;
		width: 100%;
	}
	#page-people .col1_2 p {
		text-align: left;
	}
}
@media only screen and (max-width: 749px) {
	.footer-col1, .footer-col2 {
		width: 100%;
		text-align: center;
	}
	.footer-col1 .padder {
		margin-right: 0;
	}
		.footer-col1 img {
			float: none;
			margin-bottom: 20px;
			margin-right: 0;
		}
	.footer-col2 {
		margin: 50px 0;
	}
		.footer-col2 .padder {
			margin: 0 20px 0;
		}
		.footer-col2 ul {
			text-align: center;
			margin: 0 20px;
		}
		.footer-col2 ul li { 
			margin: 10px 0;
		}
}
@media only screen and (max-width: 769px) {
	#home-news li {
		display: block;
		width: 100%;
	}
}
@media only screen and (min-width: 500px) and (max-width: 769px) {
	#home-news .image {
		float: left;
		width: 150px;
	}
}

@media only screen and (min-width: 340px) and (max-width: 864px) {
	div#home-banner div#home-banner-title {
		margin-top: 210px;
	}
	.in-page-title {
		padding: 190px 0 40px;
	}
}
@media only screen and (max-width: 864px) {
	#header {
		padding: 0;
	}
	#header #logo {
		position: absolute;
		z-index: 9;
	}
	#header #menu-container {
		overflow: auto;
		text-align: center;
		margin: 0;
		width: 100%;
		background-color: #149A9A;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
	}
		#header #menu-container ul#menu {
			display: none;
			margin: 220px 0 50px 50px;
		}
			#header #menu-container ul#menu li {
				display: block;
				margin: 20px 0;
			}
	#mobile-menu-trigger {
		position: absolute;
		top: 35px;
		right: 35px;
		z-index: 9;
	}
	.in-page-title h1 {
		margin: 0;
	}

	.news-entry img {
		width: 100%;
		display: block;
		margin: 30px auto;
		float: none;
	}

	#page-contacts .col2_3, 
	#page-contacts .col1_3 {
		width: 100%;
		float: none;
	}
	#page-contacts .col1_3 {
		margin-bottom: 50px;
	}
	#contact-form input, 
	#contact-form textarea, 
	.contact-button-container {
		width: 100%;
		max-width: 1000px;
	}
	#contact-contacts {
		text-align: center;
	}
}
@media only screen and (min-width: 865px) {
	#mobile-menu-trigger {
		display: none;
	}
}
@media only screen and (min-width: 750px) and (max-width: 899px) {
	.footer-col1, .footer-col2 {
		width: 50%;
	}
}
@media only screen and (max-width: 899px) {
	.footer-col3 {
		display: inline;
		width: 100%;
		margin-top: 20px;
		text-align: center;
	}
}
@media only screen and (min-width: 865px) and (max-width: 1069px) {
	#header #logo {
		float: none;
		text-align: center;
	}
		#header #logo img {
			height: 160px;
		}
	#header #menu-container {
		text-align: center;
	}
	#header #menu-container ul#menu {
		margin-top: 0;
	}
	div#home-banner div#home-banner-title {
		margin-top: 220px;
	}
	.in-page-title {
		padding: 190px 0 40px;
	}
}
@media only screen and (max-width: 1069px) {
	#header #logo {
		margin-top: 0;
	}
}

.fancybox-outer, .fancybox-inner, .fancybox-opened .fancybox-skin {
	border-radius: 10px !important;
}