/**
* Design By Eggda-Studio
**/
@import url("https://fonts.googleapis.com/css?family=Kanit:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&amp;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&amp;subset=thai");
@import url("https://fonts.googleapis.com/css?family=Asap:400,700|Roboto");

body {
	font-family: "Kanit",sans-serif;
	background-color: #ffffff;
	margin:0;
	padding:0;
	overflow-x:hidden;
	background-position: center top;
	background-image: url(../../images/bg_body.jpg);
	background-repeat: no-repeat;
}
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: 75px;
    margin: 0 auto;
    background-color: #363636;
    -webkit-box-shadow: 1px 2px 3px #ebc254, inset 0 1px 1px rgba(255,255,255,.2);
    -moz-box-shadow: 1px 2px 3px #ebc254, inset 0 1px 1px rgba(255,255,255,.2);
    box-shadow: 1px 2px 3px #ebc254, inset 0 1px 1px rgba(255,255,255,.2);
    position: fixed;
    z-index: 50;
}
.navbar_container {
	height:75px;
	position:relative;
}
.navbar_menu .dropdown_menu {
	visibility:hidden;
	opacity:0;
	position:absolute;
	top:100%;
	z-index:5;
	margin-left:-1px;
	left:0;
	width:110%;
	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: #363636;
    border: 1px solid #ebc254;
    border-top: 0;
    padding: 0 auto;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.10);
    -webkit-box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.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:#ffa800;
	font-family:Kanit;
	font-weight: 300;
	letter-spacing: 0.5px;
	display:block;
	padding:18px 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:#fe5252;
	-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.html) center top no-repeat;
    position: absolute;
    left: calc(50% - 4px);
    bottom: 15px;
    content: '';
}
.navbar_menu nav>ul{
	text-align:center;
}
.navbar_menu nav>ul>li{
	display:inline-block;
	border-left: solid 1px #49546f;
}
.navbar_menu nav>ul>li:first-child{
	border-left:none;
}
/**
*  Particles JS
**/
#particles-js {
	position: absolute;
	width: 100%;
	height: 550px;
	top: 79px;
	background-image: url('');
	background-repeat: repeat;
	background-size: cover;
	background-position: 50% 50%;
	z-index: 5;
	pointer-events: none;
}
/**
* Header Box Wrapper
**/
.wrapper {
    width: 100%;
	min-width: 1200px;
    height: 1080px;
    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:4137px;
	background-repeat:no-repeat;
	background-position:center top;
	background-image: url(../../images/bg_body.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;
}
@-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: -295.6em auto;
}
.header_img {
    width: 1200px;
	height: 0;
    position: absolute;
    z-index: 3;
}
.header_img>div {
	position: absolute;
}

.header_logo {
	background: url(../../images/logo.png);
	width: 500px;
	height: 500px;
	position: absolute;
	z-index: 1;
    float: left;
	top: 15em;
	margin-left: 350px;
	-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)}
}


 @-webkit-keyframes swinging{
    0%{-webkit-transform: rotate(20deg);}
    50%{-webkit-transform: rotate(-20deg)}
    100%{-webkit-transform: rotate(20deg);}
}
 
@keyframes swinging{
    0%{transform: rotate(20deg);}
    50%{transform: rotate(-20deg)}
    100%{transform: rotate(20deg);}
}
 
.swingimage{
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-animation: swinging 3.5s ease-in-out forwards infinite;
    animation: swinging 3.5s ease-in-out forwards infinite;
}
/**
* All News
**/
.tooltip {
	font-size:10px;
}
.box-allnews-left {
    width: 268px;
    float: left;
    margin-left: 19px;
    margin-right: 5px;
    margin-top: 20px;
    background-color: #d19731;
    border-radius: 5px;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.box-allnews-right {
	width:270px;
	float:left;
	margin-left:8px;
	margin-right:5px;
	margin-top:15px;
	background-color: #d19731;
	border-radius: 5px;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
.text-fullnews {
    font-family:'Kanit',sans-serif;
	font-size:14px;
    padding-top: 0px;
    color: #ffffff;
}
.text-mininews {
	font-family:Tahoma;
	font-size:12px;
    padding-bottom: 2px;
    color: #ffffff;
}
.text-postnews {
	font-family:Tahoma;
	font-size:11px;
    color: #ffffff;
	padding-left:5px;
}
.label {
    float: right;
    border-radius: 50px;
    font-family: Tahoma;
    font-size: 10px;
	font-weight:300;
	letter-spacing:1px;
	text-transform: uppercase;
	padding: 2px 12px 4px 12px;
	margin-right: 5px;
}
.label-all-update {
    background-color: #05aeca;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.label-all-news {
    background-color: #fe0125;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.label-all-event {
    background-color: #f99a56;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
	margin-right: 3px;
}
.label-all-promo {
    background-color: #6cbf76;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.imgnewscate {
    position: absolute;
    width: 100%;
    float: left;
}
figure {
	width: 240px;
    height: 140px;
    margin: 8px 13px;
	padding: 0;
	background: transparent;
	overflow: hidden;
}
.img-shine {
	margin-bottom: 5px;
}
.img-shine figure {
	position: relative;
}
.img-shine p {
	display:block;
    margin: 0 0 -2px 5px;
}
.img-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,.3) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.img-shine figure:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}
/* Footer Form */
.footer_menu_box {
    display: block;
    margin-top: 1.0em;
    margin-left: 0.5em;
    font-weight: 200;
    letter-spacing: 0.5px;
    color: #fff;
}
.footer_menu_box li {
	padding-top:5px;
}
.footer_menu_box li a {
	color:#fff;
	-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:#94eaff;
	padding-left:10px;
	font-weight: 300;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
@media(max-width:1170px){
body,html{
	width:1200px;
	}
}
.main-header {
	font-family: 'Prompt',sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #ffffff;	
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 20px 0 25px;
    padding-bottom: 7px;
    text-align: center;
}
.modal-header {
	background-color: #96ebff;
	color: #000000;
}
.modal-dialog {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
	
}
.modal-content {
    height: 100%;
    min-height: 100%;
    height: auto;
    border-radius: 0;
}





.rotate-img{
transition: 1s ease;
}

.rotate-img:hover{
-webkit-transform: rotateZ(-10deg);
-ms-transform: rotateZ(-10deg);
transform: rotateZ(-10deg);
transition: 1s ease;
}





/* News EVENT */
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.column {
  float: left;
  width: 33%;
  margin-bottom: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
  padding: 0 16px;
}

.container::after, .row::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #e56815;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.button:hover {
  background-color: #000000;
}


/**
* Button Group
**/
.button-news {
	-webkit-animation: bounce ease-in-out 5s infinite;
	animation: bounce ease-in-out 5s infinite;
}
.button-news2 {
	-webkit-animation: bounce ease-in-out 6s infinite;
	animation: bounce ease-in-out 6s infinite;
}

/**
* Notice List
 **/
.icon-notice {
	background:url('../../images/icon/icon_notice.html') 20px 8px no-repeat;
}
.icon-event {
	background: url('../../images/icon/icon_event.html') 4px 8px no-repeat;
}
.icon-update {
	background: url('../../images/icon/icon_update.html') 4px 8px no-repeat;
}
.icon-promo {
	background: url('../../images/icon/icon_promo.html') 4px 8px no-repeat;
}
.icon-quest {
	background: url('../../images/icon/icon_quest.html') 4px 8px no-repeat;
}
.icon-faq {
	background: url('../../images/icon/icon_faq.html') 4px 8px no-repeat;
}
.notice-list {
	display: block;
	margin-top: 0.5em;
	max-width: 551px;
}
.notice-list ul > li {
	padding:7px 0 7px 75px;
	border-bottom: 1px dashed #f5f5f5;
	font-family:'Prompt',sans-serif;
	font-size:13px;
	font-weight:normal; 
	color:#405463;
}
.notice-box {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 551px;
}


