
@font-face {
    font-family: 'db_heavent_med';
    src: url('./fonts/font/DB\ Wittayu\ X\ Med.ttf');
}
@font-face {
    font-family: 'db_heavent_light';
    src: url('./fonts/font/DB\ Wittayu\ X.ttf');
}
@font-face {
    font-family: 'db_heavent_regular';
    src: url('./fonts/font/DB\ Wittayu\ X\ Bd.ttf');
}
@font-face {
    font-family: 'db_heavent_x_med';
    src: url('./fonts/DB\ Helvethaica\ X\ Med\ Ext\ It.ttf');
}

.body {
    scrollbar-color: #d4aa70 #e4e4e4;
    scrollbar-width: thin;
}
/* .section::-webkit-scrollbar {
    width: 20px;
}
.section::-webkit-scrollbar-track {
    background-color: #e4e4e4;
    border-radius: 100px;
}
.section::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background-image: linear-gradient(180deg, #d0368a 0%, #708ad4 99%);
    box-shadow: inset 2px 2px 5px 0 rgba(255, 255, 255, 0.5);
} */


html{
    max-width: 641px;
    margin: 0 auto;
    background-color: #000000;
}
body{
    margin: 0;
}
body{

    background-image: url('./img/new/back_mobile.jpg');
    background-repeat: repeat-y;
    background-size: contain;
    padding:0 10px;
    text-align: left;
    min-height: 100vh;
    /* height: 100vh; */
}
img{
    cursor: pointer;
}
.imgprofile{
    width: 100%;
}
.imglogo{
    width: 100%;
    border-radius: 50px;
}
.imgfm{ 
    width: 100%;
}
.div-img-menu{
    padding-top: 50px;
}
.imgmenu{
    width: 100%;
    margin-bottom: 10px;
}
.imgbutton{
    width: 100%;
    margin-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
}
.imgbutton-2{
    width: 100%;
    /* padding-right: 5px;
    padding-left: 5px;
    margin-bottom: 10px; */
}
.criclelogo{
    width: 100px;
    height: 100px;
    background-color: #8f0000;
    border-radius: 50px;
    position: relative;
    top: -50px;
    z-index: 100;
    /*left: 50%;
    transform: translate(-50%,0);*/
}
.bdetail{
    color: #ffffff;
}
.button-inline{
    display: flex;
}

.div-img-detail{
    padding-top: 90px;
    padding-bottom: 90px;
    background-image: linear-gradient(#00000000, #3131317a, #00000000);
    padding-left: 10px;
    padding-right: 10px;
}
.imgdetail{
    width: 100%;
}

.div-img-recc{
    padding-top: 70px;
    padding-bottom: 20px;
}
.imgrecc{
    width: 100%;
}

.div-img-step{
    padding-top: 25px;
    padding-bottom: 10px;
}
.imgstep{
    width: 100%;
}

.div-img-history{
    color: #ffffff;
    padding-top: 10px;
}

.title-history{
    font-family: 'db_heavent_light';
    font-size: 2rem;
    margin: 0 0 5px 0;
}

.div-list-history{
    border-radius: 15px;
    border: 1px solid #ffffff;
    padding: 15px;
    margin-bottom: 15px;
    line-height: 1;
    background-color: #00000094;
    font-size: 1.2rem;
}

.inlineresult{
    display: flex;
}

.inlineresult div:nth-child(1){
    display: block;
    display: block ruby;
    font-family: 'db_heavent_med';
}
.inlineresult div:nth-child(2){
    font-family: 'db_heavent_light';
}

p{
    margin: 0 0 5px 0;
}

.div-list-history p{
    font-family: 'db_heavent_light';
    margin: 0;
}
.div-list-history p span{
    font-family: 'db_heavent_med';
}

.name-history{
    font-family: 'db_heavent_med';
    font-size: 1.2rem;
}
.text-buy{
    font-family: 'db_heavent_med';
    font-size: 1.4rem;
    color: #ffe600;
}
.div-name{
    margin-bottom: 10px;
    line-height: 0.6;
}
.box-detail label{
    display: block;
    color: #ffffff;
    font-family: 'db_heavent_med';
}
.box-detail label span{
    font-size: 0.7rem;
    color: #ffffff;
}

.box-detail input{
    border-radius: 30px;
    border: 1px solid #ffffff;
    background-color: rgba(8, 8, 8, 0.315);
    width: -moz-available;
    font-family: 'db_heavent_light';
    color: #fff;
    padding: 3px 13px;
    margin-bottom: 6px;
    width: calc(100% - 30px);
}
.box-detail input:focus-visible
{
    outline: none !important;
}

.box-pro label{
    display: block;
    color: #ffffff;
    font-family: 'db_heavent_x_med';
}
.box-pro label span{
    font-size: 0.7rem;
    color: #ffffff;
}

.box-pro input{
    border-radius: 30px;
    border: 1px solid #ffffff;
    background-color: rgba(8, 8, 8, 0.315);
    width: -moz-available;
    font-family: 'db_heavent_light';
    color: #fff;
    padding: 3px 13px;
    margin-bottom: 6px;
    width: calc(100% - 30px);
}
.box-pro input:focus-visible
{
    outline: none !important;
}
.rq-null:focus-visible{
    border: 1px solid #ffffff;
}
.rq-null{
    border: 1px solid #ff0606;
}
/* .box-detail input:focus
{
    border: 0px !important;
} */

.div-show-select{
    margin: 5px 0;
}
.imgselect{
    width: 50%;
}

.di-redio{
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}
.div-accept{
    margin-bottom: 10px;
}


/*    redio        */

.btn-hell.btn-line, .texttohelp-other{
    font-size: 5vw;
}

/* The container */
label.container {
    font-family: 'db_heavent_light';
    display: inline;
    position: relative;
    padding-left: 24px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 4.4vw;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 1.6;
    color: #ffffff;
    padding-right: 10px;
    text-align: left;
  }

  .box-detail label
  {
    font-size: 5vw;
  }

  .box-detail input
  {
    font-size: 4.4vw;
  }
  .box-pro label
  {
    font-size: 5vw;
  }

  .box-pro input
  {
    font-size: 4.4vw;
  }
  
  
  /* Hide the browser's default checkbox */
  label.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: -5px;
    left: -3px;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #ff0606;
  }
  
  /* On mouse-over, add a grey background color */
  label.container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  label.container input:checked ~ .checkmark {
    background-color: #ff0606;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  label.container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  label.container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }


  /*    redio        */

.imgbuy{
    width: 100%;
}
.btnbuy{
    padding: 5px 0px !important;
    border: 0 !important;
    background-color: transparent !important;
    filter: unset;
}

#buttonbuydisabled{
    filter: grayscale(100%);
}

.btnbuy img{
    cursor: pointer;
}
#buttonbuydisabled img{
    cursor: not-allowed;
}

.no-bg{
    background-image: unset !important;
}
.iconpayment{
    width: 40px; 
    margin-right: 3px;
}
.iconpayment-visa{
    width: 60px !important;
}
.iconpayment-jcb{
    width: 35px;
}
.iconpayment-bkkbank{
    width: 29px;
}
.iconpayment-rabbitlinepay{
    width: 150px;
}

.channel label{
    color: rgb(85, 85, 85);
    font-size: 1.2rem;
    font-family: 'db_heavent_med';
}
.div-channel{
    margin-top: 20px;
    background-color: #fff;
    padding: 10px 0 1px 0;
}
.title-payment{
    font-family: 'db_heavent_med';
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.channel{
    padding: 0 50px;
    margin-bottom: 15px;
}
.ch-radio label{
    margin-bottom: 5px;
}
.vat0pay{
    font-family: 'db_heavent_med';
    font-size: .8rem;
}
.vat0pay p{
    color: #ff0606;
}
.ch-radio .checkmark{
    border-radius: 50px !important;
}
.ch-radio label.container .checkmark::after{
left: 2px;
top: 2px;
width: 13px;
height: 13px;
border: solid #ff0606;
border-width: 0 3px 3px 0;
border-radius: 50px;
background: #ff0606;
}

.ch-radio label.container input:checked ~ .checkmark {
    background-color: #fff;
}

.div-price div{
    background: #ffffff;
    border-radius: 50px;
    padding: 7px 10px;
    margin: 5px 30px;
    font-family: 'db_heavent_med';
    font-size: 1.3rem;
}
.div-price div p{
    margin-bottom: 0px;
}
/*******************    fix menu  *********************/

.div-button{
    /*position: fixed;*/
    bottom: 0;
    /*left: 0;*/
    background: #620F08;
    padding-top: 10px;
    max-width: 641px;
    margin-left: -10px;
    margin-right: -10px;
}
.div-body{
    /*padding-bottom:165px ;*/
    text-align: left;
}
.div-body.div-img-order{
    /*padding-bottom:195px !important;*/
    padding-top:20px;
}

/*******************    fix menu  *********************/

.paycopy{
    font-size: 1.2rem;
    padding: 4px 6px;
    border-radius: 5px;
    text-decoration: underline;
    cursor: pointer;
}
.hometxtbuy{
    font-family: 'db_heavent_regular';
    color: #fff;
    font-size: 1.5rem;
}

.div-package{
    color: #ffffff;
    width: 100%;
    display: flex;
    margin-bottom: 10px;

}
.imgpack {
    width: 100%;
    height: 100%;
    background-color: transparent!important;
    /* height: fit-content !important; */
    cursor: default !important;
    margin: 0 -2px;
}
.div-p1{
    /*width: 100%;
    float: center;
    margin: 10px 0px 10px 0;
    background-color: #fff;
    padding: 5px;
    height: fit-content;*/

    width: 100%;
    float: center;
    border-radius: unset !important;
    border: unset !important;
    margin: unset !important;
    background-color: unset !important;
    padding: 5px;
    height: fit-content;
}

/*
.card-clamp {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
*/

.div-p2{
    width: 100%;
    float: center;
    padding: 5px 10px;
    background-color: #000000;
}
.div-p2 p{
    margin: 0;
}
.div-cover{
    margin: 0 -10px;
}
.div-log{
    background-color: #620F08;
    margin: 0 -10px;
}
.footermenu{
    display: flex;
    margin: 0 -10px;
    background-color: #000000;
    padding: 20px 40px 0;
    /* height: 300px; */
}
.footermenu div:nth-child(1){
    width: 30%;
}
.footermenu div:nth-child(2){
    width: 31%;
}
.footermenu div:nth-child(3){
    width: 39%;
}
.imgfm{
    width: 100%;
}

.button-inline{
    padding:0 5px;
}
.button-inline a{
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.button-inline:last-child{
    margin-bottom: 10px;
}

.button-inline-btnbuy{
    display: none;
}

.waite-wallpaper p{
    font-family: 'db_heavent_med';
}


.div-btnline{
    position: absolute;
    right: 0;
    top: 0px;
}

.btnline{
    background-color: #51c838;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.8rem;
    color: #fff;
    font-family: 'db_heavent_med';
    cursor: pointer;
}

.btnline-result{
    font-size: 1rem !important;
    padding: 14px 64px !important;
    top: 14px !important;
    margin-top: 18px !important;
}


.pageback{
    color: #fff;
    font-family: 'db_heavent_med';
    font-size: 1rem;
}
.pageback:hover{
    color: #fff;
}

.display-day{
    display: flex;
    padding: 0 5%;
}

.display-day label{
    width: 30% !important;
}

.bg-radio{
    background: #620f09ab; padding: 10px; border-radius: 10px; border: 1px solid #ffffff;
}


.btn-package{
    background: linear-gradient(90deg, rgb(180, 126, 16) 23%, rgb(222, 184, 82) 45%, rgb(236, 214, 124) 58%, rgb(241, 226, 140) 63%, rgb(237, 215, 125) 70%, rgb(228, 193, 94) 81%, rgb(180, 126, 16) 96%);
    font-family: 'db_heavent_light';
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    border: solid;
    padding: 5px 15px;
    width: 150px;
    cursor: pointer;
    width: 70% !important;
}


.ontop{
    /*background-color: #553425;*/
    border-radius: 7px;
    padding: 5px 0px;
    margin: 0 2px !important;
    /*text-align: center;*/
}

.div-p1 .btn-package{
    width: 100% !important;
    
    border: 0px solid;
}

.select-pack button{
    padding: 7px 1px !important;
    font-size: 1rem !important;
}

@media only screen and (min-width: 414px) {
    .div-p2 p:nth-child(1) {
        font-size: 1.2rem;
    }
    .div-p2 p:nth-child(2) {
        font-size: 1rem;
    }
    .btn-package{
        font-size: 1rem;
    }
    .div-p2 p:nth-child(3) {
        font-size: 1rem;
    }

    .div-accept label{
        line-height: 1.4;
    }
    .div-body.div-img-order {
        /*padding-bottom: 220px !important;*/
    }
    .box-detail input {
        font-size: 1rem;
    }
    .box-pro input {
        font-size: 1rem;
    }
}




@media only screen and (min-width: 640px) {

    .select-pack button{
        font-size: 1.5rem !important;
    }
    .title-payment {
        font-size: 1.5rem;
    }

    .ch-radio label.container .checkmark::after {
        left: 4px;
        top: 4px;
        width: 19px;
        height: 19px;
    }

    .div-body.div-img-order {
        /*padding-bottom: 300px !important;*/
    }

    .div-body {
        /*padding-bottom: 210px;*/
    }
    label.container {
        font-size: 1rem;
    }

    .div-img-menu {
        padding-top: 18px;
    }
    .hometxtbuy {
        font-size: 2.7rem;
    }
    .div-p2 p:nth-child(1) {
        font-size: 1.8rem;
    }
    .div-p2 p:nth-child(2) {
        font-size: 1.5rem;
    }
    .btn-package{
        font-size: 1.5rem;
    }

    .div-p2 p:nth-child(3) {
        font-size: 1.5rem;
    }
    .box-detail label {
        font-size: 1.5rem;
    }
    .box-detail input {
        padding: 7px 15px;
        font-size: 1.4rem;
    }
    .box-pro label {
        font-size: 1.5rem;
    }
    .box-pro input {
        padding: 7px 15px;
        font-size: 1.4rem;
    }
    label.container {
        font-size: 1.5rem;
        padding-left: 42px;
    }
    .checkmark {
        height: 30px;
        width: 30px;
    }
    label.container .checkmark:after {
        left: 10px;
        top: 3px;
        width: 6px;
        height: 16px;
    }
    body {
        background-size: 100% 100%;
    }
    .box-detail label span {
        font-size: 1rem;
    }
    .box-pro label span {
        font-size: 1rem;
    }
    .div-price div p {
        font-size: 1.5rem;
    }
    .div-price div {
        background: #ffffff;
    }

    .imgbutton-2 {
        width: 75%;
    }

    label.container {
        line-height: 1.6;
        margin-bottom: 4px;
    }

    .btn-hell.btn-line, .texttohelp-other {
        font-size: 1.3rem;
    }

}


