/* INFO: ========== Side Bar CSS ================ */

:root {
  --sidebar-bg: #f6f8f9;
  --icon-color: #1ba2ee;
  --menu-hover: #e1e7eb;
}

.kt-aside {
  width: 0px;
}

.kt-portlet {
  margin-bottom: 40px;
}

.sidebar {
  width: 265px;
  height: -webkit-fill-available;
  top: 65px;
  position: fixed;
  transition: all 0.3s;
  background-color: var(--sidebar-bg);
  color: #333;
  /* box-shadow: 2px 0 5px rgba(0,0,0,0.1); */
  z-index: 1001;
  overflow-y: auto;
}

.sidebar.collapsed {
  width: 50px;
}

.sidebar.collapsed .menu-text {
  display: none;
}

.sidebar.collapsed .nav-link {
  text-align: center;
  padding: 15px 5px;
}

.sidebar.collapsed .dropdown-toggle::after {
  display: none;
}

.sidebar.collapsed .form-control,
.sidebar.collapsed .form-check {
  display: none;
}

.sidebar.collapsed .menu-collapse-content {
  display: none;
}

.sidebar.collapsed .collapse-icon {
  display: none;
}

.sidebar .card{
  background: transparent;
}

.full-kt-wrapper {
  margin-top: 0px;
  padding-left: 250px;
  transition: all 0.3s;
  padding: 20px;
}

.full-kt-wrapper.collapsed {
  padding-left: 70px;
}

.toggle-btn {
  cursor: pointer;
  padding: 20px 7px;
  text-align: right;
}

.toggle-btn i {
  color: var(--icon-color);
  font-size: 1.5rem;
}

.nav-link {
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 15px 20px;
  margin: 2px 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-link .menu-item-content {
  display: flex;
  align-items: center;
}

.nav-link i.menu-icon {
  color: var(--icon-color);
  font-size: 1.7rem;
  margin-right: 15px;
  min-width: 24px;
  text-align: center;
}

.nav-link img.menu-icon {
  margin-right: 15px;
}

.nav-link:hover {
  background-color: var(--menu-hover);
}

.menu-collapse-content {
  /* padding: 10px 15px 15px 15px;*/
  margin-left: 45px;
}

.form-control {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.form-check {
  margin-bottom: 15px;
  padding-left: 0;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 0.3rem;
}

.form-check-label {
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 400;
  margin-left: 10px;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.new_card_desc .dropdown-menu{
  max-height: 200px;
  overflow-y: auto;
}

.collapse-icon {
  transition: transform 0.2s;
  font-size: 0.9rem;
  color: #666;
}

.nav-link[aria-expanded="true"] .collapse-icon {
  transform: rotate(90deg);
}

.form-check {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.form-check-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.form-check:hover .checkmark {
  border-color: #1ba2ee;
}

.form-check-input:checked~.checkmark {
  background-color: #1ba2ee;
  border-color: #1ba2ee;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.form-check-input:checked~.checkmark:after {
  display: block;
}

.form-check .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#kt_wrapper.collapsed {
  padding-left: 50px;
}

/* Hide sidebar on mobile by default */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .full-kt-wrapper.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
  }

  .full-kt-wrapper,
  .full-kt-wrapper.collapsed {
    margin-left: 0px;
  }

  .sidebar {
    width: 100%;
    top: 50px;
  }

  .kt-header__topbar--mobile-on .kt-header__topbar {
    padding: 0px;
  }

  .kt-header__topbar .kt-header__topbar-item.kt-header__topbar-item--user {
    background-color: #ffffff;
    margin-left: 0px;
    padding-top: 8px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* #kt_header {
    display: none;
  } */

  .sidebar {
    top: 50px;
  }
}

@media screen and(width: 1024px) {
  .kt-aside--fixed .kt-wrapper {
    padding-left: 265px;
  }
}

.selected_filter .filter,
.selected_filter .box_div {
  text-align: center;
  padding: 5px;
  margin: 5px;
  /* background-color: #f9f9f9;
    border: 1px solid #08c;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */
}

.selected_filter .filter button {
  padding: .3em .4em;
}

.selected_filter .filter button a {
  margin: 0 0 0 .3em;
}

.selected_filter .filter button a i {
  font-size: 11px !important;
}

.selected_filter .filter .close_filter,
.selected_filter .filter .industry_or_level_1_industry_close_filter {
  float: right;
  cursor: pointer;
}

/* .selected_filter .filter .close_filter{
      
   } */
.selected_filter .filter p {
  color: #212529;
  font-size: 15px;
}

.selected_filter .filter p b {
  font-weight: 500;
}

.dataTables_length label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dataTables_length label select.form-control {
  margin-bottom: 0;
  margin-left: 5px;
  margin-right: 5px;
}

.switch-card {
  margin: 0;
  font-size: 1.1rem;
  /* padding: 1rem 1rem 1rem 0; */
  font-weight: 500;
  display: flex;
  align-items: center;
  /*padding: 0px;*/
  padding: 0.5rem 0rem 0.5rem 0rem;
  color: #212529;
  font-weight: 350;
}

.switch-card .kt-switch {
  /*margin-left: 68px;*/
  margin-left: 80px;
}

#collapseName_contact_method .switch-card {
  padding: 0 !important;
}

#collapseName_contact_method .switch-card .kt-switch {
  margin-left: 0px !important;
  margin-right: 5px !important;
}

.kt-switch input:checked~span:after {
  background-color: #21a4eb;
}

/* INFO: ========== Data Table CSS ================ */

body {
  background: white;
}

#new-list li {
  height: 583px;
}

.franchimp-datatable.kt-content,
.franchimp-datatable.kt-container {
  padding: 0px !important;
}

.franchimp-datatable .table-heading .table-title {
  font-size: 1.5rem !important;
  margin-bottom: 0px !important;
}

.dataTables_scrollBody {
  /* max-height: calc(100vh - 360px) !important; */
  max-height: 100% !important;
}

.kt-portlet .kt-portlet__body {
  padding: 10px 6px 0px 17px !important;
}

.table-footer.active .col {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.table-footer.active .col:first-child {
  margin-left: 10px;
  border-left: 1px solid #ddd;
  border-bottom-left-radius: 15px;
  /* box-shadow: -9px 9px 9px -4px rgba(0, 0, 0, 0.1); */
}

.table-footer.active .col:nth-child(2) {
  border-right: 1px solid #ddd;
  margin-right: 10px;
  margin-top: 0px;
  border-bottom-right-radius: 15px;
  /* box-shadow: 3px 9px 9px -4px rgba(0, 0, 0, 0.1); */
}

div.dataTables_wrapper div.dataTables_info {
  font-size: 14px;
  font-weight: 400;
}

.dataTables_wrapper .dataTables_scroll {
  margin: 0px;
}

.loader {
  z-index: 2;
}

.kt-input-icon>.kt-input-icon__icon{
  top: -4px;
}

.franchisor_filter.accordion.accordion-toggle-plus .card.main .card-header .card-title.main {
  padding: 10px 0 10px 0;
  background: #1f9cef;
  color: #fff;
  border-radius: 0 100px 100px 0;
}

.franchisor_filter.accordion .card.main.main .card-header .card-title.main.collapsed {
  color: #212529;
  background: transparent;  
  padding: 10px 0 10px 0;  
}

.franchisor_filter.accordion .card.main.main .card-header .card-title.main.collapsed>i {
  color: #74788d;
}

.franchisor_filter.accordion.accordion-toggle-plus .card.main .card-header .card-title.main.collapsed:after,
.franchisor_filter.accordion.accordion-toggle-plus .card.main .card-header .card-title.main:after {
  content: "";
}

.franchisor_filter.accordion.accordion-light .card.sub {
  border: none;
  border-radius: unset;
  overflow: visible;
  margin-bottom: 0px;
  border-bottom: 1px solid #eeeef4;
}

.franchisor_filter.accordion.accordion-light .card .card-body {
  margin-left: 1rem;
  margin-top: 1rem;
  /* padding-top: 1rem; */
  /* border-top: 1px solid #dadce0; */
}

.franchisor_filter.accordion.accordion-light .card:last-child .card-body {
  margin-left: 1rem;
  margin-top: 1rem;
  /* padding-top: 1rem; */
  /* border-top: 1px solid #dadce0; */
}

.franchisor_filter.accordion .card.main .card-header .card-title.main>img {
  margin-left: 1rem;
}

.franchisor_filter.accordion .card.main .card-header .card-title.main>i {
  margin-right: 0.5rem;
  margin-left: 1rem;
  font-size: 1.4rem;
  color: #fff;
}

.franchisor_filter.accordion .card.main .card-header.franchising_status_div i {
  width: 25px;
  margin-right: 1rem;
  margin-left: 1rem;
  font-size: 18px;
  color: #74788d;
}

/* ====================== */

.franchisor_filter .card-title.main {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
}

.franchisor_filter .card-title.main i {
  font-size: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-top: 1px;
  /* fine-tune vertical alignment */
}

.franchisor_filter .card-title.main span {
  line-height: 1;
  display: inline-block;
}

.franchisor_filter .card-title.main.active {
  background-color: #29a8f4;
  border-radius: 8px;
  color: white;
}

.exportCsvv{
  cursor: pointer;
}

.table-footer .grid-bottom-div {
  width: 96%;
  margin-left: 1rem;
}

.selected-filters-container {
  position: relative;
}

.btn-selected-filters {
  background-color: #fff;
  border: 0px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #69788d;
}

.selected-filters-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  z-index: 9;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 300px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
}

.filter-tag {
  margin-bottom: 12px;
}

.filter-tag span,
.filter-tag p {
  display: flex;
  font-weight: 400;
  margin-bottom: 4px;
  font-size: 12px;
  color: #333;
  text-align: left;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background-color: #f1f3f5;
  border-radius: 20px;
  border: 1px solid #333;
  padding: 4px 10px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

.remove_tag {
  margin-left: 6px;
  cursor: pointer;
  font-size: 20px !important;
  color: #333;
  height: 20px;
  align-items: center;
}

.hidden {
  display: none;
}

.number_of_unit_filter input[type="number"] {
  padding: 7px;
  margin: 0 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 60px;
  box-sizing: border-box;
  color: #646c9a;
}

.number_of_unit_filter .btn-round {
  padding: 18px 6px;
  border-radius: 20px !important;
  background-color: #e1e3e1;
  color: #9f9d9d;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .kt-portlet .kt-portlet__body {
    padding: 10px 6px 0px 6px !important;
  }

  .dataTables_info {
    text-align: left !important;
    padding-left: 1.5rem;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 1rem;
  }

  .dataTables_info.active {
    border: 1px solid #ddd;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .dataTables_length label {
    justify-content: flex-start;
  }

  .selected-filters-dropdown{
    right: auto;
  }
}

@media only screen and (max-width: 661px) {
  #new-list {
    height: auto !important;
  }
}

@media (width: 768px) {
  .dataTables_info.active {
    border: 0px !important;
  }

  .table-footer {
    margin-top: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .kt-aside--fixed .kt-wrapper {
    padding-left: 50px;
  }
}

@media (min-width: 1025px) {
  .kt-header--fixed.kt-subheader--fixed.kt-subheader--enabled .kt-wrapper {
    padding-top: 50px;
  }
}