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

body {
  overflow-x: hidden !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: none;
 
}

.app-brand-logo.demo img {
  width: 34px;
  height: 24px;
}

.app-brand-img.footer img {
  width: 166px;
  mix-blend-mode: multiply;
}

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

/*
* Custom Css
******************************************************************************/

.light-style .swal2-popup .swal2-title {
  font-size: 18px;
  max-width:none
}

.permission-box {
  width: 195px !important;
}

.dataTables_scrollBody {
  position: inherit !important;
}

.text-lms {
  color: #5E3FB8;
}

input::-ms-reveal, input::-ms-clear {
  display: none;
}

.select2-results__message {
    text-align: center;
}
.flatpickr-day.today {
    background-color: #43aa43 !important;;
    color: white;
}
.light-style .flatpickr-day.today:hover {
    background-color: #43aa43 !important;;
    color: white;
}
.jtree-active {
  color: #5E3FB8;
  font-weight: bold;
}

.pl-n {
  padding-left: calc(1rem * var(--depth));
}

#hidden-print-div 
{
  display: none;
}

.disablehref {
  pointer-events: none;
  border:1px solid #cccc;
}

.poll-question {
  display: none;
}

.poll-question.active {
  display: block;
}



@media print {
  #hidden-print-div 
  {
    display: block;margin: 10px;
  }
}
.pdf-header 
{ 
  margin-bottom: 20px; margin-top: 15px; 
}
.bulk-config
{
  min-height: 400px;
}
li.section-group p {
  margin-bottom: 0px;
}

.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
  color: #ffffff !important;
  background-color: #7367f0 !important;
  border-color: #7367f0 !important;
}

.slider-next.slick-arrow{
  border:0; background: #e9e7fd; border-radius:0;
    position: absolute;
    top: 50%;
    display: block;
    width: 30px;
    height: 30px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    right:-30px; border-radius: 100%;
}

.slider-next.slick-arrow i, .slider-prev.slick-arrow i{
  color:#7367f0;
}

.slider-next.slick-arrow.slick-disabled, .slider-prev.slick-arrow.slick-disabled{
  background:#f1f1f2;
}

.slider-next.slick-arrow.slick-disabled i, .slider-prev.slick-arrow.slick-disabled i{
  color:#a8aaae;
}

.slider-prev.slick-arrow{
  border:0; background: #e9e7fd; border-radius:0;
    position: absolute;
    top: 50%;
    display: block;
    width: 30px;
    height: 30px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    left:-25px; border-radius: 100%;
}

.grid-view .question-container {
  display: none;
}

.grid-view .question-container.active {
  display: block;
}

.daterangepickr {
  cursor: pointer;
}

.jstree-anchor, .jstree-anchor:link, .jstree-anchor:visited, .jstree-anchor:hover, .jstree-anchor:active {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
}

.form-check-inline {
  font-size: 0.8425rem;
}

div.dataTables_wrapper div.dataTables_filter input {
  width: auto;
}

.my-task-wow-background {
    background: url(../../../images/default/my_task_wow_background.png);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50px !important;
    background-color: #fff;
}
.image-wrapper img{
  max-height: 123px;
}

input[disabled], textarea[disabled], select[disabled], button[disabled] {
  cursor: not-allowed !important;
  pointer-events: auto !important;
}

.fc-event {
  cursor: pointer;
}

.fc-day-holiday.fc-holiday {
  background-color: #FFDDDD;
  cursor: not-allowed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.fc-day-holiday.fc-holiday .fc-day-holiday-name {
  display: block;
}

.fc-day-holiday .fc-day-holiday-name {
  display: none;
}

.responsive-img img
{
  height: auto !important;
  max-width: 100%;
}

/* View Content navigation css */
.accordion .accordion-item .padd-left {
  padding-left: 0;
}

.accordion .accordion-item .paddd-left {
  padding-left: 15px;
}

.accordion .accordion-item .accordion .padd-left {
  padding-left: 10px;
}

.accordion .accordion-item .accordion .paddd-left {
  padding-left: 20px;
}

.accordion .accordion-item .accordion .accordion .padd-left {
  padding-left: 20px;
}

.accordion .accordion-item .accordion .accordion .paddd-left {
  padding-left: 30px;
}

.content-navigation-border {
  border: 3px solid;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.academy-content {
    width: 100%;
    overflow: hidden;
}
.academy-content img {
    max-width: 100%;
    height: auto !important;
}

.announcements-container
{
    width: 100%;
    overflow: hidden;
}
.announcements-container img {
    max-width: 100%;
    height: auto !important;
}
.page-container
{
    width: 100%;
    overflow: hidden;
}
.page-container img {
    max-width: 100%;
    height: auto !important;
}

.overflow-x-scroll
{
  overflow-x: scroll;
}
.table-wrappe
{
  position: relative;
}
.roll-nav
{
  margin: 10px 24px 0px 0;
  float: left;
}
.roll-nav-dropdown {
  margin: 0 100px 0 0;
  position: absolute !important;
}
.menu-inner-shadow {
  position: relative;
}

.app-brand-logo.demo img {
  width: 55px;
  height: auto;
}
.pr-g-list .card-datatable.table-responsive {
    min-height: 751px;
}
.logo-img-container {
  width: 180px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img-container img {
  max-width: 100%;
  max-height: 100%;
}
.bulk-errors-show li{
  list-style: none;
  margin-right: 29px;
}
ul.bulk-errors-show {
  margin-top: 14px;
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px; /* Adjust based on needs */
}
.truncate-faq {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 96%; /* Adjust based on needs */
}

  @media (max-width: 768px) {
      .truncate-faq {
          max-width: 75px; /* Adjust width for tablets */
      }
  }

  @media (max-width: 480px) {
      .truncate-faq {
          max-width: 50px; /* Adjust width for mobile devices */
      }            
  }
  @media (max-width: 400px) {
    .header-master-search {
          width: 200px !important; 
      }
  }
  .header-master-search {
      width: 300px; 
  }
  .table-container {
      width: 100%; /* Container takes full width of viewport */
      overflow-x: auto; /* Horizontal scroll if needed */
  }
  .table-view {
      width: 100% !important;
      table-layout: fixed; /* Ensure fixed layout for table */
  }
  .table-td-faq
  {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }


  .roll-nav
  {
    margin: 10px 24px 0px 0;
    float: left;
  }
  .roll-nav-dropdown {
    margin: 0 100px 0 0;
    position: absolute !important;
  }
  .menu-inner-shadow {
    position: relative;
  }

  .app-brand-logo.demo img {
    width: 55px;
    height: auto;
  }
  .pr-g-list .card-datatable.table-responsive {
    min-height: 751px;
  }
  
  .logo-img-container {
    width: 180px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo-img-container img {
    max-width: 100%;
    max-height: 100%;
  }
  .bulk-errors-show li{
    list-style: none;
    margin-right: 29px;
  }
  ul.bulk-errors-show {
    margin-top: 14px;
  }
  .truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px; /* Adjust based on needs */
  }
  .truncate-faq {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 96%; /* Adjust based on needs */
  }
  
  @media (max-width: 768px) {
      .truncate-faq {
          max-width: 75px; /* Adjust width for tablets */
      }
  }

  @media (max-width: 480px) {
      .truncate-faq {
          max-width: 50px; /* Adjust width for mobile devices */
      }            
  }
  @media (max-width: 400px) {
    .header-master-search {
          width: 200px !important; 
      }
  }
  .header-master-search {
      width: 300px; 
  }
  .table-container {
      width: 100%; /* Container takes full width of viewport */
      overflow-x: auto; /* Horizontal scroll if needed */
  }

  .table-view {
      width: 100% !important;
      table-layout: fixed; /* Ensure fixed layout for table */
  }
  .table-td-faq
  {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  .user-profile-details {
    width: 237px;
  .height-34 {
    height: 34px;
  }

  .height-34 {
    height: 34px;
  }

  a.fc-event-primary {
    padding-right: 0px !important;
    padding-left: 0px !important;
}
.fc-event-main {
    padding: 1px 0 0px 3px !important;
}
.fc-event-title.fc-sticky {
    font-size: 10px !important;
}
.fc-event-instructor.fc-sticky {
  font-size: 10px !important;
}
.fc-event-time {
    line-height: 9px;
}
.fc-event-title-container {
    line-height: 9px;
}
.fc-timeGridWeek-view .fc-event-title,.fc-event-instructor {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70px;
    
}
 .fc-event-title,.fc-event-instructor {
    padding-bottom: 5px;
 }

a.fc-timegrid-event {
    min-height: 46px;
}
.fc-timegrid-event-short .fc-event-main-frame {
    flex-direction: column;
}
.fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner {
    visibility: hidden;
}

.fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner::after {
    content: "All-Day";
    visibility: visible;
}
.fc .fc-timegrid-axis-cushion {
    flex-shrink: 0;
    max-width: none;
}
.fc-day-today .fc-list-day-text::after {
    content: "  Today";
    font-weight: bold; 
    color: red;
}

.image-container {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
}

.image-container img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
