.path-business-opportunities .region.region-header .page-header {
  text-align: center;
  padding-top: 115px;
  padding-bottom: 83px;
  border: none;
  font-size: 36px;
  font-weight: 600;
  color: #4d4d4d;
  margin: 0 !important;
}

/* Filter */

.filter-outer-wrapper {
  width: 100%;
  display: flex;
  column-gap: 30px;
  height: 100px;
  background: #f1f2f2;
  align-items: center;
  padding: 30px;
  z-index: 3;
}

.filter-outer-wrapper > * {
  width: calc(100% / 2);
  position: relative;
}

.filter-outer-wrapper select {
  width: 100%;
}

.filter-outer-wrapper .select2-selection {
  border: none;
  border-bottom: 1px solid #231f20;
  font-size: 16px;
  color: #333;
  border-radius: 0%;
  background-color: transparent;
}

.filter-outer-wrapper .select2-container {
  width: 100% !important;
}

.filter-outer-wrapper label {
  transition: all 0.4s ease;
  position: absolute;
  left: 0;
  bottom: 3px;
  color: #404040;
  font-weight: normal;
  background: #f3f3f3;
  width: calc(100% - 30px);
  margin: 0;
  z-index: 4;
  pointer-events: none;
  font-size: 14px;
  line-height: 16px;
}

.filter-outer-wrapper label.focused {
  bottom: 27px;
  font-size: 12px;
  z-index: 2;
}

.path-business-opportunities .filter-outer-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: none;
  font-size: 14px;
}

.path-business-opportunities .filter-outer-wrapper label.focused ~ .select2 > .selection .select2-selection__rendered {
  display: block;
}

.path-business-opportunities .select2-container {
  z-index: 5 !important;
}

/* Table */
.table-outer-wrapper {
  margin: 60px 0 0px;
}

.table-outer-wrapper .data-table {
  width: 100%;
  /* border-collapse: collapse; */
  background-color: #fff;
  /* border: 1px solid #bcbec0; */
  border-bottom: 1px solid #bcbec0;
}

.table-outer-wrapper .data-table th {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #bcbec0;
  color: #fff;
  height: 70px;
  background-color: #3198c6;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
}
.table-outer-wrapper .data-table td {
  padding: 11px 15px;
  text-align: left;
  font-size: 14px;
  line-height: 20px;
}

.table-outer-wrapper .data-table tr {
  border-collapse: collapse;
  border: 1px solid #bebebe;
  border-right: none;
  border-left: none;
}

.table-outer-wrapper .data-table td:first-child,
.table-outer-wrapper .data-table th:first-child {
  padding-left: 25px;
}

.table-outer-wrapper .small-column {
  width: 150px;
}

.table-outer-wrapper td.reference-icon-container {
  text-align: center;
  vertical-align: middle !important;
  position: relative;
}

.table-outer-wrapper .reference-icon {
  width: 21px;
  height: 21px;
  background: url(/themes/custom/b5ap3f/assets/css/../images/business-opportunities/External_link_icon-default.svg) no-repeat;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  margin: auto;
  position: relative;
  font-weight: 400;
}

.table-outer-wrapper .reference-icon:hover {
  background: url(/themes/custom/b5ap3f/assets/css/../images/business-opportunities/External_link_icon_hover.svg) no-repeat;
}

.reference-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  margin-top: 5px;
}

.reference-icon::after {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  transform: translateX(-70%);
  background-color: #fff;
  color: #000000;
  padding: 8px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  pointer-events: none;
  box-shadow: 0px 0px 6px -2px rgba(0, 0, 0, 0.75);
  top: 122%;
  z-index: 2;
}

/* Show tooltip on hover */
.reference-icon:hover::after {
  opacity: 1;
  visibility: visible;
}

.table-outer-wrapper .data-table td,
.table-outer-wrapper .data-table th {
  vertical-align: baseline;
}

.no-data,
.view-empty {
  text-align: center !important;
  vertical-align: middle !important;
  font-weight: 600 !important;
}

.no-data {
  height: 150px;
}

.no-data > div {
  max-width: 700px;
  border: 1px solid #999;
  padding: 15px !important;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

/* Notes & Definitions */
.notes-definitions-wrapper {
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
  color: #231f20;
  margin-bottom: 60px;
}
.notes-definitions-wrapper .title {
  margin-bottom: 2px;
}

.notes-definitions-wrapper .notes {
  margin-bottom: 15px;
}

/*********Dashboard******/
.dashboard-icn.dashboard-b-ops .icon-image::before {
  background: #fff url("/themes/custom/b5ap3f/assets/css/../images/icons/dashboard/Business_Opportunities.png") no-repeat;
}
.dashboard-icn.dashboard-b-ops .icon-image::after {
  background: #fff url("/themes/custom/b5ap3f/assets/css/../images/icons/dashboard-hover/Business_Opportunities_hover.png") no-repeat;
}

.path-upload-ap3fdatabase .ap3fdatabase-mongo .back-link {
  margin-bottom: 20px;
}
.path-upload-ap3fdatabase .ap3fdatabase-mongo .back-link a.btn {
  border-radius: 0;
  outline: none;
}
.path-upload-ap3fdatabase .ap3fdatabase-mongo span.file {
  width: 100%;
  display: flex;
  border: 1px solid #ccc;
  padding: 5px;
  margin-bottom: 10px;
  justify-content: space-between;
}

.path-upload-ap3fdatabase .ap3fdatabase-mongo span.file .file-icon {
  display: none;
}

.path-upload-ap3fdatabase .ap3fdatabase-mongo label {
  margin-bottom: 8px;
  position: relative;
}

.path-upload-ap3fdatabase .ap3fdatabase-mongo button[value="Remove"] {
  margin-bottom: 10px;
}

.path-upload-ap3fdatabase .ap3fdatabase-mongo button[value="Import"] {
  margin-top: 10px;
  margin-bottom: 60px;
}

.path-upload-ap3fdatabase .ap3fdatabase-mongo .form-type-textarea,
.path-upload-ap3fdatabase .ap3fdatabase-mongo #ajax-wrapper {
  margin-bottom: 15px;
}

.path-upload-ap3fdatabase .ap3fdatabase-mongo .form-item-sub-file label::after {
  content: "*";
  color: red;
  font-size: 0.875rem;
  position: absolute;
  top: 0;
  right: -7px;
}

/* Vertical Table */
.path-our-activities .page-header {
  padding-bottom: 74px;
  padding-top: 74px;
}
/*Sticky filter our-activities*/
.tile-view .view-content .field-content .txt-wrapper {
  z-index: 1;
}
.path-business-opportunities .row {
  display: flex;
}
.path-business-opportunities .row .col-sm-12[role="heading"] {
  order: 2;
}
.path-business-opportunities .row .col-sm-12 {
  order: 1;
}
.path-business-opportunities .row .page-header {
  border-bottom: 1px solid #eee;
  text-align: center;
  /* padding-top: 150px;
  padding-bottom: 50px; */
  padding-top: 74px;
  padding-bottom: 74px;
  border: none;
  font-size: 36px;
  font-weight: 600;
  color: #4d4d4d;
  margin: 0 !important;
}
/* @media screen and (min-width: 768px) and (max-width: 1025px) {
  .path-business-opportunities .region.region-header .page-header {
    margin-bottom: 69px;
  }
  .path-our-activities .page-header {
    padding-bottom: 70px;
  }
} */

@media screen and (max-width: 767px) {
  .path-business-opportunities .region.region-header .page-header {
    padding-bottom: 10px;
    padding-top: 50px !important;
  }
  .filter-outer-wrapper {
    flex-direction: column;
    row-gap: 30px;
    height: fit-content;
  }
  .filter-outer-wrapper > * {
    width: 100%;
  }
  .path-business-opportunities .main-container {
    width: 100%;
  }
  .table-outer-wrapper {
    margin-top: 5px;
  }
  .table-outer-wrapper .data-table td {
    /* min-width: 217px; */
    /* min-width: 185px; */
    font-size: 14px;
  }
  .table-outer-wrapper .data-table th {
    min-width: unset;
    font-size: 14px;
    padding: 12px;
  }
  .notes-definitions-wrapper p,
  .path-business-opportunities   .select2-container--default   .select2-selection--single   .select2-selection__rendered {
    font-size: 12px;
  }
}

/* navbar fix */
.navbar {
  z-index: 501;
}

/*Sticky filter business-opportunities*/
@media screen and (min-width: 767px) {
  .filter-outer-wrapper {
    position: sticky;
  }
  .filter-outer-wrapper.fixed {
    /* height: 85px; */
    /* padding-bottom: 15px; */
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  }
}

@media screen and (max-width: 767px) {
  .path-business-opportunities .filter-toggle {
    margin-top: -5px;
    /* margin-left: -5px; */
    /* width: 102% !important; */
    width: 100% !important;
  }
  .filter-toggle {
    width: 100%;
    display: flex;
    position: sticky;
    justify-content: end;
    z-index: 3;
    background: #fff;
    padding: 11px 0;
  }
  .filter-toggle .filter-icon {
    width: 31px;
    height: 31px;
    background: url(/themes/custom/b5ap3f/assets/css/../images/business-opportunities/filter.svg);
  }
  .floating-filter {
    z-index: 4;
    position: fixed;
    height: calc(100vh - 110px);
    overflow: hidden;
    max-width: 305px;
    right: -100%;
    padding: 40px 0px 20px;
    transition: right 0.5s ease-out;
    box-shadow: 1px 10px 17px 0px rgba(77, 77, 77, 0.458823529411764);
    width: 100%;
    background: #f1f2f2;
  }
  .filter-close-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    position: absolute;
    top: 15px;
    right: 20px;
  }
  .filter-close {
    width: 16px;
    height: 16px;
    background: url(/themes/custom/b5ap3f/assets/css/../images/business-opportunities/close_filter.png) center no-repeat;
  }
  body.open-filter .floating-filter {
    right: 0;
  }
}

@media screen and (min-width: 767px) {
  .path-our-activities .tile-view .view-filters {
    position: sticky;
    z-index: 2;
  }
  .path-our-activities .tile-view .view-filters.fixed {
    height: 85px;
  }
  .path-our-activities   .tile-view   .view-filters.fixed   .views-exposed-form   > .form--inline {
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    height: 85px;
  }
}

@media screen and (max-width: 767px) {
  .path-our-activities .tile-view .filter-toggle {
    padding-right: 15px;
  }
  body.open-filter.path-our-activities .select2-container {
    z-index: 5 !important;
  }
  .path-our-activities .page-header {
    padding-bottom: 10px;
    padding-top: 50px;
  }
  .path-our-activities .tile-view > .view-content {
    padding-top: 5px;
  }
  .path-our-activities .main-container.container {
    width: 100%;
  }
}

.select2-results__options {
  scroll-behavior: smooth; /* For smooth scrolling */
  scroll-snap-type: y proximity; /* Adjust the scroll snapping */
}

@media screen and (min-width: 1023px) and (max-width: 1025px) {
  .path-business-opportunities .region.region-header .page-header {
    padding-top: 73px !important;
  }
}

/* @media screen and (max-width: 991px) {
  body.path-business-opportunities {
    margin-top: 64px;
  }
} */

@media screen and (min-width: 992px) {
  .table-outer-wrapper .data-table th:last-child {
    width: 180px;
  }
}

/* New Requirements #378645 15-10-2024 */
/* @media screen and (min-width: 992px) { */
.table-outer-wrapper .data-table td.no-item {
  text-align: center;
  vertical-align: middle;
}
/* } */

.total-count-wrapper {
  margin-top: 27px;
}
.notes-definitions-wrapper {
  margin-top: 25px;
}
.total-count-wrapper h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1e417a;
  margin-bottom: 10px;
}

.total-count-wrapper .ind-count-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.total-count-wrapper .ind-count-wrapper .count {
  font-size: 14px;
  color: #000;
  font-weight: 700;
}
.total-count-wrapper .ind-count-wrapper .count:not(:last-child) {
  padding-right: 14px;
  margin-right: 15px;
  border-right: 2px solid #c1c1c1;
}

.total-count-wrapper .colorbox-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.total-count-wrapper .colorbox-wrapper .colorbox {
  font-size: 12px;
  display: flex;
  gap: 10px;
  text-transform: uppercase;
}

.total-count-wrapper .colorbox-wrapper .box {
  width: 14px;
  height: 14px;
  background-color: red;
}

/* NEW table style */

@media screen and (max-width: 991px) {
  .table-outer-wrapper .data-table th,
  .table-outer-wrapper .data-table td {
    max-width: 50px;
    word-break: break-word;
    padding: 5px !important;
    font-size: 10px;
    height: fit-content;
    line-height: 16px;
  }
  .table-outer-wrapper .reference-icon {
    width: 15px;
    height: 15px;
    background-size: 15px !important;
  }
  .no-data > div {
    max-width: 250px;
    height: 65px;
  }
  .reference-icon::after {
    width: 200px;
    font-size: 10px;
    transform: translateX(-78%);
  }
}

@media screen and (max-width: 767px) {
  .table-outer-wrapper .data-table th,
  .table-outer-wrapper .data-table td {
    font-size: 5px;
    line-height: 8px;
  }
  .no-data > div {
    max-width: 100px;
    height: 40px;
  }
  .reference-icon::after {
    width: 200px;
    font-size: 5px;
    transform: translateX(-89%);
  }
}
