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

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

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

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

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

/* ! 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;
}

/* 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: 1.25rem !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: 300px;
    position: relative;
  }

    #dropdown-variation-demo .btn-group .text-truncate::after {
      position: absolute;
      top: 45%;
      right: 0.65rem;
    }
}
/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}

label.tog > input {
  display: none;
  /* Hide the checkbox */
}

  label.tog > input + span {
    text-indent: -9000px;
    /* Make text Accessible but not visible */
    display: inline-block;
    width: 48px;
    height: 48px;
    background: center / contain no-repeat url("/images/Icons/play-box-custom.png");
    /*Play*/
  }

  label.tog > input:checked + span {
    background-image: url("/images/Icons/pause-box-custom.png");
    /*Pause*/
  }

.full-screen-modal-popup-charts {
  width: 80%;
  margin-left: 10%;
  margin-top: 10%;
  /* border-radius:10px; border-style:solid ;border-width: 1px; */
}

.dataTables_wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/***************************************media query ************************************/
/* .download-report-btn {
  margin-top: 8px;
  margin-left: 25%;
} */
/* For Desktop View */
@media screen and (min-width: 1024px) {
  .download-report-btn {
    margin-top: 8px;
    margin-left: 35%;
  }
}
/* For Tablet View */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .download-report-btn {
    margin-top: 20px;
    margin-left: 5%;
  }
}
/* For Mobile Portrait View */
@media screen and (max-device-width: 480px) and (orientation: portrait) {
  .download-report-btn {
    margin-top: 20px;
    margin-left: 10%;
  }
}
/* For Mobile Landscape View */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
  .download-report-btn {
    margin-top: 20px;
    margin-left: 10%;
  }
}
/* For Mobile Phones Portrait or Landscape View */
@media screen and (max-device-width: 640px) {
  .download-report-btn {
    margin-top: 20px;
    margin-left: 10%;
  }
}
/* For iPhone 4 Portrait or Landscape View */
@media screen and (min-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
  .download-report-btn {
    margin-top: 20px;
    margin-left: 4%;
  }
}
/* For iPhone 5 Portrait or Landscape View */
@media (device-height: 568px) and (device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
  .download-report-btn {
    margin-top: 20px;
    margin-left: 10%;
  }
}
/* For iPhone 6 and 6 plus Portrait or Landscape View */
@media (min-device-height: 667px) and (min-device-width: 375px) and (-webkit-min-device-pixel-ratio: 3) {
  .download-report-btn {
    margin-top: 20px;
    margin-left: 10%;
  }
}

/* fixing the datatable container*/
#dataTableContainer {
  height: 565px; /* Set a fixed height */
  overflow: hidden; /* Hide overflow to prevent flickering */
}

.dt-certificateNumber {
  background: #fff !important;
}

.dt-name {
  background: #fff !important;
}

.dt-validitydays {
  background: #fff !important;
}
/* loading*/

.loading-state {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.logo {
  /*//margin-left: 10%;*/
  width: 400px; /* Adjust the width as needed */
  height: auto;
  margin-bottom: 5px; /* Space between logo and progress bar */
  padding: 10px 10px 10px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  border: 1px solid #f3f3f3;
  border-top: 1px solid #f3f3f3;
  border-right: 1px solid #f3f3f3;
}

/*  .logo img {
    padding: 10px 10px 10px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    width: 300px;
    animation: breathe 3s ease-in-out infinite;
    animation: heartbeat 1s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border: 1px solid #f3f3f3;
    border-top: 3px solid #f3f3f3;
    border-right: 1px solid #f3f3f3;
  }*/


.progress-bar {
  /*margin-left: 10%;*/
  width: 400px; /* Adjust the width to match the logo width */
  height: 15px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  width: 0;
  height: 100%;
  background-color: #7ac80a; /* logo green color */
  /*animation: loadProgress 3s infinite;*/
  animation: loadProgress 5s linear infinite;
}

@keyframes loadProgress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}



