@charset "UTF-8";
/*
Theme Name: CDD Province 05
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-05
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 {
  background-color: #fff;
}

.single .entry-title {
  margin-top: 0;
  margin-bottom: 5px;
  color: #202e31;
  font-family: 'kanit-regular';
  font-size: 24px;
}

.single .entry-meta {
  font-family: 'THSarabun';
  font-size: 20px;
  color: #6f6f6f;
}

.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: 20px;
  margin-bottom: 20px;
}

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

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

.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, .district-news .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, .district-news .page-header .page-title {
  display: inline-block;
  margin: 0;
  font-family: 'kanit-regular';
  font-size: 30px;
  color: #202e31;
}

.category .page-header .page-title:after, .archive .page-header .page-title:after, .district-news .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, .district-news .item {
  margin-bottom: 30px;
}

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

.category .item a, .archive .item a, .search .item a, .district-news .item a {
  min-height: 380px;
  background-color: #202e31;
  display: block;
  text-decoration: none;
}

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

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

.category .item .caption .entry-title, .archive .item .caption .entry-title, .search .item .caption .entry-title, .district-news .item .caption .entry-title {
  min-height: 72.8px;
  margin-top: 0;
  font-family: 'kanit-regular';
  font-size: 18px;
  line-height: 24px;
  color: #ffc13d;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.category .item .caption .entry-meta, .archive .item .caption .entry-meta, .search .item .caption .entry-meta, .district-news .item .caption .entry-meta {
  font-family: 'THSarabun_light_italic';
  font-size: 20px;
  color: #ffc13d;
}

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

.category .pagination a, .archive .pagination a, .district-news .pagination a {
  color: #53797a;
}

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

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

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

.cat-title { color: #fff; background: #202e31; padding: 5px 20px; border-left: 5px solid #ffc13d; float: left; font-weight: normal; margin-bottom: 0; font-size: 24px; }
.cat-line { border-bottom: 1px solid #a4a4a4; width: 100%; margin-bottom: 15px; }
.clear { clear: both; }
.entry-meta i { font-size: 14px; }
img { height: auto; }
.related-box { margin-bottom: 30px; }
.related-head { background: #202e31; margin-top: 0; padding: 10px 15px; color: #ffc13d; font-size: 20px; font-weight: normal; margin-bottom: 0; }
.related-box .title { padding: 5px 15px; font-size: 22px; font-weight: normal; margin-top: 0; margin-bottom: 0; }
.related-box .meta { font-family: 'THSarabun'; font-size: 20px; color: #6f6f6f; padding: 0 15px; }
.related-box .meta i { font-size: 16px; }
.page-template-aboutpage .site-main { padding: 0; }
#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 img { width: 25px; }
.-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 span.current { background: #202e31; padding: 10px; color: #ffc13d; }
.tptn_counter { display: none; }
.seed-social.-bottom { padding-top: 30px; display: block; clear: both; }
