@charset "UTF-8";
/*
Theme Name: CDD Province 02
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-02
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: 'quarkLight';
    src: url('fonts/quark/Quark-Light.otf');
}

@font-face {
    font-family: 'quarkBold';
    src: url('fonts/quark/Quark-Bold.otf');
}

@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: 'quarkBold';
}

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: 25px;
  text-align: right;
  font-family: 'THSarabun';
  font-size: 20px;
  color: #292f33;
}

.breadcrumbs a {
  color: #292f33;
}

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

.single .category {
  padding-bottom: 0;
  font-family: 'quarkBold';
  font-size: 28px;
  color: #b79042;
}

.single .entry-title {
  margin-top: 20px;
  margin-bottom: 5px;
  padding-bottom: 0;
  color: #333;
  font-family: 'quarkBold';
}

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

.single .entry-meta i {
  font-size: 12px;
}

.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%;
  height: auto;
}

.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: 10px;
  font-family: 'quarkBold';
  font-size: 22px;
  color: #333;
}

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

.single .related ul li a {
  display: block;
  color: #666;
  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: 0;
}

.category .page-header .page-title, .archive .page-header .page-title, .search .page-header .page-title, .district-news .page-header .page-title {
  display: inline-block;
  margin: 0;
  font-family: 'quarkBold';
  font-size: 30px;
  color: #b79042;
}

.category .page-header .page-title:after, .archive .page-header .page-title:after, .search .page-header .page-title:after, .district-news .page-header .page-title:after {
  content: '';
  clear: both;
  display: block;
  padding-bottom: 20px;
  margin-bottom: -3px;
}

.category .item, .archive .item, .search .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;
  display: block;
  text-decoration: none;
}

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

.attachment-pr-big.size-pr-big.wp-post-image {
  height: 269.5px !important;
}
.district-news .item img {
    height: 269.5px !important;
}
.category .item .caption, .archive .item .caption, .search .item .caption, .district-news .item .caption {
  padding: 30px 0 0;
}

.category .item .caption .category,
.archive .item .caption .category,
.search .item .caption .category,
.district-news .item .caption .category {
  display: inline-block;
  background-color: #b79042;
  color: #fff;
  padding: 2px 10px;
  margin-bottom: 10px;
  font-family: 'quarkBold';
  font-size: 16px;
}

.category .item .caption .entry-title, .archive .item .caption .entry-title, .search .item .caption .entry-title, .district-news .item .caption .entry-title {
  margin-top: 0;
  min-height: 51.2px;
  font-family: 'quarkBold';
  font-size: 20px;
  line-height: 1.3;
  color: #444;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category .item .entry-meta, .archive .item .entry-meta, .search .item .entry-meta, .district-news .item .entry-meta {
  margin-top: 10px;
  padding-top: 15px;
  font-family: 'THSarabun_light_italic';
  font-size: 20px;
  color: #666;
  border-top: 1px solid #ccc;
}

.category .item .entry-meta i, .archive .item .entry-meta i, .category .item .entry-meta i, .district-news .item .entry-meta i {
  font-size: 12px;
}

.category .item .excerpt, .archive .item .excerpt, .search .item .excerpt, .district-news .item .excerpt {
  padding: 15px 0 0;
  color: #999;
  display: block;
  display: -webkit-box;
  max-width: 100%;
  margin: 0 auto;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.category .pagination .nav-links, .archive .pagination .nav-links, .search .pagination .nav-links, .district-news .pagination .nav-links {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #e9e9e9;
}
.category .pagination a, .archive .pagination a, .search .pagination a, .district-news .pagination a {
  color: #333;
}

.category .pagination .page-numbers, .archive .pagination .page-numbers, .search .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, .search .pagination .page-numbers.current, .district-news .pagination .page-numbers.current {
  width: 30px;
  height: 30px;
  background-color: #b79042;
  color: #fff;
}

.page-template-aboutpage .content-area, .post-type-archive-downloads .content-area, .tax-download .content-area {
  border-left: 2px solid #b79042;
  border-right: 0;
}
.page-template-aboutpage .entry-title, .post-type-archive-downloads .entry-title, .tax-download .entry-title {
  padding-bottom: 15px;
  margin-bottom: 25px;
  color: #b79042;
  border-bottom: 4px solid #b79042;
}

.download-menu,
.about-menu {
  list-style: none;
  padding-left: 0;
}

.download-menu li,
.about-menu li {
  border-bottom: 1px solid #eaeaea;
  padding: 5px 20px;
}

.download-menu li a,
.about-menu li a {
  color: #333;
}

.wp-pagenavi {
  clear: both;
  display: block;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  background: #dbdbdb;
}

.wp-pagenavi a, .wp-pagenavi span { border: none; color: #3d3d3d; font-family: 'quarkBold'; }
.wp-pagenavi span.current { background: #b79042; padding: 10px; color: #fff; }
.panel-grid-cell h1,h2,h3,h4,h5,h6 { color: #b79042; }
.form-group { float: left; margin-left: 15px; margin-right: 15px; }
.form-control { border-radius: 0; padding: 5px; height: 26px; background: transparent; color: #fff; }
.top-bar .top-bar_design button { border: none; }
.activities .activities_item h3 { min-height: 42px; }
.-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; }
a.disabled { pointer-events: none; cursor: default; }
.-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; 
min-height: 55px;}
