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


body {
  background-repeat: repeat !important;
  font-family: "Titillium Web", sans-serif !important;
}

.light-style body {
  background-image: url(/img/Form/Meritta-Bg.png) !important;
}

.dark-style body {
  background-image: url(/img/Form/Meritta-Bg-dark.png) !important;
}

.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: 78px !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;
}

.mainLogo {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

  .mainLogo img {
    width: 1px;
    height: 1px;
  }


.LoginLogo {
  width: fit-content !important;
  height: fit-content !important;
}

  .LoginLogo .mainLogo {
    width: 250px !important;
    height: 250px !important;
  }


.registrationLogo .mainLogo {
  height: 350px !important;
  width: 350px !important;
}

.registrationLogo .mainLogo {
  margin-top: -187px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.registrationBg {
  margin-top: 185px;
  background-color: #ffffffd1;
}

#modalScrollable p {
  white-space: pre-line;
}

#modalScrollable .modal-dialog {
  width: 30%;
}

.visitor-id-img {
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: cover;
}

.mobileVisitorsTab .accordion-button {
  display: flex;
}

.mobileVisitorsTab {
  display: flex;
}

  .mobileVisitorsTab .accordion-button {
    text-align: left !important;
  }

.toggleBtnCard {
  font-size: 18px;
  cursor: pointer;
}

.toggleBtnCard2 {
  display: none;
  font-size: 18px;
}

#visitorsList i {
  font-size: 18px;
}

@media (max-width: 576px) {
  .visitor-id-img {
    max-width: 90px;
  }

  .visitorsListTable {
    text-align: left;
  }

  .visitorsChildPhoto {
    margin: auto;
  }
  .registrationBtn{
      text-align:center;
  }

  .mobileVisitorsTab {
    display: block !important;
  }

    .mobileVisitorsTab .accordion-button {
      text-align: center !important;
      padding-right: 0 !important;
      justify-content: center;
    }

  .visitorsCardBtn {
    justify-content: center;
  }

  .visitorsCollabseShow {
    width: 100%;
    margin-top: 0 !important;
    position: relative !important;
  }

  .toggleBtnCard {
    display: none !important;
  }

  .toggleBtnCard2 {
    display: block;
  }
  .visitorsShowSearch {
    width: 90%;
    margin: auto;
  }
    .visitorsShowSearch #statusSelect {
      width: 100% !important;
      max-width: 100% !important;
    }
    .visitorsShowSearch #searchInput {
      width: 150px !important;
      height: 33px;
    }
  .registrationBtn .btn {
    margin-top: 1rem;
  }
}

/*.visitorsListTable, td {
  padding-bottom: 1rem;
}*/



.login label {
  font-weight: 500;
  color: #60A3A2;
}

.login .col-md-4 .card {
  width: 100%;
}

.login .imageLogo {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 250px;
  margin-top: -140px;
}

  .login .imageLogo img {
    width: 1px;
    height: 1px;
  }

.login .card {
  width: 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 50%;
}

.login .registerCard {
  margin-top: 30%;
}

.login h2 {
  color: #60A3A2;
  margin-bottom: 20px;
}

.login form {
  display: flex;
  flex-direction: column;
}

.login label {
  text-align: left;
  margin-bottom: 5px;
  font-weight: 700;
}

.login input {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.login button {
  padding: 10px;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.login .switch {
  margin-top: 15px;
  font-size: 14px;
}

  .login .switch a {
    color: #60A3A2;
    text-decoration: none;
    font-weight: 600;
  }

.login .mb-3{
    margin-bottom: 0!important;
}

.birthday-container {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
}

  .birthday-container::-webkit-scrollbar {
    width: 6px;
  }

  .birthday-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }


.note-ellipsis {
  max-width: 360px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.tooltip.note-tooltip .tooltip-inner {
  max-width: 500px;
  text-align: left;
  white-space: pre-wrap;
}


.badge-state {
  font-weight: 600;
  font-size: 0.75rem;
}

.state-waiting {
  background-color: #ffab00;
  color: #fff;
}
.state-checkedin {
  background-color: #28c76f;
  color: #fff;
}
.state-checkedout {
  background-color: #ea5455;
  color: #fff;
}
.state-default {
  background-color: #7367f0;
  color: #fff;
}
.dt-buttons .dt-button-collection .buttons-excel {
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  width: calc(100% - 1rem);
  margin: 1rem;
  border-radius: .375rem;
}

#toastContainer {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

#toastContainer .toast {
  pointer-events: auto;
}

#childNotesTimeline .timeline-item {
  padding-bottom: .9rem;
}

#childNotesTimeline .timeline-event {
  border-radius: .5rem;
}

.note-text {
  white-space: pre-wrap;
}

.note-meta {
  font-size: .8125rem;
}

.company-select-dropdown .bootstrap-select > .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 2rem;
  width: 200px;
  z-index: 13000 !important;
}

.company-select-dropdown .bootstrap-select .filter-option {
  flex: 1 1 auto;
  width: 100%;
}

.company-select-dropdown .bootstrap-select .filter-option-inner {
  display: flex;
  justify-content: center;
  width: 100%;
}

.company-select-dropdown .bootstrap-select .filter-option-inner-inner {
  display: block;
  text-align: center;
  width: 100%;
}

.company-select-dropdown .bootstrap-select .bs-caret {
  position: absolute;
  right: .75rem;
}

.card, .card-header {
  overflow: visible;
}

.company-select-dropdown,
.company-select-dropdown .bootstrap-select > .dropdown-toggle,
.company-select-dropdown .bootstrap-select .dropdown-menu {
  z-index: 1020 !important;
}

.modal {
  z-index: 1055;
}

.modal-backdrop {
  z-index: 1050;
}
