html, body {
	overflow-x: hidden;
}
body {
	margin: 0;
	padding: 0 0 0 0;
	color: #000;
	background-color: black !important;
	text-align: center;
	position: relative;
	overflow-y: visible !important; /* Ensures scrolling down for mobile devices within GameArter */
	/* height: auto !important; */
}

/* For GameArter conflict */
*, *:before, *:after {
	box-sizing: unset !important;
}

#ga_game {
    position: relative;
}

.ui-btn {
	line-height: 1.15;
    font-size: 16px;
}

.ui-header h1 {
	color: #FFF;
}
/*    *********           */

#start {
	background-image: url(Splash_Loading.png);
	background-size: 100%;
	-webkit-background-size: 100%;
	position: relative;
	width: 320px;
	margin: 0 auto;
}

#startSpin {
  background: url(spinner.gif) no-repeat center bottom;
  width:100%;
  height:71%;
}

.copyright {
	color: #DDDDFF;
	font: italic bold 10px Verdana, Geneva, Arial, Helvetica, sans-serif;
}

#menuBtn{
	font-size: 16px !important;
	margin: 0 0 0 10px;
	color: white;
}

#otherGameBtn {
	width: 200px; 
	margin: 0px auto
}

.grayButton {
	text-decoration: none;
	display:block;
	font-weight:bold;
	line-height: 1.15; /* For GameArter conflict */
	padding:10px;
	text-align:center;
	text-decoration:inherit;
	-webkit-border-radius:8px;
	border-radius:8px;
	background-image:none;
	background-color:#444;
	background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6a6a6a), color-stop(50%, #515151), color-stop(51%, #444444), color-stop(100%, #373737));
	background-image:-webkit-linear-gradient(top, #6a6a6a,#515151 50%,#444444 51%,#373737);
	background-image:linear-gradient(top, #6a6a6a,#515151 50%,#444444 51%,#373737);
	color:white;text-shadow:#2b2b2b 0 -1px 0;
}

.tableText {
	font-family: "Helvetica Neue", Sans-Serif;
	text-shadow: 0 1px 0 #999;
	font-size: 18px;
	line-height: 1.15; /* For GameArter conflict */
}

.cardIm {
	overflow: hidden;
	position: absolute;
	left: 0;
	top: 0;
	display: none;
    cursor: pointer;
	transform: translate3d(0,0,0);  /* Force GPU Acceleration */
}

.cardst_1 {
	background: transparent url(Cards_1.png) no-repeat 0px 0px;
}

.cardst_2 {
	background: transparent url(Cards_2.png) no-repeat 0px 0px;
}

.cardst_3 {
	background: transparent url(Cards_3.png) no-repeat 0px 0px;
}

.cardStyleBg1 {
	background: transparent url(CardStyle_1.png) no-repeat 0px 0px;
}

.cardStyleBg2 {
	background: transparent url(CardStyle_2.png) no-repeat 0px 0px;
}

.cardStyleBg3 {
	background: transparent url(CardStyle_3.png) no-repeat 0px 0px;
}

.cardStyleIm {
    width: 65px;
    height: 46px;
	display: block;
	position: relative;
    margin: 0 auto;
}

.bgStyleIm {
	width: 48px;
	height: 50px;
	margin: 0 auto;
}

.bgStyle_1 {
	background-image: url(bg_1.png);
}

.bgStyle_2 {
	background-image: url(bg_2.png);
}

.bgStyle_3 {
	background-image: url(bg_3.png);
}

.bgStyle_4 {
	background-image: url(bg_4.png);
}

.rectColor {
	background-color:#405273;
	background-image:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #506283), color-stop(50%, #405273), color-stop(51%, #305263), color-stop(100%, #305263));
	background-image:-webkit-linear-gradient(top, #506283,#405273 50%,#305263 51%,#373737);
	background-image:linear-gradient(top, #506283,#405273 50%,#305263 51%,#373737);
}

#mainScreen {
}

#swDBG {
	font-size: 15px;
	text-align: center;
}

#swBox {
	text-align: center;
    -webkit-border-radius: 10px;
    background-color: rgba(255,255,255,1);
	font: bold 16px Geneva, Arial, Helvetica, sans-serif;
    margin: 0 auto;
    position: absolute;
    text-align: center;
    top: 120px;
    width: 200px;
    box-shadow: 0 0 7px black;
}

.active {
  opacity: 1;
  margin-top: 5px;
  -webkit-transition: all 0.2s ease;
  -moz-transition:    all 0.2s ease;
  -ms-transition:     all 0.2s ease;
  -o-transition:      all 0.2s ease;
}

#cpuSc, #humSc {
	/* font: bold 16px Geneva, Arial, Helvetica, sans-serif; */
	font: bold 16px "Helvetica Neue", Arial, Sans-Serif;
	white-space: nowrap;
	color: #220088;
}

div.scl {
	text-align: right;
	float: left;
	margin-right: 8px;
}

div#version {
	position: absolute;
	font-size: 9px;
	font-weight: bold;
	color: #fff;
	font-family: "Arial Black", Gadget, sans-serif;
	text-shadow: 0 1px 0 #999;
}

div#externContainer {
	position: absolute;
}

div#wait {
    background-color: rgba(0,0,100,.5);
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 80px;
    margin: 0 auto;
    position: absolute;
    text-align: center;
    left: 60px;
    top: 120px;
    width: 200px;
    height: 80px;
	z-index: 999999;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.adBx {
	display:box;
	width:320px;
	height:50px;
	background-image: url(Rich_Apps_320.png);
}

#game {
	/* background: black !important; */
}

#game > div {
	padding: 0px !important;
	/* background-color: black; */
}

.ui-body-c#game {
	position: relative;
	background: transparent;
	background-color: transparent;
}

.STLogo {
	background-image: url(STLogo150.png);
	width: 150px;
	height: 56px;
	margin: 0 auto 20px auto;
}

.RALogo {
	background-image: url(Rich_Apps_320.png);
	width: 320px;
	height: 50px;
}

#about {
	position: relative;
	text-align: center;
/*	height: 550px;
	min-height: 550px !important; */
	transform: translate3d(0,0,0);  /* Force GPU Acceleration */
	background: #feffff; /* Old browsers */
	background: -webkit-linear-gradient(top, #a0d8ef 0%,#ddf1f9 35%,#feffff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #a0d8ef 0%,#ddf1f9 35%,#feffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	line-height: 1.15;
    font-size: 16px;
}

#about .toolbar h1 {
	font-size: 18px;
}

#about .info {
	font-size: 14px;
}

#about .url {
	text-decoration: underline;
	color: #0000CC;
	cursor: pointer;
}

#about .reloadBtn, #about .instructBtn {
	cursor: pointer;
	margin: 6px auto 0 auto !important;
	width: 200px;
}

#about .resumeBtn {
	cursor: pointer;
	margin: 0px auto 0px auto !important;
	width: 200px;
}

#about .exitBtn {
	cursor: pointer;
	margin: 6 auto 0 auto;
	width: 200px;
	display: none;
}

#about #settingsBtn2 {
	cursor: pointer;
	margin: 6px auto 0px auto !important;
	width: 200px;
}

.tinybtn {
    display: inline;
    background-color: #777;
    border: none;
    color: #fff !important;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
	-moz-transform: scale3d(0.9,0.9,0.9);
    -webkit-transform: scale(0.9,0.9,0.9);
    text-shadow: 1px 1px #666;
	font-size: 15px; 
	line-height: 1.15; /* For GameArter conflict */
	padding: 2px 10px;
	text-decoration: none;
}
.tinybtn:hover {
    background-color: #888;
}
.tinybtn:active {
    background-position: 0 top;
    position: relative;
    top: 1px;
    padding: 3px 10px 1px;
}

#settings {
	text-align: left;
	font-size: 16px;
	position: relative;
/*	height: 550px;
	min-height: 550px !important; */
	transform: translate3d(0,0,0);  /* Force GPU Acceleration */
}	
	
#settingsBtn {
	margin-right: 10px !important;
	padding: 1px 7px 1px 5px !important;
}

#bgStyleLbl {
	font-size: 16px;
	line-height: 30px;
}

#slider1, #slider2 {
	width: 60px;
}

#mobileUI {
	width: 320px;
	margin: 0px auto;
	position: relative;
	visibility: hidden; 
	background-color: transparent;
/*	background: #000000 no-repeat center top !important; */
	/* background-image: url("images/SDLogoBanner.png") !important; /* fallback */
	/* background-image: url("images/SDLogoBanner.png"), linear-gradient(#000000, #3c3c3c) !important; /* W3C */
	padding-top: 0px; /* Hide the Logo Banner until the UI initializes so we can see the Splash Screen */
}

.in, .out {
    -webkit-animation-fill-mode: none !important;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-duration: 350ms !important;
}

.animStyle {
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transform: translate3d(0,0,0);
    /* try instead -->  -webkit-transform: translateZ(0); */
}

.breathe {
    -webkit-animation: breathing 0.5s ease-out infinite normal;
    animation: breathing 0.5s ease-out infinite normal;
    -webkit-font-smoothing: antialiased;
}

@-webkit-keyframes breathing {
  0% {
    -webkit-transform: scale3d(1.10,1.10,1);
    transform: scale3d(1.10,1.10,1);
  }

  25% {
    -webkit-transform: scale3d(0.8,0.8,1);
    transform: scale3d(0.8,0.8,1);
  }

  60% {
    -webkit-transform: scale3d(1.10,1.10,1);
    transform: scale3d(1.10,1.10,1);
  }

  100% {
    -webkit-transform: scale3d(1.10,1.10,1);
    transform: scale3d(1.10,1.10,1);
  }
}

@keyframes breathing {
  0% {
    -webkit-transform: scale3d(1.10,1.10,1);;
    -ms-transform: scale3d(1.10,1.10,1);
    transform: scale3d(1.10,1.10,1);
  }

  25% {
    -webkit-transform: scale3d(0.8,0.8,1);
    -ms-transform: scale3d(0.8,0.8,1);
    transform: scale3d(0.8,0.8,1);
  }

  60% {
    -webkit-transform: scale3d(1.10,1.10,1);
    -ms-transform: scale3d(1.10,1.10,1);
    transform: scale3d(1.10,1.10,1);
  }

  100% {
    -webkit-transform: scale3d(1.1,1.1,1);
    -ms-transform: scale3d(1.1,1.1,1);
    transform: scale3d(1.1,1.1,1);
  }
}
