:root{
    --thm-text: #402e32;
    --thm-main: #FFA811;

    --thm-white:#FFFFFF;
    --thm-light:#f5f5f5;
    --thm-gray: #909ca0;

}

/*
////////////////////////////////////////////////////
*/


html{
    font-family: 'Roboto', "Noto Sans Thai", sans-serif;
    font-size: 16px;
    font-weight: 400;
}

body{
    color: var(--thm-text); 
	background-color: #fcfcfc;
}

a {
    color: var(--thm-main);
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    text-decoration: none;
    word-break: break-all;
}



.text-white{
    color: var(--thm-white);
}
.text-main{
    color: var(--thm-main);
}


.bg-light{
    background-color: var(--thm-light);
}
.bg-white{
    background-color: var(--thm-white);
}
.bg-main{
    background-color: var(--thm-main);
}


.uk-button-main {
    background-color: var(--thm-main);
    color: #fff;
    border: 1px solid transparent;
}



/*
////////////////////////////////////////////////////
*/

.MSymbols::before{
    font-family: 'Material Symbols Outlined';
}
.MSymbols.bold::before{
    font-family: 'Material Symbols Outlined';
    font-variation-settings:'FILL' 1,'wght' 900,'GRAD' 200,'opsz' 48;
}


/*
////////////////////////////////////////////////////
*/

.isQueryContainer{
    container-type: inline-size;
    height: 100%;
}


/*
////////////////////////////////////////////////////
*/

.isEllipsis{
	/*-webkit-line-clamp: 2;*/
	-webkit-box-orient: vertical;
    text-overflow: ellipsis;
    display: -webkit-box;
    overflow: hidden;
}


/*
////////////////////////////////////////////////////
*/


.line-1-2{
    line-height: 1.2;
}
.line-1-5{
    line-height: 1.5;
}


/*
////////////////////////////////////////////////////
*/

.invisibleScroll{
	-ms-overflow-style: none;
    scrollbar-width: none;
}
.invisibleScroll::-webkit-scrollbar {
  	display: none;
}

/*
////////////////////////////////////////////////////
*/

.paging-list{
    display: flex;
    margin-left: -5px;
    margin-right: 10px;
}
.paging-list > li{
    padding-left: 5px;
}
.paging-list > li > a{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    color: #183446;
    background-color: #FFF;
    box-shadow: rgba(45, 55, 72, 0.1) 0px 2px 4px -1px;
}
.paging-list > li > a:hover{
    background-color: gold;
}
.paging-list > li > a.active{
    color: #FFF;
    background-color: #0295cb;
}

/*
////////////////////////////////////////////////////
*/


/*
////////////////////////////////////////////////////
*/


#menu-bar{
    position: sticky;
    inset: 0;
    height: 80px;
    text-align: right;
    z-index: 994;
    transition: all 0.2s ease-in;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 3px 5px rgba(45, 55, 72, 0.1);
}
#menu-bar a,
#menu-bar a:hover{
}
#menu-bar.hasBar{
    /* background-color: #fcfcfc; */
}

#menu-bar .cw-logo > a{
    gap: 20px;
    color: var(--thm-text);
}
#menu-bar .cw-logo > a > img{
    height: 60px;
}
#menu-bar .cw-logo > a > .title{
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}
#menu-bar .cw-logo > a > .title > span{
    color: var(--thm-main);
}

#menu-bar.hasBar a,
#menu-bar.hasBar a:hover{
    color: var(--thm-text);
}

@media (max-width: 767.98px){
    #menu-bar .cw-logo > a > img{
        height: 50px;
    }
}


/*
////////////////////////////////////////////////////
*/


#menu-bar .uk-navbar-nav > li > a.language-btn{
    font-size: 13px;
    color: var(--thm-text);
}
#menu-bar.hasBar .uk-navbar-nav > li > a.language-btn{
    color: var(--thm-text);
}
#menu-bar .language-btn::after{
    content: '\e5cf';
    font-family: 'Material Symbols Outlined';

}
#menu-bar .language-dropdown{
    width: 120px;
    padding: 10px 0;
    top: 0;
}
#menu-bar .language-dropdown li > a{
    padding: 0.5rem 1rem;
}
#menu-bar .language-dropdown .uk-active > a{
    color: var(--thm-white);
    background-color: var(--thm-text);
}
#menu-bar .language-dropdown li:not(.uk-active) > a:hover{
    color: var(--thm-white);
    background-color: var(--thm-main);
}


/*
////////////////////////////////////////////////////
*/



[class*='ratio-'] {
    object-fit: cover;
}
.ratio-1-1{
    aspect-ratio: 1/1;
}
.ratio-16-9{
    aspect-ratio: 16/9;
}
.ratio-16-10{
    aspect-ratio: 16/10;
}
.ratio-4-3{
    aspect-ratio: 4/3;
}
.ratio-3-2{
    aspect-ratio: 3/2;
}

.ratio-9-16{
    aspect-ratio: 9/16;
}
.ratio-10-16{
    aspect-ratio: 10/16;
}
.ratio-3-4{
    aspect-ratio: 3/4;
}
.ratio-2-3{
    aspect-ratio: 2/3;
}


.gap-10{
    gap: 10px;
}
.gap-15{
    gap: 15px;
}




/*
////////////////////////////////////////////////////
*/


/*
////////////////////////////////////////////////////
*/

#footer-section{
    padding-top: 2rem;
    padding-bottom: 1rem;
}
#footer-section .uk-logo{
    width: 30%;
    margin-bottom: 15px;
}

/*
////////////////////////////////////////////////////
*/


#loading{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--thm-light);
    display: none;
    z-index: 1097;
}
#loading > i{
    font-size: 3rem;
    color: var(--thm-main);
}

body.loading{
    overflow: hidden;
}
body.loading #loading{
    display: flex;
    align-items: center;
    justify-content: center;
}



.main-btn{
    display: inline-block;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 24px;
    color: var(--thm-white);
    background-color: var(--thm-main);
    border:none;
    border-radius: 20px;
}
.main-btn:hover{
    color: var(--thm-white);
    background-color: var(--thm-text);

}


/*
////////////////////////////////////////////////////
*/


.img-enlarge{
    position: relative;
    display: block;
    overflow: hidden;
}
.img-enlarge > img{
    transition: all ease-in 0.3s;
}
.img-enlarge:hover > img{
    transform: scale(1.1);
}
.img-enlarge:hover::before{
    content: '\e8ff';
    font-family: 'Material Symbols Outlined';
    font-size: 2rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-white);
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(1px);
    z-index: 2;
}



/*
////////////////////////////////////////////////////
*/


#our-partner{
    padding-top: 2rem;
    padding-bottom: 2rem;
}
#our-partner .title{
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #ffa811;
}
#our-partner .partner-list{
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
}
#our-partner .partner-list img{
    width: 40px;
}

@media (max-width: 575.98px){
    #our-partner .partner-list{
        gap: inherit;
    }
    #our-partner .partner-list > li{

    }
    #our-partner .partner-list img{
        width: 30px;
    }
}



/*
////////////////////////////////////////////////////
*/


.checkbox-list{
    padding-top: 15px;
}
.checkbox-list > li{
    margin-bottom: 10px;
}

.swap-box{
    display: flex;
    align-items: center;
    gap: 10px;
}

.swap-check{
    appearance: none;
    padding: 0;
    width: 24px;
    height: 24px;
    margin: 0;
}
.swap-check::before{
    content: '\e836';
    font-family: 'Material Symbols Outlined';
    font-size: 1.5rem;
    line-height: 1;
    font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 200,'opsz' 48;
    color: var(--thm-main);
    transition: 0.3s;
}
.swap-check:checked::before{
    content: '\e86c';
    font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 200,'opsz' 48;
}

.swap-box.disabled{
    opacity: 0.3;
}