/* Content
----------------------------------------------------------------------------------------------------*/

html, body {
    height: 100%;
	margin: 0;
    padding: 0;
}

body {
	background-image:url('../img/background.jpg');
	background-repeat:repeat-y;
	background-position: center;
	background-color:#edece1;
}

.js .hide-fouc {
  visibility: hidden;
}

#header {
	background-color: #fefefe;
	background-image:url('../img/header_div.jpg');
	background-repeat:no-repeat;
	background-position: center bottom;

	width: 960px;
	padding: 20px 40px 28px 40px;
}

#header-logo {
  margin-top: 0px;
}

#header-logo h1 {
  margin-top: 5px;
}

#header-nav {
  margin-top: 20px;
}

#header-nav ul {
	padding-top:5px;
}

#header-nav ul li {
	margin:0px;
	font-weight: bold;
	padding:0px;
}

#header-nav ul li a {
}

#header-nav ul li .current {
	color:#fff;
	border-radius: 2px;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#2597cc), to(#1871abab)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #2597cc, #1871ab); /* Chrome 10+, Saf5.1+ */
	background-image: -moz-linear-gradient(top, #2597cc, #1871ab); /* FF3.6+ */
	background-image: -ms-linear-gradient(top, #2597cc, #1871ab); /* IE10 */
	background-image: -o-linear-gradient(top, #2597cc, #1871ab); /* Opera 11.10+ */
	background-image: linear-gradient(top, #2597cc, #1871ab); /* W3C */
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

#quick-links {
	position: absolute;
	top: 477px;
	margin-left: 10px;
	width: 440px;
}

#quick-links ul {
	margin-left: 115px;
}

#quick-links li {
	margin-left: 1.5em;
	margin-right: 1.5em;
}

#quick-links li:first-child {
	margin-left: 2em;
}

#quick-links li:last-child {
	margin-right: 2em;
}

#content {
  	margin-bottom: 4em;
}

.home #content, .vision #content {
  margin-top: 20px;
}

#vision-container {

}

#vision-headline {
	position: relative;
	margin-bottom: 0px;
}

#vision-headline h2 {
	font-size: 32px;
	line-height: 40px;
}

#vision-text {
	width: 520px;
}

#vision-continue {
	position: absolute;
	top: 255px;
	right: 110px;
	margin: 0;
}

.vision-toggles {
    position: absolute;
    top: 260px;
}

.vision-legend.atoms {
    position: absolute;
    top: 2px;
    left: 0px;
    color: #ddd !important;
}

.vision-legend.bits {
    position: absolute;
    top: 234px;
    left: 0px;
    color: #ccc !important;
}

.vision-legend {
  width: 300px;
  text-align: center;
  margin-bottom: 30px;
  font-size: 11px;
}

.vision-toggle {
	margin: 0 6px 12px 6px;
    color: white !important;
}

.vision-toggle.vision-tui, .vision-toggle.vision-gui {
	padding-left: 30px !important;
	padding-right: 30px !important;
}

.vision-toggles li:last-child {
	float: right !important;
}

.vision-text {
	min-height: 105px;
	margin-top: 11px !important;
}

#vision-slides {
	position: relative;
	height: 420px;
}

.vision-slide {
	position: absolute;
	top: 0px;
}

.nav.bar {
	list-style: none;
	margin: 0;
	padding: 0 5px 0 5px;
	height:40px;
}

#vision-container ul {
	width: 300px;
    padding: 0;
	background-image:url('../img/vision-header.png');
	background-repeat:no-repeat;
	background-position: center;
}

.nav.bar li, .buttons li {
	padding: 0;
	margin: 5px 0 5px 0;
	text-shadow: #fff 1px 1px 0px;
    float: left;
}

.dialog .buttons li {
	margin-right: 1em !important;
}

.nav.bar a, .buttons a {
  font-size: 16px;
  display: block;
  line-height: 30px;
  padding: 0px 15px 0px 15px;

}

.figure img {
	border-radius: 4px;
}

a.figure {
	display: inline-block;
}

.figure {
	position: relative;
}

p.figure {
    padding-top: 4px; /* visual alignment with text */
}

body.events a.pbadge {
	margin-right: 5px;
	margin-bottom: 5px;
}

a.pbadge.solo {
	margin-left: 70px;
}

body.events .project_links {
	margin-top: 1.1em;
}

body.events a.pdflink {
	margin-left: 77px;
}

.buttons li {
	border: 1px #ececec solid;
}

.nav.bar .selected, .buttons li {
	border-radius: 7px;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eae9e9)); /* Saf4+, Chrome */
	background: -webkit-linear-gradient(top, #fff, #eae9e9); /* Chrome 10+, Saf5.1+ */
	background: -moz-linear-gradient(top, #fff, #eae9e9); /* FF3.6+ */
	background: -ms-linear-gradient(top, #fff, #eae9e9); /* IE10 */
	background: -o-linear-gradient(top, #fff, #eae9e9); /* Opera 11.10+ */
	background: linear-gradient(top, #fff, #eae9e9); /* W3C */

	-webkit-box-shadow: 0 1px 1px rgba(2, 28, 0, 0.5);
	-moz-box-shadow: 0 1px 1px rgba(2, 28, 0, 0.5);
	box-shadow: 0 1px 1px rgba(2, 28, 0, 0.5);
}

 .buttons li.highlight a {
 	color: #2597cc;
 }


.nav.bar .vision-toggle {
	text-shadow: #444 1px 1px 0px;
}

.nav.bar .vision-toggle.selected {
	border-radius: 7px;
	background: -webkit-gradient(linear, left top, left bottom, from(#8da3b1), to(#748591)); /* Saf4+, Chrome */
	background: -webkit-linear-gradient(top, #8da3b1, #748591); /* Chrome 10+, Saf5.1+ */
	background: -moz-linear-gradient(top, #8da3b1, #748591); /* FF3.6+ */
	background: -ms-linear-gradient(top, #8da3b1, #748591); /* IE10 */
	background: -o-linear-gradient(top, #8da3b1, #748591); /* Opera 11.10+ */
	background: linear-gradient(top, #8da3b1, #748591); /* W3C */

	-webkit-box-shadow: 0 1px 1px rgba(2, 28, 0, 0.5);
	-moz-box-shadow: 0 1px 1px rgba(2, 28, 0, 0.5);
	box-shadow: 0 1px 1px rgba(2, 28, 0, 0.5);
}

#vision-container .vision-image {
	margin: 0;
	padding: 0;
	width: 300px;
}

#featured-projets li a:hover {
	color:#000;
	font-style:italic;
	text-decoration:none;
}

#container {
	min-height: 100%;
	position: relative;
    margin-bottom: -94px;
}


#footer {
	height:95px;
	position: relative;
	background-image:url('../img/footer.jpg');
	background-repeat:no-repeat;
	background-position:2px 0px;
	width:1042px;
}

#clearfooter {
	height:60px;
	clear: both;
}

#footer-content {
	position: relative;
}

#footer-logo {
	width: 100px;
	height: 50px;
	position: absolute;
	top: 2px;
	left: 2px;
}

#footer-nav {
	text-transform:uppercase;
	font-size:12px;
	color:#fff;

	position: absolute;
	top: 0px;
	left: 600px;
}

#footer-nav a {
	color:#fff;
	opacity:.8;
}

#footer-nav a:hover {
	color:#fff;
	opacity:1;
}

#footer-nav .current {
	color:#904c0b;
	background-color:transparent;
}

#footer-accessibility {
	text-align: right;
	font-size: 14px;
}

.details {
	padding:0px;
	padding-bottom:5px;
	margin:0px;
}

.details.subtitle {
  font-size: 13px;
}

/* Nav
----------------------------------------------------------------------------------------------------*/

ul.nav, ul.list-large, ul.list-large ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.nav.horizontal li:last {
  margin: inherit inherit inherit inherit !important;
}

ul.nav.horizontal li {
  float: left;
  margin: .5em .5em inherit 0;
  padding: 0;
}

.box ul.nav.horizontal li {
	margin-bottom: .5em;
}

.thumbnails ul.nav.horizontal li {
 	margin-bottom: .5em;
}

.thumbnails ul.nav.horizontal li:first-child {
 	margin-left: .5em;
}

.thumbnails a {
	display: inline-block;
	position: relative;
}

.hover-overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #60c4fc;
	border-radius: 4px;
	display: none;

	/* IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
	/* IE 5-7 */
	filter: alpha(opacity=25);
	/* Netscape */
	-moz-opacity: 0.25;
	/* Safari 1.x */
	-khtml-opacity: 0.25;
	/* Good browsers */
	opacity: 0.25;
}

a.selected .hover-overlay, a:hover .hover-overlay {
	display: inline-block;
}

a.no-overlay .hover-overlay {
	display: none !important;
}

h1 a, .nav a, .nav a:visited {
  color: #4a4a4a;
  text-decoration: none;

}

.nav a:hover, .nav a.selected {
  color: #848484;
}

.nav a, a.thumbnail, a img {
  display: inline-block;
}

.nav a.current {
  color: white;
}

.nav.main {
	float: right;
}

.nav.main a, .page-filter .nav a, .buttons a, .nav.bar a {
  padding: 0 .5em 0 .5em;
  line-height: 30px;
}

input[type=text] {
  font-size: 13px;
  padding: 0 .5em 0 .5em;
  height: 28px;
}

.expand {
	background: url(../img/expand.png) right center no-repeat;
	padding-right: 16px;
}

.collapse {
	background: url(../img/collapse.png) right center no-repeat;
	padding-right: 16px;
}

.js .collapsed {
	display: none;
}

/* Page filter
----------------------------------------------------------------------------------------------------*/

.page-filter, .page-nav, .box {
	background-color:#e1e1e1;
	border-radius: 4px;
    margin-bottom: 20px;
}

.box {
	padding: 7px 10px 7px 10px;
}

.grid_h_1 {
  height: 60px;
  margin-bottom: 20px;
}

.grid_h_2 {
  height: 140px;
  margin-bottom: 20px;
}

.grid_w_1 {
  width: 60px;
  margin-right: 20px;
  float: left;
}

.grid_w_2 {
  width: 140px;
  margin-right: 20px;
  float: left;
}

.grid_w_1:last-child, .grid_w_2:last-child, .grid_w_1.last-in-row, .grid_w_2.last-in-row {
	margin-right: 0;
	clear: right;
}

.grid_w_1.first-in-row, .grid_w_2.first-in-row {
	clear: left;
}

.full_width {
	width: 940px;
}

.type-toggle {
	margin-right: 0;
	float: right;
}



.no-margin {
	margin: 0 auto !important;
}

.bottom-margin {
  margin-bottom: 10px;
}

.large-right-padding {
  padding-right: 20px !important;
}

.large-bottom-margin {
  margin-bottom: 20px;
}

.small-top-margin {
  margin-top: 5px;
}

.loading .loading-indicator {
	display: block;
}

.image-gallery {
	margin-bottom: 20px;
}

.image-gallery h3 {
	float: left;
}

.image-gallery .caption {
	margin-bottom: 6px;	
	margin-left: 1em;
	float: left;
}

.image-gallery .images {
	position: relative;
}

.image-gallery .image-container {
	background: #ddd;
}

.image-gallery .page-nav {
	margin-top: .5em;
	margin-bottom: .5em;
}

.image-detail h3, .image-detail .description {
	float: left;
}

.image-detail .description {
	margin: 12px 1em 0 0;
}

.image-detail .tools {
	float: right;
}

.loading-indicator {
	background: url(../img/loader.gif) no-repeat center center;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	max-height: 600px;
	display: none;
}

.transparent {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  /* IE 5-7 */
  filter: alpha(opacity=50);
  /* Netscape */
  -moz-opacity: 0.5;
  /* Safari 1.x */
  -khtml-opacity: 0.5;
  /* Good browsers */
  opacity: 0.5;
}

/*
.nav .thumbnail {
	display: inline;
	float: left;
	margin-left: 10px;
	margin-right: 10px;
}

.nav .thumbnail:first-child {
	margin-left: 0;
}

nav.thumbnails {
	height: 140px;
	width: 100%;
	background: silver;
	position: relative;
	overflow: hidden;
}
*/


.jcarousel-clip {
    overflow: hidden;
}

.jcarousel-next-horizontal, 
.jcarousel-prev-horizontal {
	display: none;
}




/*
 * jQuery UI Dialog 1.8.17
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Dialog#theming
 */
.ui-dialog { 
	position: absolute; padding: .2em; width: 300px; overflow: hidden; 
	-webkit-box-shadow: 0 7px 10px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: 0 7px 10px rgba(0, 0, 0, 0.6);
	box-shadow: 0 7px 10px rgba(0, 0, 0, 0.6);
	background: white;
	border-radius: 7px;
	border: 1px #aaa solid;
}
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative;  }
.ui-dialog .ui-dialog-title, .ui-dialog .ui-dialog-titlebar, .ui-dialog .ui-dialog-buttonpane { display: none; } 
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em 1em 1em; background: none; overflow: auto; zoom: 1; }

.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ui-widget-overlay { background: #666666 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }


.project .project-title {
    min-width: 140px;
    margin-right: 20px;
    display: inline-block;
  	/* line height for multiline project titles, margin-top to cancel out top space added from line height */
	line-height: 45px;
	margin-top:-16px;
}

body.project h2 {
    line-height: 14px;
    margin-top: 16px;
	min-height: 38px;
	
}

