main {
  padding: 2rem 10rem;
  max-width: 1600px;
}

.back-link-outer {
  padding-bottom: 1rem;
}

.back-link-outer > a {
  font-size: 14px;
  color: rgb(180, 180, 180);
  padding: .4rem .7rem;
  border: 1px solid rgb(180, 180, 180);
  border-radius: 4px;
  background-color: transparent;
  transition: .2s;
}

.back-link-outer > a:hover {
  color: var(--color-quiver-black);
  background-color: var(--color-quiver-white);
}

.back-link-outer i {
  margin-right: 6px;
  font-size: 12px;
}

.strategy-title {
  position: relative;
  display: inline-block;
}

.strategy-title > h1 {
  font-size: 34px;
  font-weight: 400;
}

.strategy-description {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.strategy-description p {
  padding: .25rem 0;
  max-width: 80ch;
  font-size: 16px;
  line-height: 1.4;
  color: rgb(180, 180, 180);
}

.strategy-description p a {
  color: var(--color-quiver-green);
}

.strategy-description p a:hover {
  text-decoration: underline;
}

.strategy-description span {
  padding-bottom: 5rem;
  font-size: 14px;
  font-weight: 300;
  color: rgb(150,150,150);
}

.strategy-description span > span {
  font-weight: 400;
}

.strategy-dataset span {
  position: absolute;
  top: .25rem;
  left: calc(100% + .5rem);
  display: block;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9999px;
  padding: .125rem .6rem;
  opacity: .85;
}

.strategy-description .actions {
  display: flex;
  align-items: flex-end;
  padding-right: 4.5rem;
}

.actions > button,
.actions > a {
  display: block;
  font-size: 15px;
  padding: .25rem .5rem;
  border: 1px solid var(--color-quiver-green);
  border-radius: 4px;
  color: var(--color-quiver-green);
  background-color: transparent;
  margin-right: .5rem;
  opacity: .8;
  height: 30px;
  cursor: pointer;
  transition: .2s;
}

.actions > #watch-btn.dim-watchlist-btn {
  pointer-events: none;
  opacity: .5;
}

.actions #watch-btn.remove-btn {
  border: 1px solid var(--color-error-red);
  color: var(--color-error-red);
}

.actions #watch-btn.remove-btn:hover {
  background-color: var(--color-error-red);
  color: var(--color-quiver-black);
}

.actions > button:hover {
  background-color: var(--color-quiver-green);
  color: var(--color-quiver-black);
}

.actions > .copy {
  border: 1px solid var(--color-quiver-white);
  color: var(--color-quiver-white);
}

.actions > .copy:hover {
  background-color: var(--color-quiver-white);
  color: var(--color-quiver-black);
}

#price_graph {
  position: relative;
  margin: .75rem 0 2rem;
  width: 100%;
  border-bottom: 1px solid var(--color-graph-bg);
}

.metrics-header,
.holdings-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 2.5rem 0 .75rem;
}

.metrics-header > h2,
.holdings-header > h2 {
  position: relative;
  display: inline;
  font-size: 26px;
  font-weight: 400;
  color: rgb(200, 200, 200);
}

.metrics-header > span {
  display: inline;
  margin-left: 1.75rem;
  padding-top: .25rem;
  color:rgb(180, 180, 180);
  background-color: transparent;
  font-size: 14px;
  cursor: pointer;
}

.metrics-header span.descriptions-toggle {
  position: absolute;
  top: 0;
  left: 100%;
  display: flex;
  padding-left: .25rem;
  color: var(--color-quiver-green);
  cursor: pointer;
}

.metrics-header i {
  font-size: 12px;
}

.metrics-header > span:hover {
  text-decoration: underline;
}

.strategy-metrics-outer {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: .5rem;
}

.strategy-metrics-outer #additional-metrics {
  display: flex;
  flex-wrap: wrap;
  max-height: 0;
  transition: max-height .2s ease-out;
  overflow: hidden;
}

#additional-metrics.show-additional-metrics {
  max-height: 500px;
  transition: max-height .2s ease-in;
}

.strategy-metrics-inner {
  display: flex;
  flex-wrap: wrap;
}

.strategy-metrics-inner > .inner-item {
  display: flex;
}

.strategy-metrics-inner > div > div {
  margin: 4px;
  padding: .75rem;
  border-radius: 4px;
  width:130px;
  white-space: nowrap;
  background-color: #222731;
  box-shadow: 2px 2px 2px rgb(14, 14, 18);
}

.strategy-metrics-inner  h3 {
  font-size: 14px;
  font-weight: 300;
  color: rgb(160, 160, 160)
}

.strategy-metrics-inner span {
  font-size: 19px;
  font-weight: 400;
  color:rgb(200, 200, 200);
}

.metrics-descriptions-outer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  z-index: 99;
  background-color: rgba(0,0,0,.75);
}

.metrics-descriptions-outer.show-descriptions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.metrics-descriptions-inner {
  border-radius: 4px;
  padding: 2.5rem;
  width: 100%;
  max-width: 550px;
  background-color: #181818;
  box-shadow: 2px 2px 4px rgba(0,0,0,1);
}

.metrics-descriptions-inner .definitions-header {
  display: flex;
  justify-content: space-between;
}

.definitions-header i {
  font-size: 24px;
  cursor: pointer;
  color: var(--color-error-red);
  opacity: .75;
  transition: .2s;
}

.definitions-header i:hover {
  opacity: 1;
}

.metrics-descriptions-inner > ul {
  height: 400px;
  overflow-y: auto;
}

.metrics-descriptions-inner li {
  padding: 0 2rem 2rem 0;
}

.metrics-descriptions-inner h5 {
  padding-bottom: 1.25rem;
  font-size: 24px;
  font-weight: 400;
}

.metrics-descriptions-inner h6 {
  font-size: 17px;
  font-weight: 400;
  padding-bottom: .25rem;
}

.metrics-descriptions-inner p {
  font-size: 13px;
  color:rgb(180,180,180);
  line-height: 1.4;
}

.metrics-descriptions-inner span {
  display: block;
  font-size: 12px;
  font-weight: 300;
}

.metrics-descriptions-inner a {
  color: var(--color-quiver-green);
  font-size: 13px;
}

.metrics-descriptions-inner a:hover {
  text-decoration: underline;
}

.holdings-outer {
  display: flex;
  flex-wrap: wrap;
  padding-top: .5rem;
}

.table-outer {
  width: 100%;
  max-width: 550px;
  margin: 0 2rem 3rem 0;
  border: none;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem;
  box-shadow: 2px 2px 4px rgba(0,0,0,1);
}

#strategyPageOuter .table-outer,
#strategyPageOuter .strategy-metrics-inner > div > div {
  background-color: #181818;
}

#strategyPageOuter .strategy-metrics-inner > div > div {
  box-shadow: 3px 3px 2px rgb(12, 12, 12);
}

.table-outer .rebalance-date {
  padding-left: .5rem;
  font-size: 14px;
  color: rgb(180, 180, 180);
}

.table-outer .rebalance-date > span {
  font-weight: 300;
}

.table-outer .disclaimer {
  padding: .2rem .5rem 1.5rem .5rem;
  font-size: 13px;
  font-weight: 300;
  color: rgb(160, 160, 160);
  font-style: italic;
}

.table-outer .disclaimer > span {
  color: var(--color-quiver-green);
  margin-right: 2px;
  font-size: 14px;
  display: none;
}

.table-header {
  padding: 0.5rem 0 1.5rem 0.5rem;
}

.table-header-upcoming {
  padding: 0.5rem 0 .5rem 0.5rem;
}

.table-filter-inner {
  border: 1px solid var(--color-border-gray);
  border-radius: 4px;
}

.table-filter-inner:focus-within {
  border-bottom: 1px solid var(--color-quiver-green);
}

.table-filter-inner > input {
  font-size: 12px;
  background-color: #1e1f24;
}

#strategyPageOuter .table-filter-inner > input {
  background-color: #181818;
}

.table-header-title > h3 {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 400;
  color: rgb(190, 190, 190);
}

.table-outer thead th {
  border: none;
  color: rgb(200, 200, 200);
  white-space: nowrap;
}

#strategyPageOuter .table-outer thead th {
  background-color: #222224 !important;
}

.table-outer td {
  font-size: 14px;
  padding: 1.25rem;
  color:rgb(180, 180, 180);
  white-space: nowrap;
}

.table-outer .upcoming-table td {
  white-space: initial;
}

.table-outer td a {
  font-size: 15px;
}

.table-outer .upcoming-table td,
.table-outer .upcoming-table td a {
  font-size: 15px;
} 

.table-outer .table-inner {
  max-height: 400px;
  border-bottom: none;
}

.table-inner tbody tr:nth-child(even) {
  background-color: #1d1d1d;
}

.shorts-table th,
.holdings-table th {
  padding: .9rem;
  font-size: 11px;
}

.shorts-table td,
.holdings-table td {
  padding: 1.25rem .9rem;
  font-size: 14px;
}

.positive {
  color: #57d7BA !important;
}
.negative {
  color: #ff1d58 !important;
} 

.axis path,
.axis line {
  fill: none;
  stroke: #46464F;
  opacity: 0.0001;
  shape-rendering: crispEdges;
}
.x.axis path, .y.axis path {
  display: none;
}

.line {
  fill: none;
  stroke: rgb(141, 137, 163);
  stroke-width: 1px;
}

.overlay {
  fill: none;
  pointer-events: all;
}

.focus circle {
  fill: rgb(169, 164, 195);
}
.grid .tick {
  stroke: #46464F;
  opacity: 0.7;
}
.axis g.tick{
  fill: rgb(150,150,150);
}
.focus text{
  fill: silver;
}
.grid path {
  stroke-width: 0;
}
.area {
  /*
  here's where the gradient would go
  **/
    fill: #377CC3;
    opacity: .75;
    stroke-width: 0;
}
.yAxisTicks {
  /*
  styling for axis ticks/labels goes here
  **/
}
.xAxisTicks {
  /*
  styling for axis ticks/labels goes here
  **/
}

.y.axis {
  transform: translate(-1rem, 0);
}

.bar {
  fill: steelblue;
}

.bar:hover {
  fill: lightblue;
}

.axis text {
  font-size: 12px;  
}

.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.x.axis path {
  display: none;
}

.tooltip {
  pointer-events: none;
}

.tooltip strong {
  color: var(--color-quiver-white);
  font-size: 13px;
  font-weight: 300;
}

.tooltip p, 
.tooltip span
{
  font-size: 15px;
  padding-top: .5rem;
  color: white;
}

.tooltip div {
  display: flex;
  justify-content: space-between;
}

.tooltip span {
  padding-left: 1rem;
  color:  rgb(169, 164, 195);
  font-weight: 400;
}

.tooltip span.above-bench {
  color: var(--color-quiver-green);
}

.tooltip span.below-bench {
  color: var(--color-error-red);
}

circle {
  fill: none;
}

.mobile-chart-tip {
  display: none;
  padding-top: 1rem;
  font-size: 12px;
  font-weight: 300;
  color: rgb(185,185,185);
  text-align: right;
}

@media screen and (max-width: 1200px) {
  main {
    padding: 2rem 6rem;
  }

  .table-outer {
    margin: 0 0 2rem;
  }
}

@media screen and (max-width: 800px) {
  main {
    padding: 2rem 2rem;
  }

  .strategy-title > h1 {
    font-size: 20px;
  }

  .strategy-dataset span {
    font-size: 11px;
  }

  .back-link-outer > a,
  .metrics-header > span,
  .strategy-metrics-inner h3, 
  .metrics-header > span.descriptions-toggle {
    font-size: 12px;
  }

  .metrics-header > span.descriptions-toggle {
    margin-left: 0;
  }

  .table-outer {
    padding: .75rem 0;
  }

  .table-outer td {
    font-size: 13px;
  }

  .table-outer td a {
    font-size: 13px;
  }

  .strategy-description p {
    font-size: 14px;
  }

  .actions > button,
  .actions > a {
    margin-top: .75rem;
    font-size: 13px;
    padding: 0.35rem 0.75rem;
    height: auto;
    white-space: nowrap;
  }

  #price_graph {
    margin-bottom: 0;
  }

  .mobile-chart-tip {
    display: block;
  }

  .metrics-header {
    margin-top: 0;
  }

  .metrics-header > h2, .holdings-header > h2 {
    font-size: 19px;
  }

  .metrics-descriptions-inner {
    padding: 1rem;
    max-width: 95%;
  }

  .strategy-metrics-inner > div > div {
    padding: .5rem;
    width: 125px;
  }

  .strategy-metrics-inner span {
    font-size: 16px;
  }

  .table-outer .rebalance-date,
  .table-outer .disclaimer,
  .table-outer th:first-child,
  .table-outer td:first-child,
  .upcoming-table p {
    padding-left: 1.5rem;
  }

  .table-header {
    flex-direction: row;
    padding: .5rem 1rem 1rem 1.5rem;
  }

  .table-filter-inner {
    margin-top: 0;
    margin: .5rem 0;
  }

  .axis text {
    font-size: 11px; 
  }

  .focus text{
    font-size: 14px;
  }

  .tooltip strong {
    font-size: 11px;
  }
  
  .tooltip p, 
  .tooltip span
  {
    font-size: 13px;
  }
}

@media screen and (max-width: 500px) {
  main {
    padding: 2rem .5rem;
  }

  .strategy-dataset {
    display: none;
  }
}