/*global*/
* {
	margin: 0;
	padding: 0;
	font-family: arial;
}

/* flex-box */
.flex-container {
    display: flex
}

.flex-column {
    flex-direction: column
}

.flex-row {
    flex-direction: row
}

.flex-wrap {
    flex-wrap: wrap
}

.center-content {
    justify-content: center
}

.flex-align-center {
	align-items: center;
}
/* ------------------------->>> */

.centered {
	position: relative;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	text-align: center;
}
.img-responsive{
	max-width: 100%;
	height: auto;
	display: block;
}
.mgt10{
	margin-top: 10px;
}
.mgb25{
	margin-bottom: 25px;
}


#header{
	width: 100%;
    max-width: 1200px;
    margin: auto;
}
/*clear the header outline*/
#header *{
	outline: none;
}
#headerContent img{
	width: 100%;
	height:100%;
}

/* header style */
div.logo {
    position: relative;
    right: 50px;
    width: 239px;
    min-height: 117px;
    background: url(./resources/logo.png) center/cover no-repeat
}

div.fb-section {
    position: relative;
    right: 35px;
    width: 111px;
    padding: 14px
}

div.fb-like {
    margin: auto
}

div.fb-app-invite {
    width: 111px;
    height: 42px;
    cursor: pointer;
    background: url(./resources/invite_btn_regular.png) center/contain no-repeat, url(./resources/invite_btn_over.png)
}

div.fb-app-invite:hover {
    background: url(./resources/invite_btn_over.png) center/contain no-repeat
}


div.store {
	flex: auto;
	z-index:10;
}

img.store-header-text {
    width: 230px;
    margin: 0 auto
}

.store-btn {
    margin: auto 8px
}

.app-store {
    width: 44px;
    height: 44px;
    background: url(./resources/icon_apple_regular.png) center/contain no-repeat, url(./resources/icon_apple_over.png)
}

.app-store:hover {
    background: url(./resources/icon_apple_over.png) center/contain no-repeat
}

.google-play {
    width: 44px;
    height: 44px;
    background: url(./resources/icon_google_regular.png) center/contain no-repeat, url(./resources/icon_google_over.png)
}

.google-play:hover {
    background: url(./resources/icon_google_over.png) center/contain no-repeat
}

.package-box-container {
    min-width: 390px;
}

/* ------------------------------------ */


.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-top-color: transparent;
	border-right-color: transparent;
	border-bottom-color: transparent;
	border-left-color: transparent;
	border-radius: 4px;
}
.btn-primary:hover {
	color: #fff;
	background-color: #286090;
	border-color: #204d74;
}
.btn.focus, .btn:focus, .btn:hover {
	color: #333;
	text-decoration: none;
}
.btn-primary {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
}


/*background*/
img.bg {
	/* Set rules to fill background */
	min-height: 100%;
	min-width: 800px;

	/* Set up proportionate scaling */
	width: 100%;
	height: auto;

	/* Set up positioning */
	position: fixed;
	top: 0;
	left: 0;
}
@media screen and (max-width: 800px) { /* Specific to this particular image */
	img.bg {
		left: 50%;
		margin-left: -400px;   /* 50% */
	}
}


/*game*/
canvas {
	position: relative;
	width: 100%;
	height: 100%;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	text-align: center;
}

#gameContainer{
	display: none;
	margin: auto !important;
	top:10px;
}


/*loading*/
div#loadingBox {
	background: url("resources/loading 16-9.png") no-repeat;
	background-size: 100% 100%;
	position: relative;
	z-index: 100;
	margin: auto !important;
	top: 10px;
}

div#progressBar {
	display: none;
	background: url("resources/loading_bar.png") no-repeat;
	background-size: 100% 100%;
	height: 55px;
	width: 290px;
	top: 88.5%;
}
div#fillContainer{
	position: relative;
	width: 0;
	max-width: 270px;
	height: 22px;
	top: 17px;
	left: 10px;
}
div#barFill {
	background: url("resources/loading_fill.png") no-repeat;
	background-size: 100% 100%;
	height: 100%;
}
span#loadingPercent {
	position: absolute;
	width: 50px;
	color: white;
	top: 20px;
	z-index: 2;
}

#massageText {
	display: none;
	padding: 8px;
	width: 730px;
	top: 88%;
	color: white;
	line-height: 30px;
	font-size: 15px;
	border-radius: 20px;
}

#massageText a {
	color: white;
}

.footer {
	width: 100%;
	height: 45px;
	margin-top: 25px;
}
.footerLinks {
	width: 360px;
	font-size: 16px;
	color: white;
}
.footerLinks.centered a {
	color: white;
	text-decoration: none;
}
.footerText {
	width: 420px;
	font-size: 16px;
	color: #7b7b7b;
}

#initBox {
	display: none;
	justify-content: space-between;
	width: 238px;
	position: absolute;
	top: 20px;
	color: white;
	z-index: 10;
	font-size: 15px;
}

/*media query*/
@media (max-width: 1170px){
}
@media (max-width: 970px) {
}
@media (max-width: 750px) {
}

/* Loading animation*/

.lds-spinner {
	color: official;
	display: inline-block;
	position: absolute;
	width: 25px;
	height: 25px;
	top: -4px;
	right: 32px;
}
.lds-spinner div {
	transform-origin: 32px 32px;
	animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
	content: " ";
	display: block;
	position: absolute;
	top: 21px;
	left: 31px;
	width: 2px;
	height: 4px;
	border-radius: 20%;
	background: #fff;
}
.lds-spinner div:nth-child(1) {
	transform: rotate(0deg);
	animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
	transform: rotate(30deg);
	animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
	transform: rotate(60deg);
	animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
	transform: rotate(90deg);
	animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
	transform: rotate(120deg);
	animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
	transform: rotate(150deg);
	animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
	transform: rotate(180deg);
	animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
	transform: rotate(210deg);
	animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
	transform: rotate(240deg);
	animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
	transform: rotate(270deg);
	animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
	transform: rotate(300deg);
	animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
	transform: rotate(330deg);
	animation-delay: 0s;
}
@keyframes lds-spinner {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
