/* ----------- navigation-search ------------ */

input.ka-searchbox-dropdown {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 300;
  color: var(--bs-primary);
  background: #fff;
  padding: 0 1rem;
  position: relative;
}
input.ka-searchbox-dropdown::placeholder {
  font-size: 16px;
  font-weight: 600;
  color: #666;
}
input.ka-searchbox-dropdown + .ka-searchinput-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

input.ka-searchbox-dropdown:focus {
  border: 1px solid var(--bs-primary);
}

.section-filter .navigation-search {
  position: relative;
  height: 100%;
  /* top: 0; */
}
.section-filter__tag-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: hidden;
  padding-bottom: 0.5rem;
}
@media (max-width: 1200px) {
  .section-filter .navigation-search {
    /* top: 6rem; */
    top:auto;
  }
}
@media (max-width: 991px) {
  .section-filter__tag-wrapper {
    overflow-x: scroll;
  }
}

.section-filter__tag-wrapper::-webkit-scrollbar {
  margin-top: 8px;
  height: 4px;
  width: 2px;
  background-color: #fff;
}
.section-filter__tag-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(17, 120, 118, 0.5);
  border-radius: 10px;
  width: 50px;
}
.section-filter__tag {
  color: var(--bs-primary);
  font-weight: 300;
  min-width: fit-content;
  width: fit-content;
  background: #fff;
  border: 1px solid #88bcbb;
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
}
.section-filter__tag.is-active {
  border: 1px solid var(--bs-primary);
  box-shadow: 0px 0px 10px rgba(17, 120, 118, 0.5);
  font-weight: 600;
}
.section-filter__card {
  border-radius: 4px;
  padding: 40px 24px 20px;
  background: url("../../theme/img/bg-search-card.png")
    no-repeat;
  background-size: cover;
  max-width: 322px;
  margin: 0 auto;
}
.section-filterh3 {
  font-size: 28px;
}
.section-filter__card-risk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  padding: 1px 0px 1px 9px;
  font-size: 10px;
}
.section-filter__card-risk .risk-level {
  font-weight: 600;
  background: #f2f2f2;
  border-radius: 50%;
  padding: 4px 8px;
  font-size: 12px;
}
.navigation-search-background {
  background: url("../../theme/img/bg-navigation-serach.svg")
    no-repeat;
  background-size: cover;
  z-index: 150;
  min-height: fit-content;
}
.section-filter .navigation-search-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  /* display: none; */
  height: 100dvh;
}
.section-filter.searchbox-suggestion {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  width: calc(100% - 60px);
  border: 1px solid #eeeeee;
}
.section-filter.form-check {
  width: 150px;
}
.section-filterinput[type="radio"]:checked + label {
  font-weight: 600;
}
@media screen and (max-width: 576px) {
  .section-filter__card {
    max-width: 100%;
  }
  .section-filter {
    position: relative;
    /* top: 0px; */
  }
  .section-filter__recommender h3 {
    font-size: 24px;
  }
  .section-filter__tag {
    font-size: 14px;
  }
  .section-filter__tag img {
    width: 24px;
  }

  .swiper-pagination.section-filter__card-pagination {
    bottom: 30px;
  }
}

/* ----------- END navigation-search ------------ */

.bg-image-value {
  background: url("../../theme/img/bg-navigation-serach.svg");
  /* background: lightgray; */
  background-size: contain;
}

.bg-lightgreen {
  background-color: #f3f8f8;
}


.icwKa .bg-img-graph {
  position: relative;
  background: url("../../theme/img/bg-stock-gray.svg")
    no-repeat;
  background-size: contain;
  background-position: right bottom;
  width: 100%;
}
.ka-controller-counter {
  font-size: 18px;
}
.ka-nav-undeline{
  overflow-x: hidden;
  overflow-y: hidden;
}
@media (max-width: 1200px) {
  .ka-controller-counter {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .ka-nav-undeline{
    overflow-x: scroll;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: nowrap;
    padding: 0 1rem;
    overflow-y: hidden;
  }
  .ka-nav-undeline::-webkit-scrollbar  {
    display: none;
  }

  .ka-nav-undeline .nav-link {
    text-wrap: nowrap;
    width: fit-content;
  }
}


/* @media (max-width: 576px) {
  .icwKa .btn-icon-chart {
    background: url(../../../../../SiteCollectionDocuments/assets/ka-revamp2023/theme/img/icon-chart-white.svg);
    background-repeat: no-repeat, repeat;
    background-position: center center, center center;
  }
  .icwKa .ka-layout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 24px;
    background: var(--bs-gradient);
    padding: 2px;
    max-width: 95px;
    margin: 0 0 0 auto;
  text-align: end;
  }
  .icwKa .btn-icon {
    content: "";
    width: 40px;
    height: 40px;
    cursor: pointer;
  }
  .icwKa .btn-icon-hamburger {
    background: url(../../../../../SiteCollectionDocuments/assets/ka-revamp2023/theme/img/icon-hamburger-thick-white.svg)
      no-repeat center center;
    opacity: 0.5;
  }
  .icwKa .btn-icon-hamburger.is-active {
    background: url(../../../../../SiteCollectionDocuments/assets/ka-revamp2023/theme/img/icon-hamburger-thick-green.svg),
      #fff;
    background-repeat: no-repeat, repeat;
    background-position: center center, center center;
    opacity: 1;
    border-radius: 50%;
  }
  
  .icwKa .btn-icon-waffle {
    background: url(../../../../../SiteCollectionDocuments/assets/ka-revamp2023/theme/img/icon-waffle-white.svg)
      no-repeat center center;
    opacity: 0.5;
  }
  .icwKa .btn-icon-waffle.is-active {
    background: url(../../../../../SiteCollectionDocuments/assets/ka-revamp2023/theme/img/icon-waffle-green.svg),
      #fff;
    background-repeat: no-repeat, repeat;
    background-position: center center, center center;
    opacity: 1;
    border-radius: 50%;
  }
  .icwKa .btn-icon-chart.is-active {
    background: url(../../../../../SiteCollectionDocuments/assets/ka-revamp2023/theme/img/icon-chart-green.svg),
      #fff;
    background-repeat: no-repeat, repeat;
    background-position: center center, center center;
    opacity: 1;
    border-radius: 50%;
  }
} */

/* ----------- ka-asset-info-card ------------ */

.icwKa .ka-asset-info-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #dff1f0;
  padding: 1rem 0 0 0;
  background: #fff;
  /* width: 267px; */
}
.icwKa .ka-asset-info-card__name {
  font-size: 18px;
  margin-bottom: 1rem;
  text-decoration: underline;
  color: #333;
  font-weight: 800;
  color: var(--bs-primary);
}
.icwKa .ka-asset-info-card__desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  font-weight: 500;
}
.icwKa .ka-asset-info-card__value {
  font-size: 44px;
  color: #333;
  font-weight: 800;
  line-height: 1;
}
.icwKa .ka-asset-info-card__date {
  font-size: 14px;
  color: #333;
}

@media (max-width: 991px) {
  .icwKa .ka-asset-info-card__name {
    font-size: 16px;
  }
  .icwKa .ka-asset-info-card__value {
    font-size: 30px;
  }
  .icwKa .ka-asset-info-card__date {
    font-size: 10px;
  }
  .icwKa .ka-asset-info-card__desc {
    font-size: 12px;
  }
}
/* ----------- END ka-asset-info-card ------------ */

/* --------------- section-sticky-compare --------------- */

.icwKa .section-sticky-compare {
  background: #f8f8f8;
}
.icwKa .ka-assetcompare-item { 
  background: #135353;
  color: #fff;
  width: fit-content;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid #88bcbb;
  padding: 5px 38px 5px 12px;
  position: relative;
  cursor: pointer;
  text-wrap: nowrap;
}
.icwKa .ka-assetcompare-item:after {
  content: "X";
  position: absolute;
  right: 12px;
  top: 48%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #fff;
}
.icwKa .ka-assetcompare-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: scroll;
  position: relative;
}
.icwKa .ka-assetcompare-wrapper::-webkit-scrollbar {
  height: 0px;
  /* width: 8px; */
  background: #f2f2f2;
}
.icwKa .section-sticky-compare .ka-assetcompare {
  position: relative;
}
.icwKa .section-sticky-compare .ka-assetcompare:after {
  content: "";
  background: linear-gradient(
    to left,
    rgba(248, 248, 248, 1),
    rgba(248, 248, 248, 0)
  );
  position: absolute;
  width: 60px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 13px;
}
.icwKa .section-sticky-compare {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.icwKa .js-asset-compare-button {
  background: url("../../theme/img/icon-stock.svg")
    no-repeat center center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0.5rem;
  border: 1px solid #eee;
  cursor: pointer;
}
.icwKa .js-asset-compare-button.is-active {
  background: url("../../theme/img/icon-stock-white.svg")
    no-repeat center center;
  background-color: #135353;
  border: 1px solid #88bcbb;
}

@media (max-width: 1200px) {
  .icwKa .ka-assetcompare-wrapper {
    overflow-x: hidden;
    flex-wrap: wrap;
    justify-content: center;
  }
  .icwKa .section-sticky-compare .ka-assetcompare:after {
    content: "";
    background: none;
  }
  .icwKa .section-sticky-compare .ka-assetcompare-item{
    padding: 5px 30px 5px 8px;
  }
  .icwKa .section-sticky-compare .wrapper{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }
}

/* --------------- END section-sticky-compare --------------- */

/* ----------- START section table ------------ */


.ka-scrollable-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  border-radius: 8px;
}


.ka-scrollable-table th,
.ka-scrollable-table td {
  border: 1px solid #fff;
  padding: 8px;
  text-align: center;
  width: fit-content;
  vertical-align: middle;
  font-weight: 500;
  padding: 20px 0px 20px 24px;

  /* cursor: grab; 
  cursor: -webkit-grab; */
}
.ka-scrollable-table td {
  vertical-align: top;
  text-align: start;
  background-color: #fff;
  border: 1px solid #eee;
}
.ka-scrollable-table th {
  font-weight: 800;
  background-color: var(--bs-primary);
  color: #fff;
  text-align: left;
  font-size: 18px;
  padding: 8px 20px 8px 24px;
}

.ka-scrollable-table thead {
  background-color: var(--bs-primary);
  color: #fff;
  font-weight: 800;
  padding: 8px 24px;
  min-height: 80px;
  height: 80px;
}
.ka-scrollable-table tr:nth-child(even) * {
  background-color: #f3f8f8;
}
.ka-scrollable-table.table-backlog tbody tr:nth-child(4n + 1) * {
  background-color: #fff;
}
.ka-scrollable-table.table-backlog tbody tr:nth-child(4n + 2) * {
  background-color: #fafafa;
}
.ka-scrollable-table.table-backlog tbody tr:nth-child(4n + 3) * {
  background-color: #f3f8f8;
}
.ka-scrollable-table.table-backlog tbody tr:nth-child(4n + 4) * {
  background-color: #ebf4f4;
}
.ka-scrollable-table.table-backlog th {
  text-align: center;
}
.ka-scrollable-table.table-backlog th:first-child{
  width: 180px;
}

@media (max-width: 1200px) {
  .ka-scrollable-table tr:nth-child(even) td {
    background-color: #f3f8f8;
  }
  .ka-scrollable-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 200px;
  }

  .ka-scrollable-table td:first-child {
    position: sticky;
    left: 0;
    color: var(--bs-primary);
    text-decoration: underline;
    font-weight: 800;
    z-index: 1;
    width: 220px;
    padding: 20px 24px;
    background: #fff;
  }

  .ka-scrollable-table th:first-child::after,
  .ka-scrollable-table td:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: -16px;
    width: 16px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
  }
  .ka-scrollable-table.table-backlog th:first-child{
    width: 170px;
    padding: 8px 16px;
  }
  .ka-scrollable-table.table-backlog td:first-child{
    width: 170px;
    padding: 8px 16px;
  }
}

@media (max-width: 767px) {
  .ka-scrollable-table th:first-child::after,
  .ka-scrollable-table td:first-child::after {
    background: none;
  }
}

/* ----------- END section table ------------ */

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}
input[type="date"] {
  position: relative;
  background: transparent;
}
input[type="date"]:after {
  content: "";
  background: url("../../theme/img/icon-calender-gray.svg")
    no-repeat center center;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  font-weight: 600;
  padding: 0 8px;
  pointer-events: none;
  z-index: 100;
  width: 24px;
  height: 24px;
}

.icwKa .ka-input-date {
  min-width: 200px;
  font-size: 18px;
  font-weight: 600;
}

#backlog-datepicker-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  width: fit-content;
}
@media (max-width: 576px) {
  .icwKa .ka-input-date {
    width: 100%;
    min-width: calc(100dvw - 30px);
  }
}

.section-filter .ka-searchbox-dropdown ~ .searchbox-suggestion{
  width: 100%;
}



/* nav-control */
.nav-control__container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-bottom: 64px;
}
.nav-control__wrapper {
  display: flex;
  justify-content: space-between;
}
.nav-control {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.nav-control__header__container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.icwKa .nav-control__header {
  font-size: 26px;
  font-weight: 600;
  line-height: 39px;
}
.icwKa  .nav-control__subtitle {
  font-size: 18px;
  line-height: 27px;
}
.nav-control__download {
  height: fit-content;
}
@media screen and (max-width: 767px) {
  .nav-control__container{
    gap: 30px;
    margin-bottom: 32px;
  }
  .nav-control__wrapper {
    flex-direction: column;
    gap: 24px;
  }
  .icwKa .nav-control__header {
    font-size: 20px;
    line-height: 30px;
  }
  .icwKa  .nav-control__subtitle {
    font-size: 16px;
    line-height: 24px;
  }
}

/* nav-control-data */
.nav-control__data__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 80px;
}
/* section-content */
.section-content .sc-inner{
  padding-top: 40px;
  padding-bottom: 64px;
}
.nav-control__data__period {
  width:100%
}
@media screen and (max-width: 767px) {
  .nav-control__data__container {
    flex-direction: column;
    gap: 16px;
  }
  .section-content .sc-inner {
    padding-top: 32px;
    padding-bottom: 40px;
  }
}

/* content-table */
.content-table__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* overview table */
.table-blocking__scrollable.table-listing th:nth-child(1) {
  width: 200px;
}
.table-blocking__scrollable.table-listing th:nth-child(2) {
  width: 200px;
}
.table-blocking__scrollable.table-listing th:nth-child(3) {
  width: 220px;
}
.table-blocking__scrollable.table-listing th:nth-child(4) {
  width: 150px;
}
.table-blocking__scrollable.table-listing th:nth-child(5) {
  width: 150px;
}
.table-blocking__scrollable.table-listing th:nth-child(6) {
  width: 220px;
}
@media screen and (max-width: 767px) {
  .table-blocking__scrollable.table-listing th:nth-child(1) {
    width: 164px;
  }
  .table-blocking__scrollable.table-listing th:nth-child(2) {
    width: 100px;
  }
  .table-blocking__scrollable.table-listing th:nth-child(3) {
    width: 120px;
  }
  .table-blocking__scrollable.table-listing th:nth-child(4) {
    width: 100px;
  }
  .table-blocking__scrollable.table-listing th:nth-child(5) {
    width: 100px;
  }
  .table-blocking__scrollable.table-listing th:nth-child(6) {
    width: 164px;
  }
}

/* -------------- Modal --------------------*/
.modal .modal-dialog{
  max-width: 900px;
}