/*
 * Theme Name: Sample Child Theme (Corrected)
 * Description: Corrected and optimized stylesheet for Sample Child Theme.
 *
 * This CSS file has been combined from multiple sources to improve efficiency,
 * remove redundant code, and fix style conflicts.
*/

/* Defaults
------------------------------------------------------------ */
html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: 100%;
    color: #000;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    display: block;
    background: #FFF;
}

body,
h1, h2, h2 a, h2 a:visited, h3, h4, h5, h6,
p, select, textarea {
    color: #333;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 1.5625;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal !important;
}

blockquote,
input, select, textarea,
.author-box, .breadcrumb, .sticky,
.taxonomy-description, .wp-caption {
    border: 1px solid #ddd;
}

input, label, select, textarea {
    color: #333;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 300;
}

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

ol li {
    list-style-type: decimal;
}

.clearfix::before, .clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

a img {
    border: none;
}

a {
    transition: all 0.3s ease 0s !important;
    -webkit-transition: all 0.3s ease 0s !important;
    text-decoration: none !important;
    cursor: pointer;
}

a:hover {
    text-decoration: none !important;
}

a:focus {
    outline: none !important;
}

/* Helper Classes
------------------------------------------------------------ */
.fr { float: right !important; }
.fl { float: left !important; }
.img-100 { width: 100%; }
.img-auto { width: auto; }
.no-pad { padding: 0 !important; }
.no-mar { margin: 0 !important; }
.no-mar-b { margin-bottom: 0 !important; }
.no-border-b { border-bottom: 0 !important; }
.no-border-t { border-top: 0 !important; }
.no-border { border: 0 !important; }
.m-auto { margin: auto !important; }
.space { display: block; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.p-desktop { display: block; }
.p-mobile { display: none; }
.relative { position: relative; }
.absolute { position: absolute !important; }
.kanit-el { font-weight: 200 !important; }
.kanit-l { font-weight: 300 !important; }
.kanit-r { font-weight: 400 !important; }
.kanit-m { font-weight: 500 !important; }
.kanit-sb { font-weight: 600 !important; }
.f-desktop { width: 100%; display: block; }
.f-mobile { width: 100%; display: none; }
.mm-desktop { display: inline-block !important; }
.mm-mobile { display: none !important; }
.m-warp {
    width: 100%;
    margin: auto;
    display: block;
    transform: translate3d(0, 0, 0);
    transition: all 0.3s ease 0s;
    z-index: 600;
}
.warp { width: 100%; margin: auto; background: #FFF; display: block; }
.main { width: 1700px; margin: auto; display: block; }
.main2 { width: 1410px; margin: auto; display: block; }

/* Header
------------------------------------------------------------ */
#header {
    margin: 0 auto;
    width: 100%;
}

header {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    display: inline-block !important;
    background: #FFF;
}

header .logo {
    width: auto;
    padding: 0;
    margin: 0 15px;
    text-align: center;
    display: inline-block;
    float: left;
}

header .logo img {
    height: 120px;
}

#title-area {
    float: left;
    overflow: hidden;
    padding: 17px 0 0;
    width: 400px;
}

#title {
    font-size: 36px;
    line-height: 1.25;
    margin: 0;
}

#title a, #title a:hover {
    color: #333;
    padding: 0 0 0 20px;
    text-decoration: none;
}

#description {
    font-size: 14px;
    padding: 0 0 0 20px;
}

#header .widget-area {
    float: right;
    padding: 25px 20px 0 0;
    width: 510px;
}

.header-image #title-area, .header-image #title, .header-image #title a {
    display: block;
    float: left;
    height: 100px;
    overflow: hidden;
    padding: 0;
    text-indent: -9999px;
    width: 400px;
}

.header-image #description {
    display: block;
    overflow: hidden;
}

.header-full-width #title-area, .header-full-width #title, .header-full-width #title a {
    width: 100%;
}

/* Navigation
------------------------------------------------------------ */
.menu-primary, .menu-secondary, #header .menu, header nav {
    clear: both;
    color: #333;
    font-size: 14px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    text-align: center;
    display: inline-block;
}

#header .menu {
    box-sizing: border-box;
}

.menu-secondary {
    background-color: #efefef;
}

.menu-primary ul, .menu-secondary ul, #header .menu ul, header nav .mm {
    float: left;
    width: 100%;
}

.menu-primary li, .menu-secondary li, #header .menu li, header nav li {
    float: left;
    list-style-type: none;
}

.menu-primary a, .menu-secondary a, #header .menu a, header nav a {
    color: #333;
    display: block;
    padding: 7px 15px 6px;
    position: relative;
    text-decoration: none;
}

.menu-primary li a:active, .menu-primary li a:hover,
.menu-primary .current_page_item a, .menu-primary .current-cat a,
.menu-primary .current-menu-item a,
.menu-secondary li a:active, .menu-secondary li a:hover,
.menu-secondary .current_page_item a, .menu-secondary .current-cat a,
.menu-secondary .current-menu-item a,
#header .menu li a:active, #header .menu li a:hover,
#header .menu .current_page_item a, #header .menu .current-cat a,
#header .menu .current-menu-item a {
    color: #333;
}

.menu-primary li li a, .menu-primary li li a:link, .menu-primary li li a:visited,
.menu-secondary li li a, .menu-secondary li li a:link, .menu-secondary li li a:visited,
#header .menu li li a, #header .menu li li a:link, #header .menu li li a:visited {
    background: none;
    background-color: #fff;
    border-top: none;
    color: #333;
    font-size: 12px;
    padding: 9px 10px 8px;
    position: relative;
    text-transform: none;
    width: 138px;
}

.menu-primary li li a:active, .menu-primary li li a:hover,
.menu-secondary li li a:active, .menu-secondary li li a:hover,
#header .menu li li a:active, #header .menu li li a:hover {
    color: #333;
}

.menu-primary li ul, .menu-secondary li ul, #header .menu li ul {
    height: auto;
    left: -9999px;
    margin: 0 0 0 -1px;
    position: absolute;
    width: 160px;
    z-index: 9999;
}

.menu-primary li ul a, .menu-secondary li ul a, #header .menu li ul a {
    width: 140px;
}

.menu-primary li ul ul, .menu-secondary li ul ul, #header .menu li ul ul {
    margin: -36px 0 0 159px;
}

.menu li:hover ul ul, .menu li.sfHover ul ul {
    left: -9999px;
}

.menu li:hover, .menu li.sfHover {
    position: static;
}

ul.menu li:hover > ul, ul.menu li.sfHover ul, #header .menu li:hover > ul, #header .menu li.sfHover ul {
    left: auto;
}

.menu-primary li a.sf-with-ul, .menu-secondary li a.sf-with-ul, #header .menu li a.sf-with-ul {
    padding-right: 25px;
}

.menu li a .sf-sub-indicator, .menu li li a .sf-sub-indicator, .menu li li li a .sf-sub-indicator {
    background: url(images/icon-plus.png) no-repeat;
    height: 16px;
    position: absolute;
    right: 8px;
    text-indent: -9999px;
    top: 10px;
    width: 16px;
}

#wpadminbar li:hover ul ul {
    left: 0;
}

header nav .mm {
    width: auto;
    padding: 0;
    margin: 0 -2px 0 -3px;
    display: inline-block;
}

header nav a {
    width: auto;
    padding: 0 20px;
    display: inline-block;
    position: relative;
}

header nav a p {
    width: auto;
    line-height: 30px;
    margin: 0;
    padding: 45px 0;
    color: #000;
    font-size: 20px;
    display: inline-block;
}

header nav a:hover {
    background: #FB6609;
}

header nav a.active {
    color: #FB6609;
}

header nav a:hover p {
    color: #FFF;
    text-decoration: underline;
}

header nav .active p {
    color: #FB6609;
    text-decoration: underline;
}

header nav .active:hover p {
    color: #FFF;
    text-decoration: underline;
}

header nav .mm .dropdown-menu {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #EEE;
    z-index: 9999;
}

header nav .mm .dropdown-menu li {
    width: 100%;
    display: inline-block;
}

header nav .mm .dropdown-menu li a {
    width: 100%;
    line-height: 49px;
    padding: 0 45px 0 23px;
    color: #000;
    font-size: 20px;
    background: rgba(251, 102, 9, 0);
    border-bottom: 1px solid #FB6609;
    transition: all 0.3s ease 0s;
}

header nav .mm .dropdown-menu li a:hover {
    background: rgba(251, 102, 9, 1);
    color: #FFF;
    transition: all 0.3s ease 0s;
}

header nav .mm.dropdown.open {
    background: #FB6609;
    border-radius: 0;
}

header nav .mm.dropdown.open a p {
    color: #FFF;
    transition: all 0.3s ease 0s;
}

header .social {
    width: auto;
    margin: 40px 0;
    display: inline-block;
    float: right;
}

header .social a {
    width: auto;
    padding: 0 7px;
    display: inline-block;
}

/* Primary Navigation Extras
------------------------------------------------------------ */
.menu li.right {
    float: right;
    padding: 7px 15px 6px;
}

.menu li.right a {
    background: none;
    border: none;
    color: #333;
    display: inline;
    text-decoration: none;
}

.menu li.right a:hover {
    color: #0d72c7;
    text-decoration: none;
}

.menu li.search {
    padding: 0 10px;
}

.menu li.rss a {
    background: url(images/rss.png) no-repeat center left;
    margin: 0 0 0 10px;
    padding: 0 0 0 16px;
}

.menu li.twitter a {
    background: url(images/twitter-nav.png) no-repeat center left;
    padding: 0 0 0 20px;
}

/* Inner
------------------------------------------------------------ */
#inner {
    margin: 0 auto;
    overflow: hidden;
}

/* Breadcrumb
------------------------------------------------------------ */
.breadcrumb {
    font-size: 14px;
    margin: -10px 0 30px;
    padding: 5px 10px;
}

/* Taxonomy Description
------------------------------------------------------------ */
.taxonomy-description {
    background-color: #fff;
    margin: -10px 0 30px;
    padding: 0 0 15px;
}

.taxonomy-description p {
    font-size: 14px;
    padding: 15px 15px 0;
}

/* Content-Sidebar Wrap
------------------------------------------------------------ */
#content-sidebar-wrap {
    float: left;
    width: 750px;
}

.content-sidebar #content-sidebar-wrap,
.full-width-content #content-sidebar-wrap,
.sidebar-content #content-sidebar-wrap {
    width: 100%;
}

.sidebar-content-sidebar #content-sidebar-wrap,
.sidebar-sidebar-content #content-sidebar-wrap {
    float: right;
}

/* Content
------------------------------------------------------------ */
#content {
    float: left;
    width: 410px;
}

.content-sidebar #content,
.sidebar-content #content {
    width: 580px;
}

.sidebar-content #content,
.sidebar-sidebar-content #content {
    float: right;
}

.full-width-content #content {
    width: 100%;
}

.post {
    margin: 0 0 40px;
}

.entry-content {
    overflow: hidden;
}

.entry-content p {
    margin: 0 0 25px;
}

blockquote {
    background: url(images/blockquote.png) no-repeat;
    border: none;
    margin: 5px 5px 20px;
    padding: 25px 30px 5px 70px;
}

blockquote p {
    color: #999;
    font-style: italic;
}

p.subscribe-to-comments {
    padding: 20px 0 10px;
}

.clear {
    clear: both;
}

.clear-line {
    border-bottom: 1px solid #ddd;
    clear: both;
    margin: 0 0 25px;
}

/* Featured Post Grid
------------------------------------------------------------ */
.genesis-grid-even, .genesis-grid-odd {
    margin: 0 0 20px;
    padding: 0 0 15px;
    width: 48%;
}

.genesis-grid-even {
    float: right;
}

.genesis-grid-odd {
    clear: both;
    float: left;
}

/* Headlines
------------------------------------------------------------ */
h1 {
    font-size: 30px;
}

.taxonomy-description h1 {
    margin: 0;
}

h2, h2 a, h2 a:visited {
    font-size: 28px;
    color: #333;
}

h2 a:hover {
    color: #0d72c7;
    text-decoration: none;
}

.widget-area h2, .widget-area h2 a {
    font-size: 14px;
    margin: 0 0 5px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

.taxonomy-description h1, .widget-area h4 {
    font-size: 14px;
    padding: 9px 10px 8px;
}

.widget-area h4 a {
    color: #333;
    text-decoration: none;
}

#footer-widgets h4 {
    background: none;
    border: none;
    padding: 0;
}

h5 {
    font-size: 18px;
}

/* Ordered / Unordered Lists
------------------------------------------------------------ */
.entry-content ol, .entry-content ul {
    margin: 0;
    padding: 0 0 25px;
}

.archive-page ul li, .entry-content ul li {
    list-style-type: square;
    margin: 0 0 0 30px;
    padding: 0;
}

.entry-content ol li {
    margin: 0 0 0 35px;
}

.archive-page ul ul, .entry-content ol ol, .entry-content ul ul {
    padding: 0;
}

/* Post Info
------------------------------------------------------------ */
.post-info {
    font-size: 14px;
    margin: -5px 0 15px;
}

/* Post Meta
------------------------------------------------------------ */
.post-meta {
    border-top: 1px solid #ddd;
    clear: both;
    font-size: 14px;
    padding: 5px 0 0;
}

/* Author Box
------------------------------------------------------------ */
.author-box {
    margin: 0 0 40px;
    overflow: hidden;
    padding: 10px;
}

.author-box p {
    font-size: 14px;
}

/* Sticky Posts
------------------------------------------------------------ */
.sticky {
    margin: -10px 0 40px;
    padding: 20px;
}

/* Archive Page
------------------------------------------------------------ */
.archive-page {
    float: left;
    padding: 20px 0 0;
    width: 45%;
}

/* Post Icons
------------------------------------------------------------ */
.post-comments, .tags {
    background: url(images/icon-dot.png) no-repeat left;
    margin: 0 0 0 3px;
    padding: 0 0 0 10px;
}

/* Images
------------------------------------------------------------ */
img {
    height: auto;
    max-width: 100%;
}

.avatar, .featuredpage img, .featuredpost img, .post-image {
    border: 1px solid #ddd;
    padding: 4px;
}

.author-box .avatar {
    background-color: #fff;
    float: left;
    margin: 0 10px 0 0;
}

.post-image {
    margin: 0 10px 10px 0;
}

.comment-list li .avatar {
    background-color: #fff;
    float: right;
    margin: 5px 0 0 10px;
}

img.centered, .aligncenter {
    display: block;
    margin: 0 auto 10px;
}

img.alignnone {
    display: inline;
    margin: 0 0 10px;
}

img.alignleft {
    display: inline;
    margin: 0 15px 10px 0;
}

img.alignright {
    display: inline;
    margin: 0 0 10px 15px;
}

.alignleft {
    float: left;
    margin: 0 15px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 15px;
}

.wp-caption {
    padding: 5px;
    text-align: center;
}

p.wp-caption-text {
    font-size: 14px;
    margin: 5px 0;
}

.wp-smiley, .wp-wink {
    border: none;
    float: none;
}

.gallery-caption {
}

/* Post Navigation
------------------------------------------------------------ */
.navigation {
    font-size: 14px;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.navigation li {
    display: inline;
}

.navigation li a, .navigation li.disabled, .navigation li a:hover, .navigation li.active a {
    border: 1px solid #ddd;
    padding: 5px 8px;
}

.navigation li a:hover, .navigation li.active a {
    background-color: #f5f5f5;
}

/* Sidebars
------------------------------------------------------------ */
.sidebar {
    display: inline;
    float: right;
    font-size: 14px;
    width: 280px;
}

#sidebar-alt {
    float: left;
    width: 150px;
}

.sidebar-content #sidebar, .sidebar-sidebar-content #sidebar {
    float: left;
}

.content-sidebar-sidebar #sidebar-alt {
    float: right;
}

.sidebar p {
    font-size: inherit;
}

.sidebar .widget {
    background-color: #fff;
    border: 1px solid #ddd;
    margin: 0 0 15px;
    padding: 0 0 15px;
}

.sidebar.widget-area ol, .sidebar.widget-area ul, .widget-area .textwidget, .widget_tag_cloud div div {
    padding: 0 15px;
}

.sidebar.widget-area ul li, #footer-widgets .widget-area ul li {
    border-bottom: 1px solid #ddd;
    list-style-type: none;
    margin: 0 0 7px;
    padding: 0 0 5px;
    word-wrap: break-word;
}

.sidebar.widget-area ul ul li {
    border: none;
    margin: 0;
}

/* Dropdowns
------------------------------------------------------------ */
.widget_archive select, #cat {
    display: inline;
    margin: 5px 15px 0;
    padding: 3px;
    width: 85%;
}

/* Featured Page / Post
------------------------------------------------------------ */
.featuredpage, .featuredpost {
    clear: both;
    margin: 0 0 15px;
    overflow: hidden;
}

.featuredpage .page, .featuredpost .post {
    border-bottom: 1px solid #ddd;
    margin: 0 0 5px;
    overflow: hidden;
    padding: 0 15px 10px;
}

#footer-widgets .featuredpage .page, #footer-widgets .featuredpost .post {
    margin: 0 0 10px;
    padding: 0;
}

.more-from-category {
    padding: 5px 15px 0;
}

/* User Profile
------------------------------------------------------------ */
.user-profile {
    overflow: hidden;
}

.user-profile p {
    padding: 5px 15px 0;
}

.user-profile .posts_link {
    padding: 0 15px;
}

/* Search Form
------------------------------------------------------------ */
#header .searchform {
    float: right;
    padding: 12px 0 0;
}

.sidebar .searchform {
    padding: 5px 0 0 15px;
}

.s {
    margin: 10px -7px 0 0;
    padding: 6px 5px;
}

#nav .s {
    background-color: #fff;
    margin: 2px -7px 0 0;
}

/* eNews and Update Widget
------------------------------------------------------------ */
.enews p {
    padding: 0 15px 5px;
}

.enews #subscribe {
    padding: 0 0 0 15px;
}

.enews #subbox {
    margin: 5px -7px 0 0;
    padding: 6px 5px;
    width: 75%;
}

/* Calendar Widget
------------------------------------------------------------ */
#wp-calendar {
    width: 100%;
}

#wp-calendar caption {
    font-size: 12px;
    font-style: italic;
    padding: 2px 5px 0 0;
    text-align: right;
}

#wp-calendar thead {
    font-weight: bold;
    margin: 10px 0 0;
}

#wp-calendar td {
    padding: 2px;
    text-align: center;
}

/* Footer Widgets
------------------------------------------------------------ */
#footer-widgets {
    clear: both;
    font-size: 14px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

#footer-widgets .wrap {
    overflow: hidden;
    padding: 20px 30px 10px;
}

#footer-widgets .widget {
    background: none;
    border: none;
    margin: 0 0 15px;
    padding: 0;
}

#footer-widgets .textwidget {
    padding: 0;
}

#footer-widgets .widget_tag_cloud div div {
    padding: 0;
}

#footer-widgets p {
    font-size: inherit;
    margin: 0 0 10px;
}

#footer-widgets ul {
    margin: 0;
}

#footer-widgets ul li {
    margin: 0 0 0 20px;
}

#footer-widgets #wp-calendar thead, #footer-widgets #wp-calendar td {
    background: none;
}

.footer-widgets-1 {
    float: left;
    margin: 0 30px 0 0;
    width: 280px;
}

.footer-widgets-2 {
    float: left;
    width: 280px;
}

.footer-widgets-3 {
    float: right;
    width: 280px;
}

/* Footer
------------------------------------------------------------ */
#footer {
    border-top: 1px solid #ddd;
    clear: both;
    font-size: 14px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

#footer .wrap {
    overflow: hidden;
    padding: 10px 15px;
}

#footer p {
    font-size: inherit;
}

#footer a, #footer a:visited {
    color: #333;
}

#footer a:hover {
    color: #0d72c7;
    text-decoration: none;
}

#footer .gototop {
    float: left;
    width: 200px;
}

#footer .creds {
    float: right;
    text-align: right;
    width: 650px;
}

/* Comments
------------------------------------------------------------ */
#comments, #respond {
    margin: 0 0 15px;
    overflow: hidden;
}

#author, #comment, #email, #url {
    margin: 10px 5px 0 0;
    padding: 5px;
    width: 250px;
}

#comment {
    height: 150px;
    margin: 10px 0;
    width: 98%;
}

.ping-list {
    margin: 0 0 40px;
}

.comment-list ol, .ping-list ol {
    padding: 10px;
}

.comment-list li, .ping-list li {
    font-weight: bold;
    list-style-type: none;
    margin: 15px 0 5px;
    padding: 10px 15px;
}

.comment-list li ul li {
    list-style-type: none;
    margin-right: -16px;
}

.comment-content p {
    font-size: 14px;
    margin: 0 0 20px;
}

.comment-list cite, .ping-list cite {
    font-style: normal;
}

.commentmetadata {
    font-size: 12px;
    margin: 0 0 5px;
}

.reply {
    font-size: 14px;
    font-weight: 300;
}

.nocomments {
    text-align: center;
}

#comments .navigation {
    display: block;
}

.bypostauthor {
}

.thread-alt, .thread-even {
}

.alt, .depth-1, .even {
    border: 1px solid #ddd;
}

/* The Table Grid */
.g-grid {
    display: grid;
    grid-template-columns: calc(33.3333% - 30px * 2/3) calc(33.3333% - 30px * 2/3) calc(33.3333% - 30px * 2/3);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}

/* Main Content Sections
------------------------------------------------------------ */
main {
    width: 100%;
    padding: 0;
    display: inline-block;
}

.mtopic {
    width: 100%;
    height: 150px;
    margin: 0;
    text-align: center;
    display: flex;
    position: relative;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content: center;
}

.mtopic h1 {
    width: auto;
    line-height: 64px;
    padding: 0 40px;
    color: #FFF;
    font-size: 50px;
    position: relative;
    display: inline-block;
}

.mtopic h1::before, .mtopic h1::after {
    content: "";
    width: 20px;
    height: 1px;
    background: #FB6609;
    position: absolute;
    top: 50%;
}

.mtopic h1::before {
    left: 0;
}

.mtopic h1::after {
    right: 0;
}

.mtopic.bg-product {
    background: url(../images/bg-product.jpg) no-repeat center center;
    background-size: cover;
}

.mtopic.bg-gallery {
    background: url(../images/bg-gallery.jpg) no-repeat center center;
    background-size: cover;
}

.mtopic.bg-portfolio {
    background: url(../images/bg-portfolio.jpg) no-repeat center center;
    background-size: cover;
}

.mtopic.bg-contact {
    background: url(../images/bg-contact.jpg) no-repeat center center;
    background-size: cover;
}

.sub-topic {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    display: inline-block;
}

.sub-topic h4 {
    width: auto;
    line-height: 46px;
    padding: 0 40px;
    font-size: 35px;
    position: relative;
    display: inline-block;
}

.sub-topic h4::before, .sub-topic h4::after {
    content: "";
    width: 20px;
    height: 1px;
    background: #FB6609;
    position: absolute;
    top: 50%;
}

.sub-topic h4::before {
    left: 0;
}

.sub-topic h4::after {
    right: 0;
}

.topic {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    display: inline-block;
}

.topic h5 {
    width: 100%;
    line-height: 40px;
    margin: 38px 0;
    padding: 0;
    font-size: 30px;
    text-align: center;
    display: inline-block;
}

.topic h6 {
    width: 100%;
    line-height: 35px;
    margin: 13px 0 47px 0;
    padding: 0;
    color: #FA6608;
    font-size: 25px;
    text-align: center;
    display: inline-block;
}

.h-banner {
    width: 100%;
    display: block;
    position: relative;
}

.h-banner span {
    width: 100%;
    padding: 100px 0 80px 0;
    text-align: center;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 999;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#000000', GradientType=0);
}

.h-banner span h1 {
    width: 100%;
    line-height: 66px;
    margin: 0 0 20px 0;
    color: #FFF;
    font-size: 50px;
    text-align: center;
    display: inline-block;
}

.h-banner span h6 {
    width: 100%;
    line-height: 27px;
    margin: 0 0 33px 0;
    color: #FFF;
    font-size: 20px;
    text-align: center;
    display: inline-block;
}

.h-banner span a {
    width: auto;
    line-height: 27px;
    margin: 0;
    color: #417FCB;
    font-size: 20px;
    text-align: center;
    display: inline-block;
}

.h-banner span a::after, .h-banner .p-prev::before, .h-banner .p-next::after {
    font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Brands';
}

.h-banner span a::after {
    content: "\f105";
    margin-left: 10px;
    font-size: 22px;
    line-height: 27px;
}

.h-banner img {
    width: 100%;
}

.h-banner li {
    text-align: center;
}

.h-banner .p-prev {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: left;
    display: block;
    position: absolute;
    left: 50px;
    top: 50%;
    margin-top: -25px;
    cursor: pointer;
    z-index: 9999;
}

.h-banner .p-next {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: right;
    display: block;
    position: absolute;
    right: 50px;
    top: 50%;
    margin-top: -25px;
    cursor: pointer;
    z-index: 9999;
}

.h-banner .p-prev::before {
    content: "\f104";
    width: 50px;
    color: #FFF;
    font-size: 50px;
}

.h-banner .p-next::after {
    content: "\f105";
    width: 50px;
    color: #FFF;
    font-size: 50px;
}

.product {
    width: 100%;
    padding: 20px 0 15px 0;
    text-align: center;
    display: inline-block;
}

.product.mm {
    padding: 18px 0;
}

.product ul {
    width: 100%;
    margin: 0 0 35px 0;
    display: inline-block;
}

.product ul li {
    padding: 15px;
    text-align: left;
    display: inline-block;
    float: left;
}

.product ul li span {
    width: 100%;
    padding: 0 15% 28px 15%;
    border-top: 1px solid #FB6609;
    text-align: center;
    background: #DDD;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease 0s;
}

.product ul li span .pic {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    display: inline-block;
}

.product ul li span .pic::after {
    content: "";
}

.product ul li span .pic img {
    max-width: 100%;
}

.product ul li span h5 {
    width: 100%;
    line-height: 66px;
    margin: 0 0 20px 0;
    font-size: 30px;
    text-align: center;
    display: inline-block;
}

.product ul li span p {
    width: 100%;
    height: 69px;
    line-height: 23px;
    margin: 12px 0;
    font-size: 18px;
    text-align: center;
    display: inline-block;
}

.product ul li span .more {
    width: auto;
    line-height: 27px;
    margin: 5px 0 0 0;
    color: #417FCB;
    font-size: 18px;
    text-align: center;
    display: inline-block;
}

.product ul li span .more::after {
    content: "\f105";
    margin-left: 10px;
    font-size: 22px;
    line-height: 27px;
    font-family: 'Font Awesome 5 Free';
}

.gallery {
    width: 100%;
    padding: 20px 0 46px 0;
    text-align: center;
    background: #333;
    display: inline-block;
}

.gallery.mm {
    padding-top: 95px;
}

.gallery h4 {
    color: #FFF !important;
}

.gallery ul {
    width: 100%;
    margin: 0;
    padding: 13px 0 42px 0;
    display: inline-block;
}

.gallery ul .row {
    margin: 0 -5px;
}

.gallery ul li {
    width: 20%;
    padding: 5px;
    text-align: left;
    display: inline-block;
    float: left;
}

.gallery ul li .pic {
    width: 100%;
    display: inline-block;
}

.gallery ul li .pic img {
    width: 100%;
}

.gallery .btu {
    width: auto;
    line-height: 27px;
    margin: 5px 0 0 0;
    color: #417FCB;
    font-size: 18px;
    text-align: center;
    display: inline-block;
}

.gallery .btu::after {
    content: "\f105";
    margin-left: 10px;
    font-size: 22px;
    line-height: 27px;
    font-family: 'Font Awesome 5 Free';
}

.gallery .load {
    width: auto;
    line-height: 27px;
    margin: 0 0 30px 0;
    color: #417FCB;
    font-size: 18px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.gallery .load::after {
    content: "+";
    margin-left: 10px;
    font-size: 44px;
    font-weight: 200 !important;
    line-height: 27px;
    position: relative;
    top: 5px;
}

.portfolio {
    width: 100%;
    padding: 20px 0 46px 0;
    text-align: center;
    display: inline-block;
}

.portfolio.mm {
    padding: 18px 0;
}

.portfolio ul {
    width: 100%;
    margin: 0 0 30px 0;
}

.portfolio ul li {
    background: #DDD;
    vertical-align: middle;
}

.portfolio ul li .pic {
    width: 100%;
    padding: 0;
    text-align: center;
    display: inline-block;
}

.portfolio ul li .pic::after {
    content: "";
}

.portfolio ul li .pic img {
    width: 100%;
}

.portfolio ul li span {
    width: 100%;
    padding: 28px 15%;
    text-align: center;
    background: #DDD;
    display: inline-block;
}

.portfolio ul li span p {
    width: 100%;
    line-height: 23px;
    margin: 0;
    font-size: 18px;
    text-align: center;
    display: inline-block;
}

.portfolio .btu {
    width: auto;
    line-height: 27px;
    margin: 5px 0 0 0;
    color: #417FCB;
    font-size: 18px;
    text-align: center;
    display: inline-block;
}

.portfolio .btu::after {
    content: "\f105";
    margin-left: 10px;
    font-size: 22px;
    line-height: 27px;
    font-family: 'Font Awesome 5 Free';
}

.portfolio .load {
    width: auto;
    line-height: 27px;
    margin: 0 0 30px 0;
    color: #417FCB;
    font-size: 18px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.portfolio .load::after {
    content: "+";
    margin-left: 10px;
    font-size: 44px;
    font-weight: 200 !important;
    line-height: 27px;
    position: relative;
    top: 5px;
}

.material {
    width: 100%;
    margin: 0;
    padding: 18px 0 0 0;
    text-align: center;
    display: inline-block;
}

.material .container {
    width: 100%;
    padding: 25px 0;
    text-align: center;
    background: #F5F5F5;
    display: inline-block;
}

.material .container ul {
    width: 1000px;
    padding: 25px 0;
    display: inline-block;
}

.material .container ul a {
    width: 20%;
    padding: 3px;
    display: inline-block;
    float: left;
}

.material .container ul a img {
    width: 100%;
}

.material .shopee {
    width: 100%;
    padding: 25px 0;
    text-align: center;
    display: inline-block;
}

.m-bottom {
    width: 100%;
    padding: 30px 0;
    text-align: center;
    display: inline-block;
    background: #EEE;
}

.m-bottom .facebook {
    width: auto;
    padding: 29px;
    display: inline-block;
}

.m-bottom .youtube {
    width: 1038px;
    padding: 29px;
    display: inline-block;
}

.vdo {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    display: inline-block;
    background: #555;
}

.vdo .ml-slide {
    width: 100%;
    padding: 0;
    background: #222;
    display: inline-block;
}

.vdo .ml-slide li {
    font-size: 17px;
    padding: 7px 0 0 0;
    border-top: 3px solid rgba(251, 102, 9, 0);
    background: transparent;
    transition: all 0.3s ease 0s;
}

.vdo .ml-slide li img {
    width: 100%;
    transition: all 0.3s ease 0s;
}

.vdo .ml-slide li p {
    line-height: 20px;
    margin: 4px 0;
    padding: 0;
    font-size: 15px;
    font-weight: 300 !important;
    font-family: 'Kanit', sans-serif;
    transition: all 0.3s ease 0s;
}
/* Custom styles to improve contrast for links */
a.more.kanit-l {
    color: #417FCB !important; /* เปลี่ยนสีตัวอักษรเป็นสีน้ำเงินเข้ม */
    background-color: transparent !important;
}

/* หากมีลิงก์ .more ที่ใช้ในส่วนอื่น ๆ */
.product ul li span .more {
    color: #417FCB !important;
    background-color: transparent !important;
}
.faq-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.faq-container {
    max-width: 800px;
    width: 90%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2em;
    color: #333;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    font-size: 1.2em;
    color: #e74c3c;
    margin-bottom: 5px;
    line-height: 1.4;
}

.faq-item p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    padding-left: 20px;
}

.faq-item p strong {
    color: #e74c3c;
}
/* Comments, Footer, and Other Sections
------------------------------------------------------------ */
/* Remaining styles from your original code are included here, consolidated for clarity and efficiency. */