

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


.leftAligned {
    text-align: left;
    margin-top: -15px;
}

.centered {
    text-align: center;
}

#jumbotron {
    box-shadow: 0px 2px 10px 3px #444 !important;
}

.jumbotron {
    background: rgba(235,235,235,1); 
/*    background: -moz-linear-gradient(bottom right, rgba(8,8,8,1) 0%, rgba(0,47,98,1) 2%, rgba(0,29,60,1) 100%);  
    background: -webkit-linear-gradient(left top, rgba(8,8,8,1) 0%,rgba(0,47,98,1) 2%,rgba(0,29,60,1) 100%);  
    background: linear-gradient(to bottom right, rgba(140,140,140,1) 0%,rgba(150,150,150,1) 15%,rgba(170,170,170,1) 25%,rgba(242,242,242,1) 100%);  
	background: linear-gradient(to bottom right, rgba(125,125,125,1) 0%,rgba(150,150,150,1) 15%,rgba(175,175,175,1) 25%,rgba(222,222,222,1) 100%);  
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFC20F', endColorstr='#E99301',GradientType=1 );*/
    
    width: 100%;
    padding-left: 0px !important;
    padding-right: 0px !important;	
	height: 100%;
}

.jumboContent {
    position: relative;
}


.col-md-4 {
    padding: 10px !important;
}

.gameCard {
    background-color: red;
    
    background: rgba(201,201,201, 0.75); /* Old browsers */
/*    background: -moz-linear-gradient(bottom right, rgba(255,8,8,1) 0%, rgba(0,47,98,1) 2%, rgba(0,29,60,1) 100%);  FF3.6-15 
    background: -webkit-linear-gradient(left top, rgba(8,8,8,1) 0%,rgba(0,47,98,1) 2%,rgba(0,29,60,1) 100%);  Chrome10-25,Safari5.1-6 
    background: linear-gradient(to bottom right, rgba(245,245,245,1) 0%,rgba(240,240,240,1) 15%,rgba(245,245,245,1) 25%,rgba(255,255,255,1) 100%);  W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFC20F', endColorstr='#E99301',GradientType=1 );
    */
    box-shadow: 0px 1px 2px 1px #333;
    /*border-radius: 1.5em;*/
}

.gameCard:hover {
    box-shadow: 0px 5px 10px 5px #444;
}

.innerGameCard {
    padding: 25px !important;
}


h2 {
    color: #C9C9C9;
    text-shadow: -1px 0 #777 !important;
    background: #333;
    width: 100%;
    position: relative;
    display: block;
    padding: 10px;
    top: 20px;
    margin-bottom: 20px;
}

body {
    overflow-x: hidden !important;
	overflow-y: hidden !important;
}

.btn-default {
    color: #ccc !important;
    text-shadow: -1px 0 #555 !important;
    background-image: -webkit-linear-gradient(top,#333 0,#222 100%) !important;
    background-image: -o-linear-gradient(top,#333 0,#222 100%) !important;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#333),to(#222)) !important;
    background-image: linear-gradient(to bottom,#333 0,#222 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff333333', endColorstr='#ff222222', GradientType=0) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
    background-repeat: repeat-x !important;
    border-color: #777 !important;
    border-radius: 0.25em !important;
}

.btn-default:hover {
    color: #ccc !important;
    text-shadow: -1px 0 #777 !important;
    background-image: -webkit-linear-gradient(top,#222 0,#222 100%) !important;
    background-image: -o-linear-gradient(top,#222 0,#222 100%) !important;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#222),to(#222)) !important;
    background-image: linear-gradient(to bottom,#222 0,#222 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff222222', GradientType=0) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
    background-repeat: repeat-x !important;
    border-color: #777 !important;
    background-position: 0 0px !important;
}

.btn-default:active {
    color: #ccc !important;
    text-shadow: 0 0px 0 #777 !important;
    background-position: 0 0px !important;
}

.btn-default:focus {
    color: #ccc !important;
    text-shadow: 0 0px 0 #777 !important;
    background-position: 0 0px !important;
}

canvas {
    margin-left: 0px !important;
}

p {
    text-shadow: -1px 0 #bbb !important;
}


@media screen and (min-width: 770px) {
    .fontBorder {
        text-shadow: -1px 0 #585858 !important;
    }
}

.footerText {
    color: #333 !important;
    text-shadow: -1px 0 #eee !important;
}

.playBgGameBtn {
    text-shadow: -1px 0 rgba(0,0,0,.2) !important;
	position: relative;
	width: 94px;
	top: 0px;
	padding: 0px;
	margin-top: 4px;
	margin-bottom: 2px;
}

.playBgGameBtn2 {
    text-shadow: -1px 0 rgba(0,0,0,.2) !important;
	position: relative;
	width: 94px;
	top: 0px;
	padding: 0px;
	margin-top: 4px;
	margin-bottom: 2px;
}

@media screen and (min-width: 770px) {
    .playBgGameBtn {
		padding: 0px;
	}
	.playBgGameBtn2 {
		padding: 0px;
	}
	#playBgGameBtnWeekly {
		padding: 0px !important;
	}
}

.ui-loader > h1 {
    font-size: 0pt;
}

#timeScore {
    width: 300px !important;
}

#timeLayer {
	background-color: #242424;
	color: #C3C3C3;
	width: 100px;
	text-align: center;
	font-size: 10pt;
	padding-top: 7px;
	border: 1px solid #080808;
	border-radius: 0 10px 0 0;
	bottom: -1px;
	box-shadow: 1px -1px 3px 1px rgba(25, 25, 25, 0.5);
}

#scoreLayer {
	background-color: #242424;
	color: #C3C3C3;
	width: 100px;
	text-align: center;
	font-size: 10pt;
	padding-top: 7px;
	border: 1px solid #080808;
	border-radius: 10px 0 0 0;
	bottom: -1px;
	box-shadow: -1px -1px 3px 1px rgba(25, 25, 25, 0.5);
}

.hitanim {
	animation-name: redBg;
    animation-duration: 1s;
}

@keyframes redBg {
	0% {background-color: #EE1F1A;}
	25% {background-color: #EE1F1A;}
	72% {background-color: #930E0B;}
	84% {background-color: #4E0705;}
	92% {background-color: #3F1814;}
	96% {background-color: #2F2524;}
	100% {background-color: #222625;}
}

.levelupanim {
	animation-name: yellowBg;
    animation-duration: 1s;
}

@keyframes yellowBg {
	0% {background-color: #F5FC0C; color: #242424}
	25% {background-color: #F5FC0C; color: #242424}
	72% {background-color: #CCD110; color: #242424}
	84% {background-color: #4B4E05; color: #242424}
	92% {background-color: #3E4013; color: #242424}
	96% {background-color: #2F2524; color: #C3C3C3}
	100% {background-color: #303023; color: #C3C3C3}
}

nav {
	/*box-shadow: 0px 1px 10px 0px rgba(25, 25, 25, 0.5);*/
	overflow-x: hidden !important;
}

#playArrows {
	position: relative;
	animation-name: arrowsMove;
    animation-duration: 1500ms;
	animation-iteration-count: infinite;
}

@keyframes arrowsMove {
	0% {left: 0px}
	10% {left: 1px}
	20% {left: 2px}
	30% {left: 3px}
	40% {left: 4px}
	50% {left: 5px}
	60% {left: 4px}
	70% {left: 3px}
	80% {left: 2px}
	90% {left: 1px}
	100% {left: 0px}
}

.timg {
	/*background-size: 42px 42px;*/
	background-position: center center;
	background-repeat: no-repeat;
}

#loadingHeader {
/*	background-image: url('../img/logo_1.png');
	background-size: contain;
	background-repeat: no-repeat;*/
}

#keyboardCtrl {
	background-image: url('../img/keyb.png');
	background-repeat: no-repeat;
	background-size: cover;
	width: 200px;
	height: 80px;
	border: 2px solid #aaaaaa;
}

.confused {
	background-position-x: 8px !important;
}

.toi {
	background-position-x: -40px !important;
	background-position-y: 3px !important;
}

.untoi {
	background-position-x: 4px !important;
	background-position-y: 3px !important;
}

.playToi {
	animation-name: playWarning;
    animation-duration: 1200ms;
	animation-iteration-count: infinite;
}

@keyframes playWarning {
	0% {opacity: 0}
	10% {opacity: 0.3}
	20% {opacity: 0.75}
	30% {opacity: 0.9}
	40% {opacity: 0.95}
	50% {opacity: 1}
	60% {opacity: 0.95}
	70% {opacity: 0.9}
	80% {opacity: 0.75}
	90% {opacity: 0.45}
	100% {opacity: 0.2}
}


html, body {
	height: 100%;
}

canvas {
/*	background-image: url('../img/anim.gif');
	background-repeat: no-repeat;
	background-repeat:no-repeat;
	background-position: center center;
	background-attachment:fixed;*/
}

#jumbotron {
/*	background: black;
	background-image: url('../img/space.png');
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
	background-position-x: 50%;
	-moz-background-position-x: 50%;
	background-attachment:fixed;*/
}

.finalScore {
	background-color: rgba(55, 55, 55, 1);
	color: rgba(235, 235, 235, 0.9);
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 3px;
	padding-bottom: 2px;
	font-weight: bold;
	position: absolute;
	text-align: center;
	width: 100px;
	font-size: 9pt;
}



.finalScoreValue {
	background-color: rgba(0, 0, 0, 0.75);
	padding-right: 0px;
	padding-left: 0px;
	height: 15px;
}

.levelScore {
	background-color: rgba(55, 55, 55, 1);
	color: rgba(235, 235, 235, 0.9);
	padding-left: 2px;
	padding-right: 2px;
	padding-top: 3px;
	padding-bottom: 2px;
	font-weight: bold;
	text-align: center;
	width: 100px;
	font-size: 9pt;
	float: left;
	margin-bottom: 5px;
	left: -10px;
}

.darkGreen {
	color: #59EA35;
}

.green {
	color: #73AC73;
}

.red {
	color: #ED9F30;
}

.darkRed {
	color: #ED3434;
}

.btn-accept {
    background-image: -webkit-linear-gradient(top,#ED3434 0,#940000 100%);
    background-image: -o-linear-gradient(top,#ED34347 0,#940000 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#ED3434),to(#940000));
    background-image: linear-gradient(to bottom,#ED3434 0,#940000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffED3434', endColorstr='#ff940000', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #840000;
	color: white;
}

.btn-accept:hover {
	background-color: #840000;
	color: white;
}

.btn-accept:focus, .btn-accept:active {
	background-color: #840000;
	color: white;
}

.btn-play {
    background-image: -webkit-linear-gradient(top,#337ab7 0,#265a88 100%);
    background-image: -o-linear-gradient(top,#337ab7 0,#265a88 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));
    background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #245580;
	color: white;
}

.btn-play:hover {
	background-color: #245580;
	color: white;
}

.btn-play:focus, .btn-play:active {
	background-color: #245580;
	color: white;
}

.logolAnim {
	animation-name: logolAnimation;
    animation-duration: 1s;
	animation-iteration-count: infinite;
}

@keyframes logolAnimation {
	0% {left: 0px}
	10% {left: 1px}
	20% {left: 2px}
	30% {left: 3px}
	40% {left: 4px}
	50% {left: 5px}
	60% {left: 4px}
	70% {left: 3px}
	80% {left: 2px}
	90% {left: 1px}
	100% {left: 0px}
}

.animateLoading {
	animation-name: loadingAnimation;
    animation-duration: 100ms;
	animation-iteration-count: infinite;
}

@keyframes loadingAnimation {
	0% {opacity: 1}
/*	10% {opacity: 0.8}
	20% {opacity: 0.6}
	30% {opacity: 0.4}
	40% {opacity: 0.2}
	50% {opacity: 0.0}
	60% {opacity: 0.2}
	70% {opacity: 0.4}
	80% {opacity: 0.6}
	90% {opacity: 0.8}*/
	100% {opacity: 1}
}


.logorAnim {
	animation-name: logorAnimation;
    animation-duration: 1s;
	animation-iteration-count: infinite;
}

@keyframes logorAnimation {
	0% {opacity: 1}
	10% {opacity: 0.8}
	20% {opacity: 0.6}
	30% {opacity: 0.4}
	40% {opacity: 0.2}
	50% {opacity: 0.0}
	60% {opacity: 0.2}
	70% {opacity: 0.4}
	80% {opacity: 0.6}
	90% {opacity: 0.8}
	100% {opacity: 1}
}

.btn {
	height: 21px;
}

.fullBlock {
	border-radius: 4px;
	background-color: rgba(0,0,0,0) !important;
	margin-left: -5px;
	margin-top: 1px;
}

.leftBlock {
	border-radius: 0 4px 4px 0;
}

.rightBlock {
	border-radius: 4px 0 0 4px;
}

.topBlock {
	border-radius: 0 0 4px 4px;
}

.finalScoreValue {
	border-radius: 4px 4px 4px 4px;
}

.mobileHint {
	background-repeat: no-repeat;
    background-position: center 0%; 
}

.mobileHint2 {
	background-repeat: no-repeat;
    background-position: center center; 
}

.mobileHint3 {
	background-repeat: no-repeat;
    background-position: center 20%; 
}

* {
	user-select: none;
	-moz-user-select: none;
	cursor: default;
}

@media screen and (orientation:portrait) { 
	#rotation {
		display: block;
		opacity: 1;
	}
}
@media screen and (orientation:landscape) { 
	#rotation {
		display: none;
		opacity: 0;
	}
}

#sound, #robo {
	background-image: -webkit-linear-gradient(top,#bbb 0,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3 100%) !important;
    background-image: -o-linear-gradient(top,#bbb 0,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3 100%) !important;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#bbb),to(#f3f3f3),to(#f3f3f3),to(#f3f3f3),to(#f3f3f3),to(#f3f3f3),to(#f3f3f3),to(#f3f3f3)) !important;
    background-image: linear-gradient(to bottom,#bbb 0,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3,#f3f3f3 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbbbbbb', endColorstr='#fff3f3f3', GradientType=0) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
}

#sound :hover {
	cursor: pointer;
}

#robo :hover {
	cursor: pointer;
}

.robo_h1 { background-position: -0px 6px; width: 42px; height: 32px; }
.robo_h2a { background-position: -42px 6px; width: 42px; height: 32px; }
.robo_h2b { background-position: -84px 6px; width: 42px; height: 32px; }
.robo_h3 { background-position: -0px -28px; width: 42px; height: 32px; }
.robo_n { background-position: -42px -28px; width: 42px; height: 32px; }
.robo_off { background-position: -84px -28px; width: 42px; height: 32px; }
.robo_w1 { background-position: -0px -61px; width: 42px; height: 32px; }
.robo_w2 { background-position: -42px -61px; width: 42px; height: 32px; }
.robo_w3 { background-position: -84px -61px; width: 42px; height: 32px; }

.soundon {
	background-position: 3px 4px;
}

.soundoff {
	background-position: -32px 4px;
}

#roboTxt {
  width: 260px;  
  height: 40px;
  line-height: 40px;  
  font-size: 14pt;
  border: 2px solid #333;
  margin:0 auto;  
  -webkit-border-radius: 5px;  
  -moz-border-radius: 5px;  
  border-radius: 5px;
  text-align: center;  
  background: #ddd;
  margin-top: 20px;
}

#roboTxt:before {  
  content: ' ';  
  position: absolute;  
  width: 0;  
  height: 0;  
  left: 18px;  
  top: -30px;  
  border: 15px solid;  
  border-color: transparent transparent #333 #333;  
  z-index: 999999999;
  }
  
#roboTxt:after {  
  content: ' ';  
  position: absolute;  
  width: 0;  
  height: 0;  
  left: 20px;  
  top: -25px;  
  border: 13px solid;  
  border-color: transparent transparent #ddd #ddd;  
  z-index: 999999999;
  }  

#mobileCtrl {
	background-image: url('../img/ctrlm.png');
}

#mobileBrake {
	background-image: url('../img/brakem.png'); 
}

#logoc {
	display: inline-block;
}
#logocb {
	display: none;
}

#playBgGameBtnWeekly {
	/*top: 178px;*/
	margin-top: 0px !important;
	left: 294px !important;
}

.gameTitle {
	font-size: 24pt;
	text-shadow: none !important;
}

@media screen and (min-width: 770px) { 
	#roboFrame {
		background-image: url('../img/robo_sprite_bl_a3.png') !important;
	}
	#mobileCtrl {
	}

	#mobileBrake {
	}
	
	#logocb {
		display: inline-block;
	}
	#logoc {
		display: none;
	}
	#playBgGameBtnWeekly {
		/*top: 176px !important;*/
	}
	.gameTitle {
		font-size: 72pt !important;
	}
	
	#sound {
		left: 160px !important;
	}
	
	#robo {
		left: 204px !important;
	}
}

.acc {
	background: -moz-linear-gradient(bottom top, rgba(0,121,0,1) 0%, rgba(204,0,0,1) 100%);  
    background: -webkit-linear-gradient(bottom top, rgba(0,121,0,1) 0%, rgba(204,0,0,1) 100%);  
    background: linear-gradient(to bottom, rgba(0,121,0,1) 0%, rgba(204,0,0,1) 100%);  
	background: linear-gradient(to bottom, rgba(0,121,0,1) 0%, rgba(204,0,0,1) 100%);  
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CC0100', endColorstr='#007900',GradientType=1 );	
}

.belowZero {
	background: -moz-linear-gradient(bottom top, rgba(204,0,0,1) 0%, rgba(94,0,0,1) 100%);  
    background: -webkit-linear-gradient(bottom top, rgba(204,0,0,1) 0%, rgba(94,0,0,1) 100%);  
    background: linear-gradient(to bottom, rgba(204,0,0,1) 0%, rgba(94,0,0,1) 100%);  
	background: linear-gradient(to bottom, rgba(204,0,0,1) 0%, rgba(94,0,0,1) 100%);  
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5E0000', endColorstr='#CC0100',GradientType=1 );	
}

.slow {
	background: -moz-linear-gradient(bottom top, rgba(145,145,145,1) 0%, rgba(77,77,77,1) 100%);  
    background: -webkit-linear-gradient(bottom top, rgba(145,145,145,1) 0%, rgba(77,77,77,1) 100%);  
    background: linear-gradient(to bottom, rgba(145,145,145,1) 0%, rgba(77,77,77,1) 100%);  
	background: linear-gradient(to bottom, rgba(145,145,145,1) 0%, rgba(77,77,77,1) 100%);  
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4D4D4D', endColorstr='#919191',GradientType=1 );	
}

.fast {
	background: -moz-linear-gradient(bottom top, rgba(0,121,0,1) 0%, rgba(0,57,0,1) 100%);  
    background: -webkit-linear-gradient(bottom top, rgba(0,121,0,1) 0%, rgba(0,57,0,1) 100%);  
    background: linear-gradient(to bottom, rgba(0,121,0,1) 0%, rgba(0,57,0,1) 100%);  
	background: linear-gradient(to bottom, rgba(0,121,0,1) 0%, rgba(0,57,0,1) 100%);  
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003900', endColorstr='#007900',GradientType=1 );	
}

.veryFast {
	background: -moz-linear-gradient(bottom top, rgba(0,170,0,1) 0%, rgba(0,25,0,1) 100%);  
    background: -webkit-linear-gradient(bottom top, rgba(0,170,0,1) 0%, rgba(0,25,0,1) 100%);  
    background: linear-gradient(to bottom, rgba(0,170,0,1) 0%, rgba(0,25,0,1) 100%);  
	background: linear-gradient(to bottom, rgba(0,170,0,1) 0%, rgba(0,25,0,1) 100%);  
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001900', endColorstr='#00aa00',GradientType=1 );	
}

#seasonScore {
	
	height: 20px;
	color: #fefefe;
	width: 400px !important;
	margin-top: -32px !important;
	margin-left: -10px !important;
}

.ssName {
	width: 140px;
	text-align: left !important;
}

.ssTh {
	background: #000;
	text-align: center;
	height: 24px;
}

.ssTd {
	background: #111;
	width: 14px;
	text-align: center;
	color: #333;
	height: 20px;
	line-height: 20px;
	vertical-align: bottom;
	font-size: 9pt;
}

.rowLine {
	border-top: 1px solid #333;
}

.lightColor {
	color: #ddd;
}

.darkColor {
	color: #111;
}

.bold {
	font-weight: bold;
}

.ssDark {
	background: #222;
}

.ssLight {
	background: #111;
}

.ssDark2 {
	background: #222;
}

.ssFirst {
	background: rgba(241, 168, 29, 0.75);
}

.ssFirstDark {
	background: rgba(241, 168, 29, 1);
}

.ssFirstLight {
	background: rgba(241, 168, 29, 0.5);
}

.ssFirstDark2 {
	background: rgba(241, 168, 29, 1);
}

.ssSecond {
	background: rgba(190, 190, 190, 0.75);
}

.ssSecondDark {
	background: rgba(190, 190, 190, 1);
}

.ssSecondLight {
	background: rgba(190, 190, 190, 0.5);
}

.ssSecondDark2 {
	background: rgba(190, 190, 190, 1);
}

.ssThird {
	background: rgba(201, 107, 64, 0.75);
}

.ssThirdDark {
	background: rgba(201, 107, 64, 1);
}

.ssThirdLight {
	background: rgba(201, 107, 64, 0.5);
}

.ssThirdDark2 {
	background: rgba(201, 107, 64, 1);
}

.ssRndAll {
	border-radius: 0px;
}

.ssRndUp {
	border-radius: 0px 5px 0px 0px;
}

.ssRndUpL {
	border-radius: 5px 0px 0px 0px;
}

.ssRndDown {
	border-radius: 0px 0px 5px 0px;
}

.ssRndDownL {
	border-radius: 0px 0px 0px 5px;
}

.entry {
	display: block;
	float: left;
	width: 126px;
	padding: 2px;
}

#y8logo {
	background-image: url('../img/banner.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	width: 60px;
	height: 60px;
}





















