.page-header{
  /* color: var(--theme-color-primary); */
  font-size: 18px;
  line-height: .9em;
  margin-top: 10px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: .8125rem;
  color: #495057;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 0.25rem;
}

.dropdown-menu.show {
  width: 100%;
  position: absolute;
  will-change: transform;
  top: 0px;
  left: 0px;
  transform: translate3d(5px, 45px, 0px);
}

.dropdown-item{
    display: block;
    width: 100%;
    padding: 0.35rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-weight: bold;
}

.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #e1e1e1;
  text-decoration: none;
}

.block-title {
  font-size: 20px;
  margin-bottom: 6px;
  text-align: center;
  font-weight: bold;
}
.block-sub-title {
  font-size: 14px;
  margin-bottom: 6px;
  text-align: center;
}

.chosen-single.required {
  background-color: rgba(237, 35, 36, 0.1);
  border-color: #ed2324;
}

.font-12 {
  font-size: 12px;
}

.font-13 {
  font-size: 13px;
}

.nowrap {
  white-space: nowrap;
}

.star {
  color: #f75858;
  font-weight: bold;
}

.required {
  background-color: #ffe9e9;
  border: 1px solid #f75858;
}

.required:focus {
  background-color: #ffe9e9;
  border: 1px solid #f75858;
}

.validate {
  padding-top: 5px;
  font-size: 14px;
  color: #f75858;
}

.breadcrumb {
  background: #f7f7f7;
  border-bottom: 1px solid #e4e4e4;
  border-radius: 0;
  font-size: 13px;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.show-breadcrumb {
  padding-bottom: 0px;
}

.breadcrumb-item.active {
  /* font-size: 16px; */
  text-align: left;
  font-weight: bold;
  color: #212529;
}
.breadcrumb-item.active:hover {
  color: #007cf8;
}

.breadcrumb-item {
  /* font-size: 16px; */
  text-align: left;
  font-weight: normal;
  color: #868484;
}
.breadcrumb-item:hover {
  color: #007cf8;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
}

.form-row {
  margin: 0 0 10px 0;
}

.loader {
  border: 15px solid #f3f3f3;
  border-radius: 50%;
  /* border-top: 15px solid #f8ae20; */
  width: 90px;
  height: 90px;
  -webkit-animation: spin 0.7s linear infinite; /* Safari */
  animation: spin 0.7s linear infinite;
}

.loader-section {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
}

.loader-section > div {
  height: 100%;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.form-group .form-label-sm {
  font-size: 14px;
}

.form-control-datepicker-sm {
  background-image: url("../images/icon/calendar_dark_gray_16_x_16.png");
  background-position: right 7px center;
  background-repeat: no-repeat;
}

.scrolling {
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  height: 200px;
  overflow-y: scroll;
  padding: 15px;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/*
::-webkit-scrollbar:horizontal {
    width: 5px;5
}
*/

.pagination {
  /* background: #eeeeee; */
  display: flex;
  margin-bottom: 30px;
  padding: 7px;
}

.pagination .paging {
  align-self: center;
  font-size: 12px !important;
}

.pagination .page-information {
  font-size: 12px;
  font-weight: 700;
  margin-left: auto;
}

.pagination .page-information .page-summary label,
.pagination .page-information .page-size label {
  margin: 0;
}

.pagination .page-information .page-summary {
  margin-bottom: 5px;
  text-align: right;
}

.pagination .page-information .page-size label {
  margin-right: 5px;
}

.pagination .page-information .page-size select {
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.modal .modal-footer button {
  margin: 0 !important;
  margin-left: 15px !important;
}

.modal .modal-footer button:first-child {
  margin: 0 !important;
}

.footer-nav a {
  font-size: 12px;
  color: #6c757d;
}

.footer-nav i {
  font-size: 18px;
}

.footer-nav .nav-link {
  color: #666; /* ปกติ */
}

.footer-nav .nav-link.active {
  color: var(--theme-color-primary); 
}

.footer-nav .nav-link.active i {
  color: var(--theme-color-primary); 
}

.more-menu {
  position: fixed;
  bottom: 56px; /* เหนือ nav */
  left: 0;
  width: 100%;
  display: none;
  z-index: 1000;
  padding-bottom: 15px;
  box-shadow: 20px 20px 20px 20px rgb(0 0 0 / 10%);
}

.form-control-password {
  background-image: url("../images/icon/hide_gray_24_x_24.png");
  background-position: right 15px center;
  background-repeat: no-repeat;
}

.form-control-password.active {
  background-image: url("../images/icon/view_gray_24_x_24.png");
  background-position: right 15px center;
  background-repeat: no-repeat;
}
.white-block-verify {
  background-color: #fff;
  width: 40%;
}
.white-block {
  background-color: #fff;
  width: 80%;
}
.white-block-prod {
  background-color: #fff;
  width: 80%;
}
select.readonly {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
  background-color: transparent !important;
  border: 0 !important;
  cursor: default !important;
  text-align-last: center;
}

/* radio button */
@keyframes click-wave {
  0% {
    height: 40px;
    width: 40px;
    opacity: 0.35;
    position: relative;
  }
  100% {
    height: 100px;
    width: 100px;
    margin-left: -40px;
    margin-top: -40px;
    opacity: 0;
  }
}

.chosen-single {
  padding: 0.375rem 0.75rem !important;
  height: calc(2.25rem + 2px) !important;
}

button:disabled,
button[disabled] {
  opacity: 0.5;
  /* border: 1px solid #999999; */
  /* background-color: #cccccc; */
  /* color: #666666; */
}

.feed-subject {
  margin: auto;
  padding: 0;
}

.feed .feed-box .feed-subject {
  padding: 10px;
  float: none;
}
.feed-box {
  /* box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px; */
  border: 1px solid #ced4da;
  background: #fff;
  margin-bottom: 15px;
}
.feed-body {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
}
.feed-content{
  font-size:15px;
}

.social-footer {
  border-top: 1px solid #e7eaec;
  padding: 10px 15px;
  background: #f9f9f9;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(8);
  grid-template-rows: repeat(6);
  grid-gap: 2px;
}

.gallery__item {
  border: 1px solid #eee;
}

img {
  object-fit: cover;
}

.img-solo {
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 6;
}

.img-twin-1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}

.img-twin-2 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
}

.img-more-1 {
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 7;
}

.img-more-2 {
  grid-column-start: 6;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 4;
}

.img-more-3 {
  grid-column-start: 6;
  grid-column-end: 9;
  grid-row-start: 4;
  grid-row-end: 7;
}

.text-more-pic {
  color: #000000;
  font-size: 50px;
  grid-column-start: 7;
  grid-column-end: 7;
  grid-row-start: 5;
  grid-row-end: 5;
}

.privilege-shop{
    /* font-weight: bold; */
    font-size: 14px;
    /* height: 60px; */
    height: 20px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.privilege-exp{
  height: 20px;
  padding-top: 0.25rem;
  font-size:12px;
}
.privilege-point{
  height: 20px;
  padding-top: 0.5rem;
  font-size:12px;
}
/* .privilege-menu {
  padding-left: 15px;
  padding-right: 15px;
} */

.block-menu:link,
.block-menu:visited {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  height: 260px;
  box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
  /* border-radius: 8px; */
  color: #000000;
}
.block-menu:hover {
  box-shadow: 2px 2px 10px rgb(0 0 0 / 100%);
  color: #000000;
}

.block-menu .img-menu {
  display: block;
  width: 100%;
  height: 180px;
}
.block-menu .detail-menu {
  font-size: 13px;
  background-color: rgb(230, 230, 230);
  /* border: 0.1px solid #aaa; */
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  display: block;
  width: 100%;
  height: 50px;
}
.block-menu .shop-menu {
  font-size: 13px;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  display: block;
  width: 100%;
  height: 30px;
  color: rgba(141, 143, 143);
  /* border: 0.1px solid #aaa; */
}

/* =================== Privilege_detail ======================*/

.nav-tabs-custom {
  border-bottom: 2px solid #f6f6f6;
}

.nav-tabs-custom .nav-item {
  position: relative;
  color: #343a40;
}

.nav-pills>li>a, .nav-tabs>li>a {
  color: #495057;
  font-weight: 500;
}

.nav-tabs .nav-item {
  margin-top: auto;
  margin-bottom: -1px;
}

.nav-tabs-custom .nav-item .nav-link.active {
  color: #556ee6;
  font-weight: bold;
}

.nav-tabs-custom .nav-item .nav-link {
  border: none;
}

.nav-tabs-custom .nav-item .nav-link.active:after {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.nav-tabs-custom .nav-item .nav-link::after {
  content: "";
  background: #556ee6;
  height: 2px;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -1px;
  -webkit-transition: all 250ms ease 0s;
  transition: all 250ms ease 0s;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.block-image {
  border: 1px solid #f7f7f7;
}

.block-name {
  margin-bottom: 0.75rem;
  font-weight: bold;
  font-size: 20px;
}

.tab-pane {
  margin-top: 13px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 13px;
}
.line-dot-black {
  border: none;
  border-top: 1px dashed rgb(201, 201, 201);
  color: #fff;
  background-color: #fff;
  height: 2px;
  width: 100%;
}

/* ============= Privilege-History ========== */
.block-history:link,
.block-history:visited {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  height: 150px;
  box-shadow: 2px 5px 10px rgb(0 0 0 / 50%);
  /* border-radius: 8px; */
  color: #000000;
}
.block-history:hover {
  box-shadow: 2px 2px 10px rgb(0 0 0 / 100%);
  color: #000000;
}

.flip-clock-divider.minutes {
  clear: none;
}

.img-history {
  width: 100%;
  height: 120px;
  object-fit: cover;
  /* border: 1px solid #dbdbdb; */
  box-shadow: 1px 1px 5px rgb(0 0 0 / 100%);
}
.countdown {
  font-size: 50px;
  display: block;
  text-align: center;
  font-weight: bold;
}
.chosen-container-single .chosen-single {
  border-radius: 5px !important;
  border: 1px solid #ced4da !important;
}

.control-panel {
  background: #ffffff;
  padding: 15px;
}

.control-panel .control-panel-item,
.control-panel .control-panel-item .control-panel-title,
.control-panel .control-panel-item .control-panel-action {
  display: inline-block;
  vertical-align: middle;
}

.control-panel .control-panel-item .control-panel-title {
  color: #3b3b3b;
  font-size: 14px;
  margin-left: 15px;
  font-weight: bold;
}

.control-panel .control-panel-item .control-panel-action,
.control-panel .control-panel-item .control-panel-action .form-control {
  font-size: 14px;
  width: 100%;
}

.control-panel .control-panel-item .control-panel-action .form-control:focus {
  border: 1px solid #ced4da;
  box-shadow: none;
}
.discount-none {
  text-decoration: line-through;
}
.text-col-red {
  color: #ed2324;
}

.navbar-right-bottom {
  display: flex;
}

.navbar-right-bottom .navbar-search {
  align-items: center;
  display: inline-flex;
  position: relative;
  justify-content: center;
  vertical-align: middle;
  width: 100%;
}

.navbar-right-bottom .navbar-search input {
  background-image: url(../images/icon/magnifying_glass_gray_16_x_16.png);
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding: 5px 15px;
  vertical-align: middle;
  color: gray;
}
.navbar-right-bottom .button-search {
  position: absolute;
  right: 7px;
  height: 100%;
  width: 30px;
  opacity: 0;
  cursor: pointer;
}


.privilege-menu .list-gp-item .card-body .card-text .btn-submit{
  width: 40%;
}

@media (max-width: 1200px) {
  .white-block-verify {
    width: 40%;
  }
  .white-block {
    width: 80%;
  }
  .white-block-prod {
    background-color: #fff;
    width: 85%;
  }
  .input-radio:checked::before {
    height: 24px;
    width: 24px;
    position: absolute;
    content: " \25CF";
    display: block;
    right: 0.5px;
    font-size: 24px;
    text-align: center;
    line-height: 24px;
    color: rgb(255, 255, 255);
  }
  .privilege-menu .card-body .card-text .btn-submit{
      width: 65%;
  }
}
@media (max-width: 992px) {
  .white-block-verify {
    width: 40%;
  }
  .white-block {
    width: 85%;
    margin-bottom: 10px;
  }
  .white-block-prod {
    background-color: #fff;
    width: 100%;
  }
  .input-radio:checked::before {
    height: 24px;
    width: 24px;
    position: absolute;
    content: " \25CF";
    display: block;
    font-size: 24px;
    text-align: center;
    line-height: 24px;
    color: rgb(255, 255, 255);
  }
  .privilege-menu .card-body .card-text .btn-submit{
      width: 65%;
  }
}
@media (max-width: 768px) {
  .white-block-verify {
    width: 90%;
  }
  .white-block {
    width: 90%;
  }
  .input-radio:checked::before {
    height: 24px;
    width: 24px;
    position: absolute;
    content: " \25CF";
    display: block;
    font-size: 16px;
    top: 1px;
    text-align: center;
    line-height: 24px;
    color: rgb(255, 255, 255);
  }
  .privilege-menu .card-body .card-text .btn-submit{
      width: 65%;
  }

}
@media (max-width: 576px) {
  .privilege-menu .card-body .card-text .btn-submit{
      width: 100%;
  }
}
@media (max-width: 468px) {
  .white-block-verify {
    width: 90%;
  }
  .white-block {
    width: 90%;
  }
  .white-block-prod {
    background-color: #fff;
    width: 100%;
  }
  .input-radio:checked::before {
    height: 24px;
    width: 24px;
    position: absolute;
    content: " \25CF";
    display: block;
    font-size: 16px;
    top: 1px;
    text-align: center;
    line-height: 24px;
    color: rgb(255, 255, 255);
  }
  .privilege-menu .card-body .card-text .btn-submit{
      width: 100%;
  }
}

@media (max-width: 375px) {
  .white-block-verify {
    width: 90%;
  }
  .white-block {
    width: 90%;
  }
  .white-block-prod {
    background-color: #fff;
    width: 100%;
  }
  .privilege-menu .card-body .card-text .btn-submit{
      width: 100%;
  }
}
