@charset "UTF-8";
/*
Theme Name: CDD Home 01
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-home-01
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;
}

.aligncenter {
  display: block;
}

.tptn_counter {
  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;
  color: #177cab;
  font-family: 'kanit-regular';
  border-bottom: 3px solid #ffc13d;
  font-size: 1.8em;
  padding-bottom: 0;
  margin-bottom: 10px;
}

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

.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-share .seed-social {
  margin-top: 0;
  margin-bottom: 0;
}

.single .entry-share .seed-social > div {
  float: none;
  display: inline-block;
}

.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: 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*/
.page .page-header,
.category .page-header,
.archive .page-header {
  position: relative;
  margin-top: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
  /*border-bottom: 3px solid #ffc13d;*/
}

.page .page-header .page-title,
.category .page-header .page-title,
.archive .page-header .page-title {
  display: inline-block;
  margin: 0;
  font-family: 'quarkBold';
  font-size: 30px;
  color: #177cab;
  margin-bottom: 2px;
}
.page-template-default .read_more {
  top: 45px;
  background-color: #0d7cab;
  font-size: 15px;
}
.page-template-default .read_more a {
  color: #fff;
  font-family: 'quarkBold';
}
.page .page-header .page-title:after,
.category .page-header .page-title:after,
.archive .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 {
  
}

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

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

.category .item img, .archive .item img {
  width: 100%;
  height: auto;
}

.category .item .caption, .archive .item .caption {
}

.category .item .caption .entry-title, .archive .item .caption .entry-title {
  margin-top: 0;
  font-family: 'kanit-regular';
  font-size: 18px;
  line-height: 24px;
  color: #ffc13d;
}

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

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

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

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

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

.page-header .page-title { color: #177cab; }
.entry-meta i { font-size: 16px; }
.page-title { margin-top: 0; }
.page-header { margin-top: 0; }
.related-title { color: #177cab; }
.releated-topic { font-size: 18px; color: #177cab; margin-top: 10px; margin-bottom: 0; }
a:hover,a:focus { text-decoration: none; outline: none; }
.service-cat { background: #177cab; color: #fff; padding: 20px 15px; font-size: 1.5em; margin-bottom: 30px; }
.service-title { color: #000; font-size: 1.5em; margin-bottom: 5px; margin-top: 30px; }
.service-media { text-align: center; margin-bottom: 15px; }
.service-media img { width: 100%; height: auto; }
.service-related { text-align: center; color: #177cab; }
.service-content p { color: #a4a4a4; margin-top: 30px; }
.service-box-cat { background: #177cab; padding: 10px; text-align: center; margin-bottom: 0; margin-top: 0; color: #fff; height: 39px; overflow: hidden; }
.service-box-content { background: #eaeaea; padding: 15px; }
.service-box-topic { font-size: 18px; color: #000; margin-bottom: 5px; margin-top: 0; height: 38px; overflow: hidden; }
.service-box-meta { font-family: 'THSarabun'; font-size: 20px; color: #a4a4a4; margin-bottom: 0; }
.service-related-box { background: #eaeaea; padding: 30px 15px; }
.service-loop { border-bottom: 1px solid #a4a4a4; padding-bottom: 15px; margin-bottom: 20px; }
.service-row { margin-bottom: 50px; }
.pr_item {  }
.text-right { text-align: right; padding-left: 50px; position: relative; padding-right: 10px; }
.service-icon { position: absolute; left: 10px; }
.download-wrap .download-title .title { font-size: 2.2em; font-family: 'quarkBold'; color: #0d7cab; margin-bottom: 0px; border-bottom: 2px solid #0d7cab; text-align: center; padding-bottom: 10px; margin-top: 7px; }
.download-wrap .triangle { margin: 0 auto; width: 18px; height: 8px; border-left: solid transparent 9px; border-right: solid transparent 9px; border-top: solid #0d7cab 6px; }
.download-wrap .menu-area { background: #e6ecf4; }
a.disabled { pointer-events: none; cursor: default; }
.single-services .seed-social .line { border-bottom: 0!important; }
.pr_item img { width: 100%; height: auto; }
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

@media (max-width: 768px) {
  .row-eq-height { display: block; }
}


