.vntpopform {
    padding: 0;
    border-radius: 20px;
}
.vntpopform .fancybox-close-small{
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border-radius: 100%;
    padding: 0;
    opacity: 1;
}
.vntpopform .fancybox-close-small svg{
    opacity: 1;
}
.vntpopform a, .vntpopform button, .vntpopform input, .vntpopform select, .vntpopform textarea{
    outline: none!important; 
}
.vntpopform .fminfos{
    padding: 20px 50px 52px;
}
.vntpopform .iftitle{
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}
.vntpopform .iftitle, .vntpopform .iftitle h2{
    font-size: 30px;
    line-height: 40px;
    font-weight: bold;
}
.vntpopform .ifnotes{
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    color: #666666;
    margin-bottom: 18px;
}
.vntpopform .ctchose{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 18px;
    margin-bottom: 18px;
}
.vntpopform .chtexts{
    color: #999999;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    font-style: italic;
}
.vntpopform .ctchose .chradio{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px 30px;
}
.vntpopform .ctinput{
    margin-bottom: 18px;
}
.vntpopform .ctinput .ingrip{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    margin: 0 -5px;
}
.vntpopform .ctinput .ingrip > div{
    padding: 0 5px;
}
.vntpopform .ctinput .ingrip .hcol{
    width: 50%;
}
.vntpopform .ctinput .ingrip .mcol{
    width: 100%;
}
.vntpopform .inpgroup input, .vntpopform .inpgroup select, .vntpopform .inpgroup textarea{
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
    font-size: 14px;
    line-height: 22px;
}
.vntpopform .inpgroup select{
    padding-right: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("iselect.png");
    background-size: 10px 7px;
    background-position: right 15px center;
    background-repeat: no-repeat;
}
.vntpopform .inpgroup textarea{
    height: 70px;
    padding: 10px 15px;
}
.vntpopform .ctcheck{
    margin-bottom: 15px;
} 
.vntpopform .ctbuton{
    text-align: center;
}
.vntpopform .ctbuton a, .vntpopform .ctbuton button{
    display: inline-block;
    font-size: 14px;
    line-height: 25px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #cc0000;
    color: #ffffff;
    border-radius: 5px;
    border: none;
    padding: 10px 20px;
    min-width: 230px;
    text-align: center;
}
.vntpopform .ctbuton a:hover, .vntpopform .ctbuton button:hover{
    background-color: #000000;
}
/* <===== vcheckbox =====> */
.vcheckbox{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.vcheckbox input{
    position: absolute;
    z-index: -1111;
    pointer-events: none;
    opacity: 0;
}
.vcheckbox label{
    display: inline-block;
    padding-left: 30px;
    position: relative;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    padding-top: 0;
}
.vcheckbox label::before{
    content: '';
    font-family: 'FontAwesome';
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 11px;
    border-radius: 5px;
}
.vcheckbox input:checked ~ label::before{
    content: '\f00c';
    background-color: #cc0000;
    border-color: #cc0000;
    color: #ffffff;
}
/* <===== vcheckbox =====> */

/* <===== vfmradio =====> */
.vfmradio{
    display: flex;
    align-items: center;
    align-content: center;
    font-size: 16px;
    line-height: 24px;
    min-height: 23px;
    cursor: pointer;
}
.vfmradio:last-child{
    margin-bottom: 0;
}
.vfmradio .ralabel{
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}
.vfmradio .rainput{
    width: 20px;
    height: 20px;
    vertical-align: top;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #dddddd;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    cursor: pointer;
}
.vfmradio .rainput{
    margin-right: 10px;
    margin-top: 0;
}
.vfmradio .rainput[type=radio]{
    border-radius: 50%;
}
.vfmradio .rainput:checked{
    background-color: #ffffff;
    border-color: #cc0000;
    border-width: 2px;
}
.vfmradio .rainput:checked[type=radio]{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23cc0000'/%3e%3c/svg%3e");
}
.vfmradio label{
    margin-bottom: 0;
    cursor: pointer;
}




/*ThaiSon*/


.vnt-form {}
.vnt-form .form-group {}
.vnt-form .form-label {
    font-weight: bold;
    margin-bottom: 5px;
}
.vnt-form .form-label span {
    color: #ff0000;
}
.vnt-form .form-input {
    position: relative;
}

.vnt-form .form-control {
    box-shadow: none !important; 
}



.vnt-form input[type="text"],
.vnt-form input[type="tel"],
.vnt-form input[type="email"],
.vnt-form input[type="password"] {
   
    font-size: 16px;
    box-shadow: none !important; 
}
.vnt-form input::-webkit-input-placeholder { /* Edge */
    color: var(--color99);
}
.vnt-form input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--color99);
}
.vnt-form input::placeholder {
    color: var(--color99);
}

.vnt-form input.form-control:disabled, .vnt-form input.form-control[readonly] {
    padding-left: 5px !important;
} 

.vnt-form .has-error input[type="text"],
.vnt-form .has-error input[type="password"],
.vnt-form .has-error input[type="tel"],
.vnt-form .has-error input[type="email"]{
    border: 1px solid #a94442 !important;
}

.vnt-form .form-input .form-control.is-invalid {
    border: 1px solid #a94442 !important;
}

.vnt-form .form-input .help-block{
    display: none;
}
.vnt-form .form-input em.error {
    width: auto;
}
.vnt-form .form-input em.error {
    position: absolute;
    z-index: 10;
    right: 0;
    top: -31px;
    white-space: nowrap;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-style: italic;
    padding: 3px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.vnt-form .form-input em.error::after {
    position: absolute;
    font-family: 'FontAwesome';
    content: '\f0d7';
    color: #000;
    right: 15px;
    bottom: -12px;
}





@media all and (max-width: 570px){
    .vntpopform{
        border-radius: 15px;
    }
    .vntpopform .fminfos{
        padding: 20px 20px 35px;
    }
    .vntpopform .iftitle, .vntpopform .iftitle h2{
        font-size: 22px;
        line-height: 32px;
    }
    .vntpopform .ctchose > div{
        width: 100%;
    }
    .vntpopform .ctinput .ingrip .hcol{
        width: 100%;
    }
    .vntpopform .ctbuton a, .vntpopform .ctbuton button{
        width: 100%;
    }
    .vntpopform .ifnotes{
        margin-bottom: 12px;
        padding: 0 35px;
    }

}