/**
* 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;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: url('../../images/point.cur'), auto;
}

a {
    cursor: url('../../images/link.cur'), auto;
}

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;
}

/**
*  Particles JS
**/

#particles-js {
    position: absolute;
    width: 100%;
    height: 800px;
    top: 0px;
    background-image: url('');
    background-repeat: repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 2;
    pointer-events: none;
}

/**
* Header Box Wrapper
**/

.wrapper {
    width: 100%;
    min-width: 1200px;
    height: 2204px;
    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: 2204px;
    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: -157.5em auto;
}

.header_img {
    width: 1200px;
    height: 0;
    position: absolute;
    z-index: 3;
}

.header_img>div {
    position: absolute;
}

.header_logo {
    z-index: 99;
    -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(.93)
    }
    45% {
        transform: scale(1.04)
    }
    60% {
        transform: scale(1)
    }
}

@keyframes logo {
    0% {
        transform: scale(1)
    }
    20% {
        transform: scale(1.05)
    }
    30% {
        transform: scale(.93)
    }
    45% {
        transform: scale(1.04)
    }
    60% {
        transform: scale(1)
    }
}

.status_text {
    -webkit-animation: 8s slogo infinite linear;
    -moz-animation: 8s slogo infinite linear;
    animation: 8s slogo infinite linear;
}

@-webkit-keyframes slogo {
    from,
    50%,
    to {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0;
    }
}

@keyframes slogo {
    from,
    50%,
    to {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0;
    }
}

/**
* Allnews Event Box
**/

.allnews-row {
    margin-right: 5px;
    margin-left: 8px;
}

.allnews-col {
    position: relative;
    min-height: 1px;
    padding-right: 8px;
    padding-left: 8px;
    float: left;
    width: 33.33333333%;
}

.allnews-box {
    margin-top: 10px;
    width: 266px;
    height: 300px;
    position: relative;
    padding: 10px;
    margin-bottom: 0.5em;
    background-color: #141414;
    border: solid 1px #2a2a2a;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.allnews-box:hover {
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

figure {
    margin: -10px 0 0 -10px;
}

figure {
    width: 265px;
    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: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #00FBFF;
    padding: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-overflow: '...';
}

.allnews-text {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.8px;
    color: #d2d2d2;
    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: #f9ff97;
    background-color: #1b1b1b;
    border-color: #353535;
    letter-spacing: 0.5px;
    font-weight: 200;
}

.btn-view:hover {
    color: #fff;
    background-color: #212121;
    border-color: #000000;
}

.btn-view:focus,
.btn-view.focus {
    color: #fffa57;
    background-color: #292929;
    border-color: #000000;
    outline: 0 !important;
}

.btn-view:active,
.btn-view.active {
    color: #fffa57;
    background-color: #292929;
    border-color: #000000;
}

.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;
}

/**
* Notice List
 **/

.icon-notice {
    background: url('../../images/icon/news.png') no-repeat;
    margin-top: 5px;
}

.icon-event {
    background: url('../../images/icon/event.png') no-repeat;
    margin-top: 5px;
}

.notice-list ul li {
    padding: 0 0 7px 60px;
    font-family: 'Prompt', sans-serif;
    font-size: 12px;
    font-weight: 200;
    color: #fff;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    transition: .3s all;
}

.notice-list ul li:hover {
    padding: 0 0 7px 65px;
    font-family: 'Prompt', sans-serif;
    font-size: 12px;
    font-weight: 200;
    color: #ff0;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    transition: .3s all;
}

.notice-list ul li a {
    font-family: Tahoma;
    font-size: 12px;
    color: #009a71;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    transition: .3s all;
}

.notice-list ul li a:hover {
    font-family: Tahoma;
    font-size: 12px;
    color: #69debf;
    text-decoration: none;
    -webkit-transition: .3s all;
    -moz-transition: .3s all;
    -ms-transition: .3s all;
    transition: .3s all;
}

.notice-list ul li p {
    float: right;
    color: #696969;
    font-family: Tahoma;
    font-size: 11px;
    padding-right: 0px;
    padding-top: 2px;
}

/* 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;
    }
}