body {
  font-family: Nunito Sans, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: #30a5bf;
}

#page-wrapper {
  padding: 50px;
  background-color: #f7f7f7;
}

.inner-page-wrapper {
  margin: auto;
  width: min-content;
}

#eqv-warning {
  font-size: 14px;
  display: none;
  margin-top: 30px;
}

#eqv-warning.show {
  display: block;
}

.table-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 40px;
}

.table-title:first-of-type {
  margin-top: 0;
}

.table-wrapper {
  overflow-x: auto;
  /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
  max-width: fit-content;
}

.table-scroll-wrapper {
  width: fit-content;
}

.table-header {
  display: flex;
  background-color: #edeef4;
  border-radius: 4px;
  border: 1px solid #f3f3f3;
  padding: 0 10px;
}

.single-row {
  display: flex;
  align-items: center;
  margin-top: 1px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #f3f3f3;
  box-sizing: border-box;
  padding: 0 10px;
}

.single-row.highlighted {
  background-color: #f0fbff !important;
}
.single-row.highlighted .full-width-chart-wrapper {
  background-color: #fff;
}

.single-row.highlighted .col-date {
  font-weight: bold;
}

.single-table-header {
  padding: 10px 6px;
  box-sizing: border-box;
  font-weight: bold;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 13px;
  position: relative;
}

.single-table-header.sortable {
  cursor: pointer;
}

.single-table-header.sortable::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  opacity: 0.3;
  right: 1em;
  content: "↑";
}

.single-table-header.sortable::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  opacity: 0.3;
  right: 0.5em;
  content: "↓";
}

.single-table-header.sortable.disabled {
  cursor: auto;
}

.single-table-header.sortable.disabled::after {
  display: none !important;
}

.single-table-header.sortable.disabled::before {
  display: none !important;
}

.single-table-header.sort-asc::before {
  opacity: 1;
}
.single-table-header.sort-desc::after {
  opacity: 1;
}

.company-miniquote-container .custom-quote-wrapper {
  display: flex;
  align-items: center;
}

.company-miniquote-container .custom-quote-icon {
  width: 12px;
  height: 12px;
  font-size: 8px;
  border-radius: 50%;
  margin-right: 4px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-miniquote-container .custom-quote-icon svg {
  fill: white;
  width: 8px;
  transform: scaleY(0.8);
}

.company-miniquote-container.down .custom-quote-icon svg {
  margin-bottom: 1px;
}

/* .company-miniquote-container .custom-quote-icon span {
  transform: scaleY(0.6);
} */

.company-miniquote-container .custom-quote-value {
  font-size: 12px;
}

.company-miniquote-container.zero .custom-quote-icon {
  display: none;
}
.company-miniquote-container.up .custom-quote-icon {
  background-color: #080;
}

.company-miniquote-container.down .custom-quote-icon {
  background-color: #ff0000;
}

.company-miniquote-container.zero .custom-quote-value {
  color: var(--main-color-192342);
}
.company-miniquote-container.up .custom-quote-value {
  color: #080;
}
.company-miniquote-container.down .custom-quote-value {
  color: #ff0000;
}

.single-cell {
  padding: 10px 6px;
  box-sizing: border-box;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 13px;
}

.single-cell a {
  text-decoration: none;
  border-bottom: 0;
  cursor: pointer;
  color: var(--main-color-192342);
}

.single-cell a:hover {
  border-bottom: 2px solid #30a5bf;
}

#page-wrapper.compact #header-news,
#page-wrapper.compact .col-news {
  display: none;
}
#page-wrapper.compact #header-marketcap,
#page-wrapper.compact .col-marketcap {
  display: none;
}
#page-wrapper.compact #header-socials,
#page-wrapper.compact .col-socials {
  display: none;
}

#page-wrapper.compact #header-company,
#page-wrapper.compact .col-company {
  width: 200px;
}
#page-wrapper.compact #header-project,
#page-wrapper.compact .col-project {
  width: 100px;
}
#page-wrapper.compact #header-mineral-value,
#page-wrapper.compact .col-mineral-value {
  width: 55px;
}
#page-wrapper.compact #header-from,
#page-wrapper.compact .col-from {
  width: 60px;
}
#page-wrapper.compact #header-interval,
#page-wrapper.compact .col-interval {
  width: 65px;
}

#page-wrapper.compact #header-gradexwidth,
#page-wrapper.compact .col-gradexwidth {
  width: 150px;
}

#page-wrapper.compact #header-gradexwidth,
#page-wrapper.compact .col-gradexwidth {
  width: 150px;
}
#page-wrapper.compact #header-location,
#page-wrapper.compact .col-location {
  display: none;
}

#page-wrapper.compact .single-cell,
#page-wrapper.compact .single-table-header {
  font-size: 11px;
  padding: 6px 2px;
}

#page-wrapper.compact .load-more-button {
  display: none;
}
#page-wrapper.compact .table-title {
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 0;
}

#page-wrapper.compact {
  background-color: #fff;
}
#page-wrapper.compact .single-row {
  background-color: #fff;
}

#page-wrapper.compact .chart-total-grade-x-width {
  font-size: 10px;
  line-height: 10px;
}

#page-wrapper.embed #loginModal {
  display: none !important;
}
#page-wrapper.embed #eqv-warning {
  display: none !important;
}
#page-wrapper.embed .filter-controls-wrapper {
  display: none !important;
}

#page-wrapper.embed #filter-tags-wrapper {
  display: none !important;
}

#page-wrapper.embed {
  padding: 0 !important;
}

#page-wrapper.embed .inner-page-wrapper {
  margin: unset;
}

#header-news,
.col-news {
  width: 50px;
  text-align: center;
}
#header-company,
.col-company {
  width: 220px;
}
#header-date,
.col-date {
  width: 80px;
}
#header-project,
.col-project {
  width: 120px;
}
#header-primary-commodity,
.col-primary-commodity {
  width: 150px;
}
.col-primary-commodity {
  text-align: center;
}
#header-mineral-value,
.col-mineral-value {
  width: 90px;
  font-weight: 700;
  text-align: center;
}
#header-from,
.col-from {
  width: 100px;
  text-align: center;
}
#header-interval,
.col-interval {
  width: 114px;
  text-align: center;
}
#header-gradexwidth,
.col-gradexwidth {
  width: 200px;
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 100px;
  position: relative;
}
#header-marketcap,
.col-marketcap {
  width: 100px;
}
#header-location,
.col-location {
  width: 100px;
}
#header-socials,
.col-socials {
  width: 135px;
  text-align: right;
}
.col-marketcap {
  font-size: 12px;
  font-weight: 700;
}

.marketcap-value {
  font-weight: 700;
}

.marketcap-value.unhighlight {
  opacity: 0.6;
  font-weight: 400;
}

.marketcap-value.highlight {
  padding: 4px 6px;
  background-color: #30a5bf;
  color: #fff;
  border-radius: 1000px;
  opacity: 1;
  font-weight: 700;
}

.col-news img {
  width: 13px;
  transition: opacity 0.15s ease;
  opacity: 1;
}
.col-socials img {
  width: 20px;
  height: 20px;
}

.col-news img:hover {
  opacity: 0.8;
}

.col-socials img:hover {
  filter: brightness(0) saturate(100%) invert(63%) sepia(28%) saturate(1010%)
    hue-rotate(144deg) brightness(84%) contrast(89%);
}

.col-news a:hover {
  border-bottom: 0;
}
.col-socials a:hover {
  border-bottom: 0;
}

.full-width-chart-wrapper {
  background-color: #f7f7f7;
  border-radius: 8px 15px 15px 8px;
}

.chart-wrapper {
  display: flex;
  height: 20px;
}

.chart-total-grade-x-width {
  line-height: 12px;
  font-size: 12px;
  pointer-events: none;
}

.chart-segment {
  transition: all 0.1s ease;
  cursor: pointer;
  min-width: 10px;
}

.chart-segment:hover {
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
    rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
  transform: scaleY(1.05);
}

#search-wrapper {
  position: relative;
  margin-right: 10px;
  width: 300px;
}

#controls-wrapper {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
}

#search {
  width: 100%;
  border: 1px solid transparent;
  background-color: #fff;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 10px;
  padding-left: 2.375rem;
}

.fa-search {
  display: inline-block !important;
  position: absolute;
  z-index: 2;
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  line-height: 2.375rem !important;
  text-align: center;
  pointer-events: none;
  color: rgba(48, 165, 191, 0.5);
}

.fa-search:before {
  content: "\f002";
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
  display: none;
}

#search-icon-wrapper {
  position: absolute;
  left: 0;
  width: 33px;
  height: 100%;
  bottom: 0;
  padding: 8px;
  box-sizing: border-box;
  background-color: #30a5bf;
  border-radius: 4px 0 0 4px;
}

#search-icon-wrapper img {
  filter: invert(1);
}

.single-control-container {
  margin-right: 10px;
  position: relative;
}

.single-control-container:last-of-type {
  margin-right: 0;
}

.single-control-container label {
  text-transform: uppercase;
  font-size: 14px;
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

#no-results {
  text-transform: uppercase;
  font-size: 14px;
  display: block;
  font-weight: 700;
  display: none;
}

#no-results.show {
  display: block;
}

.load-more-button {
  width: 112px;
  cursor: pointer;
  margin-top: 6px;
  color: #9296ad;
  transition: opacity 0.15s ease;
  opacity: 1;
  margin-left: 100%;
  transform: translateX(-100%);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  line-height: 22px;
}

.load-more-button:hover {
  opacity: 0.8;
}

/* search bar autocomplete */
.autocomplete {
  position: relative;
}
.autocomplete-options {
  cursor: pointer;
  z-index: 1000;
  display: none;
  position: absolute;
  background-color: #fff;
  background-clip: padding-box;
  box-shadow: 0px 3px 3px -2px rgb(0 0 0 / 20%),
    0px 3px 4px 0px rgb(0 0 0 / 14%), 0px 1px 8px 0px rgb(0 0 0 / 12%);
  border-radius: 4px;
  font-size: 11px;
  animation: growOut 150ms ease-in-out forwards;
  transform-origin: top center;
  margin-top: 6px;
  border-radius: 4px;
}
.search-option {
  font-size: 14px;
  min-height: 1.4em;
  padding: 0.2em 2em 0.2em 1em;
}

.search-option:hover {
  background-color: rgb(245, 245, 245);
}

/* Filter selectors */
.filter-controls-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

#filter-control-buttons-wrapper {
  display: flex;
  align-items: center;
}

#search-and-sort-wrapper {
  display: flex;
  margin-right: 10px;
}

.filter-selector {
  position: relative;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: 1px solid #30a5bf;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #192342;
  cursor: pointer;
  opacity: 1;
  user-select: none;
  border-radius: 10px;
  transition: all 0.2s ease;
  margin-right: 10px;
  border: 0 !important;
}

#sort-settings-wrapper {
  display: none;
  height: 38px;
  width: 38px;
  padding: 0;
  background-color: #30a5bf;
  flex-grow: 0;
}

#sort-settings-wrapper img {
  margin-top: 8px;
  margin-left: 8px;
  filter: invert(1);
  height: 20px;
}

.filter-selector:last-of-type {
  margin-right: 0;
}

.filter-selector.open {
  background-color: rgb(245, 245, 245);
  box-shadow: 0px 3px 3px -2px rgb(0 0 0 / 20%),
    0px 3px 4px 0px rgb(0 0 0 / 14%), 0px 1px 8px 0px rgb(0 0 0 / 12%);
}

.filter-selector-label {
  font-size: 16px;
  white-space: nowrap;
  color: #192342;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+ */
  -o-user-select: none;
  user-select: none;
}

.filter-selector select {
  padding: 4px 8px;
  border: 1px solid;
  border-radius: 4px;
}

.filter-selector-header {
  position: absolute;
  top: 5px;
  right: 5px;
}

.filter-selector:last-of-type .filter-selector-content {
  left: unset;
  right: 0;
}

.filter-selector-content {
  position: absolute;
  background-color: #fff;
  padding: 26px 0 10px 0;
  box-shadow: 0px 3px 3px -2px rgb(0 0 0 / 20%),
    0px 3px 4px 0px rgb(0 0 0 / 14%), 0px 1px 8px 0px rgb(0 0 0 / 12%);
  left: 0;
  width: max-content;
  border-radius: 4px;
  display: none;
  z-index: 1999;
  animation: growOut 200ms ease-in-out forwards;
  transform-origin: top center;
  top: 50px !important;
}

.filter-selector.open .filter-selector-content {
  display: block;
}

.filter-selector-options {
  max-height: 300px;
  overflow-y: auto;
  padding: 0 30px;
}

.filter-selector-options::-webkit-scrollbar {
  width: 10px;
}

.filter-selector-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 1000px;
  border-right: 2px solid #fff;
}

.filter-selector-options::-webkit-scrollbar-thumb {
  background: rgb(212, 212, 212);
  border-radius: 1000px;
  border-right: 2px solid #fff;
}

.filter-selector-options::-webkit-scrollbar-thumb:hover {
  background: rgb(158, 158, 158);
}

.filter-option {
  margin-bottom: 10px;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  transform: scale(1.2);
  margin-right: 10px;
  display: inline !important;
}

.filter-option:last-of-type {
  margin-bottom: 0;
}

.filter-selector-footer {
  display: flex;
  padding: 20px 26px 0 26px;
  margin-top: 10px;
  border-top: 1px solid rgb(212, 212, 212);
  justify-content: space-between;
}

.filter-selector-footer button {
  cursor: pointer;
  border-radius: 0;
  outline: 0;
  border: 2px solid #30a5bf;
  padding: 8px 16px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
}

.filter-btn-clear {
  background-color: #fff;
  color: #30a5bf;
  margin-right: 10px;
}

.filter-btn-clear.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.filter-btn-search {
  color: #fff;
  background-color: #30a5bf;
}

.slider {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.8;
  -webkit-transition: 0.1s;
  transition: opacity 0.1s;
  margin-top: 10px;
  margin-bottom: 10px;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #30a5bf;
  cursor: pointer;
  border-radius: 100%;
}

.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #30a5bf;
  cursor: pointer;
  border-radius: 100%;
}

#commodity-filter-both-sliders-wrapper {
  display: none;
  margin-top: 16px;
}

.slider-wrapper {
  opacity: 1;
  transition: opacity 0.15s ease;
}

.slider-wrapper:hover {
  opacity: 1 !important;
}

.slider-wrapper.disabled {
  opacity: 0.5;
}

.or-divider {
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 10px;
  justify-content: center;
}

.or-divider div {
  height: 1px;
  background-color: #30a5bf;
  width: 20px;
  margin-right: 6px;
  margin-left: 6px;
}

.range-slider-label {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

#filter-grade-slider-units {
  text-transform: lowercase;
}

@keyframes growOut {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#date-range-picker {
  display: flex;
}

.custom-date-wrapper {
  position: relative;
}

#date-range-picker input {
  padding: 6px 8px 6px 34px;
  width: 130px;
  border: 1px solid;
  border-radius: 4px;
}

#date-range-picker input:first-of-type {
  margin-right: 10px;
}

.calendar-icon-wrapper {
  position: absolute;
  left: 0;
  width: 33px;
  height: 29px;
  bottom: 0;
  padding: 10px;
  box-sizing: border-box;
  background-color: var(--main-color-192342);
  border-radius: 4px 0 0 4px;
}

.calendar-icon-wrapper img {
  filter: invert(1);
  transform: translateY(-3px);
}

.input-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}

#filter-tags-wrapper {
  margin-bottom: 40px;
}

#filter-tags-header {
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 16px;
}

#filter-tags-container {
  display: flex;
}

.filter-tag {
  border: 1px solid #bdbdbd;
  padding: 2px 2px 2px 8px;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 1000px;
  margin-right: 6px;
  background-color: #fff;
}

.filter-tag-bold {
  font-weight: 700;
  color: #192342;
}

.filter-tag-close-btn {
  position: relative;
  margin-left: 10px;
  cursor: pointer;
  opacity: 1;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

.filter-tag-close-btn:hover {
  color: #192342;
  font-weight: 700;
}

#blocker {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

#marketcap-slider-wrapper {
  width: 300px;
}

#marketcap-range-slider {
  margin-top: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.range-slider .range-slider__thumb {
  background: #30a5bf;
}

.range-slider .range-slider__range {
  background: #30a5bf;
}

#marketcap-range-slider-labels {
  width: 100%;
  margin-top: 24px;
  position: relative;
}

#marketcap-range-slider-labels span {
  font-size: 8px;
  color: #979797;
  position: absolute;
  bottom: 0;
}

#marketcap-range-slider-labels span:nth-of-type(1) {
  left: 0%;
}
#marketcap-range-slider-labels span:nth-of-type(2) {
  left: 12.5%;
}
#marketcap-range-slider-labels span:nth-of-type(3) {
  left: 23%;
}
#marketcap-range-slider-labels span:nth-of-type(4) {
  left: 34%;
}
#marketcap-range-slider-labels span:nth-of-type(5) {
  left: 46%;
}
#marketcap-range-slider-labels span:nth-of-type(6) {
  left: 57%;
}
#marketcap-range-slider-labels span:nth-of-type(7) {
  left: 69%;
}
#marketcap-range-slider-labels span:nth-of-type(8) {
  left: 79%;
}
#marketcap-range-slider-labels span:nth-of-type(9) {
  left: 90%;
}

#marketcap-inputs-wrapper {
  display: flex;
  justify-content: space-between;
  color: #192342;
}

#marketcap-inputs-wrapper div {
  display: flex;
  align-items: center;
  font-weight: 300;
}

#marketcap-inputs-wrapper div:first-of-type {
  justify-content: flex-start;
}
#marketcap-inputs-wrapper div:first-of-type {
  justify-content: flex-end;
}

#marketcap-inputs-wrapper input {
  width: 60px;
  color: #192342;
  margin-left: 2px;
  margin-right: 2px;
  padding: 4px;
}

/* Chrome, Safari, Edge, Opera */
#marketcap-inputs-wrapper input::-webkit-outer-spin-button,
#marketcap-inputs-wrapper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
#marketcap-inputs-wrapper input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

#marketcap-range-slider-ticks {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: calc(100% - 24px);
  transform: translateX(12px);
}

.range-slider-tick {
  width: 1px;
  background-color: #979797;
  height: 4px;
}

.range-slider-tick:first-of-type,
.range-slider-tick:last-of-type {
  visibility: hidden;
}

.qmod-ui-tool {
  font-size: 12px !important;
  margin-top: 2px;
  font-family: unset !important;
}

.qmod-longname {
  display: none !important;
}

.qmod-volume {
  display: none !important;
}

.subtext {
  font-size: 12px;
  font-weight: 300;
  margin-top: 6px;
}

.dropdown-search-wrapper {
  position: relative;
}

.dropdown-content {
  position: fixed;
  width: calc(100% - 60px) !important;
  display: none;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
}

.dropdown-content .option {
  padding: 6px 20px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}

.dropdown-content .option mark {
  background-color: unset;
  font-weight: 900;
  color: #30a5bf;
  pointer-events: none;
}

.dropdown-content .option.header {
  font-weight: 700;
  pointer-events: none;
  text-transform: uppercase;
  font-size: 14px;
  background-color: #30a5bf;
  color: #fff;
}

.dropdown-content .option:hover {
  background-color: rgb(236, 236, 236);
}
.dropdown-content.show {
  display: block;
}

.close-btn {
  font-weight: 700;
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.8;
  display: none;
}

.close-btn:hover {
  opacity: 1;
}

.theme-toggle-switch:before {
  top: 3px !important;
}

.theme-toggle {
  margin-left: 10px;
}

.theme-toggle-switch {
  box-shadow: none;
  border: 1px solid #30a5bf;
}

#tables-wrapper {
  position: relative;
}

#gold-sponsors-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  margin-bottom: 30px;
}

#gold-sponsors-label {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
  line-height: 22px;
  margin-right: 20px;
  width: 125px;
}

.gold-sponsor-wrapper {
  margin-right: 20px;
}

.gold-sponsor-wrapper:last-of-type {
  margin-right: 0;
}

.gold-sponsor-wrapper img {
  width: 100%;
  max-width: 260px;
  max-height: 100px;
}

.pro-badge {
  justify-content: center;
  align-items: center;
  background-color: #da373d;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  padding: 2px 6px;
  text-transform: uppercase;
  position: relative;
  margin-left: -10px;
  left: -3px;
  bottom: -2px;
  border-radius: 12px;
}
@media (max-width: 767px) {
  .pro-badge {
    font-size: 9px;
    line-height: 12px;
    margin: 0;
    left: 2px;
    bottom: 0;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.h-full{
  height: 100%;
}
#nav-new a {
  font-size: 12.8px;
  border-bottom: 3px solid transparent;
}
#nav-new .menu .dropdown .nav-item,
#nav-new .menu .dropdown a {
  cursor: pointer;
}
#nav-new .menu .dropdown .nav-item svg {
  position: relative;
  top: -2px;
  left: 5px;
}
#nav-new .menu .dropdown .dropdown-menu {
  display: none;
  background: white;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
#nav-new .menu .dropdown .dropdown-menu {
  min-width: 130px;
  display: none;
  flex-direction: column;
}

#nav-new .menu .dropdown .dropdown-menu li {
  padding: 0;
  text-align: left;
}

#nav-new .menu .dropdown .dropdown-menu li:hover {
  background-color: #e9ecef;
}

#nav-new .menu .dropdown .dropdown-menu li a,
#nav-new .menu .dropdown .dropdown-menu li a.on-hover:hover,
#nav-new .menu .dropdown .dropdown-menu li a.active-link {
  border-bottom: none !important;
}
#nav-new .menu .dropdown .dropdown-menu li a.active-link{
    text-decoration: underline;
}

#nav-new .menu .dropdown .dropdown-menu li a {
  display: flex;
  color: #000;
  white-space: nowrap;
  text-transform: capitalize;
  padding: 8px 16px;
  margin: 0;
}
#nav-new .menu .dropdown .dropdown-menu li a:hover {
  color: #000;
}

#nav-new .menu .dropdown:hover .dropdown-menu {
  display: block;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 3px 3px;
}

#nav-new .profile .submenu .relative {
  position: relative;
}

#mobile-menu .submenu a,
.profile .submenu a,
#nav-new .profile .submenu a {
  padding: 0 !important;
  margin: 0 !important;
  color: #000 !important;
}
.profile .submenu .dropdown-menu,
#nav-new .profile .submenu .dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  position: absolute;
  top: 0;
  left: 100%;
}

#mobile-menu .submenu a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  border-bottom: none !important;
}
#mobile-menu .submenu a svg {
  transform: rotate(-90deg) scale(0.9);
}
#mobile-menu .submenu .dropdown-menu {
  width: 150px;
  display: none;
}

#mobile-menu .submenu li.relative:hover .dropdown-menu {
  display: block;
}

@media only screen and (max-width: 900px) {
  #page-wrapper {
    padding: 26px;
  }

  .filter-selector {
    padding: 6px 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }

  #search,
  #search::placeholder,
  .filter-selector-label {
    font-size: 12px;
  }
}

@media only screen and (max-width: 800px) {
  .filter-controls-wrapper {
    max-width: calc(100vw - 60px);
    flex-wrap: wrap;
  }

  #filter-control-buttons-wrapper {
    flex-wrap: wrap;
  }

  .filter-selector {
    max-width: 140px;
    margin-bottom: 6px;
    justify-content: center;
  }

  #sort-settings-wrapper {
    height: 38px;
    width: 38px;
  }

  #search-and-sort-wrapper {
    width: 100%;
    margin-right: 0;
  }

  #search-wrapper {
    flex-grow: 1;
    margin-bottom: 10px;
  }
  #search {
    width: 100%;
    box-sizing: border-box;
  }
  #search,
  #search::placeholder,
  .filter-selector-label {
    font-size: 14px;
  }
  .filter-selector {
    padding: 6px 20px;
  }
}
@media (max-width: 767px) {
  .profile .submenu .dropdown-menu,
  #nav-new .profile .submenu .dropdown-menu {
    position: static;
    border: none;
  }
  #mobile-menu .submenu {
    width: 100% !important;
  }
  #mobile-menu .submenu .dropdown-menu {
    width: 100%;
  }
  .profile .submenu li,
  .profile .submenu a {
    font-size: 14px !important;
  }
  .profile .submenu li {
    padding-inline: 5px !important;
    border-top: 1px solid #dcdcdc;
  }
  .profile .submenu li:first-child{
    border-top-color: transparent;
  }
  .profile .submenu a {
    padding-inline: 0 !important;
  }
  ul.submenu li:hover, ul.submenu a:hover{
    background-color: transparent;
  }
  .profile .submenu li.relative:last-child{
    padding-bottom: 0 !important;
  }
  .profile .submenu li.relative >a{
    padding-inline: 5px !important;
  }
  .profile .submenu .dropdown-parent .dropdown-menu {
    display: none !important;
  }
  .profile .submenu .dropdown-parent.open .dropdown-menu.show {
    display: block !important;
  }
  .profile .submenu .dropdown-menu{
    border-top: 1px solid #dcdcdc;
    padding: 5px 0 0;
    margin: 10px 0 0;
  }
  .profile .submenu .dropdown-menu li{
    border-top: none;
    padding-inline: 5px !important;
    padding-block: 5px !important;
  }
  .profile .submenu .dropdown-menu li a{
    font-weight: 400;
  }
  .profile .submenu .dropdown-parent .dropdown-toggle svg,
  #mobile-menu .submenu .dropdown-parent .dropdown-toggle svg {
    transform: rotate(0deg) scale(0.9);
  }
  .profile .submenu .dropdown-parent.open .dropdown-toggle svg,
  #mobile-menu .submenu .dropdown-parent.open .dropdown-toggle svg{
    transform: rotate(180deg) scale(0.9);
  }
  #main-nav-user-name {
    display: none;
  }
}
@media only screen and (max-width: 641px) {
  body.noscroll {
    overflow: hidden;
  }

  #page-wrapper {
    padding: 10px;
    box-sizing: border-box;
    padding-top: 10px !important;
  }

  .inner-page-wrapper {
    width: unset;
  }

  #blocker {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0 0 0 / 0.2);
    z-index: 1998;
  }

  #page-wrapper.modal-open #blocker {
    display: block;
  }

  .filter-selector-content {
    text-align: left;
    width: calc(100vw - 20px) !important;
    padding: 40px 0 40px 0;
    left: 10px;
    position: fixed;
    top: 10px;
    /* animation: fadeIn 150ms ease-in-out forwards; */
  }

  .filter-selector-options {
    padding: 0 20px;
  }

  #marketcap-slider-wrapper {
    width: 100%;
  }

  #marketcap-inputs-wrapper input {
    width: 70px;
  }

  .filter-selector:last-of-type .filter-selector-content {
    left: 10px;
    right: unset;
  }

  #date-range-picker {
    flex-wrap: wrap;
  }

  .custom-date-wrapper {
    width: 100%;
  }

  .custom-date-wrapper:first-of-type {
    margin-bottom: 6px;
  }

  #date-range-picker input {
    width: 100%;
    box-sizing: border-box;
  }

  .filter-selector-header {
    top: 10px;
    right: 10px;
  }

  .filter-close-btn {
    font-size: 24px;
  }

  .filter-selector select {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
  }

  .autocomplete-options {
    width: 100%;
  }

  .search-option {
    font-size: 16px;
    padding: 0.4em 1em 0.4em 1em;
  }

  #filter-tags-wrapper {
    margin-bottom: 20px;
  }

  #filter-tags-container {
    flex-wrap: wrap;
  }

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

  .filter-tag-close-btn {
    font-size: 18px;
  }

  .filter-controls-wrapper {
    margin-bottom: 20px;
    margin-top: 10px;
    max-width: unset;
    padding: 0 10px;
  }

  #market-buttons-wrapper {
    padding: 0 10px;
    justify-content: center;
  }

  .single-control-container {
    flex-grow: 1;
    margin-right: 5px;
  }

  .market-option {
    font-size: 12px;
    white-space: nowrap;
  }

  #market-buttons-wrapper {
    gap: 0.25rem;
  }

  .filter-selector {
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    margin-bottom: 10px;
    max-width: 120px;
    margin-right: 0;
    margin-left: 10px;
    position: unset;
  }

  #filter-control-buttons-wrapper {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -10px;
    margin-right: -10px;
    position: relative;
  }

  .filter-selector-label,
  #search,
  #search::placeholder {
    font-size: 12px;
  }

  #sort-settings-wrapper {
    display: block;
    height: 35px;
    width: 35px;
    flex-shrink: 0;
    margin-left: 0;
  }

  #sort-settings-wrapper img {
    margin-left: 0;
  }

  #search-wrapper {
    width: 100%;
    box-sizing: border-box;
    position: relative;
  }

  #search-label {
    display: none;
  }

  #search {
    width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid rgb(153, 153, 153);
  }

  .load-more-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .table-wrapper {
    max-width: unset;
    width: 100%;
    overflow-x: unset;
    box-shadow: unset;
  }

  .table-scroll-wrapper {
    width: 100%;
  }

  .table-title {
    margin-top: 50px;
    padding: 6px;
    text-align: center;
    background-color: #edeef4;
    border-radius: 4px;
    border: 1px solid #f3f3f3;
  }

  .table-header {
    display: none;
  }

  .single-row {
    display: grid;
    grid-template-columns: repeat(1fr);
    grid-template-rows: repeat(1fr);
    padding: 4px;
    margin-bottom: 6px;
    box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
    border-radius: 6px;
  }

  .single-row:nth-of-type(even) {
    background: #fff;
  }

  .single-cell {
    width: unset !important;
    padding: 4px 6px;
    font-size: 12px;
  }

  .options-header {
    padding: 0 10px;
    text-align: center;
  }

  .single-cell a {
    border-bottom: 1px solid;
  }

  .col-news a,
  .col-socials a {
    border-bottom: 0;
  }

  .col-company {
    grid-column: 1 / 3;
    grid-row: 1;
    font-size: 15px;
    font-weight: 700;
  }
  .col-date {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }

  .col-from::before {
    content: "From:";
    font-weight: 700;
    margin-right: 6px;
    font-size: 12px;
  }
  .col-from {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    padding-bottom: 0;
  }
  .col-from::after {
    content: "m";
  }

  .col-interval::before {
    content: "Interval:";
    font-weight: 700;
    margin-right: 6px;
    font-size: 12px;
  }
  .col-interval {
    grid-column: 2;
    grid-row: 3;
    padding-bottom: 0;
  }
  .col-interval::after {
    content: "m";
  }

  .col-mineral-value {
    grid-column: 3;
    grid-row: 3;
    padding-bottom: 0;
    text-align: right;
    font-weight: 400;
  }
  .col-mineral-value::before {
    content: attr(data-mineralLabel);
    font-weight: 700;
  }

  .col-gradexwidth {
    grid-column: 1 / 4;
    grid-row: 4;
    margin: 4px 6px;
    padding: 0;
  }

  .chart-total-grade-x-width {
    margin-bottom: 2px;
  }

  .col-news {
    grid-column: 1;
    grid-row: 5;
    text-align: left;
  }
  .col-news img {
    transform: translateY(2px);
  }

  .col-news::before {
    content: "Article:";
    margin-right: 4px;
    font-weight: 600;
  }

  /* .col-project::before {
    content: attr(data-content);
    margin-right: 4px;
    font-weight: 600;
  } */

  .col-project {
    grid-column: 2 / 3;
    grid-row: 5;
  }

  .col-location {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .col-marketcap::before {
    content: "Marketcap:";
    margin-right: 6px;
    font-weight: 600;
  }
  .col-marketcap {
    grid-column: 3 / 4;
    grid-row: 5;
  }
  .col-socials {
    grid-column: 1 / 4;
    grid-row: 6;
    text-align: left;
  }
  .col-socials img {
    width: 20px;
    height: 20px;
  }

  #header-primary-commodity,
  .col-primary-commodity {
    display: none;
  }

  .vsb-main {
    width: 100%;
  }

  .vsb-main button {
    border-radius: 6px !important;
  }

  .vsb-menu {
    position: fixed;
    left: 10px;
    width: calc(100% - 20px);
  }

  #clear-search-btn {
    top: 6px;
  }

  #gold-sponsors-wrapper {
    margin-bottom: 10px;
    padding: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  #gold-sponsors-label {
    font-size: 14px;
    line-height: 16px;
    margin-right: 10px;
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
  }

  .gold-sponsor-wrapper {
    margin-right: 10px;
  }

  .gold-sponsor-wrapper:last-of-type {
    margin-right: 0;
  }

  .gold-sponsor-wrapper img {
    width: 140px;
    max-width: 200px;
    min-width: 140px;
    flex-shrink: 1;
    flex-grow: 1;
  }
}