﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/phetsarath');
/* กำหนดฟอนต์หลัก */
* {
    font-family: 'phetsarath2020',sans-serif;
}
@font-face {
    font-family: 'phetsarath2020';
    src: url('../phetsarath2020.ttf') format('truetype');
}
body {
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #F5F5F5;
}

:root {
    --color-primary: #002440; /* #cb8c25 #002440 */
    --color-second: #e9eaeb; /* #773c00 #e9eaeb; */
    --color-yellow: #fca531; /* #fca531; */
    --color-white: #fff;
    --color-black: black;
    --color-blue: #034266;
}

/*section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;*/
    /*justify-content: center;
    align-items: center;*/
    /*font-family: 'Noto Sans Lao';
    background-image: url('/img/lg-2_11zon.webp');
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
}*/

section {
    display: flex;
    padding: 0 35px;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.card-login {
    width: 1440px;
    /*height:800px;*/
    border: none;
    border-radius: 22px;
}

.card-body-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px !important;
}
.r-background {
    /*background-color:#ccc;*/
    background-image: url('/img/lg-2_11zon.webp');
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    border-radius: 15px;
    height: 100%;
}
.form-login-input {
    margin-top: 62px;
    padding: 0 42px;
}
.text-smart-customs {
    font-size: 28px;
    font-weight:bold;
    font-variant: all-petite-caps;
    color: var(--color-blue);
}
.text-pre-alert {
    font-size: 18px;
    font-weight:bold;
    color: var(--color-blue);
}
.text-title {
    font-size: 36px;
    font-weight: bold;
    color: #23282B;
}
.text-detail {
    font-size: 16px;
    color: #A5A5A5;
}

.form-group-login {
    position: relative;
    margin-bottom: 20px;
}

.form-group-login input {
    width: 100%;
    padding: 12px 14px;
    border: 1.6px solid #ccc;
    border-radius: 14px;
    outline: none;
    transition: all 0.2s ease;
    font-size: 18px;
}

.form-group-login label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background-color: white;
    padding: 0 5px;
    color: #aaa;
    transition: all 0.2s ease;
    pointer-events: none;
    font-size:14px;
}

.form-group-login input:focus + label,
.form-group-login input:not(:placeholder-shown) + label {
    top: -2px;
    font-size: 14px;
    color: #333;
}

.form-group-login input:focus {
    /*border-color: #007bff;*/
    border: 1.6px solid var(--color-blue);
}

input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--color-blue);
    border: 1.6px solid var(--color-blue);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 12px;
    border: solid #E6A635;
    border-width: 0 1.6px 1.6px 0;
    top: 6%;
    left: 80%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

input[type="checkbox"]:checked + .custom-checkbox::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scale(1.5);
}

.checkbox-wrapper label {
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.group-submit{
    margin-top :2rem;
}

.btn-custom {
    width: 100%;
    padding: 14px;
    background-color: var(--color-blue);
    color: #fff;
    border-radius: 30px;
    border: none;
    font-size: 18px;
}
.btn-custom-register {
    width: auto;
    padding: 10px 34px;
    background-color: var(--color-blue);
    color: #fff;
    border-radius: 30px;
    border: 4px solid #fff;
    font-size: 16px;
}
.btn-light {
    border: 4px solid #fff !important;
}
.btn-custom-register:hover {
    color: #E6A635;
}
.btn:focus{
    color:#fff;
}

.modal-content{
    border-radius:15px;
}
.modal-header{
    padding:30px;
}
.stepwizard .stepwizard-row:before {
   /* width: 60%;
    right: 220px;*/
    height: 3px;
    top: 24px;
    /*background: linear-gradient(to right, orange 50%, transparent 50%);*/
}
.half-background1::before {
    background: linear-gradient(to right, var(--color-blue) 50%, transparent 50%);
}

.half-background2::before {
    background: linear-gradient(to right, var(--color-blue) 100%, transparent 100%);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 7px 16px;
    font-size: 14px;
    border: 1.6px solid #ccc;
    border-radius: 14px;
    outline: none;
    transition: all 0.2s ease;
    font-size: 16px;
}
.form-group input:focus, .form-group select:focus {
    border: 1.6px solid #034266;
}

.form-group .form-label {
    color: #23282B;
}
.select2-container--default .select2-results__options .select2-results__option[aria-selected=true] {
    background-color: var(--color-blue) !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--color-blue) !important;
    color: #fff !important;
}
.select2-container .select2-selection--single {
    width: 100%;
    padding: 4px 14px;
    font-size: 14px;
    border: 1.6px solid;
    border-color: #ccc !important;
    border-radius: 15px !important;
    outline: none;
    transition: all 0.2s ease;
}
.btn-cancel {
    border-radius: 25px !important;
    border: 2px solid #FC6C6C !important;
    color: #FC6C6C;
    width: 200px;
}
.btn-cancel:hover {
    background-color: #FC6C6C !important;
    color: #fff !important;
}

.img-customs {
    position: absolute;
    z-index: 2;
    width: 80%;
    height: 80%;
    /*border: 2px dashed #24695c;*/
    border-radius: 10px;
}
.custom-button {
    background-color: var(--color-blue);
}
.custom-button:hover {
    background-color: var(--color-blue);
}
.span-register {
    background-color: #E6E6E6;
    color: var(--color-blue);
    padding: 0px 9px;
    border-radius: 14px;
    margin-right: 8px;
}
.span-register-text {
    color: #fff;
}
.span-register-text:hover {
    color: #E6A635
}

.btn-custom:hover {
    color: #E6A635;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.col-l {
    padding: 4rem 2rem 8rem;
}

.logo-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:1rem;
}

.logobox {
    display: flex;
    justify-content: center;
    align-content: center;
    height: 310px;
}

.loginbox {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: 30px;
    border-radius: 10px;
}

.logologin {
    width: auto;
    margin: 30px 0px;
}

.formbox {
    display: flex;
    justify-content: center;
    align-items: center;
}

h2 {
    font-size: 2em;
    text-align: center;
    font-weight: bold;
    color: var(--color-primary);
}

.inputbox {
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid var(--color-primary);
}

.inputbox label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
}

input:focus ~ label, input:valid ~ label {
    top: -1px;
}

.inputbox input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color: var(--color-primary);
}

.forget {
    font-size: .9em;
    color: var(--color-primary);
    margin: 25px 0 10px;
}

    .forget p a {
        color: var(--color-primary);
        font-weight: 600;
    }

        .forget p a:hover {
            text-decoration: underline;
        }

/*button {
    width: 70%;
    height: 40px;
    border-radius: 10px !important;
    background-color: #020570;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: white;
}
button:hover {
    color: orange !important;
}*/

.slideshow {
    width: 100%;
}
.lgimg {
    position: absolute;
}
.backgrounds-container {
    position: absolute;
    width: 100%;
    height: 815%;
    z-index: -5;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.showing {
    opacity: 1;
    z-index: -1;
    transition: none;
}
.g-recaptcha {
    transform: scale(0.77);
    -webkit-transform: scale(0.69);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

.custom-button {
    width: 100px;
    padding: 5px;
    /*background-color: #2c398c;*/
    /*border: 1px solid #000;*/
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

#IDPassport.focused {
    border-color: red;
}
#BirthDate.focused {
    border-color: red;
}
#ExpiredDate.focused {
    border-color: red;
}
#ContactName.focused {
    border-color: red;
}
#Nationality.focused {
    border-color: red;
}
#E-mail.focused {
    border-color: red;
}
#Phone.focused {
    border-color: red;
}
#Phone_box.focused {
    border-color: red;
}
#CompanyNameEng.focused {
    border-color: red;
}
#CompanyNameLao.focused {
    border-color: red;
}
#TaxID.focused {
    border-color: red;
}
#CompanyEmail.focused {
    border-color: red;
}
#CompanyPhone.focused {
    border-color: red;
}
#CompanyFax.focused {
    border-color: red;
}
#CompanyAddress.focused {
    border-color: red;
}
#CompanyStreet.focused {
    border-color: red;
}
#CompanyProvince.focused {
    border-color: red;
}
#CompanyDistrict.focused {
    border-color: red;
}
#CompanyVillage.focused {
    border-color: red;
}
#CompanyCountry.focused {
    border-color: red;
}
#file1.focused {
    border-color: red;
}

/*.custom-button:hover {
    background-color: #2c398c;
}*/

.custom-texts {
    margin-left: 10px;
    color: #aaa;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    padding: 9px 40px 3px 30px;
    border-radius: 10px;
    width: 78% !important;
    overflow: auto !important;
    /*text-overflow: ellipsis;*/
    transition: 0.5s;
}
.form-sigle-box {
    background-color: rgb(233, 234, 235);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

a:hover {
    color: #020570;
}

.field-icon {
    position: absolute;
    margin: 18px 12px;
    right: 0;
    z-index: 2;
    cursor: pointer;
    font-size: 18px;
}

.stepwizard .stepwizard-row .stepwizard-step {
    width: auto;
    display: table-cell;
    text-align:center;
    position:relative;
}
.btn-blue {
    /*background-color: #2c398c;*/
    color: #fff;
    /*border-color: #2c398c;*/
}

    .btn-blue:hover {
        color: orange !important;
    }

.hover-custom:hover {
    background-color: orange;
    color: #020570;
    padding:0 10px;
    border-radius:10px;
    transition:0.5s;
}
.modal-header h4 {
    color: #838383;
}
.setup-content h5 {
    color: #838383;
}
/*.card {
    border-radius: 10px !important;
}*/
.card .card-header {
    border-radius: 10px !important;
}
.form-control::placeholder {
    color: #A5A5A5;
    font-size:16px;
}
.stepwizard-step-center {
    position: relative;
    top: -22px;
    right: -60px;
}
.btn-light span{
    color:var(--color-blue);
}
@media (max-width:1200px) {
    .headsmart {
        justify-content: center;
    }
}
@media (min-width: 1800px) {
    .pdtop {
        padding-top: 22px;
    }
}
@media (max-width: 768px) {
    .col-l {
        padding: 4rem 1rem 8rem;
    }
    section{
        min-height:0;
    }
    .card.card-login.shadow {
        box-shadow: none !important;
        margin-top: -60px;
    }
    body{
        background-color:#fff;
    }
    .form-login-input{
        padding:0;
    }
}
@media (max-width: 912px) {
    .stepwizard .stepwizard-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stepwizard .stepwizard-row:before {
        display: none;
    }

    .stepwizard .stepwizard-row .stepwizard-step {
        width: unset;
    }
    .stepwizard-step-center {
        position: relative;
        top: 0;
        right: 0;
    }
    .btn-custom-register {
        width: 280px;
    }
}

@media (max-width: 1464px) {
    .col-r {
        display: none;
    }

    .col-l {
        width: 100%;
        /*padding: 4rem 32rem 8rem;*/
    }

    .card-login {
        width: 100%;
    }
}

    /*@media (max-width: 1800px) {
    .g-recaptcha {
        transform: scale(0.65);
        -webkit-transform: scale(0.65);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
    .pdtop {
        padding-top: 23px;
    }
}

@media (max-width: 1600px) {
    .g-recaptcha {
        transform: scale(0.5);
        -webkit-transform: scale(0.57);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
    .pdtop {
        padding-top: 29px;
    }
}

@media (max-width: 1400px) {
    .g-recaptcha {
        transform: scale(0.5);
        -webkit-transform: scale(0.5);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
    .pdtop {
        padding-top: 31px;
    }
}

@media (max-width: 1199px) {
    .g-recaptcha {
        transform: scale(0.5);
        -webkit-transform: scale(0.77);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
    .pdtop {
        padding-top: 22px;
    }
}*/
    @media (min-width: 1200px) {
        .modal-xl {
            max-width: 1400px;
        }
    }

    @media (min-width: 992px) {
        .modal-xl {
            max-width: 1400px;
        }
    }

    @media (min-width: 576px) {
        .modal-xl {
            max-width: 1400px;
            margin: 1.75rem auto;
        }
    }

    @media (max-width: 535px) {
        .headsmart {
            align-items: center;
        }

            .headsmart img {
                margin-left: 32px !important;
            }

        .text-header-login {
            text-align: center;
            font-size: 34px !important;
            padding: 13px 9px 11px 0px;
        }

            .text-header-login div {
                margin: 12px 0 8px 6px !important;
            }

        .modal-dialog {
            max-width: 100% !important;
        }
    }

    #loadingSpinner {
        display: none;
        /*border: 4px solid rgba(0, 0, 0, 0.1);*/
        border-top: 4px solid #2c398c;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    button:focus {
        outline: none !important;
    }

    .hr{
        display:none;
    }
.dropbtn{
    transition:0.2s;
}
.dropbtn:hover {
    color: #E6A635 !important;
}
.button-search {
    border: none;
    background: transparent;
    position: absolute;
    color: #777777;
    padding: 4px 15px;
    margin: 6px;
    border-radius: 8px;
}
.table-primary {
    background-color: rgba(0, 0, 0, 0.06) !important;
}
th {
    color: #034266 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #034266 !important;
    color: #fff !important;
}
.datepicker {
    z-index: 9999;
}