/*
Theme Name: Hello Elementor Child
Theme URI: http://your-website.com/hello-elementor-child/
Description: Child theme for Hello Elementor ลูก theme ออกแบบ เพื่อเว็บไซต์ของ www.linearmotorshop.com เท่านั้นทั้งระบบ login และ สร้างการซ้อน ระบบใหนหน้าต่างๆเพื่อความปลอดภัยในเว็บไซต์ ลองรับ vertion WordPress 6.4. +++
Author: jirateap charungpan
Author URI: https://gustabe.com
Template: hello-elementor 
Version: 1.0.0
Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: custom theme, Gustabe.com
*/

/* เพิ่ม CSS ของคุณเองที่นี่ */

body a{
    color: rgb(2, 135, 135);
}

body, h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Outfit', 'Noto Sans Thai', sans-serif !important;
}




/* ค่าเริ่มต้นสำหรับหน้าจอที่ไม่ใช่จอมือถือ */
.elementor.elementor-7, .elementor.elementor-780 , .elementor.elementor-2137{
    padding: 0px 0px 0px 7%;
}

/* สำหรับหน้าจอที่มีความกว้างไม่เกิน 768px (จอมือถือแนวตั้งและแนวนอน) */
@media (max-width: 1024px) {
    .elementor.elementor-7, .elementor.elementor-780, .elementor.elementor-2137{
        padding: 0px;
    }
}


body footer.elementor-element.elementor-element-eae4baa.e-con-full.e-flex.e-con.e-parent.e-lazyloaded{
    display: none;
}





#language-switcher {
    position: relative;             /* สำหรับวางตำแหน่งลูกศร */
    display: inline-block;
}

#language-switcher select {
    background-color: transparent;  /* พื้นหลังโปร่งใส */
    color: white;                   /* ตัวหนังสือสีขาว */
    border: none;                   /* ไม่มีเส้นขอบ */
    font-size: 16px;                /* ขนาดตัวอักษร */
    padding: 5px 40px 5px 10px;     /* เพิ่มระยะห่างภายในด้านขวาสำหรับลูกศร */
    appearance: none;               /* ลบลูกศร dropdown เริ่มต้นของ browser */
    cursor: pointer;                /* เปลี่ยนเคอร์เซอร์เป็น pointer เมื่อ hover */
}

/* กำหนดให้ไม่มีเส้นขอบเมื่อคลิก */
#language-switcher select:focus {
    outline: none;
}

/* สำหรับ Submenu (ตัวเลือกใน dropdown) ให้พื้นหลังโปร่งใส */
#language-switcher option {
    background-color: rgba(0, 0, 0, 0.5); /* พื้นหลังโปร่งแสง (50%) */
    color: white;                         /* ตัวหนังสือสีขาว */
    border: none;
}

/* สร้างลูกศร custom */
#language-switcher::after {
    content: "\25BC"; /* สัญลักษณ์ลูกศรลง (▼) */
    position: absolute;
    right: 10px;      /* วางตำแหน่งลูกศรด้านขวา */
    top: 50%;
    transform: translateY(-50%);
    color: white;     /* สีของลูกศร */
    pointer-events: none; /* ป้องกันการคลิกที่ลูกศร */
}



/* ในไฟล์ style.css ของธีม */




