:root {
  --primary: #599000;
  --primary-hover: #426804;
  --secondary: #45474b;
  --secondary-hover: #26272a;
  --black: #26272a;
  --primary-transparent: rgba(205, 224, 173, 0.208);
}

.chart-container {
  position: relative;
  margin: auto;
  height: 60vh;
  width: 60vw;
}

.content-section {
  padding-left: 32px;
  padding-right: 32px;
}
.small-box {
  border-bottom: solid 4px var(--primary);
}

.bg-default {
  background-color: #fff;
}
.bg-muted {
  background-color: #f3f4f4;
}

.bg-muted.active {
  background-color: #fff;
}

.bg-primary-custom {
  background-color: var(--primary) !important;
  color: #fff !important;
}

.text-primary-custom {
  color: var(--primary) !important;
}

.text-secondary-custom {
  color: var(--secondary) !important;
}

.text-info-custom {
  color: #1488ba !important;
}
.btn-primary-custom {
  background-color: var(--primary) !important;
  color: white;
  font-weight: 700;
}
.btn-primary-custom:hover {
  background-color: var(--primary-hover) !important;
  color: white;
}
.btn-secondary-custom {
  background-color: var(--secondary) !important;
  color: #fff !important;
}
.btn-secondary-custom:hover {
  background-color: var(--secondary-hover) !important;
  color: #fff !important;
}
.btn-outline-primary-custom {
  border: 2px solid var(--primary);
  background-color: #fff;
  font-weight: bold;
  color: var(--primary);
}
.btn-outline-primary-custom:hover {
  background-color: var(--primary);
  color: white;
}

.btn-light-custom {
  background-color: #dee1e4 !important;
  font-weight: 700;
}
.btn-light-custom:hover {
  background-color: #c8cacf !important;
}
.btn-outline-dark-custom {
  border-radius: 6px;
  border: 1px solid #26272a;
  background-color: #fff;
  font-weight: bold;
}
.btn-outline-dark-custom:hover {
  background-color: #f5f5f5;
}
.btn-danger-hover:hover {
  background-color: rgb(228, 58, 58);
  color: #fff;
}
.btn-info-hover:hover {
  background-color: #007bff;
  color: #fff;
}
.border-primary-custom {
  border: 2px solid var(--primary) !important;
}

.bg-primary-transparent {
  background-color: var(--primary-transparent) !important;
}
.badge-primary-custom {
  background-color: var(--primary);
  color: white;
}
.bubble {
  cursor: pointer;
  margin-right: 8px;
}
.bubble i {
  position: relative;
  color: #d3d3d3;
  font-size: 32px;
  display: flex;
}

.bubble i::after {
  content: attr(val);
  color: rgb(255, 255, 255);
  position: absolute;
  margin-top: 8px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif, "Font Awesome 5 Free";
}
.table-pointer tbody tr,
.pointer {
  cursor: pointer !important;
}

.notification {
  position: relative;
  border-bottom: solid 1px #e2e2e2;
}

.notification span {
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 8px;
  margin-right: 8px;
}
.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-size: 14pt; */
}

.stats-icon i,
.notification-icon i {
  mix-blend-mode: color-burn;
  color: #302525;
}

.mark-read {
  text-decoration: underline;
}

.table-data-lead td {
  border: none !important;
}

.nav-tabs-wrapper {
  margin-top: -12px;
  margin-left: -20px;
}

.vertical-align-top {
  vertical-align: top;
}

.w-10 {
  width: 10%;
}
.w-80 {
  width: 80%;
}

.text-normal {
  font-weight: 400 !important;
}

.card-primary-custom.card-outline {
  border-top: 3px solid var(--primary);
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.table-collapse {
  border-collapse: collapse;
  table-layout: fixed;
}
.word-wrap {
  word-wrap: break-word;
}

.self-end {
  align-self: flex-end;
}

.self-center {
  align-self: center;
}

.h-fit {
  height: fit-content;
}

/* input[type="time"]::-webkit-calendar-picker-indicator {
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
} */

.breadcrumb :not(li.active) {
  color: var(--secondary) !important;
}
.breadcrumb :not(li.active):hover {
  color: var(--secondary-hover) !important;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "\203A";
}

.code-input{
  display: grid;
  grid-template-columns: repeat(5,auto);
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 24px;
  width: 60vw;
}
.btn-back {
  width: 32px;
  height: 32px;
  border-radius: 30px;
}
.btn-back:hover {
  background-color: var(--primary) !important;
  color: #fff;
}

.item-menu {
  margin-bottom: 8px !important;
}
.item-menu-link p {
  margin: 0;
  display: inline;
}
.item-menu-link {
  display: block;
  padding: 6px;
  border-radius: 4px;
  padding-left: 12px;
  cursor: pointer;
}

.nav-item.item-menu > * {
  color: rgba(0, 0, 0, 0.5);
}
.nav-item.item-menu i {
  width: 32px;
}

.nav-item.item-menu .nav-link.active {
  background-color: var(--primary) !important;
  color: #fff !important;
}
.control-overlay {
  display: none;
  width: 0;
  height: 0;
}
.sidebar-collapse aside span.hidden {
  display: none;
}
.sidebar-collapse .main-sidebar:hover span.hidden {
  display: inline;
}

.dropdown-item {
  margin-bottom: 4px !important;
  margin-top: 4px !important;
}
.dropdown-item.nav-link.active,
.item-menu .active,
.item-menu .active .points-icon path,
.nav-link.active,
.nav-item:hover .nav-link,
.dropdown-menu .dropdown-item:hover,
.dropdown-item.active {
  background-color: transparent;
  color: var(--secondary-hover) !important;
  fill: var(--secondary-hover) !important;
}

body.control-sidebar-slide-open .control-overlay {
  display: block;
  width: 100vw;
  height: 100vh;
  top: 0;
  position: absolute;
  z-index: 1;
  background-color: transparent;
}

.text-dark > .swal2-actions > .swal2-confirm {
  color: var(--black) !important;
}

.form-campaign {
  width: 50vw;
}

#form-order {
  padding: 2rem;
}
.custom-input-add {
  width: 60px !important;
}

.bbs-group {
  display: block;
  margin-bottom: 20px;
}
.bbs-group label {
  font-weight: bold;
}
.bbs-group button,
.btn-order {
  background-color: #81bd4b;
  color: #fff;
}
.bbs-group button:hover,
.btn-order:hover {
  background-color: #699f3a;
  color: #fff;
}
.bbs-group input {
  display: block;
  width: 100%;
  height: 36px !important;
  border: 1px solid #ccc !important;
  border-radius: 3px;
}
.bbs-group textarea {
  display: block;
  width: 100%;
  border: 1px solid #ccc !important;
  border-radius: 3px;
}

.bbs-footer {
  font-size: 11px;
  color: #ccc;
  font-style: italic;
}
.red {
  color: #b30000;
}
.content-wrapper {
  padding-bottom: 32px !important;
}

.main-sidebar {
  bottom: 0 !important;
}
.sidebar-collapse > button > p {
  display: none;
}
.entered-email-badge {
  border: 1px solid #acadaf;
  display: inline-flex;
  height: 38px;
  padding: 0px 12px 0px 8px;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: fit-content;
  border-radius: 40px;
  background-color: #fff;
  margin-bottom: 12px;
}

.entered-email-badge span {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 44px;
  background-color: #d6d6d7;
}
.image-placeholder {
  height: 100%;
  width: 100%;
  background-color: #eee;
  animation: pulse 2s infinite;
}
.trigger {
  height: 20px;
}
.border-md {
  border-width: 3px !important;
}
.alert-info-custom {
  background-color: #c8dfeb;
  border-radius: 8px;
  border: 1px solid #1488ba7b;
}

.alert-warning-custom {
  background-color: #faf5e9;
  border-radius: 8px;
  border: 1px solid #ba90147b;
}
.alert-danger-custom {
  background-color: #fcecec;
  border-radius: 8px;
  border: 1px solid #ba14147b;
}
.divider {
  border-bottom: 2px solid rgba(218, 218, 218, 0.414) !important;
  width: 90%;
}
.btn-icon-campaign {
  height: 38px;
  width: 38px;
}
.bonus-points {
  background-color: #45474b95;
  width: 100%;
  height: 36px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.word-wrap {
  word-wrap: break-word;
}
.icon-circle {
  width: 24px !important;
  height: 24px !important;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.copy-wrapper {
  position: fixed;
  z-index: 2000;
}
.slide-up {
  transform-origin: left top;
  animation: fadeUp 500ms ease-out forwards;
}
.stats-item-wrapper {
  position: relative;
  z-index: 3;
  border-bottom: 3px solid var(--primary);
}

.stats-item-wrapper h1 {
  color: var(--primary);
}
.stats-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  margin-right: 24px;
  z-index: 2;
  margin-bottom: 8px;
}

.stats-icon i {
  color: #f9e689;
  font-size: 32px;
}

.loading-full {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 600;
  justify-content: center;
}
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary);
  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);
  }
}

.on-preview {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%);
}

.inner-prompt {
  height: 120px;
  display: flex;
  align-items: center;
  background-color: var(--black);
  color: #fff;
  padding: 0px 16px;
  border-radius: 8px;
  gap: 12px;
}
.inner-prompt__close {
  position: absolute;
  top: 24px;
  right: 24px;
}
.inner-prompt__image {
  background-color: #fff;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.inner-prompt__image img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}
.inner-prompt__description {
  min-width: 100px;
  flex: 1;
}


@media (min-width: 768px) {
  .login-image {
    display: flex;
    align-items: center;
    justify-content: end;
  }
  .dashboard-stats {
    min-width: 30vw;
  }
  .main-sidebar.user {
    display: none;
  }
  .chart-container {
    height: 400px;
    width: 100%;
  }
  .border-secondary {
    border: solid 2px var(--secondary) !important;
    border-radius: 8px;
  }
  .md-w-25 {
    width: 25%;
  }
  .md-w-50 {
    width: 50%;
  }
  .md-w-75 {
    width: 75%;
  }

  .login-image {
    display: flex;
    align-items: center;
    justify-content: end;
  }
  .btn-operator {
    height: 38px;
    width: 68px;
  }
  .dropdown-menu.notification-wrapper {
    min-width: 320px !important;
  }
  .illustration {
    height: 50vh;
  }
  .illustration-sm {
    height: 30vh;
  }
  .input-email {
    width: 40vw;
    max-width: 300px;
  }
  .md-table-fixed {
    table-layout: fixed;
  }
  .copy-wrapper {
    top: 0;
    right: 0;
    margin-top: 64px;
    margin-right: 24px;
    animation: slideRight 300ms ease-in forwards;
  }
  .pixel-wrapper {
    max-height: 300px;
    overflow-y: auto;
    
  }
  .install-prompt {
    width: 400px;
  }
  .inner-prompt__image.mobile {
    display: none;
  }
  @keyframes slideRight {
    0% {
      transform: translateY(-50%);
      transform: translateX(50%);
    }
    100% {
      opacity: 1;
    }
  }
}

@media (max-width: 768px) {
  /* .sidebar-wrapper {
	  max-width: 200px;
	  position: fixed;
	  padding-top: 60px;
	  top: 0;
	  bottom: 0;
	  z-index: 10;
	} */

  .login-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 24px;
  }


  .dropdown-menu.notification-wrapper {
    width: 75vw !important;
  }

  .content-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .bubble i {
    font-size: 32px;
  }
  .bubble i::after {
    /* font-size: 12px; */
    margin-left: 4px;
  }
  .lead-header-action {
    margin: 8px;
  }
  .lead-header-action .nav-tabs {
    margin-top: 12px;
    /* justify-content: center; */
  }
  .btn-operator {
    height: 38px;
    width: 40px;
  }

  .login-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 24px;
  }

  .sm-grid-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
  }
  .sm-grid-nav li a {
    justify-content: center;
    flex-direction: column;
  }
  .sm-border-none {
    border: none;
  }

  .sm-w-100 {
    width: 100%;
  }

  .pixel-item {
    /* border: 1px solid #dad9d9d6; */
    border-radius: 4px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .bubble i::after {
    margin-right: 4px;
  }
  .time-input {
    width: 100%;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
  }
  .illustration,
  .illustration-sm {
    width: 80vw;
  }
  .input-email {
    width: 90vw;
  }
  .copy-wrapper {
    bottom: 0;
    width: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: slideUp 300ms ease-in forwards;
  }

  .inner-prompt__image {
    width: 58px;
    height: 58px;
  }
  .inner-prompt__image img {
    width: 44px;
    height: 44px;
    object-fit: cover;
  }
  .inner-prompt {
    height: max-content;
  }
  .inner-prompt__image.desktop {
    display: none;
  }

  .inner-prompt__description {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 12px;
    align-items: center;
  }

  @keyframes slideUp {
    0% {
      transform: translateY(-50%);
      transform: translateX(-50%);
    }
    100% {
      opacity: 1;
    }
  }
}

@media print {
  .not-print {
    display: none;
  }
}
@keyframes pulse {
  0% {
    background-color: #f2f2f2;
  }

  100% {
    background-color: #efefef;
  }
}

@keyframes fadeUp {
  0% {
    /* transform: scaleY(-0.1rem); */
    opacity: 0;
  }

  100% {
    /* transform: scaleY(1); */
    opacity: 1;
  }
}

/* blank state css */
.blank-state {
  background: #eee;
  position: relative;
  width: 100%;
  min-height: 50px;
  overflow: hidden;
}

.blank-state::after {
  content: "";
  display: block;
  position: absolute;
  background: -moz-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background: -webkit-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  width: 200px;
  height: 100%;
  top: 0;
  left: -200px;

  animation: btnAnimate infinite ease-in 1.5s;
  -moz-animation: btnAnimate infinite ease-in 1.5s;
  -o-animation: btnAnimate infinite ease-in 1.5s;
  -webkit-animation: btnAnimate infinite ease-in 1.5s;
  -ms-animation: btnAnimate infinite ease-in 1.5s;
}

@keyframes btnAnimate {
  from {
    left: -200px;
  }
  to {
    left: 100%;
  }
}

/* service worker toast notification */
#notification-wrapper {
  position: fixed;
  bottom: -200px;
  left: 0;
  width: 100%;
  padding: 0.5em;
  background: #222;
  color: #fafafa;
  z-index: 2000;
  transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
}
#notification-wrapper.show {
  bottom: 0;
}
#notification-wrapper .notification-title {
  margin-top: 0.3em;
}

/* offline online notification */
#offline-notification {
  position: fixed;
  bottom: 0em;
  left: 0em;
  z-index: 2001;
  width: 100%;
  transition: 0.3s ease;
  -moz-transition: 0.3s ease;
  -o-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  -ms-transition: 0.3s ease;
}

#offline-notification .offline-wrapper {
  margin: 0.5em;
  border-radius: 5px;
  -moz-border-radius: 5px;
  overflow: hidden;
  display: inline-block;
  padding: 0.5em;
}

#offline-notification.online {
  bottom: -200px;
  opacity: 0;
}

#drop_file_zone {
  background-color: #eee;
  border: #999 5px dashed;
  width: 290px;
  height: 200px;
  padding: 8px;
  font-size: 18px;
}
#drag_upload_file {
  width: 50%;
  margin: 0 auto;
}
#drag_upload_file p {
  text-align: center;
}
#drag_upload_file #selectfile {
  display: none;
}


.install-prompt {
  display: none;
}
@media (display-mode: standalone) {
  .install-prompt {
    display: none;
  }
}
@media (display-mode: fullscreen) {
  .install-prompt {
    display: none;
  }
}
@media (max-width: 768px) {
  .subcription-item {
    margin-top: 0px;
    padding-top: 0px;
    height: auto;
  }

}


.subcription-item {
  margin-top: 60px;
  padding-top: 0px;
  border-radius: 0.3rem;
  height: 100%;
}

.subcription-item:not(.border-primary-custom) {
  border: 1px solid var(--primary) !important;
}
.subcription-item.offline:not(.border-primary-custom) {
  border: 1px solid var(--secondary) !important;
}
/* .subcription-wrapper:not(:has(.popular)){
  padding-top: 60px;

} */
.subcription-item.popular {
  margin-top: 0px;

  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}


.popular-banner {
  height: 60px;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}