html {
	width: 100%;
	height: 100%;
}

body {
	width: 100%;
	padding: 0 !important; margin: 0 !important;
	overflow-x: hidden;
	font-family: 'Helvetica Neue', 'Helvetica', Arial, sans-serif !important;
	font-size: 13px; line-height: 15px;
	font-weight: 400;
	background: #fff; color: #000;
}

a, a:link, a:visited, a:active {
	color: #C00;
	-webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
}
a:hover {
	color: #C00;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	margin: 0;
}
h1, h2 {
	letter-spacing: -1px;
}

.button {
	display: inline-block;
	width: 200px;
	padding: 10px;
	background: #c00; color: #fff !important;
	font-weight: bold;
	font-size: 19px; line-height: 19px;
	text-align: center;
}
.button:hover {
	box-shadow: inset 0 -50px 0 #f00; -moz-box-shadow: inset 0 -50px 0 #f00; -webkit-box-shadow: inset 0 -50px 0 #f00;
	color: #fff !important;
}

#game-wrapper {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.header {
	height: 40px;
	position: relative;
	background: #fff;
	z-index: 5;
}
.header-like {
	position: absolute;
	top: 10px; right: 10px;
	width: 285px;
}
.header-like h5 {
	margin: 0;
}

#game {
	width: 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: contain;
	overflow: hidden !important;
	position: relative;
	z-index: 2;
}
#game-wrapper.intro #game {
	background-image: url('../images/emrata-intro.jpg') !important;
}

#loader {
	width: 100%; height: 100%;
	position: absolute;
	top: 0; left: 0;
	z-index: 1;
	background: url('../images/ajax-loader.gif') center center no-repeat #fff;
}

#logo {
	width: 600px; height: auto;
	padding: 10px 20px;
	background: #fff;
	margin: 0 auto;
	text-align: center;
	position: absolute;
	top: 50%; left: 50%;
	margin: -100px 0 0 -320px;
	-webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out;
	z-index: 5;
}
#logo img {
	width: 100%; height: auto;
}
#logo .button {
	margin-top: 10px;
}
#game-wrapper.started #logo {
	width: 160px;
	top: 0;
	margin: 0 0 0 -80px;
	height: auto;
}
#game-wrapper.started #logo-before-start, #game-wrapper.started #logo-finished {
	display: none;
}

#game-buttons {
	position: absolute;
	bottom: -60px; left: 50%;
	width: 700px; padding: 10px;
	background: #fff;
	margin: 0 0 0 -360px;
	-webkit-transition: all 0.25s ease-in-out; -moz-transition: all 0.25s ease-in-out; transition: all 0.25s ease-in-out;
	z-index: 5;
}
#game-wrapper.started #game-buttons {
	bottom: 0;
}
#game-buttons .button {
	text-transform: uppercase;
}
#game-buttons #next {
	position: absolute;
	top: 10px; left: 50%;
	margin-left: -110px;
	z-index: 12;
}
#game-buttons.answered .button-answer, #game-buttons.answered .button-answer:hover {
	background: #000;
	box-shadow: none !important; -moz-box-shadow: none !important; -webkit-box-shadow: none !important;
}
.counter {
	position: absolute;
	top: 10px; left: 50%;
	width: 200px; padding: 10px;
	margin: 0 0 0 -110px;
	background: #fff;
	text-align: center;
	font-weight: bold;
	z-index: 11;
}

.result {
	width: 600px;
	position: absolute;
	top: 50%; left: 50%;
	font-size: 120px; line-height: 120px;
	text-transform: uppercase;
	margin: -60px 0 0 -300px;
	text-align: center;
	z-index: 6;
}
.result.success {
	color: #0f0;
}
.result.failure {
	color: #f00;
}

#game-wrapper.finished #game {
	background-image: none !important;
}
#game-wrapper.finished #game.winner {
	background-image: url('../images/winner.gif') !important;
	background-size: cover !important;
}
#game-wrapper.finished #logo {
	top: 25%;
	height: auto;
}
#game-wrapper.finished #logo-before-start {
	display: none;
}
#game-wrapper.finished #logo-finished {
	display: block;
}
#logo-finished {
	display: none;
}

.score {
	font-size: 15px; line-height: 19px;
	font-weight: bold;
}

.social {
	display: inline-block;
	margin: 0 10px;
	width: 56px; height: 56px;
	background: #000;
}
.social-twitter:hover {
	box-shadow: inset 0 -60px 0 #55acee; -moz-box-shadow: inset 0 -60px 0 #55acee; -webkit-box-shadow: inset 0 -60px 0 #55acee;
}
.social-facebook:hover {
	box-shadow: inset 0 -60px 0 #3B5998; -moz-box-shadow: inset 0 -60px 0 #3B5998; -webkit-box-shadow: inset 0 -60px 0 #3B5998;
}

#preloader {
	width: 1px; height: 1px;
	position: absolute;
	bottom: 0; left: 0;
	z-index: 1;
}

.debug-errors {
	display: none;
}

.logo-share {
	text-align: center;
	padding-left: 60px;
}
.logo-share > div, .logo-share > a {
	display: inline-block;
}
.fb-like  {
	height: 22px !important;
}
.fb-like > span, .fb-share-button > span {
	width: 150px !important; height: 22px !important;
}
.fb-like > span > iframe, .fb-share-button > span > iframe {
	width: 150px !important; height: 22px !important;
}

/**/
/* RESPONSIVITY
/**/

/**/
/* MOBILE ( forced to 400px on portrait mode, on 600px on landscape mode )
/**/

@media (max-width: 767px)
{
	body.landscape .container { width: 560px !important; }
	body.portrait .container { width: 380px !important; padding: 0 10px !important; }
}

/**/
/* TABLET & SMALL DESKTOP ( forced to 960px )
/**/

@media (min-width: 768px) and (max-width: 1199px)
{
	.container { width: 920px !important; }
}

/**/
/* LARGE DESKTOP ( >= 1200px )
/**/

@media (min-width: 1200px)
{
	.container { width: 1160px !important; }
}