:root {
  --header-height: 70px;
}

body {
  font-family: 'NotoSansThai', system-ui, -apple-system, sans-serif;
  color: var(--main-color-font);
}

#main {}

h1, h2, h3, h4, h5, h6 {
  position: relative;
}

@media (min-width: 1200px) {
  .container {
    /* max-width: 1200px; */
    max-width: 1160px;
  }
}

.navbar {
  position: relative;
  padding: 0;
  background-color: var(--main-color);
  /* background-image: linear-gradient( to right bottom, #c61c6c, #c7abab ); */
  color: #ffffff;
  -webkit-box-shadow: 0 1px 4px 0 rgb(0 0 0 / 22%);
  box-shadow: 0 1px 4px 0 rgb(0 0 0 / 22%);
}

.navbar-sticky {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 3;
}

.navbar .logo {
  width: 50px;
}

.navbar-expand-lg .navbar-collapse {
  height: var(--header-height);
}

.navbar-expand-lg .navbar-nav {
  align-items: center;
}

.navbar-expand-lg .navbar-nav .nav-link {
  -webkit-transition: all .2s linear 0s;
  -moz-transition: all .2s linear 0s;
  -ms-transition: all .2s linear 0s;
  transition: all .2s linear 0s;
  color: #ffffff;
  /* font-weight: bold; */
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  color: #ffffff;
}

.navbar-expand-lg .navbar-nav .nav-link:focus {
  color: #ffffff;
}

@media (min-width: 992px) {
  .navbar .btn-menu {
    display: none;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

.navbar .nav-link {
  display: flex;
  align-items: center;
}

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

.navbar .nav-link span {
  font-size: 16px;
}

.navbar .sign-in {
  display: flex;
  align-items: center;
}

.navbar .sign-in i {
  font-size: 25px !important;
}

.navbar .profile i {
  font-size: 25px;
}

.navbar .cart-icon {
  position: relative;
}

.navbar .cart-icon i {
  font-size: 25px;
}

.navbar .cart-icon .count {
  position: absolute;
  color: #ffffff;
  left: 17px;
  top: -6px;
  background-color: #f00;
  padding: 0.2em 0.5em 0.3em 0.42em;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  border-radius: 15px;
}

.navbar .cart-icon .remaining-time {
  position: absolute;
  bottom: -11px;
  left: -2px;
  font-size: 12px;
  color: white;
  text-align: center;
  background-color: #f00;
  line-height: 1;
  border-radius: 15px;
  padding: 0.1rem 0.2rem;
}

.navbar .profile {
  display: flex;
  align-items: center;
  max-width: 140px;
}

.navbar .profile img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid;
}

.navbar .profile span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar .member-menu {
  height: var(--header-height);
  flex-direction: row;
}

@media screen and (max-width: 1199.5px) {
  .navbar .nav-link i {
    font-size: 14px;
  }

  .navbar .nav-link span {
    font-size: 14px;
  }
}

@media (max-width: 991.5px) {
  .navbar .member-menu .nav-link {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }

  .navbar .member-menu .cart {
    display: none;
  }
}

.navbar .btn-menu i {
  font-size: 30px;
}

.main-slide {
  position: relative;
  min-height: var(--header-height);
  /* background-color: var(--main-color); */
}

.main-slide .navbar {
  /* background-color: unset;
  box-shadow: unset; */
}

.vh-content {
  min-height: calc(100vh - 132px);
  padding: 30px 0;
}

.mt-navbar {
  margin-top: var(--header-height);
}

.card-1 {
  border-radius: 1rem;
  border: 2px solid rgba(0, 0, 0, .125);
}

.card-2 {
  border-radius: 8px;
  border: unset;
  -webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.card-2 .dividing-line {
  border-bottom: 1px solid #ced0d4;
}

@media (min-width: 576px) {
  .card-login {
    min-width: 500px;
  }
}

.card-login .card-body {
  padding: 20px 30px;
}

.bg-primary {
  background-color: var(--main-color) !important;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--main-color);
}

.btn-primary {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.btn-primary:hover {
  color: #fff;
  background-color: #cd0062;
  border-color: #cd0062;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
  color: #fff;
  background-color: #a8185c;
  border-color: #9e1656;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(207, 62, 130, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(207, 62, 130, 0.5);
}

.btn-check:checked+.btn-primary,
.btn-check:active+.btn-primary, .btn-primary:active, .btn-primary.active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #9e1656;
  border-color: #951551;
}

.btn-check:checked+.btn-primary:focus,
.btn-check:active+.btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(207, 62, 130, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(207, 62, 130, 0.5);
}

.btn-primary:disabled, .btn-primary.disabled {
  color: #fff;
  background-color: #c61c6c;
  border-color: #c61c6c;
}

.btn-outline-primary {
  color: #c61c6c;
  border-color: #c61c6c;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #c61c6c;
  border-color: #c61c6c;
}

.btn-check:focus+.btn-outline-primary, .btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(207, 62, 130, 0.5);
}

.btn-check:checked+.btn-outline-primary, .btn-check:active+.btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
  color: #fff;
  background-color: #c61c6c;
  border-color: #c61c6c;
}

.btn-check:checked+.btn-outline-primary:focus, .btn-check:active+.btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
  box-shadow: 0 0 0 0.25rem rgba(207, 62, 130, 0.5);
}

.btn-outline-primary:disabled, .btn-outline-primary.disabled {
  color: #c61c6c;
  background-color: transparent;
}

.btn-secondary {
  color: #fff;
  background-color: #923267;
  border-color: #923267;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #7c2b58;
  border-color: #752852;
}

.btn-check:focus+.btn-secondary, .btn-secondary:focus {
  color: #fff;
  background-color: #7c2b58;
  border-color: #752852;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(162, 81, 126, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(162, 81, 126, 0.5);
}

.btn-check:checked+.btn-secondary,
.btn-check:active+.btn-secondary, .btn-secondary:active, .btn-secondary.active,
.show>.btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: #752852;
  border-color: #6e264d;
}

.btn-check:checked+.btn-secondary:focus,
.btn-check:active+.btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary.active:focus,
.show>.btn-secondary.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.25rem rgba(162, 81, 126, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(162, 81, 126, 0.5);
}

.btn-secondary:disabled, .btn-secondary.disabled {
  color: #fff;
  background-color: #923267;
  border-color: #923267;
}

.btn-light, .btn-light:hover, .btn-light:active {
  color: var(--main-color-font);
}

.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #07c655;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: unset;
}

.btn-line i {
  font-size: 25px;
}

.btn-line:hover {
  color: #ffffff;
  background-color: #0ab04d;
}

.btn, .form-control, .form-select {
  box-shadow: unset !important;
}

.clear-input{
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translate(-50%,-50%);
  font-size: 30px;
  line-height: 1;
  background-color: #ffffff;
  cursor: pointer;
}

.header-page {
  /* background-color: #a62066;
  padding: 60px 0;
  color: #fff; */
  background-image: linear-gradient( to right bottom, #e8e8e8, #fefefe );
  padding: 60px 0 60px 0;
  /* color: #d00062; */
}

.content-page {
  position: relative;
  padding: 60px 0;
}

.fw-500 {
  font-weight: bold;
}

.card-member-menu {
  margin: auto;
  border-top: 2px solid var(--main-color);
  border-radius: 8px;
  margin-top: 45px;
  padding-top: 45px;
}

.card-member-menu img.profile-picture {
  position: absolute;
  top: -45px;
  left: calc(50% - 45px);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--main-color);
  object-fit: contain;
  border: 2px solid var(--main-color);
}

.card-member-menu i.profile-picture {
  position: absolute;
  top: -45px;
  left: calc(50% - 45px);
  font-size: 86px;
  line-height: 0;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  background-color: var(--main-color);
  color: #ffffff;
}

.menu-member {
  list-style: none;
  text-align: left;
  padding: 0;
}

.menu-member li {
  padding: 5px 10px;
  border-left: 2px solid rgb(228 45 128 / 0%);
  border-bottom: 1px solid rgb(192 192 192 / 25%);
}

.menu-member li:first-child {
  border-top: 1px solid rgb(192 192 192 / 25%);
}

.menu-member li.active {
  border-left: 2px solid var(--main-color);
  background-color: #ffeff6;
}

.menu-member li.active a span {
  color: var(--main-color);
}

.menu-member a {
  text-decoration: none;
  color: var(--main-color-font);
}

.menu-member a i {
  color: var(--main-color);
  font-size: 18px;
}

.card-member-content {
  margin: auto;
  border-top: 2px solid var(--main-color);
  border-radius: 8px;
  margin-top: 45px;
  min-height: calc(100% - 45px);
}

.card-member-content img.profile-picture {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--main-color);
  object-fit: contain;
  border: 2px solid var(--main-color);
}

.card-member-content i.profile-picture {
  display: inline-block;
  font-size: 86px;
  line-height: 0;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  background-color: var(--main-color);
  color: #ffffff;
}

@media (max-width: 991.5px) {
  .card-member-content {
    margin-top: unset;
  }
}

.data-address .item-address {
  padding: 15px 0;
  border-bottom: 1px solid #ededed;
}

.data-address .item-address:first-child {
  border-top: 1px solid #ededed;
}

.data-address .item-address .title {
  font-size: 14px;
  color: #999;
}

.nav-fixed-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  font-size: 13px;
  -webkit-box-shadow: 0 0 9px 0px rgb(0 0 0 / 25%);
  box-shadow: 0 0 9px 0px rgb(0 0 0 / 25%);
  z-index: 1;
}

.nav-fixed-bottom .nav-link {
  padding: 0.1rem 0 0.3rem 0;
  color: var(--main-color-font);
}

.nav-fixed-bottom .nav-link i {
  font-size: 20px;
}

.nav-fixed-bottom .cart-icon {
  position: relative;
  display: inline-block;
}

.nav-fixed-bottom .cart-icon .count {
  position: absolute;
  color: #ffffff;
  left: 17px;
  top: -6px;
  background-color: #f00;
  padding: 0.2em 0.5em 0.3em 0.42em;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  border-radius: 15px;
}

.nav-fixed-bottom .cart-icon .remaining-time {
  position: absolute;
  bottom: -11px;
  left: calc(50% - 14px);
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  background-color: #f00;
  line-height: 1;
  border-radius: 15px;
  padding: 0.1rem 0.2rem;
}

.second-slide {
  position: relative;
  padding: 30px 0;
  /* border-bottom: 7px solid #a62066; */
}

.menu-service {
  position: relative;
  overflow: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

.menu-service .row-service {
  display: flex;
}

.menu-service .col-service {
  flex: 1 0 0%;
  margin-right: 30px;
  
}

@media screen and (max-width: 991.5px) {

  .menu-service {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .menu-service .col-service {
    margin-right: 15px;
  }

}

.menu-service .col-service:last-child {
  margin-right: 0;
}

.menu-service .item {
  max-width: 300px;
  min-width: 200px;
  margin: auto;
  -webkit-transition: all .2s linear 0s;
  -moz-transition: all .2s linear 0s;
  -ms-transition: all .2s linear 0s;
  transition: all .2s linear 0s;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
}

.menu-service .item:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
}

.menu-service .item a {
  color: var(--main-color-font);
  text-decoration: unset;
}

@media (max-width: 991.5px) {

  .second-slide {
    padding: 15px 0;
  }

  .menu-service .col-service .item {
    min-width: 150px;
  }

}

/* scrollbar width */

.menu-service::-webkit-scrollbar {
  height: 10px;
}

/* scrollbar Track */

.menu-service::-webkit-scrollbar-track {
  /* -webkit-box-shadow: inset 0 0 2px rgb(0 0 0 / 30%); */
  background: #d2d2d2;
  border-radius: 10px;
}

/* scrollbar Handle */

.menu-service::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}

/* scrollbar Handle on hover */

.menu-service::-webkit-scrollbar-thumb:hover {
  background: var(--main-color);
}

.menu-service::-webkit-scrollbar-button:start:increment {
  width: 40%;
  display: block;
}

.menu-service::-webkit-scrollbar-button:end:increment {
  width: 40%;
  display: block;
}

@media (max-width: 991.5px) {

  .menu-service::-webkit-scrollbar-button:start:increment {
    width: 20%;
  }
  
  .menu-service::-webkit-scrollbar-button:end:increment {
    width: 20%;
  }

}

/* Section Lottery */

.section-lottery {
  padding: 1.5rem 0;
}

.search-lottery {
  position: relative;
  padding: 1.5rem;
  background-color: white;
  border-radius: 10px;
  /* box-shadow: rgb(0 0 0 / 22%) 0px 1px 4px 0px; */
  /* box-shadow: rgb(0 0 0 / 60%) 0px 1px 9px 0px; */
  box-shadow: 0 10px 40px -4px rgb(0 0 0 / 18%), 0 8px 22px -6px rgb(0 0 0 / 22%);
  max-width: 800px;
  margin: auto;
}

.search-lottery .frm-title {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
  /* color: #a62066; */
}

.search-lottery .frm-search-lottery .lottery-type select {
  height: 40px;
}

.search-lottery .frm-search-lottery .lottery-set select {
  height: 40px;
}

.search-lottery .frm-search-lottery .lottery-number input {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #a62066;
  border: 2px solid;
  height: 60px;
  /* width: 60px; */
  padding: 5px;
}

.search-lottery .frm-search-lottery .lottery-number input::placeholder {
  color: #d5d5d5 !important;
  opacity: 1;
  /* Firefox */
}

.search-lottery .frm-search-lottery .lottery-number input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #d5d5d5 !important;
}

.search-lottery .frm-search-lottery .lottery-number input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #d5d5d5 !important;
}

.search-lottery .frm-search-lottery .item-lottery-cat {
  padding: 5px 10px;
  /* background-color: #363636;
  color: #ffffff; */
  background-color: #e8e8e8;
  color: #000000;
  font-weight: bold;
  width: 100%;
  text-align: center;
  border-radius: 0.25rem;
  cursor: pointer;
}

.search-lottery .frm-search-lottery input[type=radio]:checked+label,
.search-lottery .frm-search-lottery input[type=checkbox]:checked+label {
  background-color: #ffa600;
  /* background-color: #c61c6c; */
  color: #fff;
}

.search-lottery .frm-search-lottery .modal_random_lottery{
  padding: 5px 10px;
}

.search-lottery .frm-search-lottery .search {
  /* padding: 15px; */
}

@media screen and (max-width: 991.5px) {

  .search-lottery {
    padding: 1.5rem 1rem;
  }

}

@media screen and (max-width: 575.5px) {

  .search-lottery .frm-search-lottery .lottery-number input {
    font-size: 30px;
    height: 50px;
  }
}

.section-lottery .result-lottery {
  padding: 1.5rem 0 0 0;
  min-height: 150px;
}

.grid-lottery {
  margin-left: -7px;
  margin-right: -7px;
}

.grid-lottery .item-grid {
  float: left;
  width: 50%;
  padding-right: 7px;
  padding-left: 7px;
  margin-bottom: 14px;
}

@media screen and (min-width: 450px) {
  .grid-lottery .item-grid {
    width: 50%;
  }
}

@media screen and (min-width: 768px) {
  .grid-lottery .item-grid {
    width: 33.333%;
  }
}

@media screen and (min-width: 1200px) {
  .grid-lottery .item-grid {
    width: 25%;
  }
}

.data-random-lottery .grid-lottery .item-grid {
  width: 50%;
}

.item-lottery {
  position: relative;
  background-color: #363636;
  border: 1px solid #363636;
  max-width: 450px;
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
}

.item-lottery .lottery-img-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.item-lottery .lottery-img-group.groups {
  margin-top: -35%;
}

.item-lottery.selected .lottery-img-group::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(198 28 108 / 28%);
  z-index: 1;
}

.item-lottery.selected .lottery-img-group::after {
  content: "\f408";
  font-family: bootstrap-icons !important;
  position: absolute;
  top: calc(50% - 70px);
  left: calc(50% - 45px);
  font-size: 90px;
  color: #ffffff;
  z-index: 1;
  opacity: .65;
}

@media screen and (max-width: 991.5px) {
  .item-lottery.selected .lottery-img-group::after {
    top: calc(50% - 45px);
    left: calc(50% - 30px);
    font-size: 60px;
  }
}

.item-lottery.sold {
  filter: grayscale(1);
}

.item-lottery .lottery-img-group .lottery-img {
  width: 100%;
  max-width: 450px;
}

.item-lottery .lottery-img-group .lottery-img.imgs {
  margin-top: -35%;
}

.item-lottery .lottery-img-group .head-img {
  position: absolute;
  width: 100%;
  max-width: 32%;
  max-height: 100%;
}

.item-lottery .lottery-action {
  padding: 5px;
  text-align: center;
}

.item-lottery .lottery-action .action-add-cart {
  color: #ffffff;
}

.item-lottery .lottery-action .action-take-out-cart {
  color: #ff0000;
}

.item-lottery .lottery-action .action-sold {
  color: #c8c8c8;
}

@media (max-width: 991.5px) {
  .item-lottery .lottery-action {
    font-size: 13px;
  }
}

@media (max-width: 767.5px) {}

/* End Section Lottery */

/* Shop Default */

.shop-default {
  position: relative;
  padding: 30px 0;
  border-bottom: 1px solid rgb(198 28 108 / 15%);
}

.shop-default .shop-content {
  max-width: 800px;
  margin: auto;
}

.shop-default .shop-banner {
  min-height: 50px;
  max-height: 300px;
}

.shop-default .shop-banner img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.shop-default .shop-logo {
  text-align: center;
  margin-top: -50px;
}

.shop-default .shop-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #d9d9d9;
}

.shop-default p {
  margin-bottom: 10px;
}

.shop-default .shop-name {
  text-align: center;
  color: #a62066;
}

/* End Shop Default */

/* Shop */

.result-shop>.row>div {
  margin-left: auto;
  margin-right: auto;
}

.shop-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
  box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.shop-item .shop-banner {
  height: 150px;
  background-color: #d9d9d9;
}

.shop-item .shop-banner img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.shop-item .shop-logo {
  text-align: center;
  margin-top: -50px;
}

.shop-item .shop-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #d9d9d9;
}

.shop-item .shop-body {
  padding: 15px;
}

.shop-item .shop-name {
  text-align: center;
  color: #a62066;
}

/* End Shop */

/* Section Cart */

.section-cart {
  background-color: #f0f2f5;
}

/* End Section Cart */

/* Frm-order Progressbar */

.frm-order fieldset:not(:first-of-type) {
  display: none
}

#progressbar {
  padding-left: 0;
  overflow: hidden;
  color: lightgrey;
  text-align: center;
}

#progressbar .active {
  color: var(--main-color);
}

#progressbar li {
  list-style-type: none;
  width: 25%;
  float: left;
  position: relative;
  font-weight: bold;
}

#progressbar #cart:before {
  content: "\f408";
  font-family: 'bootstrap-icons';
}

#progressbar #shipping:before {
  content: "\f70a";
  font-family: 'bootstrap-icons';
}

#progressbar #payment:before {
  content: "\f2d9";
  font-family: 'bootstrap-icons';
}

#progressbar #confirm:before {
  content: "\f633";
  font-family: 'bootstrap-icons';
  font-size: 28px;
}

#progressbar li:before {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  line-height: 45px;
  display: block;
  font-size: 22px;
  color: #ffffff;
  background: lightgray;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  padding: 2px;
}

#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: 1;
}

#progressbar li.active:before,
#progressbar li.active:after {
  background: var(--main-color);
}

.frm-order {
  max-width: 700px;
  margin: auto;
}

.frm-order table th {
  font-weight: bold;
  white-space: nowrap;
}

.frm-order .lottery-number>div {
  padding: 0 10px;
  border-radius: 15px;
  width: max-content;
  border: 1px solid #c61c6c40;
}

.frm-order .shop-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #d9d9d9;
}

.frm-order .shop-name {
  color: #a62066;
}

.frm-order .cart-time-left {
  text-align: center;
  font-size: 18px;
  color: #c61c6c;
}

.frm-order .member-address {
  background-color: #fddfe7;
  padding: 15px;
  border-radius: 5px;
}

.frm-order .data-shipping .item-shipping {
  position: relative;
  padding: 15px;
  border: 1px solid #dbdbdb;
  border-left-width: 4px;
  border-radius: 5px;
  cursor: pointer;
}

.frm-order .data-shipping .item-shipping.selected, .frm-order .data-shipping .item-shipping:hover {
  border-color: #c61c6c;
}

.frm-order .data-shipping .item-shipping.selected::after {
  content: "\F272";
  font-family: bootstrap-icons !important;
  font-size: 28px;
  position: absolute;
  right: 10px;
  top: 6px;
  color: #c61c6c;
}

@media (min-width: 768px) {
  .frm-order .summary {
    max-width: 250px;
    margin-left: auto;
  }
}

.frm-order .show-pay-slip img {
  width: 100%;
  max-width: 300px;
  max-height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.1875rem;
  margin-top: 10px;
}

.frm-order .check-merge {
  font-size: 12px;
}

.frm-order .form-check-input:checked {
  background-color: #c61c6c;
  border-color: #c61c6c;
}

.frm-order .form-check-input:focus {
  box-shadow: unset;
}

/* End Progressbar */

.title-1 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.title-2 {
  display: flex;
  font-size: 24px;
  margin-bottom: 1rem;
}

.title-2 .btn-back {
  margin-left: -5px;
  margin-right: .5rem;
  line-height: 0;
  font-size: 32px;
  cursor: pointer;
  color: var(--main-color);
}

.color-primary {
  color: var(--main-color);
}

.color-sky {
  color: #1b74e4;
}

.color-orange {
  color: #ffa500;
}

.color-green {
  color: #00c100;
}

.color-red {
  color: red;
}

.color-gray {
  color: #a9a9a9;
}

.error_msg {
  color: red;
}

.input-file-upload, .input-file-img {
  visibility: hidden;
  position: absolute;
  width: 0px;
}

table th {
  font-weight: bold;
  white-space: nowrap;
}

::placeholder {
  color: #a9a9a9 !important;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #a9a9a9 !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #a9a9a9 !important;
}

select:required:invalid {
  color: #a9a9a9;
}

option[value=""][disabled] {
  display: none;
}

option {
  color: var(--main-color-font);
}

select:required:disabled {
  color: #a9a9a9;
}

.modal-open {
  padding-right: 0px !important;
}

.produced {
  /* font-family: 'Charm', cursive; */
  /* background-color: #363636; */
  background-image: linear-gradient(-222.48deg, #141c24 0%, #34495e 38.2%, #34495e 61.8%, #345e5c 100%);
  padding: 10px 0;
  font-size: 14px;
  color: #fff;
}

.produced a {
  text-decoration: underline !important;
  color: #fff;
}

.tab-myorders-overflow {
  overflow: auto;
}

.tab-myorders-overflow::-webkit-scrollbar {
  height: 0;
}

.tab-myorders {
  display: flex;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tab-myorders .item {
  flex: 1 0 0%;
  padding: 5px 15px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 1px solid #d8d8d8;
}

.tab-myorders .item.active {
  color: #c61c6c;
  border-bottom: 3px solid;
}

.data-myorders .item {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ff96c8;
}

.data-myorders .item hr {
  background-color: #999;
  margin: 0.5rem 0;
}

.myorders-detail hr {
  background-color: #999;
  margin: 0.5rem 0;
}

@media (min-width: 768px) {
  .myorders-detail .summary {
    max-width: 250px;
    margin-left: auto;
  }
}

.myorders-detail .shipping {
  background-size: 100% 4px;
  background-image: repeating-linear-gradient(45deg, #6fa6d6, #6fa6d6 33px, transparent 0, transparent 41px, #f18d9b 0, #f18d9b 74px, transparent 0, transparent 82px);
  background-repeat: no-repeat;
  padding: 15px;
}

.myorders-detail .stored {
  background-size: 100% 4px;
  background-image: repeating-linear-gradient(45deg, #c61c6c, #c61c6c 33px, transparent 0, transparent 41px, #c61c6c 0, #c61c6c 74px, transparent 0, transparent 82px);
  background-repeat: no-repeat;
  padding: 15px;
}

/* Loading Random Lottery */
.loading-random-lottery {
  position: relative;
  width: 100px;
  height: 100px;
  background-color: rgb(198 28 108 / 21%);
  border-radius: 50%;
}

.loading-random-lottery .bg {
  position: absolute;
  color: #c61c6c;
  width: 100px;
  height: 100px;
}

.loading-random-lottery .icon {
  width: 80px;
  height: 80px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* End Loading Random Lottery */

/* Lottery Reward */

.frm-check-reward {
  padding: 10px;
  background-color: rgb(198 28 108 / 11%);
  border-radius: 5px;
  /* max-width: 700px;
  margin: auto; */
}

.lotto-header {
  padding: 15px;
  background-color: #a62066;
  color: #ffffff;
}

.lotto-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #dddddd;
}

.lotto-item .lotto-title {
  padding: 15px;
  background-color: rgb(198 28 108 / 11%);
  text-align: center;
}

.lotto-item .lotto-reward {
  display: flex;
  flex: auto;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.lotto-item .lotto-reward .lotto-number {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  color: #a62066;
}

.lotto-item .lotto-reward .number-first {
  font-size: 50px;
  font-weight: bold;
  letter-spacing: 5px;
}

.lotto-item .lotto-reward .number-second {
  font-size: 32px;
  font-weight: bold;
}

.lotto-item .lotto-reward .number-third {
  font-size: 24px;
  font-weight: bold;

}

.data-check-reward{
  padding: 15px;
  text-align: center;
  color: #c61c6c;
}

/* End Lottery Reward */

/* Carousel */

.carousel-indicators {
  margin-bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 5px;
  background-clip: unset;
  border-top: unset;
  border-bottom: unset;
  border-radius: 5px;
}

.carousel-indicators .active {
  width: 35px;
}

/* End Carousel */

/* Toast */

.jq-toast-wrap {
  width: unset;
  min-width: 200px;
}

.jq-toast-wrap.top-right {
  top: calc(var(--header-height) + 10px);
  right: 5%;
}

.jq-toast-single h2 {
  margin: unset;
}

/* End Toast */

/* Hide Arrows Input Number Chrome, Safari, Edge, Opera */

.hide-arrows::-webkit-outer-spin-button, .hide-arrows::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide Input Number Arrows Firefox */

.hide-arrows {
  -moz-appearance: textfield;
}

/* Pagination */

.area-pagination {
  padding: 20px 0;
}

.pagination {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination .pagination-item {
  cursor: pointer;
  outline: 0;
  display: inline-block;
  padding: 1px 8px;
  margin: 0 4px;
  border: 1px solid #a8a8a8;
  border-radius: 2px;
}

.pagination .pagination-item:first-child {
  margin-left: 0;
}

.pagination .pagination-item:last-child {
  margin-right: 0;
}

.pagination .pagination-item.active {
  border: 1px solid #ee4d2d;
  background-color: #ee4d2d;
  color: #fff;
}

.pagination .pagination-item svg {
  width: 10px;
  margin-top: -4px;
}

.pagination .page-between {
  display: flex;
  align-items: flex-end;
  letter-spacing: 2px;
  font-size: 26px;
  margin-bottom: 4px;
}

/* End Pagination */

/* Radio to buttons */

/* hide input */

.radiotb1 input.radio:empty {
  position: absolute;
  visibility: hidden;
}

/* style label */

.radiotb1 input.radio:empty~label {
  position: relative;
  cursor: pointer;
  padding: 5px 10px;
  border: 1px solid #d5d5d5;
  border-radius: 0.1875rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.radiotb1 input.radio:empty~label:before {
  /* position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	left: 0;
	content: '';
	width: 2.5em;
	background: #D1D3D4;
	border-radius: 3px 0 0 3px; */
}

/* toggle hover */

.radiotb1 input.radio:hover:not(:checked)~label:before {
  /* content:'\2714'; */
}

.radiotb1 input.radio:hover:not(:checked)~label {
  /* color: #...; */
  border: 1px solid #d0011b;
}

/* toggle on */

.radiotb1 input.radio:checked~label:before {}

.radiotb1 input.radio:checked~label {
  color: #b9b9b9;
  cursor: no-drop;
}

/* radio focus */

.radiotb1 input.radio:focus~label:before {
  box-shadow: 0 0 0 3px #999;
}

/* End radio to buttons */

/* ------ Pulse-button --------- */

.pulse-button {
  position: relative;
  padding: 10px 20px;
  border: none;
  box-shadow: 0 0 0 0 rgb(218, 218, 218, 0.7);
  background-color: #d4f3eb;
  color: #949494;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

.pulse-button:hover {
  -webkit-animation: none;
  -moz-animation: none;
  -ms-animation: none;
  animation: none;
}

@-webkit-keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}

@-moz-keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}

@-ms-keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(232, 76, 61, 0);
  }
}

/* ------ End pulse-button --------- */

/* -------------- ellipsis --- */

.lds-ellipsis {
  display: inline-block;
  position: relative;
  left: -30px;
  width: 6px;
  height: 8px;
}

.lds-ellipsis div {
  position: absolute;
  /* top: -2px; */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #949494;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

.lds-white div {
  background: #ffffff;
}

/* -------------- End lds-ellipsis */

/* -------------- Slide down */

@keyframes slide_down {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

/* -------------- End slide down */

/* --------- overlay --------- */

.overlay {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgb(255 255 255 / 62%);
  z-index: 20000;
}

.overlay__inner {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.overlay__content {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.spinner {
  width: 75px;
  height: 75px;
  display: inline-block;
  border-width: 4px;
  border-color: rgb(1 1 1 / 5%);
  border-top-color: var(--main-color);
  animation: spin 1s infinite linear;
  border-radius: 100%;
  border-style: solid;
}

/* centered columns styles */

.row-centered {
  text-align: center;
}

.col-centered {
  display: inline-block;
  float: none;
  /* reset the text-align */
  text-align: left;
  /* inline-block space fix */
  margin-right: -4px;
  text-align: center;
  background-color: #ccc;
  border: 1px solid #ddd;
}

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

/* ---------End overlay --------- */

.toggle-password {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 16px;
  padding: 11px 10px;
  color: #777777;
  z-index: 10;
}

.text_error {
  width: 100%;
  font-size: 12px;
  color: red;
  margin-top: 4px;
}

.pointer {
  cursor: pointer;
}

.nowrap {
  white-space: nowrap;
}

.owl-carousel .owl-stage, .owl-carousel.owl-drag .owl-item {
  -ms-touch-action: pan-y !important;
  touch-action: pan-y !important;
}