.navbar,
.navbar-default {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.logo {
  max-height: 30px;

  padding-right: 20px;
}

body {
  position: relative;

  min-height: 100vh;
}

.content {
  margin-top: 4.5rem !important;
}

.dimbg-5 {
  border-radius: 0px !important;

  background-color: rgba(0, 0, 0, 0.5) !important;

  color: #fff !important;
}

.dimbg-2 {
  border-radius: 0px !important;

  background-color: rgba(0, 0, 0, 0.2) !important;

  color: #fff !important;
}

.dimbg-7 {
  border-radius: 0px !important;

  background-color: rgba(0, 0, 0, 0.7) !important;

  color: #fff !important;
}

.dimbg-0 {
  border-radius: 0px !important;

  background-color: rgba(0, 0, 0, 0) !important;

  color: #fff !important;

  border-color: rgba(0, 0, 0, 0) !important;
}

.dimbg-0:hover {
  border-radius: 0px !important;

  background-color: rgba(255, 255, 255, 0.3) !important;

  color: #fff !important;

  transition: 0.3s;
}

.wbg-3 {
  border-radius: 0px !important;

  background-color: rgba(255, 255, 255, 0.3) !important;

  color: rgb(255, 255, 255) !important;
}

.wbg-5 {
  border-radius: 0px !important;

  background-color: rgba(255, 255, 255, 0.3) !important;

  color: rgb(255, 255, 255) !important;
}

.white-hover {
  border-radius: 0px !important;

  background-color: rgba(0, 0, 0, 0) !important;

  color: rgb(255, 255, 255) !important;

  transition: all 0.5s;

  border-color: white !important;
}

.white-hover:hover {
  border-radius: 0px !important;

  background-color: rgba(255, 255, 255, 0.3) !important;

  color: rgb(255, 255, 255) !important;
}

.hidden {
  border-radius: 0px !important;

  background-color: rgba(255, 255, 255, 0) !important;
}

.hide {
  display: none;
}

body {
  background-image: url(../images/bg);

  background-position: center center;

  background-repeat: no-repeat;

  background-attachment: fixed;

  background-size: cover;

  background-color: #999;
}

.padding {
  padding: 15px;
}

html {
  font-weight: 300;

  font-family: "Kanit", sans-serif;
}

.panel-content {
  background: rgba(0, 0, 0, 0.5);

  padding: 16px 20px;

  min-width: 100% !important;
}

.btn-primary {
  background-color: rgb(0, 132, 255) !important;

  border-color: rgb(0, 119, 230) !important;
}

.btn-primary:hover {
  background-color: rgb(0, 119, 230) !important;

  border-color: rgb(0, 132, 255) !important;
}

.btn-primary:focus {
  background-color: rgb(0, 75, 146) !important;

  border-color: rgb(38, 122, 200) !important;
}

h1.header-title,
h2.header-title {
  text-shadow: #fff 0px 0px 1px, #fff 0px 0px 1px, #fff 0px 0px 1px,
    #fff 0px 0px 1px, #fff 0px 0px 1px, #fff 0px 0px 1px;

  -webkit-font-smoothing: antialiased;
}

.shadow-hover {
  transition: box-shadow 0.3s ease-in-out;
}

.shadow-hover:hover {
  -webkit-box-shadow: 0px 0px 25px 0px rgba(120, 120, 120, 0.3);

  -moz-box-shadow: 0px 0px 25px 0px rgba(120, 120, 120, 0.3);

  box-shadow: 0px 0px 25px 0px rgba(120, 120, 120, 0.3);
}

.list-group-item {
  background: rgba(255, 255, 255, 0.75) !important;
}

.list-group-item:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

.list-group-item.bg-success {
  background-color: rgba(6, 183, 108, 0.75) !important;
}

.list-group-item.border-success {
  border: 1px solid rgba(22, 211, 154, 0.45) !important;
}

.itemshop {
  -webkit-transition: opacity 0.1s ease-in-out;

  -moz-transition: opacity 0.1s ease-in-out;

  transition: opacity 0.1s ease-in-out;
}

.itemshop .item-list {
  min-height: 193px;

  margin-bottom: 25px;

  padding-right: 15px;

  padding-left: 15px;
}

.itemshop .item-list .item {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(120, 120, 120, 0.1);

  -moz-box-shadow: 0px 0px 10px 0px rgba(120, 120, 120, 0.1);

  box-shadow: 0px 0px 10px 0px rgba(120, 120, 120, 0.1);

  transition: box-shadow 0.3s ease-in-out;
}

.itemshop .item-list .item:hover {
  -webkit-box-shadow: 0px 0px 15px 0px rgba(120, 120, 120, 0.75);

  -moz-box-shadow: 0px 0px 15px 0px rgba(120, 120, 120, 0.75);

  box-shadow: 0px 0px 15px 0px rgba(120, 120, 120, 0.75);
}

.price-text {
  color: rgb(255, 196, 0);
}

.itemshop .item-list .bc-text {
  color: #fff;

  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.75);

  position: absolute;

  top: 0.3rem;

  padding-left: 0.3rem;

  padding-right: 0.3rem;

  font-size: 12px;
}

.btn-outline-light:hover {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.btn-outline-light:active {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.btn-outline-light:focus {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.btn-outline-light.dropdown-toggle .show {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.offer-percent {
  background: #4c6b22 !important;

  color: #a4d007 !important;

  position: absolute;

  right: 0px;

  top: 0px;

  text-align: center;

  padding: 3px 7px;

  font-size: 18px;

  z-index: 100;
}

.offer {
  background: rgb(177, 11, 163) !important;

  color: rgb(255, 117, 255) !important;

  position: absolute;

  right: 0px;

  top: 0px;

  text-align: center;

  padding: 3px 7px;

  font-size: 18px;

  z-index: 100;
}

.item {
  position: relative;
}
.itemshop .item-list .item-hover {
  cursor: default;

  display: none;

  text-align: center;

  width: 100%;

  height: 100%;

  /* max-width: 100%;

  max-height: 100%; */

  position: absolute;
  top: 0;
  left: 0;

  background: rgba(0, 0, 0, 0.75);
}
.item-hover:hover {
}
.item-hover-inner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translate(0, -50%);
}

.itemshop .item-list .item-hover .title {
  font-size: 16px;

  color: #fff;

  white-space: nowrap;

  text-overflow: ellipsis;

  overflow: hidden;
}

.itemshop .item-list .item-hover .action {
  margin-top: 10px;
}

.itemshop .item-list .item-details .title {
  cursor: default;

  margin-top: -35px;

  position: relative;

  background: rgba(0, 0, 0, 0.5);

  width: 100%;

  height: 35px;

  line-height: 35px;

  padding-left: 8px;

  padding-right: 8px;
}

.itemshop .item-list .item-details .title-item {
  float: left;

  width: 65%;

  white-space: nowrap;

  text-overflow: ellipsis;

  overflow: hidden;

  color: white;
}

.itemshop .item-list .item-details .pull-right {
  text-align: right;

  float: right;

  width: 35%;

  white-space: nowrap;

  text-overflow: ellipsis;

  overflow: hidden;
}

.itemshop .item-list .item .item-sm-up .title {
  padding: 6px 8px;

  color: #fff;

  background-color: rgba(0, 0, 0, 0.5);

  white-space: nowrap;

  text-overflow: ellipsis;

  overflow: hidden;
}

.itemshop .item-list .item .item-sm-up .details {
  padding: 3px 8px;

  font-size: 12px;

  color: #fff;

  background-color: #546e7a;

  white-space: nowrap;

  text-overflow: ellipsis;

  overflow: hidden;
}

.itemshop .item-list .item .item-sm-up .btn {
  border-radius: 0 !important;
}

.itemshop .img-panel img {
  width: 100%;
  max-width: 100%;
}

.white {
  color: white !important;
}

/* Respondsive css */

@media (min-width: 100px) {
  .form-group .text-right {
    text-align: left !important;
  }
}

@media (min-width: 576px) {
  .form-group .text-right {
    text-align: left !important;
  }
}

@media (min-width: 768px) {
  .form-group .text-right {
    text-align: right !important;
  }
}

@media (min-width: 992px) {
  .form-group .text-right {
    text-align: right !important;
  }
}

@media (min-width: 1200px) {
  .form-group .text-right {
    text-align: right !important;
  }
}

.tm-image {
  width: 100%;

  max-width: 400px;

  height: auto;
}

.img-auto {
  width: 100%;

  height: auto;
}

.img-bg-preview {
  width: 100%;

  height: auto;
}

.center-block {
  margin: auto;

  width: 50%;

  height: 50%;

  padding: 10px;

  color: white;
}

.tw-image {
  width: auto;

  max-height: 300px;
}

.header-title {
  font-family: "Kanit";

  margin-bottom: 10px;

  color: white;

  border-bottom: 1px solid #eee;

  text-shadow: 0px 1px 1px rgb(0, 0, 0);
}

.header-title small {
  font-size: 50%;
}

.image-panel {
  color: #55595c;

  background-color: #fff;

  background-image: none;

  -webkit-background-clip: padding-box;

  background-clip: padding-box;

  border: 1px solid rgba(0, 0, 0, 0.1);

  border-radius: 0.25rem;

  padding: 12px 12px;

  margin-bottom: 10px;

  text-align: center;

  -webkit-transition: background-color 0.2s ease-out;

  -moz-transition: background-color 0.2s ease-out;

  -o-transition: background-color 0.2s ease-out;

  transition: background-color 0.2s ease-out;
}

.image-panel.sm {
  padding: 5px !important;
}

.select-img .image-panel:hover {
  cursor: pointer;

  background-color: rgb(225, 225, 225) !important;
}

.delete-img {
  position: absolute;

  right: 15%;

  top: 2%;

  cursor: pointer;
}

.article-content li {
  margin-top: 0.15em;

  margin-bottom: 0.15em;
}

.article-content img {
  cursor: pointer;
}

.btn-group .btn {
  white-space: nowrap;

  text-overflow: ellipsis;

  overflow: hidden;
}

.pace {
  -webkit-pointer-events: none;

  pointer-events: none;

  -webkit-user-select: none;

  -moz-user-select: none;

  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #00a2ff;

  position: fixed;

  z-index: 2000;

  top: 0;

  right: 100%;

  width: 100%;

  height: 2px;
}

.pace .pace-progress-inner {
  display: block;

  position: absolute;

  right: 0px;

  width: 100px;

  height: 100%;

  box-shadow: 0 0 10px #00a2ff, 0 0 5px #00a2ff;

  opacity: 1;

  -webkit-transform: rotate(3deg) translate(0px, -4px);

  -moz-transform: rotate(3deg) translate(0px, -4px);

  -ms-transform: rotate(3deg) translate(0px, -4px);

  -o-transform: rotate(3deg) translate(0px, -4px);

  transform: rotate(3deg) translate(0px, -4px);
}

.pace .pace-activity {
  display: block;

  position: fixed;

  z-index: 2000;

  top: 15px;

  right: 15px;

  width: 14px;

  height: 14px;

  border: solid 2px transparent;

  border-top-color: #00a2ff;

  border-left-color: #00a2ff;

  border-radius: 10px;

  -webkit-animation: pace-spinner 400ms linear infinite;

  -moz-animation: pace-spinner 400ms linear infinite;

  -ms-animation: pace-spinner 400ms linear infinite;

  -o-animation: pace-spinner 400ms linear infinite;

  animation: pace-spinner 400ms linear infinite;
}

#loading-pop {
  display: none;

  position: fixed;

  bottom: 10%;

  left: 50%;

  padding: 12px 20px;

  margin-left: -58px;

  font-size: 14px;

  background-color: #fff;

  color: #000;

  -webkit-box-shadow: 0px 0px 10px 0px rgba(100, 100, 100, 0.7);

  -moz-box-shadow: 0px 0px 10px 0px rgba(100, 100, 100, 0.7);

  box-shadow: 0px 0px 10px 0px rgba(100, 100, 100, 0.7);

  z-index: 999999;
}

@-webkit-keyframes pace-spinner {
  0% {
    -webkit-transform: rotate(0deg);

    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);

    transform: rotate(360deg);
  }
}

@-moz-keyframes pace-spinner {
  0% {
    -moz-transform: rotate(0deg);

    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(360deg);

    transform: rotate(360deg);
  }
}

@-o-keyframes pace-spinner {
  0% {
    -o-transform: rotate(0deg);

    transform: rotate(0deg);
  }

  100% {
    -o-transform: rotate(360deg);

    transform: rotate(360deg);
  }
}

@-ms-keyframes pace-spinner {
  0% {
    -ms-transform: rotate(0deg);

    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);

    transform: rotate(360deg);
  }
}

@keyframes pace-spinner {
  0% {
    transform: rotate(0deg);

    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);

    transform: rotate(360deg);
  }
}

.error_form {
  color: #ff0000;

  text-align: center;
}

.error_form-left {
  color: #ff0000;

  text-align: left;
}

#footer {
  padding-top: 1.5rem !important;

  position: absolute;

  bottom: 0;

  width: 100%;

  height: 2.5rem; /* Footer height */
}

#footer h5 {
  padding-left: 10px;

  border-left: 3px solid #eeeeee;

  padding-bottom: 6px;

  margin-bottom: 20px;

  color: #ffffff;
}

#footer a {
  color: #ffffff;

  text-decoration: none !important;

  background-color: transparent;

  -webkit-text-decoration-skip: objects;
}

#footer ul.social li {
  padding: 3px 0;
}

#footer ul.social li a i {
  margin-right: 5px;

  font-size: 25px;

  -webkit-transition: 0.5s all ease;

  -moz-transition: 0.5s all ease;

  transition: 0.5s all ease;
}

#footer ul.social li:hover a i {
  font-size: 30px;

  margin-top: -10px;
}

#footer ul.social li a,
#footer ul.quick-links li a {
  color: #ffffff;
}

#footer ul.social li a:hover {
  color: #eeeeee;
}

#footer ul.quick-links li {
  padding: 3px 0;

  -webkit-transition: 0.5s all ease;

  -moz-transition: 0.5s all ease;

  transition: 0.5s all ease;
}

#footer ul.quick-links li:hover {
  padding: 3px 0;

  margin-left: 5px;

  font-weight: 700;
}

#footer ul.quick-links li a i {
  margin-right: 5px;
}

#footer ul.quick-links li:hover a i {
  font-weight: 700;
}

@media (max-width: 767px) {
  #footer h5 {
    padding-left: 0;

    border-left: transparent;

    padding-bottom: 0px;

    margin-bottom: 10px;
  }
}

.copyright {
  padding-top: 15px;
}

.modal-login {
  color: #636363;

  width: 350px;
}

.modal-login .modal-content {
  padding: 20px;

  border-radius: 0px;

  border: none;
}

.modal-login .modal-header {
  border-bottom: none;

  position: relative;

  justify-content: center;
}

.modal-login h4 {
  text-align: center;

  font-size: 26px;

  margin: 30px 0 -15px;
}

.modal-login .form-control:focus {
  border-color: #70c5c0;
}

.modal-login .form-control,
.modal-login .btn {
  min-height: 40px;

  border-radius: 3px;
}

.modal-login .close {
  position: absolute;

  top: -5px;

  right: -5px;
}

.modal-login .modal-footer {
  background: #ecf0f1;

  border-color: #dee4e7;

  text-align: center;

  justify-content: center;

  margin: 0 -20px -20px;

  border-radius: 5px;

  font-size: 13px;
}

.modal-login .modal-footer a {
  color: #999;
}

.modal-login .avatar {
  position: absolute;

  margin: 0 auto;

  left: 0;

  right: 0;

  top: -70px;

  width: 95px;

  height: 95px;

  border-radius: 50%;

  z-index: 9;

  background: #6087c7;

  padding: 15px;

  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.modal-login .avatar img {
  width: 100%;
}

.modal-login.modal-dialog {
  margin-top: 80px;
}

.btn {
  border-radius: 0px !important;
}

.modal-login .btn {
  color: #fff;

  border-radius: 4px;

  background: #6087c7;

  text-decoration: none;

  transition: all 0.4s;

  line-height: normal;

  border: none;
}

.modal-login .btn:hover,
.modal-login .btn:focus {
  background: #45aba6;

  outline: none;
}

.trigger-btn {
  display: inline-block;

  margin: 100px auto;
}

.dropdown-item {
  cursor: pointer !important;

  color: rgb(255, 255, 255) !important;

  background-color: rgba(0, 0, 0, 0) !important;
}

.dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.198) !important;
}

.dropdown-item:focus {
  color: rgb(0, 0, 0) !important;

  background-color: rgb(255, 255, 255) !important;
}

.dropdown-menu {
  top: 130% !important;

  right: 45% !important;

  background-color: rgba(0, 0, 0, 0.5) !important;

  border-radius: 0px !important;
}

.pointer {
  cursor: pointer !important;
}

.logout_btn:hover {
  background-color: #dc3545 !important;

  color: white !important;

  border-color: white !important;
}

.logout_btn:focus {
  background-color: rgb(155, 36, 48) !important;

  border-color: white !important;

  color: white !important;
}

.icon_cate {
  max-width: 24px;

  max-height: 24px;
}

.filter-selection:hover {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.filter-selection:active {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.filter-selection:focus {
  color: rgb(255, 255, 255) !important;

  border-color: rgb(255, 255, 255) !important;
}

.filter-selection-selected:hover {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.filter-selection-selected:active {
  color: rgb(0, 0, 0) !important;

  border-color: #000 !important;
}

.filter-selection-selected:focus {
  color: rgb(0, 0, 0) !important;

  border-color: rgb(0, 0, 0) !important;
}

.filter-selection-selected {
  background-color: white !important;

  color: rgb(0, 0, 0) !important;

  border-color: rgb(0, 0, 0) !important;
}

.category_listing {
  padding-bottom: 10px;

  padding-top: -5px;
}

.user-info-panel {
  padding-bottom: 5px;
}

.user-info-sub {
  padding-left: 5px;

  font-size: 85%;
}

.user-info-head {
  font-size: 24px;
}

.user-setting-panel {
  padding-top: 15px;

  padding-bottom: 15px;
}

.quick-panel {
  text-align: center;
}

.table thead {
  background-color: white;

  color: black;

  text-align: center;

  font-size: 0.9rem;
}
.table thead th,
.table thead td {
  vertical-align: middle !important;
}

.table tbody {
  background-color: white;

  color: black;

  text-align: center;
}

.dataTables_info {
  color: white !important;
}

.dataTables_length {
  color: white !important;
}

.dataTables_filter {
  color: white !important;
}

.paginate_button {
  border-color: white !important;

  background: transparent !important;

  color: white !important;
}

.paginate_button .current {
  border-color: white !important;

  background: transparent !important;

  color: white !important;
}

.table {
  min-width: 100%;

  display: block !important;

  overflow-x: auto;
}

.col-centered {
  float: none;

  margin: 0 auto;
}

.help-title {
  transition: 0.3s;
}

.help-title:hover {
  border-radius: 0px !important;

  background-color: rgba(255, 255, 255, 0.3) !important;

  color: rgb(255, 255, 255) !important;

  transition: 0.3s;
}

.product_view .modal-dialog {
  max-width: 800px;

  width: 100%;
}

.pre-cost {
  text-decoration: line-through;

  color: #a5a5a5;
}

.space-ten {
  padding: 10px 0;
}

.img-responsive {
  width: 100%;

  height: auto;
}

.product_content .col-sm {
  text-align: center;
}

.result-backend {
  padding: 15px;
}

.backend-category-header {
  padding: 15px;

  color: black;

  background: white;

  white-space: nowrap;
}

.backend-category-header-sub {
  white-space: nowrap;

  display: inline-block;
}

.btn-backend {
  padding: 2px;
}

.custom-select {
  width: 100%;
}

.td {
  font-size: 1px;
}

#nav_user .btn-outline-light:active,
#nav_user .btn-outline-light.active,
#nav_user .show > .btn-outline-light.dropdown-toggle {
  color: #000 !important;
  background-color: #fff;
  border-color: #f8f9fa;
}
