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

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 34px;
    height: 24px;
}

.app-brand-logo.demo svg {
    width: 35px;
    height: 24px;
}

.app-brand-text.demo {
  font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 72px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* 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: 254px;
    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;
}


.swal2-popup {
  width: 450px !important;
  font-size: 13px !important;
}
.swal2-title {
  margin: auto !important;
  font-size: 18px !important;
}
.swal2-content {
  font-size: 13px !important;
}
.swal2-actions .swal2-styled {
  font-size: 12px !important;
}

@media (min-width: 992px) {
  .sticky-side-div {
    position: sticky;
    top: calc(72px + 1.5rem);
  }
}

.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
  border: 1px solid #D1D1D4;
  vertical-align: middle;
  padding: 8px;
}






#template-customizer {
  font-family: "Public Sans", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
  font-size: inherit !important;
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  width: 400px;
  box-shadow: 0px 5px 30px 0px rgba(47, 43, 61, 0.18);
  transition: all 0.2s ease-in;
  transform: translateX(420px);
}

.dark-style #template-customizer {
  box-shadow: 0px 5px 30px 0px rgba(19, 17, 32, 0.24);
}

#template-customizer h5 {
  position: relative;
  font-size: 11px;
}

#template-customizer > h5 {
  flex: 0 0 auto;
}

#template-customizer .disabled {
  color: #d1d2d3 !important;
}

#template-customizer .form-label {
  font-size: 0.9375rem;
}

#template-customizer .form-check-label {
  font-size: 0.8125rem;
}

#template-customizer.template-customizer-open {
  transition-delay: 0.1s;
  transform: none !important;
}

#template-customizer.template-customizer-open .custom-option.checked {
  color: var(--bs-primary);
  border-width: 2px;
  margin: 0;
}

#template-customizer .template-customizer-header a:hover {
  color: inherit !important;
}

#template-customizer .template-customizer-open-btn {
  position: absolute;
  top: 180px;
  left: 0;
  z-index: -1;
  display: block;
  width: 38px;
  height: 38px;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  background: var(--bs-primary);
  box-shadow: 0px 2px 6px 0px rgba(115, 103, 240, 0.3);
  color: #fff !important;
  text-align: center;
  font-size: 18px !important;
  line-height: 38px;
  opacity: 1;
  transition: all 0.1s linear 0.2s;
  transform: translateX(-58px);
}

@media (max-width: 991.98px) {
  #template-customizer .template-customizer-open-btn {
      top: 145px;
  }
}

.dark-style #template-customizer .template-customizer-open-btn {
  background: var(--bs-primary);
}

#template-customizer .template-customizer-open-btn::before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  background-size: 100% 100%;
  position: absolute;
  background-image: url('+ d +');
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.customizer-hide #template-customizer .template-customizer-open-btn {
  display: none;
}

[dir=rtl] #template-customizer .template-customizer-open-btn {
  border-radius: 0;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

[dir=rtl] #template-customizer .template-customizer-open-btn::before {
  margin-left: -2px;
}

#template-customizer.template-customizer-open .template-customizer-open-btn {
  opacity: 0;
  transition-delay: 0s;
  transform: none !important;
}

#template-customizer .template-customizer-inner {
  position: relative;
  overflow: auto;
  flex: 0 1 auto;
  opacity: 1;
  transition: opacity 0.2s;
}

#template-customizer .template-customizer-inner > div:first-child > hr:first-of-type {
  display: none !important;
}

#template-customizer .template-customizer-inner > div:first-child > h5:first-of-type {
  padding-top: 0 !important;
}

#template-customizer .template-customizer-themes-inner {
  position: relative;
  opacity: 1;
  transition: opacity 0.2s;
}

#template-customizer .template-customizer-theme-item {
  display: flex;
  align-items: center;
  flex: 1 1 100%;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 24px;
  width: 100%;
  cursor: pointer;
}

#template-customizer .template-customizer-theme-item input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

#template-customizer .template-customizer-theme-item input ~ span {
  opacity: 0.25;
  transition: all 0.2s;
}

#template-customizer .template-customizer-theme-item .template-customizer-theme-checkmark {
  display: inline-block;
  width: 6px;
  height: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  opacity: 0;
  transition: all 0.2s;
  transform: rotate(45deg);
}

[dir=rtl] #template-customizer .template-customizer-theme-item .template-customizer-theme-checkmark {
  border-right: none;
  border-left: 1px solid;
  transform: rotate(-45deg);
}

#template-customizer .template-customizer-theme-item input:checked:not([disabled]) ~ span,
#template-customizer .template-customizer-theme-item:hover input:not([disabled]) ~ span {
  opacity: 1;
}

#template-customizer .template-customizer-theme-item input:checked:not([disabled]) ~ span .template-customizer-theme-checkmark {
  opacity: 1;
}

#template-customizer .template-customizer-theme-colors span {
  display: block;
  margin: 0 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
}

#template-customizer.template-customizer-loading .template-customizer-inner,
#template-customizer.template-customizer-loading-theme .template-customizer-themes-inner {
  opacity: 0.2;
}

#template-customizer.template-customizer-loading .template-customizer-inner::after,
#template-customizer.template-customizer-loading-theme .template-customizer-themes-inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  display: block;
}

@media (max-width: 1200px) {
  #template-customizer {
      display: none;
      visibility: hidden !important;
  }
}

@media (max-width: 575.98px) {
  #template-customizer {
      width: 300px;
      transform: translateX(320px);
  }
}

.layout-menu-100vh #template-customizer {
  height: 100vh;
}

[dir=rtl] #template-customizer {
  right: auto;
  left: 0;
  transform: translateX(-420px);
}

[dir=rtl] #template-customizer .template-customizer-open-btn {
  right: 0;
  left: auto;
  transform: translateX(58px);
}

[dir=rtl] #template-customizer .template-customizer-close-btn {
  right: auto;
  left: 0;
}

#template-customizer .template-customizer-layouts-options[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

[dir=rtl] .template-customizer-t-style_switch_light {
  padding-right: 0 !important;
}
