body{
    font-family: 'Kanit', 'Athiti', sans-serif !important;
    font-size: 0.9375rem;
    font-weight: 400;
}
.font-prompt{
    font-family: 'Prompt', 'Kanit', 'Athiti', sans-serif !important;
}
.sidebar-dark-primary .nav-sidebar>.nav-item:hover {
    /* background-color: transparent; */
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active {
    /* background-color: transparent; */
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link.active {
    box-shadow: none;
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item.menu-open>.nav-link {
    background-color: transparent;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, 
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, 
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: transparent;
    color: #ffffff;
}
.sidebar-dark-light .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-light .nav-sidebar > .nav-item > .nav-link.active {
    background-color: transparent;
    color: #ffffff;
}
.text-r12, .text-r14, .text-r16{
    font-weight: 400;
}
.text-r18{
    font-weight: 500;
}
.text-r10{
    font-size: .625rem !important;
}
.text-r12{
    font-size: .75rem !important;
}
.text-r14{
    font-size: .875rem !important;
}
.text-r16{
    font-size: 1rem !important;
}
.text-r18{
    font-size: 1.125rem !important;
}
.text-r20{
    font-size: 1.25rem !important;
}
.text-r24{
    font-size: 1.5rem !important;
}
.img-wrap {
    text-align: center;
    display: block;
}

.icon-g-point {
    position: relative;
    top: -.625rem;
    font-size: .75rem;
    color: #fd7e14;
}


.avatars {
    display: inline-block;
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    overflow: hidden;
    vertical-align: middle;
}
.avatars .avatars-one {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
}
.avatars .avatars-one:nth-child(1) {
    left: 0;
    top: 0;
}
.avatars.avatars-xs {
    width: 2.25rem;
    height: 2.25rem;
}
.avatars.avatars-sm {
    width: 3.5rem;
    height: 3.5rem;
}
.avatars.avatars-xl {
    width: 6.25rem;
    height: 6.25rem;
}

.gallery-wrap .img-big-wrap {
    margin-bottom: 10px;
    /* border-radius: 0.37rem; */
    border-radius: 0;
    overflow: hidden;
    /* background-color: #dcdee3; */
    background-color: #fff;
    min-height: 17.5rem;
    align-items: center;
    display: grid;
}

.gallery-wrap .img-big-wrap a {
    text-align: center;
    display: block;
}

.gallery-wrap .img-big-wrap a img {
    max-height: 280px;
    width: 100%;
    object-fit: contain;
}

.carousel-indicators li {
    background-color: #000;
}
.content-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    /* padding: 2rem 2.3rem; */
    padding: 1rem;
}

.card-product-grid {
    margin-bottom: 20px;
    max-height: 315px;
    border-radius: 0;
}

.icon-g-point{
    position: relative;
    top: -.625rem;
    font-size: .75rem;
    color: #fd7e14;
}
.product-price {
    font-weight: 400;
    font-size: 1.125rem;
    color: #212529;
}
.text-gold {
    color: #ffd700;
}

.product-price .icon-g-point {
    top: -0.75rem;
}

.card-sm {
    min-height: 284px;
}
[class*='card-product'] .img-wrap img {
    height: 100%;
    max-width: 100%;
    width: auto;
    display: inline-block;
    -o-object-fit: cover;
    object-fit: cover;
}
.card-product-grid .info-wrap {
    overflow: hidden;
    padding: 16px;
}

.card-product .card{
    transform: translateZ(0);
}

.card-product .img-wrap{
    height: 11.25rem;
}

.card-product .card-img-top{
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    height: 100%;
    max-width: 100%;
    width: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.product-title{
    display: inline-block;
    /* line-height: 1.125rem;
    height: 2.25rem; */
}

.product-title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: inherit;
}

.product-price {
    font-weight: 600;
    font-size: 1.125rem;
    color: #212529;
}
.price-icon{
    position: relative;
    top: -0.375rem;
}

.product-price .icon-g-point{
    top: -0.75rem;
}
.product-price .icon-g-point i {
    font-weight: 600;
}

/* ---BUUTON CIRCLE--- */
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}
.btn-circle.btn-lg{
    width: 3.125rem;
    height: 3.125rem;
    padding: 6px 0px;
    border-radius: 50%;
    text-align: center;
}
.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.btn-img {
    padding: 2px;
    overflow: hidden;
    vertical-align: middle;
    background-color: transparent;
}
/* ---END BUUTON CIRCLE--- */

/* ---IMAGE UPLOAD--- */
.image-manager-item{
    width: 100%;
}
.image-manager-content{
    /* position: relative; */
    border: 1px solid rgba(0,0,0,.2);
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 115px;
    margin-bottom: 14px;
}
.image-manager-remove{
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /* bottom: 44px; */
    top: 100px;
}
.image-manager-image{
    /* width: 100%; */
    height: 100%;
    object-fit: contain;
    /* min-width: 100%; */
    max-width: 100%;
}

/* ---IMAGE UPLOAD--- */
.image-manager-content__upload{
    position: relative;
    height: 115px;
    width: 100%;
    border: 1px dashed #1791f2;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
/* ---END IMAGE UPLOAD--- */


@media (max-width: 768px){
    .card-product-grid .img-wrap {
        height: 200px;
    }
}

@media (min-width: 768px) {
    .pl-md-7, .px-md-7 {
        padding-left: 7rem!important;
    }
    .nav-top .btn-header {
        padding-left: 10px;
        padding-right: 10px;
    }
    .card-product-grid .img-wrap {
        height: 200px;
    }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 2;
    }
    .pr-md-7, .px-md-7 {
        padding-right: 7rem!important;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 3;
        -webkit-column-count: 3;
        -moz-column-count: 3;
    }
    .pl-lg-7, .px-lg-7 {
        padding-left: 9rem!important;
    }
}
@media (min-width: 992px) {
    .pr-lg-7, .px-lg-7 {
        padding-right: 9rem!important;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        column-count: 4;
        -webkit-column-count: 4;
        -moz-column-count: 4;
    }
}

.block-el {
    position: relative; }
  
  .block-el .qt-block-ui {
    position: absolute; }
  
  .qt-block-ui {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1059;
    background-color: rgba(0, 0, 0, 0.3); }
  
  .qt-block-ui:before {
    content: '';
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    background: none;
    margin-top: -0.6rem;
    -webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
            animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
    /* opacity: 0.75; */
    -webkit-animation: clockwise 500ms linear infinite;
            animation: clockwise 500ms linear infinite; 

    animation-name: spin;
    animation-duration: 500ms;
    animation-iteration-count: 
    infinite;
    animation-timing-function: linear; 
    /* transform: rotate(3deg); */
     /* transform: rotate(0.3rad);/ */
     /* transform: rotate(3grad); */ 
     /* transform: rotate(.03turn);  */
  }
  
  @keyframes spin {
      from {
          transform:rotate(0deg);
      }
      to {
          transform:rotate(360deg);
      }
  }
  
  .qt-block-ui .text {
        color: #fff;
        text-align: center;
        position: relative;
        top: 30%; 
    }

    .btn-icon {
        padding-left: .5rem;
        padding-right: .5rem;
        text-align: center;
      }
      
      .btn-secondary, .dataTables_wrapper .dataTables_paginate .paginate_button {
        color: #495057;
        background-color: #fff;
        border-color: rgba(0, 40, 100, 0.12);
        box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
      }
      
      .btn-secondary:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        color: #495057;
        background-color: #f6f6f6;
        border-color: rgba(0, 20, 49, 0.12);
      }
      
      .btn-secondary:focus, .dataTables_wrapper .dataTables_paginate .paginate_button:focus, .btn-secondary.focus, .dataTables_wrapper .dataTables_paginate .focus.paginate_button {
        box-shadow: 0 0 0 2px rgba(54, 69, 90, 0.5);
      }
      
      .btn-secondary.disabled, .dataTables_wrapper .dataTables_paginate .disabled.paginate_button, .btn-secondary:disabled, .dataTables_wrapper .dataTables_paginate .paginate_button:disabled {
        color: #495057;
        background-color: #fff;
        border-color: rgba(0, 40, 100, 0.12);
      }
      
      .btn-secondary:not(:disabled):not(.disabled):active, .dataTables_wrapper .dataTables_paginate .paginate_button:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .dataTables_wrapper .dataTables_paginate .paginate_button:not(:disabled):not(.disabled).active,
      .show > .btn-secondary.dropdown-toggle,
      .dataTables_wrapper .dataTables_paginate .show > .dropdown-toggle.paginate_button {
        color: #495057;
        background-color: #e6e5e5;
        border-color: rgba(0, 15, 36, 0.12);
      }
      
      .btn-secondary:not(:disabled):not(.disabled):active:focus, .dataTables_wrapper .dataTables_paginate .paginate_button:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .dataTables_wrapper .dataTables_paginate .paginate_button:not(:disabled):not(.disabled).active:focus,
      .show > .btn-secondary.dropdown-toggle:focus,
      .dataTables_wrapper .dataTables_paginate .show > .dropdown-toggle.paginate_button:focus {
        box-shadow: 0 0 0 2px rgba(54, 69, 90, 0.5);
      }
      
      .btn-pill {
        border-radius: 10rem;
        padding-left: 1.5em;
        padding-right: 1.5em;
      }
      
      .btn-square {
        border-radius: 0;
      }

    .dataTables_wrapper .table, .dataTables_wrapper .text-wrap table, .text-wrap .dataTables_wrapper table {
        border-top: 1px solid rgba(0, 40, 100, 0.12);
        border-bottom: 1px solid rgba(0, 40, 100, 0.12);
    }

    .btn-colose-modal{
        position: absolute;
        /* bottom: 120px; */
        top:500px;
        width: 100%;
        text-align: center;
    }

    .badge-sale{
        padding:0;
        height: 25%!important;
    }
    .badge-sale .badge{
        background-color: red;
        border-radius: 0;
        font-size: .75rem;
        color:white;
    }
    .auction-timer{
        /* font-family: open sans,sans-serif; */
        font-size: 30px;
        font-weight: 700;
        margin-top: 10px;
    }
    .auction-timer p{
        padding: 0;
        height: auto;
        width: 60px;
        text-align: center;
        float: left;
        margin-right: 6px;
        letter-spacing: 2px;
    }
    .auction-timer span{
        float: left;
        margin-right: 6px;
    }

    .customShadowBorder{
        border-radius: .25rem;
        background-color: #f8f9fa!important;
        box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    }
    