/*!
Theme Name: kawamura
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kawamura
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

kawamura is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*header mobile*/
button.navbar-toggler.header-mobile_btn.site-header{
    font-size: 40px;
    cursor: pointer;
    color: #fff;
    padding-bottom: 10px;
}
button.navbar-toggler.header-mobile_btn {
    padding: 0px 5px;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #244376;
    padding-bottom: 10px;
    position: relative;
    right: 15px;
}
.current-menu-item {
    border-bottom: 1px solid #fff;
}
.site-header.sticky.show .current-menu-item {
    border-color: #000;
}
.site-header.sticky.show .current-menu-item {
    border-color: #000;
}
/*button lg*/
a.js-wpml-ls-item-toggle.wpml-ls-item-toggle {
    color: #fff;
}
a.js-wpml-ls-item-toggle.wpml-ls-item-toggle:hover {
    color: #000;
}
span.wpml-ls-native {
    color: #fff;
}
span.wpml-ls-native:hover {
    color: #000;
}
.site-header.sticky.show span.wpml-ls-native {
    color: #000;
}
.site-header.sticky.show a.js-wpml-ls-item-toggle.wpml-ls-item-toggle {
    color: #000;
}
.site-header.sticky.show a.js-wpml-ls-item-toggle.wpml-ls-item-toggle:hover {
    color: #000;
}


/*header*/
/*language button*/
.wpml-ls-legacy-dropdown {
    width: 80px;
}
.language {
    display: flex;
    align-self: center;
}
li.wpml-ls-current-language > a {
    padding-left: 35px;
    padding-right: 5px !important;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    border: none;
}
li.wpml-ls-current-language > a:before {
    content: "";
    width: 20px;
    height: 20px;
    top: 25%;
    left: 10%;
    background: url(https://kawamura.co.th/wp-content/uploads/2022/11/Converted.png);
    background-repeat: round;
    position: absolute;
}
.language {
    text-transform: uppercase;
}
.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    width: 100%;
}
.wpml-ls-legacy-dropdown a {
    border: none;
    background-color: transparent;
}

a.js-wpml-ls-item-toggle.wpml-ls-item-toggle{
    background: unset !important;
}



.site-header.sticky.show {
    background: #fff;
}
img.custom-logo {
    max-width: 150px;
    height: auto;
    margin-left: 20px;
}
.entry-header {
	background-image: url(https://kawamura.co.th/wp-content/uploads/2022/11/ph2-scaled.jpg);
	position: relative;
    height: 450px;
    width: 100%;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    background-position: top;
	display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.menu-footer ul li.menu-item > a{
	color:#fff;
	text-decoration: none;
	}
div#navbarSupportedContent {
    flex-grow: 0;
}
header {
    position: fixed;
    z-index: 10;
    width: 100%;
    transition: 0.5s;
}
.head-sub {
    position: absolute;
    text-align: center;
    top: 30%;
    z-index: 1;
    width: 100%;
    padding: 20px 0px;
    background: rgba(255, 255, 255, 0.69);
}
.text-on-banner {
    width: 550px;
    position: relative;
    top: 250px;
    padding: 30px;
    background: rgba(220,247,255,0.45);
    margin-left: -15px;
    border-radius: 2px;
}
.textsub-banner1.custom-en {
    width: 100%;
}
.head-s1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #244376;
    margin-bottom: 20px;
}
.head-s1 {
    position: relative;

    text-align: center;
} 
.head-s1:before {
    position: absolute;
    bottom: 0px;
    width: 90%;
    height: 2px;
    content: '';
    border-radius: 3px;
    background: #244376;
}
p.t-sub-banner1 {
    font-size: 40px;
}
p.t-sub-banner3 {
    font-size: 40px;
}
a.nav-link.menu-top,a.nav-link.menu-top1,li.menu-item > a {
    font-size: 18px;
	font-weight: bold;
	text-decoration: none;
    color: #fff;
}
a.nav-link.menu-top,a.nav-link.menu-top1,.site-header.sticky.show li.menu-item > a {
    color: #000;
}
a.nav-link.menu-top,a.nav-link.menu-top1,.site-header.sticky.show li.menu-item > a:hover {
    color: gray;
}
a.nav-link.menu-top:hover,a.nav-link.menu-top1:hover,li.menu-item:hover > a {
    color: #dedede;
}
p.t-sub-banner2 {
    font-size: 60px;
    margin: 20px 30px;
}
p.textsubbanner {
    text-align: center;
    font-size: 20px;
    color: #244376;
    width: 90%;
    margin: 0 auto;
}
/*
.head-s1 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid;
    margin-bottom: 10px;
    font-weight: bold;
}
*/
.contact-bt-top {
    background: #244376;
    border-radius: 50px;
    padding: 5px 10px;
}
ul#menu-active {
    align-items: center;
}
li.menu-item {
    margin: 0px 15px;
}
.head-bbner {
    line-height: 0.7;
}
.menu-top1 {
    color: #fff;
}
a.nav-link.menu-top1:hover {
    color: #fff !important;
}

/*button*/
span.wpcf7-spinner {
    display: none;
}
/*
li#menu-item-87,li#menu-item-429 {
    color: #fff;
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    text-align: left;
    border-radius: 50px;
    background: #244376;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 25px;
    border-bottom: none;
}
.site-header.sticky.show li#menu-item-429 > a {
    color: #fff !important;
}
.site-header.sticky.show li#menu-item-87 > a {
    color: #fff !important;
}
li#menu-item-87::before , li#menu-item-429::before {
	content: "";
	position: absolute;
	top: 0;
	right: 100%;
	z-index: -1;
	width: 100%;
	height: 100%;
	background: #2a85c9ff;
	transition: right 0.3s;
}
li#menu-item-87:hover ,li#menu-item-429:hover{
    color: #fff !important;
}
li#menu-item-87:hover::before ,li#menu-item-429:hover::before {
    right: 0;
}
*/
.btnType-toppage {
    color: #fff;
    position: relative;
    z-index: 1;
    display: inline-block;
    min-width: 250px;
    padding: 12px 20px;
    overflow: hidden;
    text-align: center;
    border-radius: 5px;
    background: #244376;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 18px;
}
.btnType-toppage::before {
	content: "";
	position: absolute;
	top: 0;
	right: 100%;
	z-index: -1;
	width: 100%;
	height: 100%;
	background: #2a85c9ff;
	transition: right 0.3s;
}
.btnType-toppage:hover{
    color: #fff;
}
.btnType-toppage:hover::before {
    right: 0;
}
/*
.btnType-toppage::after {
	color: #244376;
	content: "\f105";
	position: absolute;
	top: 50%;
	right: 65px;
	width: 20px;
	padding-left: 5px;
	font-family: FontAwesome;
	font-weight: bold;
	line-height: 20px;
	text-align: left;
	border-radius: 100%;
	background: #FFF;
	box-sizing: border-box;
	transform: translateY(-50%);
}
.btnType-toppage:hover::after {
	color: #2a85c9ff;
}
*/


/*top page*/
img.img-fluid.logo-lasttop {
    max-width: 30%;
}
p.sp-top-product {
    margin: 0;
}
.mc-list-top {
    justify-content: center;
    align-items: center;
}
.banner-img.banner-1 {
    background-image: url(https://kawamura.co.th/wp-content/uploads/2024/05/banner_top_pc.png);
}
.banner-top2a{
    background-image: url(https://kawamura.co.th/wp-content/uploads/2022/10/kawamura-web-banner_1-scaled.jpg);
}
.banner-top2a{
    position: relative;
    height: 500px;
    width: 100vw;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    background-position: center;
    max-width: 100%;
}
.detail-banner-2-1 {
    padding: 100px;
}
.banner-img {
    position: relative;
    /*height: 75vh;*/
    width: 100vw;
    height: 550px;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    background-position: center;
    max-width: 100%;
    border-radius: 0px 0px 300px 0px;
}
.banner-top2a {
    position: relative;
    overflow: hidden;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center; 
}
/*
section.sec-banner-2{
    position: relative;
    background-image: url(https://kawamura.co.th/assets/images/top-bn2.jpg);
    height: 100vh;
    width: 100%;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
    background-position: center;
    display: flex;
    align-items: center;
}
*/
.banner-top {
    width: 100%;
    height: 500px;
}
.ct-text-top-p {
    max-width: 850px;
    text-align: center;
}
span.t-sub-pt {
    color: #000;
    font-size: 14px;
}
h2.head-pd-top {
    position: relative;
    padding: 30px 0px;
    text-align: center;
    line-height: 0.8;
    color: #2b68a0;
    font-size: 40px;
    font-weight: bold;
}
h2.head-pd-top::before {
    position: absolute;
    bottom: -1px;
    left: calc(50% - 45px);
    width: 90px;
    height: 3px;
    content: '';
    border-radius: 2px;
    background: #2b68a0;
}
h4.head-mc-top {
    position: relative;
    padding: 30px 0px;
    text-align: center;
    line-height: 0.8;
    color: #2b68a0;
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: bold;
}
h4.head-mc-top::before {
    position: absolute;
    bottom: -1px;
    left: calc(50% - 45px);
    width: 90px;
    height: 3px;
    content: '';
    border-radius: 2px;
    background: #2b68a0;
}
.bt-product-t {
    margin: 30px;
}
h4.head-top-banner-2-1 {
    line-height: 1.8;
}

/*
.t-sub-pt{
    margin-top: 0.666em;
    background: linear-gradient(transparent 60%, #2b68a0 90%, #2b68a0 90%, transparent 90%, transparent 100%);
    font-size: 18px;
}
*/
img.img-fluid.product-top1 {
    border-radius: 20px;
}
.detail-product-img {
    position: relative;
    overflow: hidden;
}
/*
.textsub-banner1 {
    position: absolute;
    top: 250px;
    z-index: 1;
    color: #244376;
}
*/
h2.t-sub-banner {
    border-bottom: 1px solid;
    line-height: 2;
    width: 320px;
}
section.content-product-top {
    margin: 100px 0px;
}
.col-6.col-md-3.detail-product-top-1-1,.col-6.col-md-3.detail-product-top-1-2,.col-6.col-md-3.detail-product-top-1-3,.col-6.col-md-3.detail-product-top-1-4 {
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.detail-product1-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    padding: 20px;
    background: #0006;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 20px;
}
.product-top-text {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin: 150px 0px;
}

.detail-product-top-1 {
    margin: 50px 0px;
}
.product-top-2 {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
button.bt-top-product,button.bt-top-company{
    width: 250px;
    padding: 10px;
    background: #244376;
    color: #fff;
    border: none;
}
button.bt-top-banner2 {
    width: 250px;
    padding: 10px;
    background: #244376;
    color: #fff;
    border: none;
    margin-top: 20px;
}
.detail-banner-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    background: #41464b82;
    color: #fff;
    text-align: center;
    align-items: center;
}
.in-content-top-product {
    margin: 0 auto;
}

section.sec-contact-top {
    margin: 100px 0px;
}
.detail-contact-top2 {
    text-align: center;
    font-size: 24px;
    border-bottom: 2px solid #6c757d17;
    margin-bottom: 20px;
}
.bt-top-last {
    margin-top: 40px;
}
p.tel-top {
    font-size: 30px;
    font-weight: bold;
    color: #1a70bf;
    margin: 0;
}
a.c-tel {
    text-decoration: none;
}
a.c-tel-1 {
    text-decoration: none;
    color: #2b68a0;
}

p.mail-top {
    font-size: 30px;
    font-weight: bold;
    color: #1a70bf;
}
iframe {
    width: 100%;
    height: 400px;
}
.detail-company-top2 {
    margin: 20px 0px;
    text-align: center;
}
.coppyright {
    padding: 10px;
    text-align: center;
    color: #fff;
    background: #244376;
}
ul.navbar-nav.me-auto.mb-2.mb-lg-0.ft-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    width: 750px;
    color: #fff;
}
.menu-footer {
    padding: 20px 0px;
    background: #2b68a0

}
.sp-textsub-product-top {
    height: 200px;
}
h3.headt-pd {
    font-size: 23px;
    font-weight: bold;
}
.machin-bt-top {
    text-align: center;
}


/*company us page*/
h2.head-companypage1 {
    position: relative;
    padding: 0 65px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
h2.head-companypage1::before {
    position: absolute;
    top: calc(50% - 1px);
    left: 34%;
    width: 32%;
    height: 5px;
    content: '';
    background: #2b68a0;
}
h2.head-companypage1 span {
    position: relative;
    padding: 0 1em;
    background: #fff;
}
section.company-page {
    margin: 100px 0px;
}
.content-company-1 {
    text-align: center;
}
.main-container {
    max-width: 1000px;
}
.content-company-1 {
    margin-bottom: 70px;
}
p.text-table-company {
    margin: 20px;
}
.check-box {
    display: flex;
    justify-content: space-between;
}
.bt-sunmit {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.bt-contact {
    width: 240px;
    padding: 10px;
    background: #1a70bf;
    color: #fff;
    border: none;
}
.bt-contact:hover {
    background: #1a70bf7a;
    color: #fff;
    border: none;
}
section.contactus-page {
    margin: 100px 0px;
}
.top-1 {
    border-top: 1px solid #ebeef1;
    margin-top: 50px;
}

/*contact us page*/
.text-sub-contactpage {
    text-align: center;
}
p.mail-link {
    margin: 0;
}
a.mail-link-s {
    color: #2b68a0;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
span.mail-link-s2:hover {
    color: #2b68a0;
}
i.fa.fa-envelope {
    font-size: 20px;
}
.banner-head {
    width: 100%;
    height: 500px;
}
section.contact-page {
    margin: 100px 0px;
}
.content-contact-1 {
    text-align: center;
}
.color-col {
    background: #1a70bf2b;
    font-weight: bold;
    text-align: center;
}
.content-dott {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ebeef1;
    padding: 30px 10px;
}
input#exampleCheck1 {
    margin-right: 10px;
}
.in-table1 {
    border: 1px solid #f3f3f3;
}


/*product page*/
.headproduct1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0px;
}
section.product-page {
    margin: 100px 0px;
}
.cont-product1 {
    text-align: center;
}
.cont-img-product1 {
    margin: 50px 0px;
}
.text-prod1 {
    margin: 50px 0px;
}
.ct-img-product1 {
    border-radius: 20px;
}
h2.head-pd1 span,h2.head-pd2 span ,h2.head-pd3 span {
    position: relative;
    padding: 0 1em;
    background: #fff;
}
h2.head-pd1 {
    position: relative;
    padding: 0 65px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
h2.head-pd2 {
    position: relative;
    padding: 0 65px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
h2.head-pd3 {
    position: relative;
    padding: 0 65px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
h2.head-pd1::before {
    position: absolute;
    top: calc(50% - 1px);
    left: 34%;
    width: 32%;
    height: 5px;
    content: '';
    background: #2b68a0;
}
h2.head-pd2::before {
    position: absolute;
    top: calc(50% - 1px);
    left: 28%;
    width: 45%;
    height: 5px;
    content: '';
    background: #2b68a0;
}
h2.head-pd3::before {
    position: absolute;
    top: calc(50% - 1px);
    left: 25%;
    width: 50%;
    height: 5px;
    content: '';
    background: #2b68a0;
}


/*Machine List page*/
thead.head-tabel-coating {
    text-align: center;
    background: #1a70bf;
    color: #fff;
    padding: 20px;
    vertical-align: middle;
}
.text-tabel-coating1 {
    padding: 20px !important;
}
.text-en-page {
    padding: 10px !important;
}
.table-coa-sl {
    padding: 0;
}
td {
    text-align: center;
    vertical-align: middle;
    padding: 15px !important;
}
.headtext-coa-eng {
    height: 90px;
}
.table1-1 {
    background: #1a70bf47;
    font-weight: bold;
}

section.content-table1 {
    margin: 100px 0px;
}
.head-machine-s1 {
    text-align: center;
    margin: 20px 0px;
}
.head-machine-s2 {
    text-align: center;
    margin: 20px 0px;
}

.container.content-table {
    max-width: 1000px;
}

.col.table-c1 {
    padding: 0;
}
.text-coa {
    padding: 10px;
    text-align: center;
    border: 0.5px solid #dee2e6;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-coa-2 {
    padding: 10px;
    border: 0.5px solid #dee2e6;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.form-check {
    display: flex;
    justify-content: center;
    margin: 8px;
}

.table-mat {
    padding: 20px;
}
.blog-1 {
    background: #1a70bf47;
    text-align: center;
    font-weight: bold;
}
.blog-2 {
    background: #fff;
}
.material-1 {
    border: 0.5px solid #dee2e6;;
}
.li-tab {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0px;
}
.sp-tb1 {
    border-bottom: none;
}
.sp-tb2 {
    border-top: none;
    border-bottom: none;
}
.sp-tb-3 {
    align-items: end;
    padding: 0;
    border-bottom: none;
}
.form-check-input[type=radio] {
    border-radius: 30%;
}
.form-check-input:disabled {
    opacity: .9;
}
.sp-tb3,.sp-tb-4 {
    border-top: none;
}
.headtext-eq {
    padding: 10px;
    text-align: center;
    background: #1a70bf;
    color: #fff;
    border: 0.5px solid #dee2e6;
}
.text-eq {
    padding: 1rem ;
    text-align: center;
    border: 0.5px solid #dee2e6 ;
}
.table-eq1,.table-eq2 {
    padding: 0;
}
.col-2.table-c1,.col-1.table-c1 {
    padding: 0;
}
.headtext-coa {
    background: #1a70bf;
    color: #fff;
    border: 0.5px solid #dee2e6;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
}
.table-c1 {
    padding: 0;
}
.menu-footer .current-menu-item {
    border: none;
} 


/*test*/
.cont-product1{
    margin-bottom: 50px;
}
.pd-test {
    display: flex;
    justify-content: space-between;
}
.col-4.img-test {
    padding: 0;
}
.container.test {
    max-width: 1200px;
    margin-top: 50px;
}
@media (max-width: 991px){
    /*headder menu*/
    .text-on-banner {
        top: 200px;
        width: 450px;
        margin: 0 auto;
    }
    p.t-sub-banner1,p.t-sub-banner3 {
        font-size: 30px;
    }
    p.t-sub-banner2 {
        font-size: 30px;
    }
    .banner-img {
        border-radius: 0px;
    }
    button.navbar-toggler.header-mobile_btn {
        margin: 0px 0px 0px 20px;
    }
    .col-logo{
        order: 0;
    }
    .col-menu{
        order: 2;
    }
    .col-language{
        order: 1;
        justify-content: end;
    }
    header.site-header.sticky.show {
        top: 0px;
    }
    .site-header.sticky.show button.navbar-toggler.header-mobile_btn{
        color: #244376;
    }
    .banner-img {
        /*height: 50vh;*/
        height: 400px;
    }
    .container-fluid.menu-top {
        padding: 0;
    }
    div#navbarSupportedContent {
        background: #fff;
        position: absolute;
        width: 100%;
        top: 100px;
    }
    li.menu-item > a {
        color: #000;
    }
    ul#menu-active {
        padding: 0px;
        height: 2000px;
        text-align: center;
    }
    li#menu-item-26{
        padding: 20px 0px;
        width: 100%;
        /*border-top: 1px solid #adb6c5;*/
        border-bottom: 1px solid #adb6c5;
        margin: 0;
    }
    li#menu-item-28,li#menu-item-27,li#menu-item-76,li#menu-item-87 {
        padding: 20px 0px;
        width: 100%;
        border-bottom: 1px solid #adb6c5;
        margin: 0;
    }
    li#menu-item-427{
        padding: 20px 0px;
        width: 100%;
        /*border-top: 1px solid #adb6c5;*/
        border-bottom: 1px solid #adb6c5;
        margin: 0;
    }
    li#menu-item-431,li#menu-item-430,li#menu-item-428,li#menu-item-429 {
        padding: 20px 0px;
        width: 100%;
        border-bottom: 1px solid #adb6c5;
        margin: 0;
    }
    
    .ct-text-top-p,.container.detail-product-top,.container.detail-contact-top1 {
        max-width: 900px;
    }
    h3.headt-pd {
        font-size: 20px;
    }
    h2.head-pd1::before {
        left: 20%;
        width: 60%;
    }
    h2.head-pd2::before {
        left: 20%;
        width: 60%;
    }
    h2.head-pd3::before {
        left: 15%;
        width: 70%;
    }
    .container.content-table,.main-container {
        max-width: 900px;
    }
    .headtext-coa {
        height: 60px;
    }
    /*mc page*/
    .text-eq.table1-1,.text-eq {
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    th.text-tabel-coating1 {
        min-width: 150px;
    }
    .custom-table-coa {
        overflow-x: auto;
    }
}
@media (max-width: 767px){

    h2.head-companypage1::before {
        left: 30%;
        width: 40%;
    }
    ul#menu-primary-menu, ul#menu-menu_1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 !important;
    }
    li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-28, li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-27 {
        margin: 10px 0px;
    }
    li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-76, li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-87, li.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item.menu-item-home.menu-item-26 {
        margin: 10px 0px;
    }
    li.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.menu-item-427,li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-427, li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-431, li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-430, li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-428, li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-429 {
        margin: 10px 0px;
    }
    .headtext-eq {
        height: 70px;
    }
    .table1-1 {
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .text-eq {
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container.content-table, .main-container {
        max-width: 700px;
    }
    .mb-tab2 {
        margin-top: 30px;
    }
    .ct-text-top-p, .container.detail-product-top, .container.detail-contact-top1,.container.test {
        max-width: 600px;
    }
    .detail-product-top-1-1,.detail-product-top-1-2,.detail-product-top-1-3 {
        margin: 10px 0px;
    }
    .content-table-test {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }
    .cont-product1 {
        max-width: 650px;
    }
    h2.head-pd1::before {
        left: 0%;
        width: 100%;
    }
    h2.head-pd2::before {
        left: 0%;
        width: 100%;
    }
    h2.head-pd3::before {
        left: 0%;
        width: 100%;
    }
    h2.head-pd1,h2.head-pd2,h2.head-pd3 {
        font-size: 22px;
    }
    h3.head3-pd {
        font-size: 20px;
    }
    h4.head4-pd {
        font-size: 20px;
    }
    .main-container {
        max-width: 700px;
    }
}
@media (max-width: 520px){
    .text-on-banner {
        width: 325px;
    }
    .menu-footer li.menu-item a {
        font-size: 14px !important;
    }
    h2.head-companypage1 {
        padding: 0;
    }
    .main-container {
        max-width: 370px;
    }
    .img-text-top1-1 {
        display: none;
    }
    h2.head-pd-top,h4.head-mc-top {
        font-size: 30px;
    }
    /*footer*/
    li.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.menu-item-427,li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-431,li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-430,li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-428,li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-429 {
        margin: 10px 0px;
    }
    ul#menu-primary-menu,ul#menu-menu_1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 !important;
    }
    li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-76,li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-87,li.menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item.current_page_item.menu-item-home.menu-item-26 {
        margin: 10px 0px;
    }
    li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-28,li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-27 {
        margin: 10px 0px;
    }
    .entry-header {
        height: 250px;
    }
    /*home page*/
    p.ct-topage-bottom {
        font-size: 28px;
    }

    h4.head-top-banner-2-1 {
        font-size: 16px;
    }
    .custom-en {
        width: 280px;
    }
    h2.head-pd3 {
        padding: 0;
    }
    .container.container.detail-product-top ,.container.ct-text-top-p {
        max-width: 460px;
    }
    .product-top-text {
        flex-direction: column;
    }
    .product-top-2 {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }
    .bt-product-t {
        text-align: center;
    }
    .detail-product-top-1-2 {
        margin: 30px 0px;
    }
    img.img-logo {
        max-width: 60%;
    }
    .banner-top {
        height: 300px;
    }
    .textsub-banner1 {
        top: 150px;
    }
    .detail-contact-top2 {
        font-size: 16px;
    }
    p.tel-top {
        font-size: 30px;
    }
    .logo-lasttop {
        max-width: 40%;
    }
    iframe {
        height: 300px;
    }
    img.img-fluid.banner-top2 {
        height: 300px;
    }
    .detail-banner-2-1 {
        padding: 30px;
    }
    p.textsubbanner {
        font-size: 14px;
    }
     /*company page*/
    h2.head-companypage1::before {
        position: absolute;
        top: calc(50% - 1px);
        left: 15%;
        width: 70%;
        height: 5px;
        content: '';
        background: #2b68a0;
    }
     /*product page*/
     section.product-page {
        margin: 30px 0px;
    }
    .banner-head {
        height: 300px;
    }
    h2.head-pd1 {
        font-size: 20px;
    }
    /*
    h2.head-pd1::before {
        left: 25%;
        width: 50%;
    }
    h2.head-pd3::before {
        left: 0%;
        width: 100%;
    }
    */
    .cont-product1 {
        margin: 50px 20px;
    }
    h2.head-pd1 span {
        padding: 0px 10px;
    }
    .col-12.col-md-4.img-test {
        padding: 0;
    }
    .disc-pd1 {
        margin: 10px 0px;
    }
    h2.head-pd2 {
        padding: 0;
    }
    h2.head-pd1 span, h2.head-pd2 span, h2.head-pd3 span {
        padding: 0 5px;
    }
    

     /*contact page*/
    input#exampleCheck1 {
        width: 25px;
    }
    textarea {
        height: 150px;
    }

    /*mc page*/
    
    th.text-tabel-coating1 {
        font-size: 12px;
    }
    td {
        font-size: 12px;
    }
    .text-eq.table1-1, .text-eq {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mb-tab2 {
        margin-top: 20px;
    }
    .headtext-eq {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        font-size: 12px;
        height: 60px;
    }
    .text-eq {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        height: 60px;
        font-size: 12px;
    }
    .container.content-table {
        max-width: 460px;
    }
    .li-tab {
        display: flex;
        flex-direction: column;
    }
    .text-coa {
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }
    .text-coa-2 {
        height: 100px;
        display: flex;
        justify-content: center;
        font-size: 12px;
    }
    .material-1 {
        font-size: 12px;
    }
    .headtext-coa {
        height: 80px;
    }
    /*conatct page*/
    section.contact-page {
        margin: 50px 0px;
    }
    .product-top-text {
        margin-top: 100px;
        margin-bottom: 0px;
    }
    section.content-product-top {
        margin: 50px 0px;
    }
    .table-contect-company1 {
        font-size: 12px;
    }
}
@media (max-width: 435px){
    .container.content-table {
        max-width: 370px;
    }
}
@media (min-width: 1420px){
    .head-s1:before {
        position: absolute;
        bottom: 0px;
        width: 90%;
        height: 2px;
        content: '';
        border-radius: 3px;
        background: #244376;
    }
}
