/* ******************************************************************************
*********************************************************************************
Use this file to override any of the CSS styles preset in the themed
stylesheets or you can add your own custom styles.
*********************************************************************************
****************************************************************************** */

/* Test */















.banner-area .dnd-section,
.banner-area .row-fluid {
  padding: 0 !important;
  width: 100% !important;
}

.dnd-section > .row-fluid {
  max-width: 1640px;
  padding-right: 15px;
  padding-left: 15px;
}

.dnd-section {
  padding-bottom: 40px;
  padding-top: 40px;
}

.body-container__homepage .dnd-section:nth-child(odd) {
  background-color: #F8FAFC;
}
.page-center {
  max-width: 1640px;
}




html {
  font-size: 20;
}

body {
  color: #000;
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 20px;
  font-weight: 275;
}

p {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 275
}

a {
  font-family: 'Kanit', Arial, sans-serif;
  color: rgba(119, 119, 119, 1.0);
  cursor: pointer;
  -webkit-transition: all 0.15s linear;
  -moz-transition: all 0.15s linear;
  -o-transition: all 0.15s linear;
  transition: all 0.15s linear;
}

a:hover,
a:focus {
  color:#a3d8e7;
}

a:active {
  color: rgba(159, 159, 159, 1.0);
}

h1 {
  color: #1d1d21;
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 71px;
  font-weight: 400;
}

@media(max-width: 767px) {
  h1 {
    font-size: 60.35px;
  }
}

h2 {
  color: #1d1d21;
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 44px;
  font-weight: 600;
}

@media(max-width: 767px) {
  h2 {
    font-size: 37.4px;
  }
}

h3 {
  color: #333333;
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
}

@media(max-width: 767px) {
  h3 {
    font-size: 20.4px;
  }
}

h4 {
  color: #333;
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
}

@media(max-width: 767px) {
  h4 {
    font-size: 23.8px;
  }
}

h5 {
  color: #333;
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
}

h6 {
  color: #333;
  font-family: 'Kanit', Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

blockquote {
  border-left: 10px solid #F8FAFC;;
}

.numbered-list ol {
    counter-reset: item;
  padding-left:1em;
}

.numbered-list ol > li {
    counter-increment: item;
  padding-left:10px;
}

.numbered-list ol ol > li {
    display: block;
}

.numbered-list ol ol {
    padding-left:0;
}

.numbered-list ol ol > li:before {
    content: counters(item, ".") ". ";
    margin-left: -36px;
}





form,
.submitted-message {
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.0) ;
  background-color: rgba(255, 255, 255, 0.0);
  font-family: 'Kanit', Arial, sans-serif;
  padding: 15px 5px;
}
h3.form-title {
  background-color: rgba(255, 255, 255, 0.0);
  color: rgba(13, 37, 61, 1.0);
}
.hs-button,
.button--primary {
  background-color: rgba(51, 51, 51, 1.0);
  border-radius: 2px;
  border: 1px solid;
  color: rgba(255, 255, 255, 1.0);
  border-color: rgba(51, 51, 51, 1.0);
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 0px;
  padding-bottom: 0px;
}
.hs-button:hover, .button--primary:hover {
  background-color: rgba(255, 255, 255, 1.0);
  border-color: rgba(236, 236, 233, 1.0);
  color: rgba(51, 51, 51, 1.0);
}
.hs-button:focus, .button--primary:focus  {
  background-color: rgba(255, 255, 255, 1.0);
  border-color: rgba(236, 236, 233, 1.0);
  color: rgba(51, 51, 51, 1.0);
}
.hs-button:active, .button--primary:active  {
  background-color: rgba(255, 255, 255, 1.0);
  border-color: rgba(236, 236, 233, 1.0);
  color: rgba(51, 51, 51, 1.0);
}
.hs-form label {
  color: rgba(105, 105, 95, 1.0);
}
.hs-form-field label, .hs-form-field a {
  color: rgba(105, 105, 95, 1.0);
}

a#hs_login_reset {
  color: rgba(105, 105, 95, 1.0);
}
.hs-form legend {
  color: rgba(105, 105, 95, 1.0);
}
body form .hs-input,
body form .hs-search-field__input,
body form select,
body form #hs-pwd-widget-password,
body form textarea {
  border: 0px solid;
  background-color: rgba(236, 236, 233, 1.0);
  border-color: rgba(233, 30, 45, 1.0);
  color: rgba(51, 51, 51, 1.0);
  border-radius: 0px;
}
body form .hs-input:hover,
body form .hs-search-field__input:hover,
body form select:hover,
body form #hs-pwd-widget-password:hover,
body form textarea:hover {
  border-color: rgba(233, 30, 45, 1.0);
  color: rgba(51, 51, 51, 1.0);
}
body form .hs-input:focus,
body form .hs-search-field__input:focus,
body form select:focus,
body form #hs-pwd-widget-password:focus,
body form textarea:focus {
  border-color: rgba(233, 30, 45, 1.0);
}

.hs-input:-moz-placeholder,
.hs-input::-webkit-input-placeholder,
.hs-field-desc,
.hs-dateinput:before,
.hs-richtext {
  color: #000;
}

.hs-richtext {
  font-size: 20;
}

.hs-default-font-element,
.hs-main-font-element {
  font-family: 'Kanit', Arial, sans-serif;
}

.fn-date-picker td.is-today .pika-button {
  color: #494A52;
}

.fn-date-picker td.is-selected .pika-button {
  background: #494A52;
}

.fn-date-picker td .pika-button:hover {
  background-color: #F8FAFC !important;
}

form .field {
  margin-top: 0;
}

.legal-consent-container p { margin:10px 0; font-size: 14px; }





th,
td {
  background-color: rgba(255, 255, 255, 1.0);
  border: 1px solid rgba(#null, 1.0);
  color: rgba(#null, 1.0);
}

thead th,
thead td {
  background-color: rgba(73, 74, 82, 1.0);
  color: rgba(255, 255, 255, 1.0);
}

tfoot td {
  background-color: rgba(255, 255, 255, 1.0);
  color: rgba(#null, 1.0);
}

table,
tbody + tbody {
  border-color: rgba(#null, 1.0);
}





.custom-header {
  background-color: rgba(255, 255, 255, 1.0);
}


@media (min-width: 768px){
  .header__container {
    max-width: 750px;
  }
}

@media (min-width: 992px){
  .header__container {
    max-width: 970px;
  }
}

@media (min-width: 1200px){
  .header__container {
    max-width: 1640px;
  }
}


@media(min-width:992px){
  .custom-menu-primary .navigation-primary .submenu .menu-item a {
    color: rgba(66, 66, 64, 1.0);
  }
  .custom-menu-primary .navigation-primary > .submenu > .menu-item.active-branch > a {
    color: rgba(66, 66, 64, 1.0);
    background-color: rgba(255, 255, 255, 0.0);
  }
  .custom-menu-primary .navigation-primary > .submenu > .menu-item > a:hover {
    color: rgba(66, 66, 64, 1.0);
    background-color: rgba(255, 255, 255, 0.0);
  }
  .custom-menu-primary .navigation-primary .submenu .menu-item > ul.submenu {
    background-color: rgba(255, 255, 255, 1.0);
  }
  .custom-menu-primary .navigation-primary .submenu .menu-item > ul .menu-item a {
    color: rgba(0, 0, 0, 1.0);
  }
  .custom-menu-primary .navigation-primary .submenu .menu-item > ul .menu-item:hover>a {
    background-color: rgba(238, 238, 238, 0.0);
    color: rgba(163, 216, 231, 1.0);
  }
  .custom-menu-primary .navigation-primary .submenu .menu-item > ul .menu-item.active-branch > a {
    background-color: rgba(255, 255, 255, 0.0);
    color: rgba(0, 0, 0, 1.0);
  }
}







.custom-footer {
  background-color: rgba(70, 69, 69, 1.0);
  color: #fff;
}
.custom-footer a{
  color: #424240;
}
.custom-footer a:hover{
  color: #ecece9;
}

@media (min-width: 768px){
  .footer__container {
    max-width: 750px;
  }
}

@media (min-width: 992px){
  .footer__container {
    max-width: 970px;
  }
}

@media (min-width: 1200px){
  .footer__container {
    max-width: 1640px;
  }
}






@media (min-width: 768px){
  .content-wrapper {
    max-width: 750px;
  }
}

@media (min-width: 992px){
  .content-wrapper {
    max-width: 970px;
  }
}

@media (min-width: 1200px){
  .content-wrapper {
    max-width: 1640px;
  }
}

.blog-post__date {
  border-color: #000;
}

.blog-tag-filter__menu-link,
.blog-post__tag-link,
.blog-card__tag-link,
.blog-post__author-name,
.blog-card__title a {
  color: #000;
}

.blog-card__tag-link:hover,
.blog-card__title a:hover,
.blog-tag-filter__menu-link:hover,
.blog-post__tag-link:hover,
.blog-post__author-name:hover,
.blog-card__tag-link:focus,
.blog-card__title a:focus,
.blog-tag-filter__menu-link:focus,
.blog-post__tag-link:focus,
.blog-post__author-name:focus {
  color: #000000;
}

.blog-card__tag-link:active,
.blog-card__title a:active,
.blog-tag-filter__menu-link:active,
.blog-post__tag-link:active,
.blog-post__author-name:active {
  color: #282828;
}

.blog-tag-filter__menu-link--active-item:after {
  background-color: #494A52;
}

.blog-pagination__link--active:after,
.blog-pagination__prev-link:after,
.blog-pagination__next-link:after {
  background-color: #494A52;
}

.blog-post__author {
  background-color: #F8FAFC;
}

#comments-listing .comment-reply-to {
  color: rgba(#null, 0.0);
}

#comments-listing .comment-reply-to:hover,
#comments-listing .comment-reply-to:focus {
  color: rgba(#null, 0.0);
}

#comments-listing .comment-reply-to:active {
  color: rgba(#null, 0.0);
}

/*             Blog Grid Listing and Post styles            */

.blog-header {
  background-color: rgb(238, 240, 242);
}

.blog-post__tag-link:hover{
  color: #a3d8e7;
}

.blog-post__read-more svg {
  fill: #000;
}

.blog-post__read-more a:hover svg {
  fill: #a3d8e7;
}

.blog-sidebar ul {
  box-shadow: -5px 0px 20px 0px rgba(73, 75, 77, 0.10);
}

.blog-sidebar a {
  color: #000;
}

.blog-sidebar a:hover {
  color: #a3d8e7;
}

.blog__subscription-block {
  background-color: rgb(238, 240, 242);
}

.blog-post {
  box-shadow: -5px 0px 20px 0px rgba(73, 75, 77, 0.10);
}

.blog-post__meta a {
  color: #000;
}

.blog-post__body, .blog-post__tags a {
  color: #000;
}

.blog-post__meta a:hover {
  color: #a3d8e7
}

.blog-post__links {
  border-top:  2px solid rgb(228, 230, 232);
}

.blog-post__back-to-blog {
  color: #000;
}

.blog-post__back-to-blog:hover {
  color: #a3d8e7;
}

.blog-post__back-to-blog svg {
  fill: #000;
}

a.blog-post__back-to-blog:hover svg {
  fill: #a3d8e7;
}

.comment.depth-0,
.blog-comments form {
  border-top: 2px solid rgb(228, 230, 232);
}

.comment.depth-1 {
  border-left: 2px solid rgb(228, 230, 232);
}

.section.post-footer .hs-input {
  border-color: rgb(228, 230, 232);
}

.blog-recent-posts {
  background-color: rgb(238, 240, 242);
}





.hs-site-page {
  main {
    margin: 20px;
  }

  .topic-link {
    text-decoration: none;
  }

  .topic-link {
    text-decoration: none;
  }

  h1, .h1, h2, .h2, h3, .h3, h4, .h4, p {
    color: #424240;
    font-family: Kanit;
    font-style: normal;
    line-height: normal;
    margin: 0;
  }

  h1, .h1 {
    font-size: 70px;
    font-weight: 400;
    margin-bottom: 30px;
  }

  .hs-search-results {
    .hs-search-results__title {
      color: #1d1d21;
      font-family: 'Kanit', Arial, sans-serif;
      font-size: 44px;
      font-weight: 600;
      line-height: 1.3;
      text-decoration: none;
    }

    h2, .h2 {
      font-size: 36px;
      font-weight: 700;
    }

    p {
      font-size: 20px;
      font-weight: 300;
      margin-bottom: 23px;
    }

    @media (max-width: 850px) {
      .hs-search-results__pagination {
        display: block;
      }
    }
  }
}





body .icon svg {
  fill: #494A52;
}

body .tns-nav button.tns-nav-active {
  background-color: #494A52;
}

body .tns-nav button:hover,
body .tns-nav button:focus {
  background-color: #494A52;
}

body .social-links__icon {
  background-color: #494A52;
}

body .social-links__icon:hover svg,
body .social-links__icon:focus svg {
  fill: rgba(#null, 0.0);
}

body .social-links__icon:active svg {
  fill: rgba(#null, 0.0);
}

body .team-member__description {
  background-color: #F8FAFC;
}

.page-center {
  max-width: 1640px;
  margin: 0 auto;
}




.body-container__website .dnd-section:nth-child(odd) {
  background-color: {typography=, tables=, buttons=, spacing=, footer=, global_colors=, blog_settings=, header=, forms=}
}