@import url("https://fonts.googleapis.com/css?family=Poppins:400,700");

/* ==========================================================================
   2. GENERAL
   ========================================================================== */
:root {
  --colorPrimaryLight: #bcdd7a;
  --colorPrimary: #7db208;
  --colorPrimaryDark: #216d39;
  --colorAccent: #F7953C;
  --colorGray: #cccccc;
  --colorDark: #3f3e3e;
  --colorText: #272a15;
  --colorTextGray: #9c9c9c;
  --colorYellowBackGround: #f7f2e4;
  --colorDarkBackGround: #666;
  --colorGrayBackGround: #f1f1f1;
  --colorBrightBackGround: #fff;
  --colorHero: #32a549;
  --primary: #009933;
}

@media print {
  @page {
    margin: 0;
  }

  body {
    margin: 0;
    padding: 0;
  }
}

html {
  overflow-x: hidden;
}

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

.section {
  padding: 50px 0;
  overflow: hidden;
  position: relative;
}

a {
  color: var(--colorPrimaryDark);
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}


a:hover,
a:focus {
  text-decoration: none;
  outline: none;
  color: #7db208;
}

a {
  color: var(--colorPrimaryDark);
}

a:hover {
  color: var(--colorPrimary);
}

footer {
  font-size: 14px;
}


.text-primary {
  color: var(--primary) !important;
  text-decoration: underline;
}

.text-primary:hover {
  cursor: pointer;
}

/* -----button bootstraps----- */
.btn-link {
  color: var(--colorPrimaryDark) !important;
}

.btn-link:hover {
  color: var(--colorPrimary) !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  border: 1px solid var(--primary);
  min-width: 80px;
}

.btn-primary:hover {
  background-color: var(--colorPrimaryDark) !important;
  color: white !important;
}

.btn-outline-primary {
  background-color: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  min-width: 80px;
}

.btn-outline-primary:hover {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}


@media (max-width: 500px) {
  .section {
    padding: 20px 0px 20px;
  }
}

/* ==========================================================================
	 Pre Loader
	 ========================================================================== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: 9999999999;
}

.spinner {
  width: 40px;
  height: 40px;
  top: 45%;
  position: relative;
  margin: 0px auto;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #7db208;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {

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

  50% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bounce {

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

  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

/* ========================================================================== 
  Scroll To Up 
   ========================================================================== */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 15px;
}

.back-to-top i {
  display: block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
  background-color: #7db208;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}



/* ==========================================================================
   Navbar Style
   ========================================================================== */
.navbar-brand {
  position: relative;
  padding: 0px;
}

.top-nav {
  z-index: 999;
  top: 0px !important;
  padding: 0;
  box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.06);
  background: var(--colorBrightBackGround) !important;
}

.top-nav .navbar-brand {
  top: 0px;
}

.top-nav .navbar-nav .nav-link {
  color: var(--colorPrimaryDark) !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.top-nav .in-active .nav-link:hover {
  border: none !important;
  background-color: var(--colorPrimary);
}

.top-nav .in-active .nav-link:hover>span {
  color: white;
}

.top-nav .active .nav-link {
  border: 1px solid var(--colorPrimaryDark);
  border-radius: 20px;
}

.navbar-expand-md .navbar-nav .nav-link {
  color: white;
  padding: 0 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 40px;
  border-radius: 30px;
  background: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.navbar-expand-lg .navbar-nav .nav-link {
  color: #fff;
  padding: 0 22px;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 40px;
  border-radius: 30px;
  background: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.top-nav .navbar-nav .nav-link:hover {
  color: #7db208 !important;
  border-radius: 20px;
}

.top-nav .navbar-nav .nav-link.active {
  color: #fff !important;
}

.indigo {
  background: transparent;
}

.navbar-expand-md .navbar-nav li a:hover,
.navbar-expand-md .navbar-nav li .active>a,
.navbar-expand-md .navbar-nav li a:focus {
  color: var(--colorPrimary);
}

.navbar .nav-link.active {
  color: #fff !important;
  background: var(--colorPrimary);
}

.dropdown-toggle::after {
  display: none;
}

.slicknav_nav {
  color: #fff;
  font-size: 0.875em;
  list-style: outside none none;
  margin: 0;
  max-width: 200px;
  float: right;
  padding: 0;
  width: 100%;
}

.slicknav_btn {
  background-color: var(--colorPrimaryDark);
}

.slicknav_menu {
  font-size: 16px;
  box-sizing: border-box;
  padding: 0px;
  background: none;
}

.slicknav_menu .slicknav_icon-bar {
  background: #d4f58d;
}

.slicknav_menu ul {
  background: var(--colorBrightBackGround);
}

.slicknav_nav a {
  padding: 5px 15px;
  margin: 2px 5px;
  text-decoration: none;
  color: #666;
}

/* only small tablets */
@media (min-width: 768px) and (max-width: 991px) {
  #nav-main li a.nav-link {
    padding-top: 18px;
  }
}

.navbar-toggler {
  display: none;
}

.mobile-menu {
  display: none;
}

.slicknav_menu {
  display: none;
}

.navbar {
  padding: 0 !important;
  min-height: 60px;
}


@media screen and (max-width: 768px) {
  .navbar-header {
    width: 100%;
  }

  .navbar-brand {
    position: absolute;
    padding: 5px;
    top: 0;
  }

  .navbar-brand img {
    width: 70%;
  }

  #mobile-menu {
    display: none;
  }

  .slicknav_menu {
    display: block;
  }

  .slicknav_nav .active a {
    background: #7db208;
    color: #fff;
  }

  .slicknav_nav a:hover,
  .slicknav_nav .active {
    color: #7db208;
    background: #f8f9fa;
  }

  .slicknav_nav .dropdown li a.active {
    background: #f8f9fa;
    color: #7db208;
  }
}

.navbar-margin {
  height: 100px;
}

/* ==========================================================================
Footer Style
 ========================================================================== */
footer {
  background: #292f35;
}



.footer-links {
  line-height: 30px;
}

.footer-links li {
  float: left;

}

.footer-links li a {
  color: #fff;
  margin-right: 15px;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
}

.footer-links li a:hover {
  color: #7db208;
}

.copyright {
  margin-top: 10px;
  float: right;
  color: #fff;
}

.mobi-padding {
  height: 50px;
}

@media (max-width: 400px) {
  footer {
    padding: 5px 0;
  }

  .footer-links {
    line-height: 20px;
  }

  .copyright {
    margin-top: 5px;
    margin-bottom: 5px;
    float: right;
  }
}

iframe.bill {
  width: 800px;
  overflow: hidden;
  border: none;
}

/* ==========================================================================
  Icons Section
   ========================================================================== */
.img-icon {
  display: inline-block;
  width: 70%;
  height: 70%;
  margin-top: 8px;
}

/* ==========================================================================
    Download Section
     ========================================================================== */

img.store-download {
  width: 150px;
  margin-top: 10px;
  margin-left: 5px;
}

.notice {
  text-align: center;
  font-size: xx-small;
}

/* ==========================================================================
    Drop down menu
     ========================================================================== */
.dropbtn {
  background: none;
  color: white;
  padding: 16px;
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #7db208;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown i {
  font-size: x-large;
  vertical-align: middle;
}

.dropdown-content div {
  color: white;
  margin: 3px;
  padding: 6px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: white;
  padding: 6px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

div.menu-title {
  color: grey;
  margin: 6px;
  padding: 6px;
}

.page-title {
  margin-bottom: 40px;
}

.white-popup {
  position: relative;
  background: var(--colorBrightBackGround);
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
  word-wrap: normal;
}

.qr-popup {
  position: relative;
  max-width: 600px;
  background: var(--colorBrightBackGround);
  padding: 30px;
  width: auto;
  margin: 20px auto;
}

img.qr {
  width: 400px;
  height: 400px;
  object-fit: contain;
}

.qr-form {
  background-color: #49a151;
  border-radius: 15px;
  padding: 1rem 1rem 0.5rem 1rem;
  margin: 2rem;

  -webkit-box-shadow: 0 0 20px green;
  -moz-box-shadow: 0 0 20px green;
  box-shadow: 0 0 20px green;
}

.qr-form h4 {
  font-size: medium;
  color: var(--colorPrimaryDark);
}

@media (max-width: 719px) {
  img.qr {
    width: 300px;
    height: 300px;
    object-fit: contain;
  }

  .qr-form {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    margin: 0.5rem;
  }


}

.login-form {
  width: 300px;
  margin: 50px auto;
  padding: 30px;
  background-color: var(--colorGrayBackGround);
  border-radius: 10px;
}

.login-form input[type="password"],
.login-form input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #dddddd;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.dark-bgr {
  background-color: var(--colorDarkBackGround);
}

.inline-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 600px;
  margin: 20px auto;
}

.tag-box {
  border: 1px solid var(--colorGray);
  margin: 0px 5px 5px 0px;
  border-radius: 5px;
  display: inline-block;
}

.tag-count {
  color: var(--colorAccent);
  position: relative;
  padding: 2px;
}

.tag-name {
  color: var(--colorDark);
  position: relative;
  padding: 2px;
}

.bg-bar {
  background-color: var(--colorHero);
}

.content-wrap {
  min-height: 650px;
}

img.tiny {
  height: 40px;
}

.store-link {
  color: #bcdd7a;
  text-decoration: underline;
}

.order-preview {
  background-color: var(--colorGrayBackGround);
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

img.store-avatar {
  width: 70px;
  border: 1px solid var(--colorGray);
}

img.avatar-round {
  width: 30px;
  height: 30px;
  border-radius: 10px;

}

img.logo {
  width: 90px;
}

img.logo-medium {
  width: 60px;
}

img.logo-small {
  width: 40px;
}

img.logo-big {
  width: 120px;
}

img.logo-bbig {
  width: 190px;
}

img.logo-xsmall {
  width: 20px;
}

@media (max-width: 719px) {

  img.logo-bbig {
    width: 130px;
  }
}

/* ul {
  margin: 0;
  padding: 0;
}

ul.list {
  margin: 0;
  width: 100%;
  border-radius: 3px;
  background: #fff;
  margin: 0px;
  padding: 0px;
} */

li.item-header {
  border-bottom: 2px solid #f1f1f1;
  padding: 0.5em 0 0 0;
}

li.item {
  border-bottom: 1px solid #f1f1f1;
  padding: 0.5em 0 0.5em 0;
}

ul.list-inline li {
  display: inline;
}

div.item-name {
  font-size: medium;
  font-weight: 550;
  color: var(--colorDark);
  white-space: pre-wrap;
}

div.item-price {
  font-size: small;
  color: #666;
}

div.item-time {
  font-size: xx-small;
  color: #666;
  position: absolute;
  bottom: 0;
  right: 0;
}

a.item-code {
  font-size: small;
  color: var(--colorAccent);
  font-family: ui-monospace;
}

div.item-phone {
  font-size: medium;
}

div.item-note {
  font-size: small;
  color: #666;
  white-space: pre-wrap;
}

span.item-price-sum {
  float: right;
}

.item-name-deleted {
  font-size: medium;
  color: #666;
  text-decoration: line-through;
}

.deleted {
  color: #666;
  text-decoration: line-through;
}

img.item-thumb {
  max-width: 40px;
  max-height: 40px;
}

img.item-thumb-big {
  width: 70px;
  height: 70px;
  border: 1px solid var(--colorGray);
}

img.item-thumb-bbig {
  width: 500px;
  height: 500px;
  border: 1px solid var(--colorGray);
}

.caption {
  color: #666;
  margin-top: 10px;
  text-align: center;
  line-height: 1.2;
}

.description {
  font-size: small;
  color: #666;
  margin: 0 0 0.1em;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 1.2;
}

.quote-content {
  background-color: var(--colorGrayBackGround);
  box-sizing: border-box;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.quote-header {
  background-color: var(--colorGrayBackGround);
  box-sizing: border-box;
  padding-top: 1.5rem;
  border-top: dashed 2px var(--colorTextGray);
}

.quote-footer {
  background-color: var(--colorGrayBackGround);
  box-sizing: border-box;
  padding-bottom: 1.5rem;
  border-bottom: dashed 2px var(--colorTextGray);
}

@media (max-width: 574px) {
  .quote-content {
    padding: 0.5rem;
  }

}

.popup-container {
  width: 800px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .popup-container {
    width: 100%;
  }
}

.popup-bar {
  background-color: var(--colorGray);
  border-radius: 3px 3px 0 0;
}

.popup-content {
  background-color: var(--colorGrayBackGround);
  padding: 1.5rem 0.5rem;
}

.popup-bottom {
  background-color: var(--colorGray);
  border-radius: 0 0 3px 3px;
}

.popup-bar strong {
  padding: 0.5rem;
  display: inline-block;
  color: var(--colorDark);
}

.order-detail {
  border-radius: 3px;
  background-color: var(--colorYellowBackGround);
}

.order-detail ul {
  background-color: transparent;
}

.order-detail li {
  border-bottom: solid 1px #216d39;
}

.store-detail {
  border-radius: 3px;
  background-color: var(--colorPrimaryDark);
}

span.product-code {
  font-size: x-small;
}

.map-muaday {
  height: 400px;
  width: 100%;
}

li.paginate_button {
  cursor: pointer;
}

li.page-active>a.page-link {
  background-color: var(--colorPrimaryDark);
  border-color: var(--colorPrimaryDark);
  color: white;
}

.spin {
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

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

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

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


.btn-link .itemCount {
  color: var(--colorAccent);
}

/* .btn-success .itemCount {
  color: var(--colorPrimaryDark);
} */

a.item-name {
  color: var(--colorDark);
}

a.item-name:hover {
  color: var(--colorPrimaryDark);
}


.circle-div {
  background-color: var(--colorPrimaryLight);
  height: 65px;
  width: 65px;
  border-radius: 100%;
  border: none;
  position: fixed;
  bottom: 21px;
  right: 25px;
  z-index: 1000;
  padding: 8px;
}

textarea.required,
input.required {
  border-color: red;
}

.search-input.active .autocom-box li {
  display: block;
}

.autocom-box li:hover {
  background: #efefef;
}

.search-wrapper {
  max-width: 450px;
  margin: 50px auto;
}


.search-wrapper .search-input {
  background: #fff;
  width: 100%;
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
}

.search-input input {
  height: 55px;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 0 60px 0 20px;
  font-size: 18px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}

.search-input.active input {
  border-radius: 5px 5px 0 0;
}

.search-input .autocom-box {
  padding: 0;
  opacity: 0;
  pointer-events: none;
  max-height: 280px;
  overflow-y: auto;
}

.search-input.active .autocom-box {
  padding: 10px 8px;
  opacity: 1;
  pointer-events: auto;
}

.autocom-box li {
  list-style: none;
  padding: 8px 12px;
  display: none;
  width: 100%;
  cursor: default;
  border-radius: 3px;
}

.search-input .icon {
  position: absolute;
  right: 0px;
  top: 0px;
  height: 55px;
  text-align: center;
  line-height: 55px;
  font-size: 20px;
}

.search-input .icon span {
  cursor: pointer;
}

.media-body h5 {
  font-size: medium;
}

.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  /* add padding to account for vertical scrollbar */
  /* padding-right: 20px; */
}

input.input-warning {
  border: 3px solid #F7953C;
}

#hero-area.vietqr {
  background-image: url(/img/vietqr-demo.jpeg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

}

#bill {
  width: 1440px;
  margin: auto;
}

.text-decoration {
  text-decoration: line-through;
}

.btn-outline-secondary {
  min-width: 70px;
}

.data-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.data-table th {
  background-color: #f1f5f9;
  color: #111;
  font-weight: 600;
}

.data-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.data-table td .btn_logout_device {
  display: block;
  margin: 0 auto;
  text-align: center;
}

/*----------For mobile view-------------*/
@media (max-width: 600px) {

  h1,
  .h1 {
    font-size: 1.6rem;
    /* ~22.4px */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  h2,
  .h2 {
    font-size: 1.4rem;
    /* ~19.6px */
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  h3,
  .h3 {
    font-size: 1.2rem;
    /* ~16.8px */
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  h4,
  .h4 {
    font-size: 1.1rem;
    /* ~15.4px */
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  h5,
  .h5 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
}