@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import "./formatsb.css";

body {
    font-size: .875rem;
    margin: 0px;
    padding: 0px;
    background-color: #FFFFFF !important;
    /* background-color: #E5E5E5 !important; */
    font-family: Kanit !important;
}


body#landingpage {
    background-color: #ffffff !important;
}

.f-sarabun {
    font-family: 'Sarabun', sans-serif;
}

a {
    color: #2541B2;
}

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.bg-promote-dropdown {
    background-color: #EFEFEF;
}

.f-dark {
    color: #424242;
}

.svg-camera-profile {
    content: url('../svg/camera-profile.svg');
}

.svg-more-in-table {
    content: url('../svg/more-in-table.svg');
}

i.svg-more-in-table {
    cursor: pointer;
}

.svg-paper {
    content: url('../svg/paper.svg');
}

.svg-prize {
    content: url('../svg/ribbon.svg');
}



.bt-x-modal {
    border: 0;
    background: transparent;
}

.bt-x-modal img {
    width: 25px;
}

/* select2 */
.select2 {
    width: 100% !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px !important;
    font-size: 16px;
}

.select2-container .select2-selection--single {
    height: calc(1.5em + 0.75rem + 7.5px) !important;
    padding: .19rem .75rem;
    border: 1px solid #C4C4C4 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    content: "";
    width: 13px !important;
    height: 13px !important;
    border-color: #03256C #03256C transparent transparent !important;
    border-style: solid !important;
    border-width: 2px 2px 0 0 !important;
    transform: rotate(135deg) !important;
    margin-left: -15px !important;
    margin-top: -5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: #03256C #03256C transparent transparent !important;
    border-width: 2px 2px 0 0 !important;
    transform: rotate(-45deg) !important;
    margin-top: 5px !important;

}

#pills-tab img {
    width: 30px;
    border-radius: 50%;
    border: 1px solid #9FA1AA;
    background-color: #FFFFFF;
}

#paneltableall {
    font-size: 18px;
}

#paneltableall th {
    color: #717171;
}

#paneltableall td {
    color: #495057;
}

#paneltableall tbody tr:last-child th {
    color: #ffffff !important;
}

.border-dashed {
    border-style: dashed;
}

.box {
    padding: 40px;
    min-height: max-content;
}

.table-sb {
    width: 100%;
}

.table-sb td {
    padding: 20px;
}

.table-sb td img {
    width: min-content;
    max-height: 277px;
}

.box-small {
    background: #F6F6F6;
    border: 1px solid #D5D5D5;
    box-sizing: border-box;
    border-radius: 10px;

}

.box-width-chart-doughnut {
    width: 85%;
    margin: auto;
}

.box-center-chart {
    /* width: 100%; 
    height: 40px; 
    position: absolute; 
    top: 50%; 
    left: 0;  
    line-height:19px; 
    text-align: center; 
    z-index: 9999999;
    font-size: 1.44rem; */

    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    font-weight: normal;
    /* font-size: 28px; */
    bottom: 0;
    margin: auto;
    display: inline-table;
    right: 0;
    /* color: #2541B2; */
    background: #eeecec;
    padding: 15px;
    border-radius: 8px;
    min-width: 120px;
}

.box-center-chart .txt-title-box-center-chart {
    font-weight: normal;
    font-size: 16px;
    line-height: 22px;
    color: #424242;
}

.box-center-chart .txt-result-box-center-chart {
    font-weight: normal;
    font-size: 28px;
    line-height: 42px;
    color: #2541B2;
}

.box-center-chart .txt-result-box-center-chart span {
    font-size: 18px;
}

.box-center-chart.size-small .txt-title-box-center-chart {
    font-size: 13px;
    line-height: 13px;
}

.box-center-chart.size-small .txt-result-box-center-chart {
    font-size: 18px;
    line-height: 27px;
}

.box-center-chart.size-small .txt-result-box-center-chart span {
    font-size: 14px;
}

@media (max-width: 1500px) {
    .box-width-chart-doughnut {
        width: 95%;
    }
}

@media (max-width: 991px) {
    .box-width-chart-doughnut {
        width: 65%;
    }

    .bt-x-modal img {
        width: 20px;
    }
}

@media (max-width: 767px) {
    .box-width-chart-doughnut {
        width: 80%;
    }

    /* .circle-scale01{
        margin-bottom: 20px;
    }
    .circle-scale02{
        margin-bottom: 20px;
    } */
}

@media (max-width: 575px) {
    .box-width-chart-doughnut {
        width: 100%;
    }

    .box-center-chart {
        padding: 8px;
    }

    .box-center-chart .txt-title-box-center-chart {
        font-size: 14px;
        line-height: 22px;
    }

    .box-center-chart .txt-result-box-center-chart {
        font-size: 20px;
        line-height: 32px;
    }

    .box-center-chart .txt-result-box-center-chart span {
        font-size: 12px;
    }
}

@media (max-width: 424px) {
    .box-center-chart {
        padding: 8px 8px 3px;
        min-width: 100px;
    }

    .box-center-chart.size-small .txt-title-box-center-chart {
        font-size: 10px;
        line-height: 10px;
    }

    .box-center-chart.size-small .txt-result-box-center-chart {
        font-size: 14px;
    }

    .box-center-chart.size-small .txt-result-box-center-chart span {
        font-size: 10px;
    }
}

.menu-list {
    padding: 15px;
}

#menu-content li {
    padding-left: 22px !important;
}

#menu-content i {
    margin-right: 10px !important;
}

#menu-content .sidebar-heading {
    margin-bottom: 15px !important;
}

/* BUTTON */

.btn-anc-cancel {
    border: 1px solid #2541B2;
}

.btn-anc {
    padding: 7px 40px;
}

.btn-anc-default {
    padding: 7px 40px;
    border: 1px solid #ed3c53;
}

.btn-copy {
    width: 100%;
    max-width: 195px;
    border-radius: 8px;
    margin-top: -22px;
}

.btn-circle {
    width: 30px;
    height: 30px;
    border-radius: 15px;
    text-align: center;
    line-height: 1.42857;
}

.btn-link {
    font-weight: 400;
    color: #2541B2;
    text-decoration: none;
}

.input-calendar {
    display: inline-block;
    position: relative;
    width: inherit;
}

.input-calendar:after {
    font-family: 'FontAwesome';
    content: "\f073";
    position: absolute;
    right: 25px;
    top: 10px;
    color: #2541B2;
}

.input-search {
    display: inline-block;
    position: relative
}

.input-search:after {
    font-family: 'FontAwesome';
    content: "\f002";
    position: absolute;
    right: 15px;
    top: 10px;
    color: #2541B2;
    font-size: 14px;
}

.nav-pills .nav-link,
.nav-pills .show>.nav-link {
    background: #F6F6F6;
    border: 1px solid #D5D5D5;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.nav-pills .nav-link img,
.nav-pills .show>.nav-link img {
    margin-right: 8px;
}

.nav-pills .nav-link span.float-right,
.nav-pills .show>.nav-link span.float-right {
    width: 20px;
    height: 20px;
    background-color: #ED3C53;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-top: -20px;
    font-size: 11px;
    color: #ffffff;
}


.nav-pills li a {
    color: #2541B2;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #2541B2;
    border: 1px solid #ccc;
    border-radius: 10px;
}

ul.sub-menu.show li.active {
    background: none !important;
    color: #2541B2 !important;
}

h6.sidebar-heading {
    cursor: default !important;
}

.btn-anc-promote:hover {
    background: #2541B2;
    border: 1px solid #D5D5D5;
    box-sizing: border-box;
    color: #ffffff;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Kanit;
}

.text-blue {
    color: #2541B2 !important;
}

.text-gray {
    color: #959595 !important;
}

.text-gray-head-table {
    color: #9FA1AA !important;
}

.text-red {
    color: #ed3c53 !important;
}

.text-success {
    color: #25B255 !important;
}

.rounded-5 {
    border-radius: 10px;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    /* Behind the navbar */
    padding: 48px 0 0;
    /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

input.copylink {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

button.copylink {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}




.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    height: 45px;
    font-size: 17px;
    text-transform: uppercase;
    border-bottom: 1px solid #424242;
    font-weight: 400;
    color: #424242 !important;
}


/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-outline-blue {
    background-color: #ffffff !important;
    border: 1px solid #2541B2;
}

.bg-light {
    background-color: #E5E5E5 !important;
}

.bg-blue {
    background-color: #2541B2 !important;
}

.bg-blue-01 {
    background-color: RGBA(37, 65, 178, 0.1) !important;
}

.bg-blue-005 {
    background-color: RGBA(37, 65, 178, 0.05) !important;
}

.bg-gray {
    background-color: #F2F5F6 !important;
}

.bg-gray-light {
    background-color: #fafafa !important;
}

.bg-red {
    background-color: #ed3c53 !important;
}

.border-anc {
    border: 1px solid #a5a5a5 !important;
}

.custom-row-menu {
    flex-wrap: nowrap;
}

.nav-side-menu {
    font-family: Kanit;
    font-size: 12px;
    font-weight: 200;
    padding: 0 15px;
    height: 100vh;
    min-width: 340px;
}

.nav-side-by-side {
    overflow: auto;
    /* height: calc(100vh - 140px); */
}

.nav-side-menu .brand {
    line-height: 50px;
    display: block;
    text-align: center;
    font-size: 14px;
    margin: 60px 0 25px;
}

.nav-side-menu .toggle-btn {
    display: none;
}

.nav-side-menu ul,
.nav-side-menu li {
    list-style: none;
    padding: 0px;
    margin: 0px;
    line-height: 40px;
    cursor: pointer;
    /*    
    .collapsed{
       .arrow:before{
                 font-family: FontAwesome;
                 content: "\f053";
                 display: inline-block;
                 padding-left:10px;
                 padding-right: 10px;
                 vertical-align: middle;
                 float:right;
            }
     }
*/
}

.nav-side-menu ul :not(collapsed) .arrow:before,
.nav-side-menu li :not(collapsed) .arrow:before {
    font-family: FontAwesome;
    content: "\f078";
    /* display: inline-block; */
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    float: right;
}

.nav-side-menu ul .active,
.nav-side-menu li .active {
    background-color: #2541B2;
}

.nav-side-menu ul .sub-menu li,
.nav-side-menu li .sub-menu li {
    list-style: none;
    line-height: 35px;
    margin-left: 25px;
    margin-right: 10px;
    color: #424242;
    padding: 5px 0 5px 45px;
    font-size: 16px;
    font-weight: 400;
}

.nav-side-menu ul .sub-menu li:hover,
.nav-side-menu li .sub-menu li:hover {
    color: #ffffff;
    font-size: 16px;
}

.nav-side-menu ul .sub-menu li:before,
.nav-side-menu li .sub-menu li:before {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
}

.sub-menu {
    margin-left: 20px !important;
}

.nav-side-menu li {
    padding: 5px;
    /* border: 1px solid #23282e; */
    border-radius: 10px;
}

.menu-list ul li {
    text-decoration: none;
    color: #424242;
    margin: 4px 0px;
    font-weight: 400;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-list li.active,
.menu-list li:hover {
    text-decoration: none;
    color: #ffffff !important;
    background-color: #2541B2;
}

.menu-list li.active i,
.menu-list li:hover i {
    filter: brightness(100);
}

.nav-side-menu li i {
    padding-left: 10px;
    width: 20px;
    padding-right: 20px;
}

.nav-side-menu li:hover {
    background-color: #2541B2;
}

.panel-body.custom-panel-padding {
    padding: 30px;
}

@media (max-width: 992px) {
    .custom-row-menu {
        flex-direction: column;
    }

    .nav-side-by-side {
        height: auto;
    }

    .nav-side-menu {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0 20px;
        min-width: auto;
    }

    .nav-side-menu .toggle-btn {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 33.5px;
        z-index: 10 !important;
        padding: 3px;
        color: #2541B2;
        width: 40px;
        text-align: center;
    }

    .nav-side-menu .brand {
        text-align: left !important;
        margin: 30px 0 0;
    }

    #imglogo {
        width: 50px;
    }

    .headlogo h4 {
        font-size: 18px !important;
    }

    .panel-body.custom-panel-padding {
        padding: 20px 15px;
    }
}

@media (min-width: 992px) {
    .nav-side-menu .menu-list .menu-content {
        display: block !important;
    }
}

.icons {
    display: inline-block;
    width: 25px;
    height: 30px;
    background-size: cover;
    vertical-align: middle;
}

.br-15 {
    border-radius: 15px !important;
}


.br-10 {
    border-radius: 10px !important;
}

.br-8 {
    border-radius: 8px !important;
}

.icon-topic {
    background-image: url(../images/svg/topic.svg);
}

.icon-report-all {
    background-image: url(../images/svg/reportall.svg);
}

.icon-user {
    background-image: url(../svg/user.svg);
}

.icon-report-all-sale {
    background-image: url(../images/svg/reportallsale.svg);
}

.icon-report-all-ads {
    background-image: url(../images/svg/report-ads.svg);
}

.icon-report-twi {
    background-image: url(../images/svg/report-twi50.svg);
}

.icon-contact {
    background-image: url(../images/svg/contact.svg);
}

.icon-terms {
    background-image: url(../images/svg/terms.svg);
}

.icon-accesstrade {
    background-image: url(../images/svg/accesstrade.svg);
}

.icons-excel {
    content: url(../images/svg/export-excel.svg);
}

.icons-commission-team {
    background-image: url(../images/svg/commission-team.svg);
}

.icons-member-team {
    background-image: url(../images/svg/member-team.svg);
}

.icons-link-team {
    background-image: url(../images/svg/link-team.svg);
}

.icon-campaigns{
    background-image: url(../images/svg/campaigns.svg);
}

footer {
    font-weight: 400;
    padding: 30px;
    font-size: 18px;
    line-height: 27px;
    color: #9FA1AA;
}

.f-10 {
    font-size: 10px;
}

.f-15 {
    font-size: 15px !important;
}

.f-16 {
    font-size: 16px !important;
}

.f-18 {
    font-size: 18px !important;
}

.f-20 {
    font-size: 20px !important;
}

.f-32 {
    font-size: 32px !important;
}

.f-16-rem {
    font-size: 1.6rem !important;
}

/* .item .box-text {
    padding: 10px 30px 15px 20px;
} */

/* .box-text div.price:first-child {
    font-size: 6vh;
}

.box-text div.price {
    font-size: 4vh;
} */

.box.border-radius {
    border-radius: 10px !important;
}

.boxs.border-radius {
    border-radius: 10px !important;
}

.loader {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background-color: #eceaea;
    background-image: url('ajax-loader.gif');
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10000000;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.icon-gift-card {
    background-image: url(../svg/gift-card.svg);
}


@media (max-width: 991px) {
    .owl-carousel button.owl-next {
        display: none !important;
    }

    .owl-carousel button.owl-prev {
        display: none !important;
    }


    .txtspace {
        font-size: 13px;
        letter-spacing: -1px;
    }

    .txtspace2 {
        font-size: 12px;
        letter-spacing: -1px;
    }

}

@media (min-width: 992px) {
    .box-iconslide {
        display: none !important;
    }

}

.box-iconslide img {
    width: 20px;
}

.box-iconslide span {
    margin: 0 0 0 -3px;
}

.box-iconslide {
    text-align: right;
    font-size: 12px;
    color: #1231B2;
    margin: 10px 0px;
}

.owl-carousel button.owl-prev span {
    position: absolute;
    top: -12px;
    left: 7px;
}

.owl-carousel button.owl-next span {
    position: absolute;
    top: -12px;
    left: 7px;
}

.owl-carousel.imgpromote .owl-item img {
    width: 100% !important;
}

.owl-carousel .owl-item img {
    display: inherit !important;
    width: 30px !important;
}

.owl-carousel button.owl-dot {
    border-radius: 10px;
    background: #c3c3c3 !important;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    width: 10px;
    height: 10px;
    margin: 0px 3px;
}

.owl-carousel button.owl-dot.active {
    background: #2541B2 !important;
}

.owl-carousel .owl-dots {
    text-align: center;
}

.box-title strong {
    font-size: 16px !important;
}

.box-br {
    border: 2px solid #e9e9e9;
}

/* .border-radius-card {
    border-radius: 0px 0px 7px 7px !important;
    padding: 10px;
} */

.swal-footer {
    text-align: center;
    padding-top: 13px;
    margin-top: 13px;
    padding: 13px 16px;
    border-radius: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#ancSpinner {
    display: none;
    position: fixed;
    top: -60px;
    left: -4px;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75) url(../images/spinner.gif) no-repeat center center;
    background-size: 150px;
    z-index: 10000;
}

#ancSpinner.ins-loading {
    background: rgba(255, 255, 255, 0.7) url(../images/ins-spinner.gif) no-repeat center center;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 0px;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-content {
    border-radius: 10px !important;
    border: 1px transparent !important;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: center;
    padding: 1rem 1rem 3rem 1rem;
    border-top: 0px;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-header .close {
    padding: 0em;
    margin: -1.5rem 0rem;
}

.close {
    float: right;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    color: #424242;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.close {
    color: #424242;
    text-decoration: none;
}

/* custom by tar*/
h1.txt-headReport,
.h1.txt-headReport {
    font-weight: normal;
    font-size: 45px;
    line-height: 67px;
    margin-bottom: 0;
}

h1.txt-titleReport,
.h1.txt-titleReport {
    font-weight: normal;
    font-size: 30px;
    line-height: 45px;
    margin-bottom: 12px;
}

.txt-id p {
    font-weight: normal;
    font-size: 17px;
}

div.txt-st-and-ed-date {
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
}

.customReport.input-calendar:after {
    font-family: 'FontAwesome';
    content: "\f073";
    position: absolute;
    right: 15px;
    top: 7.5px;
    color: #495057;
    font-size: 20px;
    bottom: 0;
    cursor: pointer;
}

.customReport .form-control {
    padding: 10px 15px;
    height: auto;
}

.btn-search.customReport,
.btn-search-landingpage.customReport {
    padding: 8.5px 15px !important;
    margin: 0;
    border-radius: 5px;
    font-weight: normal;
    font-size: 18px;
}

.box.box-st-and-ed-date {
    padding: 30px 25px;
}

.owl-carousel button.owl-next {
    right: -12px;
    top: -21px;
    bottom: 0;
    position: absolute;
    margin-left: 0;
    border: 0px;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    background-color: #1231B2;
    color: #ffffff;
    font-size: 30px;
    padding-top: 0;
    padding-left: 0;
    margin: auto;
}

.owl-carousel button.owl-prev {
    left: -12px;
    top: -21px;
    bottom: 0;
    position: absolute;
    margin-left: 0;
    border: 0px;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    background-color: #1231B2;
    color: #ffffff;
    font-size: 30px;
    padding-top: 0;
    padding-left: 0;
    margin: auto;
}

.box-text div.price.text-blue {
    font-size: 30px;
}

.box-text div.price.text-blue span.txt-sub {
    font-size: 17px;
    margin-left: 5px;
}

.box-text div.price {
    font-size: 23px;
}

.box-text div.price span.txt-sub {
    font-size: 17px;
    margin-left: 5px;
}

.box-text div.price.text-blue,
.box-text div.price {
    line-height: 28px;
}

.box-text div.headprice {
    font-weight: normal;
    font-size: 15px;
    line-height: 22px;
    color: #9FA1AA
}

.item .box-text {
    padding: 15px 20px
}

.border-radius-card {
    border-radius: 0px 0px 10px 10px !important;
    padding: 7px 15px;
}

.boxs.customReport {
    background: #F6F6F6;
    border: 1px solid #D5D5D5;
}

.box.box-total-sales {
    padding: 22px 15px 28px;
    height: calc(100% - 21px);
}

.box.box-total-sales div h2,
.box.box-total-sales div h5,
.box.box-total-sales div h6 {
    font-weight: normal;
}

.box.box-total-sales div h6 {
    font-size: 15px;
}

div.box-commisssum {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 12px;
}

div.box-commisssum h2 {
    font-size: 30px;
}

div.box-commisssum h6 {
    margin-left: 5px;
    padding-bottom: 4px;
}

.txt-bottom-cardType {
    margin-right: 5px;
    font-size: 15px;
}

.padding-box-txtall {
    padding: 0;
}

.box-resultsum-and-countsum {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.box-resultsum-and-countsum h5 {
    margin-right: 2px;
}

.border-between-all-and-type {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #C4C4C4;

}

.btn-footerReport {
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    font-size: 18px;
}

.box-txt-footerReport {
    width: 100%;
    max-width: 384px;
    text-align: left;
    font-size: 16px;
}

/* table */
#anc-ads tbody tr:nth-child(even) {
    background: #e9ecf7;
}

#anc-ads tbody tr:nth-child(odd) {
    background: #f4f6fb;
}

#anc-ads tfoot tr {
    background: #2541b2;
    color: white;
}

#paneltableall th,
#paneltableall td {
    padding: 15px 10px;
    text-align: center !important;
}

#paneltableall th {
    font-weight: normal;
    font-size: 18px;
    line-height: 25px;
    border-top: 0;
}

#paneltableall td {
    font-weight: normal;
    font-size: 17px;
    line-height: 25px;
}

#paneltableall .table-striped tbody tr:nth-of-type(odd) {
    background-color: #F6F6F6;
}

#paneltableall tbody tr th {
    font-weight: normal;
    font-size: 16px;
    line-height: 25px;
}

@media (max-width: 1200px) {
    .box-resultsum-and-countsum {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .box-resultsum-and-countsum h5 {
        margin-right: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {

    h1.txt-headReport,
    .h1.txt-headReport {
        font-size: 40px;
        line-height: 58px;
    }

    .txt-id p {
        font-size: 14px;
    }

    .btn-search.customReport,
    .btn-search-landingpage.customReport {
        margin-top: 15px;
    }

    .box.box-st-and-ed-date {
        padding: 20px 25px;
    }

    .owl-carousel.customReport .owl-dots {
        display: none;
    }

    .box.box-total-sales {
        margin-top: 12px;
    }

    .padding-box-txtall {
        padding: 0 15px;
    }

    .box-resultsum-and-countsum {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
    }

    .box-resultsum-and-countsum h5 {
        margin-right: 2px;
        margin-bottom: 0.5rem;
    }

    .border-between-all-and-type {
        margin-top: 33px;
        padding-top: 20px;
    }

    .box-txt-footerReport {
        width: 100%;
        max-width: 384px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
    }

    .responsive-tableReport {
        overflow: auto;
        position: relative;
    }

    #paneltableall th {
        min-width: 180px;
    }

    .responsive-tableReport::-webkit-scrollbar {
        height: 0px;
    }

    /* Track */
    .responsive-tableReport::-webkit-scrollbar-track {
        background: #ffffff;
    }

    /* Handle */
    .responsive-tableReport::-webkit-scrollbar-thumb {
        background: #ffffff;
    }

    /* Handle on hover */
    .responsive-tableReport::-webkit-scrollbar-thumb:hover {
        background: #ffffff;
    }

}

@media (max-width: 767px) {

    h1.txt-headReport,
    .h1.txt-headReport {
        font-size: 38px;
        line-height: 52px;
    }

    .txt-id p {
        font-size: 16px;
        line-height: 24px;
    }

    div.txt-st-and-ed-date {
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
    }

    h1.txt-titleReport,
    .h1.txt-titleReport {
        font-size: 25px !important;
    }

    .nav-pills .nav-link,
    .nav-pills .show>.nav-link {
        padding: 10px;
        font-size: 14px;
    }

}


@media (max-width: 575px) {

    h1.txt-headReport,
    .h1.txt-headReport {
        font-size: 32px;
        line-height: 48px;
    }

    .customReport .form-control {
        font-size: 15px;
    }

    .customReport.input-calendar:after {
        font-size: 18px;
        top: 9.5px;
    }

    .btn-search.customReport,
    .btn-search-landingpage.customReport {
        font-size: 16px;
    }

    .box.box-st-and-ed-date {
        padding: 20px 0;
    }

    .txt-bottom-cardType {
        font-size: 13px;
        line-height: 15px;
        text-align: left;
    }

    .box-text div.price.text-blue {
        font-size: 25px;
    }

    .box-text div.price {
        font-size: 19px;
    }

    .box-text div.price.text-blue span.txt-sub {
        font-size: 14px;
    }

    .box-text div.price span.txt-sub {
        font-size: 12px;
    }

    .box.box-total-sales {
        padding: 11px 15px 30px;
    }

    .box.box-total-sales div h6 {
        font-size: 13px;
    }

    .box.box-total-sales div h5 {
        font-size: 17px;
    }

    div.box-commisssum {
        margin-bottom: 6px;
    }

    div.box-commisssum h2 {
        font-size: 26px;
    }

    #paneltableall th {
        padding: 11px 4px;
        font-size: 15px;
        /* width: 20%; */
    }

    #paneltableall td {
        padding: 7px 4px;
        font-size: 13px;
        line-height: 18px;
    }

    #paneltableall tbody tr th {
        font-size: 15px;
    }

    .btn-footerReport {
        padding: 10px 5px;
        font-size: 16px;
    }

    .item .box-text {
        padding: 15px 10px
    }
}

@media (max-width: 374px) {
    .btn-footerReport {
        font-size: 13px;
    }
}


/* custom by tar start 18/02/2022 */
.height-for-login {
    height: 800px;
}

.p-box-sb-R {
    padding: 0 24px;
    width: calc(100% - 340px);
}

.txt-title-box-sb-R {
    font-weight: normal;
    font-size: 40px;
    line-height: 60px;
}

a.txt-reset-part-loging {
    font-size: 16px;
    line-height: 24px;
    text-align: right;
    text-decoration-line: underline;
    color: #373737;
}

.btn-login-and-reset {
    padding: 12px;
}

.height-for-input {
    height: calc(1.5em + 0.75rem + 14px);
}

i.showPassword {
    cursor: pointer;
    font-size: 30px;
    color: #2541B2;
    position: absolute;
    right: 30px;
    top: 29.5px;
}

.w-form-login {
    width: 100%;
    max-width: 610px;
    padding: 40px 105px 50px;
    margin: auto;
    border: 1px solid #C4C4C4;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}

.img-size-icon-reset {
    width: 150px;
}

.txt-normal-login-and-reset {
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
}

.txt-title-login-and-reset {
    font-weight: normal;
    font-size: 20px;
    line-height: 27px;
}

.btn-main-sb-R {
    padding: 12.5px;
    border-radius: 10px;
}

.box-user {
    padding: 25px 30px;
    margin: 30px 0 0;
    align-items: center;
}

.txt-head-name-agent {
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
}

.img-head-edit-and-logout {
    width: 40px;
    margin: 0 5px;
}

.txt-title-page-sb-R {
    font-weight: normal;
    font-size: 35px;
    line-height: 52px;
    margin-bottom: 0;
}

.txt-sub-title-page-sb-R {
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
}

.txt-link-page-sb-R {
    font-weight: normal;
    font-size: 17px;
    line-height: 25px;
    color: #424242;
}

.btn-copy-sb-R {
    width: 100%;
    max-width: 204px;
}

.txt-title-normal-sb-R {
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
    color: #424242;
}

.txt-sub-title-normal-sb-R {
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
    color: #424242;
}

.img-promote-download {
    height: 277px;
    width: 100%;
    max-width: 347px;
    border-radius: 5px;
}

.card-pomote-respon {
    background: #F6F6F6;
    padding: 30px 5px;
}

.resize-none {
    resize: none;
}

.btn.mw-250 {
    width: 100%;
    max-width: 250px;
}

.txt-sub-title-dashboard-sb-R {
    font-weight: normal;
    font-size: 25px;
    line-height: 37px;
}

.btn.btn-detail-screen {
    color: #2541B2;
}

.btn.size-bt-modal-search {
    padding: 12px 10px;
    width: 100%;
    max-width: 250px;
}

.btn.btn-excel {
    border: 2px solid #ED3C53;
    border-radius: 5px;
    background: #FFFFFF;
    font-weight: 400;
    font-size: 18px;
    color: #ED3C53;
    width: 100%;
    max-width: 250px;
}

.absolute-btn-excel {
    position: absolute;
    right: 0;
    z-index: 1;
}

.btn.btn-for-logout {
    padding: 12px 10px;
    width: 100%;
    max-width: 180px;
}

.absolute-for-icon-search {
    position: absolute;
    right: 15px;
    font-size: 25px;
    top: 8px;
    color: #2541B2;
    cursor: pointer;
}

.bt-search-mobile {
    border: 0;
    background-color: transparent;
    margin-left: 20px;
}

.bt-search-mobile .box-icon-search {
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2541B2;
}

.bt-search-mobile[aria-expanded="true"] .box-icon-search {
    display: none;
}

.bt-search-mobile .box-icon-close {
    display: none;
}

.bt-search-mobile[aria-expanded="true"] .box-icon-close {
    display: block;
    width: 30px;
    filter: grayscale(100%);
}

.btn.btn-line-buddy {
    width: 100%;
    max-width: 210px;
    background: #00C300;
    border-radius: 8px;
    color: #FFFFFF;
}

#profile_picture {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #F6F6F6;
}

.box-camera-profile {
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    right: -1px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .p-box-sb-R {
        padding: 0 20px;
        width: 100%;
    }

    .box-user {
        padding: 25px 20px;
        margin: 20px 0 0;
    }

    .btn.btn-detail-screen {
        margin-top: 30px;
    }

    .btn.size-bt-modal-search {
        max-width: 100%;
    }

    .card-pomote-respon {
        background: #F6F6F6;
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .btn.btn-detail-screen {
        margin-top: 20px;
        margin-bottom: 10px;
        width: 100%;
        padding: 11.5px 10px;
    }
}

@media (max-width: 575px) {
    .height-for-login {
        height: auto;
    }

    .btn-login-and-reset {
        padding: 9.5px;
    }

    .btn-main-sb-R {
        padding: 9.5px;
    }

    .height-for-input {
        height: calc(1.5em + 0.75rem + 9px);
    }

    i.showPassword {
        top: 26.5px;
    }

    .w-form-login {
        padding: 20px 30px 40px;
    }

    .img-size-icon-reset {
        width: 100px;
    }

    .txt-normal-login-and-reset {
        font-size: 16px;
        line-height: 24px;
    }

    .txt-title-box-sb-R {
        font-size: 25px;
        line-height: 32px;
    }

    .box-user {
        padding: 15px;
    }

    .txt-head-name-agent {
        font-size: 15px;
        line-height: 22px;
    }

    .img-head-edit-and-logout {
        width: 30px;
    }

    .txt-sub-title-page-sb-R {
        font-size: 18px;
        line-height: 27px;
    }

    .btn-copy-sb-R {
        max-width: 98px;
    }

    .txt-title-normal-sb-R {
        font-size: 17px;
        line-height: 25px;
    }

    .txt-sub-title-normal-sb-R {
        font-size: 17px;
        line-height: 25px;
    }

    .btn.mw-sm-full {
        max-width: 100%;
    }

    .txt-sub-title-dashboard-sb-R {
        font-size: 22px;
        line-height: 33px
    }

    .btn.btn-excel {
        font-size: 16px;
        max-width: 130px;
    }

    .btn.btn-excel .icons-excel {
        display: none;
    }

    .img-icon-modal {
        width: 148px;
    }

    .btn.btn-for-logout {
        max-width: 165px;
    }

    .txt-title-page-sb-R {
        font-size: 26px !important;
        line-height: 39px;
    }

    .btn.btn-line-buddy {
        max-width: 100%;
        padding: 8px 5px;
    }

    .btn.btn-line-buddy img {
        width: 25px;
        vertical-align: text-top;
    }

    #profile_picture {
        width: 100px;
        height: 100px;
        border: 2px solid #F6F6F6;
    }

    .box-camera-profile i.svg-camera-profile {
        width: 30px;
    }
}

@media (max-width: 424px) {
    .box-user {
        flex-direction: column;
        align-items: flex-start;
    }

    img.img-head-edit-and-logout.ml-0 {
        margin-left: 58px !important;
        margin-top: 5px;
    }

    img.img-head-edit-and-logout.mr-0 {
        margin-top: 5px;
    }
}

@media (max-width: 374px) {
    .btn.btn-excel {
        max-width: 100%;
        margin-bottom: 8px;
    }

    .absolute-btn-excel {
        position: static;
    }

    .btn.btn-for-logout {
        max-width: 100%;
    }
}

/* custom select Pure*/
.custom-select-pure {
    width: 100%;
    border: 1px solid #C4C4C4;
    border-radius: 5px;
    appearance: none;
    font-size: 17px;
    padding: 0.25em 15px;
    cursor: pointer;
    line-height: 1.1;
    background: url(./../images/arrow-down.png) white no-repeat 98.5% !important;
    background-position: 98% 50% !important;
    height: calc(1.5em + 0.75rem + 7.5px);
}

.custom-form-control {
    padding: 0.25em 15px;
    height: calc(1.5em + 0.75rem + 7.5px);
}

/* end custom select Pure*/

/* custom btn-dropdown  */
.btn-dropdown-type-ins {
    padding: 10px 25px;
    font-weight: normal;
    font-size: 25px;
    line-height: 37px;
    color: #2541B2;
}

.btn-dropdown-type-ins:hover {
    color: #2541B2;
}

.btn-dropdown-type-ins img.icon-ins {
    width: 50px;
    border: 1px solid;
    border-radius: 50%;
}

.arrow-down {
    transform: rotate(180deg);
}

.btn-dropdown-type-ins[aria-expanded="true"]>.arrow-down {
    transform: rotate(0deg);
}

.br-dropdown {
    border-radius: 10px 10px 0 0;
}

.form-copy {
    height: calc(1.5em + 0.75rem + 14px);
}

@media (max-width: 575px) {

    .btn-dropdown-type-ins {
        padding: 10px 15px;
        font-size: 18px;
        line-height: 27px;
    }

    .btn-dropdown-type-ins img.icon-ins {
        width: 30px;
    }

    .arrow-down {
        width: 20px;
    }
}

/* end custom btn-dropdown  */

/* custom textarea */
textarea.form-control.custom-box-copy {
    resize: none;
    border: 0;
}

textarea.form-control.custom-box-copy[readonly] {
    background-color: #FFFFFF;
    opacity: 1;
}

textarea.form-control.custom-box-copy:focus {
    color: none;
    background-color: #fff;
    border-color: none;
    outline: 0;
    box-shadow: 0 0 0 0;
}

.border-textarea-custom-box-copy {
    border: 1px solid #C4C4C4;
    padding: 5px 5px 20px;
    border-radius: 5px;
    background-color: #FFFFFF;
}

textarea.form-control.custom-box-copy::-webkit-scrollbar {
    width: 5px;
}

/* Track */
textarea.form-control.custom-box-copy::-webkit-scrollbar-track {
    background: #F9F9F9;
}

/* Handle */
textarea.form-control.custom-box-copy::-webkit-scrollbar-thumb {
    background: #C4C4C4;
    border-radius: 3px;
}

/* Handle on hover */
textarea.form-control.custom-box-copy::-webkit-scrollbar-thumb:hover {
    background: #C4C4C4;
}

/* end custom textarea */

/**checkbox**/
.main_box_check {
    display: block;
    position: relative;
    padding-left: 29px;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
}

/* Hide the browser's default checkbox */
.main_box_check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 1px solid #03256c;
    border-radius: 3px;
}

/* On mouse-over, add a grey background color */
.main_box_check:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.main_box_check input:checked~.checkmark {
    background-color: #ffffff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.main_box_check input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.main_box_check .checkmark:after {
    left: 10px;
    top: -7px;
    width: 8px;
    height: 21.03px;
    border: solid #2541b2;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/** end checkbox**/

/* nav-side-menu -webkit-scrollbar  */
.nav-side-by-side::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.nav-side-by-side::-webkit-scrollbar-track {
    background: #F9F9F9;
}

/* Handle */
.nav-side-by-side::-webkit-scrollbar-thumb {
    background: #C4C4C4;
    border-radius: 3px;
}

/* Handle on hover */
.nav-side-by-side::-webkit-scrollbar-thumb:hover {
    background: #C4C4C4;
}

/*end nav-side-menu -webkit-scrollbar  */

/* custom icheck */
[class*="icheck-"]>label {
    min-height: 20px;
    line-height: 20px;
}

.icheck-custom>input:first-child:checked+label::after,
[class*="icheck-"]>input:first-child:checked+input[type="hidden"]+label::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: -11.5px;
    left: 4px;
    width: 8px;
    height: 22px;
    border: solid 2px #2541B2;
    border-left: none;
    border-top: none;
    transform: translate(7.75px, 4.5px) rotate(45deg);
    -ms-transform: translate(7.75px, 4.5px) rotate(45deg);
}

.icheck-custom>input[type="radio"]:first-child+label::before,
[class*="icheck-"]>input[type="radio"]:first-child+input[type="hidden"]+label::before {
    border-radius: 3px;
}

.icheck-custom>input:first-child+label::before,
[class*="icheck-"]>input:first-child+input[type="hidden"]+label::before {
    border: 1px solid #424242;
    width: 20px;
    height: 20px;
}

.icheck-custom>input:first-child:not(:checked):not(:disabled):hover+label::before,
[class*="icheck-"]>input:first-child:not(:checked):not(:disabled):hover+input[type="hidden"]+label::before {
    border-width: 2px;
    border-color: #2541B2;
}

/* end custom icheck */

/* custom modal */

.txt-title-modal-resetpass {
    font-weight: normal;
    font-size: 32px;
    line-height: 48px;
}

.txt-title-modal-question {
    font-weight: normal;
    font-size: 32px;
    line-height: 48px;
}

.txt-normal-modal-question {
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
}

.txt-normal-modal-resetpass {
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
}

.txt-normal-modal-question.text-danger {
    font-size: 25px;
}

.txt-normal-modal-question.text-success {
    font-size: 25px;
}

.txt-title-modal-detail-screen {
    font-weight: 400;
    font-size: 25px;
    line-height: 37px;
    color: #373737;
    margin-bottom: 20px;
}

.txt-title-in-modal {
    font-weight: normal;
    font-size: 32px;
    line-height: 48px;
}

.txt-normal-in-modal {
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
}

.txt-m-gray {
    color: #9FA1AA !important;
}

@media (min-width: 576px) {
    .modal-dialog.mw-650 {
        max-width: 650px;
    }
}

@media (max-width: 575px) {
    .txt-title-modal-question {
        font-size: 26px;
        line-height: 39px;
    }

    .txt-title-modal-resetpass {
        font-size: 26px;
        line-height: 39px;
    }

    .txt-normal-modal-question {
        font-size: 16px;
        line-height: 24px;
    }

    .txt-normal-modal-resetpass {
        font-size: 16px;
        line-height: 24px;
    }

    .txt-normal-modal-question.text-danger {
        font-size: 20px;
    }

    .txt-normal-modal-question.text-success {
        font-size: 20px;
    }

    .txt-title-in-modal {
        font-size: 26px;
        line-height: 39px;
    }

    .txt-normal-in-modal {
        font-size: 16px;
        line-height: 24px;
    }
}

/* end custom modal */
/* custom input file */
.width-add-promo-in-modal {
    width: 100%;
    max-width: 500px;

}

.custom-input-file-sb {
    cursor: pointer;
}

.custom-input-file-sb::-webkit-file-upload-button {
    background: #FFFFFF;
    color: #2541B2;
    padding: 3px 20px;
    font-size: 15px;
    border: 1px solid #2541B2;
    border-radius: 8px;
    cursor: pointer;
    transition: .5s ease;
}

.custom-input-file-sb:hover::-webkit-file-upload-button {
    background: #2541B2;
    color: #FFFFFF;
    transition: .5s ease;
}

/* end custom input file */

/* custom calendar */
.customc-calendar-report {
    position: relative;
}

.customc-calendar-report .form-control {
    padding: 10px 15px;
    height: auto;
    color: #9FA1AA;
}

.svg-calendar-report {
    content: url(../svg/calendar-report.svg);
}

.customc-calendar-report i.svg-calendar-report {
    position: absolute;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    background: #ffffff;
}

.txt-to-for-calendar-report {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    display: inline-table;
    margin: auto;
    font-weight: normal;
    font-size: 15px;
    color: #424242;
}

@media (max-width: 575px) {
    .customc-calendar-report .form-control {
        font-size: 15px;
    }

    .txt-to-for-calendar-report {
        font-size: 13px;
    }
}

/* end custom calendar*/

/** table **/
.text-gray-head-table th {
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    border-top: 0 solid #dee2e6;
}

.table-dashboard-page thead,
.table-dashboard-page tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.table-dashboard-page tbody {
    display: block;
    min-height: 0px;
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
}

.table-dashboard-page thead tr th:nth-child(1),
.table-dashboard-page tbody tr td:nth-child(1) {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
}

.table-dashboard-page thead tr th:nth-child(2),
.table-dashboard-page tbody tr td:nth-child(2) {
    width: 149px !important;
    min-width: 149px !important;
    max-width: 149px !important;
}

.table-dashboard-page thead tr th:nth-child(3),
.table-dashboard-page tbody tr td:nth-child(3) {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
}

.table-dashboard-page thead tr th:nth-child(4),
.table-dashboard-page tbody tr td:nth-child(4) {
    width: 153px !important;
    min-width: 153px !important;
    max-width: 153px !important;
}

.table-dashboard-page thead tr th:nth-child(5),
.table-dashboard-page thead tr th:nth-child(6),
.table-dashboard-page tbody tr td:nth-child(5),
.table-dashboard-page tbody tr td:nth-child(6) {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
}

.table-dashboard-page thead tr th:nth-child(7),
.table-dashboard-page tbody tr td:nth-child(7) {
    width: 144px !important;
    min-width: 144px !important;
    max-width: 144px !important;
}

.table-dashboard-page thead tr th:nth-child(8),
.table-dashboard-page thead tr th:nth-child(9),
.table-dashboard-page thead tr th:nth-child(10),
.table-dashboard-page tbody tr td:nth-child(8),
.table-dashboard-page tbody tr td:nth-child(9),
.table-dashboard-page tbody tr td:nth-child(10) {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
}

.table-sale-report-page .text-gray-head-table th {
    font-size: 16px;
    line-height: 25px;
}

.table-sale-report-page thead tr th:nth-child(1) {
    width: 81px !important;
    min-width: 81px !important;
    max-width: 81px !important;
}

.table-sale-report-page thead tr th:nth-child(2) {
    min-width: 154px !important;
}

.table-sale-report-page thead tr th:nth-child(3) {
    min-width: 123px !important;
}

.table-sale-report-page thead tr th:nth-child(4) {
    min-width: 160px !important;
}

.table-sale-report-page thead tr th:nth-child(5) {
    min-width: 136px !important;
}

.table-sale-report-page thead tr th:nth-child(6) {
    min-width: 107px !important;
}

.table-sale-report-page thead tr th:nth-child(7) {
    min-width: 107px !important;
}

.table-sale-report-page thead tr th:nth-child(8) {
    min-width: 119px !important;
}

.table-ads-page thead tr th:nth-child(1) {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
}

.table-ads-page thead tr th:nth-child(2) {
    min-width: 130px !important;
}

.table-ads-page thead tr th:nth-child(3) {
    min-width: 133px !important;
}

.table-ads-page thead tr th:nth-child(4) {
    min-width: 130px !important;
}

.table-ads-page thead tr th:nth-child(5) {
    min-width: 110px !important;
}

.table-ads-page thead tr th:nth-child(6) {
    min-width: 90px !important;
}

.table-ads-page thead tr th:nth-child(7) {
    min-width: 125px !important;
}

.table-ads-page thead tr th:nth-child(8) {
    min-width: 125px !important;
}

.table-ads-page thead tr th:nth-child(9) {
    min-width: 90px !important;
}

.table-member-report-page .btn.linkcheckout {
    padding: 10px;
    border-radius: 10px;
    margin: auto;
}

.table-member-report-page .btn.viewdetail {
    /* border: 2px solid #2541B2; */
    border: 0;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.table-member-report-page .btn.viewdetail:hover {
    /* background-color: #2541B2; */
    background-color: transparent;
}

/* .table-member-report-page .btn.viewdetail i{
    color: #2541B2;
}
.table-member-report-page .btn.viewdetail:hover i{
    color: #FFFFFF;
} */
.table-member-report-page tr th:nth-child(1) {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
}

.table-member-report-page tr th:nth-child(2) {
    min-width: 220px !important;
}

.table-member-report-page tbody tr td:nth-child(2) {
    word-break: break-all;
}

.table-member-report-page tr th:nth-child(3) {
    min-width: 150px !important;
}

.table-member-report-page tr th:nth-child(4) {
    min-width: 150px !important;
}

.table-member-report-page tbody tr td:nth-child(4) {
    word-break: break-all;
}

.table-member-report-page tr th:nth-child(5) {
    min-width: 160px !important;
}

.table-member-report-page tr th:nth-child(6) {
    min-width: 150px !important;
}

.table-member-report-page tr th:nth-child(7) {
    min-width: 150px !important;
}

.table-member-report-page tr th:nth-child(8) {
    min-width: 170px !important;
}

.table-member-report-page tr th:nth-child(9) {
    min-width: 138px !important;
}

.dataTable.no-footer.table-accesstrade {
    border-bottom: 1px solid #dee2e6;
}

.dataTable.table-accesstrade tr th {
    padding: 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

.dataTable.table-accesstrade tbody td {
    padding: 0.75rem;
}

.dataTable.table-accesstrade tbody tr.odd {
    background-color: #F6F6F6;
}

.dataTable.table-accesstrade tr th:nth-child(1) {
    width: 31px !important;
    min-width: 31px !important;
    max-width: 31px !important;
}

.dataTable.table-accesstrade tr th:nth-child(2) {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
}

.dataTable.table-accesstrade tr th:nth-child(3) {
    min-width: 167px !important;
}

.dataTable.table-accesstrade tr th:nth-child(4) {
    min-width: 135px !important;
}

.dataTable.table-accesstrade tr th:nth-child(5) {
    min-width: 200px !important;
}

.dataTable.table-accesstrade tr th:nth-child(6) {
    min-width: 134px !important;
}

.dataTable.table-accesstrade tr th:nth-child(7) {
    min-width: 134px !important;
}

.dataTable.table-accesstrade tr th:nth-child(8) {
    min-width: 134px !important;
}


.table-custom-all tbody::-webkit-scrollbar {
    width: 6px;
}

.table-custom-all tbody::-webkit-scrollbar-track {
    background: #F9F9F9;
}

.table-custom-all tbody::-webkit-scrollbar-thumb {
    background: #C4C4C4;
    border-radius: 3px;
}

.table-custom-all tbody::-webkit-scrollbar-thumb:hover {
    background: #C4C4C4;
}

.table-custom-all tbody tr td {
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    vertical-align: middle;
    color: #495057 !important;
}

.table-sale-report-page.table-custom-all tbody tr td {
    text-align: center !important;
}

.table-sale-report-page.table-custom-all tbody tr:nth-last-child(1) th {
    text-align: center !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    vertical-align: middle;
}

.table-ads-page.table-custom-all tbody tr td {
    text-align: center !important;
}

.table-ads-page.table-custom-all tbody tr:nth-last-child(1) th {
    text-align: center !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    vertical-align: middle;
}


.table-responsive.custom-scrollbar::-webkit-scrollbar {
    height: 6px;
}

.table-responsive.custom-scrollbar::-webkit-scrollbar-track {
    background: #F9F9F9;
}

.table-responsive.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #C4C4C4;
    border-radius: 3px;
}

.table-responsive.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #C4C4C4;
}

.width-table-result-ads {
    width: 100%;
    max-width: 490px;
}

.table-result-ads tbody td {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #424242;
    padding: 20px 10px;
}

.table-result-ads tbody td:nth-child(1) {
    width: 60%;
}

.table-result-ads tbody td:nth-child(2) {
    width: 40%;
}

.table-result-ads tfoot td {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    padding: 20px 10px;
}

.table-result-ads tfoot td:nth-child(2) {
    font-size: 25px;
    line-height: 28px;
}

@media (max-width: 575px) {
    .text-gray-head-table th {
        font-size: 15px;
        line-height: 25px;
    }

    .table-custom-all tbody tr td {
        font-size: 15px;
        line-height: 25px;
    }

    .table-sale-report-page.table-custom-all tbody tr:nth-last-child(1) th {
        font-size: 15px;
        line-height: 25px;
    }

    .table-ads-page.table-custom-all tbody tr:nth-last-child(1) th {
        font-size: 15px;
        line-height: 25px;
    }

    .table-result-ads tbody td {
        font-size: 15px;
        line-height: 20px;
    }

    .table-result-ads tfoot td {
        font-size: 15px;
        line-height: 20px;
    }

    .table-result-ads tfoot td:nth-child(2) {
        font-size: 22px;
    }
}

/** end table **/
/** box-result-report **/
.box-result-report {
    background: #F6F6F6;
    border: 1px solid #D4D4D4;
    padding: 15px 30px;
}

.box-result-report .txt-title {
    color: #9FA1AA;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
}

.box-result-report .txt-title {
    color: #9FA1AA;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
}

.box-result-report span {
    color: #2541B2;
    font-weight: 400;
}

@media (max-width: 575px) {
    .box-result-report {
        padding: 10px 5px;
    }

    .box-result-report span.f-32 {
        font-size: 25px !important;
    }

    .box-result-report span.f-18 {
        font-size: 15px !important;
    }
}

/** end box-result-report **/
/** custom nav-tabs**/
.nav-tabs.custom-nav-tabs {
    border: 0;
}

.nav-tabs.custom-nav-tabs .nav-link {
    border: 0;
    font-weight: 400;
    font-size: 17px;
    color: rgba(0, 0, 0, 0.32);
    margin-bottom: 0;
}

.nav-tabs.custom-nav-tabs .nav-link.active {
    color: #2541B2;
    border-bottom: 3px solid #2541B2;
}

/** custom nav**/

/** custom-for-data-table **/
.custom-for-data-table .dataTables_wrapper .dataTables_length {
    font-weight: 400;
    font-size: 17px;
    color: #424242;
    float: left !important;
    text-align: left !important;
}

.custom-for-data-table .dataTables_wrapper .dataTables_length select {
    border: 1px solid #C4C4C4;
    border-radius: 5px;
    appearance: none;
    font-size: 17px;
    padding: 0.25em 15px;
    cursor: pointer;
    line-height: 1.1;
    background: url(./../images/arrow-down.png) white no-repeat 98.5% !important;
    background-position: 90% 50% !important;
    height: calc(1.5em + 0.75rem + 7.5px);
    margin: 0 15px;
    width: 70px;
}

.custom-for-data-table .dataTables_wrapper .dataTables_info {
    display: none !important;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate {
    float: none;
    text-align: center;
    padding-top: 45px;
    margin-top: 0 !important;
    margin-bottom: 20px;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    visibility: hidden;
    word-spacing: -999px;
    letter-spacing: -999px;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.previous::after {
    content: url(./../images/arrow-down.png);
    visibility: visible;
    transform: rotate(90deg);
    display: inline-block;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.next {
    visibility: hidden;
    word-spacing: -999px;
    letter-spacing: -999px;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.next::before {
    content: url(./../images/arrow-down.png);
    visibility: visible;
    transform: rotate(-90deg);
    display: inline-block;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #959595;
    border-radius: 3px;
    font-weight: 300;
    font-size: 15px;
    color: #959595 !important;
    padding: 0;
    margin: 0 7.5px;
    width: 25px;
    height: 25px;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #2541B2;
    color: #FFFFFF !important;
    border: 1px solid #2541B2;
}

.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.custom-for-data-table .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #2541B2;
    color: #FFFFFF !important;
    border: 1px solid #2541B2;
}

.custom-for-data-table .table-in-side-table tr td {
    border: 1px solid #dee2e6;
}

@media (max-width: 575px) {
    .custom-for-data-table .dataTables_wrapper .dataTables_length {
        font-size: 15px;
    }

    .custom-for-data-table .dataTables_wrapper .dataTables_length select {
        margin: 0 10px;
    }
}

@media (max-width: 374px) {
    .custom-for-data-table .dataTables_wrapper .dataTables_length {
        float: none !important;
        text-align: center !important;
    }
}

/** end custom-for-data-table **/
/* custom-radio custom-profile */
.custom-radio.custom-profile {
    cursor: pointer;
}

.custom-radio.custom-profile .custom-control-label {
    cursor: pointer;
}

.custom-radio.custom-profile .custom-control-label::before {
    border: #2541B2 solid 1px;
}

.custom-radio.custom-profile .custom-control-label::after {
    background: 50%/85% 85% no-repeat;
}

.custom-radio.custom-profile .custom-control-input:checked~.custom-control-label::before {
    border-color: #2541B2;
    background-color: #FFFFFF;
}

.custom-radio.custom-profile .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%232541B2'/%3e%3c/svg%3e")
}

/* End custom-radio custom-profile */
/**/
@media (max-width: 991px) {
    .img-close-menu {
        margin-bottom: -25px;
        width: 25px;
    }

    .nav-side-menu ul.menu-content {
        position: fixed;
        top: 0;
        width: 100%;
        /* height: 100%; */
        background: #E5E5E5 !important;
        z-index: 99;
        left: 0;
        padding: 0 0 calc(100vh);
    }

    .nav-side-menu ul.show.menu-content {
        display: inline-table !important;
    }

    .box-fixed-for-mobile {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        height: 100%;
        overflow-y: scroll;
        padding: 20px;
    }

    .box-fixed-for-mobile::-webkit-scrollbar {
        width: 5px;
    }

    /* Track */
    .box-fixed-for-mobile::-webkit-scrollbar-track {
        background: #F9F9F9;
    }

    /* Handle */
    .box-fixed-for-mobile::-webkit-scrollbar-thumb {
        background: #C4C4C4;
        border-radius: 3px;
    }

    /* Handle on hover */
    .box-fixed-for-mobile::-webkit-scrollbar-thumb:hover {
        background: #F9F9F9;
    }
}

/* box-collapse-slide */

.box-collapse-slide {
    position: relative;
}

.box-collapse-slide .collapse,
.box-collapse-slide .collapsing {
    height: 65px;
}

.box-collapse-slide .collapse {
    display: block;
    overflow: hidden;
}

.box-collapse-slide .collapse.show {
    height: auto;
}

.box-collapse-slide a.bt-collapse-slide {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #424242;
    text-decoration-line: underline;
}

.box-collapse-slide a.collapsed.bt-collapse-slide:after {
    content: 'ดูประกันทั้งหมด';
}

.box-collapse-slide a.bt-collapse-slide:not(.collapsed):after {
    content: 'ดูน้อยลง';
}

.arrow-text {
    border: solid #424242;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
}

.box-collapse-slide a.collapsed.bt-collapse-slide~span.arrow-text {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.box-collapse-slide a.bt-collapse-slide:not(.collapsed)~span.arrow-text {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

#collapse_potype li.nav-item {
    padding-left: 7.5px;
    padding-right: 7.5px;
    padding-bottom: 15px;
}

#collapse_potype .nav-pills .nav-link,
.nav-pills .show>.nav-link {
    padding: 7px 15px;
    height: 100%;
    line-height: 18px;
}

@media (min-width: 1400px) {
    .col-xxl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 576px) {
    .box-collapse-slide .collapse {
        display: block;
        overflow: auto;
    }

    .box-collapse-slide .collapse,
    .box-collapse-slide .collapsing {
        height: auto;
    }

    .box-collapse-slide a.bt-collapse-slide {
        display: none;
    }

    .box-collapse-slide .arrow-text {
        display: none;
    }
}

/* end box-collapse-slide */

.bg-box-login-L {
    height: 100vh;
    background-image: url(../images/bg-login.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-box-login-L.bg-box-immigration {
    background-image: url(../images/login/bg.jpg);
}




.bg-box-login-R {
    height: 100vh;
    background-color: #FFFFFF;
}

.bg-box-login-R .w-form-login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 450px;
    padding: 0px !important;
    border: 0;
    box-shadow: none;
}

.bg-box-login-R .img-logo-head {
    width: 220px;
}

.bg-box-login-R .text-title-login {
    font-weight: 400;
    font-size: 22px;
    line-height: 33px;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .bg-box-login-L {
        height: 25vh;
        background-image: url(../images/bg-login-mobile.svg);
        background-position: center;
    }

    .bg-box-login-R {
        height: auto;
    }

    .bg-box-login-R .w-form-login {
        position: static;
        top: auto;
        left: auto;
        transform: none;
    }

    .bg-box-login-R .img-logo-head {
        margin-top: 34px;
    }
}

@media (max-width: 575px) {
    .bg-box-login-R .img-logo-head {
        width: 170px;
        margin-top: 25px
    }

    .bg-box-login-R .text-title-login {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 13px;
    }
}

@media (max-width: 424px) {
    .bg-box-login-R .img-logo-head {
        width: 150px;
        margin-top: 20px
    }
}


/* nav bar */
.nav-tabs.nav-custom-promote {
    border-bottom: 1px solid #D8D8D8;
    margin-bottom: 40px;
}

.nav-tabs.nav-custom-promote .nav-link {
    font-size: 22px;
    line-height: 28px;
    color: #9FA1AA;
    margin-bottom: -2px;
}

.nav-tabs.nav-custom-promote .nav-item.show .nav-link,
.nav-tabs.nav-custom-promote .nav-link.active {
    color: #2541B2;
    font-weight: 500;
    border: 0;
    box-shadow: inset 0px -3px #2541b2;
}

@media (max-width: 575px) {
    .nav-tabs.nav-custom-promote {
        margin-bottom: 20px;
    }

    .nav-tabs.nav-custom-promote .nav-link {
        font-size: 18px;
        line-height: 24px;
    }
}


/* end custom by tar*/
.position-custom-1 {
    position: absolute;
    left: 0%;
    top: 0%;
    z-index: 10;
}

.position-frame {
    height: 120%;
    position: absolute;
    top: 0%;
    right: -1%;
    z-index: 40;
}

.position-human {
    left: 50%;
    position: absolute;
    bottom: 0%;
    z-index: 30;
    width: 728px;
    transform: translate(-50%);
}

.position-logo {
    display: flex;
    gap: 60px;
    position: absolute;
    top: 5%;
    left: 45%;
    z-index: 30;
    transform: translate(-50%);
}

.w-form-raduis {
    border-radius: 10px;
}

/* Footer BG */
.bg-left-footer {
    position: absolute;
    bottom: 0%;
    z-index: 45;
    text-align: center;
    padding: 20px 30px 20px 30px;
    display: grid;
    gap: 15px;
    width: 100%;
    color: #FFFFFF;
}

.bg-left-footerVBI {
    background-color: #1D4493;
    z-index: 30;
    height: 127.97px;
}

.bg-left-footerBKI {
    background-color: #163B68;
    z-index: 30;
    height: 127.97px;
}

.bg-left-footerTSI {
    background-color: #0A2544;
    z-index: 30;
    height: 127.97px;
}

.bg-left-footerICARE {
    background-color: #008B8B;
    z-index: 30;
    height: 127.97px;
}

.bg-left-footer.bg-left-inner-footerVBI {
    background-color: #1D4493;
}

.bg-left-footer.bg-left-inner-footerBKI {
    background-color: #163B68;
}

.bg-left-footer.bg-left-inner-footerTSI {
    background-color: #0A2544;
}

.bg-left-footer.bg-left-inner-footerICARE {
    background-color: #008B8B;
}

@media only screen and (min-width: 1000px) {
    .bg-left-footer {
        width: 100%;
    }

    .bg-left-footer.bg-left-inner-footerVBI {
        background-color: transparent;
    }

    .bg-left-footer.bg-left-inner-footerBKI {
        background-color: transparent;
    }

    .bg-left-footer.bg-left-inner-footerTSI {
        background-color: transparent;
    }

    .bg-left-footer.bg-left-inner-footerICARE {
        background-color: transparent;
    }
}

@media only screen and (max-width: 992px) {

    .bg-left-footer {
        position: relative;
    }



    .bg-left-footer.bg-left-footerVBI {
        display: none;
    }

    .bg-left-footer.bg-left-footerBKI {
        display: none;
    }

    .bg-left-footer.bg-left-footerTSI {
        display: none;
    }

    .bg-left-footer.bg-left-footerICARE {
        display: none;
    }
}


.gap-15 {
    gap: 15px;
}

.gap-30 {
    gap: 30px;
}

div.vr {
    width: 1px;
    height: 100%;
    background: #D8D8D8;
    margin-left: auto;
    margin-right: auto;
}

.pos-contact {
    position: absolute;
    z-index: 80;
}