* {
	margin: 0;
}
html, body {
	height: 100%;
}

body {
    background: #919ca4 url(../img/common/bg-content.png) top repeat-x;
    margin: 0;
    padding: 0;
}
body.home {background: #000;}

a img {border: 0;}
a {text-decoration: none;}
small {font-size:0.9em;}

#gallery {
	height: 100%;
	position: absolute;
	top: 0;
	width: 100%;
}

/*
Page elements
*/

#wrapper {
    font-family: Arial, Helvetica, Verdana, sans-serif;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -25px; /* the bottom margin is the negative value of the footer's height */
    padding: 0;
}
body.home #wrapper {margin: 0 auto;}

#preheader {
	border-bottom: 1px solid #393939;
	color: #FFF;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 11px;
    height: 14px;
	padding: 3px 0;
	text-transform: uppercase;
    width: 100%;
}

#preheader .wrapper {
    height: 14px;
    margin: 0 auto;
	text-align: right;
    width: 880px;
}

#preheader a {color: #FFF;}
#preheader a:hover {color: #CCC; text-decoration: underline;}
#preheader img {margin:0 2px; vertical-align: middle;}

body.home #preheader {
	border-bottom: 0;
	position: absolute;
	z-index: 5;
}
body.home #preheader .wrapper {
    width: 76%;
}

#header {
    height: 71px;
    width: 100%;
}

#header .wrapper {
    height: 71px;
    margin: 0 auto;
    width: 880px;
}

#header #logo {
    margin-top: 18px;
    float: left;
}

#header #nav {
    float: right;
    display: block;
    width: 586px;
}
#header #nav ul {
}
#header #nav li {
    float: left;
    display: block;
    width: auto;
    margin: 0 1px 0 0;
}

#header #nav li a {
    display: block;
    height: 71px;
}
#header #nav li a span {display: none;}
#header #nav li#nav-home a {background: url(../img/nav/home.png) top no-repeat; width: 89px;}
#header #nav li#nav-news a {background: url(../img/nav/news.png) top no-repeat; width: 175px;}
#header #nav li#nav-events a {background: url(../img/nav/events.png) top no-repeat; width: 204px;}
#header #nav li#nav-projects a {background: url(../img/nav/projects.png) top no-repeat; width: 114px;}
#header #nav li#nav-news.active a,
#header #nav li#nav-news.active a:hover,
#header #nav li#nav-events.active a,
#header #nav li#nav-events.active a:hover,
#header #nav li#nav-projects.active a,
#header #nav li#nav-projects.active a:hover,
#header #nav li#nav-home a:hover {background-position: bottom;}
#header #nav li#nav-news a:hover,
#header #nav li#nav-events a:hover,
#header #nav li#nav-projects a:hover {background-position: center;}

body.home #content {
    background: none;
    margin: 0;
    padding: 0;
}

body.home #content .wrapper {
    margin: 0 auto;
    width: 960px;
}

/* ********************************* PROJECTS (COMMON) ********************************* */
#content {
    color: #FFFFFF;
    margin: 0;
    padding: 20px;
}

#content .wrapper {
    margin: 0 auto;
    width: 880px;
}

h1 {
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 5px;
}
body.projects h1,
body.project h1 {border-bottom: 1px solid #08689f;}
body.projects h1 {padding-bottom: 6px; margin-bottom: 20px;}

#yearcat,
#tagscat {
    color: #FFFFFF;
	line-height: 20px;
}
#yearcat strong,
#tagscat strong {
    color: #FFFFFF;
    font-size: 15px;
	font-weight: bold;
	text-transform: uppercase;
}
#yearcat .years,
#tagscat .tags {
    display: inline;
    font-size: 13px;
}
#yearcat .years li,
#tagscat .tags li {
    display: inline;
    line-height: 22px;
    margin: 0;
    padding: 2px;
}
#yearcat .years a,
#tagscat .tags a {
    color: #FFFFFF;
	margin-right: 6px;
    text-decoration: none;
}
#yearcat .years a:hover,
#tagscat .tags a:hover {
    text-decoration: underline;
}
#yearcat .years a.active,
#tagscat .tags a.active {
    background-color: #FFFFFF;
	color: #51575b;
	font-weight: bold;
	padding: 1px 2px;
    text-decoration: none;
}

#projects {
    margin: 30px 0 10px 0;
}

#projects li {
    color: #FFF;
    float: left;
	height: 215px;
    margin: 0 6px 6px 0;
	overflow: hidden;
	text-align: right;
    width: 215px;
}
#projects li.endline {
    margin-right: 0;
    padding-right: 0;
}

#projects li .img {
    background-position: top center;
    display: block;
    height: 215px;
    overflow: hidden;
    position: absolute;
    width: 215px;
	z-index: 1;
}

#projects li h2 {
    background-position: top right;
    background-repeat: no-repeat;
    bottom: 90px;
    color: #FFF;
    font-size: 23px;
    font-weight: bold;
	letter-spacing: -1px;
    line-height: 20px;
    padding: 0 8px;
    position: relative;
	text-shadow: #000000 0 0 3px;
	text-transform: uppercase;
}
#projects li h2 a {color: #FFF;}

#projects li h2.twolines {bottom: 110px;}
#projects li h2.threelines {bottom: 130px;}
#projects li h2.fourlines {bottom: 150px;}

#projects li .infos {
    font-size: 13px;
    font-weight: bold;
    padding: 0 8px;
    position: absolute;
	top: 155px;
    width: 199px;
	z-index: 5;
}
#projects li .infos p {
	height: 32px;
    overflow: hidden;
}
#projects li .infos a {
    color: #0078bc;
	display: block;
	margin-top: 5px;
}

#pagination {
	border-top: 1px solid #a7b0b6;
    margin: 10px 0;
	padding: 10px 0;
    text-align: right;
}
#pagination a {
    color: #ECE9C8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
}

#pagination .number {
	float: left;
    font-size: 14px;
}

/* ************************************** PROJECT ************************************** */

body.project h1 {
    font-size: 26px;
    text-transform: uppercase;
}
#credits {
    font-size: 14px;
	font-weight: bold;
    letter-spacing: 0.2px;
    line-height: 20px;
	margin-bottom: 18px;
	width: 350px;
}
#credits em {
	color: #0078bc;
    text-transform: uppercase;
}

#project-panel {
	background: url(../img/projects/bg-panel.png) top center no-repeat;
	float: right;
    min-height: 530px;
    margin: 10px 0 20px;
	padding-top: 3px;
    width: 525px;
}

#project-panel .wrapper {
	margin: 0 23px 0 22px;
	width: 480px;
}

#project-bar {
    margin: 0 14px 20px 13px;
	width: 498px;
}
#project-bar li {
	background-color: #3b3b3b;
    display: block;
    float: left;
	margin-right: 2px;
    position: relative;
}

#project-bar li#btn-website {float: right; margin: 0;}

#project-bar li a {
    cursor: pointer;
    display: block;
    height: 27px;
	width: 94px;
}
#project-bar li#btn-pictures a {background: url(../img/projects/nav/pictures.png) top left no-repeat;}
#project-bar li#btn-films a {background: url(../img/projects/nav/videos.png) top left no-repeat;}
#project-bar li#btn-event a {background: url(../img/projects/nav/event.png) top left no-repeat;}

#project-bar li#btn-pictures a:hover,
#project-bar li#btn-films a:hover,
#project-bar li#btn-event a:hover {background-position: center;}
body.pictures #project-bar li#btn-pictures a,
body.event #project-bar li#btn-pictures a,
body.videos #project-bar li#btn-films a,
body.projevent #project-bar li#btn-event a,
#project-bar li#btn-website a:hover {background-position: bottom;}

#project-bar li#btn-website a {background: url(../img/projects/nav/website.png) top left no-repeat; width: 133px;}

#project-bar span {
    display: none;
}

#videoplayer {
    margin-bottom: 15px;
    width: 480px;
}

#customvideoplayer {
    background-color: #000000;
    margin-bottom: 15px;
    text-align: center;
    width: 480px;
}

body.project #about,
body.event #about {
    font-size: 13px;
    line-height: 18px;
	width: 350px;
}

body.project #about h3 {
    margin: 20px 0 5px 0;
    text-transform: uppercase;
}
body.project #content a {
	color: #EAEAEA;
	text-decoration: underline;
}
body.project #content a.img {text-decoration: none;}
body.project #content a:hover {text-decoration: none;}

body.project #about strong {font-weight: bold;}

body.project #about p.intro {font-weight: bold;}

body.project #about p,
body.event #about p {margin-bottom: 20px;}
body.project #about hr,
body.event #about hr {
    border: none 0;
    border-top: 1px solid #a7b0b6;
	margin: 10px 0;
    width: 100%;
    height: 1px;
} 

/* Infos (pictures & videos) */
body.project .infos {
	font-size: 13px;
	line-height: 18px;
	margin: 0 0 10px 60px;
	min-height: 50px;
}

body.project .infos h2 {
	color: #34373a;
	font-size: 16px;
	font-weight: bold;
    text-transform: uppercase;
}

/* Videos page */
body.project .time {
    border-right: 1px dotted #8B8A79;
    color: #CEF2DC;
    line-height: 22px;
    padding-right: 15px;
    text-align: right;
    width: 16%;
}
body.project .time h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}
body.project .time p {
    font-style: italic;
    font-size: 15px;
}

/* Pictures page */
body.project #main-picture {
	height: 315px;
    margin-bottom: 8px;
	width: 480px;
}

body.project #pictures-thumbs {
	overflow: hidden;
    margin-bottom: 10px;
	width: 480px;
}
body.project #pictures-thumbs div {
    background-position: 0 2px;
    background-repeat: no-repeat;
    float: left;
	margin-right: 9px;
}
body.project #pictures-thumbs div.last {margin-right: 0;}
body.project #pictures-thumbs .thumb-number {
    bottom: 6px;
    color: #FFFFFF;
	display: block;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    right: 6px;
	text-align: center;
	width: 16px;
}
body.project #pictures-thumbs img {}
body.project #pictures-thumbs a {
    display: block;
    height: 74px;
    margin-bottom: 3px;
    overflow: hidden;
    position: relative;
	width: 113px;
}
body.project #pictures-thumbs .active a {
	margin-bottom: 0;
}
body.project #pictures-thumbs .active img {border: 0;}

body.project #thumbs-number {
	border-right: 1px solid #71797f;
	color: #c5c5c5;
	float: left;
    font-size: 18px;
	font-style: italic;
	min-height: 50px;
	width: 50px;
}

body.project #thumbs-nav {
    text-align: right;
}
body.project #thumbs-nav img {
    border: 0;
    margin-right: 4px;
}

/* Events page */
body.project #project-panel h2 a {text-decoration: none;}

body.projevent #project-panel h2 {
	font-size: 24px;
	font-weight: bold;
	letter-spacing: -1px;
	line-height: 24px;
	margin-bottom: 5px;
	text-transform: uppercase;
}

body.event #relprojects {
	color: #34373A;
	font-weight: bold;
	text-transform: uppercase;
}

body.event #relprojects a {
	color: #FFF;
	text-decoration: underline;
	text-transform: uppercase;
}
body.event #relprojects a:hover {text-decoration: none;}

body.projevent #video-info {
	color: #dedede;
	font-weight: bold;
	margin-left: 0;
}
body.projevent #video-info strong {color: #373b3e;}
body.projevent #video-info em {text-transform: uppercase;}
body.projevent #video-info .description {
	color: #FFF;
	font-weight: normal;
	margin: 10px 0 30px;
}

/* Projects nav (common) */
body.project #project-nav {
    clear: both;
    text-align: right;
}

body.project iframe {
    background: #FFFFFF;
    border: 0;
    height: 700px;
    width: 100%;
}

body.project #website-back {
    background: #000000;
    bottom: 0;
    position: absolute;
    padding: 10px 60px 10px 10px;
    right: 20px;
    z-index: 20;
}

/* ************************************** EVENTS *************************************** */

body.events h1,
body.event h1 {
	border-bottom: 1px solid #6EA91E;
    font-size: 26px;
    text-transform: uppercase;
}
body.events h1 {padding-bottom: 6px;}
#einfo {
    font-size: 14px;
	font-weight: bold;
    letter-spacing: 0.2px;
    line-height: 20px;
	margin-bottom: 18px;
	width: 350px;
}
#einfo em,
#einfo a {
	color: #6EA91E;
}
#einfo a {text-decoration: underline;}
#einfo a:hover {text-decoration: none;}
#einfo #with {font-size: 12px; text-transform: uppercase;}

#events {
    margin: 20px 0 10px 0;
}

#events li {
    color: #FFF;
    float: left;
	height: 215px;
    margin: 0 6px 6px 0;
	overflow: hidden;
	text-align: right;
    width: 215px;
}
#events li.intro {
	background: url(../img/events/black-event-top.png);
}
#events li.buy {
	background: url(../img/events/black-event.png);
}
#events li.endline {
    margin-right: 0;
    padding-right: 0;
}

#events li .img {
    background-position: top center;
    display: block;
    height: 215px;
    overflow: hidden;
    position: absolute;
    width: 215px;
	z-index: 1;
}

#events li .date {
	color: #FFF;
    font-size: 12px;
	font-style: italic;
    font-weight: bold;
	height: 30px;
	line-height: 12px;
    position: absolute;
	top: 12px;
	width: 30px;
}
#events li .date span {
    font-size: 20px;
}

#events li h2 {
    background-position: top right;
    background-repeat: no-repeat;
    bottom: 90px;
    color: #FFF;
    font-size: 23px;
    font-weight: bold;
	letter-spacing: -1px;
    line-height: 20px;
    padding: 0 8px;
    position: relative;
	text-shadow: #000000 0 0 3px;
	text-transform: uppercase;
}
#events li h2 a {color: #FFF;}

#events li h2.twolines {bottom: 110px;}
#events li h2.threelines {bottom: 130px;}
#events li h2.fourlines {bottom: 150px;}

#events li.intro h2,
#events li.buy h2 {
	padding: 18px 7px 8px;
	position: static;
}
#events li.buy h2 {
	padding-top: 160px;
}

#events li.intro p {
	color: #979797;
	font-size: 12px;
	padding: 5px 6px 5px 8px;
}

#events li.intro p a {color: #979797; text-decoration: underline;}
#events li.intro p a:hover {text-decoration: none;}

#events li .infos {
    font-size: 13px;
    font-weight: bold;
    padding: 0 8px;
    position: absolute;
	top: 155px;
    width: 199px;
	z-index: 5;
}
#events li .infos p {
	height: 32px;
    overflow: hidden;
}
#events li .infos a {
    color: #80c91a;
	display: block;
	margin-top: 5px;
}

body.event #event-nav {
    clear: both;
    text-align: right;
}

/* ************************************** ERROR *************************************** */

body.error h1 {
    border-bottom: 1px solid #999;
    color: #FFF;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
body.error h1 span {color: #D25400;}
body.error #content {
    color: #ECE9C8;
    font-size: 14px;
    line-height: 20px;
}

/* ************************************************************************************* */
#footer {
    background-color: #000000;
    color: #999999;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}
#footer, #wrapper .push {
	height: 25px; /* .push must be the same height as .footer */
}
body.home #footer {bottom: 0; position: absolute;}

#footer .wrapper {
    margin: 0 auto;
	padding: 5px 0;
    width: 880px;
}
#footer a {text-decoration: none; color: #999999;}
#footer a:hover {text-decoration: none; color: #BBBBBB;}
#footer a img {position: relative; top: -1px; vertical-align: middle;}
#footer strong {font-weight: bold;}
#footer span {display: block;}