﻿/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    overflow:hidden;
    background:#000;
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
	font-family: Arial;
	color: #fff;
	font-size: 16px;
}

/* Preloader */
#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:9999; /* makes sure it stays on top */
}
#preloader > img{ display: none; }
#preloader > img, .background > img{ width: 100%; }
.background{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    color: white;
    text-align: center;
    overflow: hidden;
	background: url("../img/page1.png") no-repeat center / contain;
}
.game-view{
	overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}
/*pages*/
.page{
	width: 100%;
	height: 100%;
	z-index: 999;
	position: absolute;
	top:0;
	left:0;
	display: none;
}
#page1{ display: block; }
.page h1{ font-weight: normal; }
.content, .wallet,.certificate {
    position: absolute;    
    height: 100%;
	display: inline-block;
	overflow: hidden;
}
.content{ width: 77.5%; }
.content .contentTitle{
	font-size: 2.875em;
	margin-left: 1.15em;
    margin-top: 0.8em;
    margin-bottom: 0.3em;
}
.content .contentInfo{
	margin-left: 3.5em;
	display: table;
}
.content .contentInfo > div{ display: table-cell; vertical-align: middle; }
.content .contentInfo > div.contentText{ font-size: 1.3em; width: 100%; }
.content .download{ border-radius: 0.625em; background: #F7941D; outline: 0;  border: 1px solid #F7941D; color: #fff; padding: 0.5em 1em; border-radius: 0.4em; cursor: pointer; margin: 3.5em auto 0; display: block; width: 8em; text-decoration: none; font-size: 1.8em; }
.content .contentInfo > div.conentButton .play:hover,.getPaid:not(.disabled):hover{ -webkit-animation-play-state: paused; -moz-animation-play-state: paused;-o-animation-play-state: paused; animation-play-state: paused; }
.content .options,.content .page1_options{ margin-top: 14.15em; font-size: 1.53em; display: table; width: 71%; text-align: center; margin-left: 2em; }
.content .options > div, .content .page1_options > div{ display: table-cell; vertical-align: middle; width: 25%; font-weight: bold; position: relative; }
.content .page1_options > div:first-child{ width: 17%; }
.content .page1_options > div:nth-child(2){ width: 20%; padding-left: 4%; }
.content .page1_options > div:nth-child(3){ width: 20%; padding-right: 6%; }
.content .page1_options > div:last-child{ width: 20%; }
.problemContainer {
    height: 9em;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 94%;
    margin-top: 0.5em;
	padding-left: 6%;
} 
.show-tip{ display: none; }
#page1 .show-tip .problemContainer{ display: inline-block; }
#page4 .tip-definition{ color: #000; }
.content .problemCalculation {
    width: 65.5%;	
	display: table;
	position: absolute;
	top: 50%;

  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%)
}
#page1 .walletMarquee{ display:none; }
.content .problemCalculation > div{ display: table-cell; vertical-align: middle; padding: 0 1em 0.5em; }
.content .problemCalculation .problemTop > div,
.content .problemCalculation .problemBottom > div,
.content .problemCalculation > div.solution > div { display: table-cell; }
.content .problemCalculation .problemTop > div:first-child,
.content .problemCalculation > div.solution > div:first-child{ width: 58%; }
.content .problemCalculation .problemTop > div:last-child,
.content .problemCalculation > div.solution > div:last-child{ width: 42%; }
.content .problemCalculation .problemTop > div,
.content .problemCalculation > div.solution .solutionInfo{ font-size: 1.18em; }
.content .problemCalculation .problemBottom > div,
.content .problemCalculation > div.solution .solutionImage{ font-size: 2.08em;  }
.content .problemCalculation > div.problem { width: 60%; }
.content .problemCalculation > div.solution { width: 40%; background: #973B04; text-align: center;}
.solutionImage img { max-width: 84px; width: 100%; }
.content .problemCalculation .problemBottom{ display: table; width: 100%; }
.content .problemCalculation .problemBottom > div:first-child{ width: 43%; text-align: center; }
.content .problemCalculation .problemBottom > div:nth-child(3){ width: 29%; text-align: center; }
.content .problemCalculation .problemBottom > div:nth-child(2){ width: 14%; text-align: center; }
.content .problemCalculation .problemBottom > div:nth-child(4){ width: 14%; text-align: right; }

.disabled{ cursor: default !important; opacity: 0.9 !important; }

.problemSigns{ color: #FFC600; }
.wallet{ width: 22.5%; right: 0; }
.wallet div.conentButton{ font-size: 2em; margin-top: 7em; text-align: center; }
.wallet div.conentButton .play,.gamestart,.next{ border-radius: 0.625em; background: #F7941D; outline: 0;  border: 1px solid #F7941D; color: #fff; padding: 0.4em 0.5em; border-radius: 0.4em; cursor: pointer; }
.gamestart{ position: absolute; top: 14.2em; font-size: 1.8em; left: 11.2em; width: 7em; padding: 0.4em 0.7em; display: none; }
.wallet .getPaid{ width: 40%; font-size: 2em; padding: 6.7% 6.4%; position: absolute; bottom: 5.2%; left: 21.8%; border: 0.1em solid #F7941D; }
.button-next{ text-align: center; position: absolute; bottom: 5em; width: 100%; }
.button-next .next{ padding: 0.2em 1em; font-size: 2em; }
#page4 .wallet .getPaid{ cursor: pointer; }
.wallet .walletTitle{ font-size: 2.125em; text-align: center; margin-top: 50%; }
#page4 .wallet .walletTitle { margin-top: 45%; margin-bottom: 0; }
.wallet .walletAmount{ font-size: 2.125em; text-align: center; margin-top: 0%; }
.wallet .walletTotalAmount{ font-size: 1.6em/*2.125em*/; text-align: center; margin-top: 31%; }
.wallet .walletMarquee{ font-size: 1.6875em; text-align: center; margin-top: 48%; width: 11.95em; overflow: hidden; height: 7.5em; position: relative; }
#page4 .wallet .walletMarquee{ margin-top: 0%; }
.wallet .walletMarquee::after{ content:""; position:absolute; height: 8em; width: 11.95em;}
.wallet .walletInfo .walletMoney { height: 1.5em; text-align:center; width: 11.95em; }
.walletInfo {
	display: block;
    position: absolute;
    width: 11.95em;
	/*animation: marquee 10s linear infinite;*/
}
.walletInfo.stop{ top: 0 !important; }
.wGlow {
	-webkit-animation: whiteGlow 3s infinite; /* Safari 4+ */
	-moz-animation: whiteGlow 3s infinite; /* Fx 5+ */
	-o-animation: whiteGlow 3s infinite; /* Opera 12+ */
	animation: whiteGlow 3s infinite; /* IE 10+, Fx 29+ */
}
.tooltip{ position: absolute; right: 8em;  bottom: 5.5em; font-size: 1.26em; width: 8.25em; height: 7.125em; z-index: 99; -webkit-animation:pulsate 3s infinite; -moz-animation:pulsate 3s infinite;    -o-animation:pulsate 3s infinite; animation:pulsate 3s infinite;  cursor: pointer;  }
.tip-definition{ font-size: 1.18em; width: 68%; padding-left: 3.5em; margin-top: 1.2em; }
.tooltipContent{ color: #000; width: 5.7em; padding: 1.5em; height: 4em; text-align: center; background: url("../img/bubble.png") no-repeat center /contain; }
.tooltipAvatar{ width: 11.0em; bottom: -7.8em; position: absolute; right: -8em; height: 13.5em; background: url("../img/character_3.png") no-repeat top center / cover; z-index: -9; -webkit-transform: scale(1, 1); -moz-transform: sscale(1, 1); -o-transform: scale(1, 1); transform: scale(1, 1); opacity: 1; }	
#page1 .tooltip{ right: 5em;  bottom: 9.1em; }
#page1 .tooltipAvatar{ bottom: -10.1em; right: -6.4em }
.tooltip.clicked, #page1 .tooltip.clicked,.getPaid.disabled{ -moz-animation-name: none;-webkit-animation-name: none;-ms-animation-name: none;animation-name: none; }

#page1 .content .problemCalculation .problemTop > div:first-child{ padding-left: 2%; padding-right: 18%; text-align: center; }

/*page2*/
#page2 .content{ width: 100%; }
#page2 .content .contentTitle{ text-align: center; margin-left: 0; }
.characterSelection{ position: absolute; bottom: 0; display: block; width: 100%; height: 70%;}
.character{ position: absolute; cursor: pointer; }
#character_1{	
	width: 12em;
	background:url('../img/character_1.png')  no-repeat center /contain;
	height: 32em;
	left: 2em;
}
#character_1:hover{ background:url('../img/character_1_h.png') no-repeat center /contain; }
#character_2{	
	width: 17.5em;
	background:url('../img/character_2.png')  no-repeat center /contain;
	height: 32.625em;
	left: 14em;
}
#character_2:hover{ background:url('../img/character_2_h.png') no-repeat center /contain; }
#character_3{	
	width: 13em;
	background:url('../img/character_3.png')  no-repeat center /contain;
	height: 32.625em;
	left: 31.5em;
}
#character_3:hover{ background:url('../img/character_3_h.png') no-repeat center /contain; }
#character_4{	
	width: 14em;
	background:url('../img/character_4.png')  no-repeat center /contain;
	height: 32.5em;
	right: 31em;
}
#character_4:hover{ background:url('../img/character_4_h.png') no-repeat center /contain; }
#character_5{	
	width: 15em;
	background:url('../img/character_5.png')  no-repeat center /contain;
	height: 32.25em;
	right: 16em;
}
#character_5:hover{ background:url('../img/character_5_h.png') no-repeat center /contain; }
#character_6{	
	width: 14em;
	background:url('../img/character_6.png')  no-repeat center /contain;
	height: 32.625em;
	right: 2em;
}
#character_6:hover{ background:url('../img/character_6_h.png') no-repeat center /contain; }

/*page3*/
#page3 .content{ width: 100%; }
#page3 .content .contentTitle {
    text-align: center; 
    font-size: 2em;
	margin: 0.3em;
    color: #000;
}
.levelSelection { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.level{ position: absolute; cursor: pointer; }
.level:not(.ui-droppable-disabled):not(.disabled){ -webkit-animation:level 2s infinite; -moz-animation:level 2s infinite;    -o-animation:level 2s infinite; animation:level 2s infinite; }
#level_1{ width: 55em; height: 18em; bottom: 0; left: 14em; border-top-left-radius: 15em; border-top-right-radius: 18em; background:url('../img/level_1.png') no-repeat center /contain; }
#level_1:not(.disabled):hover,#level_1.ui-droppable-disabled{ background:url('../img/level_1_h.png') no-repeat center /contain; }
#level_2{ width: 17.8em; height: 23em; bottom: 10.5em; right: 4em; border-top-left-radius: 18em; border-top-right-radius: 8em; border-bottom-left-radius: 15em; border-bottom-right-radius: 9em; background:url('../img/level_2.png') no-repeat center /contain;}
#level_2:not(.disabled):hover,#level_2.ui-droppable-disabled{ background:url('../img/level_2_h.png') no-repeat center /contain; }
#level_3{ width: 18.8em; height: 15em; top: 3.1em; right: 9em; border-top-left-radius: 4em; border-top-right-radius: 8em; border-bottom-left-radius: 10em; border-bottom-right-radius: 10em; background:url('../img/level_3.png') no-repeat center /contain;}
#level_3:not(.disabled):hover,#level_3.ui-droppable-disabled{ background:url('../img/level_3_h.png') no-repeat center /contain;}
#level_4{ width: 28em; height: 16em; top: 3.3em; left: 3em; border-top-left-radius: 56em; border-top-right-radius: 1em; border-bottom-left-radius: 19em; border-bottom-right-radius: 66em; background:url('../img/level_4.png') no-repeat center /contain;}
#level_4:not(.disabled):hover,#level_4.ui-droppable-disabled{ background:url('../img/level_4_h.png') no-repeat center /contain;}
#level_5{ width: 41em; height: 15.5em; top: 12.2em; left: 16.7em; border-top-left-radius: 88em; border-top-right-radius: 80em; border-bottom-left-radius: 0em; border-bottom-right-radius: 8em; transform: rotate(-2deg); background:url('../img/level_5.png') no-repeat center /contain;}
#level_5:not(.disabled):hover,#level_5.ui-droppable-disabled{ background:url('../img/level_5_h.png') no-repeat center /contain;}
.avatar.drag{ width: 6em; height: 12em; cursor: pointer; position: absolute; left: 4em; top: 37em; }
.droparea{ width: 6em; height: 12em; position: absolute; }
#level_1 .droparea{ left: 18em; top: 4em; }
#level_2 .droparea{ top: 8em; left: 0; }
#level_3 .droparea{ bottom: 0; left: 9em; }
#level_4 .droparea{ top: 5em; left: 4em; }
#level_5 .droparea{ top: 0em; left: 18em; }
.level.disabled{ opacity: 0.7; cursor: default; }
.level .complete{ display: none; font-size: 2.604375em; font-weight: bold; text-shadow: 0.15625em 0.270625em 0.4375em #000000; position: absolute; }
#level_1 .complete{ left: 8em; top: 4em; }
#level_2 .complete{ top: 4em; left: 0.5em; }
#level_3 .complete{ bottom: 2em; left: 0.5em; }
#level_4 .complete{ top: 2em; left: 2em; }
#level_5 .complete{ top: 2em; left: 5em; }
#page3 .content .contentTitle{ text-shadow: 0px 0px 0.3em #f00; }
/*page4*/
#page4 .content .contentTitle {
    color: #000;
    margin-top: 0.3em;
    font-size: 2.083125em;
    font-weight: bold;
}
#page4 .content .contentTitle.l_1,#page4 .content .contentTitle.l_4{ color: #fff; }
#page4 .content .options{ margin-top: 8.98em; margin-left: 6.7em; }
.optionContent { padding: 0.65em 0; }
#page4 .content .options .option{ cursor: pointer; }
#page4 .content .options .option .optCon{ position: absolute; }
#option_1 .optCon { width: 66%; left: 11%; }
#option_2 .optCon { width: 67%; right: 0%; }
#option_3 .optCon { width: 87%; left: 2%; }
#option_4 .optCon { width: 72%; left: 36%; }
#option_1 .optionImg{
	width: 8.1em;
	height: 9em;
	background:url('../img/option_1.png') no-repeat center /contain;
}
#option_2 .optionImg{
	width: 9.1em;
	height: 9em;
	background:url('../img/option_2.png') no-repeat -24px 12px /contain;
}
#option_3 .optionImg{
	width: 6.8em;
	height: 9em;
	background:url('../img/option_3.png') no-repeat center /contain;
}
#option_4 .optionImg{
	width: 8.5em;
	height: 9em;
	background:url('../img/option_4.png') no-repeat center /contain;
}
.option.l_1:not(.disabled):hover,.option.l_1.clicked{ color: #00A651; }
.option.l_2:not(.disabled):hover,.option.l_2.clicked{ color: #FCD33D; }
.option.l_3:not(.disabled):hover,.option.l_3.clicked{ color: #67B3E8; }
.option.l_4:not(.disabled):hover,.option.l_4.clicked{ color: #D45241; }
.option.l_5:not(.disabled):hover,.option.l_5.clicked{ color: #9C90DE; }
.video_close {
    color: #fff;
    font-size: 1.5em;
    z-index: 99999999;
    position: absolute;
    border: 0.0625em solid;
    border-radius: 100%;
    line-height: 1em;
    height: 1em;
    width: 1em;
    text-align: center;
    top: 6.5em;
    right: 19em;
	cursor: pointer;
	display: none;
	    box-shadow: 0 0 1em #fff;
}
.video_close img { width: 100%; }
.videoMask{
    position: absolute;
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 999;
    left: 0;
	display:none;
}
.l_1.video_close{background: #00A651; }
.l_2.video_close{background: #FCD33D; }
.l_3.video_close{background: #67B3E8; }
.l_4.video_close{background: #D45241; }
.l_5.video_close{background: #9C90DE; }
#option_1.l_1:not(.disabled):hover .optionImg,#option_1.l_1.clicked .optionImg{
	background:url('../img/level1_option_1.png') no-repeat center /contain;
}
#option_2.l_1:not(.disabled):hover .optionImg,#option_2.l_1.clicked .optionImg{
	background:url('../img/level1_option_2.png') no-repeat -24px 12px /contain;
}
#option_3.l_1:not(.disabled):hover .optionImg,#option_3.l_1.clicked .optionImg{
	background:url('../img/level1_option_3.png') no-repeat center /contain;
}
#option_4.l_1:not(.disabled):hover .optionImg,#option_4.l_1.clicked .optionImg{
	background:url('../img/level1_option_4.png') no-repeat center /contain;
}

#option_1.l_2:not(.disabled):hover .optionImg,#option_1.l_2.clicked .optionImg{
	background:url('../img/level2_option_1.png') no-repeat center /contain;
}
#option_2.l_2:not(.disabled):hover .optionImg,#option_2.l_2.clicked .optionImg{
	background:url('../img/level2_option_2.png') no-repeat -24px 12px /contain;
}
#option_3.l_2:not(.disabled):hover .optionImg,#option_3.l_2.clicked .optionImg{
	background:url('../img/level2_option_3.png') no-repeat center /contain;
}
#option_4.l_2:not(.disabled):hover .optionImg,#option_4.l_2.clicked .optionImg{
	background:url('../img/level2_option_4.png') no-repeat center /contain;
}

#option_1.l_3:not(.disabled):hover .optionImg,#option_1.l_3.clicked .optionImg{
	background:url('../img/level3_option_1.png') no-repeat center /contain;
}
#option_2.l_3:not(.disabled):hover .optionImg,#option_2.l_3.clicked .optionImg{
	background:url('../img/level3_option_2.png') no-repeat -24px 12px /contain;
}
#option_3.l_3:not(.disabled):hover .optionImg,#option_3.l_3.clicked .optionImg{
	background:url('../img/level3_option_3.png') no-repeat center /contain;
}
#option_4.l_3:not(.disabled):hover .optionImg,#option_4.l_3.clicked .optionImg{
	background:url('../img/level3_option_4.png') no-repeat center /contain;
}

#option_1.l_4:not(.disabled):hover .optionImg,#option_1.l_4.clicked .optionImg{
	background:url('../img/level4_option_1.png') no-repeat center /contain;
}
#option_2.l_4:not(.disabled):hover .optionImg,#option_2.l_4.clicked .optionImg{
	background:url('../img/level4_option_2.png') no-repeat -24px 12px /contain;
}
#option_3.l_4:not(.disabled):hover .optionImg,#option_3.l_4.clicked .optionImg{
	background:url('../img/level4_option_3.png') no-repeat center /contain;
}
#option_4.l_4:not(.disabled):hover .optionImg,#option_4.l_4.clicked .optionImg{
	background:url('../img/level4_option_4.png') no-repeat center /contain;
} 

#option_1.l_5:not(.disabled):hover .optionImg,#option_1.l_5.clicked .optionImg{
	background:url('../img/level5_option_1.png') no-repeat center /contain;
}
#option_2.l_5:not(.disabled):hover .optionImg,#option_2.l_5.clicked .optionImg{
	background:url('../img/level5_option_2.png') no-repeat -24px 12px /contain;
}
#option_3.l_5:not(.disabled):hover .optionImg,#option_3.l_5.clicked .optionImg{
	background:url('../img/level5_option_3.png') no-repeat center /contain;
}
#option_4.l_5:not(.disabled):hover .optionImg,#option_4.l_5.clicked .optionImg{
	background:url('../img/level5_option_4.png') no-repeat center /contain;
} 

#page4 .problemContainer{ margin-top: 4em; height: 12.3em; }
#page4 .content .problemCalculations{ width: 63%; }
.problemInfo{ font-size: 1.43em; font-weight: bold; margin-top: 0.5em; }
#page4 .content .problemCalculations .problemTop .problemQuestion{ font-size: 1.4em; }
#page4 .content .problemContainer{ color: #000; }
#page4 .content .problemCalculations > div{ padding: 0; }
#page4 .content .problemCalculations .problemTop{ padding: 0.5em 0; }
#page4 .content .problemCalculations .problemBottom{ display: table;  width: 100%; }
#page4 .content .problemCalculations .problemBottom > div{ display: table-cell; vertical-align: middle; }
#page4 .content .problemCalculations .problemBottom > div:first-child{ font-size: 2.03125em; font-weight: bold; width: 65%; }
#page4 .content .problemCalculations .problemBottom > div:last-child{ width: 35%; }
#page4 .content .problemCalculations .problemBottom > div:last-child button{ font-size: 1.221875em; outline: none; color: #fff;  padding: 0.5em 0.8em; cursor: pointer; }
#page4.l_1 .content .problemCalculations .problemBottom > div:last-child button{ background: #00A651; border: 1px solid #00A651; }
#page4.l_2 .content .problemCalculations .problemBottom > div:last-child button{ background: #FCD33D; border: 1px solid #FCD33D; }
#page4.l_3 .content .problemCalculations .problemBottom > div:last-child button{ background: #67B3E8; border: 1px solid #67B3E8; }
#page4.l_4 .content .problemCalculations .problemBottom > div:last-child button{ background: #D45241; border: 1px solid #D45241; }
#page4.l_5 .content .problemCalculations .problemBottom > div:last-child button{ background: #9C90DE; border: 1px solid #9C90DE; }

.problemDisplay > div { display: table-cell; vertical-align: middle; }
.problemDisplay > div:first-child { padding-right: 0.4em; }
.problemDisplay > div:last-child{ border-bottom: 0.12em solid #000; min-width: 1.8em; height: 1.5em; }
.needHelp,.mute{ font-size: 1.2325em; left: 6%; position: absolute; bottom: 0.6em; cursor: pointer; }
.mute{left: 10em; height: 2em; width: 2em; bottom: 0.35em; }
.mute img{ fill: #fff; width: 100%; height: 100%; }
#page4 h1.contentTitle.l_3{ color: #fff; }
#page4 .show-tip,#page4 .getPaid-tip{ display: none; height: 10em; margin-top: 4.9em; position: relative; width: 100%; }
#page4 .show-tip .tip-definition,
#page4 .getPaid-tip .tip-definition {
    width: 64.5%;
    display: table;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
	    margin-top: auto;
}
/*page5*/
#page5 .content{ width: 100%; }
#page5 .content h1{ font-size: 3.89125em; margin: 0.2em; text-align: center; }
#page5 .content .congrat-info{ font-size: 1.3625em; margin: 0.2em; text-align: center; }
#page5 .videos{ display: table; width: 95%; padding: 2.5%; margin-top: 5em; }
#page5 .videos > .video-container{ display: table-cell; width: 33.33%; text-align: center; padding: 2.5%; }

#page5 .videos > .video-container video{ width: 100%; height: auto; }
#page5 .content .videos > .video-container p{ font-size: 2.0em; margin: 0.2em; text-align: center; }
/*page6*/
#page6 .content, #page6 .certificate{ width: 50%; text-align: center;  }
#page6 .certificate{ right: 0; }
#page6 .certificate img,#page6 .content .congrat {
	    width: 90%;
	position: absolute;
  top: 50%;
  left: 50%; 
	    margin-top: 1.8em;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translateY(-50%, -50%);
}
#page6 .content h1{ font-size: 3.89125em; margin: 0.2em 0; }
#page6 .content .congrat-info{ font-size: 1.3625em; }
#page6 .content button{ font-size: 1.55375em; background: #F7941D; outline: 0;  border: 1px solid #F7941D; color: #fff; padding: 0.7em 0.5em; border-radius: 0.4em; cursor: pointer; margin-top: 2em; }	
.xmask{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background-color:#FFF;
    z-index:9999;
    display:none;
}
/*popup*/
#overlay {
    width: 100%;
    height: 100%;
    background-color: #fff;
    filter:alpha(opacity=10);
    -moz-opacity:0.1;
    -khtml-opacity: 0.1;
    opacity: 0.1;
    z-index: 99;
    position:absolute;
    top:0px;
}
#popup{
    background: #5DA63D;
    display: none;
    height: 22.3125em !important;
    left: 12em !important;
    position: absolute;
    text-align: center;
    bottom: 15.8em !important;
    width: 46.0625em !important;
    z-index: 999;
    color: #fff;
}
#need-popup{
    width: 100%;
    height: 100%;
    z-index: 99999;
    position: absolute;
	left: 0;
    top: 0;
	background: rgba(0, 0, 0, 0.5);
	 display: none;
}
#need-popup #popup_con{
    width: 75em;
    height: 42.375em;
    z-index: 999999;
    position: absolute;
	left: 7.5em;
    top: 4.1em;
}
#avatar-popup { width: 47.375em; height: 27em; position: absolute; z-index: 9999; bottom: 7.5em; left: 13em; display: none; }
#avatar-popup .popup-close{ position: absolute; right: -1em; top: -1em; background: url("../img/close.png") no-repeat top center / cover; width: 2.8125em; height: 2.8125em;  border-radius: 100%; cursor: pointer; z-index: 9999999; }
#need-popup .popup-close{ position: absolute; right: 7em; top: 2.8em; background: url("../img/close.png") no-repeat top center / cover; width: 2.8125em; height: 2.8125em;  border-radius: 100%; cursor: pointer; z-index: 9999999; }
#need-popup img, #avatar-popup img{ width: 100%; height: 100%; }
#popup.correct-popup{ background: url("../img/congratulations.png") no-repeat top center / cover; }
#popup.incorrect-popup{ background: #005952;}
#popup.congratulation-popup{ background: #2E3192;}
#popup .title{ font-size: 2.958125em; margin: 1.7em 0 0 0; font-weight: normal; } 
#popup .pop_con, #popup .pop_wrong{ font-size: 2.21875em; } 
#popup .pop_wrong{ font-style: italic; min-height: 1.2em; }
#popup .popup-close button, #page4 button.nextLevel, #popup .popup-close .playVideo{ font-size: 1.479375em;  background: #FBAF5D; outline: 0;  border: 1px solid #FBAF5D; color: #fff; padding: 0.5em 0.7em; border-radius: 0.4em; cursor: pointer; margin-top: 0.55em; display: inline-block; margin-left: 1em; margin-right: 1em; }/*2.55*/
#page4 button.nextLevel {
    z-index: 999;
    position: absolute;
    left: 19.5em;
    bottom: 5em;
	display: none;
}
#popup .popup-close .playVideo{ display: none; }
.pop_video{
	position: absolute;
    display: block;
    z-index: 99999;    
    top: 11.2em;
    width: 50em;
    height: 28.2em;
    left: 10em;
	opacity: 0;
	visibility: hidden;
}
#level0.pop_video{box-shadow: 0px 0px 1em #00A651; background: #00A651; }
#level1.pop_video{box-shadow: 0px 0px 1em #FCD33D; background: #FCD33D; }
#level2.pop_video{box-shadow: 0px 0px 1em #67B3E8; background: #67B3E8; }
#level3.pop_video{box-shadow: 0px 0px 1em #D45241; background: #D45241; }
#level4.pop_video{box-shadow: 0px 0px 1em #9C90DE; background: #9C90DE; }
@-webkit-keyframes whiteGlow {
	from { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
	50% { background-color: rgba(247, 148, 29, 0.5); -moz-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
	to { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
}
@-moz-keyframes whiteGlow {
	from { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
	50% { background-color: rgba(247, 148, 29, 0.5); -moz-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
	to { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
}
@-o-keyframes whiteGlow {
	from { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
	50% { background-color: rgba(247, 148, 29, 0.5); -moz-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
	to { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
}
@keyframes whiteGlow {
	from { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
	50% { background-color: rgba(247, 148, 29, 0.5); -moz-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
	to { background-color: rgba(247, 148, 29, 1); -moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);  box-shadow: 0 0 2px rgba(255, 255, 255, 0.5); }
}

@-webkit-keyframes level {
    0% { -webkit-transform: scale(0.98, 0.98); }
    50% { -webkit-transform: scale(1, 1);  }
    100% {-webkit-transform: scale(0.98, 0.98); }
}
@-moz-keyframes level {
    0% { -moz-transform: scale(0.98, 0.98); }
    50% { -moz-transform: scale(1, 1); }
    100% { -moz-transform: scale(0.98, 0.98); }
}
@-o-keyframes level {
    0% { -o-transform: scale(0.98, 0.98); }
    50% { -o-transform: scale(1, 1); }
    100% { -o-transform: scale(0.98, 0.98); }
}
@keyframes level {
    0% { transform: scale(0.98, 0.98); }
    50% { transform: scale(1, 1); }
    100% { transform: scale(0.98, 0.98); }
}

@-webkit-keyframes pulsate {
    0% { -webkit-transform: scale(1, 1); opacity: 1.0; }
    50% { -webkit-transform: scale(0.9, 0.9); opacity: 0.5; }
    100% {-webkit-transform: scale(1, 1); opacity: 1.0; }
}
@-moz-keyframes pulsate {
    0% { -moz-transform: scale(1, 1); opacity: 1.0; }
    50% { -moz-transform: scale(0.9, 0.9); opacity: 0.5; }
    100% { -moz-transform: scale(1, 1); opacity: 1.0; }
}
@-o-keyframes pulsate {
    0% { -o-transform: scale(1, 1); opacity: 1.0; }
    50% { -o-transform: scale(0.9, 0.9); opacity: 0.5; }
    100% { -o-transform: scale(1, 1); opacity: 1.0; }
}
@keyframes pulsate {
    0% { transform: scale(1, 1); opacity: 1.0; }
    50% { transform: scale(0.9, 0.9); opacity: 0.5; }
    100% { transform: scale(1, 1); opacity: 1.0; }
}

@-webkit-keyframes marquee {
    0% { top: 0; }
	100% { top: -100%; }
}
@-moz-keyframes marquee {
    0% { top: 0; }
	100% { top: -100%; }
}
@-o-keyframes marquee {
    0% { top: 0; }
	100% { top: -100%; }
}
@keyframes marquee {
    0% { top: 0; }
	100% { top: -100%; }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
