/* RESET CSS HTML5 */

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, font, figure, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, header {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
html, body {
	width: 100%;
	height: 100%;
}
header, nav, article, section, aside, time, video, button, figure, footer {
	display: block;
}
input {
	cursor: pointer;
}
strong {
	font-weight: bold;
}
:focus {
	outline:0;
}
a {
	text-decoration: none;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* COMMON */

*{box-sizing: border-box;}

html {

	width: 100%;
	height: 100%;
}

body {

	width: 100%;
	height: 100%;
	background-color: #111522;
	color: #fff;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 16px;

	-webkit-font-smoothing: antialiased;
}

#footer {

	position: absolute;
	font-size: 12px;
	left: 0;
	bottom: 20px;
	z-index: 2;
	float: right;
	clear: both;
	width: 100%;
	text-align: center;
}

#footer p img {
		vertical-align:middle;
}

a {

	font-style: italic;
	color: #ffffff;
}

a:hover {

	text-decoration: underline;
}

canvas {

	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 1;
}

#controls { 
	position: absolute;
	font-size: 12px;
	left: 0;
	bottom: 100px;
	z-index: 2;
	float: right;
	clear: both;
	width: 100%;
	text-align: center;
}

#controls ul {
	display: inline-block;
	height: 80px;

}

#controls ul.cam,#controls ul.mode{
	padding-left: 20px;
	background: url(../img/separador.png) 0 20px no-repeat; 
}

#controls ul li {
	float: left;
	background: url(../img/UB2015_btn.png) 0 0 no-repeat; 
	width: 60px;
	height: 70px;
	margin-right: 15px;
	margin-top: 10px;
	text-align: center;
	padding-top: 20px;
	font-weight: bold;
	cursor: pointer;
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 300ms linear;
}
#controls ul li#mode-lowpoly{
	padding-top: 13px;
}
#controls ul li:hover{
	background: url(../img/UB2015_btn_hover.png) 0 0 no-repeat; 
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}
#controls ul li.active{
	margin-top: 0;
	background: url(../img/UB2015_btn_hover.png) 0 0 no-repeat; 
	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-ms-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;
}

#controls ul li.last{
		margin-right: 0;
	}

#log { position:absolute; top:0px; text-align:left; display:block; z-index:100 }


@media screen and (max-width: 830px) {
	#controls ul li {
		margin-right: 10px;
	}
	#controls ul.cam,#controls ul.mode{
		padding-left: 0;
		background: none; 
	}
	#controls ul.mode{
		display: inline-block;
		margin-top: 30px;
	}
}


@media screen and (max-width: 540px) {
	#footer p span{
		display: block;
	}
	#controls ul li {
		background: url(../img/UB2015_btn_mb.png) 0 0 no-repeat; 
		width: 40px;
		height: 47px;
		padding-top: 10px;
		font-size: 11px;
	}
	#controls ul {
		height: 67px;
	}
	#controls ul li:hover,#controls ul li.active{
		background: url(../img/UB2015_btn_hover_mb.png) 0 0 no-repeat; 
	}
	#controls ul li.last{
		margin-right: 0;
	}
	#controls ul.mode,#controls ul.cam{
		margin-top: 10px;
	}
}








