/**
* Design By Eggda-Studio
**/
@import url("https://fonts.googleapis.com/css?family=Prompt:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=thai");
@import url("https://fonts.googleapis.com/css?family=Mitr:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=thai");
@import url("https://fonts.googleapis.com/css?family=Asap:400,700|Roboto");

body {
	font-family: "Prompt",sans-serif;
	margin:0;
	padding:0;
	overflow-x:hidden;
}
ul{
	list-style-type:none;
}
a:link{
	text-decoration:none;
	outline:0 !important;
}
a:visited{
	text-decoration:none;
	outline:0 !important;
}
a:hover{
	text-decoration:none;
	outline:0 !important;
}
a:active{
	text-decoration:none;
	outline:0 !important;
}
/**
* Nav Bar Menu
**/
.navbar_menu .navbar_menu_bg {
	width:100%;
	height:56px;
	margin:0 auto;
	background-color: rgba(0, 0, 0, 0.75);
	-webkit-box-shadow: 1px 1px 0px rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 0px rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.2);
	box-shadow: 1px 1px 0px rgba(255, 255, 255, 0.08), inset 0 1px 1px rgba(0, 0, 0, 0.2);
	position:fixed;
	z-index:50;
}
.navbar_container {
	height:56px;
	position:relative;
}
.navbar_menu .dropdown_menu {
	visibility:hidden;
	opacity:0;
	position:absolute;
	top:100%;
	z-index:5;
	margin-left:-1px;
	left:0;
	width:130%;
	transform:translateY(-2em);
	z-index:-1;
	transition:all .5s ease-in-out 0s,visibility 0s linear .5s,z-index 0s linear 0s;
}
.navbar_menu .dropdown_menu {
    font-size: 12px;
    background-color: #0c0c0c;
    border: 1px solid #000;
    border-top: 0;
    padding: 0 auto;
    -moz-border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    -moz-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.10);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.navbar_menu .navbar_container:hover .dropdown_menu {
	visibility:visible;
	opacity:1;
	z-index:1;
	transform:translateY(0%);
	transition-delay:0s,0s,0.3s;
}
.navbar_menu .dropdown_menu a {
	padding:10px 5px 10px 8px;
	text-align:left;
	font-weight: 200;
	border-bottom: solid 1px rgba(0, 0, 0, 0.20);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}
.navbar_menu .dropdown_menu a:hover {
	padding-left:13px;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}
.navbar_menu .dropdown_menu>li:last-child a{
	border-bottom:0;
}
.navbar_menu ul{
	width:1170px;
	margin:0 auto;
	list-style:none;
	padding-left:65px;
}
.navbar_menu nav a{
	cursor: pointer;
	color:#fff;
	font-family:'Prompt',sans-serif;
	font-weight: 300;
	letter-spacing: 0.5px;
	display:block;
	padding:8px 22px;
	text-decoration:none;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}
.navbar_menu nav a:hover{
	color:#fff34e;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;

}
.navbar_menu nav ul,.navbar_menu nav ul li{
	list-style-type:none;
	padding:0;
	margin:0;
}
.navbar_menu nav span{
	font-weight:300;
	display:block;
	font-size:70%;
	text-transform: uppercase;
}
.navbar_menu nav .arrow:after {
    width: 9px;
    height: 11px;
    background: url(../../images/angel.png) center top no-repeat;
    position: absolute;
    left: calc(50% - 4px);
    bottom: 5px;
    content: '';
}
.navbar_menu nav>ul{
	text-align:center;
}
.navbar_menu nav>ul>li{
	display:inline-block;
	border-left: solid 1px rgba(255, 255, 255, 0.09);
}
.navbar_menu nav>ul>li:first-child{
	border-left:none;
}
/**
* Status Server Box
**/
.box-status-online {
    text-align: center;
    color: #5eb312;
    font-family: 'Asap',sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 1px;
	padding-right: 10px;
}
.box-status-offline {
    text-align: center;
    color: #ff4646;
    font-family: 'Asap',sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 1px;
	padding-right: 10px;
}
.box-status-player {
    text-align: center;
    color: #556ce3;
    font-family: 'Asap',sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 1px;
}
.box-status-account {
    text-align: center;
    color: #ed8b21;
    font-family: 'Asap',sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 1px;
	padding-right: 15px;
}
.box-status-charall {
    text-align: center;
    color: #b983d0;
    font-family: 'Asap',sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 1px;
}
/**
*  Particles JS
**/
#particles-js {
	position: absolute;
	width: 100%;
	height: 750px;
	top: 79px;
	background-image: url('');
	background-repeat: repeat;
	background-size: cover;
	background-position: 50% 50%;
	z-index: 2;
	pointer-events: none;
}
/**
* Header Box Wrapper
**/
.warpper-table {
	width:1200px;
	border-spacing: 0;
    border-collapse: collapse;
}
.wrapper {
    width: 100%;
	min-width: 1200px;
    height: 4480px;
    background-image: url(../../images/bg_body.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
.change {
	position:absolute;
	width:100%;
	min-width: 1200px;
	height:4480px;
	background-repeat:no-repeat;
	background-position:center top;
	background-image: url(../../images/bg_body1.jpg);
	z-index:1;
	-webkit-animation: 3s change infinite linear;
	-moz-animation:  3s change infinite linear;
    -o-animation:  3s change infinite linear;
    -ms-animation: 3s change infinite linear;
	animation: 3s change infinite linear;
	animation-timing-function: ease-in-out;
}
@-webkit-keyframes change {
	0% {opacity: 1;}
	25% {opacity: 0;}
	50% {opacity: 1;}
	75% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes change {
	0% {opacity: 1;}
	25% {opacity: 0;}
	50% {opacity: 1;}
	75% {opacity: 0;}
	100% {opacity: 1;}
}
.header_table {
    width: 1200px;
    position: relative;
    z-index: 2;
    margin: -321em auto;
}
.header_img {
    width: 1200px;
	height: 0;
    position: absolute;
    z-index: 3;
}
.header_img>div {
	position: absolute;
}
.header_logo {
	background: url(../../images/icon/logo_body.png);
	width: 630px;
	height: 371px;
	position: absolute;
	z-index: 5;
    top: -1em;
    left: 17em;
	-webkit-animation: 3s logo infinite linear;
	-moz-animation:  3s logo infinite linear;
	animation: 3s logo infinite linear;
}
@-webkit-keyframes logo {
	0%{transform:scale(1)}
	20%{transform:scale(1.05)}
	30%{transform:scale(.90)}
	45%{transform:scale(1.05)}
	60%{transform:scale(1)}
}
@keyframes logo {
	0%{transform:scale(1)}
	20%{transform:scale(1.05)}
	30%{transform:scale(.90)}
	45%{transform:scale(1.05)}
	60%{transform:scale(1)}
}
.img_header_left {
	background: url(../../images/header/img4_left1.png);
	width: 285px;
	height: 535px;
	position: absolute;
	z-index: 3;
	left: 18em;
    top: -6em;
}
.img_header_left_top {
	background: url(../../images/header/img5_left2.png);
	width: 255px;
	height: 475px;
	position: absolute;
	z-index: 2;
	left: 6em;
    top: -7em;
}
.img_header_center {
	background: url(../../images/header/img1_center.png);
	width: 530px;
	height: 655px;
	position: absolute;
	z-index: 3;
    left: 23em;
    top: -14em;
}
.img_header_right {
	background: url(../../images/header/img2_right1.png);
	width: 300px;
	height: 540px;
	position: absolute;
    z-index: 3;
    right: 20.5em;
    top: -6em;
}
.img_header_right_top {
	background: url(../../images/header/img3_right2.png);
	width: 230px;
	height: 495px;
	position: absolute;
	z-index: 2;
    right: 13em;
    top: -7em;
}
.img_slider_right {
	background: url(../../images/header/img7_slider2.png);
	width: 205px;
	height: 500px;
	position: absolute;
	z-index: 2;
    right: -2em;
    top: 138em;
}
.img_slider_left {
	background: url(../../images/header/img6_slider1.png);
	width: 270px;
	height: 480px;
	position: absolute;
	z-index: 2;
    left: -5em;
    top: 138em;
}
.img_footer_right {
	background: url(../../images/header/img8_footer.png);
	width: 385px;
	height: 370px;
	position: absolute;
	z-index: 2;
    right: 0em;
    top: 252.5em;
}
/*Loading*/
#loadPage{
	display:block;
	width:100%;
	height:100vh;
	background-color:#000000;
	position:fixed;
	top:0;
	left:0;
	z-index:9999999999;
}
#loadPage > span{
	position:absolute;
	background-image:url('../../images/icon/loading.png');
	width:630px;
	height:371px;
	left:50%;
	margin-left:-25em;
	top:25em;
	margin-top:-60px;
	animation:day 0.5s ease infinite;
}
@keyframes day{
    0%{
		transform:scale(1.0);	
    }
    50%{
		transform:scale(0.95);	
    }
    100%{
    	transform:scale(1.0);	
    }
}
/**
* Allnews Event Box
**/
.allnews-row {
    margin-right: 5px;
    margin-left: 5px;
}
.allnews-col {
    position: relative;
    min-height: 1px;
    padding-right: 8px;
    padding-left: 8px;
    float: left;
    width: 33.33333333%;
}
.allnews-box {
	margin-top:15px;
    width: 320px;
    height: 350px;
    position: relative;
    padding: 10px;
    margin-bottom: 1.5em;
    background-color: #fff;
    border: none;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
figure {
    margin: -10px 0 0 -10px;
}
figure {
	width: 320px;
    height: 200px;
	padding: 0;
	background: transparent;
	overflow: hidden;
	-webkit-border-radius: 6px 6px 0 0;
	border-radius: 6px 6px 0 0;
}
.boximg-shine {
	margin-bottom: 5px;
}
.boximg-shine figure {
	position: relative;
}
.boximg-shine figure::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.boximg-shine figure:hover::before {
	-o-animation: shine .75s ease-in-out;
	-ms-animation: shine .75s ease-in-out;
	-moz-animation: shine .75s ease-in-out;
	-webkit-animation: shine .75s ease-in-out;
	animation: shine .75s ease-in-out;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}
.allnews-text-harder {
    font-size: 16px;
    font-weight: 400;
	letter-spacing:1px;
    color: #188aff;
	padding: 5px;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-overflow: '...';
}
.allnews-text {
	font-size:14px;
	font-weight: 400;
	letter-spacing:0.8px;
	color: #636363;
	padding: 5px;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-overflow: '...';
}
.allnews-time {
	font-family: Tahoma;
	font-size:11px;
	color:#c3c3c3;
	padding: 5px;
}
.allnews-botton {
	padding: 5px;
}
.btn-view {
    color: #ff5757;
    background-color: #fff;
    border-color: #e8e8e8;
    letter-spacing: 0.5px;
    font-weight: 400;
}
.btn-view:hover {
    color: #333;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
}
.btn-view:focus, .btn-view.focus {
    color: #ff5757;
    background-color: #fff;
    border-color: #e8e8e8;
    outline: 0 !important;
}
.btn-view:active, .btn-view.active {
    color: #ff5757;
    background-color: #fff;
    border-color: #e8e8e8;
}
.btn:active, .btn.active {
    background-image: none;
    outline: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.allnews-time span {
	font-family: Tahoma;
	float:right;
}
.status-event {
    display: inline;
    padding: .2em .8em .3em .8em;
    font-size: 85%;
    font-weight: 300;
    line-height: 1em;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    vertical-align: baseline;
    -webkit-border-radius: 50em;
    border-radius: 50em;
    -webkite-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.20);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.20);
    -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}
.bg-notice {
    background-color: #2495cc;
}
.bg-update {
    background-color: #65a72a;
}
.bg-event {
    background-color: #fd973f;
}
.bg-promotion {
    background-color: #ff6b6b;
}
/**
* Modal
**/
.modal-body {
	padding: 0px 15px 0px;
}
.modal-lg {
	width: 900px;margin: 100px auto 0;
}
.modal-header {
	border-bottom: none;
}
.modal-header .close {
	margin-top: -10px;
}
.modal-open {
  overflow:hidden;
  overflow-y:scroll;
  padding-right:0 !important;
}
.modal.fade .modal-dialog {
   -webkit-transform: scale(0.9);
   -moz-transform: scale(0.9);
   -ms-transform: scale(0.9);
   transform: scale(0.9);
   top: 300px;
   opacity: 0;
   -webkit-transition: all .2s linear;
   -moz-transition: all .2s linear;
   transition: all .2s linear;
}

.modal.fade.in .modal-dialog {
   -webkit-transform: scale(1);
   -moz-transform: scale(1);
   -ms-transform: scale(1);
   transform: scale(1);
   -webkit-transform: translate3d(0, -300px, 0);
   transform: translate3d(0, -300px, 0);
   opacity: 1;
}
.close {
	float: right;
	font-size: 30px;
	font-weight: normal;
}
.close:hover, .close:focus {
	outline: 0 !important;
}
/**
* Guild War Box
**/
.guild-row {
	margin-top: 1em;
	margin-left: 3em;
}
.guild-box {
  width: 380px;
  height: 90px;
  margin-top: 2em;
  margin-left: 1em;
  float: left;
  background-color: #fff;
  border: solid 2px #ffaa71;
  border-radius: 6px;
  color: #333;
  -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.20);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.20);
}
.guild-bgem {
	position:relative;
	background:url('../../images/flag.png') no-repeat;
	width:50px;height:101px;
	float: left;
	margin-top: -1.2em;
  margin-left: 1.2em;
	margin-right: .9em;
}
.guild-bgem .icon-em {
	position: absolute;
	width: 24px;
	height:24px;
	background:#ccc;
	border: 1px solid #612711;
    top: 3em;
    left: 1em;
}
.guild-textcastle {
	margin-top: .6em;
  padding: 2px;
	font-size: 14px;
	color: #ff3838;
}
.guild-textcastle span {
	color: #333;
}
.guild-textname {
  padding: 1px;
	font-size: 14px;
	color: #275eff;
}
.guild-textname span {
	color: #333;
}
.guild-textmaster {
  padding: 1px;
	font-size: 14px;
	color: #176b12;
}
.guild-textmaster span {
	color: #333;
}
.no-castle {
    margin: 10.5em auto auto 16.8em;
    width: 421px;
	-webkit-animation: 3s castle_r infinite linear;
	-moz-animation:  3s castle_r infinite linear;
	-o-animation:  3s castle_r infinite linear;
	-ms-animation: 3s castle_r infinite linear;
	animation: 3s castle_r infinite linear;
}
@keyframes castle_r {
	0% { opacity:0; }
	50% { opacity:1; }
	100% { opacity:0; }
}
.rank-box {
	color:#000;
	margin-top:0.8em;
}
.rank-number {
  font-size: 11px;
  color:#000;
  background-color: #fff;
  border: solid 1px rgba(0, 0, 0, 0.10);
  padding: .50em;
  border-radius: 3px 0 0 3px;
  width: 100%;
  letter-spacing:0.5px;
  margin: 0 auto;
}
.rank-name {
  font-size: 11px;
  color:#000;
  background-color: #fff;
  border: solid 1px rgba(0, 0, 0, 0.10);
  padding: .50em;
  border-radius: 0px;
  letter-spacing:0.5px;
  width: 100%;
  margin: 0 auto;
}
.rank-point {
  font-size: 11px;
  color:#000;
  background-color: #fff;
  border: solid 1px rgba(0, 0, 0, 0.10);
  padding: .50em;
  border-radius: 0 3px 3px 0;
  width: 100%;
  letter-spacing:0.5px;
  margin: 0 auto;
}
.table-rank {
  width: 90%;
  max-width: 90%;
  margin-left: 4px;
}
.table-rank > thead > tr > th,
.table-rank > tbody > tr > th,
.table-rank > tfoot > tr > th,
.table-rank > thead > tr > td,
.table-rank > tbody > tr > td,
.table-rank > tfoot > tr > td {
  padding: 2px;
  line-height: 1.25;
  vertical-align: middle;
  border-top: 0;
}
.table-rank > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 0;
	color: #464646;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.5px;
}
.table-rank > caption + thead > tr:first-child > th,
.table-rank > thead:first-child > tr:first-child > th,
.table-rank > caption + thead > tr:first-child > td,
.table-rank > thead:first-child > tr:first-child > td {
  border-top: 0;
}
.table-rank > tbody + tbody {
  border-top: 0;
}
.table-rank .table-rank {
  background-color: transparent;
}
.show-reloadbox {
  padding: 15px;
  border-radius: 4px;
  color: #db2828;
  background-color: #ffe8e6;
  border-color: #ffa5a5;
  width: 96%;
  margin: 0 auto;
  margin-top: 10em;
  font-family: Tahoma;
  font-size: 12px;
}
@keyframes castle_r {
	0% { opacity:0; }
	50% { opacity:1; }
	100% { opacity:0; }
}
/* Footer Form */
/*.footer_menu_box {
    display: block;
    margin-top: 2.5em;
    margin-left: 0.5em;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #fff;
}
.footer_menu_box li {
	padding-top:5px;
}
.footer_menu_box li a {
	color:#333;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
.footer_menu_box li a:hover {
	color:#005aff;
	padding-left:10px;
	font-weight: 400;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}*/

.page_footer {
  position: relative;
  width: 100%;
  height: 10px;
  line-height: 90px;
  margin-top:156em;
  z-index:2;
}
.page_main_footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #272727;
    border-top: solid 1px #272727;
    -webkit-box-shadow: inset 0 5px 20px #272727;
    box-shadow: inset 0 5px 20px #272727;
}
.footer_container {
  width:100%;
  height: 90px;
  padding-top: 2em;
  margin: 0 auto;
}

/* Scrollbar */
body::-webkit-scrollbar { width:5px; height:5px; background-color:#fff;}
body::-webkit-scrollbar-track {background-color:#fff;}
body::-webkit-scrollbar-thumb {background: #eee;}

@media(max-width:1170px){
body,html{
	width:1200px;
	}
}