@import 'https://fonts.googleapis.com/css?family=Prompt';
html,body{
    height: 100%;
}
body{
    font-family: 'Prompt', sans-serif !important;
    /*background-color: #2cb7bc;*/
    /* background: url("../images/bg.png");
    background-repeat: no-repeat !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-position: center center !important;  */
    overflow: hidden !important; 
}
.container-fluid{
    height: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
}
/* Loader */
/* Normal Usage */
.loader-shadow{
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
    z-index: 2000;
}
.loader {
    display: block;
    position: fixed;
    top: 75px;
    left: calc(50% - 2px);
    width: 4px;
    height: 86px;
    background: #1946ba;
    border: 1px solid #1946ba;
    margin: auto;
    animation: shake 1s linear infinite alternate;
    transform-origin: 0 0;
    z-index: 2000;
}

.loader::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 32px;
    height: 16px;
    box-sizing:border-box;
    border: 5px solid #0091ff;
    border-top: none;
    border-radius: 0 0 20px 20px;
}
.loader::after {
    content: '';
    left: 50%;
    bottom: 0;
    position: absolute;
    transform: translateX(-50%);
    width: 64px;
    height: 32px;
    border-radius: 50px 50px 0 0;
    background: #fff;
    border: 1px solid #1946ba
}

@keyframes shake {
    0% { transform: rotate(10deg)  }
    100% { transform: rotate(-10deg)  }
} 
.form-control:disabled, .form-control[readonly], input:not([disabled]):focus{
    box-shadow: none !important;
}
/* Loader */

.mt-a{
    margin-top: auto;
}
.mb-a{
    margin-bottom: auto;
}
.select-selected, :not(.input-group) > input, :not(.input-group) > select, :not(.input-group) > textarea{
    border-radius: 7px;
    box-shadow: 2px 2px 5px -3px #000 inset;
}
:not(.input-group) > input:focus, :not(.input-group) > textarea:focus{
    box-shadow: 2px 2px 9px -4px #000 inset;
}
input{
    line-height: 1.8;
    color: #1946ba !important;
}
textarea{
    resize: none;
    height: 120px;
}
.modal-xl{
    max-width: 80% !important;
    align-items: flex-start;
}

/* The container must be positioned relative: */
.lekise-select {
  position: relative;
  display: flex;
  align-items: center;
}

.lekise-select select {
  display: none; /*hide original SELECT element: */
}

.lekise-select .select-items{
  max-height: 180px;
  overflow-y: scroll;
  white-space: nowrap;
}

.select-selected {
    padding: 1px 10px 1px 10px;
    border: 0.1em solid rgba(136,136,136,0.6);
    cursor: pointer;
    width: 100%;
    background-color: #FFF;
    border-radius: 15px;
    margin-bottom: 5px;
    line-height: 2.5;
    font-size: 16px;
    font-weight: normal;
    color: #495057;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 40%;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #000 transparent transparent transparent;
  margin-right: 10px;
}
.select-selected.select-arrow-active{
    border-radius: 10px 10px 0px 0px !important;
}
/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #000 transparent;
  top: 7px;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: #FFF;
    top: 90%;
    width: 95%;
    line-height: 2.5;
    font-size: 16px;
    font-weight: normal;
     color: #495057;
    border-style: none solid solid solid;
    border-width: 0.1em;
    border-color: rgba(136,136,136,0.6);
    cursor: pointer;
    z-index: 99;
}
.select-items div{
    padding: 3px 10px 3px 10px;
}
/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
.option-item-disabled{
    text-decoration: line-through;
    text-decoration-color: red;
    background-color: rgb(255 198 117);
    cursor: default;
}
.option-item-disabled:hover{
    text-decoration: line-through;
    text-decoration-color: red;
    background-color: rgb(255 198 117) !important;
}

.modal-dialog{
    height: calc(100% - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content{
    border-radius: 20px;
}
.modal-header{
    background-color: #1946ba;
    color: #fff;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.modal-header .close{
    color: #fff !important;
}
.modal-body{
    display: flex;
    flex-direction: column;
    grid-gap: 15px;
}
.nav-container{
    position: fixed;
    left: -350px;
    top: 0;
    width: 320px;
    max-width: 90%;
    height: 100%;
    background-color: #FFF;
    /* background: linear-gradient(180deg, #636363, #221e1f, #000); */
    color: #1946ba;
    box-shadow: 0px 1px 10px -2px #000;
    z-index: 1001;
    transition: 0.7s;
    overflow: auto;
}
.nav-container .nav-menu-profile{
    display: flex;
    height: 75px;
    justify-content: center;
    align-items: center;
}
.content_title .icon{
    width: 200px;
    height: 100%;
}
.nav-container .nav-menu-profile .icon{
    width: 100%;
    height: 120px;
}
.nav-container .nav-menu-profile .icon, .content_title .icon{
    background: no-repeat 100% / 100% url("../images/Profile.png");
}
.nav-container .nav-menu-profile.reward-box{
    height: 200px;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 30px;
    padding-left: 30px;
}
.nav-container .nav-menu-profile.reward-box .row:nth-child(1){
    color: #626262;
    font-size: 25px;
    font-weight: bolder;
}
.nav-container .nav-menu-profile.reward-box .row:nth-child(2){
    color: #1946ba;
    font-size: 25px;
    font-weight: bolder;
}
.nav-container .nav-menu-profile.reward-box .row:nth-child(3){
    color: #1946ba;
}
.nav-container .nav-menu-profile.reward-box .row:nth-child(4){
    color: #898989;
}
.nav-container .nav-menu-profile.reward-box .CustomerScoreValue .ScoreValue:before{
    background-color: #1946ba;
    color: #FFF;
}
.nav-container .nav-menu-profile.reward-box .CustomerScoreValue .ScoreValue:after{
    color: #898989;
}
.nav-container div.nav-menu{
    display: flex;
    flex-direction: column;
    margin: 15px;
    /*height: calc(100% - 170px);*/
    height: auto;
}
.nav-container .nav-about{
    height: 30px;
}
.nav-container .nav-about.show-about{
    /*height: 250px;*/
    height: auto;
    margin-left: 25px;
    margin-top: 50px;
}
.nav-container div.nav-menu-logout{
    /*position: absolute;*/
    bottom: 0;
    display: flex;
    align-items: center;
    margin: 15px 0px;
    height: 50px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.nav-container.active{
    left: 0;
    transition: 0.7s;
}
.nav-container.active .nav-menu-profile{
	display: flex;
}
.nav-container.active div.nav-menu div.menu{
	width: 100%;
}
.nav-container.active div.nav-menu div.menu.active{
	border-radius: 50px 0px 0px 50px;
}
.nav-container.active div.nav-menu div.menu div.menu-name{
	display: block;
}
div.nav-menu div.col-12{
    display: flex;
    justify-content: center;
}
span.a, .PersonalPolicy{
    color: #1946ba;
    cursor: pointer;
}
.content_header{
    display: grid;
    grid-template-columns: 1fr 5fr 1fr;
	height: 75px;
	background-color: #FFF;
    box-shadow: 3px 3px 10px -5px;
}
.content_header .content_nav_bar{
    display: flex;
    align-items: center;
}
.content_header .content_nav_bar .fa{
    background: url("../icon/nav-icon.png") no-repeat;
    background-size: 100% 100%;
    display: block;
    width: 35px;
    height: 35px;
    margin-left: 20px;
    cursor: pointer;
    z-index: 1000;
}
.content_header .content_title{
    display: flex;
    justify-content: center;
    color: #1946ba;
    font-size: 50px;
    font-weight: bolder;
}
.content_header .content_language{
    display: flex;
    justify-content: end;
    align-items: center;
    grid-gap: 20px;
    color: #FFF;
    font-size: 20px;
    font-weight: bolder;
}
.content_body{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: calc(100% - 130px);
    background-color: #FFF;
    margin-top: 5px;
}
.content_footer{
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45px;
    background-color: #1946ba;
    color: #FFF;
    font-size: 14px;
}
.blacklist-card{
    width: 100%;
    height: 100%;
    padding: 20px;
}
.blacklist-card-header div:nth-child(1){
    display: inline-flex;
    align-items: center;
    grid-gap: 10px;
    font-size: 20px;
    font-weight: bolder;
}
.blacklist-card-header div:nth-child(2){
    display: flex;
    justify-content: flex-end;
}
.blacklist-card-body{
    padding: 10px;
    height: calc(100% - 40px);
    margin-top: 10px;
    box-shadow: 0px 0px 10px -1px #c5c5c5;
    overflow: auto;
}
.social-icon{
    display: block;
    width: 40px;
    height: 40px;
}
.Facebook-icon{
    background: no-repeat center / cover url("../icon/Facebook.png");
}
.Instagram-icon{
    background: no-repeat center / cover url("../icon/Instagram.png");
}
.Tiktok-icon{
    background: no-repeat center / cover url("../icon/Tiktok.png");
}
.Line-icon{
    background: no-repeat center / cover url("../icon/Line.png");
}
.Youtube-icon{
    background: no-repeat center / cover url("../icon/Youtube.png");
}
.btn:not(.buttons-html5):not(.action-btn){
    width: 100%;
    max-width: 200px;
    border-radius: 20px;
    box-shadow: 3px 3px 3px -2px #000;
}
.btn.action-btn:not(.buttons-html5){
    max-width: 200px;
    box-shadow: -2px -2px 4px -2px #000 inset,4px 4px 5px -4px #fff inset;
}
.btn-light{
    color: #1946ba !important;
    border: 3px solid #1946ba !important;
}
.btn-dark{
    background-color: #959595 !important;
    border: 2px solid #959595 !important;
}
.btn-dark:hover{
    background-color: #615f5f !important;
}
.btn-primary{
    background-color: #1946ba !important;
    border: 2px solid #1946ba !important;
}
.btn-primary:hover{
    background-color: #3869e8 !important;
}
.btn-info{
    background-color: #009aff !important;
}
.btn-warning{
    background-color: #fdb616 !important;
    color: #FFF !important;
}
.btn-success{
    background-color: #2bc857 !important;
}
.btn-browse{
    border-radius: 9px !important;
    background-color: #ebebeb !important;
    border: 2px solid #959595 !important;
    color: #1946ba !important;
}
.btn-browse:hover{
    background-color: #959595 !important;
    border: 2px solid #959595 !important;
    color: #1946ba !important;
}
.btn-success:has(.fa-save){
    padding-left: 30px;
    padding-right: 30px;
}
.btn-danger{
    background-color: #ed2224 !important;
}
.btn-outline-primary{
    background-color: #fff !important;
    border: 3px solid #0130e2 !important;
    color: #0130e2 !important;
}
.btn-outline-primary:hover{
    border: 3px solid #0130e2 !important;
    color: #FFF !important;
    background-color: #c1d0f9 !important;
}
.btn-outline-dark{
    background-color: #fff !important;
    border: 3px solid #615f5f !important;
    color: #615f5f !important;
}
.btn-outline-dark:hover{
    border: 3px solid #615f5f !important;
    color: #FFF !important;
    background-color: #615f5f !important;
}
.btn-light:hover{
    background-color: #FFF !important;
}
.text-warning{
    color: #ffc048 !important;
}
.text-success{
    color: #00950b !important;
}
.text-danger{
    color: #ed2224 !important;
}
.text-primary{
    color: #0130e2 !important;
}
.text-dark{
    color: #615f5f !important;
}
.table_response{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.dataTable thead{
    border-radius: 20px;
}
.dataTable thead th:first-child{
    border-top-left-radius: 20px;
}
.dataTable thead th:last-child{
    border-top-right-radius: 20px;
}
.dataTable thead th, .dataTable tfoot th{
    vertical-align: middle !important;
    text-align: center !important;
    background-color: #1946ba;
    color: #FFF;
    cursor: pointer;
}
.table td, .table th{
    border-top: none;
}
.dataTable tbody td{
    color: #656565;
}
.table-striped>tbody>tr:nth-of-type(odd){
    background-color: #ebebeb !important;
}
.table tfoot td:first-child,
.table tfoot th:first-child,
/*.table:not(tfoot) tbody td:first-child*/
{
    border-bottom-left-radius: 20px;
}
.table tfoot td:last-child,
.table tfoot th:last-child,
/*.table:not(tfoot) tbody td:last-child*/
{
    border-bottom-right-radius: 20px;
}
.btn.buttons-excel, .dt-button.buttons-excel{
    padding: 0 !important;
    background-color: rgba(255, 255, 255, 0) !important;
    border: none;
    margin-left: 10px !important;
    color: #FFF;
}
.btn.buttons-excel span, .dt-button.buttons-excel span{
    display: block;
    width: 40px;
}
.btn.buttons-excel i, .dt-button.buttons-excel i{
    width: 40px;
    height: 40px;
    background: url("../icon/xls.png");
    background-size: 100% 100%;
}
.tableTitle{
    margin-bottom: 10px;
}
.dataTables_length{
    display: inline-block;
}
.dataTables_length label, .dataTables_filter label, .dataTables_ext_filter label{
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}
.dataTables_filter label:has(input:not(:focus)):after{
    font-family: "FontAwesome";
    content: "\f002";
    display: inline-block;
    position: relative;
    right: 45px;
    color: #1946ba;
    background-color: #fff;
    border-radius: 50px;
}
.dataTables_length label select, .dataTables_filter label input, .dataTables_ext_filter label select, .dataTables_ext_filter label input, .dataTables_paginate{
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    min-width: 100px;
    color: #1946ba;
}
.dataTables_ext_filter{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 270px;
    height: 34px;
}
.dataTables_ext_filter label:has(input), .dataTables_ext_filter label input[type="text"]{
    width: 100%;
    border-radius: 5px;
    font-size: 85%
}
.dataTables_ext_filter label input[type="checkbox"]{
    width: 2.25rem;
    height: 2.25rem;
}
.dataTables_ext_filter label .fa{
    color: #000 !important;
    position: relative;
    right: 38px !important;
}
.dataTables_filter{
    display: flex;
    justify-content: flex-end;
}
.dataTables_filter, .dataTables_paginate, .dataTables_ext_filter{
    float: right;
}
.dataTables_ext_filter{
    padding-right: 10px;
}
.input-group:has(input) button, .input-group:has(input) label{
    border-radius: 0px 10px 10px 0px;
}
.input-group input{
    border: none;
    border-radius: 10px 0px 0px 10px;
    box-shadow: 2px 2px 9px -4px #000 inset;
}
.input-group:has(select) label{
    border-radius: 10px 0px 0px 10px;
}
.input-group select, .input-group select:focus{
    border: none;
    border-radius: 0px 10px 10px 0px;
    box-shadow: -2px 2px 9px -4px #000 inset;
}
/* The switch - the box around the slider */
.nav-menu .switch {
    position: relative;
    display: inline-block;
    width: 100% !important;
    height: 40px;
    font-weight: 1000 !important;
    z-index: 1000;
}

/* Hide default HTML checkbox */
.nav-menu .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.nav-menu .switch .knobs{
    z-index: 2;
}
.nav-menu .switch:after, .nav-menu .switch:before{
    position: absolute;
    left: 10%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100%;
    color: #1946ba;
    overflow: hidden;
    white-space: nowrap;
}
.nav-menu .switch:after{
    cursor: pointer;
}
.nav-menu .switch:before{
    display: none;
    color: #FFF;
    z-index: 1;
}
/* The slider */
.nav-menu .switch .knobs:before, .nav-menu .switch .knobs:after,.nav-menu .switch .slider {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFF;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
    border: 1px solid #1946ba;
}
.nav-menu .switch:hover .slider {
    background-color: #c1d0f9 !important;
}
.nav-menu .switch .slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 5px;
    bottom: 4px;
    background-color: #1946ba;
    border-radius: 50%;
}

.nav-menu .switch.checked .slider {
    background-color: #1946ba !important;
}
.nav-menu .switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.nav-menu .switch.checked .slider:before {
    background-color: #FFF;
    right: 5px;
    left: unset;
}
/*.nav-menu .switch:has(input:checked):after {
    display: none;
}
.nav-menu .switch:has(input:checked):before {
    display: inline-flex;
}*/
.nav-menu .switch.checked:after {
    display: none;
}
.nav-menu .switch.checked:before {
    display: inline-flex;
}
.nav-menu .switch#Promotion:before,
.nav-menu .switch#Promotion:after{
    content: "โปรโมชั่น";
}
.nav-menu .switch#FindShop:before,
.nav-menu .switch#FindShop:after{
    content: "ค้นหาร้านค้า";
}
.nav-menu .switch#AboutUs:before,
.nav-menu .switch#AboutUs:after{
    content: "เกี่ยวกับ LeKise";
}
.nav-menu .switch#MyPolicy:before,
.nav-menu .switch#MyPolicy:after{
    content: "นโยบายความเป็นส่วนตัว";
}
.nav-menu .switch#Profile:before,
.nav-menu .switch#Profile:after{
    content: "ข้อมูลส่วนตัว";
}
.nav-menu .switch#History:before,
.nav-menu .switch#History:after{
    content: "ประวัติการซื้อสินค้า";
}
.nav-menu .switch.Management#index:before,
.nav-menu .switch.Management#index:after{
    content: "หน้าแรก";
}
.nav-menu .switch.Management#Member:before,
.nav-menu .switch.Management#Member:after{
    content: "จัดการข้อมูลสมาชิก";
}
.nav-menu .switch.Management#Products:before,
.nav-menu .switch.Management#Products:after{
    content: "จัดการข้อมูลสินค้า";
}
.nav-menu .switch.Management#Orders:before,
.nav-menu .switch.Management#Orders:after{
    content: "จัดการข้อมูลการสั่งซื้อ";
}
.nav-menu .switch.Management#Promotion:before,
.nav-menu .switch.Management#Promotion:after{
    content: "จัดการข้อมูลโปรโมชั่น";
}
.nav-menu .switch.Management#Setting:before,
.nav-menu .switch.Management#Setting:after{
    content: "ตั้งค่าข้อมูล";
}
.nav-menu .switch.Management#ChangePassword:before,
.nav-menu .switch.Management#ChangePassword:after{
    content: "เปลี่ยนรหัสผ่าน";
}
button#Logout{
    display: inline-flex;
    justify-content: center;
    height: 40px;
    max-width: 100% !important;
    border-radius: 50px !important;
    box-shadow: none !important;
}
.fa-logout{
    background: url("../icon/Log Out.png") no-repeat;
    background-size: 100% 100%;
    display: block;
    width: 25px;
    height: 25px;
}
.fa-link{
    transform: rotate(90deg);
    font-size:25px;
    cursor: pointer;
}
.CustomerScoreBG{
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -15px;
    margin-left: auto;
    margin-right: auto;
}
.CustomerScoreCard{
    max-width: 600px;
    height: 100%;
    border-radius: 30px;
    display: flex;
    color: #FFF;
    background-color: #1946ba;
    padding: 20px;
    box-shadow: 15px 15px 10px 1px inset rgba(255, 255, 255, 0.6), -15px -15px 10px 1px inset rgba(0, 0, 0, 0.3);
}
.CustomerScoreID{
    width: 45%;
    height: 80%;
    font-size: clamp(16px, 1.6vw, 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 2px solid #FFF;
    margin: 10px 0px;
}
.CustomerScoreValue{
    width: 55%;
    height: 100%;
    font-size: clamp(10px, 1.8vw, 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    /* padding-left: 20px; */
}
.CustomerScoreValue .ScoreValue{
    font-size: clamp(18px, 2.8vw, 35px);
    font-weight: bolder;
}
.CustomerScoreValue .ScoreValue:before{
    font-family: "FontAwesome";
    content: "\f005";
    position: relative;
    top: -5px;
    padding: 5px;
    margin-right: 10px;
    border-radius: 50px;
    background-color: #FFF;
    color: #1946ba;
    font-size: clamp(6px, 1vw, 15px);
}
.CustomerScoreValue .ScoreValue:after{
    content: "คะแนน";
    display: inline-block;
    font-size: clamp(8px, 1vw, 15px);
    margin-left: 10px;
}
.CustomerScoreValue .ScoreUpdate{
    color: rgba(255, 255, 255, 0.7);
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px !important;
}
.form-group label {
    order: 1;
}
.form-group input,
.form-group select,
.form-group textarea {
    order: 2;
}
.form-group span.select2 {
    order: 2;
}
.form-group input:required+label::after,
.form-group select:required+label::after,
.form-group select:required+span+label::after,
.form-group textarea:required+label::after,
table thead tr th.required::after{
    content: " *";
    color: #e32;
    font-weight: bolder;
    position: absolute;
    font-size: 20px;
    margin-left: 5px;
}
.form-file-group input{
    display: none;
    position: absolute;
    left: -50px;
    top: -50px;
}
.form-file-group .form-file-control{
    cursor: pointer;
    border-radius: 7px;
    box-shadow: 2px 2px 5px -3px #000 inset;
}
.form-file-group .form-file-control:hover{
    /*border: 1px solid #1946ba;*/
}
.form-file-group .form-file-control:before{
    content: attr(title);
    color: rgba(0,0,0,0.5);
    display: inline-block;
    margin-top: auto;
    margin-bottom: auto;
}
.uploadForm .row{
    margin-bottom: 15px;
}
.subject{
    color: #1946ba;
    font-size: 20px;
    font-weight: bolder;
}
#promotionModal{
    overflow: auto;
}
#promotionModal .modal-dialog{
    align-items: normal !important;
    min-width: 1072px !important;
}
#promotionModal .modal-body{
    overflow: auto;
}
#promotionModal .btn-promotion-name{
    height: 50px;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    cursor: pointer;
}
#promotionModal .btn-promotion-name.active{
    background-color: rgba(25,70,186,0.1);
}
#promotionModal .btn-promotion-name input[type='checkbox']{
    margin-right: 10px;
}
#promotionModal .show-promotion-detail, #promotionModal .show-promotion-img, .PromotionSelected{
    display: none;
}
#promotionModal .show-promotion-detail.active, #promotionModal .show-promotion-img.active{
    display: block !important;
}
.PromotionSelectList{
    display: flex;
    flex-direction: column;
    grid-gap: 10px;
    border: 2px solid #1946ba;
    border-radius: 20px;
    padding: 20px;
}
.PromotionSelectList:before{
    content: "สินค้าโปรโมชั่นที่ได้รับ";
    display: inline-block;
    position: absolute;
    top: -15px;
    left: 15px;
    background-color: #FFF;
    padding: 0 10px;
    /* border: 1px solid; */
    /* border: 2px solid #1946ba; */
    /* border-radius: 20px; */
    color: #1946ba;
}
.PromotionSelected.active{
    display: flex;
}
#promotionModal .show-promotion-detail{
    background-color: rgba(25,70,186,0.1);
    padding: 20px;
    min-height: 50px;
    border-top: 1px solid rgba(0,0,0,0.2);
    border-right: 1px solid rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(0,0,0,0.2);
}
#promotionModal .show-promotion-detail .row{
    margin-bottom: 10px;
}
#promotionModal .show-promotion-detail img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
#promotionModal .show-promotion-img img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
/* Products-style Excel icon; preserve the existing table layout. */
.dt-button.rewards-export { width:40px !important; height:40px !important; padding:0 !important; border:0; box-shadow:none; background:transparent !important; }
.rewards-export .reward-excel-icon { display:block; width:40px; height:40px; background:url('../icon/xls.png') center/contain no-repeat; }
.rewards-export.disabled, .rewards-export:disabled { opacity:.4; }
.rewards-export:focus-visible { outline:2px solid #1946ba; outline-offset:3px; }
