@charset "UTF-8";
@font-face {
    font-family: 'UHoa`iH 1.1';
    src: url('UHoiH11.woff2') format('woff2'),
        url('UHoiH11.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body{ margin: 0; padding: 0; background-color: #000;}
input, select {
    box-sizing: border-box; /* Ensures width & height include padding */
    appearance: none; /* Removes default styles */
  }
.main-bx{ width: 100%; height: auto; background-color: #000; float: left; }

.slider-banner{ position: relative; width: 100%; height: 100%;}
.swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #c7c5c5;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }


.form-bx{ width: 40%; height: 600px; margin: 100px auto 0; background-image: url(images/form-bg.jpg); background-position: center center; background-size: 100% auto; border-radius:20px; position: absolute; top:150px; left: 30%; z-index: 99; border: 1px solid #c7c5c5; overflow-y: auto;}
.form-bg-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(000, 000, 000, 0.6);
    position: absolute;
    top: 0; z-index: -1;
}
.your-style {
    font-family: 'UHoa`iH 1.1';
    font-weight: normal;
    font-style: normal;
}

.form-bx h2{ color: #c7c5c5; text-align: center; font-family: 'UHoa`iH 1.1';
    font-weight: normal;
    font-style: normal; font-size: 40px; line-height: 40px; padding: 0 100px; font-weight: 700; letter-spacing: 3px; }
    .form-bx h3 {
        color: #c7c5c5;
        text-align: center;
        font-family: 'UHoa`iH 1.1';
        font-weight: normal;
        font-style: normal;
        font-size: 24px;
        line-height: 30px;
        padding: 25px 100px 0;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 3px;
    }
.form-bx form {
    width: 95%;
    margin-left: 2.5%; float: left;
}
.form-bx form .half-grid {
    width: 45%;
    margin: 0px 2.5%;
    float: left; position: relative;
}
.form-bx form .full-grid {
    width: 95%;
    margin: 0px 2.5%;
    float: left; position: relative;
}
.mt-25{margin-top: 15px !important;}
.form-bx label{width: 100%; font-family: "Kanit", serif; font-weight: 400; font-size: 20px; color: #c7c5c5;}
.form-bx input {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    font-family: "Kanit", serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    padding-left: 5px;
    border: 1px solid #c7c5c5;
    background-color: transparent;
    color: #c7c5c5;
    letter-spacing: 2px; text-indent: 5px;
}
.form-bx input::placeholder {
        color: #c7c5c5; 
        opacity: 1; 
    }
    .select-wrapper {
        position: relative;
        display: block;
        width: 100%;
        margin: auto;
    }
      .select-wrapper::after {
        content: "▼";
        font-size: 14px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: #666;
      }
.form-bx select{width: 100%; height: 30px; border-radius: 5px; margin-top: 1px; font-family: 'UHoa`iH 1.1';
    font-weight: normal;
    font-style: normal; font-size: 14px; padding-left: 5px; border: 2px solid #c7c5c5; background-color: transparent; color: #c7c5c5; text-indent: 5px; position: relative;}
    .form-bx select option{ color: #000; font-size: 14px;}
.form-bx input[type=button], input[type=submit], input[type=reset] {
    width: 100%; height: 45px; background-color:#c7c5c5 ;

}

.form-bx input[type=button], input[type=submit], input[type=reset] {
    font-size: 18px;
    font-family: "Kanit", serif;
    color: #c7c5c5;
    border: none;
    margin-top: 20px;
    width: 50%;
    margin-left: 25%;
    height: 40px;
    color: #000;
}
.main-bx figure {
    position: absolute;
    top: 75px;
    left: 0;
    z-index: 999;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}
.main-bx figure h2{ color: #c7c5c5; text-align: center; font-family: "Kanit", serif; font-size: 36px; line-height: 40px; font-weight: 400;}
.error-msg {
    position: absolute;
    bottom: -14px;
    z-index: 999;
    color: red;
    font-size: 11px;
    left: 5px; font-family: "Kanit", serif;
}
.social-copyright {
  position: absolute;
  bottom: 50px;
  width: 100%;
  left: 0;
  /* background-color: rgba(000, 000, 000, 0.5); */
  z-index: 9999;
  color: #c7c5c5;
  font-size: 40px;
}
.social-copyright a{color: #c7c5c5;}

.text-center {
  text-align: center;
}
.copyright{ color: #c7c5c5; font-size: 18px; text-align: center;font-family: "Kanit", serif;}
.bg-trans{ border-radius: 10px; padding: 0 5px;}
.clr-yellow{ color: #CEA04C;}
.m-show{ display: none !important;}
.only-mob{display: none}
.form-bx input[type="date"]::-webkit-calendar-picker-indicator {
    background: url(images/calender-icon.png) no-repeat center;
    background-size: contain;
    cursor: pointer;
    width: 18px;
    height: 18px;
    opacity: 1; margin-right: 5px;
}

.form-bx input[type="date"]:before {
    content: attr(data-placeholder);
    color: #c7c5c5;
    position: absolute; opacity: 0;
  }
  .form-bx input[type="date"]:focus:before,
  .form-bx input[type="date"]:valid:before {
    content: "";
  }

@media (max-width: 1699px) {
  .main-bx figure {
    width: 100%;
}

.main-bx figure img{width: 300px;}


    
}
@media (max-width: 1679px) {
    .form-bx {
      
        top: 100px;}
        .form-bx h3 {
            padding: 25px 50px 0;}


}
@media (max-width: 1499px) { .form-bx {
      
    top: 50px;}}
@media (max-width: 1366px) {
  .main-bx figure {
    width: 250px;
}
.form-bx h3 {
    font-size: 20px;
    line-height: 26px;
    padding: 15px 50px 0;
}
.form-bx h2 {
    font-size: 36px;
    line-height: 44px;
    padding: 0 50px;
    font-weight: 700;
    margin: 25px 0;
}

    .social-copyright {
        bottom: 10px;
        left: 0;
        font-size: 40px;
    }
    .main-bx figure {
        width: 100%;
        text-align: center;
    }
    .main-bx figure {
        position: absolute;
        top: 50px;
        width: 100%;
        text-align: center;
    }
    .main-bx figure img{ width: 300px;}
    .form-bx {
        height: 550px;}
    
    
}
@media (max-width: 1299px) {
    .form-bx {
        top: 25px;
    }
    .form-bx {
        height: 550px;}




}

@media (max-width: 1024px) {

    .form-bx h3 {
        font-size: 18px;
        line-height: 24px;
        padding: 30px 50px 0;
    }
    .form-bx h2 {
        font-size: 32px;
        line-height: 40px;
    }
    .form-bx input {
        height: 36px;

        font-size: 18px;

    }






}

@media (max-width: 1023px) {
.d-show{ display: none !important;}
.m-show{ display: block !important;}

.main-bx figure {
    position: static; text-align: center;
}
.form-bx {
    width: 80%;
    height: 100%;
    background-color: rgba(000, 000, 000, 0.8);
    display: block;
    position: absolute;
    right: 10%;
    top: 0;
    z-index: 999;
}
.social-copyright {
    position: static;
    width: 100%;
    color: #c7c5c5;
    font-size: 40px;
    text-align: center;
    margin-top: 25px;
    float: left;
}

.form-bx form .half-grid {
    width: 95%;
    margin: 0px 2.5%;
    float: left;
    position: relative;
}

.form-bx form {
    width: 95%;
    margin-left: 2.5%;
    float: left;
    height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-bottom: 50px;
}

}

@media (max-width: 991px) {
    .form-bx {
        width: 90%;
        height: 570px;
        background-color: transparent;
        display: block;
        position: relative;
        margin: 50px 0 10px;
        float: left;
        left: 5%;
        background-position: center top;
        background-size: 100%;
    }
    .form-bg-overlay {
        width: 100%;
        height: 720px;
        background-color: rgba(000, 000, 000, 0.6);
        position: absolute;
        top: 0;
        z-index: -1;
    }
    .form-bx figure img{ width:100% ;}

    .form-bx form{ width: 100%;
        margin-left: 0; margin-bottom: 0; padding-bottom: 0 !important;}
    .only-mob{ display: block !important;}
    .hidden-mob{ display: none !important;}
    .main-bx figure img{ width: 60%;}
    .form-bx h3 {
        float: left;
    }
    .social-copyright {
 
        margin-bottom: 25px;
    }

    .main-bx figure {
        position: absolute;
        width: 100%;
        left: 0%;
        text-align: center;
        margin: 0;
        top: 60px;
        padding: 0;
    }

  .form-bx form .half-grid {
    width: 100%;
    margin: 0px 0;
    float: left;
    position: relative;
}
.select-wrapper {
    position: relative;
    display: block;
    width: 300px;
    margin: auto;
}
.form-bx input {
    width: 300px;
    height: 30px;
    border-radius: 5px;
    font-family: "Kanit", serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    padding-left: 0;
    border: 1px solid #c7c5c5;
    background-color: transparent;
    color: #c7c5c5;
    letter-spacing: 2px;
    text-indent: 5px;
    margin: 0 auto;
    display: block;-webkit-appearance: none; /* Removes default dropdown styling in Webkit browsers */
    -moz-appearance: none; /* Removes default dropdown styling in Firefox */
}
.form-bx select {
    width: 300px;
    height: 30px;
    border-radius: 5px;
    font-family: "Kanit", serif;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    padding-left: 0;
    border: 1px solid #c7c5c5;
    background-color: transparent;
    color: #c7c5c5;
    text-indent: 5px;
    margin: 0 auto;
    display: block; box-sizing: border-box; /* Ensures width & height include padding */
    appearance: none; /* Removes default styles */-webkit-appearance: none; /* Removes default dropdown styling in Webkit browsers */
    -moz-appearance: none; /* Removes default dropdown styling in Firefox */
}
.form-bx form .full-grid {
    width: 100%;
    margin: 0px 0;
    float: left;
    position: static;
}
.copyright {
    color: #c7c5c5;
    font-size: 14px;
    text-align: center;
    font-family: "Kanit", serif;
}
.form-bx input[type=date] {
    text-indent: 2px;
    width: 300px;
    height: 30px;
}
.bg-trans {
    background-color: transparent;
    border-radius: 10px;
    padding: 0 5px;
}
.form-bx h3 {
    padding: 30px 25px 0;
}
.form-bx input[type=button], input[type=submit], input[type=reset] {
    width: 300px !important;
}
.form-bx h2 {
    font-size: 32px;
    line-height: 40px;
    padding: 0 25px;
    font-weight: 700;
    margin: 25px 0;
}
.form-bx input[type="date"]:before {
    content: attr(data-placeholder);
    color: #c7c5c5;
    position: absolute; text-indent: 5px; opacity: 1;
  }

  .form-bx input[type="date"]:focus:before,
  .form-bx input[type="date"]:valid:before {
    content: "";
  }





}
@media (max-width: 374px) {
    .form-bx h2 {
        font-size: 30px;
        line-height: 40px;
        padding: 0 20px;
        font-weight: 700;
        margin: 25px 0;
    }

    .form-bx h3 {
        padding: 30px 20px 0;
        font-size: 16px;
    }



}