/**fonts*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 100%;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a{
    text-decoration: none;
}

html{
    height: 100%;
}
body.home{
    height: 100%;
}
img{
    display: block;
    zoom: 1;
    filter: alpha(opacity=0);
    max-width: 100%;
	opacity: 0;
    
    -webkit-transform-style: preserve-3d;
    
    transition: opacity 2s ease;
   -moz-transition: opacity 2s ease;
   -webkit-transition: opacity 2s ease;
    -o-transition: opacity 2s ease;
    -ms-transition: opacity 2s ease;
}
img.show{
    filter: alpha(opacity=10);
	opacity: 0.1;
}
.single-project.full-opacity img.show{
    filter: alpha(opacity=100);
	opacity: 1;
}
a{
    color: #000;
    text-decoration: none;
}
html, body{
    width: 100%;
    height: 100%;
}
/**
canvas
**/
#canvas{
    padding: 20px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    width: 100%;
    height: 100%;
}


/**
header
**/
#header{
    height: 140px;
}
#menu{
    float: left;
    padding-right: 60px;
}
#menu li a{
    font-weight:800;
    font-size: 28px;
    color: #cdcdcd;
}
#menu li.selected > a{
    color: #000;
}
#menu .submenu{
    padding: 5px 0px 5px 0px;
}
#menu .submenu li a{
    font-weight: normal;
    font-size: 16px;
}
#menu .submenu li{
    line-height: 1.25;
}
.tablet #menu {
    line-height: 1.3;
}
.tablet #menu .submenu li,
.phone #menu .submenu li{
    line-height: 1.8;
}
/**
main-content
**/
.phone #canvas{
    position: relative;
}
.phone #main-content{
    position: absolute;
    left: 0;
    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+ */
    padding-left: 20px;
    padding-right: 20px;
}
.phone #header{
    position: fixed;
    z-index: 1;
    height: 40px;
    padding-top: 20px;
    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+ */
    padding-left: 20px;
    padding-right: 20px;
    top: 0px;
    left: 0px;
    
    background-color: rgba(255, 255, 255, 0.8);
}
.phone #menu{
    float: none;
    position: fixed;
    z-index: 1;
    top: 40px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
    width: 100%;
    padding:10px 20px 20px 20px;
    line-height: 1.5;
    display: none;
}
.phone #menu.visible{
    display: block;
}
#main-content{
    overflow: auto;
    position: fixed;
    top: 0px;
    padding-top: 160px;
    visibility: hidden;
    
    zoom: 1;
    filter: alpha(opacity=0);
	height: 100%;
	opacity: 0;
    
     -webkit-overflow-scrolling: touch;
    
    transition: opacity 1s ease;
   -moz-transition: opacity 1s ease;
   -webkit-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    -ms-transition: opacity 1s ease;
}
#main-content.show{
    filter: alpha(opacity=100);
    opacity: 1;
}
.single-project{
    margin-bottom: 40px;
}
.project-textcontent{
    height: 280px;
}
.project-textcontent.page-info{
    height: auto;
}
.info-content{
    zoom: 1;
    filter: alpha(opacity=0);
	opacity: 0;
    
    -webkit-transform-style: preserve-3d;
    
    transition: opacity 1s ease;
   -moz-transition: opacity 1s ease;
   -webkit-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    -ms-transition: opacity 1s ease;
}
.single-project.full-opacity .info-content{
    filter: alpha(opacity=100);
	opacity: 1;
}
.computer .info-content{
    padding-right: 160px;
}
.tablet .info-content{
    padding-right: 160px;
}
.info-content h3,
.info-content h4{
    padding: 10px 0px;
}
.info-content p{
    line-height: 1.25;
    font-size: 12px;
    margin-bottom: 10px;
}

/**
 * slide show	
 * */
.project-slide{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 2000;
	background: url(img/loader.gif) rgba(0, 0, 0, 0.8);
	background-repeat: no-repeat;
	background-position: center center;
	display:none;
	opacity: 0;
}
.project-slide-inner{
	position:relative;
	width: 100%;
	height: 100%;
}
.slide-container{
	width: 20000px;
	height: 90%;
	position: absolute;
	top: 5%;
	left:0px;
}
.slide-item{
	height: 100%;
	display: inline-block;
	float: left;
	position:relative;
}

.slide-inner{
	position:absolute;
	height: 100%;
	width: 100%;
	left: 0px;
	text-align:center;
	overflow:hidden;
}
.slide-inner-text{
	display:none;
	position:absolute;
	width: 60%;
	left: 20%;
	top: 100%;
	margin-top: 10px;
	color: #fff;
	text-align: center;
	overflow:hidden;
}
.slide-item img{
    position: absolute;
	top: -9999px;
	left: -9999px;
	right: -9999px;
	bottom: -9999px;
	margin:auto;
}
.slide-inner > iframe,
.slide-inner > video{
	width: 60%;
	height: auto;
	margin: auto;
	position: absolute;
	top: -9999px;
	bottom: -9999px;
	left: -9999px;
	right: -9999px;
}

.slide-item.loading{
	background-image: url(img/loader.gif);
	background-repeat: no-repeat;
	background-position: center center;
}
#prev, #next{
	position: absolute;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top:-15px;
	cursor:pointer;
	z-index: 120;
	display:none;
    background-size: contain;
}
#prev, #next, #close{
    zoom: 1;
    filter: alpha(opacity=0.7);
    opacity: 0.7;
}
#prev:hover, #next:hover, #close:hover{
    zoom: 1;
    filter: alpha(opacity=1);
    opacity: 1;
}
#prev.hasmore, #next.hasmore{
	display: block;
}
#prev{
	left: 20px;
	background-image: url(img/prev.png);
	background-repeat:no-repeat;
	background-position:center center;
}
#next{
	right: 20px;
	background-image: url(img/next.png);
	background-repeat:no-repeat;
	background-position:center center;
}
#close{
	position:absolute;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	background-image: url(img/close.png);
	background-repeat: no-repeat;
	background-position: center center;
    background-size: contain;
	cursor:pointer;
	z-index: 120;
}