﻿@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');
ิ
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Kanit' ,sans-serif;
}

.frame{
    border: 1px solid #f7efef;
    box-shadow: 0 0 10px rgba(200, 198, 198, 0.5);
    padding: 40px;
}

.company{
    font-family: "Kanit" , sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 1px;
    margin-top: 10px;
}

.logo-img{
    width: 200px;
    margin-bottom: 5px;
    object-fit: contain;
}
h6{
    font-family: "Kanit" , sans-serif;
    margin-bottom: 1px;
    font-size: 16px;
}
p{
    font-family: "Kanit" , sans-serif;
    margin-bottom: 1px;
    font-size: 12px;
}

label{
    font-family: "Kanit" , sans-serif;
    font-size: 14px;
}
.detail p{
    font-size: 16px;
    text-align: start;
    margin-bottom: 10px;
}
.policy h1{
    font-size: 20px;
    margin-bottom: 10px'
}
th {
    font-family: "Kanit" , sans-serif;
    font-size: 14px;
    font-weight: 500;
}
td {
    font-family: "Kanit" , sans-serif;
    font-size: 14px;
}
.size30{
    width: 30px;
}
.size50{
    width: 50px;
}
.size70{
    width: 70px;
}
.size100{
    width: 100px;
}
.size120{
    width: 120px;
}
.size150{
    width: 150px;
}
.size180{
    width: 180px;
}
.size200{
    width: 200px;
}
.size230{
    width: 230px;
}
.size250{
    width: 250px;
}
.size300{
    width: 300px;
}
.size350{
    width: 350px;
}

input{
    border: none;
    border-bottom: 1px dotted #757575;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    height: 20px;
    text-align: center;
    padding: 0;
}
input:disabled, textarea:disabled, select:disabled {
    color: black;
}
input[type=radio]:disabled:checked + label{
    opacity: 5;
    color: black;
}
input[type=radio]:disabled:checked{
    opacity: 5;
}

.area{
    border: none;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    padding: 0;
    resize: none;
}
.area1 {
    border: none;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    padding-right: 1;
    resize: none;
    border: 1px dotted #757575;
}

.addittional{
    font-size: 14px;
    width: 100%;
    line-height: 1.5;
    resize: none;
    background-color: #fff;
    border: 1px dotted #757575;
    padding: 5px;
}

input[type="file"]{
    width: 100%;
    height: auto;
}

.form-select{
    font-family: "Kanit" , sans-serif;
    font-size: 14px;
    height: 30px;
    border: none;
    border-bottom: 1px dotted #757575;
}
.file{
    position: absolute;
    top: 50;
    left: -50;
    opacity: 5;
    width: 100px;
    height: 50px;
}
.btn{
    height: 100%;
    width: 50%;
    font-family: 'Kanit', sans-serif;
    color: #fff;
    justify-content: center;
}
.btn-primary:disabled{
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.checkbox{
    width: 20px;
    height: 20px;
    margin-right: 5px;
    
}

.form-check-input{
    margin-right: 5px;
}

.box{
    border: 1px solid #000;
}
.case{
    max-width: 800px;
    width: 100%;
    border: 1px solid #f7efef;
    box-shadow: 0 0 10px rgba(200, 198, 198, 0.5);
    padding: 40px;
    margin-top: 20px;
}
.channel{
    width: 100%;
    height: 20px;
    border: 1px solid #000;
}

.image-frame {
    width: 2.8cm;
    height: 3.5cm;
    position: absolute;
    top: 50px;
    right: 0;
    border: 1px solid #000; /* สีขอบกรอบ */
    padding: 5px; /* ระยะห่างภายในกรอบ */
    background-color: #f8f9fa; /* สีพื้นหลังกรอบ */
  }
.image-frame img {
    width: 100%;
    height: 100%;
}

.hide{
    text-indent: -9999px;
}

.line{
    border-bottom: 2px solid #000; /* สีขอบกรอบ */
    margin: 2px 0 4px 0;
}
.dot{
    border-bottom: 2px dotted #000; /* สีขอบกรอบ */
    margin: 2px 0 4px 0;
}
.bold{
    font-weight: 500;
    font-family: "Kanit", sans-serif;
}
.ltalic{
    font-weight: 500;
    font-style:italic;
    text-decoration: underline;
}
.section {
    font-weight: 500;
    font-family: "Kanit", sans-serif;
    font-size: 14px;
}
a{
    font-family: 'Kanit', sans-serif;
    color: #fff;
    text-decoration: none;
}

button {
    margin: 5px;
}
.custom-btn {
    width: 100px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
     box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
     7px 7px 20px 0px rgba(0,0,0,.1),
     4px 4px 5px 0px rgba(0,0,0,.1);
    outline: none;
}
/* 5 */
.btn-5 {
    background: rgb(251, 243, 4);
    background: linear-gradient(0deg, rgb(234, 231, 33) 0%, rgb(206, 196, 14) 100%);
    width: 200px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
}
.btn-5 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    font-family: 'Kanit', sans-serif;
}
.btn-5:before,
.btn-5:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
     background: rgb(251, 234, 2);
    transition: all 0.3s ease;
}
.btn-5:before {
    height: 0%;
    width: 2px;
}
.btn-5:after {
    width: 0%;
    height: 2px;
}
.btn-5:hover{
     background: transparent;
    box-shadow: none;
}
.btn-5:hover:before {
    height: 100%;
}
.btn-5:hover:after {
    width: 100%;
}
.btn-5 span:hover{
     color: rgb(251, 238, 2);
}
.btn-5 span:before,
.btn-5 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
     background: rgb(251, 234, 2);
    transition: all 0.3s ease;
}
.btn-5 span:before {
    width: 2px;
    height: 0%;
}
.btn-5 span:after {
    width: 0%;
    height: 2px;
}
.btn-5 span:hover:before {
    height: 100%;
}
.btn-5 span:hover:after {
    width: 100%;
}
/* 4 */
.btn-4 {
    background-color: #25e061;
    background-image: linear-gradient(315deg, #48da79 0%, #3ce580 74%);
    line-height: 42px;
    padding: 0;
    border: none;
}
.btn-4:hover{
    background-color: #07f31a;
    background-image: linear-gradient(315deg, #4cde84 0%, #1ce026 74%);
}
.btn-4 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.btn-4 span:hover{
    color: rgb(13, 255, 0);
}
.btn-4:before,
.btn-4:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    box-shadow:  4px 4px 6px 0 rgba(255,255,255,.9),
                -4px -4px 6px 0 rgba(116, 125, 136, .2), 
      inset -4px -4px 6px 0 rgba(255,255,255,.9),
      inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
    transition: all 0.3s ease;
}
.btn-4:before {
    height: 0%;
    width: .1px;
}
.btn-4:after {
    width: 0%;
    height: .1px;
}
.btn-4:hover:before {
    height: 100%;
}
.btn-4:hover:after {
    width: 100%;
}
.btn-4 span:before,
.btn-4 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    box-shadow:  4px 4px 6px 0 rgba(255,255,255,.9),
                -4px -4px 6px 0 rgba(116, 125, 136, .2), 
      inset -4px -4px 6px 0 rgba(255,255,255,.9),
      inset 4px 4px 6px 0 rgba(116, 125, 136, .3);
    transition: all 0.3s ease;
}
.btn-4 span:before {
    width: .1px;
    height: 0%;
}
.btn-4 span:after {
    width: 0%;
    height: .1px;
}
.btn-4 span:hover:before {
    height: 100%;
    color: #07f31a;
}
.btn-4 span:hover:after {
    width: 100%;
    color: #07f31a;
}
/* 3 */
.btn-3 {
    background: rgb(12, 4, 251);
    background: linear-gradient(0deg, rgb(33, 33, 234) 0%, rgb(14, 27, 206) 100%);
    width: 200px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
}
.btn-3 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    font-family: 'Kanit', sans-serif;
}
.btn-3:before,
.btn-3:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
     background: rgb(2, 19, 251);
    transition: all 0.3s ease;
}
.btn-3:before {
    height: 0%;
    width: 2px;
}
.btn-3:after {
    width: 0%;
    height: 2px;
}
.btn-3:hover{
     background: transparent;
    box-shadow: none;
}
.btn-3:hover:before {
    height: 100%;
}
.btn-3:hover:after {
    width: 100%;
}
.btn-3 span:hover{
     color: rgb(14, 2, 251);
}
.btn-3 span:before,
.btn-3 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
     background: rgb(2, 19, 251);
    transition: all 0.3s ease;
}
.btn-3 span:before {
    width: 2px;
    height: 0%;
}
.btn-3 span:after {
    width: 0%;
    height: 2px;
}
.btn-3 span:hover:before {
    height: 100%;
}
.btn-3 span:hover:after {
    width: 100%;
}
/* 2 */
.btn-2 {
    background: rgb(251, 4, 4);
    background: linear-gradient(0deg, rgb(234, 33, 33) 0%, rgb(206, 14, 14) 100%);
    width: 200px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
}
.btn-2 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    font-family: 'Kanit', sans-serif;
}
.btn-2:before,
.btn-2:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
     background: rgb(251, 2, 2);
    transition: all 0.3s ease;
}
.btn-2:before {
    height: 0%;
    width: 2px;
}
.btn-2:after {
    width: 0%;
    height: 2px;
}
.btn-2:hover{
     background: transparent;
    box-shadow: none;
}
.btn-2:hover:before {
    height: 100%;
}
.btn-2:hover:after {
    width: 100%;
}
.btn-2 span:hover{
     color: rgb(251, 2, 2);
}
.btn-2 span:before,
.btn-2 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
     background: rgb(251, 2, 2);
    transition: all 0.3s ease;
}
.btn-2 span:before {
    width: 2px;
    height: 0%;
}
.btn-2 span:after {
    width: 0%;
    height: 2px;
}
.btn-2 span:hover:before {
    height: 100%;
}
.btn-2 span:hover:after {
    width: 100%;
}
/* 1 */
.btn-1 {
    background: rgb(4, 251, 12);
    background: linear-gradient(0deg, rgb(40, 234, 33) 0%, rgb(27, 206, 14) 100%);
    width: 200px;
    height: 40px;
    line-height: 42px;
    padding: 0;
    border: none;
}
.btn-1 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    font-family: 'Kanit', sans-serif;
}
.btn-1:before,
.btn-1:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
     background: rgb(2, 251, 19);
    transition: all 0.3s ease;
}
.btn-1:before {
    height: 0%;
    width: 2px;
}
.btn-1:after {
    width: 0%;
    height: 2px;
}
.btn-1:hover{
     background: transparent;
    box-shadow: none;
}
.btn-1:hover:before {
    height: 100%;
}
.btn-1:hover:after {
    width: 100%;
}
.btn-1 span:hover{
     color: rgb(11, 220, 22);
}
.btn-1 span:before,
.btn-1 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
     background: rgb(2, 251, 19);
    transition: all 0.3s ease;
}
.btn-1 span:before {
    width: 2px;
    height: 0%;
}
.btn-1 span:after {
    width: 0%;
    height: 2px;
}
.btn-1 span:hover:before {
    height: 100%;
}
.btn-1 span:hover:after {
    width: 100%;
}

input.show-error,
textarea.show-error,
select.show-error {
    border: 2px solid red;
    outline: none;
    transition: border 0.3s;
}

@media print {
    /* ซ่อนปุ่มพิมพ์เมื่อพิมพ์ */
    .print-button {
        display: none;
    }

    
}

