@font-face {
    font-family: 'ralewaybold';
    src: url('../font/raleway-bold-webfont.eot');
    src: url('../font/raleway-bold-webfont.eot#iefix') format('embedded-opentype'),
         url('../font/raleway-bold-webfont.woff') format('woff'),
         url('../font/raleway-bold-webfont.ttf') format('truetype'),
         url('../font/raleway-bold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ralewayextrabold';
    src: url('../font/raleway-extrabold-webfont.eot');
    src: url('../font/raleway-extrabold-webfont.eot#iefix') format('embedded-opentype'),
         url('../font/raleway-extrabold-webfont.woff') format('woff'),
         url('../font/raleway-extrabold-webfont.ttf') format('truetype'),
         url('../font/raleway-extrabold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'ralewayregular';
    src: url('../font/raleway-regular-webfont.eot');
    src: url('../font/raleway-regular-webfont.eot#iefix') format('embedded-opentype'),
         url('../font/raleway-regular-webfont.woff') format('woff'),
         url('../font/raleway-regular-webfont.ttf') format('truetype'),
         url('../font/raleway-regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}
body #container{
	background:#fff;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Wouter's custom styles
   ========================================================================== */
body{
	font-family:'ralewayregular';
}
a{
	text-decoration:none;
}

div#container{
	width:858px;
	margin:140px auto 0 auto;
	padding-bottom:70px;
	position:relative;
}
div#container.menuAtTop{
	margin-top:0;
	padding-top:110px;
}
div#container.menuAtTop nav#main-nav{
	bottom:auto;
	top:0;
}
nav#main-nav{
	position:absolute;
	left:0;
	bottom:0;
	overflow:hidden;
	width:100%;
}
nav#main-nav >a{
	display:block;
	height:70px;
	width:70px;
	float:left;
	background:url('../img/backArrow.png') center center no-repeat;
	overflow:hidden;
	text-indent:-500%;
}
nav#main-nav >a:hover{
	opacity:0.5;
}
nav#main-nav ul{
	overflow:hidden;
	background:url('../img/dark-stripe.png');	
	float:left;
	max-width:100px;
	height:70px;
	transition: max-width 0.2s ease;
	-webkit-transition: max-width 0.2s ease;
	padding:0;
	margin:0;
	float:left;
}
nav#main-nav ul:hover{
	max-width:300px;
}
nav#main-nav ul:hover li{
	display:block;
}
nav#main-nav ul li{
	float:left;
	display:none;
	font-size:12px;
	text-transform:lowercase;
}
nav#main-nav ul li.active a, nav#main-nav ul li.active a:hover{
	background:#fff;
	color:#000;
}
	
nav#main-nav ul li:first-child{
	display:block;
	padding:30px 0;
	background:url('../img/light-stripe.png');
	color:#fff;
	width:70px;
	text-align:center;
}
nav#main-nav ul li a{
	padding:30px 0;
	color:#fff;
	display:block;
	transition: max-width 0.2s ease;
	-webkit-transition: max-width 0.2s ease;
	width:70px;
	text-align:center;
}
nav#main-nav ul li a:hover{
	background:#000;
}
nav#main-nav p{
	display:block;
	float:right;
	text-align:right;
	margin-left:15px;
}
nav.extra-nav{
	position:fixed;
	left:0;
	top:10px;
	font-size:12px;
	text-transform:lowercase;
	line-height:14px;
}
nav.extra-nav ul{
	margin:0;
	padding:0;
}
nav.extra-nav ul li{
	margin-bottom:2px;
	padding-right:0;
	height:70px;
	float:left;
	clear:both;
	background:url('../img/light-stripe.png');
}
nav.extra-nav ul li a{
	height:14px;
	color:#fff;
	display:block;
	max-width:0;
	padding-right:70px;
	transition: max-width 0.6s ease;
	-webkit-transition: max-width 0.6s ease;
	overflow:hidden;
	padding-top:28px;
	padding-bottom:28px;
	text-align:left;
}
nav.extra-nav ul li a span{
	display:block;
	width:50px;
	margin-left:-250px;	
}
nav.extra-nav ul li:hover a{
	padding-left:20px;
	max-width:250px;
}
nav.extra-nav ul li:hover a span{
	margin-left:0;	
}

div.intro{
	position:relative;
	width:858px;
	height:430px;
}
div.intro div.wrapper{
	position:absolute;
	left:0;
	top:0;
	height:100%;
	width:100%;
	text-align:center;
}
div.intro h1{
	color: #fff;
	text-transform:uppercase;
	font-size:32px;
	line-height:40px;
	margin:0;
	margin-top:200px;
	font-family:'ralewayextrabold';
	font-weight:normal;
}
div.intro img{
	position:absolute;
	left:0;
	top:0;
	display:none;
}
div.intro img:first-child{
	position:relative;
}

div.intro p{
	text-transform:uppercase;
	color:#fff;
	font-size:16px;
	line-height:25px;
	margin:0;
	letter-spacing:2px;
}

div.row{
	overflow:hidden;
}
div.col{
	float:left;
	margin-left:20px;
	min-height:1px;
}
div.col:first-child{
	margin-left:0;
}
div.content{
	width:430px;
	min-height:430px;
}
.projectSlider{
	height:432px;
	width:858px;
	overflow:hidden;
	position:relative;
}
.projectSlider .control{
	width:56px;
	height:100%;
	background:rgba(0,0,0,0.5);
	display: block;
	position:absolute;
	left:0;
	top:0;
	z-index:10;
}
.projectSlider .control.next{
	left:auto;
	right:0;	
}
.projectSlider .wrapper{
	width:50000px;
	height:432px;
}
.projectSlider .slide{
	width:858px;
	height:432px;
	float:left;
}
.projectSlider .project{
	float:left;
	position:relative;
	width:286px;
	height:216px;
	overflow:hidden;
	background:#000;
}
.projectSlider .project a{
	display:block;
	width:100%;
	height:100%;
	overflow:hidden;
}
.projectSlider .project img{
	position:absolute;
	left:0;
	top:0;
}
.projectSlider .project img:first-child{
	z-index: 1;
}
.projectHeader{
	background:#000;
	margin-top:110px;
	
}
.projectHeader.altColor{
	background:#f0f0f0;
}
.projectHeader .wrapper{
	width:858px;
	margin: 0 auto;
	text-align:center;
	padding:30px 0;
	position:relative;
}
iframe{
	display:block;
	margin:0 auto;
}

div.row div.col.left{
	width:216px;
	margin-left:0;
}
div.row div.col.left h2, div.stills h2{
	font-size:27px;
	border-bottom:1px solid #000;
	text-transform:uppercase;
	line-height:29px;
	color:#000;
	font-family:'ralewayextrabold';
	font-weight:normal;
}
div.row div.col.right{
	width:582px;
	margin-left:0;
	float:right;
}
div.row div.col.mainContent{
	width:370px;
	margin-left:0;
}
div.row div.col.rightContent{
	width:135px;
	float:right;
}
div.stills{
	width:100%;
	clear:both;
	padding-top:45px;
}
ul.breadcrumbs{
	margin:0;
	padding:0;
	list-style:none;
	border-bottom:1px solid #000;
	font-family:'ralewayregular';
}
ul.breadcrumbs li{
	float:left;
	font-size:11px;
	line-height:13px;
	padding:3px 0;
	text-transform:uppercase;
	margin-left:5px;
	padding-left:10px;
	position:relative;
	background:url('../img/bread.png') 0 6px no-repeat;
}
ul.breadcrumbs li:first-child{
	margin-left:0;
	padding-left:0;
	background:none;
}
ul.breadcrumbs li a{
	color:#000100;
}
ul.breadcrumbs li a:hover{
	color:#808080;
}
ul.breadcrumbs li span{
	font-family:'ralewaybold';	
}
ul.breadcrumbs li.download{
	float:right;
	padding:0;
	height:19px;
	font-family:'ralewaybold';	

}
ul.breadcrumbs li.download a{
	display:block;
	background:#808080;
	color:#fff;
	width:135px;
	text-align:center;
	padding: 4px 0 4px 0;
	transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	position:absolute;
	right:0;
	bottom:-1px;
}
ul.breadcrumbs li.download a:hover{
	background:#000;
}

ul#subnav{
	margin:0;
	padding:0;
	text-transform:uppercase;
}
ul#subnav li{
	font-size:13px;
	line-height:15px;
	margin-bottom:12px;
}
ul#subnav li a{
	font-family:'ralewaybold';
	color:#000;
}
ul#subnav li a:hover{
	color:#808080;
}
ul#subnav li.active{
	padding-left:10px;
	background:url('../img/subnav.png') 0 3px no-repeat;
}

span.title{
	font-size:11px;
	color:#000100;
	text-decoration:underline;
	line-height: 13px;
	text-transform:uppercase;
}
.mainContent{
	padding-top:34px;
}
.rightContent{
	padding-top:40px;
}
.mainContent h2{
	font-family: Georgia, 'Times New Roman', sans-serif;
	font-size:27px;
	line-height:29px;
	margin:0;
	padding:0;
	margin-bottom:19px;
	font-weight:normal;
}
.mainContent p, content p{
	font-size:13px;
	line-height:17px;
	margin:0;
	padding:0;
	margin-bottom:20px;
}
table{
	margin-bottom:25px;
}
table th{
	font-size:11px;
	color:#000100;
	text-decoration:underline;
	line-height: 13px;
	text-transform:uppercase;
	padding:0;
	margin:0;
	text-align:left;
	font-weight:normal;
	padding-top:28px;
}
table tr:first-child th{
	padding-top:0;
}
table td{
	font-size:14px;
	padding-top:5px;
	color:#000;
	line-height:16px;
	text-transform:lowercase;
	font-family:'ralewaybold';
}
.order{
	font-size:24px;
	line-height:25px;
	display:block;
	float:left;
	border-bottom:2px solid #000;
	text-transform:uppercase;
	color:#000;
	font-family:'ralewayextrabold';
}
.order:hover{
	color:#808080;
	border-color:#808080;
}
.mainContent a, .content a{
	border-bottom: 1px dotted #666;
	color:#666;
}
.mainContent a:hover, .content a:hover{
	border-bottom: 1px dotted #666;
	color:#000;
}
p.quote{
	font-size:18px;
	width:280px;
	line-height: 30px;
	margin-bottom:5px;
	font-family:'ralewaybold';
}
div.stillsContainer{
	overflow:hidden;
	position:relative;
}
div.stillsContainer a{
	float:left;
	display:block;
}
div.stills h2{
	margin-bottom:12px;
}
a.clipsControl{
	height:30px;
	background:url('../img/up.png') center center no-repeat;
	display:block;
}
a.clipsControl.inactive{
	opacity:0.2;
	cursor:default;
}
a.clipsControl:hover{
	background-color:#f5f5f5;
}
a.clipsControl.inactive:hover{
	background-color:transparent;
}
a.clipsControl.next{
	background-image:url('../img/down.png');
}
div.clipsContainer{
	height:385px;
	overflow:hidden;
}
div.clips div.clip{
	height:200px;
	overflow:hidden;
	opacity:0.8;
}
div.clips div.clip.active{
	opacity:1;	
}
div.clips iframe{
	margin-bottom:5px;
}
div.clips p{
	font-size:13px;
	line-height:15px;
	margin:0;
	padding:0;
	display:block;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
h2.clipsHeader{
	margin-bottom:0;
}
div.clips a{
	display:block;
	width:216px;
	overflow:hidden;
	height:162px;
	margin-bottom:5px;
}
div.clips a img{
	min-height:100%;
	width:100%;
}













/* You can alter this CSS in order to give Smooth Div Scroll your own look'n'feel */

/* Invisible left hotspot */
div.scrollingHotSpotLeft
{
	/* The hotspots have a minimum width of 100 pixels and if there is room the will grow
    and occupy 15% of the scrollable area (30% combined). Adjust it to your own taste. */
	min-width: 75px;
	width: 10%;
	height: 100%;
	/* There is a big background image and it's used to solve some problems I experienced
    in Internet Explorer 6. */
	background-repeat: repeat;
	background-position: center center;
	position: absolute;
	z-index: 200;
	left: 0;
}

/* Visible left hotspot */
div.scrollingHotSpotLeftVisible
{			
	background-color: #000;
	background-repeat: no-repeat;
	opacity: 0.35; /* Standard CSS3 opacity setting */
	-moz-opacity: 0.5; /* Opacity for really old versions of Mozilla Firefox (0.9 or older) */
	filter: alpha(opacity = 50); /* Opacity for Internet Explorer. */
	zoom: 1; /* Trigger "hasLayout" in Internet Explorer 6 or older versions */
}

/* Invisible right hotspot */
div.scrollingHotSpotRight
{
	min-width: 75px;
	width: 10%;
	height: 100%;
	background-repeat: repeat;
	background-position: center center;
	position: absolute;
	z-index: 200;
	right: 0;
}

/* Visible right hotspot */
div.scrollingHotSpotRightVisible
{
	background-color: #000;
	background-repeat: no-repeat;
	opacity: 0.5;
	filter: alpha(opacity = 50);
	-moz-opacity: 0.35;
	zoom: 1;
}

/* The scroll wrapper is always the same width and height as the containing element (div).
   Overflow is hidden because you don't want to show all of the scrollable area.
*/
div.scrollWrapper
{
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

div.scrollableArea
{
	position: relative;
	width: auto;
	height: 100%;
}





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.noPaddingTop{
	padding-top:0 !important;
}