@import url('https://fonts.googleapis.com/css2?family=Poppins: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');
@import url('https://fonts.googleapis.com/css2?family=Kanit: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');
:root{
    --thin: 100;
    --extralight: 200;
    --light: 300;
    --regular: 400;
    --medium: 500;
    --semibold: 600;
    --bold: 700;
    --extrabold: 800;
    --black: 900;
    --color1: #eeeae9;
    --color2: #231f20;
    --color3: #003da5;
    --color4: #7f7f7f;
    --color5: #fff;
    --color6: #ededee;
}
html:lang(th){
    --poppins: 'Kanit','Poppins';
}
html:lang(en-US){
    --poppins: 'Poppins','Kanit';
}
ul{
    margin: 0;
}
#ButtonMenu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    .hamburger{
        border: 0;
        background-color: transparent;
        cursor: pointer !important;
        span{
            width: 30px;
            height: 2px;
            background-color: var(--color2);
            display: block;
            margin-bottom: 5px;
            opacity: 1;
            transition: all .3s ease;
        }
        span:last-of-type{
            margin-bottom: 0;
        }
    }
    .hamburger:hover{
        span{
            opacity: .5;
            transition: all .3s ease;
        }
    }
}
#MobileMenu{
    position: absolute;
    top: 0;
    left: -350px;
    z-index: 999;
    background-color: var(--color5);
    height: 100vh;
    width: 350px;
    transition: all .3s ease;
    overflow-y: scroll;
    .closeButton{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: flex-end;
        padding: 30px 50px 0;
        position: relative;
        span{
            height: 2.5px;
            width: 30px;
            background-color: var(--color2);
            display: block;
            transform-origin: center;
            position: absolute;
            right: 50px;
        }
        .closeicon{
            cursor: pointer !important;
            border: 0;
            background-color: transparent;
            span:first-of-type{
                transform: rotate(0deg);
                transition: all .3s ease;
            }
            span:last-of-type{
                transform: rotate(0deg);
                transition: all .3s ease;
            }
        }
        .closeicon:hover{
            span:first-of-type{
                transform: rotate(-45deg);
                transition: all .3s ease;
            }
            span:last-of-type{
                transform: rotate(45deg);
                transition: all .3s ease;
            }
        }
    }
    .logo{
        padding: 40px 50px;
    }
    nav{
        > ul{
            list-style: none;
            flex-direction: column;
            padding: 0 50px;
            margin: 0;
            > li{
                > a{
                    padding: 10px 0;
                    display: block;
                }
                > ul{
                    list-style: disc;
                    flex-direction: column;
                    display: flex;
                    > li{
                        > a{
                            display: block;
                            padding: 10px 0;
                        }
                        > ul{
                            li{
                                > a{
                                    display: block;
                                    padding: 10px 0;
                                }
                            }
                        }
                    }
                }
            }
        }
        ul{
            li{
                a{
                    color: var(--color2);
                    transition: all .3s ease;
                    font-family: var(--poppins);
                    font-size: 15px;
                    font-weight: var(--light);
                }
                a:hover{
                    color: var(--color3);
                    transition: all .3s ease;
                }
            }
        }
    }
}
#overlay{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
}
.lstee_theme_body{
    margin: 0 !important;
    .container{
        max-width: 1190px;
        margin: 0 auto;
    }
    .flex{
        display: flex;
    }
    .jbetween{
        justify-content: space-between;
    }
    .acenter{
        align-items: center;
    }
    a{
        text-decoration: none;
    }
    p,h3{
        margin: 0;
    }
    #topMenu{
        background-color: var(--color6);
        padding: 10px 20px;
        .polylang_langswitcher{
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: flex-end;
            li{
                margin-right: 5px;
                a{
                    font-family: var(--poppins);
                    font-weight: var(--regular);
                    font-size: 14px;
                    color: var(--color2);
                    padding: 0 5px;
                    border: 1px solid var(--color4);
                    display: inline-block;
                    border-radius: 5px;
                    transition: all .3s ease;
                }
            }
            li:last-of-type{
                margin-right: 0;
            }
            li:hover,li.current-lang{
                a{
                    background-color: var(--color3);
                    color: var(--color5);
                    border: 1px solid var(--color3);
                    transition: all .3s ease;
                }
            }
        }
    }
    #Menu{
        padding: 15px 20px;
        background-color: var(--color5);
        .mmt-main-menu{
            ul{
                list-style: none;
                padding: 0;
                margin: 0;
                li{
                    position: relative;
                    padding: 10px 35px;
                    a{
                        font-family: var(--poppins);
                        font-weight: var(--regular);
                        color: var(--color2);
                        font-size: 15px;
                        transition: all .3s ease;
                    }
                    > .sub-menu{
                        position: absolute;
                        background-color: rgba(255,255,255,.8);
                        opacity: 0;
                        visibility: hidden;
                        transition: all .3s ease;
                        z-index: 999;
                        left: 0;
                        box-shadow: 2px 2px 4px 0 rgba(72,72,72,.5);
                        width: auto;
                        min-width: 140px;
                        margin-top: 30px;
                        li{
                            padding: 10px;
                            position: relative;
                            a{
                                color: var(--color2);
                                transition: all .3s ease;
                                white-space: nowrap;
                            }
                            > .sub-menu{
                                top: 0;
                                margin-top: 30px !important;
                                li{
                                    a{
                                        color: var(--color2);
                                        transition: all .3s ease;
                                        white-space: nowrap;
                                    }
                                }
                                li:hover{
                                    a{
                                        color: var(--color5);
                                        transition: all .3s ease;
                                    }
                                }
                            }
                        }
                        li:hover{
                            background-color: var(--color3);
                            transition: all .3s ease;
                            a{
                                color: var(--color5);
                                transition: all .3s ease;
                            }
                             > .sub-menu{
                                margin-top: 0 !important;
                             }
                        }
                    }
                }
                li:hover,li.current-menu-item,li.current-menu-parent{
                    > a{
                        color: var(--color3);
                        transition: all .3s ease;
                    }

                }
                .menu-item-has-children:hover{
                    > .sub-menu{
                        opacity: 1;
                        visibility: visible;
                        margin-top: 10px;
                        transition: all .3s ease;
                    }
                }
            }
        }
    }
    footer{
        text-align: center;
        background-color: var(--color3);
        color: var(--color5);
        padding: 60px;
        h3{
            font-family: var(--poppins);
            font-weight: var(--regular);
            font-size: 22px;
            margin-bottom: 10px;
        }
        p{
            font-family: var(--poppins);
            font-weight: var(--light);
            font-size: 15px;
        }
    }
}
#ProductLists{
    .lists{
        width: 31.50%;
        display: inline-block;
        margin: 0 10px 50px;
        .image{
            position: relative;
            /* height: 258px; */
            a{
                display: flex;
                img{
                    border: 0px solid transparent;
                    border-radius: 10px;
                    width: 100%;
                }
                .overlay{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba(0,61,165,.5);
                    border: 0px solid transparent;
                    border-radius: 10px;
                    opacity: 1;
                    transition: all .3s ease;
                }
            }
        }
        .content{
            h2{
                font-family: var(--poppins);
                color: var(--color2);
                font-size: 25px;
                font-weight: var(--medium);
                margin: 30px 0 3px 0;
                transition: all .3s ease;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 1;
                -webkit-box-orient: vertical;
                text-overflow: ellipsis;
                /* display: none; */
            }
            p{
                font-family: var(--poppins);
                font-weight: var(--light);
                color: var(--color2);
                font-size: 15px;
                display: none;
            }
        }
    }
    .lists:nth-of-type(3n+1){
        margin-left: 0;
    }
    .lists:nth-of-type(3n){
        margin-right: 0;
    }
    .lists:hover{
        .overlay{
            opacity: 0 !important;
            transition: all .3s ease;
        }
        h2{
            color: var(--color3);
            transition: all .3s ease;
        }
    }
}
.MMTform{
    input,textarea{
        border: 0 !important;
        border-bottom: 1px  solid var(--color2) !important;
        font-family: var(--poppins);
    }
    button.forminator-button.forminator-button-submit{
        background-color: var(--color6);
        font-family: var(--poppins);
        color: var(--color2);
        transition: all .3s ease;
    }
    button.forminator-button.forminator-button-submit:hover{
        background-color: var(--color3);
        font-family: var(--poppins);
        color: var(--color5);
        transition: all .3s ease;
    }
}