/* Typography */
.xc-flight-chart {
    color: #424242;
    font-size: 13px;
    position: relative;
    line-height: 1.2;
    font-family: "Archivo Narrow", sans-serif;
    overflow-x: auto;
    margin-left: -8px;
}

.xc-flight-chart .chart-title {
    font-size: 16px;
    font-weight: bold;
}

.xc-flight-chart .chart-subtitle {
    font-size: 13px;
}

/* Chart */
.xc-flight-chart .scroll-container {
    min-width: 800px;
}

.xc-flight-chart svg {
    display: block;
}

.xc-flight-chart .profile-line {
    fill: none;
    stroke: #915b47;
}

.xc-flight-chart .profile-area {
    fill: #915b47;
    fill-opacity: 0.1;
}

.xc-flight-chart .xc-dash-line {
  stroke: #424242;
  stroke-dasharray: 4 2;
}

.xc-flight-chart .xc-bubble-circle {
  fill: #ffffff;
  stroke: #424242;
}

.xc-flight-chart .xc-bubble-label {
  fill: #424242;
}

.xc-bubble-g:hover .xc-bubble-circle {
  stroke-width: 2px;
}

.xc-bubble-g:hover .xc-bubble-label {
  font-weight: bold;
}

.xc-flight-chart .xc-elevation-label-halo,
.xc-flight-chart .xc-leave-label-halo {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 3px;
}

.xc-flight-chart .xc-elevation-label,
.xc-flight-chart .xc-leave-label {
  fill: #424242;
}

.xc-flight-chart .xc-leave-label-bg {
  fill: #ffffff;
  stroke: #d21306;
  stroke-width: 2px;
}

.xc-flight-chart .xc-lift-line,
.xc-flight-chart .glide-line {
  stroke-width: 2px;
  stroke-linecap: round;
}

.xc-flight-chart .xc-lift-line {
  stroke: #d21306;
}

.xc-flight-chart .glide-line {
  stroke: #42517e;
}

.xc-flight-chart .y.axis line {
	stroke-width: 0.5px;
}

.xc-flight-chart .hover-circle-indicator {
  fill: #915b47;
}

.xc-flight-chart .axis {
  font-family: inherit;
}

.xc-flight-chart .axis line {
  color: #9e9e9e;
}

.xc-flight-chart .axis .secondary line {
  color: #e0e0e0;
}

/* Tooltip */
.xc-flight-chart .chart-tooltip {
  font-size: 13px;
  pointer-events: none;
  opacity: 0;
  transition: opacity ease-in-out 0.2s;
}

.xc-flight-chart .chart-tooltip.show {
  opacity: 1;
}

.xc-flight-chart .chart-tooltip-box {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 280px;
  border: 1px solid #000;
  background-color: #eeeeee;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.xc-flight-chart .chart-tooltip-arrow {
  position: absolute;
  left: 0;
  top: 0;
}

.xc-flight-chart .chart-tooltip .chart-tooltip-arrow::before,
.xc-flight-chart .chart-tooltip .chart-tooltip-arrow::after {
  position: absolute;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
}

.xc-flight-chart .chart-tooltip.top .chart-tooltip-arrow::before {
  border-color: rgba(66, 66, 66, 0);
  border-top-color: #000;
  border-width: 7px;
  margin-left: -7px;
  bottom: -7px;
}

.xc-flight-chart .chart-tooltip.top .chart-tooltip-arrow::after {
  border-color: rgba(238, 238, 238, 0);
  border-top-color: #eeeeee;
  border-width: 6px;
  margin-left: -6px;
  bottom: -5px;
}

.xc-flight-chart .chart-tooltip.bottom .chart-tooltip-arrow::before {
  border-color: rgba(66, 66, 66, 0);
  border-bottom-color: #424242;
  border-width: 7px;
  margin-left: -7px;
  top: -7px;
}

.xc-flight-chart .chart-tooltip.bottom .chart-tooltip-arrow::after {
  border-color: rgba(238, 238, 238, 0);
  border-bottom-color: #eeeeee;
  border-width: 6px;
  margin-left: -6px;
  top: -5px;
}

.xc-flight-chart .chart-tooltip strong {
  font-weight: bold;
}

.xc-flight-chart .chart-tooltip td {
  padding: 0px !important;
}

.xc-flight-chart .chart-tooltip small {
  font-size: 13px;
}

.xc-flight-chart .chart-tooltip .spacer {
  height: 0.5em;
}

.xc-flight-chart .chart-tooltip table {
  border-collapse: collapse;
}

.xc-flight-chart .chart-tooltip td:first-child {
  padding-right: 3em;
}
