@font-face {
    font-family: 'Supergrotesk';
    src: url('fonts/supergroteska-med-webfont.eot');
    src: url('fonts/supergroteska-med-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/supergroteska-med-webfont.woff') format('woff'),
         url('fonts/supergroteska-med-webfont.ttf') format('truetype'),
         url('fonts/supergroteska-med-webfont.svg#supergroteska_medregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
* {
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0); 
	-o-tap-highlight-color: rgba(0,0,0,0); 
}
html, 
body {
	width: 100%;
    height: 100%;
    font-family: Supergrotesk;
    border:0 none;
    margin: 0;
    padding: 0;
   /* background: #f1f2f2; */
	color: #222;
}
html, 
body {
   overflow-y: scroll;
}
h1, h2 {
	font-weight: normal;
}
h2 {
	font-size: .75em;
}
h3.intro-text {
	font-weight: bold;
}

@-ms-viewport{
    width: extend-to-zoom;
    zoom: 1.0;
}
::selection {
	background-color: #e5dfcc;
	color: #fff;
}
::-moz-selection {
	background-color: #e5dfcc;
	color: #fff;
}

#projects-prev::selection, 
#projects-next::selection {
	background-color: transparent;
}
#projects-prev::-moz-selection, 
#projects-next::-moz-selection {
	background-color: transparent;
}
a:link, a:visited { 
	color: #222; 
	text-decoration: none; 
	-webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}
.project-list-item img {
	-webkit-transition: box-shadow 0.25s;
    -moz-transition: box-shadow 0.25s;
    -o-transition: box-shadow 0.25s;
    transition: box-shadow 0.25s;
    -webkit-box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0);
    -moz-box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0);
    box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0);
}
.project-list-item:hover img {
	box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0.75);
	cursor: pointer;
}
.project-list-description-link:hover {
	color: #222;
}
#navigation .nav-link-mail:link, 
#navigation .nav-link-fb:link {
	border:0 none; 
}
#navigation a:link, 
#navigation a:visited, 
.site-id:link, 
.site-id:visited,
.site-login:link, 
.site-login:visited { 
    border-bottom: 2px solid #222;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}
#navigation a:hover,
.site-id:hover,
.site-login:hover { 
	border-color: #777; 
}
#navigation a:active, 
.site-id:active,
.site-login:active { 
	border-color: #e5dfcc; 
}

a:hover{ color: #777;}
a:active{ color: #e5dfcc;}

#content{
	height: 100%;
}
.frame-t, .frame-b, .frame-l, .frame-r {
    background: none repeat scroll 0 0 #222;
    position: fixed;
    z-index: 9990;
}
.frame-t, .frame-b{
	height: 25px;
	width: 100%;
}
.frame-l, .frame-r{
	width: 25px;
	height: 100%;
	bottom: 0;
    top: 0;
}
.frame-t{top:0;}
.frame-r{right:0;}
.frame-b{bottom:0;}
.frame-l{left:0;}

#header{
	position: relative;
}

.site-id:link,
.site-login:link {
	font-size: .7em;
    position: fixed;
    top: 50px;
	left: 70px;
	z-index: 9999;
	border-bottom: none transparent;
	padding: 10px;
	margin-right: 50px;
}
#navigation{
	font-size: 1.4em;
    position: fixed;
    right: 0;
    padding-right: 46px;
    margin: 0;
    top: 60px;
    z-index: 9999;
}
#navigation li{
	display:-moz-inline-stack;
	display:inline-block;
	zoom:1;
	*display:inline;
	margin-right: 1em;
}
#navigation li:last-child{
	margin-right: 0;
}

.nav-link-mail:link, .nav-link-fb:link{
	border-bottom: none transparent;
}
.nav-link-mail{
	font-size: 1.2em;

}
.nav-link-fb{
	width:24px;
	height: 24px;
	background: url("img/fb.png") no-repeat scroll center center;
	
}
.nav-link-fb:hover{
	opacity: 0.7;
}
.nav-link-fb:before{
	content:"\0000a0\0000a0\0000a0\0000a0\0000a0";
}
.intro-container{
	height: 100%;
}
.intro-text{
	text-transform: uppercase;
	font-size: 3em;
	visibility: hidden;
	opacity: 0.0;
	word-break: break-all;
	padding: 0 25px;
}
.statements {
	display: none;
}
.outer-container{
	display: table;
	overflow: hidden;
	height: 100%;
	width: 100%;
}
.outer-container .inner-container {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
.project-wrapper{
	height: 100%;
}
.projects{
	height: 100%;
}
#slides{
	height: 100%;
}
.projects-slide {
	-moz-background-size: cover;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
	width: 100%;
	height: 100%;
	-webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
}
.projects-slide.preload {
	opacity: 0;
}
.projects-slide.loaded {
	opacity: 1;
}
body.preload .projects {
	background: url(img/preloader.gif) 80px 125px no-repeat;
}
#projects-prev, #projects-next{
	z-index: 999;
	cursor:pointer;
	width: 100%;
	position: fixed;
	height: 100px;
	-webkit-transition: background-position 0.25s;
    -moz-transition: background-position 0.25s;
    -o-transition: background-position 0.25s;
    transition: background-position 0.25s;

}
#projects-prev {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 69%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.05)), color-stop(69%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 69%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 69%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 69%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.05) 0%,rgba(0,0,0,0) 69%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	margin-top: 25px;
	background-repeat: repeat-x;
	background-position: 0 -45px;

}
#projects-prev:hover{
	background-position: 0 0;

}
#projects-next{
	bottom: 25px;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 31%, rgba(0,0,0,0.05) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(31%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.05))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 31%,rgba(0,0,0,0.05) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(0,0,0,0) 31%,rgba(0,0,0,0.05) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(0,0,0,0) 31%,rgba(0,0,0,0.05) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 31%,rgba(0,0,0,0.05) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#0d000000',GradientType=0 ); /* IE6-9 */

	background-repeat: repeat-x;
	background-position: 0 45px;
}
#projects-next:hover{
	background-position: 0 0;

}
 #projects-prev:hover .triangle{border-bottom-color: #666;}
 #projects-next:hover .triangle{border-top-color: #666;}
.triangle{
	margin:0 auto;
	width: 0px;
	height: 0px;
	border:10px solid black;
	position: relative;

}
.triangle.triangle-up{
	border-top-color: transparent;
	border-left-color: transparent;
	border-right-color: transparent;
	margin-top: 50px;
}

.triangle.triangle-down{
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-right-color: transparent;
	margin-top:40px;
}

.project-description p{
	text-align: center;
	font-size: 1.5em;
	margin:0;
	padding: 0 15%;
}
.project-description.outer-container{
	background: url(img/bg-opacity.png);
}
#main {
	width: 100%;
	height: 100%;
}
#info-toggle{
	background: url("img/cursor_info.png") no-repeat center center transparent;
    height: 40px;
    position: fixed;
    right: 53px;
    top: 50%;
    width: 40px;
    z-index: 7000;
    cursor: pointer;
}

.window-overlay{
    position: absolute;
    top: 0;
    background-color: #f1f2f2;
    width: 100%;
    z-index: 8000;
    min-height: 100%;
    padding-bottom: 55px;
}
.overlay-content{
	background-color: #f1f2f2;
	margin: 0 auto;
    max-width: 1260px;
    padding: 200px 100px 170px;
}
.close{
	float: left;
    font-size: 55px;
    left: 80px;
    top: 110px;
    position: fixed;
}
.close a:link{
	font-family: arial, helvetica, sans-serif;
}
.overlay-title{
	font-size: 5em;
	text-align: center;
	margin: 0 0 :;
	text-transform: uppercase;
	margin-top: 0;
}
.overlay-text{
	font-size: 1.8em;
	text-align: center;
	margin:0 20% 30px;
}
.window-overlay{display: none;}

.project-list-item{
	width:20%;
	float:left;
	text-align: center;
	margin-bottom: 25px;
	cursor: pointer;
	min-height:180px;
}

.project-list-item:nth-child(5n){
	clear: right;
}
.project-list-image{
	max-width: 90%;
}
.project-list-description{
    max-width: 90%;
    text-align: center;
    margin: 8px auto;
}
.project-list-description-link {
	font-family: Arial, Helvetica, sans-serif;
	border-bottom: 1px solid;
}
.user-form {
	margin:140px 0 0 80px;
}
.user-form,
.user-form form {
	width: 80%;
	max-width: 400px;
}
.user-form label {
	display: block;
	margin-bottom: 8px;
}
.user-form input.form-text {
	margin-bottom: 10px;
}
.user-form input.form-text.error {
	border: 1px solid #F00;
}
.user-form input.form-text {
	padding:4px 8px;
	border: 1px solid #000;
	font-size: .8em;
	box-sizing: border-box; 
	width: 100%;
}
.user-form-link {
	display: inline-block;
	margin-bottom: 10px;
	font-size: .8em;
	font-family: Arial, Helvetica, sans-serif;
}
.user-form input#edit-submit {
	display: block;
	border: 1px solid #000;
	background-color: #FFF;
	font-size: .8em;
	padding:3px 6px;
	cursor: pointer;
	margin-top: 8px;
}

/*
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px) {
	.user-form {
		margin:110px 0 0 45px;
	}
	.overlay-content{
		padding:100px 40px;
		background-color: #f1f2f2;
	}
	.overlay-text{
		font-size: 1em;
		margin: 0 8% 30px;
	}
	#projects-prev, #projects-next {
		height: 150px;

	}
	.site-id:link,
	.site-login:link{
		font-size: .5em;
		left: 35px;
		top:40px;
	}
	.project-list-item{
		width:50%;
		float:left;

	}
	.project-list-item:nth-child(5n){
		clear: none;
	}
	.project-list-item:nth-child(3n){
		clear: none;
	}
	.project-list-item:nth-child(2n){
		clear: right;
	}
	#info-toggle{
		right: 23px;
    	top: 41px;
	}
	#navigation {
	    bottom: 48px;
	    left: 5px;
	    right: auto;
	    top: auto;
	    font-size: 1em;
	    padding-left: 40px;
	}
	.project-description{
		font-size: 0.7em;
	}
	.triangle.triangle-up {
		margin-top:68px;
	}
	.triangle.triangle-down {
		margin-top:64px;
	}
	#navigation li {
	    margin-right: 0.8em;
	}
}
*/
@media only screen and (max-width: 1024px), only screen and (max-device-width: 1024px) {
	.project-list-item{
		width:33.33333%;
		float:left;
	}
	.project-list-item:nth-child(3n){
		clear: right;
	}
	.project-list-item:nth-child(5n){
		clear: none;
	}
	.overlay-text{
		margin: 0 8% 10px;
	}
}
/*
@media screen and (orientation:portrait) {
	body.preload .projects {
		background: url(img/preloader.gif) center center no-repeat;
	}
	.projects-slide {
	    background-position: center center;
	    
	}
	.projects{
		height: 50%;
    	top: 20% !important;
    	width: 100%;
	}
	.project-description-wapper{
	    
	    width: 100%;
	    
	}
	.intro-container.inner-container{
		background: none;
	}	

	.project-description .inner-container{
		background: none;
		display: block !important;
		font-family: arial, helvetica, sans-serif;
	}

	.project-description.outer-container {
		background: none;
		bottom: 10px;
	    display: block;
	    font-size: 0.5em;
	    height: auto;
	    position: absolute;
	}
	.project-list-image{
		max-width: 90%;
	}
	body{
		background-color: #fff;
	}
	.triangle-up {
	    margin-top: 20%;
	}
	.triangle-down {
	    margin-top: 10%;
	}
	.close {
		float: left;
	    left: 45px;
	    position: fixed;
	    right: auto;
	    top: 85px;
	}
	.window-overlay {
	    padding-bottom: 0;
	}
	.frame-t, .frame-b{
		height: 15px;
	}
	.frame-l, .frame-r{
		width: 15px;
	}
	#projects-prev {
		margin-top: 15px;
	}
	#projects-next {
	    bottom: 15px;
	}
	.overlay-content {
	    background-color: #F1F2F2;
	    padding: 150px 40px;
	}
	a:link, a:visited {
	    padding: 2px 5px;
	}
}
*/

body.user-logged {
  padding-top:40px;
}

.user-toolbar {
  background: #000;
  line-height: 20px;
  padding: 10px 50px 10px 10px;
  position: relative;
  color: #ccc;
  font: normal small "Lucida Grande", Verdana, sans-serif;
  left: 0;
  margin: 0 -20px 0;
  position: fixed;
  right: 0;
  top: 0;
  -moz-box-shadow: 0 3px 20px #000;
  -webkit-box-shadow: 0 3px 20px #000;
  box-shadow: 0 3px 20px #000;
  filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10');
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10')";
  z-index:9999;

}

.user-toolbar ul {
  float: left;
  margin: 0;
  padding:0;
}
.user-toolbar ul li {
  list-style-type: none;
  float: left;
}
.user-toolbar ul li:before {
  content: "";
}
.user-toolbar li a,
.user-toolbar a {
  float: left;
  padding: 2px 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: .95em;
  text-decoration: none;
  
}

.user-toolbar li a.active,
.user-toolbar a.active {
  background: url(../images/toolbar.png) 0 0 repeat-x;
  text-shadow: #333 0 1px 0;
}
.user-toolbar li a:hover,
.user-toolbar a:hover {
  background: #444;
}
a.home-link{
    margin:-3px 8px 0 30px;
}
a.home-link span {
  background: url(img/toolbar.png) no-repeat 0 -45px;
  display: block;
  height: 14px;
  margin: 3px 0px;
  text-indent: -9999px;
  vertical-align: text-bottom;
  width: 11px;
}
a.logout-link {
  float:right;
}