@font-face {
    font-family: 'Kanit';
    font-style: normal;
    font-weight: 100;
    src: url('./font/Kanit/Kanit-Regular.ttf');
  }

body{
    background-color: #fafafa;
    font-family: 'Kanit';
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color: #000000;
    cursor: pointer;
  }

a:hover{
    text-decoration: none;
    color: #DA451C;
    cursor: pointer;
  }

.logo-header{
    width: 30px;
    height: 30px;
    left: 0px;
    top: calc(50% - 30px/2);
    margin-right: 16px;
}

.bg-header{
    height: 88px;
}

.box-header{
    margin: auto;
    padding: 10px;
    width: 80%;
}

.box-menu{
    margin-top: 20px;
}

.box-nav{
    display: inline-block;
}

.nav-left{
    float: left;
    font-weight: 500;
    font-size: 20px;
    line-height: 22px;
    color: #000000;
}

.nav-right{
    float: right;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.menu-about-us{
    display: block;
    margin-right: 100px;
}

.menu-contact-us{
    display: block;
}

.img-event-style-1{
    width: 100%;
    background-color: #73779F;
    margin-top: 16px;
    border-radius: 12px;
    float: right;
    overflow: hidden;
}

.box-img-event-1{
    display: block;
    margin-top: 35px;
}

.img-event-style-2{
    width: 100%;
    background-color: #73779F;
    margin-bottom: 24px;
    border-radius: 12px;
    float: right;
    overflow: hidden;
}

.box-img-event-2{
    display: block;
    position: relative;
    right: 217px;
    margin-top: 25px;
}

.box-img-event-3{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.img-event-style-3{
    width: 100%;
    height: 100px;
    background-color: #73779F;
    margin-bottom: 25px;
    border-radius: 12px;
    align-self: flex-end;
    overflow: hidden;
}

.img-event1{
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.img-event1:hover{
    -webkit-transform: scale(1.1);
	transform: scale(1.1);
}


.img-event2{
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.img-event2:hover{
    -webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.img-event3{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.img-event3:hover{
    -webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.section-one{
    height: 670px;
}

.section-two{
    height: auto;
    margin-top: 20px;
    margin-bottom: 100px;
    padding: 0px 50px 0px 50px;
}

.section-three{
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0px 50px 0px 50px;
}

.section-four{
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0px 50px 20px 50px;
    background-image: url('/images/Rectangle-4322.png');
    background-repeat: no-repeat;
    background-position: 60% 100%; 
    background-size: 90% 90%;
}

.section-five{
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0px 50px 0px 50px;
}

.section-six{
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0px 50px 0px 50px;
}

.bg-img{
    background-image: url('/images/bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right 1px bottom;
}

.bg-sub-left{
    background-image: url('/images/Pattern.png');
    background-size: 15%;
    background-repeat: no-repeat;
    background-position: 0%;
    height: 500px;
    position: absolute;
    margin-top: 230px;
    left: 75px;
}

.bg-sub-right{
    background-image: url('/images/Rectangle.png');
    background-size: 15%;
    background-repeat: no-repeat;
    background-position: right;
    height: 500px;
    position: absolute;
    right: 75px;
   
}

.box-main{
    margin: auto;
    width: 80%;
    padding: 10px;
}

.box-detail{
   display: block;
}

.title{
    text-align: left;
    font-size: 48px;
    font-weight: 700;
    line-height: 65px;
    letter-spacing: 0em;
    margin-bottom: 24px;
    color: #000000;
}

.title-center{
    text-align: center;
}

.title-our-work{
    position: relative;
    text-align: center;
}

.title-our-work img{
    width: 50%;
}

.title-our-work-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lexetix-title{
    position: absolute;
}

.lexetix-info{
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0em;
    margin-bottom: 70px;
    position: absolute;
    top: 200px;
    color: #000000;
}

.lexetix-contact-btn{
    position: absolute;
    top: 400px;
    background: #E85C24;
    border-radius: 6px;
    height: 46px;
    color: #ffffff;
    width: 325px;
    background: linear-gradient(to left, #E85C24 50%, #DA451C 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.5s ease;
}

.lexetix-contact-btn:hover{
    color: #ffffff;
    background-position: left bottom;
}

.lexetix-contact-btn-text{
    display: inline-block;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    padding: 10px 29px 10px 89px;
}

.lexetix-contact-btn-arrow{
    display: inline-block;
}

.title-skill{
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
}

.box-logo-skill{
    margin-top: 30px;
    margin-left: 8px;
    text-align: center;
}

.logo-skill{
    display: inline-block;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
    transition: 1s ease;
}

.logo-skill:hover{
    -webkit-transform: rotateZ(-10deg);
    -ms-transform: rotateZ(-10deg);
    transform: rotateZ(-10deg);
    transition: 1s ease;
}

.mt-100{
    margin-top: 100px;
}

.mb-100{
    margin-bottom: 100px;
}

.box-main-white-area{
    margin: auto;
    width: 90%;
}

.white-area{
    background-color: #ffffff;
    padding-top: 50px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 150px;
    border-radius: 25px;
    margin-bottom: 20px;
    
}

.text-primary{
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #E85C24 !important;
}

.text-detail{
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin-top: 36px;
}

.text-detail-etc{
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    margin-top: 62px;
}

.img1{
    width: 100%;
    height: auto;
    float: right;
}

.img2{
    width: 100%;
    height: auto;
}

.img3{
    width: 100%;
    height: auto;
}

.img4{
    width: 100%;
    height: auto;
}

.img5{
    width: 90%;
    height: auto;
}

.header-topic{
    display: block;
}

.header-topic-icon{
    display: inline-block;
    margin-right: 30px;
}

.header-topic-icon img{
    height: 41px;
    width: 41px;
    vertical-align: bottom;
}

.header-topic-text{
    display: inline-block;
    vertical-align: middle;
    
}

.header-topic-text p{
    font-weight: 700;
    font-size: 36px;
    line-height: 49px;
    color: #E85C24;

}

.description{
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.box-contact{
    width: 100%;
    height: 1000px;
    background-image: url('/images/Footer.png');
    background-size: 100%;
    background-repeat: no-repeat;
    margin-top: -130px;
}

.contact-title{
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    margin-top: 50px;
    margin-bottom: 24px;
}

.contact-title b{
    font-weight: 600;
}

.contact-description{
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    margin-bottom: 24px;
}

.contact-staff{
    margin-bottom: 16px;
}

.contact-staff-left{
    display: inline-block;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    width: 40%;
}

.contact-staff-right{
    display: inline-block;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
    
}

.input {
    position: relative;
    width: 100%;
    margin-bottom: 37px;
}

.input-field {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #000000;
    border-radius: 4px;
}

.input-field::-webkit-input-placeholder{
    font-weight: 400;
    font-size: 14px;
    color: #BDBDBD;
    padding-left: 10px;
}

.input-label {
    position: absolute;
    left: 10px;
    top: -10px;
    padding: 0px 5px;
    border-radius: 5%;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #000000;
}

/* 
    1. E8F1FB
    2. EDF5FF
    3. F1F8FF
    4. F3F9FF
*/

.input-field1, .label1{
    background-color: #f0f5fb;
}

.input-field2, .label2{
    background-color: #f0f6fc;
}

.input-field3, .label3{
    background-color: #f2f6fc;
}

.input-field4, .label4{
    background-color: #f3f7fc;
}

.checkbox-main{
    display: block;
    margin-bottom: 24px;
}

.checkbox-style{
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.checkbox-label{
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #000000;
}

.checkbox-label span{
    color: #CC0707;
}

.btn-submit-data{
    width: 100%;
    background: #E85C24;
    border-radius: 6px;
    height: 46px;
    color: #ffffff;
    background: linear-gradient(to left, #E85C24 50%, #DA451C 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all 0.5s ease;
    border: none;
}

.btn-submit-data:hover{
    background-position: left bottom;
}

.btn-submit-data:disabled{
    background: #888888;
    border: 1px solid #888888;
}

.btn-submit-data-arrow{
    margin-left: 18px;
}

.line-style{
    border-bottom: 1px solid #73779F;
    width: 100%;
    margin-top: 64px;
}

.box-footer{
    text-align: center;
    margin-top: 26px;
}

.footer-detail-copyright{
    display: inline-block;
    margin-right: 5px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    padding-right: 7px;
    margin-bottom: 5px;
}

.footer-detail{
    display: inline-block;
    margin-right: 5px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    border-right: 1px solid #000000;
    padding-right: 7px;
    margin-bottom: 10px;
}

.footer-detail-end{
    display: inline-block;
    margin-right: 5px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
    padding-right: 7px;
}


.footer-message{
    color: #CC0707;
    font-size: 12px;
    display: none;
}

.img-center{
    display: block;
}

.responsive-pc{
    display: block;
}

.responsive-mobile{
    display: none;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 40px 20px;
    border: 1px solid #888;
    width: 35%;
    border-radius: 25px;
  }

  .modal-content .close{
    text-align: right;
    width: 100%;
    color: #000000;
    position: inherit;
    top: -40px;
  }

  .modal-img-alert{
    width: auto;
    height: auto;
    text-align: center;
  }

  .modal-img-alert img{
    background-image: url('./../images/modal-web/Rectangle-4298.png');
    background-repeat: no-repeat;
    border-radius: 39px;
    width: 140px;
    height: auto;
    margin-bottom: 10px;
  }

  .modal-title{
    font-size: 28px;
    font-weight: 700;
    text-align: center;
  }

  .modal-detail{
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0em;
    text-align: center;

  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

@media screen and (max-width: 650px) {

    .responsive-pc{
        display: none;
    }
    
    .responsive-mobile{
        display: block;
    }

    .img-event-style-1,.img-event-style-2{
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .box-img-event-1{
        width: 100%;
        margin-top: 10px;
    }
    
    .box-img-event-2{
        width: 100%;
    }

    .img-event2, .img-event3{
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .img-event1{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
 
    .img-event-style-3{
        border-radius: 12px;
        align-self: auto;
        margin-top: 10px;
        margin-bottom: 0px;
        width: 100%;
        height: 300px;
    }

    .box-img-event-3{
        display: block;
        height: 100%;
        justify-content: center;
        margin-top: 50px;
    }

    .mt-100{
        margin-top: 20px;
    }

    .mb-100{
        margin-bottom: 20px;
    }

    .logo-header{
        width: 30px;
        height: auto;
    }

    .bg-header{
        height: auto;
    }

    .box-header{
        margin: auto;
        width: 100%;
        padding: 15px 5px;
    }

    .box-main{
        margin: auto;
        width: 100%;
        padding: 20px;
    }

    .box-nav{
        display: inline-block;
    }
    
    .nav-left{
        float: left;
    }
    
    .nav-right{
        float: right;
    }
    
    .menu-about-us{
        display: block;
        margin-right: 20px;
        font-size: 12px;
        padding-top: 5px;
    }
    
    .menu-contact-us{
        display: block;
        font-size: 12px;
        padding-top: 5px;
    }

    .section-one{
        height: auto;
        padding: 5px;
    }
    
    .section-two{
        height: auto;
        margin-bottom: 20px;
        padding: 5px;
    }
    
    .section-three{
        height: auto;
        padding: 5px;
    }
    
    .section-four{
        height: auto;
        padding: 5px;
    }
    
    .section-five{
        height: auto;
        padding: 5px;
    }
    
    .section-six{
        height: auto;
        padding: 5px;
    }

    .title{
        text-align: center;
        font-size: 30px;
        margin-bottom: 10px;
    }

    .title-our-work img{
        width: 80%;
    }

    .title-our-work-text{
        font-size: 25px;
    }

    .text-primary{
        text-align: center;
    }

    .text-detail, .text-detail-etc, .description{
        margin-left: 20px;
    }

    .logo-skill{
        width: 100%;
        margin-left: 0px;
        margin-bottom: 50px;
    }
    
    .lexetix-title{
        position: initial;
        font-size: 36px;
    }
    
    .lexetix-info{
        position: initial;
        margin-bottom: 30px;
    }

    .lexetix-contact-btn{
        height: auto;
        position: initial;
        margin-bottom: 20px;
        padding: 10px;
        width: 100%;
        display: block;
    }

    .lexetix-contact-btn-text{
        padding: 10px 20px 10px 100px;
    }
    

    .header-topic-icon{
        margin-right: 10px;
    }

    .header-topic-text p{
        font-size: 26px;
    }

    .img-center{
        text-align: center;
    }

    .img1, .img2, .img3, .img4, .img5{
        width: 80%;
        height: auto;
        margin: 30px auto;
    }

    .white-area{
        background-color: #ffffff;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 150px;
        border-radius: 25px;
        margin-bottom: 20px;
        height: 100%;
    }

    
    .box-contact{
        border-radius: 0px;
        margin-top: -80px;
    }

    .contact-title{
        margin-top: 0px;
    }

    .contact-title b{
        display: block;
    }

    .contact-staff-left{
        font-size: 14px;
        display: inline-block;
    }

    .contact-staff-right{
        font-size: 14px;
        display: inline-block;
    }

    .checkbox-label{
        font-size: 12px;
    }

    .input-label{
        background: #fafafa;
    }

    .input-field1, .label1{
        background-color: #fafafa;
    }
    
    .input-field2, .label2{
        background-color: #fafafa;
    }
    
    .input-field3, .label3{
        background-color: #fafafa;
    }
    
    .input-field4, .label4{
        background-color: #fafafa;
    }

}
