.chartalyzer-cr-body {
  opacity: 1;
  position: relative;
}

.cr-body.loading {
  opacity: 0;
}

#chartalyzer-loading-animation {
  text-align: center;
  display: none;
}

#chartalyzer-loading-animation.activeLoading {
  display: block;
}

.chartalyzer-cr-body header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: solid 1px #d0d0d0;
  background-color: #ffffff;
  z-index: 10000;
  max-width: none !important;
}

.chartalyzer-header-buttons {
  display: flex;
  gap: 16px;
}

.chartalyzer-cr-body .header-inner {
  padding: 16px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chartalyzer-header-navigation {
  display: flex;
  align-items: center;
}

.chartalyzer-header-navigation span {
  cursor: pointer;
  font-size: 18px;
  padding: 0 16px;
  line-height: 68px;
}

.chartalyzer-header-navigation-active {
  font-weight: bold;
  border-bottom: solid 4px #2335e6;
}

.chartalyzer-cr-body .chartalyzer-cr-body-inner {
  max-width: none !important;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
  margin-top: 36px;
}

.chartalyzer-chart-container {
  max-width: 1080px;
  margin: 0 auto 36px;
}

.chartalyzer-parameters-form .chartalyzer-form-control {
  display: flex;
  align-items: center;
  flex-grow: 1;
  flex-basis: 0;
  position: relative;
}

.chartalyzer-form-control label {
  width: 136px;
}

#custom-allocation-form .chartalyzer-form-control {
  position: relative;
}

#custom-allocation-form {
  max-height: calc(100vh - 280px);
  overflow-y: scroll;
}

#custom-allocation-form .chartalyzer-form-control {
  display: flex;
  gap: 20px;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 16px;
}

#chartalyzer-table-container {
  overflow-x: scroll;
}

.chartalyzer-parameters-form-inner {
  display: flex;
  gap: 24px;
  align-items: center;
}

#chartalyzer-table-container {
  display: none;
}

.chartalyzer-chartDescription {
  text-align: center;
}

.chartalyzer-chartTimeFrame {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.chartalyzer-print-button {
  border: solid 2px #2335e6;
  background-color: transparent;
  color: #2335e6;
}

.chartalyzer-hide {
  opacity: 0.5;
  pointer-events: none;
}

.chartalyzer-remove {
  display: none;
}

.chartalyzer-comparison-disclaimer {
  display: none;
}

.chartalyzer-disclaimer {
  display: none;
}

.chartalyzer-print-header {
  display: none;
}

.chartalyzer-zero-height {
  height: 0;
  display: none;
}

.chartalyzer-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 36px;
}

.chartalyzer-empty-state h4 {
  margin: 20px 0 12px;
}

.chartalyzer-cr-body-inner.loading .chartalyzer-selectedIndex,
.chartalyzer-cr-body-inner.loading .chartalyzer-chartDescription,
.chartalyzer-cr-body-inner.loading .chartalyzer-chartTimeFrame,
.chartalyzer-cr-body-inner.loading .chartalyzer-indexalyzerAverage,
.chartalyzer-cr-body-inner.loading .chartalyzer-SPBloomberg,
.chartalyzer-cr-body-inner.loading hr {
    display: none;
}

.chartalyzer-loading-message {
  text-align: center;
}

.chartalyzer-review-disclaimer {
  display: none;
}

@media print {
  .chartalyzer-cr-body * {
    zoom: 95%;
  }
  .chartalyzer-print-hide {
    display: none;
  }
  .chartalyzer-comparison-disclaimer {
    display: block;
  }
  .chartalyzer-disclaimer {
    display: block;
    font-size: 12px;
    page-break-before: always;
  }
  .chartalyzer-review-disclaimer {
    display: block;
    font-size: 10px;
    font-style: italic;
    text-align: center;
  }
  .chartalyzer-chart1-wrapper,
  .chartalyzer-chart2-wrapper {
    page-break-after: always;
  }
  .chartalyzer-print-header {
    display: flex;
    justify-content: space-between;
    padding: 0;
    border-solid: 1px solid #eaeaea;
    align-items: center;
  }
  .chartalyzer-chart-container hr {
    display: none;
  }
}