/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}
.flatpickr-calendar.open {
  z-index: 9999 !important;
}
.form-password-toggle .input-group::before {
  position: relative;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}
div.dt-container table.dataTable .form-check-input {
  width: 32px !important;
}
/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
.layout-navbar .navbar-dropdown .badge-notifications {
    inset-block-start: 3px;
    inset-inline-end: -2px;
}
.badge.badge-notifications {
    position: absolute;
    margin: 0;
    inset-block-start: auto;
    transform: translate(-50%, -30%);
}
.badge.badge-dot {
    display: inline-block;
    padding: 0;
    border-radius: 50%;
    margin: 0;
    block-size: .5rem;
    inline-size: .5rem;
}
/*.input-group.input-group-merge .form-control:not(textarea):not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}*/
.bootstrap-select {
    border: var(--bs-border-width) solid #ced1d5;
    border-radius: var(--bs-border-radius);
}
.app-brand-logo img {
    width: 132px;
}
.form-control-validation {
  position: relative;
}
.form-control-validation .input-group::before {
  position: relative;
}
.invalid-feedback {
  position: absolute;
  bottom: -20px;
}
.dt-bootstrap5 .row {
  margin: 0;
}
div.dt-container div.dt-length, div.dt-container div.dt-search {
  margin-block: 0 !important;
}
div.dt-container div.dt-length select {
  margin-inline: 0;
  margin-right: 12px;
}
.card-datatable .row {
  margin: 0;
}
.card-datatable .card-header {
  padding: 12px 12px 16px !important;
}
.right-modal .modal-dialog {
  right: 0;
  position: fixed;
  margin: 0;
  padding: 0 !important;
}
.right-modal .modal-dialog .modal-content {
  height: 100vh;
  border-radius: 0;
  width: 500px;
  overflow: auto;
  padding-bottom: 72px;
}
.right-modal .modal-header {
  border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  padding-bottom: 16px;
}
.right-modal .modal-footer {
  border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  padding: 1rem 1.5rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--bs-paper-bg);
  z-index: 9;
}
.bx-faderight {
  -webkit-animation: fadeInRight 1s ease-in-out;
  animation: fadeInRight 1s ease-in-out;
}
@keyframes fadeInRight {
  from {
  opacity: 0;
  transform: translateX(300px);
  }
  to {
  opacity: 1;
  }
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34,48,62,0.5);
  display: none;
  z-index: 9999;
}
.alertBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 352px;
  padding: 24px 16px;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem 0 rgba(34, 48, 62, 0.14);
  text-align: center;
}
.alertBox .alert-btn {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.alertBox h5 {
  white-space: normal;
  line-height: normal;
}
.toast.bs-toast {
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  margin: auto;
}
.toast.bs-toast.start-0 {
  margin-left: 32px;
}
.img-thumbnail.qrimg {
  width: 100px;
}
.disable {
  opacity: .4;
  cursor: not-allowed;
}
.card-datatable .top.align-items-center {
  padding: 0 12px 16px;
}
.card-datatable .bottom.align-items-center {
  padding: 0 12px;
}
body {
  font-size: 14px;
}
.datatables-basic td {
  max-width: 150px;
  white-space: normal;
}
.datatables-basic thead tr {
  background: var(--bs-menu-hover-bg);
}
.bootstrap-select>.dropdown-toggle.bs-placeholder, .bootstrap-select>.dropdown-toggle.bs-placeholder:hover, .bootstrap-select>.dropdown-toggle.bs-placeholder:focus, .bootstrap-select>.dropdown-toggle.bs-placeholder:active {
  background: var(--bs-paper-bg);
}
.bootstrap-select *, .bootstrap-select .dropdown-toggle:focus {
    max-width: 100%;
}
.modal {
    pointer-events: none;
}
select.form-control option, .alertBox h5 {
  color: var(--bs-primary);
}
ul.grid-type {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
}
ul.grid-type li {
  list-style: none;
  position: relative;
}
ul.grid-type li .badge {
  position: absolute;
  top: 8px;
  right: 8px;
}
.form-control[readonly] {
  color: var(--bs-secondary-color);
  background-color: rgba(var(--bs-base-color-rgb), 0.06);
  border-color: rgba(var(--bs-base-color-rgb), 0.24);
  opacity: 1;
}
.bootstrap-select .dropdown-toggle {
  background: transparent;
}
.offcanvas-backdrop {
  pointer-events: none;
}
.text-right {
  text-align: right !important;
}
@media (max-width: 767px) {
    .right-modal .modal-dialog .modal-content {
        width: 100%;
    }
    .card-datatable .top.align-items-center {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 8px;
    }
    .card-datatable .card-header {
        text-align: center;
    }
}

#code-editor{
  border: 1px solid #d1d1d1;
  margin: 0px auto;
  border-radius: 4px;
}
.editor-block-controls{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 5px;
  gap: 4px;
}
.editor-block-controls > div > button.command{
  outline: none;
  background-color: none;
  background: transparent;
  color: black;
  cursor: pointer;
  border: 1px solid #e1e1e1;
  transition: .2s;
  border-radius: 3px;
  padding:5px 10px;
}
.editor-block-controls > div > button.command:hover{
  color: lightblue;
}
#editor-block-content{
  max-width: 100%;
  min-height: 50vh;
  width: 100%;
  height: auto;
  padding: 12px;
  resize: vertical;
  overflow: auto;
  font-size: 12px;
  border-top: 1px solid #e1e1e1;
  border-radius: 0 0 3px 3px;
  background: transparent;
  outline: none;
}
#editor-block-content > blockquote{
  border-left: 2px solid black;
  padding: 5px;
  background: #1111;
  font-style: italic;
  
}
.wsy-command{
  padding: 5px;
  border-radius: 3px;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  transition: .2s;
  border: 1px solid #e1e1e1;
}
#editor-block-content.is-invalid {
  border: 1px solid var(--bs-form-invalid-border-color);
  box-shadow: 0 0 0 var(--bs-border-width) var(--bs-form-invalid-border-color);
}
.order-info ul.orderInfo {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}
.order-info ul.orderInfo li {
  border-radius: 8px !important;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 8px 16px 0px;
  width: 100%;
  border: 1px solid rgba(2, 6, 12, 0.15);
  padding: 8px !important;
}
.price-info .gst-info {
  border-right: 1px solid #ccc;
  border-radius: 8px !important;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 8px 16px 0px;
  border: 1px solid rgba(2, 6, 12, 0.15);
  padding: 8px !important;
}
.price-infos {
  border-radius: 8px !important;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 8px 16px 0px;
  border: 1px solid rgba(2, 6, 12, 0.15);
  padding: 8px !important;
}
.paynowbtn {
    margin-top: -66px;
    z-index: 9;
    position: relative;
    right: 12px;
}
.price-infos small {
    font-size: 18px;
}
.price-infos h4 {
    margin-bottom: 0;
    font-weight: bold;
}
.orderDiv {
    height: 51vh;
    overflow: auto;
}
.paynowbtn {
  background-image: url(../img/pay-gif.gif);
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: right 0;
  text-align: left;
  justify-content: flex-start;
  padding: 12px 1.5rem 12px 12px;
  width: 132px;
}
.payrequest {
  background-image: url(../img/pay-request.gif);
  background-repeat: no-repeat;
  background-position: -24px 0px;
  background-size: 112px;
}
img.star-icon {
  width: 16px;
  margin-right: 4px;
}
img.star-icon:last-child {
  margin-right: 0;
}
ul.grid-type li .badge.cancel {
  bottom: 6px;
  top: auto;
  cursor: pointer;
}
ul.grid-type li .badge.cancel i {
  color: #fff;
}
.offcanvas-footer {
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
  padding-top: 0;
}
.form-check-input.order-radio {
  border: none;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0;
}
.form-check-input.order-radio:checked {
  background: transparent;
}
.userInfo p {
  margin: 0;
  font-size: 12px;
}
.userInfo p i {
  padding-right: 4px;
  font-size: 14px;
}
button.input-group-text {
  z-index: 9;
}
.flatpickr-input {
  cursor: not-allowed;
}