@charset "UTF-8";
/*
Theme Name: CDD Province 04
Theme URI: http://www.cdd.go.th
Author: Tannysoft
Author URI: http://www.tannysoft.com
Description: Combination of Automattic´s _s theme and Bootstrap SASS. Made as a solid starting point for your next theme project and WordPress website. Including Font Awesome support, build-in widget slider and much more you need for basic websites.
A developer version (with Gulp/node and SASS sources) is available on github: https://github.com/holger1411/understrap
Version: 0.3.9.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cdd-province-04
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready

This theme, like WordPress, is licensed under the GPL.
UnderStrap is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resource Licenses:
Font Awesome: http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
Bootstrap: http://getbootstrap.com | https://github.com/twbs/bootstrap/blob/master/LICENSE (Code licensed under MIT, documentation under CC BY 3.0.)
Owl Carousel 2: http://www.owlcarousel.owlgraphic.com/ | https://github.com/smashingboxes/OwlCarousel2/blob/develop/LICENSE (Code licensed under MIT)
and of course
jQuery: https://jquery.org | (Code licensed under MIT)
WP Bootstrap Navwalker by Edward McIntyre: https://github.com/twittem/wp-bootstrap-navwalker | GNU GPL;

*/
@font-face {
  font-family: 'Kanit_light';
  src: url("fonts/kanit/kanit-light-webfont.eot");
  src: url("fonts/kanit/kanit-light-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/kanit/kanit-light-webfont.woff2") format("woff2"), url("fonts/kanit/kanit-light-webfont.woff") format("woff"), url("fonts/kanit/kanit-light-webfont.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'kanit-medium';
  src: url("fonts/kanit/kanit-medium-webfont.eot");
  src: url("fonts/kanit/kanit-medium-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/kanit/kanit-medium-webfont.woff2") format("woff2"), url("fonts/kanit/kanit-medium-webfont.woff") format("woff"), url("fonts/kanit/kanit-medium-webfont.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Kanit_regular';
  src: url("fonts/kanit/kanit-regular-webfont.eot");
  src: url("fonts/kanit/kanit-regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/kanit/kanit-regular-webfont.woff2") format("woff2"), url("fonts/kanit/kanit-regular-webfont.woff") format("woff"), url("fonts/kanit/kanit-regular-webfont.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'THSarabun';
  src: url("fonts/THSarabun/THSarabunNew Bold.ttf");
}

@font-face {
  font-family: 'THSarabun_light_italic';
  src: url("fonts/THSarabun/THSarabun Italic_1.ttf");
}

@font-face {
  font-family: 'THSarabun_light';
  src: url("fonts/THSarabun/THSarabun.ttf");
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Kanit';
}

body, input, textarea, select, button {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga", "kern";
}

.skip-link {
  display: none;
}

.breadcrumbs {
  margin-bottom: 5px;
  text-align: right;
  font-family: 'THSarabun';
  font-size: 20px;
  color: #292f33;
}

.breadcrumbs a {
  color: #53797a;
}

/*single*/
.single .site-main {
  padding: 60px;
  background-color: #fff;
}

.single .entry-title {
  margin-top: 0;
  margin-bottom: 15px;
  color: #5a4b42;
  font-family: 'Kanit_regular';
  font-size: 24px;
}

.single .entry-meta {
  font-family: 'THSarabun';
  font-size: 20px;
  margin-bottom: 20px;
}

.single .entry-views {
  display: inline-block;
  padding: 5px 20px;
  background-color: #202e31;
  font-family: 'THSarabun';
  font-size: 20px;
  color: #fff;
}

.single .entry-share {
  text-align: right;
}

.single .entry-media {
  margin-top: 40px;
  margin-bottom: 40px;
}

.single .entry-media img {
  width: 100%;
}

.single .entry-content {
  font-family: 'THSarabun';
  font-size: 23px;
  line-height: 27px;
  color: #5a4b42;
}

.single .entry-content p {
  margin-bottom: 30px;
}

.single .entry-content img {
  display: block;
  margin: 0 auto;
}

.single .related {
  margin-bottom: 60px;
}

.single .related .related-title {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 3px solid #202e31;
  font-family: 'kanit-regular';
  font-size: 22px;
  color: #202e31;
}

.single .related ul {
  padding: 0 0 0 15px;
  color: #53797a;
}

.single .related ul li a {
  display: block;
  color: #53797a;
  font-family: 'THSarabun';
  font-size: 22px;
  text-decoration: none;
}

/*category*/
.category .page-header, .archive .page-header, .search .page-header {
  position: relative;
  margin-top: 10px;
  margin-bottom: 30px;
  padding-bottom: 0;
  border-bottom: 3px solid #ffc13d;
}

.category .page-header .page-title, .archive .page-header .page-title, .search .page-header .page-title {
  display: inline-block;
  margin: 0;
  font-size: 30px;
  color: #202e31;
}

.category .page-header .page-title:after, .archive .page-header .page-title:after, .search .page-header .page-title:after{
  content: '';
  clear: both;
  display: block;
  padding-bottom: 20px;
  margin-bottom: -3px;
  border-bottom: 3px solid #202e31;
}

.category .item, .archive .item, .search .item {
  margin-bottom: 30px;
}

.category .item:nth-child(3n+1), .archive .item:nth-child(3n+1) {
  clear: both;
}

.category .item a, .archive .item a, .search .item a {
  min-height: 300px;
  display: block;
  text-decoration: none;
}

.category .item img, .archive .item img, .search .item img {
  width: 100%;
  height: auto;
  min-height: 220px;
}

.category .item .caption, .archive .item .caption, .search .item .caption, .district-news .item .caption {
  padding: 15px 0;
}

.category .item .caption .entry-title, .archive .item .caption .entry-title, .search .item .caption .entry-title, .district-news .item .caption .entry-title {
  margin-top: 0;
  font-size: 18px;
  line-height: 24px;
  color: #5a4b42;
}

.category .item .caption .entry-meta, .archive .item .caption .entry-meta, .search .item .caption .entry-meta, .district-news .item .caption .entry-meta {
  font-family: 'Kanit_Light';
  font-size: 13px;
  color: #2c665a;
}

.category .pagination, .archive .pagination, .search .pagination {
  display: block;
  text-align: center;
  color: #53797a;
  font-family: 'THSarabun';
  font-size: 22px;
}

.category .pagination a, .archive .pagination a, .search .pagination a {
  color: #53797a;
}

.category .pagination .page-numbers, .archive .pagination .page-numbers, .search .pagination .page-numbers {
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
}

.category .pagination .page-numbers.current, .archive .pagination .page-numbers.current, .search .pagination .page-numbers.current {
  width: 30px;
  height: 30px;
  background-color: #53797a;
  color: #fff;
  border-radius: 50%;
}

.district-news .item:nth-child(3n+1) {
  clear: both;
}

.wp-pagenavi {
  text-align: center;
}

#searchsubmit { display: none; }

.-block-ellipsis-2 {
  display: block;
  display: -webkit-box;
  max-width: 100%;
  margin: 0 auto;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
    }
.btn_lang a { color: inherit; text-decoration: none; }
.btn_lang.active a { font-weight: bold; }
.-block-ellipsis-3 { display: block; display: -webkit-box; max-width: 100%; margin: 0 auto; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.wp-pagenavi a, .wp-pagenavi span { border: none; color: #3d3d3d; font-family: 'kanit_regular';}
.wp-pagenavi a:hover, .wp-pagenavi span.current { color: #4aa4a8; border-bottom: 2px solid #4aa4a8; }
