
/* Safari */
    @-webkit-keyframes spin {
        0% { -webkit-transform: rotate(0deg); }
        100% { -webkit-transform: rotate(360deg); }
    }
  
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    #preloader {
        position: fixed;
        display: table;
        text-align: center;
        width: 100%; height: 100%;
        top: 0; left: 0;
        background-color: #fff;
        z-index: 999999999;
    }
    #preloader .tb-cell {
        display: table-cell;
        vertical-align: middle;
    }
    #page-loading p {
        text-align: center;
        text-transform: uppercase;
        z-index: 99;
        padding: 10px 0;
        color: black;
        font-size: 12px;
        overflow: hidden;
        margin-top: 5px;
    }
    #page-loading div {
        width: 40px;
        height: 40px;
        margin: auto;
        border-right: 3px solid #59c45a;
        border-bottom: 3px solid transparent;
        border-radius: 100%;
        -webkit-animation: spin 0.9s linear infinite;
        -moz-animation: spin 0.9s linear infinite;
        -o-animation: spin 0.9s linear infinite;
        animation: spin 0.9s linear infinite;
    }

  
.popup-cart {
    top: 0;
}

.popup-cart ul {
    padding: 0;
    height: 100%;
    width: 100%;
}

.popup-cart ul li {
    height: 100%;
    position: relative;
}

.popup-cart .scroll-cart {
    /* max-height: 580px; */
}

a[aria-expanded="true"]::before {
    content: none;
}

a[aria-expanded="false"]::before {
    content: none;
}

.mx100 {
    width: auto;
    max-width: 100% !important;
}

.product-favorite {
    padding: 25px 0;
}
.btn-profile-buy{
    background-color: #5ea9e3;
    cursor: pointer;
}
.btn-profile-gif{
    background-color: #86df81;
    cursor: pointer;
}
.btn-profile-search{
    background-color: #fbaf3f;
    cursor: pointer;
}
.button-shadow {     
    box-shadow: 2px 2px #5d51514a;
}

.code-profile {
    font-size: 25px;
    line-height: 16px;
    font-weight: bold;
    margin: 15px 0 20px -27px;
    text-align: center;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 0;
    border-radius: 4px;
}
/* Pagination links */
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    cursor: pointer;
}

/* Style the active/current link */
.pagination a.active {
    background-color: #4CAF50;
    color: white;
}

/* Add a grey background color on mouse-over */
.pagination a:hover:not(.active) {background-color: #ddd;}

.item-cart-shipping {
    display: flex;    
    flex-wrap: wrap;
    background-color: #84b727c7;
    box-shadow: 2px 2px #5d51512b;
    border-radius: 20px;
    padding: 7px 15px;
    margin: 5px;
    color: #fff;
    width: 100%;    
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

.fileinput-image-preview {
    border: 1px solid #ccc;
    width: 100px;
    height: 100px;
}

.points-profile {
    font-size: 30px;
    font-weight: 600;
    padding: 0 10px;
    /* top: -3px;
    left: 86px;
    position: absolute; */
}

div.required .control-label:not(span):before, td.required:before {
	content: '* ';
	color: #F00;
	font-weight: bold;
}

.item-cart-total {
    width: 100%;    
}
.item-cart-total label {
    float: right;
    padding-right: 10px;
    font-size: 25px;
}

.wizard-inner .nav-tabs {
    border-bottom: none;
}

.wizard-title {
    font-size: 30px;
    width: 100%;
    text-align: center;
    padding: 20px 0 0 0;
}

.request {
    background-color: #d9534f !important;
}

.checked {
    background-color: #bf7e08 !important;
}

.delivering {
    background-color: #fcd419 !important;
}

.confirmed {
    background-color: #33ccb8 !important;
}

.complete {
    background-color: #5cb85c !important;
}

.cancel {
    background-color: #666 !important;
}

.void {    
    background-color: #ff61e7 !important;
}

.waiting {
    background-color: #d9534f !important;
}

.coming {
    background-color: #fcd419 !important;
}

.correcting {
    background-color: #fcd419 !important;
}

.approved {
    background-color: #5cb85c !important;
}

.button-buyer-search {
    position: absolute;
    top: 40px;
    right: 16px;
    width: 100px;
    height: 36px;
}

.col-product .item-product:hover {
    border: 1px solid #676262;
    background-color: #cccccc1f;
    cursor: pointer;
}

.col-product-num p span.details {
    font-size: 14px;
    text-align: center;
    width: 100%;
    display: block;
}

.col-promotion .item-product-score:hover {
    border: 1px solid #676262;
    background-color: #cccccc1f;
    cursor: pointer;
}

.error {
    color: red;
}

.dealer-profile {
    width: 50%;    
}

.dealer-profile .code-profile {
    font-size: 25px;
    line-height: 16px;
    font-weight: bold;
    margin: 15px 0 20px 0;
    text-align: left;
    color: #fff;
}

.dealer-profile .name-profile, .dealer-profile .tel-profile, .dealer-profile .gif-profile, .dealer-profile .point-profile {
    color: #fff;
}

.dealer-profile .name-profile i, .dealer-profile .tel-profile i, .dealer-profile .gif-profile i {
    position: relative;
    left: 0px;
}

.table-product table {    
    width: 100%;
}

.table-product table thead {
    background-color: #cccccc6e;
    font-size: 18px;    
    line-height: 3;
    font-weight: bold;
}

.table-product table tbody tr {
    line-height: 3;
    border-bottom: 1px solid #ccc;
    font-size: 15px;
}

.table-product table tbody tr a {
    color: #21409a;
    font-weight: bold;
}
.table-product table tbody tr a:hover {    
    text-decoration: underline;
}

.table-product table .points {
    text-align: center;
}
.table-product table tbody tr.last {
    border-bottom: none !important;
}
.item-product-check span.brand-title {
    font-size: 12px;
    text-align: center;
    display: block;
    padding: 5px 0;
}

.block-result {
    padding: 10px 0;
}

.modal-user-list-search {
    width: 100%;
}
.member-scroll {
    max-height: 350px;
}

.member-detail-right p.points, .member-detail-left p.points {
    color: #1509d2;
}

.report-redeem-block {
    margin: 10px 10px;
    float: right;
}

.btn-redeem-report {
    color: #fff;
    font-size: 18px;
    line-height: 18px;
    padding: 10px 20px;
    width: auto;
}

.btn-redeem-report.redeem-report {
    background-color: #86df81;
}

.btn-redeem-report.redeem-cancel {
    background-color: #ff2d2d;
}

.block-redeem-member {
    
}
.block-redeem-member .form-search {
    width: 350px;
}

.block-redeem-member .form-search .btn-edit-member { 
    float: right;
}

.block-redeem-member .form-search input.input-search {
    width: auto;
}

.member-form-sort {
    
}

.member-form-sort .col-input {
    width: 200px;
}

.member-form-search .form-search {
    float: left;
}

.redeem-status-border {
    border: 2px;
    padding: 2px 15px;
    border-radius: 20px;
    color: #fff;
}

.btn-export-member {
    font-family: 'Conv_Kanit-Regular';
    margin: 0 0 15px 0;
    background-color: #2760de!important;
    color: #fff!important;
    font-size: 14px;
    line-height: 14px;
}

.input-date-picker {
    height: 34px;
    padding: 0px 10px;
    width: 100%;
    border-radius: 5px 0px 0px 5px;
    border: 1px solid #d6cfcf;
}

.table-store-total p {
   margin: 25px 15px 20px 0;
}

.sale-point-balance p {
    font-family: 'Conv_Kanit-Bold';
    font-size: 28px;
    line-height: 28px;
    width: 100%;
    margin: 25px 0 20px 15px;
    color: #21409a;
    text-align: left;
}

.col-product .item-product .col-product-text > .model {
    font-size: 15px;
}

.wd100 {
    width: 100% !important;
}

.sale-success-alert {
    margin: 13px 0px -18px 0px;
}

.shop-profile-edit {
    margin-top: 30px;
}

.shop-profile-success-alert {
    margin: 5px 5px 22px 5px;
    width: 100%;
}

.product-thumbnail {
    position: relative;
    width: 60px;
    height: 60px;
    overflow: hidden;
    padding: 5px;
  }
  .product-thumbnail img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
  }
  .product-thumbnail img.portrait {
    width: 100%;
    height: auto;
  }

  .member-tabs {
    width: 100%;
    padding: 0px 11px;
    margin: 25px 0px;
  }

  .member-tab-content {
    padding-left: 15px;
    padding-right: 15px;
    border: none;
  }

  .member-tab-content .no-result-found {
      color: red;
  }

.member-sale-list {
    padding: 15px;
    /* margin: 5px; */
}

.member-sale-detail {
    padding: 5px;
}
    .member-sale-list table, .member-sale-detail table{
        width: 100%;
    }

    .member-sale-list table tr {
        border-bottom: 1px solid #ccc;
        cursor: pointer;
    }

    .member-sale-list table tr td{
        padding: 5px;
    }

  .member-sale-list table .title {
    font-size: 18px;
    font-weight: bold;
  }

  .member-sale-list .points {
    font-size: 20px;
    text-align: right;
    padding-right: 10px;
  }

    .member-sale-list .items {
    }

#modal-member-report .modal-header {
    padding: 5px 10px 0px 20px;
    border-bottom: 1px solid #e5e5e5;
}

#modal-member-report .modal-body table.table-sales-report {
    width: 100%
}

#modal-member-report .modal-footer h4.summary {
    text-decoration: underline;
    text-decoration-style: double;
    text-underline-position: under;
}

.reward-item-model {
    text-align: center;
    display: block;
}

.sale-product-table {
    margin: 0px;
    /* background-color: #f5f6f9 !important;*/
    background-color: #fff !important;
    border-radius:5px;
    -webkit-border-radius:5px;
    vertical-align:middle;
    border-spacing: 5px;
    border-collapse: separate;
}

.sale-product-table .title {
    padding-left: 10px;
}

.sale-product-table .total {    
    background: #1fb5ad;
    color: #fff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    vertical-align: middle;
}

.sale-product-table .total span {
    font-size: 22px;
    /* text-decoration: underline; */
    text-decoration-style: double;
    text-underline-position: under;
}

.sale-product-table thead {
    background-color: #f1efef6e !important;
}

.sale-product-table tfoot tr td {
    border-top: none !important;
}

.sale-product-table tbody .product-thumb {
    width: 60px;
}

.sale-product-table tbody tr {
    border-bottom: none !important;    
}

.sale-product-table-first {
    background-color: #ccc;
}

.sale-product-table-last {
    margin-bottom: 30px;
    display: inline-grid;
}

.sale-product-table > tbody > tr > td {
    border-bottom:none;
    border-top: none;
    background: #f5f6f9;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    vertical-align: middle;
}

.table-sales-order {    
    border-spacing:5px;
    border-collapse:separate;
}

.table-sales-order > thead > tr > th {
    border-bottom: none;
}

.table-sales-order > thead > tr> th {
    border-bottom: none;
}

.table-sales-order > tbody > tr > td {
    border-top: none;
    padding: 0px;
}

.table-sales-order thead tr th {
    background:#e8e9f0;
    border-radius:5px;
    -webkit-border-radius:5px;
    vertical-align:middle;
}

.table-sales-link {
    border-radius:5px;
    -webkit-border-radius:5px;
    display: block;
}

.table-sales-link:hover {
    background: #f5f6f9;
}

.modal-loading-result {
    padding: 10px;
    text-align: center;
    margin-top: 30px;
}

.product-form-search {
    float: right;
    bottom: -50px;
    position: relative;
}

.product-search {
    cursor: pointer;
}

.alert-farmer-edit-message {
    margin: 13px 0px 5px 0px;
}

.table-no-result {
    background-color: #cccccc17;
    display: block;
    padding: 10px;
    margin: 10px 0px;
    border-radius: 5px;
}

.item-banner-list {
    border-radius: 6px;
    width: 100%;
    -webkit-box-shadow: 0 10px 20px -15px #000;
    -moz-box-shadow: 0 10px 20px -15px #000;
    box-shadow: 0px 0px 32px -15px #000;
    overflow: hidden;
}

.item-banner-list .title {
    font-family: 'Conv_Kanit-Bold';
    font-size: 16px;
    line-height: 20px;
    color: #3e3c42;
    margin: 5px 8px 5px 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-banner-list img {
    max-width: 100%;
    min-width: 100%;
    /* height: 400px; */
    padding: 5px 5px;
    border-radius: 12px;
    overflow: hidden;
}

.description {
    color: #515157;
    margin: 0 0 5px 10px;
    text-align: left;
    font-size: smaller !important;
}

.description p {
    font-size: small;
    margin: 0;
}