#image-generator-mode-selector-wrapper {
  display: flex;
  margin-bottom: 20px;
}

.image-generator-mode-selector, .market-selector {
  text-transform: uppercase;
  margin-right: 10px;
  padding: 8px 16px;
  border: 1px solid #192342;
  user-select: none;
  cursor: pointer;
  transition: all 150ms ease;
}

.market-selector {
  padding: 4px 12px;
  font-size: 14px;
}

.image-generator-mode-selector.selected, .market-selector.selected {
  color: #fff;
  background-color: #192342;
}

.image-editor-controls-and-frame-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.image-editor-frame {
  width: 1000px;
  height: min-content;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}

.image-editor-controls {
  width: 360px;
  border: 1px solid #ebebeb;
  margin-right: 20px;
  padding: 10px;
  flex-grow: 1;
  max-width: 450px;
  min-width: 360px;

  max-height: calc(100vh - 183px);
  overflow-y: auto;
  position: sticky;
  top: 20px;
}

.max-values-section-wrapper {
  overflow: hidden;
  transition: max-height 50ms ease-in-out;
  margin: 10px 0;
}

.max-values-section-wrapper > div:first-of-type {
  cursor: pointer;
}

.max-values-section-wrapper > div:first-of-type::before {
  opacity: 1 !important;
}

.max-values-section-wrapper.contracted {
  max-height: 40px;
}

.max-values-section-wrapper.contracted > div:first-of-type::before {
  content: '▲';
  opacity: 0.6;
}
.max-values-section-wrapper.expanded > div:first-of-type::before {
  content: '▼';
  opacity: 0.6;
}

.image-editor-controls-section-wrapper {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ebebeb;
  position: relative;
}

.image-editor-controls-section-wrapper:last-of-type {
  border-bottom: 0;
}


.image-editor-controls-section-header {
  font-weight: 700;
  margin-bottom: 6px;
}

.action-buttons-wrapper {
  display: flex;
}

.action-button {
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 6px;
  border: 1px solid;
  cursor: pointer;
  opacity: 1;
  transition: all 0.15s ease;
  position: relative;
}

.action-button.disabled {
  opacity: 0.4 !important;
  pointer-events: none;
}

.action-button:hover {
  background-color: #f5f5f5;
  opacity: 0.8;
}

.loader-wrapper {
  top: 0;
  left: 0;
}

.btn-loader-wrapper {
  top: 0;
  left: 0;
  position: absolute !important;
}

.btn-loader-wrapper .loader {
  height: 60%;
  margin-top: 0;
  aspect-ratio: 1;
  width: unset;
}

.action-button.loading .btn-loader-wrapper {
  display: flex;
}



.image-editor-form-line {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.image-editor-form-line.align-right {
  justify-content: flex-end;
}

.image-editor-form-line.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.image-editor-form-line-column {
  display: flex;
  flex-direction: column;
}

.custom-date-wrapper input {
  width: 100%;
  padding-left: 40px;
  box-sizing: border-box;
}

.custom-date-wrapper:first-of-type input {
  margin-right: 10px !important;
}

.image-editor-date-range-picker-wrapper {
  margin-top: 6px;
}

.image-editor-date-range-picker-wrapper .calendar-icon-wrapper {
  height: 27px;
}



.image-editor-controls input,
.image-editor-controls select {
  flex-grow: 1;
  margin: 0;
}

.half-width-input {
  max-width: calc(50% - 24px) !important;
  box-sizing: border-box;
}

.half-width-input::placeholder {
  font-size: 12px;
}

.image-editor-controls textarea {
  height: 40px;
  margin-bottom: 6px;
}

.image-editor-controls label {
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  width: 95px;
  flex-shrink: 0;
  flex-grow: 0;
}

.location-filter-wrapper label {
  width: 108px;
}

.image-editor-controls label.wide {
  width: 165px;
}

#generated-image-link-wrapper {
  display: none;
  width: 100%;
  height: 70px;
  margin-top: 10px;
  border: 1px solid #cdcdcd;
  position: relative;
}

#generated-image-link {
  padding: 10px;
  box-sizing: border-box;
  word-break: break-all;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  outline: 0;
  border: 0;
  text-align: center;
}

#generated-image-link::placeholder {
  text-transform: uppercase;
  font-family: Nunito Sans, sans-serif;

}

#generated-image-link:hover {
  box-shadow: 0px 0rem 4px 4px rgb(0 0 0 / 15%);
}


#load-investor-deck-data-btn,
#load-market-mover-data-btn {
  margin-top: 10px;
}



.frame-header-bar, .frame-header-bar-mm {
  width: 100%;
  padding: 20px 29px 10px 29px;
  display: grid;
  grid-template-columns: 1fr 80px;
  grid-template-rows: 1fr 1fr;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  align-items: baseline;
}

.frame-header-bar-mm {
  grid-template-rows: 1fr 30px;
}

.frame-title, .frame-title-mm {
  text-transform: uppercase;
  font-size: 37px;
  line-height: 37px;
  font-weight: 900;
  grid-column: 1;
  grid-row: 1;
  color: #FAF5E6;
  margin-bottom: 4px;
  margin-top: 10px;
}

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

.frame-title.highlight,
.frame-subtitle.highlight {
  border: 1px solid #192342;
  box-sizing: border-box;
}

.frame-subtitle, .frame-subtitle-mm {
  font-size: 20px;
  color: #FAF5E6;
  grid-column: 1;
  grid-row: 2;
  align-self: flex-start;
  white-space: nowrap;
  text-decoration: underline;
}

.link {
  font-size: 19px;
  text-align: right;
  font-weight: 600;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.link-mm {
  grid-column: 2;
  grid-row: 1;
  position: absolute;
}

.link img, .link-mm img {
  width: 80px;
  height: 80px;
}

.investor-deck-container, .mm-container {
  width: 100%;
  height: 100%;
  padding: 20px 21px;
  background-image: url('../images/au.jpg');
  background-size: cover;
  box-sizing: border-box;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 10px;
}

.investor-deck-container::before, .mm-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 35, 66, 0.75);
  z-index: 2;
  top: 0;
  left: 0;
}

.investor-deck-container.asx::before, .mm-container.asx::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(54 33 10 / 50%);
  z-index: 2;
  top: 0;
  left: 0;
}

.investor-deck-container.muted-overlay::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(25, 35, 66, 0.65);
  z-index: 2;
  top: 0;
  left: 0;
}

.investor-deck-inner-wrapper, .mm-inner-wrapper {
  width: 100%;
  height: 100%;
  z-index: 3;
  position: relative;
  padding-top: 107px;
  box-sizing: border-box;
}

.image-editor-investor-deck-table-body, #image-editor-mm-table-body {
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.image-editor-investor-deck-table-header, #image-editor-mm-table-header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  color: #FAF5E6;
  margin-bottom: 20px;
  opacity: 0.8;
}

.image-editor-investor-deck-table-header div, #image-editor-mm-table-header div {
  flex-grow: 0;
  box-sizing: border-box;
  font-weight: 700;
  flex-shrink: 0;
  padding: 0 8px;
}

#image-editor-mm-table-header div {
  font-size: 13px;
}

.investor-deck-table-single-row, .mm-table-single-row {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.image-editor-investor-deck-table.top-5 .investor-deck-table-single-row {
  min-height: 45px;
  margin-bottom: 30px;
}

.image-editor-investor-deck-table.top-10 .investor-deck-table-single-row {
  margin-bottom: 10px;
}

.image-editor-investor-deck-table.top-10 .investor-deck-table-single-col {
  font-size: 20px;
}

.image-editor-investor-deck-table.top-10 .col-company, 
.image-editor-investor-deck-table.top-10 .investor-deck-table-header-company, 
.image-editor-investor-deck-table.top-10 .grid-overlay div:nth-of-type(1) {
  width: 30%;
}
.image-editor-investor-deck-table.top-10 .col-project, 
.image-editor-investor-deck-table.top-10 .investor-deck-table-header-project, 
.image-editor-investor-deck-table.top-10 .grid-overlay div:nth-of-type(2) {
  width: 18%;
}

.image-editor-investor-deck-table.top-10 .image-editor-investor-deck-table-header {
  margin-bottom: 15px;
}

.investor-deck-table-single-col, .mm-table-single-col {
  flex-grow: 0;
  box-sizing: border-box;
  color: #FAF5E6;
  font-size: 19px;
  flex-shrink: 0;
  font-weight: 700;
  padding: 0 8px;
}

.grid-overlay, #grid-overlay-mm {
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0; 
  pointer-events: none;
  display: flex;
}

.grid-overlay div {
  border-right: 1px solid #F2BE22;
  box-sizing: border-box;
}
.grid-overlay div:last-of-type, #grid-overlay-mm div:last-of-type {
  border-right: 0;
}

.investor-deck-table-single-row {
  margin-bottom: 20px;
}

.investor-deck-table-single-col.col-company,
.investor-deck-table-header-company,
.grid-overlay div:nth-of-type(1) {
  width: 35%;
}
.investor-deck-table-single-col.col-project,
.investor-deck-table-header-project,
.grid-overlay div:nth-of-type(2) {
  width: 13%;
}
.investor-deck-table-single-col.col-width,
.investor-deck-table-header-width,
.grid-overlay div:nth-of-type(3) {
  width: 13%;
  text-align: center;
  white-space: nowrap;
}
.investor-deck-table-single-col.col-value,
.investor-deck-table-header-value,
.grid-overlay div:nth-of-type(4) {
  width: 11%;
  text-align: center;
}
.investor-deck-table-single-col.col-grade-x-width,
.investor-deck-table-header-grade-x-width,
.grid-overlay div:nth-of-type(5) {
  width: 28%;
}

.investor-deck-table-single-col.col-project {
  font-weight: 400;
}

.investor-deck-table-single-col.col-value {
  font-weight: 700;
}

.investor-deck-bar-chart-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.chart-total-grade-x-width {
  width: 70px;
  margin-right: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.chart-total-grade-x-width.Ag {
  width: 90px;
}

.full-width-chart-wrapper {
  background-color: #F6EED9;
  border-radius: 50px;
  overflow-x: hidden;
  width: 100%
}

.chart-wrapper {
  display: flex;
  height: 32px;  
  overflow: hidden;
}


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

#image-generator-modal label {
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  width: 105px;
  flex-shrink: 0;
  flex-grow: 0;
}

#mm-image-editor-date-range-picker,
#image-editor-date-range-picker {
  display: flex;
}

#mm-image-editor-date-range-picker .custom-date-wrapper:first-of-type,
#image-editor-date-range-picker .custom-date-wrapper:first-of-type {
  margin-right: 10px;
}

#grid-overlay-mm div {
  border-right: 1px solid rgb(204 204 204 / 50%);
  box-sizing: border-box;
}

#mm-header-company, .mm-col-company, #grid-overlay-company {
  width: 22%;
}
#image-editor-mm-table.hiding-volume #mm-header-company,
#image-editor-mm-table.hiding-volume .mm-col-company,
#image-editor-mm-table.hiding-volume #grid-overlay-company {
  width: 25%;
}
#image-editor-mm-table.hiding-pricechange #mm-header-company,
#image-editor-mm-table.hiding-pricechange .mm-col-company,
#image-editor-mm-table.hiding-pricechange #grid-overlay-company {
  width: 25%;
}


#mm-header-exchange, .mm-col-exchange, #grid-overlay-exchange {
  width: 8%;
  text-align: center;
}
#image-editor-mm-table.hiding-volume #mm-header-exchange,
#image-editor-mm-table.hiding-volume .mm-col-exchange,
#image-editor-mm-table.hiding-volume #grid-overlay-exchange {
  width: 10%;
}

#image-editor-mm-table.hiding-pricechange #mm-header-exchange,
#image-editor-mm-table.hiding-pricechange .mm-col-exchange,
#image-editor-mm-table.hiding-pricechange #grid-overlay-exchange {
  width: 10%;
}

#mm-header-ticker, .mm-col-ticker, #grid-overlay-ticker {
  width: 8%;
  text-align: center;
}
#image-editor-mm-table.hiding-volume #mm-header-ticker,
#image-editor-mm-table.hiding-volume .mm-col-ticker,
#image-editor-mm-table.hiding-volume #grid-overlay-ticker {
  width: 10%;
}
#image-editor-mm-table.hiding-pricechange #mm-header-ticker,
#image-editor-mm-table.hiding-pricechange .mm-col-ticker,
#image-editor-mm-table.hiding-pricechange #grid-overlay-ticker {
  width: 10%;
}

#mm-header-start-price, .mm-col-start-price, #grid-overlay-start-price {
  width: 8%;
  text-align: center;
}
#image-editor-mm-table.hiding-volume #mm-header-start-price,
#image-editor-mm-table.hiding-volume .mm-col-start-price,
#image-editor-mm-table.hiding-volume #grid-overlay-start-price {
  width: 10%;
}
#image-editor-mm-table.hiding-pricechange #mm-header-start-price,
#image-editor-mm-table.hiding-pricechange .mm-col-start-price,
#image-editor-mm-table.hiding-pricechange #grid-overlay-start-price {
  width: 10%;
}

#mm-header-end-price, .mm-col-end-price, #grid-overlay-end-price {
  width: 8%;
  text-align: center;
}
#image-editor-mm-table.hiding-volume #mm-header-end-price,
#image-editor-mm-table.hiding-volume .mm-col-end-price,
#image-editor-mm-table.hiding-volume #grid-overlay-end-price {
  width: 10%;
}
#image-editor-mm-table.hiding-pricechange #mm-header-end-price,
#image-editor-mm-table.hiding-pricechange .mm-col-end-price,
#image-editor-mm-table.hiding-pricechange #grid-overlay-end-price {
  width: 10%;
}

#mm-header-change, .mm-col-change, .mm-col-change-impactful, #grid-overlay-change {
  width: 18%;
  text-align: center;
  display: block;
}
#image-editor-mm-table.hiding-volume #mm-header-change,
#image-editor-mm-table.hiding-volume .mm-col-change,
#image-editor-mm-table.hiding-volume .mm-col-change-impactful,
#image-editor-mm-table.hiding-volume #grid-overlay-change {
  display: none  !important;
}
#image-editor-mm-table.hiding-pricechange #mm-header-change,
#image-editor-mm-table.hiding-pricechange .mm-col-change,
#image-editor-mm-table.hiding-pricechange .mm-col-change-impactful,
#image-editor-mm-table.hiding-pricechange #grid-overlay-change {
  width: 22%;
}

#mm-header-percent-change, 
.mm-col-percent-change, 
.mm-col-percent-change-impactful, 
#grid-overlay-percent-change {
  width: 18%;
  text-align: center;
  display: block;
}
#image-editor-mm-table.hiding-volume #mm-header-percent-change,
#image-editor-mm-table.hiding-volume .mm-col-percent-change,
#image-editor-mm-table.hiding-volume .mm-col-percent-change-impactful,
#image-editor-mm-table.hiding-volume #grid-overlay-percent-change {
  width: 22%;
}
#image-editor-mm-table.hiding-pricechange #mm-header-percent-change,
#image-editor-mm-table.hiding-pricechange .mm-col-percent-change,
#image-editor-mm-table.hiding-pricechange .mm-col-percent-change-impactful,
#image-editor-mm-table.hiding-pricechange #grid-overlay-percent-change {
  display: none !important;
}

.mm-col-percent-change, 
.mm-col-change, 
.mm-col-change-impactful, 
.mm-col-percent-change-impactful {
  padding: 0 10px;
}

#mm-header-marketcap, .mm-col-marketcap, #grid-overlay-marketcap {
  width: 10%;
  text-align: center;
}
#image-editor-mm-table.hiding-volume #mm-header-marketcap,
#image-editor-mm-table.hiding-volume .mm-col-marketcap,
#image-editor-mm-table.hiding-volume #grid-overlay-marketcap {
  width: 13%;
}
#image-editor-mm-table.hiding-pricechange #mm-header-marketcap,
#image-editor-mm-table.hiding-pricechange .mm-col-marketcap,
#image-editor-mm-table.hiding-pricechange #grid-overlay-marketcap {
  width: 13%;
}


/* impactful mm */
#image-editor-mm-table.impactful #mm-header-company,
#image-editor-mm-table.impactful .mm-col-company,
#image-editor-mm-table.impactful #grid-overlay-company {
  width: 26%;
  order: 1;
}

#image-editor-mm-table.impactful #mm-header-exchange,
#image-editor-mm-table.impactful .mm-col-exchange,
#image-editor-mm-table.impactful #grid-overlay-exchange {
  order: 2;
}
#image-editor-mm-table.impactful #mm-header-ticker,
#image-editor-mm-table.impactful .mm-col-ticker,
#image-editor-mm-table.impactful #grid-overlay-ticker {
  order: 3;
}
#image-editor-mm-table.impactful #mm-header-news,
#image-editor-mm-table.impactful .mm-col-news,
#image-editor-mm-table.impactful #grid-overlay-news {
  width: 8%;
  display: flex !important;
  text-align: center;
  order: 4;
  justify-content: center;
  align-items: center;
}
#image-editor-mm-table.impactful #mm-header-start-price,
#image-editor-mm-table.impactful .mm-col-start-price,
#image-editor-mm-table.impactful #grid-overlay-start-price {
  order: 5;
}
#image-editor-mm-table.impactful #mm-header-end-price,
#image-editor-mm-table.impactful .mm-col-end-price,
#image-editor-mm-table.impactful #grid-overlay-end-price {
  order: 6;
}
#image-editor-mm-table.impactful #mm-header-percent-change,
#image-editor-mm-table.impactful .mm-col-percent-change-impactful,
#image-editor-mm-table.impactful #grid-overlay-percent-change {
  width: 12%;
  order: 7;
}
#image-editor-mm-table.impactful #mm-header-change,
#image-editor-mm-table.impactful .mm-col-change-impactful,
#image-editor-mm-table.impactful #grid-overlay-change {
  width: 12%;
  order: 8;
}


#image-editor-mm-table.impactful #mm-header-marketcap,
#image-editor-mm-table.impactful .mm-col-marketcap,
#image-editor-mm-table.impactful #grid-overlay-marketcap {
  text-align: right;
  order: 9;
}

#image-editor-mm-table-header > div, .image-editor-investor-deck-table-header > div {
  text-decoration: underline;
}

.mm-col-news {
  text-align: center;
}

.news-icon-wrapper {
  position: relative;
  /* border: 2px solid #66df81; */
  padding: 1;
  /* border-radius: 4px; */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mm-inner-wrapper.impactful .impactful-news-icon-key {
  display: flex !important;
  flex-wrap: nowrap;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  box-sizing: border-box;
  background-color: rgba(0,0,0,0.5);
  margin-top: 20px;
}

.mm-inner-wrapper.impactful .impactful-news-warning {
  display: block !important;
  padding: 2px 8px;
  box-sizing: border-box;
  background-color: rgba(0,0,0,0.5);
  color: #9b9b9b;
  font-size: 11.7px;
  margin-top: 2px;
}

.key-line-wrapper {
  display: flex;
}

.news-icon-label {
  font-size: 14px;
  color: white;
}

.impactful-news-icon-key .news-icon {
  margin-right: 4px;
}


.mm-container {
  background-image: url('../images/finance.jpg');
}

.frame-header-bar-mm {
  background-color: rgba(204, 204, 204, 0.3)
}

.bar-chart-wrapper {
  width: 100%;
  position: relative;
  height: 20px;
  border-radius: 1000px;
  background-color: rgb(247 247 247 / 30%);
  overflow: hidden;
}

.bar-chart {
  height: 100%;
  border-radius: 1000px;
  position: absolute;
  overflow: hidden;
}

.bar-chart-wrapper.reversed .bar-chart {
  right: 0;
}

.mm-col-percent-change-impactful.pos, .mm-col-change-impactful.pos {
  color: #66df81;
}

.mm-col-percent-change-impactful.neg,  .mm-col-change-impactful.neg {
  color: #ed727e;
}

.single-cell.pos .bar-chart {
  background-color: #66df81;
}

.single-cell.neg .bar-chart {
  background-color: #ed727e;
}

.percent-change-label {
  position: absolute;
  left: 5px;
  line-height: 20px;
  bottom: 0;
  font-weight: 700;
}

.bar-chart-wrapper.reversed .percent-change-label {
  right: 5px;
  left: unset;
}

.frame-subtitle-mm {
  text-decoration: none;
}

.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
}
.autocomplete-items div {
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

#exclude-companies-list, #exclude-companies-list1, #add-companies-list {
  padding: 4px;
  display: none;
  flex-wrap: wrap;
}

.exclude-company-item, .add-company-item {
  border: 1px solid #bdbdbd;
  padding: 0 4px;
  padding-right: 0;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 10px;
  text-transform: uppercase;
  border-radius: 1000px;
  margin-right: 2px;
  margin-bottom: 2px;
  background-color: #192342;
  color: #fff;
}

.exclude-company-item-company-name, .add-company-item-company-name {
  white-space: nowrap;
}

.exclude-company-item-remove-btn, .add-company-item-remove-btn {
  position: relative;
  margin-left: 6px;
  cursor: pointer;
  opacity: 1;
  color: #192342;
  background-color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

#exlude-companies-inner-wrapper, #exlude-companies-inner-wrapper1, #add-companies-inner-wrapper {
  border: 1px solid #bdbdbd;
  position: relative;
}

.companies-clear-all-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 12px;
  padding: 1px;
  cursor: pointer;
  display: none;
}

#mm-exclude-companies, #exclude-companies1, #mm-add-companies {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #bdbdbd;
  padding-top: 8px;
  padding-bottom: 8px;
}


.frame {
  display:none !important;
  height: 100%;
  position: relative;
  width: 100%;
}

#frame1-mm {
  display: block !important;
}

.frame.active {
  display: block !important;
}

#dynamic-size {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 50px 30px 1fr;
}

#dynamic-size .frame-header-bar {
  padding: 64px;
  padding-right: 0;
  padding-bottom: 30px;
  box-sizing: border-box;
  background-color: transparent !important;
  display: block;
}

#dynamic-size .investor-deck-container {
  padding-top: 0;
  padding-left: 64px;
  padding-right: 64px;
  padding-bottom: 64px;
  box-sizing: border-box;
  background-image: url('../images/map-north-america.png');
}

#dynamic-size .frame-subtitle {
  text-decoration: none;
}

#dynamic-size .full-width-chart-wrapper {
  border-radius: 0 !important;
  background-color: rgba(255,255,255,0.2);
  order: 1;
  width: 150px;
  flex-grow: 1;
  margin-right: 10px;
}
#dynamic-size .chart-segment {
  border-radius: 0 !important;
}
#dynamic-size .chart-total-grade-x-width {
  order: 2;
}
#dynamic-size .investor-deck-bar-chart-wrapper {
  justify-content: space-between;
}

#dynamic-size .investor-deck-table-single-col.col-company,
#dynamic-size .investor-deck-table-header-company,
#dynamic-size .grid-overlay div:nth-of-type(1) {
  width: 40%;
}

#dynamic-size .grid-overlay div:nth-of-type(1) {
  opacity: 0;
}

#dynamic-size .investor-deck-table-single-col.col-grade-x-width,
#dynamic-size .investor-deck-table-header-grade-x-width,
#dynamic-size .grid-overlay div:nth-of-type(2) {
  width: 35%;
}
#dynamic-size .investor-deck-table-single-col.col-value,
#dynamic-size .investor-deck-table-header-value,
#dynamic-size .grid-overlay div:nth-of-type(3) {
  width: 12.5%;
  text-align: center;
}
#dynamic-size .investor-deck-table-single-col.col-width,
#dynamic-size .investor-deck-table-header-width,
#dynamic-size .grid-overlay div:nth-of-type(4) {
  width: 12.5%;
  text-align: center;
  white-space: nowrap;
}

#dynamic-size .image-editor-investor-deck-table-header div {
  padding: 0;
  padding-right: 8px;
}

#dynamic-size .investor-deck-table-single-col {
  padding: 0;
  padding-right: 8px;
  line-height: 1.1;
}

#dynamic-size .investor-deck-table-single-col:last-of-type {
  padding-right: 0;
}

#dynamic-size .chart-segment {
  min-width: unset;
  overflow: hidden;
}

#dynamic-size .chart-wrapper {
  height: 32px;
  position: relative;
}

#dynamic-size .above-max-icon {
  margin-top: 7px;
  right: 5px;
}

.vsb-menu {
  width: unset !important;
}

.vsb-menu .multi {
  display: block !important;
  grid-template-columns: unset !important;
  grid-template-rows: unset !important;
}

.vsb-menu li[data-value="Li2O"] {
  border-bottom: 1px solid lightgray;
  padding-bottom: 8px !important;
  margin-bottom: 8px;
}

.location-filter-wrapper input {
  width: 100%;
  box-sizing: border-box;
}

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

.dropdown-content {
  position: absolute;
  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;
}




.add-image-btn, #mm-share-url-copy {
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 6px;
  border: 1px solid;
  cursor: pointer;
  opacity: 1;
  transition: all 0.15s ease;
  position: relative;
  margin-left: 4px;
}

.add-image-btn:hover {
  background-color: #f5f5f5;
  opacity: 0.8;
}

.full-page-overlay {
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: white;
  display: none;
}

#background-image-gallery-modal {
  padding: 10px;
  box-sizing: border-box;
}

#close-background-image-modal-btn {
  display: inline-block;
}

#gallery-title {
  margin-top: 10px;
  font-weight: 700;
}

#background-image-gallery {
  width: 100%;
  min-height: 250px;
  background-color: rgb(243, 243, 243);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  align-items: flex-start;
}


.background-image-action-button-wrapper {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

#background-image-gallery-modal[data-type="investor-deck"] .image-gallery-image-wrapper[data-type="market-movers"] {
  display: none;
}
#background-image-gallery-modal[data-type="market-movers"] .image-gallery-image-wrapper[data-type="investor-deck"] {
  display: none;
}

.background-image-action-btn {
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 6px;
  border: 1px solid;
  cursor: pointer;
  opacity: 1;
  transition: all 0.15s ease;
  position: relative;
  margin-right: 6px;
  color: white;
  opacity: 1;
}

.background-image-action-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.background-image-action-btn:hover {
  opacity: 0.9;
}

#add-new-bg-image-btn {
  background-color: #007bff;
}

#delete-bg-image-btn {
  background-color: #dc3545;
}

.image-gallery-image-wrapper {
  max-width: 240px;
  position: relative;
  padding: 4px;
  background-color: white;
}

.image-gallery-image {
  width: 240px;
  height: 240px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.name-widget {
  display: flex;
  width: 100%;
  margin-top: 6px;
}

.name-widget-input {
  width: 100%;
  font-size: 12px;
  margin-right: 2px;
}

.background-image-action-btn {
  margin-right: 0;

}


#header-image-container {
  display: none;
  margin-left: -64px;
  margin-bottom: 10px;
}

#header-image-container img {
  width: 100%;
}

#save-new-header-image-btn {
  text-transform: uppercase;
  margin-right: 10px;
  padding: 4px 8px;
  background-color: #192342;
  user-select: none;
  cursor: pointer;
  font-size: 12px;
  color: white;
  display: flex;
  align-items: center;
}

#save-new-header-image-btn.disabled {
  opacity: 0.6;
  pointer-events: none;
}



/* @media only screen and (max-width: 1200px) {
  .image-editor-controls-and-frame-wrapper {
    flex-wrap: wrap;
  }

  .image-editor-controls {
    width: 100%;
    min-height: 400px;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .image-editor-frame {
    flex-shrink: 0;
    width: 100%;
  }
} */

