﻿
* {
	margin: 0;
	padding: 0;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body {
	font-family: 'TitilliumText22LRegular', Arial, Helvetica, Tahoma, sans-serif;
	font-size: 16px;
	color: #676767;
}

.clear:before,
.clear:after {
	content: "";
	display: table;
}

.clear:after {
	clear: both;
}

.clear {
	zoom: 1; /* ie 6/7 */
}


/* ------------------------------------------------------------------------------------------------------------------------ */
/* RESETS																													*/


a:visited {
	color: inherit;
}


/* ------------------------------------------------------------------------------------------------------------------------ */
/* GENERAL LAYOUT																											*/


.wrapper {
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	position: absolute;
}

header {
	background: #5d3e6d;
	height: 50px;
	width: 100%;
}

main {
	overflow: hidden;
	overflow-y: auto;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	-webkit-animation: fadein 1s;
	-moz-animation: fadein 1s;
	animation: fadein 1s;
	-webkit-overflow-scrolling: touch;
}

/* --- HEADER NAV --- */

.navBar nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.navBar nav .navIcon {
	width: 50px;
	height: 50px;
	cursor: pointer;
}

.navBar nav .navIcon .icon25 {
	margin: 12px;
}

.navBar nav .sectionTitle {
	flex: 1;
	text-align: center;
	line-height: 50px;
	font-size: 22px;
	font-family: 'bebas_neuebold', Arial, Helvetica, Tahoma, sans-serif;
	color: #976EAD;
	font-weight: normal;
}

.navBar nav [class*="icon20-"], 
.navBar nav [class*="icon25-"] {
	color: #976EAD;
	line-height: 50px;
}

/* ------------------------------------------------------------------------------------------------------------------------ */
/* LOGIN 																												*/


.login {
	background: #5d3e6d;
	background: -moz-linear-gradient(top, #734f86 0%,#362e4c 100%);
	background: -webkit-linear-gradient(top, #734f86 0%,#362e4c 100%);
	background: linear-gradient(to bottom, #734f86 0%,#362e4c 100%);
	color: #d1abe6;
	width: 100%;
    height: 100%;
    position: absolute;
}

.login .content {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 500px;
	transform: translate(-50%, -50%);
	transform: -webkit-translate(-50%, -50%);
	transform: -ms-translate(-50%, -50%);
	text-align: center;
}

.login .pulsar {
	width: 1500px;
	height: 1500px;
	margin: 0px auto;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transform: -webkit-translate(-50%, -50%);
	transform: -ms-translate(-50%, -50%);
}

.login .pulsar .ring {
	position: absolute;
	top: 50%;
	left: 50%;
	background: rgba(158, 138, 210, 0.04);
	border: 20px solid rgba(255, 255, 255, 0.01);
	box-sizing: border-box;
	border-radius: 50%;
	width: 100%;
	height: 100%;
	margin-top: -50%;
	margin-left: -50%;
	-webkit-transform: scale(0);
	transform: scale(0);
}

.login .pulsar .ring:nth-child(1) {
	-webkit-animation: pulsar 3s 0s linear infinite;
	animation: pulsar 3s 0s linear infinite;
}

.login .pulsar .ring:nth-child(2) {
	-webkit-animation: pulsar 3s 1s linear infinite;
	animation: pulsar 3s 1s linear infinite;
}

.login .pulsar .ring:nth-child(3) {
	-webkit-animation: pulsar 3s 2s linear infinite;
	animation: pulsar 3s 2s linear infinite;
}


/* ------------------------------------------------------------------------------------------------------------------------ */
/* POLLS																													*/


.polls.default {
	background-color: #2e3d4d;
	color: #ffffff;
	width: 100%;
    height: 100%;
    position: absolute;
}

.polls .top {
	padding: 40px 40px 0 40px;
}

.polls .top .icon25-pictures {
	float: right;
    font-size: 35px;
	cursor: pointer;
}

.polls .top [class*="icon15-"] {
	margin: 0 10px 0 0;
	font-size: 20px;
}

.polls .top .icon25-back {
	font-size: 40px;
	cursor: 'pointer';
	text-align: left;
}

.polls .nickName {
	font-size: 20px;
	font-family: 'TitilliumText22LRegular', Arial, Helvetica, Tahoma, sans-serif;
}

.polls .nickName .score {
	font-family: 'TitilliumText22LBold', Arial, Helvetica, Tahoma, sans-serif;
	margin: 10px 0 0 0;
}

.polls .content {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 500px;
	transform: translate(-50%, -50%);
	transform: -webkit-translate(-50%, -50%);
	transform: -ms-translate(-50%, -50%);
	text-align: center;
	padding: 0;

	-webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 1s; /* Firefox < 16 */
	animation: fadein 1s;
}
	@keyframes fadein {
		from { opacity: 0; }
		to   { opacity: 1; }
}
	@-moz-keyframes fadein {
		from { opacity: 0; }
		to   { opacity: 1; }
}
	@-webkit-keyframes fadein {
		from { opacity: 0; }
		to   { opacity: 1; }
}

.polls .thumb {
	width: 85px;
	height: 85px;
	margin: 0 auto 30px auto;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	background: rgba(0, 0, 0, 0.2);
}

.polls .status {
	font-size: 30px;
	line-height: 30px;
	font-family: 'TitilliumText22LBold', Arial, Helvetica, Tahoma, sans-serif;
	margin: 20px 0 0 0;
}

.polls .status .next {
	font-size: 14px;
	font-family: 'TitilliumText22LRegular', Arial, Helvetica, Tahoma, sans-serif;
}

.polls .answers {
	margin: 0 auto;
	width: 340px;
}

.polls .timer {
	background: rgba(0,0,0,0.2);
	box-shadow: 0px 0px 0px 10px rgba(0,0,0,0.1);
	border-radius: 50%;
	display: inline-block;
	padding: 20px 20px;
	margin: 0 0 20px 0;
	color: #ffffff;
	font-size: 30px;
	line-height: 25px;
	font-family: 'bebas_neuebold', Arial, Helvetica, Tahoma, sans-serif;
}

.polls .answers .btn {
	width: auto;
	padding: 30px;
	margin: 25px;
	float: left;
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	box-shadow: 0px 0px 0px 8px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0px 0px 0px 8px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 0px 8px rgba(0,0,0,0.1);
	cursor: pointer;
}

.polls .answers .btn:nth-child(2n) {
	float: right;
}

.polls .answers .btn.triangle {
	background: #fc1e43;
	background: -webkit-linear-gradient(top, #fc1e43, #ab152e);
	background: -moz-linear-gradient(top, #fc1e43, #ab152e);
	background: -ms-linear-gradient(top, #fc1e43, #ab152e);
	background: -o-linear-gradient(top, #fc1e43, #ab152e);
	background: linear-gradient(to bottom, #fc1e43, #ab152e);
}

.polls .answers .btn.circle {
	background: #1574e8;
	background: -webkit-linear-gradient(top, #1574e8, #0e4e9c);
	background: -moz-linear-gradient(top, #1574e8, #0e4e9c);
	background: -ms-linear-gradient(top, #1574e8, #0e4e9c);
	background: -o-linear-gradient(top, #1574e8, #0e4e9c);
	background: linear-gradient(to bottom, #1574e8, #0e4e9c);
}

.polls .answers .btn.square {
	background: #f2b200;
	background: -webkit-linear-gradient(top, #f2b200, #c37905);
	background: -moz-linear-gradient(top, #f2b200, #c37905);
	background: -ms-linear-gradient(top, #f2b200, #c37905);
	background: -o-linear-gradient(top, #f2b200, #c37905);
	background: linear-gradient(to bottom, #f2b200, #c37905);
}

.polls .answers .btn.diamond {
	background: #2c9b0e;
	background: -webkit-linear-gradient(top, #2c9b0e, #22750b);
	background: -moz-linear-gradient(top, #2c9b0e, #22750b);
	background: -ms-linear-gradient(top, #2c9b0e, #22750b);
	background: -o-linear-gradient(top, #2c9b0e, #22750b);
	background: linear-gradient(to bottom, #2c9b0e, #22750b);
}

.polls .answers .btn.star {
	background: #ab32ac;
	background: -webkit-linear-gradient(top, #ab32ac, #79237a);
	background: -moz-linear-gradient(top, #ab32ac, #79237a);
	background: -ms-linear-gradient(top, #ab32ac, #79237a);
	background: -o-linear-gradient(top, #ab32ac, #79237a);
	background: linear-gradient(to bottom, #ab32ac, #79237a);
}

.polls .answers .btn.moon {
	background: #3bc4c4;
	background: -webkit-linear-gradient(top, #3bc4c4, #2b8f8f);
	background: -moz-linear-gradient(top, #3bc4c4, #2b8f8f);
	background: -ms-linear-gradient(top, #3bc4c4, #2b8f8f);
	background: -o-linear-gradient(top, #3bc4c4, #2b8f8f);
	background: linear-gradient(to bottom, #3bc4c4, #2b8f8f);
}

.polls .answers .btn.selected {
	border: 5px solid #ffffff;
	padding: 25px;
}

.polls .answers.result {
	width: auto;
}

.polls .answers.result .btn {
	float: none;
	margin: 0px auto 20px auto;
	cursor: auto;
}


/* --- POLLS CERTIFICATE / REWARD --- */


.polls .certificate {
	width: 375px;
	background: #ffffff;
	color: #9264ab;
	margin: 0 auto;
	padding: 40px 0 0 0;
	text-align: center;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-box-shadow: 0px 0px 50px 10px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 50px 10px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 50px 10px rgba(0,0,0,0.1);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transform: -webkit-translate(-50%, -50%);
	transform: -ms-translate(-50%, -50%);
	text-align: center;

	-webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 1s; /* Firefox < 16 */
	animation: fadein 1s;
}

.polls .certificate .nickName {
	font-size: 16px;
}

.polls .certificate .score {
	margin: 5px 0 0 0;
	font-size: 22px;
}

.polls .certificate h1 {
	font-size: 32px;
	margin: 0 0 10px 0;
}

.polls .reward {
	max-width: 375px;
	margin: 0 auto 10px auto;
}

.polls .reward img {
	width: 100%;
}

.polls .certificate .info {
	padding: 0 20px;
}

.polls .certificate .info p {
	color: #676767;
}

.polls .certificate .code {
	font-size: 14px;
}

.polls .certificate .numbers {
	font-family: 'bebas_neuebold', Arial, Helvetica, Tahoma, sans-serif;
	font-size: 70px;
	line-height: 60px;
	letter-spacing: 8px;
}

.polls .certificate .end {
	margin: 20px 40px 30px 40px;
}

.polls .certificate .end .btn {
	margin: 0 auto 20px auto;
	width: 100%;
}

.timer_solver_positioner .container_bg {
	background-color: #000000;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	opacity: 0.09;
	filter: alpha(opacity=09);
}

.timer_solver_positioner .container_stroke {
	background-position: 0 0, 100% 0;
	background-repeat: no-repeat;
	background-image: -webkit-linear-gradient(top, #ffffff 0%, #000000 100%), -webkit-linear-gradient(top, #ffffff 0%, #000000 100%);
	background-image: -moz-linear-gradient(top, #ffffff 0%, #000000 100%), -moz-linear-gradient(top, #ffffff 0%, #000000 100%);
	background-image: -o-linear-gradient(top, #ffffff 0%, #000000 100%), -o-linear-gradient(top, #ffffff 0%, #000000 100%);
	background-image: linear-gradient(to bottom, #ffffff 0%, #000000 100%), linear-gradient(to bottom, #ffffff 0%, #000000 100%);
	background-size: 1px 100%;
	-webkit-background-size: 1px 100%;
	-moz-background-size: 1px 100%;
	border-bottom: 2px solid #000000;
	border-top: 2px solid #ffffff;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	opacity: 0.15;
	filter: alpha(opacity=15);
}

.font_counter {
	font-family: 'bebas_neuebold';
	font-size: 20px;
	font-size: 3.2vh;
	line-height: 3.2vh;
}

.timer_solver_positioner {
	text-align: center;
}

.timer_solver_positioner .timer_text {
	display: block;
	font-size: 1.9vh;
	margin: -0.5vh 0 0 0;
	position: relative;
	text-align: center;
}

.timer_solver_positioner .timer_text div {
	display: inline-block;
	font-size: 0.8em;
	margin: 0 -0.75vh 0 0;
	position: relative;
}

.timer_solver_positioner .timer_text div:first-child {
	font-size: 1.9vh;
	margin: 0 0.4vw 0 0;
	top: 0.15vh;
}

.question_results_screen.more_answers .timer_solver_positioner {
	top: 20.4%;
}

.timer_solver_container {
	display: inline-block;
	height: 8.102vh;
	position: relative;
	width: 8.102vh;
}

.timer_solver_container .inner_circle {
	background: #000000;
	border-radius: 50%;
	height: 79%;
	position: absolute;
	left: 10.5%;
	top: 10.5%;
	width: 79%;
	opacity: 0.18;
	filter: alpha(opacity=18);
}

.timer_solver_container .inner_circle_shadow {
	border-radius: 50%;
	box-shadow: 0px 0px 12px #000000 inset;
	height: 79%;
	position: absolute;
	left: 10.5%;
	top: 10.5%;
	width: 79%;
	opacity: 0.25;
	filter: alpha(opacity=25);
}

.timer_solver_container .timer_solver_text {
	left: 0;
	position: absolute;
	top: 32.5%;
	width: 100%;
}

.timer_solver_container .timer_solver_indicator {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.timer_solver_container #timer_solver_canvas {
	height: 100%;
	width: 100%;
}



/*------------------------------------------------------------------
	MEDIA QUERIES
------------------------------------------------------------------*/

@media only screen and (max-width: 768px) {

	.login .pulsar {
		width: 1000px;
		height: 1000px;
	}
}

@media only screen and (max-width: 480px) {

	body {
		font-size: 13px;
	}

	.login .content {
		width: 75%;
	}

	.login .pulsar {
		width: 600px;
		height: 600px;
	}

	.login .pulsar .ring {
		background: rgba(158, 138, 210, 0.06);
		border: 20px solid rgba(255, 255, 255, 0.01);
	}

	.polls .top {
		padding: 20px 20px 0 20px;
	}

	.polls .top .icon25-pictures {
		font-size: 25px;
	}

	.polls .top [class*="icon15-"] {
		font-size: 15px;
	}

	.polls .top .icon25-back {
		font-size: 20px;
	}

	.polls .nickName {
		font-size: 14px;
	}

	.polls .nickName .score {
		font-size: 16px;
		margin: 5px 0 0 0;
	}

	.polls .timer {
		padding: 13px 15px;
		font-size: 25px;
	}

	.polls .content {
		width: 75%;
	}

	.polls .answers {
		max-width: 280px;
	}

	.polls .answers .btn {
	    margin: 20px;
	    padding: 25px;
		box-shadow: 0px 0px 0px 6px rgba(0,0,0,0.1);
	}
	
	.polls .answers .btn.selected {
		padding: 20px;
	}

	.polls .status {
		font-size: 22px;
		line-height: 30px;
		margin: 0;
	}

	.polls .status a {
		font-size: 14px;
	}

	.polls .certificate {
		width: auto;
		transform: none;
		top: 20px;
		left: 20px;
		right: 20px;
		bottom: 20px;
		padding: 0;
		-webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.1);
		-moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.1);
		box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.1);
	}

	.polls .certificate h1 {
		font-size: 32px;
		margin: 0 0 20px 0;
	}

	.polls .certificate .nickName {
		font-size: 14px;
		margin: 40px 0 0 0;
	}

	.polls .certificate .score {
		font-size: 20px;
	}
	
	.polls .certificate .end {
		margin: 20px 50px 30px 50px;
		position: absolute;
		bottom: 0px;
		left: 0px;
		right: 0px;
	}

	.polls .answers.result [class*="icon25-"] {
		font-size: 30px;
    	top: -40px;
    	right: -30px;
	}
}

@media only screen and (max-width: 320px) {

	.polls .content {
		width: 80%;
	}

	.polls .nickName {
		font-size: 13px;
	}

	.polls .nickName .score {
		font-size: 14px;
	}

	.polls .answers {
	    max-width: 220px;
	}

	.polls .answers .btn {
		margin: 15px;
		padding: 20px;
		-webkit-border-radius: 12px;
		-moz-border-radius: 12px;
		border-radius: 12px;
	}

	.polls .answers .btn.selected {
		padding: 15px;
	}

	.polls .answers [class*="poll-symbol-"] {
		font-size: 40px;
	}

	.polls .timer {
		font-size: 20px;
		line-height: 20px;
		margin: 0 0 10px 0;
		padding: 8px 10px;
	}

	.polls .status {
		font-size: 20px;
	}

	/* --- POLLS CERTIFICATE --- */

	.polls .certificate h1 {
		font-size: 25px;
		margin: 0 0 10px 0;
	}	

	.polls .certificate .nickName {
		margin: 30px 0 0 0;
	}

	.polls .certificate .end .btnDefault {
		padding: 15px 10px;
	}
}

@media only screen and (max-height: 480px) {  /* --- IPHONE 4 --- */

	h1 {
		font-size: 25px;
		margin: 0 0 20px 0;
	}

	h2 {
		font-size: 14px;
		margin: 0 0 10px 0;
	}

	.polls .nickName {
		font-size: 14px;
	}

	.polls .nickName .score {
		font-size: 14px;
		margin: 5px 0 0 0;
	}
	
	.polls .top [class*="icon15-"] {
		margin: 0 5px 0 0;
	}

	.polls .answers {
		max-width: 210px;
	}

	.polls .answers .btn {
		margin: 15px;
		padding: 20px;
		border-radius: 10px;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
	}

	.polls .answers [class*="poll-symbol-"] {
		font-size: 35px;
	}

	/* --- POLLS CERTIFICATE --- */

	.polls .certificate .info p {
		margin: 0 0 5px 0;
	}

	.polls .certificate .nickName {
		margin: 30px 0 0 0;
	}

	.polls .certificate .nickName .score {
		font-size: 20px;
	}

	.polls .certificate .code {
		margin: 10px 0;
	}

	.polls .certificate .numbers {
		font-size: 40px;
		line-height: 30px;
		letter-spacing: 4px;
		margin: 0 5px;
	}

	.polls .certificate .end {
		margin: 0px 50px 20px 50px;
	}

	.polls .certificate .end .btn {
		margin: 0 0 15px 0;
		font-size: 15px;
	}

	.polls .certificate .end .btnDefault {
		padding: 10px 0;
	}
}
