@font-face {
  font-family: 'thai_sans';
  src: url("../font/thaisansneue-regular.eot");
  src: url("../font/thaisansneue-regular.eot?#iefix") format("embedded-opentype"), url("../font/thaisansneue-regular.woff2") format("woff2"), url("../font/thaisansneue-regular.woff") format("woff"), url("../font/thaisansneue-regular.ttf") format("truetype"), url("../font/thaisansneue-regular.svg#thai_sans_literegular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'cs_prajad';
  src: url("../font/csprajad.eot");
  src: url("../font/csprajad.eot?#iefix") format("embedded-opentype"), url("../font/csprajad.woff2") format("woff2"), url("../font/csprajad.woff") format("woff"), url("../font/csprajad.ttf") format("truetype"), url("../font/csprajad.svg#csprajad") format("svg");
  font-weight: normal;
  font-style: normal;
}
body {
  margin: 0;
  background: #fafafa;
  font-family: "cs_prajad", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.2em;
}

div {
  color: #555;
}

p, span {
  font-size: 100%;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #578a7b;
}
a:hover, a:focus {
  color: #857c73;
  text-decoration: none;
  outline: 0 none;
}

form, input, .input-append, .carousel {
  margin: 0;
}

.underline {
  position: relative;
  border-bottom: 1px solid #ffd550;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.clear-float {
  clear: both;
  float: none !important;
}

.desktop {
  display: inherit;
}

.mobile {
  display: none;
}

.font {
  font-family: thai_sans;
}

.fix-width {
  width: 1000px;
  margin: 0 auto;
}

.header {
  display: block;
  width: 100%;
}

.main {
  min-height: 180px;
  width: 1000px;
  margin: 46px auto 0px;
  background-color: white;
  -webkit-box-shadow: rgba(0, 0, 0, 0.29804) 0px 3px 7px 0px;
  box-shadow: rgba(0, 0, 0, 0.29804) 0px 3px 7px 0px;
  /* For Slide */
  /* Article-list */
  /* Version original */
}
.main .cover {
  display: block;
  background-color: white;
  overflow: hidden;
  text-align: center;
  font-family: 'thai_sans';
  font-size: 2.5em;
  font-weight: bold;
  line-height: 2em;
  padding: 10px 0;
}
.main .cover table {
  width: 100%;
}
.main .cover table td {
  border: 0px;
  text-align: center;
  vertical-align: middle;
}
.main .cover img {
  width: 400px;
  /*max-height: 120px;*/
  /*margin: 10px 0;*/
}
.main .cover img:hover {
  				/*opacity: 0.3;
  transition: all .5s ease;*/
}
.main .cover-block {
  display: block;
  text-align: center;
}
.main .cover-block img {
  height: 120px;
}
.main .cover-block span {
  display: block;
  font-family: 'thai_sans';
  font-size: 3em;
  color: #555;
  margin: 0 0 20px 0;
}
.main .welcome {
  width: 100%;
  background: #45b39e;
  display: none;
}
.main .welcome h1 {
  font-family: thai_sans;
  color: white;
  display: block;
  margin: 30px 0 0;
  font-size: 3em;
  line-height: 3em;
  text-align: center;
  float: left;
  width: 100%;
}
.main .welcome .detail {
  font-family: thai_sans;
  color: white;
  font-size: 1.2em;
  display: block;
  text-align: center;
  float: left;
  margin: 10px 3% 30px;
  width: 94%;
  line-height: 28px;
}
.main .wrapper {
  display: block;
  width: auto;
  border-top: 1px solid #d0d3d8;
  background-color: #f1f2f4;
}
.main .wrapper .wrapper-left {
  width: 219px;
  float: left;
}
.main .wrapper .wrapper-left .moduletable {
  font-family: thai_sans;
}
.main .wrapper .wrapper-left .moduletable h1, .main .wrapper .wrapper-left .moduletable h2, .main .wrapper .wrapper-left .moduletable h3, .main .wrapper .wrapper-left .moduletable h4, .main .wrapper .wrapper-left .moduletable h5, .main .wrapper .wrapper-left .moduletable h6 {
  padding: 10px 9px;
  font-size: 1.2em;
  line-height: 0.8em;
  display: block;
  color: #656567;
  font-weight: normal;
  border-bottom: 1px solid #e5e5e5;
  margin: 0 20px 5px;
  cursor: pointer;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.main .wrapper .wrapper-left .moduletable h1 span, .main .wrapper .wrapper-left .moduletable h2 span, .main .wrapper .wrapper-left .moduletable h3 span, .main .wrapper .wrapper-left .moduletable h4 span, .main .wrapper .wrapper-left .moduletable h5 span, .main .wrapper .wrapper-left .moduletable h6 span {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.main .wrapper .wrapper-left .moduletable h1 i, .main .wrapper .wrapper-left .moduletable h2 i, .main .wrapper .wrapper-left .moduletable h3 i, .main .wrapper .wrapper-left .moduletable h4 i, .main .wrapper .wrapper-left .moduletable h5 i, .main .wrapper .wrapper-left .moduletable h6 i {
  float: right;
  font-size: 0.7em;
  line-height: 0.7em;
  margin: 3px 0 0 0;
}
.main .wrapper .wrapper-left .moduletable .menu li {
  display: block;
}
.main .wrapper .wrapper-left .moduletable .menu li a {
  display: block;
  font-size: 1.05em;
  padding: 8px 0px 9px 21px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  line-height: 0.8em;
  color: #616263;
}
.main .wrapper .wrapper-left .moduletable .menu li a:before {
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  content: '';
  border-right: 5px solid #857c73;
  margin-right: 10px;
}
.main .wrapper .wrapper-left .moduletable .menu li a:hover {
  color: #578a7b;
  background-color: #D0D3D9;
}
.main .wrapper .wrapper-left .moduletable .menu li a:hover:before {
  border-right: 5px solid #639985;
}
.main .wrapper .wrapper-left .moduletable .menu li.current a {
  color: #578a7b;
}
.main .wrapper .wrapper-left .moduletable .menu li.current a:before {
  border-right: #ffaa09 solid 5px;
}
.main .wrapper .wrapper-right {
  float: right;
  width: 779px;
  min-height: 600px;
  border-left: 1px solid #d0d3d8;
  background: white;
}
.main .wrapper-full {
  width: 100%;
}
.main .slide-box {
  position: relative;
}
.main .slide-box:hover .owl-buttons {
  display: block;
}
.main .owl-item {
  max-height: 300px;
  overflow: hidden;
}
.main .owl-item img {
  width: 100%;
}
.main .owl-controls {
  margin: 0px;
}
.main .owl-controls .owl-prev {
  position: absolute;
  top: 45%;
  left: 0px;
  padding: 5px 10px 5px 5px;
  font-size: 28px;
}
.main .owl-controls .owl-next {
  position: absolute;
  top: 45%;
  right: 0px;
  padding: 5px 5px 5px 10px;
  font-size: 28px;
}
.main .owl-pagination {
  display: none;
}
.main .owl-buttons {
  display: none;
}
.main .head-wrapper {
  font-family: thai_sans;
  font-weight: 400;
  font-size: 1.7em;
  line-height: 1em;
  display: block;
  margin: 0px;
  padding: 10px;
  border-bottom: 1px solid #e5e5e5;
  background-color: #45b39e;
  color: white;
}
.main .head-wrapper .head-wrap-bg {
  background-color: white;
}
.main .article-list {
  padding: 10px;
  border-bottom: 1px solid #e5e5e5;
  background: white;
  display: block;
  position: relative;
}
.main .article-list .bubble-image, .main .article-list .bubble-time {
  width: 50px;
  height: 44px;
  background: #45b39e;
  border-radius: 50%;
  color: white;
  border: 3px solid #e5e5e5;
  position: absolute;
  left: 25px;
  top: 8px;
  font-size: 0.7em;
  padding: 3px 0;
  text-align: center;
  overflow: hidden;
}
.main .article-list .bubble-image span, .main .article-list .bubble-time span {
  font-size: 20px;
  display: block;
  line-height: 12px;
  margin: 9px 0 0px 0;
}
.main .article-list .bubble-image {
  padding: 0px;
  height: 50px;
}
.main .article-list .bubble-image img {
  width: 50px;
}
.main .article-list .text-box {
  display: block;
  margin: 6px 0 6px 100px;
}
.main .article-list .text-box .title {
  font-size: 0.7em;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
}
.main .article-list .text-box .text-date {
  font-size: 0.7em;
  color: #857c73;
  display: block;
}
.main .article-list.odds {
  background: #fafafa;
}
.main .article-list.odds .bubble-image, .main .article-list.odds .bubble-time {
  border: 3px solid #45b39e;
}
.main .article-list.odds:hover {
  background: #e5e5e5;
}
.main .article-list:hover {
  background: #e5e5e5;
}
.main .article-grid {
  width: 25%;
  background: white;
  display: block;
  float: left;
  overflow: hidden;
}
.main .article-grid .inner {
  padding: 5px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.main .article-grid img {
  border-radius: 50%;
  margin: 10px auto 0;
  width: 100px;
  height: 100px;
  display: block;
}
.main .article-grid .bubble-time {
  width: 100px;
  height: 100px;
  background: #45b39e;
  border-radius: 50%;
  color: white;
  margin: 10px auto 0;
  font-size: 0.7em;
  text-align: center;
}
.main .article-grid .bubble-time span {
  font-size: 24px;
  display: block;
  line-height: 12px;
  padding: 36px 0 0px 0;
}
.main .article-grid .title {
  font-size: 0.7em;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  margin: 8px 0 0 0;
}
.main .article-grid .text-date {
  font-size: 0.7em;
  line-height: 0.9em;
  color: #857c73;
  display: block;
}
.main .article-content {
  padding: 10px;
  overflow: hidden;
  display: block;
  min-height: 400px;
  font-size: 0.8em;
  font-weight: bold;
}
.main .article-content h1, .main .article-content h2, .main .article-content h3, .main .article-content h4, .main .article-content h5 {
  font-family: 'thai_sans';
}
.main .article-content ul li {
  font-size: 100%;
  line-height: 2em;
}
.main .article-content p, .main .article-content a, .main .article-content span {
  font-size: 100%;
}
.main .article-comment {
  padding: 10px;
  overflow: hidden;
  display: block;
  min-height: 100px;
}
.main .article-comment .fb_iframe_widget {
  width: 100%;
}
.main .article-comment .fb_iframe_widget span, .main .article-comment .fb_iframe_widget iframe {
  width: 100% !important;
}
.main .pager {
  margin: 0px;
  padding: 10px;
}
.main .pager a {
  font-size: 0.7em;
  border-radius: 0px;
  color: #45b39e;
  display: block;
  background-color: #3e4942;
  border: 0px;
}
.main .pager a:hover {
  color: white;
  background-color: #3e4942;
}
.main .personal-card {
  width: 50%;
  float: left;
  margin: 0px 0 20px;
}
.main .personal-card .image {
  float: left;
  width: 120px;
  height: 120px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  -webkit-box-shadow: rgba(0, 0, 0, 0.29804) 0px 3px 7px 0px;
  box-shadow: rgba(0, 0, 0, 0.29804) 0px 3px 7px 0px;
  overflow: hidden;
  margin: 0 10px 0 0;
}
.main .personal-card .profile {
  padding: 4px 0 0 0;
}
.main .personal-card .name {
  font-size: 1.4em;
  line-height: 1.2em;
  font-family: 'thai_sans';
  display: block;
}
.main .personal-card .position {
  font-size: 1em;
  font-family: 'thai_sans';
  display: block;
  margin: 0 0 10px 0;
}
.main .personal-card .tel, .main .personal-card .email, .main .personal-card .website {
  font-size: 0.7em;
}
.main .navigation {
  float: right;
  display: block;
  margin: 10px;
}
.main .navigation a {
  float: left;
  padding: 2px 4px;
  color: #45b39e;
  display: block;
  background: #3e4942;
  width: 20px;
  text-align: center;
  margin-left: 3px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.main .navigation a:hover, .main .navigation a.current {
  color: white;
  background: #3e4942;
  width: 20px;
  text-align: center;
}

.logo-footer {
  font-size: 1.5em;
  font-family: thai_sans;
}
.logo-footer span {
  display: block;
  font-size: 100%;
}
.logo-footer .line-white {
  color: white;
  font-size: 80%;
}
.logo-footer .line-yellow {
  color: #ffd550;
}
.logo-footer .line3 {
  padding-top: 4px;
  color: #45b39e;
  font-size: 90%;
}

.footer {
  background: #3e4942 url(../images/foot-back.jpg);
  padding: 0px;
  margin: 0px 0 0px 0;
  width: auto;
}
.footer .foot-colone {
  display: block;
  float: left;
  margin: 36px;
  color: white;
}
.footer .foot-colone a {
  display: block;
  margin: 0 0 15px 0;
}
.footer .foot-colone a img:hover {
  /*opacity: 0.3;
  transition: all .5s ease;*/
}
.footer .foot-colone .moduletable h1, .footer .foot-colone .moduletable h2, .footer .foot-colone .moduletable h3, .footer .foot-colone .moduletable h4, .footer .foot-colone .moduletable h5, .footer .foot-colone .moduletable h6 {
  display: none;
}
.footer .foot-colone .moduletable .custom {
  color: #fff;
  font-size: 0.8em;
}
.footer .social {
  float: right;
  margin: 55px 36px 0 0;
}
.footer .social a {
  color: white;
  font-size: 2.4em;
  display: block;
  float: left;
  margin: 0 0 0 30px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.footer .social a.facebook:hover {
  color: #47639E;
}
.footer .social a.twitter:hover {
  color: #55ACEE;
}
.footer .social a.google:hover {
  color: #D52825;
}
.footer .copyright {
  text-align: center;
  padding: 1em;
  font-size: 0.7em;
  font-weight: 400;
  color: #3e4947;
  background: #45b39e;
  border-top: #ffaa09 solid 2px;
  vertical-align: baseline;
}

/* Nav bar */
.nav-bar {
  display: block;
  width: 100%;
  background-color: #45b39e;
  -webkit-box-shadow: rgba(0, 0, 0, 0.29804) 0px 3px 7px 0px;
  box-shadow: rgba(0, 0, 0, 0.29804) 0px 3px 7px 0px;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 2;
  border-bottom: 4px solid #578a7b;
}
.nav-bar .moduletable {
  display: inline;
}
.nav-bar .moduletable h1, .nav-bar .moduletable h2, .nav-bar .moduletable h3, .nav-bar .moduletable h4, .nav-bar .moduletable h5, .nav-bar .moduletable h6 {
  display: none;
}
.nav-bar .menu-collapse {
  display: none;
}
.nav-bar .nav {
  float: left;
  margin: 0px;
}
.nav-bar .nav > li {
  float: left;
  display: block;
  position: relative;
}
.nav-bar .nav > li > a, .nav-bar .nav > li .mod-languages > a {
  font-family: thai_sans;
  font-size: 1.1em;
  height: 24px;
  padding: 10px;
  display: block;
  color: white;
  line-height: 1.3em;
  font-weight: 400;
  cursor: pointer;
  border-right: 1px solid #578a7b;
  background-color: #45b39e;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.nav-bar .nav > li > a:hover, .nav-bar .nav > li .mod-languages > a:hover {
  color: white;
  background-color: #639985;
  padding: 10px;
  overflow: hidden;
}
.nav-bar .nav > li.first a {
  border-left: 1px solid #578a7b;
}
.nav-bar .nav > li.active a {
  background: #578a7b;
}
.nav-bar .nav > li.active a:hover {
  background-color: #639985;
}
.nav-bar .nav-right {
  float: right;
}
.nav-bar .nav-lang ul, .nav-bar .nav-child {
  display: none;
  position: absolute;
  top: 44px;
  left: 0px;
  background: #578a7b;
  width: 320px;
}
.nav-bar .nav-lang ul li, .nav-bar .nav-child li {
  display: block;
  float: none;
  margin: 0px;
}
.nav-bar .nav-lang ul li a, .nav-bar .nav-child li a {
  font-family: thai_sans;
  font-size: 20px;
  height: 24px;
  padding: 10px;
  display: block;
  color: white;
  line-height: 24px;
  cursor: pointer;
  background-color: #45b39e;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.nav-bar .nav-lang ul li a:hover, .nav-bar .nav-child li a:hover {
  background-color: #639985;
}
.nav-bar .nav-lang ul, .nav-bar .nav-search ul {
  min-width: 80px;
  width: auto;
}
.nav-bar .nav-search ul {
  left: auto;
  right: 0px;
}
.nav-bar .nav-search ul li {
  padding: 5px;
}

/* Nav bar */
/* Joomla */
/* feature */
/* Catagory List */
.category-list .content-category {
  margin: 0px;
  padding: 0px;
  border-bottom: 0px;
}
.category-list .content-category h2 {
  font-family: thai_sans;
  color: white;
  background-color: #45b39e;
  font-size: 25px;
  font-weight: normal;
  line-height: 25px;
  display: block;
  margin: 0px;
  padding: 10px;
}
.category-list .content-category h2 a {
  color: white;
  text-decoration: none;
}
.category-list .content-category .filters {
  background: #fafafa;
  margin: 0px;
  padding: 10px;
}
.category-list .content-category .catagory-list-ul {
  width: 100%;
  margin: 0;
  padding: 0;
}
.category-list .content-category .catagory-list-ul li {
  width: 25%;
  float: left;
  display: block;
}
.category-list .content-category .list-card {
  margin: 5px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  position: relative;
}
.category-list .content-category .list-card:hover {
  border-color: #639985;
}
.category-list .content-category .list-image {
  width: 100%;
  height: 150px;
  border-bottom: 2px solid #639985;
}
.category-list .content-category .list-catagory {
  position: absolute;
  color: #FFF;
  background: #639985;
  top: 125px;
  left: 5px;
  padding: 0 3px;
  border-radius: 2px;
  font-size: 10px;
}
.category-list .content-category .list-title {
  display: block;
  padding: 10px;
  font-size: 14px;
  line-height: 16px;
  height: 26px;
  overflow: hidden;
  text-align: center;
}
.category-list .content-category .list-hits {
  float: left;
  font-size: 10px;
  margin: 0 0 5px 10px;
  color: #d0d3d8;
}
.category-list .content-category .list-date {
  float: right;
  font-size: 10px;
  margin: 0 10px 5px 0;
  color: #d0d3d8;
}

/*Search Module*/
.search {
  font-weight: 400;
  font-size: 25px;
  line-height: 25px;
  display: block;
  width: 100%;
}
.search .page-title {
  font-family: thai_sans;
  background-color: #45b39e;
  color: white;
  border-bottom: 1px solid grey-odds;
}

/*Begin Componant*/
/* Article info */
.article-info {
  margin: 5px 0;
  display: block;
  display: block;
  padding: 0px;
  font-size: 0.6em;
  color: #857c73;
}
.article-info .article-info-term, .article-info .createdby {
  display: none;
}
.article-info .date, .article-info .catalog {
  float: left;
  margin: 5px 5px 5px 0px;
}
.article-info dd {
  float: left;
  margin: 0 10px 0 0;
}

.article-single .article-info {
  margin: 0px;
  background: #fafafa;
  padding: 0 0 0 15px;
}

.breadcrumb {
  width: auto;
  border-radius: 0px;
  float: none;
  font-size: 0.7em;
  color: #45b39e;
  margin: 0px;
  padding: 5px;
  background: whitesmoke;
}
.breadcrumb a {
  color: #639985;
}

.blog-featured .page-header, .blog .page-header, .search-box .page-header {
  margin: 0px;
  padding: 0px;
  border-bottom: 1px solid grey-odds;
}
.blog-featured .page-header h1, .blog .page-header h1, .search-box .page-header h1 {
  font-family: thai_sans;
  color: white;
  background-color: #45b39e;
  font-size: 25px;
  font-weight: normal;
  line-height: 25px;
  display: block;
  margin: 0px;
  padding: 10px;
}
.blog-featured .page-header h1 a, .blog .page-header h1 a, .search-box .page-header h1 a {
  color: white;
  text-decoration: none;
}
.blog-featured .category_box, .blog .category_box, .search-box .category_box {
  background: whitesmoke;
  padding: 10px;
  display: block;
  font-size: 20px;
  font-family: thai_sans;
}
.blog-featured .category_box h1, .blog-featured .category_box h2, .blog-featured .category_box h3, .blog .category_box h1, .blog .category_box h2, .blog .category_box h3, .search-box .category_box h1, .search-box .category_box h2, .search-box .category_box h3 {
  font-size: 20px;
  margin: 0px;
  padding: 0px;
  line-height: 20px;
}
.blog-featured .category_box .tags, .blog .category_box .tags, .search-box .category_box .tags {
  padding: 3px 0 3px 0;
  margin: 3px 0 0 0;
}
.blog-featured .category_box .tags span, .blog .category_box .tags span, .search-box .category_box .tags span {
  font-size: 16px;
  line-height: 16px;
}
.blog-featured .category_box .category-desc, .blog .category_box .category-desc, .search-box .category_box .category-desc {
  font-size: 14px;
  line-height: 16px;
  margin: 3px;
  text-indent: 30px;
}
.blog-featured .item, .blog .item, .search-box .item {
  padding: 10px;
  border-bottom: 1px solid #e5e5e5;
  display: block;
  position: relative;
  min-height: 100px;
}
.blog-featured .item:hover, .blog .item:hover, .search-box .item:hover {
  background-color: #e5e5e5;
}
.blog-featured .odds, .blog .odds, .search-box .odds {
  background-color: #fafafa;
}
.blog-featured .item-box, .blog .item-box, .search-box .item-box {
  display: block;
  margin: 0 0 0 110px;
}
.blog-featured .item-image, .blog .item-image, .search-box .item-image {
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.blog-featured .item-title, .blog .item-title, .search-box .item-title {
  font-family: thai_sans;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1em;
  display: block;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  margin: 0;
  padding: 0px 0 3px 0;
}
.blog-featured .item-title a, .blog .item-title a, .search-box .item-title a {
  color: #656567;
}
.blog-featured .item-title a:hover, .blog .item-title a:hover, .search-box .item-title a:hover {
  color: #45b39e;
}
.blog-featured .item-title:after, .blog .item-title:after, .search-box .item-title:after {
  content: "";
  position: absolute;
  width: 25px;
  height: 2px;
  background: #45b39e;
  bottom: -1px;
  left: 0;
}
.blog-featured .intro-text, .blog .intro-text, .search-box .intro-text {
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9em;
  line-height: 1.7em;
}
.blog-featured .readmore, .blog .readmore, .search-box .readmore {
  text-align: right;
}
.blog-featured .readmore .btn, .blog .readmore .btn, .search-box .readmore .btn {
  font-size: 0.6em;
}

.item-more {
  display: block;
}
.item-more a {
  display: block;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px;
  font-size: 12px;
}
.item-more a:hover {
  background-color: #e5e5e5;
}

/* Pagination All */
.pagination {
  padding: 20px 0;
  margin: 0px;
}
.pagination .pull-right {
  float: left;
  margin: 0;
  padding: 2px 6px;
  display: block;
  margin: 0 10px;
}
.pagination ul {
  display: block;
  float: right;
  margin: 0px 10px;
}
.pagination ul li {
  font-size: 0.7em;
  width: auto;
  display: inline;
}
.pagination ul li a, .pagination ul li span {
  font-size: 100%;
  border-radius: 0px !important;
  border: 0px;
  padding: 2px 6px;
  color: white;
  display: block;
  background: #3e4942;
  text-align: center;
  margin-left: 3px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
}
.pagination ul li a:hover, .pagination ul li a.current, .pagination ul li span:hover, .pagination ul li span.current {
  color: #45b39e;
  background: #3e4942;
  text-align: center;
}
.pagination ul li span {
  background: #639985;
}
.pagination ul li.pagination-start span, .pagination ul li.pagination-prev span, .pagination ul li.pagination-next span, .pagination ul li.pagination-end span {
  background: #3e4942;
}

/* Fix lower ie9 */
.lt-ie9 .nav .clear-float {
  display: none;
}
.lt-ie9 .category-list .content-category .catagory-list-ul li {
  width: 24%;
}

/* Fix Ie7 */
.lt-ie8 .main .owl-item img {
  max-width: 800px;
}

.firefox .nav > li > a, .firefox .nav > li .mod-languages > a {
  font-family: thai_sans;
  font: bold;
  font-size: 20px;
}

@media screen and (max-width: 1000px) {
  /*body {
  	width: 1000px;
  	padding: 0px;
  }*/
  /*.nav-bar {
  	position: absolute;
  	width: 1000px;
  }*/
  /*.footer {
  	width: 1000px;
  }*/
}
@media screen and (max-width: 1000px) {
  body {
    width: auto;
    padding: 0px;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: inherit;
  }

  .nav-bar {
    width: 100%;
    position: absolute;
  }
  .nav-bar .fix-width {
    width: 100%;
    position: relative;
  }
  .nav-bar .nav {
    float: none;
    margin: 0px;
  }
  .nav-bar .nav > li {
    float: none;
    display: none;
  }
  .nav-bar .nav > li.menu-collapse {
    display: block;
    float: right;
    position: absolute;
    top: 0px;
    right: 0px;
  }
  .nav-bar .nav-fix {
    border-bottom: 1px solid #578a7b;
  }
  .nav-bar .nav-fix > li, .nav-bar.show .nav > li {
    display: block;
    float: none;
  }
  .nav-bar .nav-fix > li a, .nav-bar.show .nav > li a {
    border-right: 0px;
  }
  .nav-bar .nav-fix > li.nav-lang, .nav-bar.show .nav > li.nav-lang {
    display: none;
  }
  .nav-bar.show-lang .nav {
    display: none;
  }
  .nav-bar.show-lang .nav > li {
    display: block;
  }
  .nav-bar.show-lang .nav > li a {
    border-right: 0px;
  }
  .nav-bar.show-lang .nav > li.nav-search {
    display: none;
  }
  .nav-bar.show-lang .nav > li .mod-languages > a {
    display: none;
  }
  .nav-bar.show-lang .nav.nav-fix {
    display: block;
  }
  .nav-bar.show-lang .nav.nav-right {
    display: block;
  }
  .nav-bar .nav-child, .nav-bar .nav-lang ul {
    position: relative;
    top: 0px;
    left: 0px;
    width: auto;
    background: transparent;
  }
  .nav-bar .nav-lang {
    display: block;
  }
  .nav-bar .nav-lang .lang-block {
    display: block;
  }
  .nav-bar .nav-search a {
    display: none !important;
  }
  .nav-bar .nav-search ul {
    display: block !important;
    position: initial;
  }
  .nav-bar .nav-search ul li {
    position: initial;
    top: 0px;
    left: 0px;
  }
  .nav-bar .search {
    padding: 5px 0px 0px;
  }
  .nav-bar .menu-collapse, .nav-bar.show .menu-collapse, .nav-bar.show-lang .menu-collapse {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
  }
  .nav-bar .menu-collapse > li, .nav-bar.show .menu-collapse > li, .nav-bar.show-lang .menu-collapse > li {
    display: block;
    float: right;
  }
  .nav-bar .menu-collapse > li a, .nav-bar.show .menu-collapse > li a, .nav-bar.show-lang .menu-collapse > li a {
    border-left: 1px solid #639985;
    border-right: 0px;
  }

  .main {
    width: 100%;
  }
  .main .cover {
    width: 100%;
    background-position: center center;
    height: auto;
  }
  .main .cover .logo {
    float: left;
    display: block;
    text-align: center;
    padding: 0px;
    margin: 10px 0;
    background: transparent;
    border-right: 0px;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .main .wrapper {
    position: relative;
  }
  .main .wrapper .wrapper-left {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 200px;
    float: none;
    display: block;
  }
  .main .wrapper .wrapper-left .moduletable {
    font-family: thai_sans;
  }
  .main .wrapper .wrapper-left .moduletable h1, .main .wrapper .wrapper-left .moduletable h2, .main .wrapper .wrapper-left .moduletable h3, .main .wrapper .wrapper-left .moduletable h4, .main .wrapper .wrapper-left .moduletable h5, .main .wrapper .wrapper-left .moduletable h6 {
    padding: 10px 9px;
    font-size: 1.2em;
    line-height: 0.8em;
  }
  .main .wrapper .wrapper-left .moduletable h1 i, .main .wrapper .wrapper-left .moduletable h2 i, .main .wrapper .wrapper-left .moduletable h3 i, .main .wrapper .wrapper-left .moduletable h4 i, .main .wrapper .wrapper-left .moduletable h5 i, .main .wrapper .wrapper-left .moduletable h6 i {
    float: right;
    font-size: 0.7em;
    line-height: 0.7em;
    margin: 3px 0 0 0;
  }
  .main .wrapper .wrapper-left .moduletable .menu li a {
    font-size: 0.9em;
    padding: 8px 0px 9px 21px;
    line-height: 0.8em;
  }
  .main .wrapper .wrapper-right {
    margin: 0 0 0 200px;
    float: none;
    display: block;
    width: auto;
    min-height: initial;
  }

  .fix-width {
    width: auto;
  }

  .slide-box {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
  }
  .slide-box img {
    display: block;
    width: 100%;
    height: auto;
  }

  .footer {
    width: auto;
  }
  .footer .foot-colone {
    font-size: 1.3em;
    float: none;
    margin: 0px;
    padding: 35px 10px 20px;
    display: block;
    text-align: center;
  }
  .footer .foot-colone .title-foot {
    font-family: 'thai_sans';
    color: #ffd550;
    font-size: 100%;
    line-height: 28px;
  }
  .footer .foot-colone .moduletable .custom {
    font-size: 0.7em;
  }
  .footer .social {
    float: none;
    margin: 0px 0 35px 0;
    text-align: center;
  }
  .footer .social a {
    color: white;
    font-size: 2.4em;
    display: inline-block;
    float: none;
    margin: 0 15px;
  }

  /* Pagination */
  .pagination {
    margin: 0px;
    text-align: center;
    width: 100%;
  }
  .pagination .pull-right {
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    border: 0px;
  }
  .pagination ul {
    float: none;
    margin: 0;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }
  .pagination ul li {
    display: inline-block;
    *display: inline;
    zoom: 1;
    float: none;
  }

  .logo-footer {
    font-size: 1.2em;
  }

  .footer {
    width: auto;
  }
}
@media screen and (max-width: 726px) {
  .main .wrapper .wrapper-left {
    float: none;
    display: block;
    width: 100%;
    position: relative;
  }
  .main .wrapper .wrapper-left .moduletable {
    font-family: thai_sans;
  }
  .main .wrapper .wrapper-left .moduletable h1, .main .wrapper .wrapper-left .moduletable h2, .main .wrapper .wrapper-left .moduletable h3, .main .wrapper .wrapper-left .moduletable h4, .main .wrapper .wrapper-left .moduletable h5, .main .wrapper .wrapper-left .moduletable h6 {
    padding: 10px 9px;
    font-size: 1.2em;
    line-height: 0.8em;
  }
  .main .wrapper .wrapper-left .moduletable h1 i, .main .wrapper .wrapper-left .moduletable h2 i, .main .wrapper .wrapper-left .moduletable h3 i, .main .wrapper .wrapper-left .moduletable h4 i, .main .wrapper .wrapper-left .moduletable h5 i, .main .wrapper .wrapper-left .moduletable h6 i {
    float: right;
    font-size: 0.7em;
    line-height: 0.7em;
    margin: 3px 0 0 0;
  }
  .main .wrapper .wrapper-left .moduletable .menu li a {
    font-size: 1.05em;
    padding: 8px 0px 9px 21px;
    line-height: 0.8em;
  }
  .main .wrapper .wrapper-right {
    margin: 0px;
    float: none;
    display: block;
    width: 100%;
    min-height: initial;
  }
}
@media screen and (max-width: 600px) {
  .main .personal-card {
    width: 320px;
    margin: 0 auto 15px;
    float: none;
  }

  .blog-featured .item-image, .blog .item-image, .search-box .item-image {
    position: relative;
    float: none;
    display: block;
    text-align: center;
    top: 0px;
    left: 0px;
    margin: 0 0 5px 0;
    border-radius: 0px;
    width: 100%;
  }
  .blog-featured .item-box, .blog .item-box, .search-box .item-box {
    margin: 0px;
  }

  .category-list .content-category .catagory-list-ul li {
    width: 50%;
  }

  .breadcrumb {
    display: none;
  }

  .footer .foot-colone .moduletable .custom {
    font-size: 0.7em;
  }

  .logo-footer {
    font-size: 1em;
  }
}
@media (max-width: 400px) {
  .main .cover img {
    width: 360px;
  }

  .category-list .content-category .catagory-list-ul {
    width: 100%;
  }
  .category-list .content-category .catagory-list-ul li {
    width: 100%;
    display: block;
    float: none;
  }

  .footer .foot-colone .moduletable .custom {
    font-size: 0.6em;
  }
}
@media (max-width: 360px) {
  .main .cover img {
    width: 320px;
  }

  .footer .foot-colone .moduletable .custom {
    font-size: 0.5em;
  }
}
@media screen and (max-width: 320px) {
  body {
    min-width: 200px;
  }

  .nav-bar {
    width: 300px;
    min-width: 200px;
  }

  .footer {
    width: 300px;
    min-width: 200px;
  }

  .main .cover img {
    width: 300px;
  }

  .main-container .left-container {
    display: none;
  }
  .main-container .right-container {
    width: 100%;
  }

  .footer .foot-colone .moduletable .custom {
    font-size: 0.5em;
  }
}
