/**
* 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:outside none none;
	margin:0;
	padding:0
}
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;
}
/**
* Status Server Box
**/
.box-status {
	margin-left: 1.2em;
	width:68px;
}
.box-status-player {
    text-align: center;
    color: #0480ff;
    font-family: 'Asap',sans-serif;
    font-size: 3.5em;
    font-weight: 800;
	margin-left: 0.4em;
}
.box-status-account {
    text-align: center;
    color: #ff660c;
    font-family: 'Asap',sans-serif;
    font-size: 3.5em;
    font-weight: 800;
	margin-left: 0.4em;
}
.box-status-charall {
    text-align: center;
    color: #ff3c9f;
    font-family: 'Asap',sans-serif;
    font-size: 1.5em;
    font-weight: 800;
	margin-top:0em;
	margin-right: 0.3em;
}
/**
*  Particles JS
**/
#particles-js {
	position: absolute;
	width: 100%;
	height: 650px;
	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:1100px;
	border-spacing: 0;
    border-collapse: collapse;
}
.wrapper {
    width: 100%;
	min-width: 1100px;
    height: 920px;
    background-image: url(../../images/bg_body1.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
.change {
	position:absolute;
	width:100%;
	min-width: 1100px;
	height: 920px;
	background-repeat:no-repeat;
	background-position:center top;
	background-image: url(../../images/bg_body1.jpg);
	z-index:1;
	-webkit-animation: 20s change infinite linear;
	-moz-animation:  20s change infinite linear;
    -o-animation:  20s change infinite linear;
    -ms-animation: 20s change infinite linear;
	animation: 20s 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: 1100px;
    position: relative;
    z-index: 2;
    margin: -66em auto;
}
.header_img {
    width: 1100px;
	height: 0;
    position: absolute;
    z-index: 3;
}
.header_img>div {
	position: absolute;
}
.header_logo {
	background: url(../../images/logo12.png);
	width: 379px;
	height: 158px;
	position: absolute;
	z-index: 99;
    top: 11em;
    left: 27em;
	-webkit-animation: 3s heart infinite linear;
	-moz-animation:  3s heart infinite linear;
	animation: 3s heart infinite linear;
}
@-webkit-keyframes heart {
  0%, 100% {
    -webkit-transform: scale(1);opacity:0.95;
    transform: scale(1);opacity:0.95; }
  30%, 80% {
    -webkit-transform: scale(1.15);opacity:1;
    transform: scale(1.15);opacity:1; } 
  40%, 60% {
    -webkit-transform: scale(1);opacity:0.95;
    transform: scale(1);opacity:0.95; } 
  50%, 70% {
    -webkit-transform: scale(0.8);opacity:1;
    transform: scale(0.8);opacity:1; } 
}

@keyframes heart {
  0%, 100% {
    -webkit-transform: scale(1);opacity:0.95;
    transform: scale(1);opacity:0.95; }
  30%, 80% {
    -webkit-transform: scale(1.15);opacity:1;
    transform: scale(1.15);opacity:1; } 
  40%, 60% {
    -webkit-transform: scale(1);opacity:0.95;
    transform: scale(1);opacity:0.95; } 
  50%, 70% {
    -webkit-transform: scale(0.8);opacity:1;
    transform: scale(0.8);opacity:1; } 
}	
/*Loading*/
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align:center;
	background-color:transparent;
	z-index: 999999999;
}
#status {
	font-family:'Kanit',sans-serif;
	font-size: 24px;
	width: 100%;
	min-height:150px;
	position: relative;
	left: 0%;
	top: 30%;
	background-image: url(../../images/icon/poli_body.png);
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 auto;
	padding-top: 9em;
	-webkit-animation:poli_sky 1s infinite alternate ease-in-out;
	animation:poli_sky 1s infinite alternate ease-in-out;
}
@keyframes poli_sky {
	0%{transform: translate(0,30px)}
	100%{transform: translate(0,-20px)}
}
.text-loading {
	color: #fff;
    font-size: 28px;
    font-weight: 200;
    letter-spacing: 3px;
	-webkit-text-shadow: 0 0 5px #00d0ff;
	text-shadow: 0 0 5px #00d0ff;
}
.sky_poli {
    width: 100%;
	height: 0;
    position: absolute;
    z-index: 3;
}
.poli_wing1 {
	background:url(../../images/icon/poli_wing_right.png);
	width:80px;
	height:83px;
	position:absolute;
	margin-top: -3em;
	margin-left: 2em;
	z-index:99;
	transform-origin:left 30%;
	-webkit-animation:w1 0.3s alternate infinite ease-in-out;
	animation:w1 0.3s alternate infinite ease-in-out;
}
@keyframes w1{
	0%{transform: rotate(10deg)}
	100%{transform: rotate(-10deg)}
}
.poli_wing2 {
	background:url(../../images/icon/poli_wing_left.png);
	width:60px;
	height:72px;
	position:absolute;
	margin-left: -4.5em;
    margin-top: -5.5em;
	z-index:99;
	transform-origin:right 50%;
	-webkit-animation:w2 0.3s alternate infinite ease-in-out;
	animation:w2 0.3s alternate infinite ease-in-out;
}
@keyframes w2{
	0%{transform: rotate(-10deg)}
	100%{transform: rotate(10deg)}
}
/**
* Notice List
 **/
.icon-notice {
	background:url('../../images/icon/icon_notice.png') 4px 8px no-repeat;
}
.icon-event {
	background: url('../../images/icon/icon_event.png') 4px 8px no-repeat;
}
.icon-update {
	background: url('../../images/icon/icon_update.png') 4px 8px no-repeat;
}
.icon-promo {
	background: url('../../images/icon/icon_promo.png') 4px 8px no-repeat;
}
.icon-quest {
	background: url('../../images/icon/icon_quest.png') 4px 8px no-repeat;
}
.icon-faq {
	background: url('../../images/icon/icon_faq.png') 4px 8px no-repeat;
}
.notice-list {
	display: block;
	margin-top: 0.5em;
	max-width: 644px;
    padding-left: 1px;
}
.notice-list ul > li {
	padding:8px 0 7px 55px;
	border-bottom: 1px dashed #f5f5f5;
	font-family:'Prompt',sans-serif;
	font-size:12px;
	font-weight:normal; 
	color:#405463;
}
.notice-box {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;  
}
.box_popup {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	background-color: #fff;
	color: #000;
	padding: 15px;
	transform: scale(0.8);
	min-height: 300px;
}
.popup_visible .boxpopup {
	transform: scale(1);
}
.box_popup .in_popup{
	font-size:16px;
	width: 500px;
	min-height: 500px;
}
.box_popup .in_close{
	text-align: center;
}
.box_popup .in_close button {
	background-color:#fff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#333;
	font-size:14px;
	font-weight:400;
	padding:5px 24px;
	text-decoration:none;
	outline: 0 !important;
}
.box_popup .in_close button:hover {
	background-color:#e9e9e9;
}
.box_popup .in_close button:active {
	position:relative;
	top:1px;
}
/**
* Modal
**/
.modal-body {
	padding: 0px 15px 0px;
}
.modal-lg {
	width: 900px;margin: 100px auto 0;
}
.modal-old {
	width: 813px;
	margin: 8em auto;
}
.modal-body2 .close {
  margin-top: -11px;
}
.modal-body2 {
	padding: 5px;
}
.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;
}
.panel2 {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.panel-modal {
    border-color: #fff;
}
.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #3c64ff;
}
.table > thead > tr > th {
    vertical-align: bottom;
    color: #ff7736;
	 font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f9f9f9;
}
.table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: middle;
    font-size: 12px;
    border-top: 1px solid #f9f9f9;
}
.btn-save {
    color: #ff8581;
    background-color: #fff;
    border-color: #ffb3b1;
    border-width: 1px;
    letter-spacing: 0.5px;
	-webkit-transition: .5s all;
    transition: .5s all;
}
.btn-save:hover {
    color: #fff;
    background-color: #ef706d;
    border-color: #ef706d;
    border-width: 1px;
	-webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}
.btn-save:focus {
    color: #bb4b48;
    background-color: #ffafad;
    border-color: #ec9492;
    border-width: 1px;
    outline: 0 !important;
	-webkit-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
	-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.45);
}
.btn-save:active {
    color: #fff;
    background-color: #ff9491;
    border-color: #ff9491;
    border-width: 1px;
	-webkit-text-shadow: 0 1px 0 rgba(0, 0, 0, 0.20);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.20);
}
.btn:active {
    background-image: none;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .20);
}
.swal2-container.swal2-shown {
	background: linear-gradient(to right, #9655ff, #657ef9);
}
/**
* Guild War Box
**/
.guild-row {
	margin-top: 0.5em;
	margin-left: -0.2em;
}
.guild-box {
    width: 270px;
    height: 90px;
    margin-top: 1.2em;
    margin-left: 1em;
    float: left;
    background-color: #fff;
    border: solid 4px #ffffff;
    border-radius: 6px;
    color: #000;
    -webkit-box-shadow: inset 0 0 0 1px #ececec, 0 0 0 1px #edecec;
    box-shadow: inset 0 0 0 1px #ececec, 0 0 0 1px #edecec;
}
.guild-bgem {
	position:relative;
	background:url('../../images/flag.png') no-repeat;
	width:50px;height:101px;
	float: left;
	margin-top: -1.2em;
  margin-left: 0.5em;
	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: 12px;
	color: #ff3838;
}
.guild-textcastle span {
	color: #333;
}
.guild-textname {
  padding: 1px;
	font-size: 12px;
	color: #275eff;
}
.guild-textname span {
	color: #333;
}
.guild-textmaster {
  padding: 1px;
	font-size: 12px;
	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:-1.5em;
	margin-left: 3px;
	width: 260px;
}
.rank-number {
  font-size: 10px;
  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: 10px;
  color:#ff0000;
  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: 10px;
  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: 100%;
  max-width: 100%;
  margin-top:2em;
}
.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: 5px;
  line-height: 9.8px;
  vertical-align: middle;
  border-top: 0;
}
.table-rank > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 0;
	color: #000;
	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: 1em;
  font-family: Tahoma;
  font-size: 12px;
}
@keyframes castle_r {
	0% { opacity:0; }
	50% { opacity:1; }
	100% { opacity:0; }
}
.box-point {display: inline-block;min-width:11px;padding: 2px 10px 3px;font-size:11px;line-height:1;color:#000;text-align: center;white-space: nowrap;vertical-align:baseline;}
.box-num {display: inline-block;min-width:11px;padding: 2px 8px 3px;font-size:11px;line-height:1;color:#000;text-align: center;white-space: nowrap;vertical-align:baseline;}
.br-num-1 {border-radius: 10px 0;}
.br-point-1 {border-radius: 0 10px;}
.br-num-2 {border-radius: 10px 0;}
.br-point-2 {border-radius: 0 10px;}
.br-num-3 {border-radius: 10px 0;}
.br-point-3 {border-radius: 0 10px;}
.br-num-4 {border-radius: 10px 0;}
.br-point-4 {border-radius: 0 10px;}
.br-num-5 {border-radius: 10px 0;}
.br-point-5 {border-radius: 0 10px;}
.br-num-6 {border-radius: 10px 0;}
.br-point-6 {border-radius: 0 10px;}
.br-num-7 {border-radius: 10px 0;}
.br-point-7 {border-radius: 0 10px;}
.br-num-8 {border-radius: 10px 0;}
.br-point-8 {border-radius: 0 10px;}
.br-num-9 {border-radius: 10px 0;}
.br-point-9 {border-radius: 0 10px;}
.br-num-10 {border-radius: 10px 0;}
.br-point-10 {border-radius: 0 10px;}
.rd-1 {background-color: #a8e876;border: solid 1px #73c137;color: #557140;}
.rd-2 {background-color: #ffb997;border: solid 1px #e08f7c;color: #9c4b39;}
.rd-3 {background-color: #a9e3f5;border: solid 1px #6dbdd6;color: #196b8c;}
.rd-4 {background-color: #f5f5f5;border: solid 1px #c1c1c1;color: #585858;}
.rd-5 {background-color: #f5f5f5;border: solid 1px #c1c1c1;color: #585858;}
.rd-6 {background-color: #f5f5f5;border: solid 1px #c1c1c1;color: #585858;}
.rd-7 {background-color: #f5f5f5;border: solid 1px #c1c1c1;color: #585858;}
.rd-8 {background-color: #f5f5f5;border: solid 1px #c1c1c1;color: #585858;}
.rd-9 {background-color: #f5f5f5;border: solid 1px #c1c1c1;color: #585858;}
.rd-10 {background-color: #f5f5f5;border: solid 1px #c1c1c1;color: #585858;}
.text-name {font: 11px'Kanit';font-weight: 400;color:#333}
/* Footer Form */
.alice_box {
    display: block;
    position: fixed;
    width: 194px;
    bottom: 10em;
    right: 0;
    z-index: 10000;
}
.alice_row {
	position:relative;
	width:100%;
	height:0;
	}
.btn_body {
	position:absolute;
	width: 100%;
	height:0;
	padding-bottom: 16em;
	background-image:url(../../images/btn_back_top.png);
	background-size:100% auto;
	right: 0;
	bottom: 0;
	z-index:3;
	-webkit-animation: 2s top_wing infinite linear;
	-moz-animation:  2s top_wing infinite linear;
	-o-animation:  2s top_wing infinite linear;
	-ms-animation: 2s top_wing infinite linear;
	animation: 2s top_wing infinite linear;
	}
.btn_contact {
	position:absolute;
	width: 100%;
	height:0;
	padding-bottom: 3em;
	background-image:url(../../images/btn_contact.png);
	background-repeat:no-repeat;
	background-size:100% auto;
	top: 0;
	z-index:3;
	-webkit-animation: 2s top_wing infinite linear;
	-moz-animation:  2s top_wing infinite linear;
	-o-animation:  2s top_wing infinite linear;
	-ms-animation: 2s top_wing infinite linear;
	animation: 2s top_wing infinite linear;
	}

@-webkit-keyframes top_wing {
	0%{transform: translate(0,20px)}
	50%{transform: translate(0,-10px)}
	100%{transform: translate(0,20px)}
}	
@keyframes top_wing {
	0%{transform: translate(0,20px)}
	50%{transform: translate(0,-10px)}
	100%{transform: translate(0,20px)}
}
.footer_menu_box {
    display: block;
    margin-top: -1.5em;
    margin-left: 2.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;
}

/* 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:970px){
body,html{
	width:1100px;
	}
}