@import url(./icons.css);
@import url(https://dev-songkran.github.io/CDN/fonts.min.css);
@import url(https://fonts.googleapis.com/css?family=Kanit:300,400);
@font-face {
    src: url(../fonts/KJR.ttf) format("truetype");
    font-family: KJR;
}

/* html {
  -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
} */
/*
#61af0d
*/

@media print {
    body {
        zoom: 100%
    }
    .max-940{
        max-width:75% !important; 
    }
    .max-260 {
        max-width:25% !important; 
    }
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    .person_index {
        max-width: 100% !important;
        
    }
    .person_index .name_flag {
        max-width: 100% !important;

    }
}


body {
    font-size: 1rem;
    min-width: 1200px;
    background-color: #519406 !important;
    min-height: 100vh;
}

h6 {
    font-size: 16pt;
}

header {
    height: 345px;
    background-image: url(../images/header.jpg);
    background-size: cover;
    position: relative;
}

header:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    background: url(../images/header_tab.png);
    height: 305px;
    width: 100%;
    bottom: 0;
}

header .head-img {
    position: absolute;
    bottom: -120px;
    right: 0;
}

header .sitename {
    font-family: KJR;
    margin-top: -64px;
    padding-left: 30px;
}

header .sitename h4 {
    font-size: 70pt;
    color: #52a500;
    line-height: 0.8;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
    text-align: center;
    margin-bottom: 0;
}

header .sitename h5 {
    text-align: center;
    padding-right: 240px;
    position: relative;
    top: 14px;
    font-size: 28px;
    color: #2c5600;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
}

header .sitename p {
    text-align: center;
    font-size: 24px;
    position: relative;
    top: -12px;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
    color: #2c5600;
}

header .sitename .leaf {
    position: absolute;
    top: 180px;
    left: 70px;
    width: 115px;
}

header .person_head {
    position: absolute;
    top: -50px;
    left: 24px;
    z-index: 1;
}

header .person_head .name_flag {
    top: -150px;
    left: 176px;
    border: 2px solid #fff;
    width: 240px;
}

header .logo {
    position: relative;
    top: -56px;
    left: 33px;
}

header .support_list {
    position: absolute;
    z-index: 12;
    bottom: -30px;
    left: 220px;
    width: 200px;
}

header .support_list .brush {
    display: block;
    text-align: center;
    width: 200px;
    margin-bottom: 12px;
    background: #f39a94;
    font-family: kanit;
    color: #000;
    padding: 7px 0;
    border-radius: 40px;
}

footer {
    margin-left: -15px;
    margin-right: -15px;
    background-image: url(../images/footer.jpg);
    position: relative;
    background-color: #61af0d;
    background-repeat: no-repeat;
}

footer:before {
    content: '';
    background: linear-gradient(to bottom, #fff 34%, transparent 110%);
    left: 0;
    right: 0;
    height: 120px;
    position: absolute;
    display: block;
}

footer .logo_footer {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    top: -44px;
    width: 150px;
    margin: 0 auto;
}

footer:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 150px;
    background-image: url(../images/bg-05.png);
    height: 162px;
    width: 100%;
    background-size: 100% 162px;
    background-repeat: no-repeat;
    z-index: 1;
}

footer .copyright {
    z-index: 12;
    height: 150px;
    font-family: THSarabun_B;
    font-size: 19pt;
    line-height: 1;
    background: #61af0d;
}

footer .copyright h4 {
    font-size: 19pt;
    margin-bottom: 0;
}

footer .copyright .Khun-Saa {
    position: absolute;
    bottom: -10px;
    right: 70px;
}

.topbar {
    background: #61af0d;
    height: 63px;
}

.container {
    min-width: 1200px;
}

.container-fluid {
    min-width: 1200px;
}

.vision {
    background: #1a7d3d;
    height: 67px;
    position: relative;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    z-index: 2;
}

.vision .container {
    position: relative;
}

.vision .container:after {
    content: '';
    height: 108px;
    width: 112px;
    background: url(../images/bg-8.png);
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    display: block;
    margin: 0 auto;
}

.name_flag {
    padding: 10px;
    border-radius: 20px;
    background: #11b1af;
    position: relative;
    z-index: 11;
    font-family: Kanit;
    display: inline-block;
}

.name_flag span {
    display: block;
}

nav .menu {
    position: relative;
    z-index: 12;
    padding-left: 60px;
    padding-top: 10px;
}

nav .menu a {
    position: relative;
    transition: all 0.2s ease-in-out;
    margin: 0 0.8px;
}

nav .menu a:hover {
    text-decoration: none;
}

nav .menu a:hover span {
    transform: scale(1.08);
}

nav .menu a span {
    height: 54px;
    width: 170px;
    background-image: url(../images/bg-04.png);
    background-size: cover;
    display: block;
    text-align: center;
    color: #fff;
    font-family: Kanit;
    font-size: 16px;
    line-height: 53px;
    transition: all 0.2s ease-in-out;
}

.person_index {
    position: absolute;
    z-index: 12;
    top: -210px;
    right: -10px;
}

.person_index img {
    position: relative;
    left: -5px;
}

.person_index .name_flag {
    top: -10px;
    left: 5px;
}

.bn-radius {
    border-bottom-left-radius: 18px;
    border-top-right-radius: 18px;
    position: relative;
    z-index: 2;
}

.menu-left {
    border-left: 8px solid #40b906;
}

.menu-left .menu-topic {
    height: 72px;
    background: url(../images/bg-1.png);
    background-repeat: no-repeat;
    text-align: center;
    line-height: 80px;
    position: relative;
    left: -14px;
    margin-top: -15px;
    font-family: Kanit;
    font-size: 20px;
    margin-bottom: 15px;
    width: 230px;
}

.menu-left .menu-list,
.menu-left .menu-list-1,
.menu-left .menu-list-2 {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    margin-left: -8px;
    display: block;
    padding: 12px 10px;
    font-family: kanit;
    color: #111;
    font-size: 16px;
}

.menu-left .menu-list-1 {
    background: #94aff4;
    border-left: 8px solid #0242e2;
}

.menu-left .menu-list-2 {
    background: #f58c0f;
    border-left: 8px solid #b86401;
}

.menu-left .menu-logo {
    margin-right: -23px;
    margin-left: -23px;
    position: relative;
}

.menu-left .menu-logo:after {
    position: absolute;
    content: '';
    height: 20px;
    background: #0242e2;
    left: 0;
    right: 0;
    width: 260px;
    top: 30px;
}

.menu-left .menu-logo img {
    position: relative;
    z-index: 5;
    display: block;
    margin: 0 auto;
}

.content .content-topic {
    height: 59px;
    font-family: Kanit;
    width: 430px;
    background: url(../images/bg-4.png);
    line-height: 59px;
    padding-left: 60px;
    font-size: 18px;
    position: relative;
    margin-bottom: -13px;
    margin-left: -5px;
}

.content .content-topic:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    height: 59px;
    width: 66px;
    background: url(../images/tealeaf.png);
    background-size: cover;
}

.content .content-body {
    padding: 20px;
}

.content .content-body.green {
    background-color: #1a7d3d;
}

.max-260 {
    max-width: 260px !important;
}

.max-940 {
    max-width: 940px !important;
}

.topic-slider {
    margin-bottom: -20px;
    position: relative;
    z-index: 15;
    left: -10px;
    margin-top: -40px;
}

.topic-slider span {
    background-image: url(../images/bg-06.png);
    height: 50px;
    width: 214px;
    display: inline-block;
    background-size: cover;
    color: #1a1a1a;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    line-height: 40px;
    font-family: THSarabun_B;
    font-size: 19pt;
    padding: 0 20px;
    padding-left: 54px;
    position: relative;
}

.topic-slider span:before {
    content: '';
    position: absolute;
    top: -7px;
    left: -10px;
    height: 62px;
    width: 60px;
    background-image: url(../images/icon-04.png);
    background-size: contain;
}

.topic-gallery {
    position: relative;
    z-index: 15;
}

.topic-gallery span {
    background-image: url(../images/bg-06.png);
    height: 50px;
    width: 214px;
    display: inline-block;
    background-size: cover;
    color: #1a1a1a;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    line-height: 40px;
    font-family: THSarabun_B;
    font-size: 19pt;
    padding: 0 20px;
    padding-left: 54px;
    position: relative;
}

.topic-gallery span:before {
    content: '';
    position: absolute;
    top: -7px;
    left: -10px;
    height: 62px;
    width: 60px;
    background-image: url(../images/icon-04.png);
    background-size: contain;
}

.pattern,
.pattern-end {
    position: relative;
}

.pattern:before,
.pattern-end:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -114px;
    background-image: url(../images/bg-05.png);
    height: 162px;
    width: 100%;
    background-size: 100% 162px;
    background-repeat: no-repeat;
    z-index: 1;
}

.pattern:after,
.pattern-end:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -114px;
    background-image: url(../images/bg-05.png);
    transform: rotate(180deg);
    height: 162px;
    width: 100%;
    background-size: 100% 162px;
    background-repeat: no-repeat;
    z-index: 1;
}

.pattern .bg,
.pattern-end .bg {
    background: #61af0d;
}

.pattern-end::before {
    content: unset;
}

.pattern-end:after {
    transform: rotate(0deg);
    bottom: 0;
}

.card.custom {
    background-color: #b1f502 !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 10px;
    padding: 6px;
}

.card.custom .card-date,
.card.custom .card-topic {
    font-family: THSarabun_B;
    padding: 0 8px;
    line-height: 0.9;
    margin-bottom: 5px;
}

.card.custom .card-topic {
    font-size: 22px;
    padding-left: 0;
}

.card.custom .card-body {
    background: #61af0d;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px;
}

.card.custom .card-body .subject {
    font-family: THSarabun_B;
    color: #fff;
    font-size: 21px;
    height: 31px;
    overflow: hidden;
    margin-bottom: 5px;
}

.card.custom .card-body .more {
    font-family: THSarabun_B;
    display: inline-block;
    padding: 4px 14px;
    background: #b1f502;
    line-height: 1;
    text-decoration: none;
    color: #111;
    border-radius: 40px;
}

.card.custom .card-footer {
    padding: 4px 7px;
    margin-left: -6px;
    margin-right: -6px;
    margin-bottom: -6px;
    border-top: 0;
}

.card.custom .card-footer .more {
    font-family: THSarabun_B;
    display: inline-block;
    padding: 4px 14px;
    background: #dd763c;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    border-radius: 40px;
}

.card.custom.color,
.card.custom.color-green,
.card.custom.color-green_light,
.card.custom.color-green_light-2,
.card.custom.color-brown,
.card.custom.color-brown_light,
.card.custom.color-cyan,
.card.custom.color-blue,
.card.custom.color-sky {
    border-radius: 4px !important;
}

.card.custom.color .card-body,
.card.custom.color-green .card-body,
.card.custom.color-green_light .card-body,
.card.custom.color-green_light-2 .card-body,
.card.custom.color-brown .card-body,
.card.custom.color-brown_light .card-body,
.card.custom.color-cyan .card-body,
.card.custom.color-blue .card-body,
.card.custom.color-sky .card-body {
    background: transparent;
    padding: 0;
}

.card.custom.color .card-body .subject,
.card.custom.color-green .card-body .subject,
.card.custom.color-green_light .card-body .subject,
.card.custom.color-green_light-2 .card-body .subject,
.card.custom.color-brown .card-body .subject,
.card.custom.color-brown_light .card-body .subject,
.card.custom.color-cyan .card-body .subject,
.card.custom.color-blue .card-body .subject,
.card.custom.color-sky .card-body .subject {
    color: #111;
}

.card.custom.color-green {
    background-color: #a1cc3e !important;
}

.card.custom.color-green .card-footer {
    background: #63a414;
}

.card.custom.color-green_light {
    background-color: #b2d169 !important;
}

.card.custom.color-green_light .card-footer {
    background: #7e9545;
}

.card.custom.color-green_light-2 {
    background-color: #d4dc77 !important;
}

.card.custom.color-green_light-2 .card-footer {
    background: #b4bd52;
}

.card.custom.color-brown {
    background-color: #c66e02 !important;
}

.card.custom.color-brown .card-footer {
    background: #dd9b4f;
}

.card.custom.color-brown_light {
    background-color: #dca57e !important;
}

.card.custom.color-brown_light .card-footer {
    background: #956849;
}

.card.custom.color-cyan {
    background-color: #39dfaf !important;
}

.card.custom.color-cyan .card-footer {
    background: #0b8c63;
}

.card.custom.color-blue {
    background-color: #39c1cd !important;
}

.card.custom.color-blue .card-footer {
    background: #268d96;
}

.card.custom.color-sky {
    background-color: #538ec8 !important;
}

.card.custom.color-sky .card-footer {
    background: #005fb8;
}

.newsbid .head {
    font-family: THSarabun_B;
    position: relative;
}

.newsbid .head span {
    display: inline-block;
    padding: 5px 14px;
    background: #b07107;
    min-width: 220px;
    border-radius: 40px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.newsbid .head::after {
    content: '';
    position: absolute;
    height: 40px;
    left: 15px;
    right: 15px;
    top: 20px;
    border: 3px solid #b07107;
    z-index: 0;
    border-radius: 6px;
}

.newsbid .body {
    background: #eab704;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    padding: 13.5px;
    padding-top: 0;
    border: 3px solid #b07107;
}

.newsbid .body .stroke {
    border-left: 1px solid #b07107;
    border-right: 1px solid #b07107;
    padding: 15px;
    padding-left: 0;
    padding-top: 13.5px;
}

.newsbid .body .stroke a {
    background-color: transparent !important;
    text-decoration: none;
    color: #111;
    border-color: transparent !important;
    font-family: THSarabun;
    font-size: 22px;
    line-height: 1;
    transition: all 0.2s ease-in-out;
}

.newsbid .body .stroke a img {
    width: 40px;
    display: inline-block;
}

.newsbid .body .stroke a span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.newsbid .body .stroke a time {
    font-size: 18px;
    color: #b07107;
}

.newsbid .body .stroke a:hover {
    color: #fff;
}

.newsbid .body .view_all {
    background: #b07107;
    border-radius: 0 !important;
    color: #fff;
    font-family: THSarabun;
    font-size: 20px;
    transition: all 0.2s ease-in-out;
}

.newsbid .body .view_all:hover {
    font-family: THSarabun_B !important;
    color: #fff;
}

.news_frame {
    background: #1a7d3d;
}

.news_frame .news_topic {
    position: relative;
    height: 60px;
    line-height: 60px;
    font-family: THSarabun_B;
    color: #fff;
    font-size: 26px;
    padding-left: 110px;
}

.news_frame .news_topic:before {
    content: '';
    position: absolute;
    left: 0;
    background-image: url(../images/tea-leaf2.png);
    height: 80px;
    width: 100px;
    background-size: cover;
    bottom: 22px;
}

.menu_item {
    padding: 3px 15px;
    background: #cae244;
    border-radius: 40px;
    color: #000;
    font-family: THSarabun_B;
    font-size: 22px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.menu_item:hover {
    text-decoration: none;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    color: #000;
}

.data_topic {
    margin: 0;
    text-align: center;
    font-family: THSarabun;
    color: #fff;
    position: relative;
}

.data_topic span {
    padding: 18px;
    display: inline-block;
}

.data_topic:after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 40px solid #376703;
    display: block;
    margin: 0 auto;
}

.bg-green {
    background: #376703;
}

.bg-green.border_top {
    border-top: 15px solid #a45129;
}

.crf .head h4 {
    font-family: THSarabun;
    font-size: 25px;
    position: relative;
    padding: 3px 0;
    padding-left: 65px;
    margin-bottom: 0;
    border: 1px solid #c0acac;
    background: #585858;
    border-radius: 40px;
    color: #ffe500;
}

.crf .head h4:before {
    content: '';
    position: absolute;
    left: -5px;
    top: -5px;
    height: 45px;
    width: 57px;
    background-image: url(../images/icon-news.png);
    background-size: cover;
    background-position: center;
}

.youtube .head h4 {
    font-family: THSarabun;
    font-size: 25px;
    position: relative;
    padding: 3px 0;
    padding-left: 65px;
    margin-bottom: 0;
    border: 1px solid #fa8686;
    background: #e61a1a;
    border-radius: 40px;
    color: #fff;
}

.youtube .head h4:before {
    content: '';
    position: absolute;
    left: -5px;
    top: -10px;
    height: 57px;
    width: 57px;
    background-size: cover;
    background-position: center;
    background-image: url(../images/icon-VDO.png);
}

.iframe_frame {
    border-radius: 10px;
    overflow: hidden;
}

.iframe_frame .head {
    text-align: center;
    background: #04b996;
    color: #fff;
    font-family: THSarabun;
    font-size: 25px;
}

.iframe_frame .body {
    background: #c6f6c6;
    padding: 10px;
}