*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.emojione {
	width: 22px;
	height: 22px;
}

@font-face {
    font-family: 'bauhaus_93regular';
    src: url('/styles/fonts/bauhs93-webfont.eot');
    src: url('/styles/fonts/bauhs93-webfont.eot?#iefix') format('embedded-opentype'),
         url('/styles/fonts/bauhs93-webfont.woff') format('woff'),
         url('/styles/fonts/bauhs93-webfont.ttf') format('truetype'),
         url('/styles/fonts/bauhs93-webfont.svg#bauhaus_93regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 0;
	background-color: #F5F5F5;
}
::-webkit-scrollbar {
	width: 12px;
	border-radius: 0;
	background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
	border-radius: 0;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #333333;
}
* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	-webkit-transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	-moz-transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
a {
	color: #333366;
}
a:hover {
	color: #4e96fc;
}
textarea {
	transition: height 0.2s, border-color 0.2s;
	-webkit-transition: height 0.2s, border-color 0.2s; 
	-moz-transition: height 0.2s, border-color 0.2s;
}
main, nav, p, div, h2, h3, article, section, input {
	font-family: 'Lato', sans-serif;
}
a {
	text-decoration: none;
}
html {
	overflow-y: scroll; 
	overflow-x: hidden;
	height:100%;
}
body {
	background-color: #202020;
	min-height: 100%;
	font-size: 100%;
}
#wrapper {
	height: auto !important;
	margin: auto;
	min-height: 100%;
	background-color: #D0E0F0;
}
#wrapper > header > div,
#wrapper > main,
#nav > div,
footer > div {
	max-width: 1440px;
	min-width: 360px;
	margin: auto;
}
#wrapper > header {
	height: 250px;
	background-image: url('/images/header-bg.png');
	background-position: center top;
	background-repeat: repeat-x;
	background-attachment: fixed;
	position: relative;
	overflow: hidden;
}
#wrapper > header.fixed {
	margin-bottom: 44px;
}
#wrapper > header > div {
	display: block;
	position: relative;
	z-index: 2;
}
#wrapper > header > div > h1 {
	display: inline-block;
	padding-top: 40px;
	font-size: 3em;
	line-height: 1.1em;
	font-family: 'bauhaus_93regular';
	color: #FFFFFF;
	font-weight: normal;
	text-shadow: 1px 1px 3px rgba(255,255,255,0.4);
	white-space: nowrap;
	
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	cursor: default;
	
	transition: padding 0.2s;
}
@media screen and (max-width:1460px) {
	#wrapper > header > div > h1 {
		padding-left: 20px;
	}
}
#wrapper > header > div > h1:first-line {
	color: #395da5;
}
#wrapper > header > canvas {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

/* Start - Menu */
	.nav {
		position: relative;
		top: 0;
		left: 0;
		right: 0;
		background-color: #333333;
		box-shadow: 0 3px 5px rgba(0,0,0,0.4);
		z-index: 1337;
	}
	.nav.fixed {
		position: fixed;
	}
	.nav > div {
		height: 44px;
	}
	nav.main {
		float: left;
	}
	.nav ul {
		list-style: none;
	}
	.nav li {
		float: left;
	}
	.nav a {
		display: inline-block;
		height: 44px;
		line-height: 44px;
		vertical-align: middle;
		color: #CCCCCC;
		padding: 0 12px;
		margin-right: 15px;
	}
	.nav li:last-child a {
		margin-right: 0;
	}
	.nav a.active {
		background-color: #222222;
	}
	.nav a:hover {
		background-color: #444444;
	}
	nav.lang {
		float: right;
	}
	#nav > button {
		display: none;
	}
/* End - Menu */


#wrapper > main {
	padding-bottom: 44px;
	background-color: #FFFFFF;
}

footer {
	background-color: #333333;
	box-shadow: 0 -3px 5px rgba(0,0,0,0.4);
	margin-top: -44px;
}
footer > div {
	position: relative;
}
footer > div > span {
	position: absolute;
	right: 10px;
	top: 0;
	display: block;
	height: 44px;
	line-height: 44px;
	vertical-align: middle;
	color: #666666;
}

/* Start - miu */
	#miu {
		position: absolute;
		right: -100px;
		bottom: 30px;
		z-index: 314159265359;
		-webkit-transition: opacity 0.4s;
		-moz-transition: opacity 0.4s;
		transition: opacity 0.4s;
	}
	#miu > img {
		cursor: url('/images/paw.png'), pointer;
	}
	#miu > div {
		-webkit-transition: opacity 0.4s;
		-moz-transition: opacity 0.4s;
		transition: opacity 0.4s;
		bottom: 88px;
		right: 104px;
		position: absolute;
		width: 82px;
		height: 71px;
		background: url('/images/miu-speak.png');
		opacity: 0;
	}
	#miu > div.active {
		opacity: 1;
	}
	@media screen and (max-width: 1600px) {
		#miu {
			opacity: 0;
		}
	}
	@media screen and (max-width: 1500px) {
		#miu {
			display: none;
		}
	}
/* End - miu */

#go-to-top {
	visibility: hidden;
	position: fixed;
	bottom: 10px;
	left: 10px;
	width: 40px;
	height: 40px;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	transition: visibility 0.5s 0.5s, opacity 0.5s;
	z-index: 100000000000; /* 100 billion dollars!!! */
}
#go-to-top > img {
	width: 100%;
	height: 100%;
}

h2 {
	line-height: 3em;
	height: 3em;
	vertical-align: middle;
	padding-left: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media screen and (max-width:767px) { /* Tablets */
	#wrapper {
		padding-top: 44px;
	}
	#wrapper > header.fixed {
		margin-bottom: 0;
	}
	#nav {
		position: fixed;
		top: 0;
	}
	#nav > button {
		display: block;
		width: 44px;
		height: 44px;
		position: absolute;
		top: 0;
		left: 0;
		-webkit-transition: transform 0.5s;
		transition: transform 0.5s;
		padding: 4px 8px 0;
	}
	#nav > button > div {
		height: 5px;
		margin-bottom: 4px;
		background-color: #666666;
		-webkit-transition: background-color 0.5s;
		transition: background-color 0.5s;
	}
	#nav.active > button > div,
	#nav > button:hover > div {
		background-color: #999999;
	}
	#nav.active > button {
		-ms-transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
		transform: rotate(90deg);
	}
	#nav .main {
		position: absolute;
		top: 44px;
		left: -200px;
		background-color: #333333;
		width: 200px;
		-webkit-transition: left 0.5s;
		transition: left 0.5s;
	}
	#nav.active .main {
		left: 0;
	}
	#nav .main li {
		clear: both;
	}
	#nav .main li a {
		display: block;
		width: 200px;
		margin-right: 0;
		font-size: 1.2em;
	}

	#meeloo {
		display: none;
	}
	#critical-miss {
		width: 100%;
	}
}

@media screen and (max-width:479px) { /* Phones */
	#wrapper > header {
		text-align: center;
	}
	#wrapper > header > div > h1 {
		padding-left: 0;
	}
	#go-to-top.active {
		visibility: visible;
		opacity: 0.5;
		transition-delay: 0;
	}
}