/*
Theme Name: Biothai
Author: 1dd
Author URI: http://www.1dd.co/
Description: This theme is made for Biothai
Version: 1.0
แก้ล่าสุด 15/6/2566
*/

@import url(assets/css/header-footer.css);

.admin-bar header,
.admin-bar .progress-bar {
  margin-top: 32px;
}

@font-face {
  font-family: "sarabun-reg";
  src: url(./assets/fonts/sarabun/Sarabun-Regular.ttf);
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  font-size: 10px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  padding: 0;
  /* font-family: 'fc_paragraphregular'; */
  font-family: "sarabun-reg";
  font-weight: normal;
  font-size: 18px;
  line-height: calc(4px + 2ex + 4px);
  color: #4e4e4e;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

article,
aside,
picture,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
  vertical-align: baseline;
}

button,
input,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: border-color ease-in-out 0.2s;
  -o-transition: border-color ease-in-out 0.2s;
  transition: border-color ease-in-out 0.2s;
}

textarea {
  resize: vertical;
}

button:focus,
textarea,
button,
fieldset {
  outline: 0;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

button:focus {
  outline: 0;
}

input:focus {
  outline: 0;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  background-color: transparent;
}

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: color ease-in-out 0.2s;
  -o-transition: color ease-in-out 0.2s;
  transition: color ease-in-out 0.2s;
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

a:focus {
  outline: 0;
  outline-offset: 0;
}

p {
  margin: 0;
  padding: 0;
  line-height: calc(4px + 2ex + 4px);
}

.c-white {
  color: #fff !important;
}

.c-green {
  color: #0d4631 !important;
}

a[href^="tel"] {
  outline: none;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.ic {
  display: inline-block;
  vertical-align: middle;
}

ul,
ol,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

strong {
  font-family: "fc_paragraphsemibold";
  font-weight: normal;
}

.font-paragraph {
  font-family: "fc_paragraphsemibold";
}

a.linktext.underline.englishver {
  font-size: 16px;
  color: #0e4630;
}

.font-kanit {
  font-family: "Kanit";
  font-weight: 500;
}

h1,
h2,
h3,
h4 {
  padding: 0;
  margin: 0;
  line-height: calc(4px + 2ex + 4px);
  font-weight: normal;
}

h1,
h2 {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  color: #2b2b2b;
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
  font-weight: normal;
}

h4 {
  font-size: 20px;
}

.container {
  width: 100%;
  padding-right: 25px;
  padding-left: 25px;
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: 100%;
  max-width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}

.link-action {
  text-align: center;
  margin-top: 40px;
}

.a-right {
  text-align: right;
}

.a-center {
  text-align: center;
}

.main {
  margin-top: 65px;
}

.headline {
  margin-bottom: 35px;
}

.headline.md {
  margin-bottom: 60px;
}

.headline.lg {
  margin-bottom: 80px;
}

.headline.a-center {
  text-align: center;
}

.headline.headline-blog {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 5px solid #000;
}

.headline.headline-blog h2 {
  display: flex;
  align-items: center;
  font-family: "fc_paragraphsemibold";
  text-transform: uppercase;
}

.headline.headline-blog .icon {
  width: 49px;
  height: 49px;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  margin-right: 15px;
  align-items: center;
  background-color: #0d4631;
}

.headline.headline-blog.line-white {
  border-bottom: 3px solid #fff;
}

.headline h3 {
  margin-top: 20px;
}

.text-spacing {
  letter-spacing: 0.05em;
}

.grid-headline {
  display: grid;
  grid-template-columns: 4fr 2fr;
}

.filter {
  display: grid;
  text-align: right;
  align-items: center;
  grid-column-gap: 24px;
  grid-template-columns: 1fr 160px;
}

.filter span {
  font-size: 16px;
}

.action-button {
  margin-top: 50px;
}

.article-container {
  position: relative;
}

.block-view {
  display: none;
}

.container-view {
  display: none;
}

.entry-view {
  font-size: 14px;
  color: #fff;
}

.entry-view > span {
  display: inline-flex;
  align-items: center;
  padding: 4px 15px;
  margin-left: 5px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.entry-view span .ic {
  margin-right: 5px;
}

.img-hero .entry-view {
  display: block;
}

.img-hero img {
  width: 100%;
  max-height: 96vh;
  object-fit: cover;
}

/* พึ่งแก้จาก 76 เป็น 96 */
.article-body {
  max-width: 754px;
  margin: 0 auto 100px;
}

.article-header .box-caption {
  max-width: 662px;
}

.article-header h1 {
  font-size: 36px;
  font-family: "kanit", sans-serif;
  font-weight: 500;
}

.entry-author {
  font-size: 14px;
  color: #0d4631;
  margin: 12px 0;
}

.article-hightlight {
  position: relative;
  overflow: hidden;
}

.article-hightlight .container {
  position: relative;
}

.article-hightlight .box-inner {
  width: 100%;
  padding-left: 0px;
  margin: 0 0 0 auto;
}

/* เปลี่ยน padding-left: 60px; เป็น 0*/
.img-hero {
  position: relative;
}

.progress-container {
  width: 100%;
  height: 4px;
  position: fixed;
  top: 61px;
  z-index: 4000;
}

.panel-open-search .progress-container,
.pushy-open-left .progress-container {
  width: 0 !important;
}

.progress-bar {
  height: 4px;
  background: #0d4631;
  width: 0%;
}

.article-note {
  font-size: 16px;
  color: #343434;
  padding: 30px 50px;
  background: #ebf4f0;
}

.article-note p {
  margin-bottom: 15px;
}

.article-note h3 {
  display: flex;
  align-items: center;
  font-family: "kanit", sans-serif;
  font-weight: 500;
  color: #0d4631;
  font-size: 26px;
  margin-bottom: 15px;
}

.article-note h3 svg {
  margin-right: 10px;
}

.article-note ul {
  margin: 0 0 0 10px;
}

.article-note ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
}

.article-note ul li:before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 7px;
  left: 0;
  display: inline-block;
  background: #0d4631;
}

.article-content {
  position: relative;
  margin-top: 40px;
  font-size: 14px;
  color: #343434;
}

.article-content.nopadding-top {
  padding-top: 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: "kanit", sans-serif;
  font-weight: 500;
  line-height: 1.3;
  color: #343434;
  margin-top: 20px;
  margin-bottom: 25px;
}

.article-content h1 {
  font-size: 36px;
}

.article-content h2 {
  font-size: 30px;
}

.article-content h3 {
  font-size: 26px;
  font-family: "Kanit";
  font-weight: 500;
  color: #0d4631;
}

.article-content h4 {
  font-family: "fc_paragraphsemibold";
  font-size: 16px;
  color: #000;
  margin: 0 0 10px;
}

.article-content p {
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 16px;
}

.article-content li {
  line-height: 1.6;
  font-size: 16px;
}

.article-content a {
  color: #0d4631;
  text-decoration: underline;
}

.article-content ul {
  margin: 0 0 20px 0;
  padding: 0;
}

.article-content ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
}

.article-content ul li:before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 7px;
  left: 0;
  border-radius: 50%;
  display: inline-block;
  background: #000;
}

.article-content ol {
  margin: 0 0 20px 20px;
  padding: 0;
}

.article-content strong {
  font-family: "fc_paragraphsemibold";
  font-weight: normal;
}

.article-content ol li {
  list-style: decimal;
  margin-bottom: 5px;
}

.article-content iframe {
  margin: 0 auto;
  display: block;
}

.article-video {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  text-align: center;
}

.article-img {
  margin: 30px 0;
  border-bottom: 1px solid #e1e1e1;
}

.alt-img {
  padding: 8px 0;
  text-align: right;
  font-style: italic;
  font-size: 14px;
  color: #676767;
}

blockquote {
  margin: 30px 0;
  padding: 45px 75px;
  background: #ebf4f0;
  position: relative;
}

blockquote p {
  font-size: 26px !important;
  margin-bottom: 0 !important;
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  color: #0d4631;
}

.img-hero picture span {
  position: absolute;
  bottom: 3px;
  color: white;
  left: 24px;
  text-shadow: 0px 0px 7px #000000a3;
}

.icon-blockquote {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon-blockquote img {
  width: 35px;
  margin-right: 22px;
}

blockquote:before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-bottom: 15px;
  border: 1px solid #0d4631;
}

blockquote:after {
  content: "";
  display: block;
  position: absolute;
  top: 34px;
  background-image: url(assets/img/icon-blockquote.png);
  background-size: 34px;
  width: 45px;
  height: 26px;
  background-color: #ebf4ef;
  background-repeat: no-repeat;
}

.wp-block-image {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
}

.entry-tags {
  margin-top: 40px;
}

.entry-tags h4 {
  font-family: "fc_paragraphsemibold";
  font-size: 16px;
  color: #000;
  margin: 0 0 10px;
}

.entry-tags a {
  display: inline-block;
  padding: 6px 10px;
  margin: 0px 8px 15px 8px;
  font-family: "fc_paragraphsemibold";
  font-size: 14px;
  color: #0d4631;
  border: 1px solid #0d4631;
}

.entry-tags a:hover {
  color: #fff;
  background-color: #0d4631;
}

.sticky-share {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  margin-bottom: 25px;
}

.allshare {
  position: absolute;
  right: 80px;
  top: 0;
  text-align: center;
}

.allshare span {
  font-size: 14px;
  font-weight: 400;
  color: #0d4631;
  display: block;
}

.allshare li {
  margin: 12px 0 0 0;
}

.allshare li a {
  color: #232323;
  font-size: 20px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.allshare li a:hover {
  opacity: 80%;
}

.relative {
  position: relative;
}

.btn {
  position: relative;
  z-index: 500;
  display: inline-block;
  min-width: 215px;
  height: 50px;
  padding: 0 20px;
  font-family: "fc_paragraphsemibold";
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  border: 0;
  letter-spacing: 0.1em;
  background: #0d4631;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn.lg {
  width: 100%;
  min-width: auto;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "YoungSerif";
  font-size: 20px;
  color: #d9cfbc;
}

.btn.lg svg {
  margin-right: 10px;
}

.btn:hover {
  color: #fff;
}

.btn:hover svg path {
  fill: #fff;
}

button.btn {
  width: 100%;
}

.btn:focus,
.btn:hover {
  color: #fff;
}

.btn.outline {
  position: relative;
  color: #0d4631;
  padding: 12px 20px;
  border: 1px solid #0d4631;
  background-color: transparent;
}

.btn.outline:after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  background-color: #0d4631;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn.outline .ic {
  font-size: 24px;
  margin-left: 50px;
}

.btn.c-white {
  color: #fff;
}

.btn.c-white:hover {
  color: #fff;
}

.btn.c-white.outline {
  border: 1px solid #fff;
}

.btn-viewmore:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 1px;
  position: relative;
  top: -1px;
  margin-right: 10px;
  background-color: #0d4631;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn-viewmore:hover:before {
  width: 60px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btn.outline.btn-viewmore:after {
  display: none;
}

.text-viewmore {
  display: flex;
  align-items: center;
  font-family: "fc_paragraphsemibold";
  font-size: 12px;
  color: #0d4631;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.text-viewmore:hover {
  color: #0d4631;
}

.text-viewmore:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 1px;
  margin-right: 15px;
  background-color: #0d4631;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.text-viewmore.c-white:before {
  background-color: #fff;
}

.text-viewmore:hover:before {
  width: 60px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.linktext {
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: #181818;
  border: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  background-color: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.linktext.sm {
  font-size: 14px;
}

.linktext.lg {
  font-size: 20px;
}

.linktext .ic {
  font-size: 10px;
  margin-left: 6px;
}

.linktext:after {
  content: "";
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  opacity: 0;
  bottom: 0;
  background-color: #0d4631;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.linktext:hover {
  color: #0d4631;
}

.linktext:hover:after {
  width: 100%;
  opacity: 1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.linktext.underline:after {
  opacity: 1;
  width: 100%;
}

.form-style .input-text {
  width: 100%;
  height: 50px;
  border: 0;
  padding: 20px 0;
  font-family: "fc_paragraphregular";
  font-weight: normal;
  font-size: 20px;
  color: #2b2b2b;
  border-radius: 0;
  border-bottom: 1px solid #181818;
  background-color: transparent;
}

.form-style .input-text:focus {
  border-color: #0d4631;
}

.form-style textarea.input-text {
  height: 160px;
}

.form-style .input-text::-webkit-input-placeholder {
  transition: ease-in 0.2s;
}

.form-style .input-text:focus::-webkit-input-placeholder {
  opacity: 0;
}

.form-style input::-webkit-input-placeholder {
  font-family: "fc_paragraphregular";
  font-weight: normal;
  font-size: 20px;
  color: rgb(43 43 43 / 50%);
}

.form-style input:-ms-input-placeholder {
  font-family: "fc_paragraphregular";
  font-weight: normal;
  font-size: 20px;
  color: rgb(43 43 43 / 50%);
}

.form-style input::placeholder {
  font-family: "fc_paragraphregular";
  font-weight: normal;
  font-size: 20px;
  color: rgb(43 43 43 / 50%);
}

.form-style textarea::placeholder {
  font-family: "fc_paragraphregular";
  font-weight: normal;
  font-size: 20px;
  color: rgb(43 43 43 / 50%);
}

.field-button {
  margin-top: 35px;
}

.section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section-hero-fullimg {
  position: relative;
  height: 30.28vw;
  overflow: hidden;
}

.section-hero-fullimg .container {
  height: 100%;
}

/* Category */
.tabs-container {
  position: relative;
  height: 95px;
  text-align: center;
  background: #0d4631;
}

.tabs-container .wraptext {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  padding: 35px 0 20px;
  text-align: center;
}

.tabs-container .wraptext {
  position: relative;
  width: 867px;
  z-index: 900;
  transform: translateY(-85px);
  background: rgba(13, 70, 49, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tabs-container .wraptext h1 {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-size: 36px;
  color: #fff;
}

.tabs-container .icon {
  position: absolute;
  top: -32px;
  left: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  transform: translateX(-50%);
}

.tabs-category li {
  position: relative;
  margin: 0 10px;
}

.tabs-category li a {
  font-family: "fc_paragraphmedium";
  font-size: 16px;
  color: #86a298;
}

.select-category {
  display: none;
}

.grid-items {
  display: grid;
  grid-row: 30px;
  grid-column-gap: 36px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* item card */
.card-item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-left: auto;
  margin-right: auto;
}

.card-item .box-img {
  height: auto;
  position: relative;
  overflow: hidden;
}

.card-item .box-img img {
  width: 100%;
  transform: scale(1.0001);
  transition: transform 1.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-item:hover .box-img img {
  transform: scale(1.1);
}

.card-item .box-caption {
  font-size: 16px;
  color: #222;
  padding-top: 10px;
  padding-bottom: 20px;
}

.card-item .box-caption h3 {
  position: relative;
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: #000;
  margin-bottom: 10px;
}

.card-item .box-caption h3 a {
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  background-image: linear-gradient(#000 calc(100% - 0.5em), #000 0.5em);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-item .rollover {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  opacity: 0;
  align-items: center;
  align-content: center;
  justify-content: center;
  background-color: rgb(0 68 57 / 80%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.card-item .rollover .ic {
  font-size: 50px;
  color: #fff;
}

.card-item:hover .rollover {
  opacity: 1;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.card-item:hover h3 a {
  background-size: 100% 1px;
}

.entry-date {
  font-family: "fc_paragraphregular";
  color: #000;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.entry-date .times {
  display: inline-block;
  margin-left: 5px;
}

.entry-date .times:before {
  font-family: "icon-biothai";
  content: "\e900";
  margin-right: 7px;
  margin-left: 10px;
}

.entry-category > li,
.entry-category > a,
.entry-category .post-categories > li {
  display: inline-block;
  font-family: "fc_paragraphregular";
  font-size: 14px;
  color: #fff;
  padding: 2px 10px;
  line-height: 1.3;
  margin-bottom: 4px;
  background: rgb(123, 179, 155);
  background: -moz-linear-gradient(
    260deg,
    rgba(123, 179, 155, 1) 0%,
    rgba(13, 70, 49, 1) 100%
  );
  background: -webkit-linear-gradient(
    260deg,
    rgba(123, 179, 155, 1) 0%,
    rgba(13, 70, 49, 1) 100%
  );
  background: linear-gradient(
    260deg,
    rgba(123, 179, 155, 1) 0%,
    rgba(13, 70, 49, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7bb39b", endColorstr="#0d4631", GradientType=1);
}

/* month */
.bg-gradient {
  background: rgb(87, 155, 126);
  background: -moz-linear-gradient(
    260deg,
    rgba(87, 155, 126, 1) 0%,
    rgba(13, 70, 49, 1) 100%
  );
  background: -webkit-linear-gradient(
    260deg,
    rgba(87, 155, 126, 1) 0%,
    rgba(13, 70, 49, 1) 100%
  );
  background: linear-gradient(
    260deg,
    rgba(87, 155, 126, 1) 0%,
    rgba(13, 70, 49, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#579b7e", endColorstr="#0d4631", GradientType=1);
}

.section-popular-items .wpp-list {
  grid-template-columns: 1fr 1fr 1fr;
  display: grid;
  grid-row: 30px;
  grid-column-gap: 36px;
}

.wpp-list .popular-item:first-child .entry-ranking::before {
  content: "1";
}

.wpp-list .popular-item:nth-child(2) .entry-ranking::before {
  content: "2";
}

.wpp-list .popular-item:nth-child(3) .entry-ranking::before {
  content: "3";
}

.popular-item {
  position: relative;
  margin: 0;
}

.popular-item:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  background: rgb(44, 49, 47);
  background: -moz-linear-gradient(
    275deg,
    rgba(44, 49, 47, 0.5564600840336135) 50%,
    rgba(0, 0, 0, 0.7049194677871149) 70%
  );
  background: -webkit-linear-gradient(
    275deg,
    rgba(44, 49, 47, 0.5564600840336135) 50%,
    rgba(0, 0, 0, 0.7049194677871149) 70%
  );
  background: linear-gradient(
    275deg,
    rgba(44, 49, 47, 0.5564600840336135) 50%,
    rgba(0, 0, 0, 0.7049194677871149) 70%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2c312f", endColorstr="#000000", GradientType=1);
}

.popular-item .box-caption {
  position: absolute;
  z-index: 20;
  bottom: 30px;
  width: 100%;
  padding: 30px !important;
  padding-bottom: 0 !important;
}

.popular-item .box-caption h3 {
  font-size: 26px;
  max-height: inherit;
}

.popular-item .box-caption h3,
.popular-item .entry-date {
  color: #fff;
}

.popular-item .box-caption h3 a {
  color: #fff;
  background-image: none;
  /* background-image: linear-gradient(#FFF calc(100% - 1em),#FFF 1em); */
}

.popular-item .entry-ranking {
  width: 70px;
  height: 65px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 10px 12px 0px;
  text-align: center;
  font-family: "fc_paragraphsemibold";
  color: #046842;
  font-size: 30px;
  border-radius: 0px 0px 100px 0px;
  background-color: #fff;
}

.bg-c-green {
  background-color: #ebf4f0;
}

.coverimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 105;
  pointer-events: none;
}

.bg-responsive.mobile {
  display: none;
}

.bg-responsive,
.bgimg-parallax {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* blog */
.blog-item {
  margin-bottom: 30px;
}

.blog-item:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: -18px;
  width: 1px;
  height: 100%;
  background-color: #e1e1e1;
}

.section-blog-items {
  padding: 75px 0 100px 0;
}

.section-blog-items .blog-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.section-blog-items .blog-item:nth-child(1):after {
  display: block !important;
}

.section-blog-items .blog-item:nth-child(3):after,
.section-blog-items .blog-item:nth-child(4n + 1):after {
  display: none;
}

.section-latest-items .blog-item:nth-child(2),
.section-blog-items .blog-item:nth-child(2) {
  margin-bottom: 0;
}

/* related */
.section-related-items {
  padding: 75px 0 50px;
}

.section-related-items .blog-item:nth-child(4n):after {
  display: none;
}

.section-related-items .blog-item .box-caption {
  padding: 25px 0 0 0;
}

.section-related-items .blog-item .box-caption h3 {
  font-size: 20px !important;
}

.section-related-items .action-button {
  display: none;
}

.section-popular-tags {
  padding: 100px 0 135px;
  background: linear-gradient(77deg, #0d4631 47.54%, #579b7e 116.96%);
}

.section-popular-tags h2 {
  font-family: "fc_paragraphsemibold";
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.popular-tage {
  max-width: 1000px;
  position: relative;
}

.popular-tage li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.popular-tage li a {
  display: block;
  font-family: "fc_paragraphsemibold";
  font-size: 16px;
  color: #fff;
}

.popular-tage .rollover {
  display: none;
}

.action-links {
  margin-top: 30px;
}

.section-about {
  padding: 80px 0;
}

.navabout li a {
  position: relative;
  display: inline-flex;
  font-size: 14px;
  color: #969696;
}

.navabout li a.active {
  font-family: "fc_paragraphmedium";
  color: #0d4631;
}

.navabout li a:after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 1;
  background-color: #0d4631;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.navabout li a.active:after {
  width: 100%;
}

.section-home-about {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.section-home-about .block-img img {
  margin: 0 auto;
  display: block;
}

.section-home-about .block-content h2 {
  font-size: 30px;
  color: #0d4631;
  margin-bottom: 20px;
}

.section-about-history {
  position: relative;
  background: linear-gradient(100.06deg, #0d4631 38.02%, #7bb39b 173.06%);
}

.swiper-history-slider {
  position: relative;
  overflow: hidden;
}

.swiper-history-slider .swiper-slide {
  width: 400px;
}

.item-history {
  padding: 0 0 0 128px;
}

.swiper-arw {
  width: 100%;
  position: absolute;
  top: 0;
}

.swiper-arw:after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background-color: rgba(237, 237, 237, 0.2);
  position: absolute;
  top: 78px;
}

.swiper-button-next:focus,
.swiper-button-prev:focus {
  outline: 0;
}

.swiper-history-slider .swiper-button-prev,
.swiper-history-slider .swiper-button-next {
  width: 53px;
  height: 53px;
  top: 75px;
  border-radius: 50%;
  background-color: #fff;
}

.swiper-history-slider .swiper-button-prev:after,
.swiper-history-slider .swiper-button-next:after {
  font-family: "icon-biothai";
  color: #0d4631;
  font-size: 24px;
}

.swiper-history-slider .swiper-button-prev:after {
  content: "\e90a";
}

.swiper-history-slider .swiper-button-next:after {
  content: "\e910";
}

.swiper-history-slider .swiper-button-prev {
  left: 0;
}

.swiper-history-slider .swiper-button-next {
  right: 0;
}

.item-history {
  position: relative;
}

.img-history {
  width: 157px;
  height: 157px;
}

.img-history img {
  overflow: hidden;
  border-radius: 50%;
}

.item-history h3 {
  position: relative;
  top: -20px;
  font-family: "Kanit";
  font-weight: 500;
  font-size: 20px;
  color: #fff;
}

.item-history .entry-year {
  font-family: "fc_paragraphmedium";
  font-size: 68px;
  color: rgba(255, 255, 255, 0.15);
}

.item-history .entry-desc {
  color: #bebebe;
}

/* Contact */
.section-contact {
  position: relative;
  background-color: #0d4631;
}

.contact-info {
  position: relative;
  overflow: hidden;
}

.section-contact .block-img {
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.section-contact .block-img img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  transition: all 0.2s;
}

.section-contact .block-content {
  position: relative;
}

.contact-address {
  font-family: "fc_paragraphregular";
  font-size: 16px;
  color: #565656;
  padding: 50px;
  background-color: #fff;
}

.contact-address h2 {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-address strong {
  font-family: "fc_paragraphsemibold";
  color: #0d4631;
}

.contact-address a {
  color: #0d4631;
}

.group-contact:first-of-type p {
  margin-bottom: 10px;
}

.group-contact {
  margin-bottom: 40px;
}

.group-contact:last-of-type {
  margin-bottom: 0;
}

.section-map {
  padding: 100px 0 50px;
}

.map-container {
  position: relative;
  z-index: 100;
  max-width: 867px;
  width: 100%;
  height: 480px;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* about */
.section-about {
  overflow: hidden;
}

.section-about-intro .headline {
  margin-bottom: 100px;
}

.section-about-intro .area-content {
  max-width: 867px;
  margin: 0 auto;
}

.section-about-intro .area-content h3 {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  line-height: 1.3;
  font-size: 30px;
  color: #0d4631;
  margin-bottom: 10px;
}

.section-about-intro .area-content strong {
  font-family: "fc_paragraphsemibold";
  color: #0d4631;
}

.section-about .block-content {
  font-size: 14px;
  color: #4e4e4e;
}

.section-about .block-content p {
  margin-bottom: 20px;
}

.section-about .block-content ul {
  margin: 0;
}

.section-about .block-content ul li {
  position: relative;
  list-style: none;
  margin-bottom: 15px;
  padding-left: 20px;
}

.section-about .block-content ul li:before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 9px;
  left: 0;
  background: #0d4631;
}

.grid-csr {
  display: grid;
  margin-bottom: 50px;
  grid-column-gap: 36px;
  grid-template-columns: 1fr 1fr;
}

.grid-csr:last-of-type {
  margin-bottom: 0;
}

.grid-csr .block-img {
  overflow: hidden;
}

.grid-partner {
  max-width: 360px;
  display: grid;
  align-items: center;
  grid-column-gap: 35px;
  grid-row-gap: 20px;
  grid-template-columns: auto auto auto;
}

.item-partner img {
  width: 80px;
  height: auto;
}

.section-about-website {
  position: relative;
  z-index: 1001;
  overflow: hidden;
}

.grid-website {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.item-website {
  margin: 0 18px;
}

.grid-item-about {
  display: grid;
  align-items: flex-start;
  grid-column-gap: 35px;
  grid-row-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
}

.item-about {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

.item-about p {
  font-size: 16px;
}

.item-about .icon {
  display: flex;
  align-items: center;
  width: 102px;
  min-height: 130px;
  margin: 0 auto 20px;
}

.item-about:after {
  content: "";
  display: block;
  width: 1px;
  height: 100px;
  position: absolute;
  top: 10px;
  right: -18px;
  background-color: #dedede;
}

.item-about:last-of-type:after {
  display: none;
}

.lineend {
  width: 100%;
  height: 1px;
  background-color: #dedede;
  display: block;
}

.section-video {
  position: relative;
  height: 600px;
}

.section-video .area-content {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  z-index: 400;
  padding: 0 15px;
  transform: translate(-50%, -50%);
}

.section-video .area-content h2 {
  font-family: "fc_paragraphsemibold";
  font-size: 60px;
  color: #fff;
  text-transform: uppercase;
}

.covervideo {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 300;
}

.covervideo video {
  object-fit: cover;
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* errorpage */
.errorpage {
  position: relative;
  padding: 100px 0;
  height: 100%;
}

.grid-errorpage {
  display: grid;
  height: 100%;
  align-items: flex-start;
  grid-template-columns: 1fr 1fr;
}

.text-errorpage h1 {
  position: relative;
  top: -35px;
}

.text-errorpage span {
  font-family: "fc_paragraphsemibold";
  font-size: 200px;
  letter-spacing: 0.1em;
  color: #ebf4f0;
}

.errorpage .block-content {
  max-width: 410px;
  padding-top: 50px;
}

.errorpage .form-search {
  position: relative;
}

.errorpage .form-search .input-text {
  display: block;
  width: 100%;
  font-family: "fc_paragraphregular";
  font-size: 20px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #2b2b2b;
}

.errorpage .form-search button {
  position: absolute;
  right: 5px;
  top: 15px;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-size: 18px;
  border-radius: 0;
  background-color: transparent;
}

/* hero-slider */
.section-hero-slider {
  position: relative;
  width: 100%;
  height: 47.98vw;
  max-height: 77vh;
  z-index: 1000;
  overflow: hidden;
}

.section-hero-slider .swiper-hero-slider,
.section-hero-slider .container {
  width: 100%;
  height: 100%;
}

.section-hero-slider .swiper-slide {
  position: relative;
  width: 100vw;
  overflow: hidden;
  z-index: 100;
}

.swiper-hero-slider {
  height: 100%;
}

.swiper-hero-slider .container {
  position: relative;
  max-width: 1450px;
}

.swiper-hero-slider .block-content {
  width: 530px;
  position: absolute;
  z-index: 1000;
  left: 0;
  bottom: 0;
  padding: 25px;
  background: rgba(13, 70, 49, 0.83);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.swiper-hero-slider .block-content h1 {
  font-size: 30px;
  color: #fff;
  margin: 15px 0;
}

.swiper-hero-slider .entry-category li {
  color: #0d4631;
  background-color: #fff;
  background-image: none;
}

.swiper-hero-slider .entry-date {
  color: #fff;
}

.swiper-hero-slider .swiper-button-prev,
.swiper-hero-slider .swiper-button-next {
  width: 50px;
  height: 50px;
  bottom: 0;
  top: inherit;
  background-color: #fff;
}

.swiper-hero-slider .swiper-button-prev:after,
.swiper-hero-slider .swiper-button-next:after {
  font-family: "icon-biothai";
  font-size: 20px;
  color: #000;
}

.swiper-hero-slider .swiper-button-prev:after {
  content: "\e909";
}

.swiper-hero-slider .swiper-button-next:after {
  content: "\e908";
}

.swiper-hero-slider .swiper-button-next {
  border-left: 1px solid rgba(239, 239, 239, 0.8);
}

/* Breaking News */
.breaking-news {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 75px;
  display: flex;
  align-items: center;
  background: linear-gradient(76.25deg, #c13a00 46.84%, #421c0c 111.24%);
}

.breaking-news .topic {
  font-family: "fc_paragraphsemibold";
  color: #fff;
  font-size: 16px;
  margin-right: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vertical-slider {
  display: inline-flex;
  height: 25px !important;
  overflow: hidden;
}

.item-breaking-news {
  width: 100% !important;
  color: #fff;
  height: 30px;
  pointer-events: none;
  overflow: hidden;
}

.item-breaking-news a.linktext {
  color: #fff;
  font-size: 16px;
}

.item-breaking-news a.linktext:hover:after {
  text-decoration: none;
  display: none;
}

.item-breaking-news .text-viewmore {
  display: inline-block;
  margin-left: 10px;
}

.slick-slide.slick-current.slick-active {
  pointer-events: all;
}

.a2a_kit a {
  display: block !important;
}

.allshare > span {
  margin-bottom: 10px;
}

/* infinite  */

.page-load-status {
  display: none;
  margin-top: 50px;
}

.page-load-status .infiniteMsg {
  font-family: "Montserrat", "Prompt", sans-serif;
  font-size: 20px;
  text-align: center;
}

.page-load-status .loader-ellips {
  font-size: 20px;
  /* change size here */
  position: relative;
  width: 4em;
  height: 1em;
  margin: 10px auto;
}

.page-load-status .loader-ellips__dot {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 0.5em;
  background: rgba(85, 85, 85, 0.418);
  /* change color here */
  position: absolute;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.page-load-status .loader-ellips__dot:nth-child(1),
.page-load-status .loader-ellips__dot:nth-child(2) {
  left: 0;
}

.page-load-status .loader-ellips__dot:nth-child(3) {
  left: 1.5em;
}

.page-load-status .loader-ellips__dot:nth-child(4) {
  left: 3em;
}

@keyframes reveal {
  from {
    transform: scale(0.001);
  }

  to {
    transform: scale(1);
  }
}

@keyframes slide {
  to {
    transform: translateX(1.5em);
  }
}

.page-load-status .loader-ellips__dot:nth-child(1) {
  animation-name: reveal;
}

.page-load-status .loader-ellips__dot:nth-child(2),
.page-load-status .loader-ellips__dot:nth-child(3) {
  animation-name: slide;
}

.page-load-status .loader-ellips__dot:nth-child(4) {
  animation-name: reveal;
  animation-direction: reverse;
}

.section-popular-items .container .wpp-list .card-item {
  height: 360px;
}

.section-popular-items .container .wpp-list .card-item .box-img {
  height: 100%;
}

.section-popular-items .container .wpp-list .card-item .box-img picture {
  height: 100%;
}

.section-popular-items .container .wpp-list .card-item .box-img picture img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.print-logo {
  cursor: pointer;
}

@media print {
  @page :footer {
    display: none;
  }

  @page :header {
    display: none;
  }

  @page {
    size: auto;
    margin: 60px 0px;
    size: A4;
  }

  header {
    display: none !important;
  }

  .header {
    display: none !important;
  }

  #header {
    display: none !important;
  }

  footer {
    display: none;
  }

  .section-related-items {
    display: none;
  }

  .article-container .article-header .box-inner-h .box-caption .entry-category {
    display: none;
  }

  .article-container .article-header .box-inner-h .box-caption .entry-author {
    display: none;
  }

  .article-container .article-header .box-inner-h .box-caption .entry-date {
    display: none;
  }

  .block-view {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .container-view {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .sticky-share {
    display: none !important;
  }

  .entry-tags {
    display: none;
  }

  .logo-main {
    display: none;
  }

  .article-content img {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: 600px !important;
    object-fit: contain !important;
  }

  .img-hero img {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: 600px !important;
    object-fit: contain !important;
  }

  .progress-container {
    display: none !important;
  }

  .article-header .box-inner-h {
    padding: 0px 25px !important;
    margin: 0 !important;
  }

  .article-note {
    padding-bottom: 0px !important;
  }
}

.section-blog-items.banner {
  padding: 0 !important;
  padding-top: 25px !important;
}

.article-body .source div {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

.article-body .source ul a li {
  color: rgba(13, 70, 49, 1);
  text-decoration: underline;
  text-decoration-color: rgba(13, 70, 49, 1);
  line-height: 1.4;
}

.single-img-wrap {
  position: relative;
  height: 700px;
  width: 100%;
  overflow: hidden;
}

.single-img-wrap .bg {
  position: absolute;
  transform-origin: center;
  width: 100%;
  height: 100%;
  transform: scale(5);
  filter: blur(8px) brightness(0.8) !important;
  -webkit-filter: blur(8px) brightness(0.8) !important;
  z-index: -1;
  filter: brightness(0.8);
}

.single-img-wrap .bg img {
  height: 100%;
  max-height: unset;
  object-fit: contain;
}

.single-img-wrap .main {
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0 auto;
  padding: 40px 0px;
  margin-top: 0 !important;
}

.single-img-wrap .main img {
  height: 100%;
  max-height: unset;
  object-fit: contain;
}

.article-hightlight {
  overflow: unset !important;
}

@media screen and (max-width: 1199.98px) {
  .article-hightlight .box-inner {
    padding-left: 0px !important;
  }
}

@media screen and (max-width: 991.98px) {
  .img-hero {
    padding: 0px !important;
    background: none !important;
  }

  .single-img-wrap {
    height: 400px;
  }

  .single-img-wrap .main {
    padding: 0px !important;
  }

  .single-img-wrap .main img {
    padding: 25px;
  }
}

.gb-block-image figcaption {
  color: #555 !important;
  font-size: 13px !important;
  margin-bottom: 1em !important;
  margin-top: 0.5em !important;
}

.wp-block-gallery figcaption {
  font-weight: bold !important;
}
