/* CSS Document */
body{margin: 0px; padding:0; font-size:12px; color:#666; font-family:Verdana, Geneva, sans-serif;}
dl,dt,dd,ul,li,h1,h2,form,input,textarea,p,td,h4,h3{padding:0;margin:0;}
ul,dl{list-style:none;}
img{ vertical-align:top;border:0;}
.clear{clear:both}
.left{float:left}
.right{float:right;}

#loadingmoregames{ width:100%;text-align:center;padding:10px;box-sizing:border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;}

.foot{height:40px;width:100%;min-width:240px;line-height:40px;color:#fff;clear:both;overflow:hidden;text-align:center;background:#012F47;}
 .foot  a{ color:#fff; text-decoration:none;}

#backToTop {
    width:60px;
    height:50px;
    position:fixed;
    bottom:50px;
    right:10px;
	display:none;
	background:url(/assets/images/backtotop.png);
	cursor:pointer;
}

body { margin:0;padding:0;width:100%;height:100%;overflow:auto;background-color:#dff3ff;}
#footad{position:static;width:100%;height:300px;text-align:center;z-index:100;padding-top:0px; bottom:0;}
html {overflow-y: scroll;}

#TheGameDiv{
	position:absolute;
	z-index:1;
	top:0;
	width:100%;
	height:100%;
	margin:auto;
	background-color: #dff3ff;
	display:none;
}

#adsContainer{
	position:relative;
	top:0;
	bottom: 0;
	right: 0;
	left:0;
	width:100%;
	height:100%;
	z-index:1000;
	text-align:center;
	background-color:#004060;
	overflow: hidden;
}
#adTitle {
    height: 290px;
	margin-top:30px;
    position: relative;
    text-align: center;
}
#adTitle img{
	border-radius:10px;
	width:160px;
}
#adTitle .titleText {
    vertical-align: middle;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color:#FFF;
	font-size:16px;
	line-height:26px;
}
#adTitle .titleText .GameNameText{
    vertical-align: middle;
    color:#FFF;
	font-size:18px;
	line-height:45px;
	width:100%;
	margin-bottom:10px;
	height:45px;
	overflow:hidden;
	background:linear-gradient(to right,rgba(30,87,153,0) 0,rgba(0,0,0,.3) 50%,rgba(125,185,232,0) 100%);
}
#adTitle .titleText button{
    display: inline-block;
    background: #99c506;
	margin:-10px 0 50px 0;
    padding: 10px 20px;
    border-radius: 10px;
    border: 3px solid #fff;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}
#adContainer_logo {
	display:none;
}
#adContainer {
    position: absolute;
	text-align:left;
	left: 0;
    top:0;
    width:100%;
    height:100%;
	display:none;
}
#videoElement {
	width: 0;
	height: 0
}

#SetToFullScreen{
	height: 22px;
	width: 22px;
	padding-top:8px;
}
#SetToFullScreen2{
	position: absolute;
	height: 20px;
	width: 20px;
	left: 5px;
	top: 5px;
}



#header {
    position: fixed;
    z-index: 2;
    width: 100vw;
    height: 52px;
    background: #009cff;
    top: 0;
    left: 0;
}

.header-container {
    height: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 0 15px;
	text-align:center;
}

.E {
    padding: 0;
    border: 0;
    background: 0;
}
.Dh {
    height: 52px;
    margin-left: -15px;
    padding: 0 15px;
}


.E svg {
	display: block;
	width: 30px;
	height: 30px;
	fill: #fff
}

.E rect {
	pointer-events: none;
	-webkit-transform-origin: 50%;
	-ms-transform-origin: 50%;
	transform-origin: 50%;
	transition: opacity .2s ease-out .2s,-webkit-transform .2s ease-in-out;
	transition: opacity .2s ease-out .2s,transform .2s ease-in-out;
	transition: opacity .2s ease-out .2s,transform .2s ease-in-out,-webkit-transform .2s ease-in-out
}

.E:focus {
	outline: 0
}

.E.F svg rect {
	transition: opacity .1s ease-out,-webkit-transform .2s ease-in-out .1s;
	transition: opacity .1s ease-out,transform .2s ease-in-out .1s;
	transition: opacity .1s ease-out,transform .2s ease-in-out .1s,-webkit-transform .2s ease-in-out .1s
}

.E.F svg :first-child,.E.F svg :nth-child(4) {
	opacity: 0
}

.E.F svg :nth-child(2) {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg)
}

.E.F svg :nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg)
}
/**PLAY**/

.menu-panel {
    display: none;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 5;
    top: 0;
    left: 0;
    width: 190px;
    background: #dff3ff;
	position:fixed;
}
.menu-panel:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(90deg,transparent,rgba(0,0,0,.1));
}
.DX {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    border-radius: 0 5px 5px 0;
    background: #009cff;
}

.DY {
    display: block;
    height: 52px;
    padding: 0 15px;
}


.Dj {
    display: none;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 5;
    top: 0;
    left: 0;
    width: 60vw;
    height: 500px;
    background: #dff3ff;
	position:absolute;
}

.Dl {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    height: 52px;
    background: #009cff;
}
.Dn {
	width: 34px;
	height: 100%;
	padding: 0 15px;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460.3 460.3' fill='%23fff'%3E%3Cpath d='M230 121L66 256.2v1c-.2.3-.2.6-.2.8v137c0 5 1.8 9.3 5.4 13 3.6 3.5 8 5.3 12.8 5.3h109.6V303.7h73v109.6h109.7c5 0 9.2-1.8 12.8-5.4 3.7-3.7 5.5-8 5.5-13V258c0-.8 0-1.3-.3-1.7L230.2 121zm227 104.4l-62.4-52V57c0-2.7-1-5-2.6-6.6-1.7-1.7-4-2.6-6.6-2.6h-54.8c-2.7 0-5 1-6.6 2.6-1.7 1.7-2.6 4-2.6 6.6v55.7l-69.7-58.2c-6-5-13.3-7.4-21.7-7.4-8.4 0-15.6 2.6-21.7 7.5l-205 171c-2 1.4-3 3.5-3.2 6 0 2.6.6 4.8 2 6.7l17.8 21c1.5 1.8 3.5 3 6 3.2 2.3.2 4.6-.5 7-2L230 95.8l197.7 164.7c1.5 1.3 3.5 2 6 2h1c2.4-.4 4.4-1.4 6-3l17.6-21.2c1.5-2 2.2-4 2-6.7-.2-2.6-1.3-4.6-3.2-6.2z'/%3E%3C/svg%3E") no-repeat 50%/34px auto;
	text-indent: -999em
}

.Dn,.Do {
	display: inline-block;
	vertical-align: middle
}

.Do {
	content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64' fill='%23fff'%3E%3Cpath d='M55 46V18a1 1 0 0 0-1-1H10a1 1 0 0 0-1 1v28a1 1 0 0 0 1 1h44a1 1 0 0 0 1-1z'/%3E%3Cpath d='M2 27a1 1 0 0 0 1-1V11h15a1 1 0 1 0 0-2H2a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1zM62 9H46a1 1 0 1 0 0 2h15v15a1 1 0 1 0 2 0V10a1 1 0 0 0-1-1zM62 37a1 1 0 0 0-1 1v15H46a1 1 0 1 0 0 2h16a1 1 0 0 0 1-1V38a1 1 0 0 0-1-1zM2 55h16a1 1 0 1 0 0-2H3V38a1 1 0 1 0-2 0v16a1 1 0 0 0 1 1z'/%3E%3C/svg%3E");
	width: 40px;
	height: 40px
}


.Au {
    -webkit-transform: translateX(80vw);
    -ms-transform: translateX(80vw);
    transform: translateX(80vw);
	opacity: 1;
}


.btn_right {
    -webkit-transform: translateX(180px);
    -ms-transform: translateX(180px);
    transform: translateX(180px);
}

.pop-menu-section {
	padding:10px;
	overflow: auto;
}

.side-footer {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    height: 52px;
    background: #009cff;
}

.side-footer .logo {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 74px;
    height: 35px;
    margin: 0 0 0 -37px;
    background-image: url(http://img.poki.com/logo-poki.svg);
    text-indent: -999em;
}

.side-container {
	padding:10px;
	overflow: auto;
	height:408px;
}

/******/

#main-container {
    width: 100%;
    text-align: center;
    font-size: 0px;
    margin: 0 auto;
	margin-top:55px;
}

.game-item {
    margin: 3px;
    display: inline-block;
    *zoom: 1;
    background: #fff;
    _overflow: hidden;
    position: relative;
	text-align:center;
}

.game-item img {
    width: 78px;
    height: 78px;
    border: solid #fff 2px;
}

@media screen and (min-width: 769px) {
	.game-item img {
		width: 128px;
		height: 128px;
	}
	.Dj {
		width: 306px;
	}
	.Au {
		-webkit-transform: translateX(306px);
		-ms-transform: translateX(306px);
		transform: translateX(306px);
	}

}

@media screen and (max-width: 768px) and (min-width: 376px) {
	.game-item img {
		width: 98px;
		height: 98px;
	}
	.Dj {
		width: 246px;
	}
	.Au {
		-webkit-transform: translateX(246px);
		-ms-transform: translateX(246px);
		transform: translateX(246px);
	}
}

@media screen and (max-width: 375px) {
	.game-item img {
		width: 78px;
		height: 78px;
	}

	.Dj {
		width: 206px;
	}
	.Au {
		-webkit-transform: translateX(206px);
		-ms-transform: translateX(206px);
		transform: translateX(206px);
	}
	
}


#PopMenuDiv{position:absolute;width:180px;left:0px;top:52px;z-index:1000;text-align:left;display:none;}
#PopMeneUL{}
#PopMeneUL li {width:100%; height:32px; line-height:32px; font-size:14px; overflow:hidden;  border-top: #FFF 1px solid;background: #009cff; padding: 3px 0 3px 10px; color: #fff;}
#PopMeneUL li.selected {background: #012F47;}
#PopMeneUL li.selected a{color:#FDB504;}
#PopMeneUL li a{ text-decoration: none; color:#FFF;}
#PopMeneUL li img{padding:0 5px 0 0;width:30px;}


/***detail ***/
#main{
	width:680px;
	margin: 20px auto;
	background-color:#1db3ec;
	margin-top:55px;
	overflow:hidden;
}
.box{
	float:left;
	width:50%;
	margin:0;
	padding:0;
	background-color: #1db3ec;
	text-align:center;
}
.thumb-box{
	text-align:center;
}
.ad{
	max-height:310px;
	height:auto;
}

.game-title{
	text-align:left;
	margin-left:10px;
}

.ad2{
	max-height:310px;
	height:auto;
}

.game-desc{
    font-size: 14px;
    max-height: 168px;
    overflow: hidden;
	text-align:left;
	margin-left:10px;
}

.detail-infobox-thumb {
    display: inline-block;
    margin: 20px auto;
    margin-bottom: 0;
    width: 200px;
    border: solid 2px #fff;
    border-radius: 6px;
}

.pt10{
	padding:10px;
}

.ml30 {
	margin-left30px;
}

@media screen and (min-width:680px) { 
	
	.game-box{
		height:286px;
	}
}

@media screen and (max-width:680px) { 
	#main{
		width:100%;
		margin: 20px auto;
		margin-top:55px;
		background-color:#1db3ec;
	}
	.box{
		width:100%;
	}
	.game-desc{
		max-height: 168px;
	}
	

	.game-box{
		max-height:286px;
	}

	.game-thumb{
		display:none;
	}

	
}

.detail-infobox-btn {
	display: inline-block;
	padding: 5px 10px;
	font-size: 22px;
	color: #fff;
	min-width: 135px;
	text-align: center;
	border-radius: 4px;
	margin-top: 25px;
	background: #6dd829;
	text-transform: uppercase;
	margin-right: 10px;
	text-decoration:none;
}

.detail-infobox-btn:hover {
	text-decoration: none;
	background: #57c511
}


/******/
.search-layout {
    z-index: 1001;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #dff3ff;
    position: fixed;
    transform: translateZ(100px);
	text-align: center;
    font-family: 'PrettyFont';
}

.search-layout .header-panel {
	height: 52px;
    background-color: #009cff;
    top: 0;
    right: 0;
    left: 0;
    text-align: center;
    vertical-align: middle;
}
#close_search {
	float: right;
    height: 100%;
    text-align: center;
    background-color: #009cff;
}

.game-container {
    width: 100%;
    text-align: center;
    font-size: 0px;
    margin: 0 auto;
}

#search_input {
    margin: 0 auto;
    position: relative;
}

#search_input #search_game {
    background-color: #009cff;
    border: 1px solid #11a3de;
    width: 93%;
    height: 35px;
    font-size: 16px;
    font-family: 'PrettyFont';
    color: white;
    border-radius: 4px;
    margin-bottom: 5px;
    text-transform: capitalize;
    text-indent: 30px;
}

.fa-search {
    position: absolute;
    top: 12px;
    color: #11a3de;
    margin-left: 10px;
	background: url(/assets/images/search.png) no-repeat;
	display: inline-block;
	width:20px;
	height:20px;
}


#search_btn {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 50;
}