﻿@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');




/*******************  Variables  ********+**************/

:root {
    --primary-100: #ffcc1c;
    --primary-200: #e4af23;
    --secondary: #231f20;
    --primary-hover: #e4af23;
    --bg-color: #F7F5F4;
}

body {
    margin: 0;
    font-family: "Kanit", sans-serif;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    background-color: var(--bg-color-100);
}


.body-content {
    position: relative;
    background-color: var(--bg-color-100);
    max-width: 1200px;
    padding-top: 100px
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Kanit", sans-serif;
}

h2 {
    color: var(--black);
    margin-top: 40px;
    border-bottom: 1px solid #5c625d;
    padding-bottom: 10px;
}

h5{
    line-height:1.8
}

p, span{
    line-height:1.5
}

a{
    color:var(--secondary);
    transition:color 0.4s linear
}

a:hover{
    color:var(--primary-200)!important;
    text-decoration:none
}

li{
    list-style:none
}

img{
    width:100%
}

@media(max-width: 768px) {
    .body-content {
        padding-top: 50px
    }
}

/*******************  Buttons  ********+**************/

.btn-primary, .btnNextPage {
    border-radius: 50px;
    padding: 8px 20px;
    background: linear-gradient(to left, var(--primary-200) 50%, var(--primary-100) 50%);
    background-size: 200% 100%;
    background-position: left;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-position 0.3s ease-in-out, border-color 0.3s;
}

    .btn-primary:hover, .btnNextPage:hover{
        color: #fff !important;
        background-position: right;
        border-color: none;
    }

    .btn-primary:active {
       background-color: var(--primary-200) 
    }

.btn.btn-default {
    border-radius: 50px;
    border: 1px solid var(--primary-100);
    color: var(--primary-100);
    padding: 8px 20px;
}

/*******************  Header  ********+**************/

header{
   position:fixed;
   top:0;
   width:100%;
   right:0;
   background-color:#fff;
   z-index:2
}

.pre-header {
    background-color: #fff;
    padding: 5px 20px;
    grid-column: 3;
}
.pre-header p{
 display:none
}

    .pre-header > div {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .pre-header .social-wrapper {
        display:none
    }
        .pre-header .social-wrapper a {
            height:12px
        }
            .pre-header .social-wrapper a:last-of-type {
                margin: 0 0 2px 2px;
            }
            .pre-header .social-wrapper img {
                 width:12px;
                 display:block
            }

.lang {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}


.flag {
    width: 16px;
    position: relative;
    height: 20px;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

    .flag:before {
        display: none
    }

.flag img{
    display:block
}
.header-container {
    background-color: #ffffff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding-top: 10px;
    transition: padding-top 0.4s linear;
    box-shadow: 1px 1px 10px rgb(0 0 0 / .15)
}

.header-content {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    grid-column: 2;
    grid-row: 1;
   
}

.header-logo {
    max-width: 141px;
    transition: transform 0.4s linear
}

.scrolled {
    padding-top: 0;
    transition: padding-top 0.4s linear
}
.scrolled .header-logo {
    transform: scale(0.8);
    transition: transform 0.4s linear
}

.header-logo img{
    width:100%
}

@media(min-width:768px){

    .pre-header {
        background-color: var(--secondary);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
        .pre-header p {
            display: initial;
            color: #fff;
            margin: 0
        }
        .pre-header .social-wrapper {
            display: flex;
            gap: 5px;
            align-items: center;
        }
    .flag:before {
        content: "";
        display: block;
        height: 100%;
        width: 1px;
        border: 1px solid #333;
        position: absolute;
        left: -8px
    }

    .header-logo {
        max-width: 162px
    }

    .header-container {
        display: block;
        padding-top: 0
    }
    .header-content {
        margin: 0 20px;
        justify-content: space-between;
    }

}



/*******************  Slider  ********+**************/

.slider-frame {
    margin: 105px auto 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative; 
}

    .slider-frame ul {
        display: flex;
        padding: 0;
        width: 400%;
        transition: margin-left 0.5s ease-in-out;
        margin: 0;
    }

    .slider-frame li {
        width: 100%;
        list-style: none;
    }

    .slider-frame img {
        width: 100%;
        display: block;
    }


.prev, .next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid #fff;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.4s ease-in-out, border-color 0.4s ease-in-out
}

    .prev:hover, .next:hover {
        border-color: var(--primary-100);
        background-color: var(--primary-100);
        transition: background-color 0.4s ease-in-out, border-color 0.4s ease-in-out
    }

    .prev {
        left: 10px;
        padding-left:8px
    }

.next {
    right: 10px;
}

@media(min-width:768px){
    .slider-frame {
        margin: 140px auto 0;
    }
}


/*******************  Progress Bar  ********+**************/
div.progress {
    border-radius: 50px;
    height: 30px;
    box-shadow: none;
    background-color: #fff;
    border: 1px solid #ddd
}

.progress-bar-success {
    background-color: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:none
}

/*******************  Content  ********+**************/

.form-control{
    min-height:40px;
    box-shadow:none
}

.text-danger.field-validation-error{
    position:absolute
}

.ng_cloak.k_ng_cloak.columns{
    margin: 10px 0;
    width:50%
}

.col-md-12.ng_cloak.k_ng_cloak.columns{
    width:100%
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-100)
}

.well-sm {
    box-shadow: none;
    border: none;
    border-top: 1px solid #333;
    border-radius: 0;
}


@media(max-width: 998px) {

    .ng_cloak.k_ng_cloak.columns {
        margin: initial;
        width: initial
    }
}



/****************** Footer *********************/

footer {
    background-color:var(--secondary)
}

footer img{
    width:100%
}

footer li{
    list-style:disc;
    color:#fff;
    margin-bottom:10px
}

footer p,
footer h3,
footer a,
footer span{
    color:#fff;
    font-size:16px;
    font-weight:300
}

footer h3 {
    margin: 0 0 10px;
}

.footer-content{
    padding:30px 15px;
    max-width:500px;
    margin: 0 auto
}

.footer-logo img{
    max-width:165px;
    margin: 0 auto 16px;
    display:block
}

.footer-logo p {
    text-align: justify;
}
.footer-contact{
    margin-top:70px
}

.footer-contact p{
    margin-bottom:20px
}
    .footer-contact > a {
        margin: 60px auto;
        display: block;
        text-align: center;
    }

    .footer-legal{
        padding-bottom:30px
    }


.footer-social > img {
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    display: block;
}

footer .social-wrapper {
    display: flex;
    justify-content: center;
    gap:5px;
    margin-top:16px
}

   footer .social-wrapper a {
        width: 33px;
        height: 33px;
        border-radius: 50%;
        background-color: #0072b7;
        display: flex;
        align-items: center;
        justify-content: center;
     
    }
    
   footer .social-wrapper img {
            max-width:45%
        }



@media(min-width: 768px) {
    .footer-logo,
    .footer-contact {
        max-width: 400px;
        margin-top: 0
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        max-width: 920px;
        gap: 20px;
    }

}
@media(min-width: 1200px) {

    .footer-content {
        max-width: 100%;
        display: flex;
        justify-content: space-evenly;
        gap: 20px;
    }
    .footer-social > img {
        max-width: 165px;

    }
   
}



 