:root {
  --text-color: rgba(51, 46, 124, 0.9);
  --heading: #332e7c;
  --prime-one: #913BFF;
  --prime-two: #913BFF;
  --prime-three: #1799da;
  --prime-four: #2171b7;
  --prime-five: #332E7C;
  --gr-one: linear-gradient(90.43deg, #FF8386 10.07%, #FF171D 99.78%);
}

::selection {
  background-color: #1799da;
  color: #332e7c;
}

#search-form button {
  display: inline-block;
  background-color: var(--violet);
  color: #fff;
  border-color: transparent;
  border-radius: 4px;
  margin-right: 5px;
}

#search-form button :hover {
  background-color: var(--violet);
  color: #fff;
  border-color: transparent;
  transform: scale(1.3);
}

/* Style for the autocomplete list */
.algolia-autocomplete {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 14px;
  color: #333;
}

/* Style for the autocomplete input field */
.algolia-autocomplete .aa-input {
  display: flex;
  width: 100%;
  padding: 0.6rem;
  /* background-color: var(--white);
  color: var(--blue); */
  border: 1px solid #dfe1e5;
  border-radius: 10px;
}

/* Style for the autocomplete suggestions list */
.algolia-autocomplete .aa-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 100%;
  padding: 5px 0;
  margin: 0;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 0px 0px 10px 10px;
  border-top: none;
  list-style: none;
}

/* Style for the autocomplete suggestion item */
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion {
  display: block;
  padding: 5px 10px;
  cursor: pointer;
}

/* Style for the autocomplete suggestion item - hover state */
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion:hover,
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor {
  background-color: #f5f5f5;
}

/* Style for the autocomplete suggestion item - selected state */
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-selected {
  background-color: #e0e0e0;
}

/* Style for the autocomplete suggestion item - name */
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion .name {
  font-weight: bold;
}

/* Style for the autocomplete suggestion item - ISIN */
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion .isin {
  font-size: 12px;
  color: #999;
}

.search-refinements-section {
  background-color: white;
  padding-top: 40px;
}

.section-search-bar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 60px 0px 30px 0px;
  background: rgba(35, 35, 44, 1);
}

.section-search-bar-txt {
  margin-top: 10px;
}

.section-search-bar-txt h2 {
  color: white !important;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.section-search-bar-txt p {
  color: white !important;
  font-weight: 200;
  text-align: center;
  font-size: 15px;
}

.row1 {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.row2 {
  width: 100%;
  max-width: 1200px;
  margin: auto !important;
}


.illustration-holder .search-illustration {
  width: 100%;
  height: 40px;
  margin: auto;
}

.portfolio-check-label {
  color: var(--heading);
  font-size: 12px;
}

.portfolio-name-input {
  display: flex;
  max-width: 400px;
  width: 100%;
  padding: 12px;
  background-color: #fcfcfc !important;
  font-size: 14px;
  font-weight: 200;
  border: none;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.weight-input {
  display: flex;
  max-width: 80px;
  max-height: 50px;
  width: 100%;
  padding: 12px;
  background-color: #fcfcfc !important;
  font-size: 14px;
  font-weight: 200;
  border: none;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.accordion-with-weight {
  display: flex;
  margin-bottom: 25px;
}

.warning-portfolio-alert {
  color: var(--prime-one);
  list-style: none;
  padding-left: 0px !important;
}

.main-search-box {
  position: relative;
  text-align: center;
  padding: 10px 0px 30px 0px;
  max-width: 100%;
}

.main-search-box-input {
  display: flex;
  width: 100%;
  padding: 0.8rem;
  background-color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.main-search-box-input[type=search] {
  outline: none;
  font-size: 14px;
  color: #332e7c;
  font-weight: 300;
}

.main-HomeSearch-box {
  position: relative;
  text-align: center;
  padding: 10px 0px 30px 0px;
  max-width: 100%;
}

.main-HomeSearch-box-input {
  display: flex;
  width: 100%;
  padding: 0.8rem;
  background-color: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 10px;
}

.main-HomeSearch-box-input[type=search] {
  outline: none;
  font-size: 14px;
  color: #332e7c;
  font-weight: 300;
}

.ais-SearchBox-submitIcon {
  display: none;
}

.ais-SearchBox-reset {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  color: #913BFF !important;
}

.ais-SearchBox-reset button {
  background-color: transparent;
  border: none;
  border-radius: 50%;
  padding: 5px;
  font-size: 12px;
  color: #913BFF !important;
}

.ais-SearchBox-reset button:hover {
  background-color: #f0f0f0;
}

.section-filters {
  position: relative;
  width: 100%;
  background-color: white !important;
  padding: 40px 0px 40px 0px;
}


.search-section-right {
  border: none;
  border-color: transparent !important;
  border-radius: 8px !important;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}


.search-section-left {
  border: none;
  border-color: transparent !important;
  margin-right: 20px;
  border-radius: 8px !important;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.ais-InfiniteHits.ais-InfiniteHits--empty {
  font-size: 14px !important;
  color: var(--prime-five) !important;
  margin-top: 10px !important;
}

/* .clear-refinements .ais-ClearRefinements-button {
  /* border-color: var(--prime-six); */
/* border-style: solid; */
/* border-width: 2px; */
/* background-color: var(--prime-six); 
  color: var(--prime-six);
  padding: 10px;
  min-width: 100%;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
} 

.clear-refinements .ais-ClearRefinements-button:hover {
  color: var(--prime-four);
} */

.next-button {
  color: var(--prime-three);
  font-size: 14px;
  margin-top: 5px;
  font-weight: 600;
}

.next-button:hover {
  color: var(--prime-five);
}

.ais-InfiniteHits-loadMore {
  color: var(--prime-three);
  font-size: 14px;
  margin-top: 5px;
  font-weight: 600;
}

.ais-InfiniteHits-loadMore:hover {
  color: var(--prime-five);
}

.ais-NumericMenu-list {
  list-style: none;
  padding-left: 0px;
}

.refinement-list-asset-class span {
  font-size: 14px !important;
  margin-left: 3px;
  color: #25252b;
  font-weight: 200;
}

.refinement-list-management-company .ais-SearchBox-input {
  background-color: transparent;
  width: 100%;
  padding: 8px 16px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 5%;
}

.ais-RefinementList-management-list {
  display: none;
}


.ais-RefinementList-list {

  list-style: none;
  padding: 0px;

}

.refinement-list-management-company .ais-SearchBox-submit {
  display: none;
  /* hide the search button */
}

.refinement-list-management-company span {
  font-size: 14px !important;
  margin-left: 3px;
  color: #25252b;
  font-weight: 200;
}

.hits {
  font-size: 14px;
  margin-top: 10px;
  margin-left: 10px;
  font-weight: 300;
}

.hits :link {
  text-decoration: none;
  font-size: 14px;
}

.hits .ais-InfiniteHits-loadMore {
  display: none !important;
}

.container-pagination {
  position: relative;
  height: 100%;
}

.content-pagination {
  height: calc(100% - 60px);
  overflow-y: auto;
}


/* new css */



.dh-search-style .refinement-widget-list {
  list-style: none;
  padding: 0.5rem !important;
}

.dh-search-style .widget-label {
  font-size: 14px;
  margin-bottom: 15px;
}

.dh-search-style .widget-label-text {
  color: var(--heading);
  font-weight: 300;
  padding: 0px 0px 0px 2px;
}

.dh-search-style .widget-count {
  font-weight: 500;
  font-size: 12px;
  color: var(--prime-four);
}

.widget-count::before {
  content: "(";
}

.widget-count::after {
  content: ")";
}

.dh-search-style .widget-search-form {
  margin-bottom: 10px;
  display: flex;
}

.dh-search-style .widget-search-input {
  width: 100%;
  padding: 8px 15px;
  font-size: 12px;
  border: 2px dotted #8080a1;
  border-radius: 4px;
  box-sizing: border-box;
}

.dh-search-style .widget-compare-search-input {
  width: 50%;
  margin-top: 20px;
  padding: 8px 15px;
  font-size: 12px;
  border: 2px dotted #8080a1;
  border-radius: 4px;
  box-sizing: border-box;
}


.dh-search-style .show-more-btn {
  background-color: var(--prime-four);
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.dh-search-style .show-more-btn:hover {
  background-color: var(--prime-one);
}

.dh-infiniteHits-root {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 5px;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}

.dh-infiniteHits-root .infiniteHits-item {
  margin-bottom: 5px !important;
}

.dh-infiniteHits-root .infiniteHits-item a {
  text-decoration: none !important;
}

.algolia-table {
  display: none;
}

#table1 {
  display: block;
}

.hit-name {
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--prime-five) !important;
}

.hit-name a {
  text-decoration: none !important;
}

.hit-compare-name {
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--prime-five) !important;
  cursor: pointer;
}

.hit-compare-row:hover {
  background-color: #7ca5c9;
  cursor: pointer;
}

.hit-portfolio-compare-name {
  text-decoration: none !important;
  line-height: 30px;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--prime-five) !important;
  cursor: pointer;
}


.search-page-table th {
  font-size: 11px !important;
  font-weight: 700;
  color: #332e7c !important;
}

.tr-body tr:hover {
  background-color: #7ca5c9;
  cursor: pointer;
}

.search-page-table-header {
  display: flex;
  align-items: center;
}


.dh-filter-title h1 {
  font-size: 20px;
  font-weight: 700;
  color: #332e7c !important;
  opacity: 0.8;
}

.dh-filter-title h1:before {
  background-color: #1799da;
  border-radius: 0.20rem;
  content: '';
  display: block;
  height: 0.05rem;
  width: 42px;
  margin-bottom: 0.5rem;
}

.dh-filter-title p {
  font-size: 14px;
  color: var(--prime-five);
}

.filter-p-col {
  width: auto !important;
}

.filter-p-col .filter-p {
  font-size: 12px;
  color: var(--heading);
  margin-right: 5px;
}

.filter-p-col .filter-p .bold {
  font-weight: 700;
}

.dh-compare-list {
  margin-top: 20px;
  list-style: none;
  padding-left: 10px;
}

.dh-compare-widget {
  background-color: #fcfcfc !important;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px !important;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.dh-compare-widget-title {
  color: var(--heading);
  font-size: 14px;
  font-weight: 200;
  margin-bottom: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remove-accordion-button {
  margin-left: auto;
  padding: 5px 10px;
  background-color: none;
  color: var(--prime-five);
  border: none;
  cursor: pointer;
}

.remove-accordion-button:hover {
  background-color: none;
  color: var(--prime-one);
}


.dh-add-compare-button {
  border-color: var(--prime-five);
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  min-width: 20%;
  color: var(--heading);
}

.dh-add-compare-button:hover {
  border-color: var(--blue);
  background-color: var(--blue);
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  color: white;
}

.dh-add-compare-button-disabled {
  border-color: #bab8ce;
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  min-width: 20%;
  color: #bab8ce;
}

.dh-add-compare-button-disabled .upgrade {
  color: white;
  position: absolute;
  background-image: linear-gradient(90deg, rgba(154, 59, 255, 1) 0%, rgba(64, 114, 180, 1) 48.22%, #73cde4 100%);
  padding: 3px;
  font-weight: 500;
  font-size: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  border-radius: 5px;
}

.dh-portfolio-manager-button-delete {
  border-color: #b0233b;
  border-style: solid;
  border-width: 1px;
  font-size: 14px;
  border-radius: 5px;
  padding: 5px;
  min-width: 100%;
  color: #b0233b;
}

.dh-portfolio-manager-button-delete:hover {
  background: #b0233b;
  border-radius: 5px;
  padding: 5px;
  min-width: 100%;
  padding: 5px;
  color: #fff;
}

.dh-portfolio-manager-button {
  border-color: var(--prime-five);
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  min-width: 100%;
  color: var(--heading);
}

.dh-portfolio-manager-button:hover {
  border-color: var(--prime-five);
  background-color: var(--prime-five);
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  color: white;
}

.dh-portfolio-manager-button-disabled {
  border-color: var(--prime-five);
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  min-width: 100%;
  color: var(--heading);
  opacity: 0.5;
}

.dh-portfolio-manager-button-disabled .upgrade {
  position: absolute;
  background-image: linear-gradient(90deg, rgba(154, 59, 255, 1) 0%, rgba(64, 114, 180, 1) 48.22%, #73cde4 100%);
  padding: 3px;
  font-weight: 500;
  font-size: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  border-radius: 5px;
}



.dh-portfolio-edits-container {
  width: 100%;
}

.dh-add-portfolio-button {
  text-decoration: none;
  text-align: center;
  border-color: var(--prime-five);
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  min-width: 20%;
  color: var(--heading) !important;
}

.dh-add-portfolio-button:hover {
  border-color: var(--prime-five);
  background-color: var(--prime-five);
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  color: white !important;
}

.dh-create-new-port-button {
  border-color: var(--heading);
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  background-color: var(--heading);
  color: white;
  padding: 10px;
  min-width: 100%;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.dh-create-new-port-button:hover {
  border-color: var(--heading);
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  background-color: transparent;
  color: var(--heading);
}

.dh-create-new-port-button-disabled {
  border-color: #bab8ce !important;
  ;
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  background-color: #bab8ce !important;
  color: white;
  padding: 10px;
  min-width: 100%;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.dh-create-new-port-button-disabled .upgrade {
  position: absolute;
  background-image: linear-gradient(90deg, rgba(154, 59, 255, 1) 0%, rgba(64, 114, 180, 1) 48.22%, #73cde4 100%);
  padding: 3px;
  font-weight: 500;
  font-size: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  border-radius: 5px;
}

.dh-create-new-port-button .btnn {
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.dh-create-new-port-button:hover .btnn {
  color: var(--heading);
}


.dh-list-edits-container {
  width: 50%;
}

.dh-list-manager-button {
  border-color: var(--prime-five);
  font-size: 14px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  min-width: 100%;
  color: var(--heading);
}

.dh-list-manager-button:hover {
  border-color: var(--prime-five);
  background-color: var(--prime-five);
  border-style: solid;
  border-radius: 5px;
  padding: 5px;
  color: white;
}

.dh-compare-launch-button {
  border-color: var(--prime-one);
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  background-color: var(--prime-one);
  color: white;
  padding: 10px;
  min-width: 100%;
  font-size: 12px;
  font-weight: 700;
}

.dh-compare-launch-button:hover {
  border-color: var(--prime-one);
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  background-color: transparent;
  color: var(--prime-one);
}

.dh-compare-launch-button-inactive {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed !important;
}

.dh-compare-counts {
  font-weight: 300;
  font-size: 12px;
  color: var(--prime-five) !important;
}

.dh-delete-ptf-button {
  border-color: #b0233b;
  ;
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  background-color: #b0233b;
  ;
  color: white;
  padding: 10px;
  min-width: 100%;
  font-size: 12px;
  font-weight: 700;
}

.dh-delete-ptf-button:hover {
  border-color: #b0233b;
  ;
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  background-color: transparent;
  color: #b0233b;
  ;
}

.dh-delete-ptf-button-inactive {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed !important;
}

/* CSS to hide the reset button in the refinement list widget */
.dh-search-style .ais-SearchBox-resetIcon {
  display: none;
}

/* #current-refinements ul {
  display: flex;
  flex-direction: row; 
  list-style-type: none;
  padding: 0;
  margin-bottom: 5px;
} */

/* #current-refinements ul li {
  display: flex;
  margin-right: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--prime-four);
} */

.ais-CurrentRefinements-label {
  display: none !important;
}

.ais-CurrentRefinements-category {
  display: flex;
  padding: 0px 10px 0px 0px;
}

.ais-CurrentRefinements-delete {
  color: var(--prime-four);
  padding-left: 4px;
}

.ais-Stats {
  font-size: 12px;
  font-weight: 600;
  color: var(--prime-four);
}

.selectedIsinsCount {
  font-size: 12px;
  font-weight: 600;
  color: var(--prime-four);
}

.dh-not-allowed {
  cursor: not-allowed !important;
}

.dh-portfolio-create {
  background-color: #fcfcfc !important;
  padding: 12px;
  margin-right: 20px;
  border-radius: 10px !important;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.dh-portfolio-created {
  padding: 12px;
  margin-right: 20px;
  border-radius: 10px !important;
  border-color: var(--heading);
  border: 1px !important;
  border-style: dotted !important;
  width: 100% !important;
}

.dh-portfolio-create-title {
  color: var(--heading);
  font-size: 14px;
  font-weight: 200;
  margin-bottom: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-not-found {
  color: var(--heading);
  margin-top: 10px;
  font-size: 13px;
}