html,body{
  font-family: 'Kanit', sans-serif;
}
body::-webkit-scrollbar{width:2px}
body::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(127,140,141,.2)}
body::-webkit-scrollbar-thumb{background:#c1c1c1;-webkit-box-shadow:inset 0 0 6px rgba(127,140,141,.2)}
.page {
  display: block;
  height: 100%;
}
.page-login {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 100%;
}
.col-login {
    max-width: 30rem;
}
.table th.th-dark, .text-wrap table th.th-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.table thead th, .text-wrap table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid rgba(0, 40, 100, 0.12);
}
.nav-tabs-menu{
  border: none;
  margin-bottom: 40px;
  margin-left: 1px;
  margin-top: 15px;
}
.nav-tabs-menu li{
  min-width: 100px;
  display: inline-block;
  vertical-align: top;
  padding: 8px 20px;
}
.nav-tabs-menu li a{
  color: #333333;
  display: block;
  text-align: center;
}
.nav-tabs-menu li.active{
  background: #f96332;
  color: #ffffff;
}
.nav-tabs-menu li.active a{
  color: #ffffff;
}
.nav-tabs-menu li a:hover{
  text-decoration: none;
}
.dropdown.selsect .dropdown-menu{
  min-width: 100%;
}
.dropdown.selsect {
    display: block;
    width: 100%;
}
.avatar-select {
    width: 1.5rem!important;
    height: 1.5rem!important;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    margin-bottom: 0px!important;
}
.hidden{
  display: none;
}
.bg-trans{
  background: transparent;
  border: none;
}

.close-slide{
  position: absolute;
  right: 15px;
  top: 15px;
}
.img-big{
  width: 100%;
  display: block;
  cursor: pointer;
}
.img-thumb{
  display: inline-block;
  vertical-align: top;
  width: 65px;
  border:2px solid #efefef;
  margin-bottom: 10px;
}
.img-thumb img{
  width: 100%;
}
.img-thumb.active{
  border:2px solid red;
}

.img-option{
  display: inline-block;
  vertical-align: top;
  width: 65px;
  border:2px solid #efefef;
  margin-bottom: 10px;
}
.img-option img{
  width: 100%;
}
.img-option.active{
  border:2px solid red;
}
.item-dealer {
    padding: 0.7rem 1rem;
    font-size: 1em!important;
}
.select-p .item-product {
    padding: 0.7rem 0.5rem;
}
.select-p .nav-link{
  padding: 5px;
}
.selsect-p .dropdown-menu{
  min-width: 260px;
}
.item-product {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 13px;
}

.item-product img{
  width: 35px;
  margin-right: 10px;
  vertical-align: middle;
  float: left;
}
#w-img-upload{
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}
.img-upload{
  display: inline-block;
  vertical-align: top;
  margin: 5px 10px;
  position: relative;
  cursor: move;
}
.ui-state-highlight { 
  width: 200px;
  height: 200px;
  display: inline-block;
  vertical-align: top;
  margin: 5px 10px;
  position: relative;
}
.img-upload i{
    font-size: 36px;
    opacity: 0.3;
    position: absolute;
    top: 80px;
    left: 85px;
}
.img-upload img{
  width: 200px;
  height: 200px;
  border:1px dashed #000000;
}
.img-upload input{
  position: absolute;
  width: 60px;
  height: 60px;
  top: 70px;
  left: 70px;
  opacity: 0;
  cursor: pointer;
  z-index: 20;
}
.underline{
  text-decoration: underline;
}
.remove-img{
    position: absolute;
    font-size: 24px;
    right: 8px;
    top: 5px;
    color: red;
    opacity: 0.7;
}
.remove-img:hover{
    color: red;
    opacity: 1;
}
.sidebar .nav li.active > a.active{
  color: 
}
.tag {
    font-size: 0.75rem;
    color: #6e7687;
    background-color: #e9ecef;
    border-radius: 3px;
    padding: 0 .5rem;
    line-height: 2em;
    display: -ms-inline-flexbox;
    display: inline-flex;
    cursor: default;
    font-weight: 400;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.tag-info {
    background-color: #0A6ED1;
    color: #fff;
}
.tag-primary {
    background-color: #0854A1;
    color: #fff;
}
.tag-warning {
    background-color: #f1c40f;
    color: #fff;
}
.tag-red {
    background-color: #BB0000;
    color: #fff;
}
.tag-green {
    background-color: #107E3E;
    color: #fff;
}
.pagination {
  display: block;
  padding-left: 0;
  padding: 10px;
  list-style: none;
  border-radius: 3px;
}
.pagination li{
  display: inline-block;
  margin-right: 3px;
}
.pagination span{
  background-color: #0854A1;
  color: #ffffff;
  float: left;
  padding: 6px 13px;
  border-radius: 20px;
  text-decoration: none;
}
.pagination a {
  color: black;
  float: left;
  padding: 6px 13px;
  border-radius: 20px!important;
  text-decoration: none;
}
.pagination a.active {
  background-color: #4CAF50;
  color: white;
}
.page-item:first-child .page-link {
    margin-left: 2px;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.pagination a:hover:not(.active) {
    background-color: #f96332;
    color: #ffffff;
}
.pagination span {
    background-color: #f96332;
    color: #ffffff;
    float: left;
    padding: 6px 13px;
    border-radius: 20px;
    text-decoration: none;
}
.tim-row {
  margin-bottom: 20px;
}

.tim-white-buttons {
  background-color: #777777;
}

.typography-line {
  padding-left: 25%;
  margin-bottom: 35px;
  position: relative;
  display: block;
  width: 100%;
}

.typography-line span {
  bottom: 10px;
  color: #c0c1c2;
  display: block;
  font-weight: 400;
  font-size: 13px;
  line-height: 13px;
  left: 0;
  position: absolute;
  width: 260px;
  text-transform: none;
}

.tim-row {
  padding-top: 60px;
}

.tim-row h3 {
  margin-top: 0;
}

.offline-doc .page-header {
  display: flex;
  align-items: center;
}

.offline-doc .footer {
  position: absolute;
  width: 100%;
  background: transparent;
  bottom: 0;
  color: #fff;
  z-index: 1;
}

@media all and (min-width: 992px) {
  .sidebar .nav>li.active-pro {
    position: absolute;
    width: 100%;
    bottom: 10px;
  }
}

.card.card-upgrade .card-category {
  max-width: 530px;
  margin: 0 auto;
}