

body{
	margin: 0;
	border-width: 0; 
	height: 100%;
	font-family: 'Ubuntu', sans-serif;
}

#splashscreen, #game, #bg-game-results{
	position:relative;
	z-index: 2;
	border-style: solid none none none;
    border-width: 1px;
	border-color:#eaeaea;
	box-shadow: 0px 1px 2px rgba(0,0,0,0.23);
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background: #f9f9f9;
}

#splashscreen, #game{
	margin: 0 auto; 
}

.before-anything-loaded {
    animation:         rotation 1s infinite linear; /* IE 10+, Fx 29+ */
    -webkit-animation: rotation 1s infinite linear;
    width: 100px;
    height: 100px;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

@keyframes rotation {
    from { transform: rotate(0deg);}
    to   { transform: rotate(359deg);}
}

@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to   {-webkit-transform: rotate(359deg);}
}

@keyframes infinite-spinning {
	from {transform: rotate(0deg);}
	to {transform: rotate(360deg);}
}

.game-thumbnail{
	height:100%;
	padding:0;
}

.flex-column{
	display: -webkit-flex;
    display: -ms-flexbox; 
    display: flex;
	
	-webkit-box-orient:vertical;
	-webkit-box-direction:normal;
	-webkit-flex-direction:column;
	-ms-flex-direction:column;
	flex-direction:column;
				
	 -webkit-box-pack:space around;
	-webkit-justify-content: space-around;
	-ms-flex-pack: distribute;
	justify-content: space-around;
				
	-webkit-box-align:center;
	-webkit-align-items:center;
	-ms-flex-align:center;
	align-items:center;
}

.flex-row{
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
				
	 -webkit-box-pack:space around;
	-webkit-justify-content: space-around;
	-ms-flex-pack: distribute;
	justify-content: space-around;

	-webkit-box-align:center;
	-webkit-align-items:center;
	-ms-flex-align:center;
	align-items:center;
}

#progress-wrap-wrapper{
	height:100%;
}

#splash-prev, #splash-next{
	background:none;
	border:none;
	font-size:2em;
	color:#fff;
	z-index: 9;
}

#splash-prev:focus, #splash-next:focus{
	background:none;
	border:none;
	outline:none;
}

#splash-prev{
	position:absolute;
	left:1em;
	top:0.35em;
}
#splash-next{
	position:absolute;
	right:1em;
	top:0.35em;
}

.splashscreen-top-part{
	height: 75%;
    overflow: hidden;
}

.splashscreen-bottom-part{
	border: 1px solid #dadada;
    border-width: 1px 0 0 0;
	
	background-color:#F9F6F1;
	height:25%;
}

.splash-tabs{
    box-shadow: 0 3px 3px rgba(0,0,0,.05);
    z-index:9999;
    display: inline-block;
    cursor: pointer;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

.splash-tab{
	display:none;
	height: 88%;
	padding:0;
}
.splash-tab.active{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.statistic{
	font-weight: 600;
	color: #7d2985;
}

.slider-titles, .slider-contents{
	width: 100%;
}

.slider-text{
	font-size: 1.2em;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

@media only screen and (min-width : 469px) {
	.slider-text.improvement-text{
		font-size: 1.5em;
		text-align: justify;
	}
}
@media only screen and (max-width : 468px) {
	.slider-text.improvement-text{
		font-size: 1.2em;
		text-align: justify;
	}
}

.slider-text ul{
	padding: 0;
}

.splash-description-content{
    text-align:center;
}

.slider-contents{
	height: 100%;
}

.slider-content{
	background-image: url("/img/splashscreen_4_0/subtle_freckles.png");
}

.slick-list, .slick-track, .slider-content{
	height:100%;
}

.slider-title-wrapper{
	background-color: #7D2985;
	color:#fff;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.sliderPrevArrow, .sliderNextArrow, .slick-dots{
	display:inline-block;
	margin:0;
	padding: 0;
}

.sliderPrevArrow, .sliderNextArrow{
	cursor: pointer;
	transform: translateY(-60%);
    cursor: pointer;
    font-size: 1.5em;
	padding: 0 5px 0 5px;
}

.loading-game-title{
	font-size: 2em;
	font-weight: 700;
}

/*PROGRESS BAR AREA*/

#start-game-button{
	/* font-size:1.7em;
	-webkit-align-self:center;
	    -ms-flex-item-align:center;
	        align-self:center; */
}

#progress-wrap-wrapper{
	-webkit-align-self:center;
	    -ms-flex-item-align:center;
	        align-self:center;
	height: 10px;
}

.progress {
	width: 100%;
	height: 10px;
}

.progress-wrap {
	background: #812b8a;
	position:relative;
	width:50%;
	overflow: hidden;
	margin:0 auto;
}
.progress-bar {
    background: #ddd;
    position: relative;
}

/*  BUTTON */

.button {
	margin: 0 auto;	
	padding: 0.4em 0.8em;
	background: -webkit-linear-gradient(#f47906, #f47906); /* For Safari 5.1 to 6.0 */ /* For Opera 11.1 to 12.0 */ /* For Firefox 3.6 to 15 */
	background: linear-gradient(#f47906, #f47906); /* Standard syntax */
	
	background-color: #f47906;
	border: none;
	color: #fff;
	font-size: 1.3em;
	text-align: center;
	box-shadow: 0 3px 3px rgba(0,0,0,.23);
	border-radius: 2px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	
	display: inline-block;
	
	cursor: pointer;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	text-decoration: none;
	
	-webkit-font-smoothing: antialiased;

	
	-webkit-transition-property: -webkit-transform;
	 
	
	 -ms-transform: scale(1,1);
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
	transition-property: transform;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	white-space: normal;
			
	backface-visibility: hidden;
    transform: translateZ(0);
    
	word-wrap: break-word;
}

#OnResume{
    background: -webkit-linear-gradient(#fff, #f9f9f9); /* For Safari 5.1 to 6.0 */ /* For Opera 11.1 to 12.0 */ /* For Firefox 3.6 to 15 */
	background: linear-gradient(#fff, #f9f9f9); /* Standard syntax */
}

.button:hover{
	 -ms-transform: scale(1.05,1.05);
    -webkit-transform: scale(1.05,1.05); 
    transform: scale(1.05,1.05);
	text-decoration: none;
	color: #fff;
    
    background: -webkit-linear-gradient(#F19036, #F18621); /* For Safari 5.1 to 6.0 */ /* For Opera 11.1 to 12.0 */ /* For Firefox 3.6 to 15 */
	background: linear-gradient(#F19036, #F18621); /* Standard syntax */
	background-color: #f47906;
    
	-ms-transform: scale(1.02,1.02);
    -webkit-transform: scale(1.02,1.02);
    transform: scale(1.02,1.02);
}

.button:active {
	box-shadow: none;
	background: -webkit-linear-gradient(#f47906, #f47906); /* For Safari 5.1 to 6.0 */ /* For Opera 11.1 to 12.0 */ /* For Firefox 3.6 to 15 */
	background: linear-gradient(#f47906, #f47906); /* Standard syntax */
	background-color: #f47906;
	
	-ms-transform: scale(0.98,0.98);
    -webkit-transform: scale(0.98,0.98);
    transform: scale(0.98,0.98);
	-webkit-box-shadow: inset 0 1px 4px rgba(2,2,2,.72);
	-moz-box-shadow: inset 0 1px 4px rgba(2,2,2,.72);
	box-shadow: inset 0 1px 4px rgba(2,2,2,.72);
	
	text-decoration: none;
	color: #fff;
}

.button:focus {
	text-decoration: none;
	color: #fff;
}


.loading-splash-icon{
	font-size: 1.5em;
    
}

.svg-loader{
	height: 2em;
	padding: 0;
	animation:         rotation 1s infinite linear; /* IE 10+, Fx 29+ */
	-webkit-animation: rotation 1s infinite linear;
}

#floatMenu{
	z-index: 1;
	margin:0 auto;
	
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
}

.floatIMG{
	margin: 0 auto;
}

.floatButton{
	margin-left: 0.2em;
	height: 1.7em;
	width: 2em;
	overflow:hidden;
	font-size:1.5em;
	border: none;
	box-shadow: 0px 1px 2px rgba(0,0,0,0.23);
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background: #f9f9f9;
	
	cursor: pointer;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	text-decoration: none;
	
	text-align:center;
	
	-webkit-transition-property: width;
	
	transition-property: width;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

.floatButton img{
	width: 1.5em;
}

.floatButton.disabled{
	background-color: #eeeeee;
	cursor: default;
}

.show-on-hover{
	display:none;
}

.floatButton.hovered{
	width: 12em;
}

.floatButton.hovered .show-on-hover{
	display:inline;
}

#results{
	height: 100%;
	width: 100%;
}

.resultData{
	font-size: 2em;
}

.game-thumbnail{
	border: 1px solid #dadada;
    border-width: 0  0 0 1px;
}



/* MENU */

#game-menu{
	height:100%;
}

#game-menu-header{
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	height:15%;
	background-color: #7D2985;
	color:#fff;
}

#game-menu-header h4{
	font-size: 1.5em;
	color:#fff;
}

#game-menu-buttons{
	height: 85%;
	font-size:1em;
	padding-top:4em;
	padding-bottom:8em;
}

.popUpWindowButton{
	font-size:1.5em;
}

#confirmationBox{
	height: 100%;
}

#confirmationBoxHeader{
	font-size:1.5em;
	width:80%;
	text-align:center;
	margin:0 auto;
	margin-top:2em;
	margin-bottom:2em;
}

.confirmation-buttons{
	margin-top:1.5em;
	margin-bottom: 1.5em;
}

#game-menu-button-tiles{
	height: 80%;
}

.menu-tile h4{
	font-size: 1.5em;
	font-weight: 400;
	text-align:center;
}

.menu-tile{
	width: 30%;
	height: 0;
	padding-bottom: 30%;
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(47%, rgba(246,246,246,1)), color-stop(100%, rgba(249,249,249,1)));
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(249,249,249,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(249,249,249,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9', GradientType=0 );	box-shadow: 0px 2px 2px rgba(0,0,0,0.23);
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
			
	cursor: pointer;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	text-decoration: none;
	
	-webkit-transition-property: -webkit-transform;
	transition-property: transform;
	-webkit-transition-duration: 0.2s;
	transition-duration: 0.2s;
	-webkit-transition-timing-function: cubic-bezier(0, 0.33, 0.02, 2.37);
	transition-timing-function: cubic-bezier(0, 0.33, 0.02, 2.37);
}


.menu-tile:hover{
	 -ms-transform: scale(1.05,1.05);
    -webkit-transform: scale(1.05,1.05); 
    transform: scale(1.05,1.05);
	text-decoration: none;
}

.menu-tile:active{
	box-shadow: none;
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(249,249,249,1)), color-stop(53%, rgba(246,246,246,1)), color-stop(100%, rgba(255,255,255,1)));
	background: -webkit-linear-gradient(top, rgba(249,249,249,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(249,249,249,1) 0%, rgba(246,246,246,1) 53%, rgba(255,255,255,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#ffffff', GradientType=0 );
	
	 -ms-transform: scale(1,1); /* IE 9 */
    -webkit-transform: scale(1,1); /* Safari */
    transform: scale(1,1);
	
	text-decoration: none;
	box-shadow: inset 0px 0px 6px 0px rgba(0,0,0,0.23);
}

.menu-tile:focus{
	text-decoration: none;
}

.restart-tutorial-icon{
	width: 60%;
	height:0;
	padding-bottom:60%;
	margin:0 auto;
	margin-top:1.5em;
	background: url(/img/instructions-icon.png) no-repeat ;
	background-size: contain;
	background-position: center center;
}

.tutorial-video-icon{
	width: 60%;
	height:0;
	padding-bottom:60%;
	margin:0 auto;
	margin-top:1.5em;
	background: url(/img/instructions-video-icon.png) no-repeat ;
	background-size: contain;
	background-position: center center;
}

.restart-game-icon{
	width: 60%;
	height:0;
	padding-bottom:60%;
	margin:0 auto;
	margin-top:1.5em;
	background: url(/img/restart-game-icon.png) no-repeat ;
	background-size: contain;
	background-position: center center;
}

 /* Popover */
.game-popover {
    background-color: #7D2985;
	color:#fff;
}

.popover.left>.game-popover-arrow:after {
	border-left-color: #7D2985;
}
.popover.top>.game-popover-arrow:after {
	border-top-color: #7D2985;
}
.popover.bottom>.game-popover-arrow:after {
	border-bottom-color: #7D2985;
}
.popover.right>.game-popover-arrow:after {
	border-right-color: #7D2985;
}

/* Popover Header */
.game-popover .popover-title {
    font-size: 20px;
	background-color: #7D2985;
	color:#fff;
    text-align:center;
}

/* Popover Body */
.game-popover .popover-content {
	background-color: #7D2985;
	color:#fff;
	 text-align:center;
}

/* Popover Arrow */
.game-popover-arrow{
    border-right-color: #7D2985!important;
}

.savingscore-message{
	text-align:center;
	font-size: 2em;
}

/*      ADS       */

.game-screen-ad{
    display:none;
}

.game-screen-ad[data-adslot="left"] , .game-screen-ad[data-adslot="right"]{
    min-width:120px;
    min-height:120px;
    position:absolute;
    top:70px;
    max-width: 160px;
}

.game-screen-ad[data-adslot="top"]{
    min-height: 80px;
}

/*   ENDOF ADS    */

.dashboardNavActive {
    background: none;
	color: #812b8a;
	font-weight:600;
    border-bottom: solid 4px #812b8a;
    cursor: default;
}
.dashboardNav {
	padding: 0.5em 0;
	background: none;
    font-size: 1em;
    cursor: pointer;
    text-align: center;
}
.dashboardResultNav{
	padding: 0.5em 0;
	background: none;
	font-size: 20px;
    cursor: pointer;
    text-align: center;
}

.splashscreen-top-part .splash-tabs .dashboardNav:hover{
	border-bottom: solid 4px #812b8a;
}


/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	.button {
		padding: 0.2em 0.8em;
	}
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
	
}

#splashscreen{
	height: calc(100vmin - 150px);
	width: calc(100vmin - 150px);
}
#game{
	height: calc(100vmin - 150px);
	width: calc(100vmin - 150px);
}
#braingymmer-game{
	height: 100%;
	width: 100%;
}
#floatMenu{
	width: calc(100vmin - 150px);
}

@media (max-width : 480px) {
	#splashscreen{
		height: calc(100vmin);
		width: calc(100vmin);
	}
	#game{
		height: calc(100vmin);
		width: calc(100vmin);
	}
	#floatMenu{
		width: calc(100vmin);
	}
}
@media (max-height: 480px){
	#splashscreen{
		height: calc(100vmin - 100px);
		width: calc(100vmin - 100px);
	}
	#game{
		height: calc(100vmin - 100px);
		width: calc(100vmin - 100px);
	}
	#floatMenu{
		width: calc(100vmin - 100px);
	}
}

@media (max-width : 1200px) {
	#splashscreen, #game, #floatMenu, #confirmationBox{
		font-size: 1.4em;
	}
	h3{
		font-size: 2.1em;
	}
}
@media (max-width : 992px) {
	#splashscreen, #game, #floatMenu, #confirmationBox{
		font-size: 1.2em;
	}
	h3{
		font-size: 1.8em;
	}
}
@media (max-width : 768px) {
	#splashscreen, #game, #floatMenu, #confirmationBox{
		font-size: 1em;
	}
	h3{
		font-size: 1.5em;
	}
}
@media (max-width : 480px) {
	#splashscreen, #game, #floatMenu, #confirmationBox{
		font-size: 0.75em;
	}
	h3{
		font-size: 1.125em;
	}
}
@media (max-width : 340px) {
	#splashscreen, #game, #floatMenu, #confirmationBox{
		font-size: 0.54em;
	}
	h3{
		font-size: 0.81em;
	}
}
#startButtonarea{
	text-align: center;
}

/* .gamewindow-xs{
	font-size: 0.54em;
}
 .gamewindow-sm{
	 font-size: 0.75em; 
}
.gamewindow-md{
	 font-size: 1em;
}
.gamewindow-lg{
	 font-size: 1.2em;
}

.gamewindow-xlg{
	 font-size: 1.4em;
}

.gamewindow-xxlg{
	 font-size: 1.6em;
}

.gamewindow-xxxlg{
	 font-size: 1.8em;
}

.gamewindow-xxxxlg{
	 font-size: 2em;
} */