/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Azo Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansRegular.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: italic;
    font-weight: 400;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansItalic.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: normal;
    font-weight: 250;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansThin.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: italic;
    font-weight: 250;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansThinItalic.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansLight.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: italic;
    font-weight: 300;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansLightItalic.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: normal;
    font-weight: 500;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansMedium.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: italic;
    font-weight: 500;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansMediumItalic.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansBold.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: italic;
    font-weight: 700;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansBoldItalic.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: normal;
    font-weight: 900;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansBlack.woff') format('woff');
}
@font-face {
    font-family: 'Azo Sans';
    font-style: italic;
    font-weight: 900;
    src: local('Azo Sans'), url('https://fonts.cdnfonts.com/s/28736/AzoSansBlackItalic.woff') format('woff');
}



html, body{
	font-family: "Azo Sans" !important;
}

select, input, textarea{
	font-family: "Azo Sans" !important;
}

header.post-title{
	margin-top:82px;
}

.color-target {
    display: none; 
    transition: opacity 0.3s ease-in-out; /* เพิ่มความนุ่มนวลในการแสดงผล */

}

/* แสดงสีเริ่มต้นให้ผู้ใช้เห็นก่อนที่ JS จะทำงาน */
.color-target[data-color="white"] {
    display: block; /* ตั้งค่า display เป็น block/flex/inline-block ตามประเภท Widget */
}

/* สไตล์สำหรับปุ่มสีที่ถูกเลือก (ตัวอย่าง) */

.color-trigger{
	cursor:pointer;
}

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}
.icon-scroll {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  top: 50%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 1px #fff;
  border-radius: 25px;
}
.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
          animation-name: scroll;
}
@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}


.single-content h1.elementor-heading-title, .single-content h2.elementor-heading-title, .single-content h3.elementor-heading-title, .single-content h4.elementor-heading-title, .single-content h5.elementor-heading-title, .single-content h6.elementor-heading-title {
    margin-bottom: 0 !important;
}

.detailov {
 	max-height:390px;
	overflow-y:auto;
}

.formsc p{
	margin-bottom:0 !important;
}

.boximmg img{
	width:100%;
}

.trp-language-switcher > div{
	border:none !important;
}

.elementor-shortcode .trp-ls-shortcode-current-language, .elementor-shortcode .trp-ls-shortcode-language {
    width: 130px !important;
}

.trp-language-switcher {
    width: 130px;
}

.trp-language-switcher > div > a {
    color: #ffffff !important;
}

.trp-language-switcher > div {
	background: none !important;
}

.trp-language-switcher > div > a:hover {
    background: #000 !important;
}

.langmo .trp-language-switcher > div > a {
    color: #000 !important;
}

.langmo .trp-language-switcher > div > a:hover {
    background: #000 !important;
	color: #fff !important;
}

#imodelmenu .jet-mobile-menu__instance{
	align-items: start !important;
}

.jet-mobile-menu__toggle-text{
	margin-left:5px !important;
}

.gt_switcher-popup span:first-of-type {
    display: none;
}

.jet-mobile-menu__item-inner{
	cursor:pointer;
}

.jet-sticky-container-sticky{
	z-index:0 !important;
}

.wpcf7-form-control{
	width:100%;
}

a.gt_switcher-popup{
	color:#000 !important;
}

.gt_white_content a{
	color:#000 !important;
}

a.glink span {
    font-size: 17px !important;
	    color: #000;
    text-transform: uppercase;
    font-weight: 500;
}

 

.table-striped tbody tr:nth-child(odd) {
    background: #f2f2f2; /* Light gray for odd rows */
}

.table-striped tbody tr:nth-child(even) {
    background: #ffffff; /* White for even rows */
}

.table-striped td{
	padding:20px;
}
/* 
.site-header-upper-wrap .site-header-row-container-inner:after {
    background: url(/wp-content/uploads/2025/01/header-bg-1.jpg);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 952px;
    z-index: 0;
    animation: moveBackgroundVertical 6s ease-in-out infinite;
}

@keyframes moveBackgroundVertical {
    0% {
        background-position-y: 0; 
    }
    50% {
        background-position-y: -15px; 
    }
    100% {
        background-position-y: 0; 
    }
} 

.site-header-upper-wrap .site-header-row-container-inner{
	position: relative;
}

.site-header-upper-wrap .site-header-row-container-inner .site-container{
	position: relative;
	z-index: 1;
}

*/

#boxnavv.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#boxnavv.scrolled #txtmenu1 .elementor-icon-list-text{
	color:#000 !important;
}

#boxnavv.scrolled #imenu .jet-mobile-menu__toggle-text{
	color:#000 !important;
}

#boxnavv.scrolled #imenu .jet-mobile-menu__toggle-icon{
	color:#000 !important;
}

.elementor-slideshow__title{
	display:none;
}

#carousel-unique-motor-x123 {
  position: relative;
  width: 100%;
}

.carousel-custom-motor {
  display: flex;
  flex-direction: column;
}

.carousel-main-motor-slide .carousel-item-motor {
  display: none;
  transition: all 0.5s ease;
}

.carousel-main-motor-slide .carousel-item-motor img {
  width: 100%;
  height: auto;
}

.carousel-thumbnails-motor {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.thumbnail-motor-x123 {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 50%;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

.thumbnail-motor-x123.active {
  border-color: #000;
  transform: scale(1.2);
}

#radiomotor .jet-radio-list__decorator {
    display: none !important;
}

.sticky-section {
    position: relative;
    top: 0;
    z-index: 10;
    background: white;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    height: 100vh; /* ปรับให้เต็มหน้าจอ */
}

.inner-content {
    height: auto;
    overflow-y: auto;
    will-change: transform;
    transition: none !important;
    transform: translateY(0);
}








   