body {
background:url("../img/bg.png") center center fixed no-repeat;
-webkit-background-size: cover;
background-size: cover;
}
.navbar navbar-inverse navbar-fixed-top{
position:relative;
z-index:2001;
}
.navbar .nav{
float:right;
}
#showgame{
float:left;
}
#bg-img{
/*background:url("../img/.png") center center fixed no-repeat;*/
-webkit-background-size: cover;
background-size: cover;
max-width: 100%;
min-height: 922px;
height: 100%;
position: absolute;
width: 100%;
z-index:1000;
}
#allpage{
max-width:980px;
overflow: visible;
position:relative;
z-index:1000;
margin:0 auto;
}
.showspan-left{
float:left;
margin-top:60px;
}
.showspan-right{
float:right;
margin-top:80px;
margin-right:75px;
}
.playforfree{
background:url('../img/gamestart1.png')no-repeat;
height: 100px;
padding: 57px 0 0;
text-align: center;
width: 230px;
}
#video{
float:right;
width:300px;
margin-top:10px;
}
#bt-visit{

width:298px;
height:58px;
display:block;
float:right;
clear:both;
font-size:33px;
padding-top:37px;
padding-left:14px;
margin-right:85px;
text-align:center;
font-family: 'asura';
}
.span12{
width:96%;
}
.usp {

float: right;
height: 119px;
margin-top: 5%;
text-align: left;
width: 533px;
margin-bottom:20px;
}

@media (max-width: 767px){
body{
padding:0px;
margin:0px;
}
.navbar .nav{
float:none;
padding-left:0px;
}
#showgame{
float:none;
}
}

@media (max-width: 979px){
.navbar-fixed-top {
margin-bottom:0px;
}
.navbar .brand {
  padding-right: 10px;
  margin: 0 0 0 -5px;
  margin-left: 20px;
}
.navbar .nav{
float:none;
padding-left: 20px;
}
#showgame{
float:none;
}
.showspan-left{
margin-top:20px;
}
.showspan-right{
clear:left;
float:left;
margin-top:0px;
margin-left:20px;
}
#video{
clear:both;
max-width:80%;
margin-left:30px;

}
.usp{
float:left;
margin-left:20px;
margin-top: 5px;
margin-bottom:10px;
}
}
li:hover{
background:#111111;
}
footer {
clear:both;
position:relative;
z-index:1002;
background: url("../img/footer1.png")center no-repeat;
-webkit-background-size: cover;
background-size: cover;
color: #B1B1B1;
overflow: hidden;
padding: 1em;
text-align: center;
bottom:0px;
height:250px;
}
.social img{
margin: 0 1em;
}
#img-naja{
float:left;
margin-left:23px;
margin-top:15px;
}
#usp-content{
font-size:.9em;
color:#FFFFFF;
margin-top:18px;
}
#bar{
max-width:500px;
max-height:auto;
margin:0 auto;
margin-top:11%;
-webkit-background-size: cover;
background-size: cover;
font-size:14px;
text-align:center;
}
#OMG{
max-width:200px;
max-height:200px;
float:left;
margin-top:-160px;
-webkit-background-size: cover;
background-size: cover;
}
#GAMEINDY{
max-width:200px;
max-height:200px;
float:right;
margin-top:-160px;
-webkit-background-size: cover;
background-size: cover;
}
 #add{
max-width:600px;
max-height:auto;
-webkit-background-size: cover;
background-size: cover;
margin:0 auto;
color:#FFFFFF;
font-size:14px;
text-align:center;
}
a:link {
text-decoration: none;
color: #FFFFFF;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: none;
color: #F46614;
}
a:active {
text-decoration: none;
color: blue;
}
a.logo-dummy{
background:url('../img/logo-dummy.png');
width:130px;
height:129px;
display:block;
float:left;
}
a.logo-asura{
background:url('../img/logo-asura.png');
width:211px;
height:128px;
display:block;
float:left;
}
a.logo-godswar{
background:url('../img/logo-godswar.png');
width:244px;
height:128px;
display:block;
float:left;
}
a.logo-400{
background:url('../img/logo-400.png');
width:201px;
height:128px;
display:block;
float:left;
}
a.logo-dummy:hover,a.logo-asura:hover,a.logo-godswar:hover,a.logo-400:hover{
opacity:0.9;
}
#startGame{
font-family:'asura';
font-size:50px;
color:#FFFFFF;
}
a#startGame:hover{
color:#FFFFFF;
text-decoration:none;
}
/*ช่อง search*/
#custom-search-form {
margin:0;
margin-top: 5px;
padding: 0;
}
#custom-search-form .search-query {
padding-right: 3px;
padding-right: 4px \9;
padding-left: 3px;
padding-left: 4px \9;
/* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#custom-search-form button {
border: 0;
background: none;
/** belows styles are working good */
padding: 2px 5px;
margin-top: 2px;
position: relative;
left: -28px;
/* IE7-8 doesn't have border-radius, so don't indent the padding */
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
 
.search-query:focus + button {
z-index: 3;   
}
.navbar .nav{
margin:0 80px 0 0;
}
.search-query{
width:260px;
}
/*หน้าใหม่*/
#logo{
background:url("../img/logo.png");
width:275px;
height:150px;
float:left;
margin-top:60px;
}
#btn-start{
width:220px;
height:150px;
float:right;
clear:right;
margin-right:40px;
margin-top:60px;
}
#topic{
max-width:950px;
height:500px;
clear:left;
margin:0 auto;
margin-top:30px;
}
#downloader{
background:url("../img/news.png");
position:absolute;
left:0;
right:0;
max-width:450px;
height:140px;
margin:0 auto;
margin-top:150px;
text-align:center;
border-radius:20px 20px 20px 20px;
color:#FFFFFF;
}
#btn-downloader{
width:400px;
height:65px;
margin:0 auto;
display:block;
}
#direct{
background:url("../img/news.png");
width:310px;
height:155px;
float:left;
margin-left:10%;
margin-top:100px;
text-align:center;
border-radius:20px 20px 20px 20px;
color:#FFFFFF;
}
#direct h4{
color:#000000;
}
#btn-direct{
width:265px;
height:65px;
margin:0 auto;
display:block;
}
#torrent{
background:url("../img/news.png");
width:310px;
height:155px;
float:right;
margin-right:10%;
margin-top:100px;
text-align:center;
border-radius:20px 20px 20px 20px;
color:#FFFFFF;
}
#torrent h4{
color:#000000;
}
#btn-torrent{
width:265px;
height:65px;
margin:0 auto;
display:block;
}
#patch-1{
width:900px;
height:215px;
margin:0 auto;
margin-top:300px;
}
#topic-1{
background:url('../img/main.png');
width:535px;
height:30px;
border:1px dashed #000000;
}
#detail-1{
width:900px;
height:165px;
border:1px dashed #000000;
}
#patch-2{
width:900px;
height:215px;
margin:0 auto;
margin-top:150px;
}
#topic-2{
background:url('../img/hell.png');
width:535px;
height:30px;
border:1px dashed #000000;
}
#detail-2{
width:900px;
height:165px;
border:1px dashed #000000;
}
a#btn-downloader:hover,a#btn-direct:hover,a#btn-torrent:hover{
opacity:0.8;
}

/*Search Google*/
@media (min-width: 980px){
#search-google{
width:320px; 
margin-top:5px;
float:left;
}
}
@media (max-width: 1200px){
#search-google{
clear:left;
width:100%;
}
}
@media (max-width: 979px){
#search-google{
width:100%; 
}
}

/*Patcher*/
#download-mainbox p {
	color: #254458;
	text-indent: 2em;
	
}

#download-mainbox ul {
	background: #C2BB9A none repeat scroll 0 0;
	border: 1px solid #A19D8E;
	margin: 0;
	padding: 5px;
}

div.download-mainbox-patchlist ul {
	background: #c2bb9a none repeat scroll 0 0;
	overflow-y: scroll;
	height: 200px;
	width: auto;
	padding: 2px;
}

div.download-mainbox-patchlist ul li {
	margin: 1px 0;
}

div.download-mainbox-patchlist ul li a {
	
	color: #e5dfc4;
	padding: 4px 10px 4px 22px;
	display: block;
	font-weight: normal;
}

div.download-mainbox-patchlist ul li a:hover {
	color: #FFC400;
	
	text-decoration: none;
}

#download-mainbox { /*
  height:404px;
  overflow:scroll;
  overflow-x:hidden;
  */

	left: 43px;
	margin: auto;
	padding: 5px;
	position: absolute;
	top: 450px;
	width: 900px;
	z-index: 10;

}

#download-mainbox2 { 
	background-color: #999999;
	left: 43px;
	margin: auto;
	padding: 5px;
	position: absolute;
	top: 440px;
	width: 900px;
	display:block;
	height:760px;
	z-index: 9;
	border: 2px solid black;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-moz-opacity: 0.50;
	opacity: 0.50;
	-ms-filter: " progid : DXImageTransform.Microsoft.Alpha ( Opacity = 50 );
}

.border-adj{
	border: 2px solid antiqueWhite;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;