/*
  HTML5 Reset :: style.css
  ----------------------------------------------------------
  We have learned much from/been inspired by/taken code where offered from:
  Eric Meyer          :: http://meyerweb.com
  HTML5 Doctor        :: http://html5doctor.com
  and the HTML5 Boilerplate :: http://html5boilerplate.com
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, table, thead, tbody, tr, th, td, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  background: transparent;
}
body {
}

article, aside, figure, footer, header, nav, section, details, summary {display: block;}

/* Handle box-sizing while better addressing child elements:
   http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */

/* Responsive images and other embedded objects */
/* if you don't have full control over `img` tags (if you have to overcome attributes), consider adding height: auto */
img,
object,
embed {max-width: 100%;}

/*
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
  In fact, it *will* cause problems with Google Maps' controls at small size.
  If this is the case for you, try uncommenting the following:
#map img {
    max-width: none;
}
*/

/* we use a lot of ULs that aren't bulleted.
  you'll have to restore the bullets within content,
  which is fine because they're probably customized anyway */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before,
blockquote:after,
q:before,
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
    white-space: pre; /* CSS2 */
    white-space: pre-wrap; /* CSS 2.1 */
    white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
    word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}

small {font-size: 85%;}

strong {font-weight: bold;}

/* Make sure sup and sub don't mess with your line-heights http://gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }html
{
  font: 16px/1 Helvetica;

  height: 100%;

  cursor: default;

  background: #fff;

  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -webkit-transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
}

html,
body
{
  overflow: hidden;
  height: 100%;
}

*
{
  cursor: inherit;

  outline: none;
}

input,
textarea,
select
{
  font-size: .3125rem;

  -webkit-box-sizing: border-box;

          box-sizing: border-box;

  vertical-align: bottom;
}

input:disabled,
textarea:disabled,
select:disabled
{
  background: inherit;
}

a
{
  cursor: pointer;
  -webkit-user-select: none;
          -moz-user-select: none;
           -ms-user-select: none;
       user-select: none;
  text-decoration: none;

  color: inherit;

  -webkit-touch-callout: none;
}

canvas
{
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-user-drag: none;
}

.chart-container
{
  position: relative;
}

.chart-container.gapping
{
  padding: 5px;
}
.clickable-area-extended-bottom
{
  position: relative;
}
.clickable-area-extended-bottom:after
{
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 200%;

  content: '\0020';
}
.chart-layout {
  font-size: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
       user-select: none;
  background: #101010;
}
.chart-layout.light {
  background: #ffffff;
}
/* 图表区域 */
.chart-body {
  position: relative;
  vertical-align: top;
  background: #101010;
}
.chart-layout.light .chart-body {
  background: #ffffff;
}
.chart-line {
  font-size: 0;
  position: relative;
  border: solid #262626;
  border-width: 0 0 1px 0;
  z-index: 0;
}
.chart-layout.light .chart-line {
  border-color: #e8e8e8;
}
.chart-axisx {
  display: inline-block;
  border-top: 1px solid #262626;
}
.chart-layout.light .chart-axisx {
  border-top-color: #e8e8e8;
}
.chart-axisy {
  position: absolute;
  top: 0;
  pointer-events: none;
  background: transparent;
}
.chart-axisy > canvas {
  -ms-touch-action: none;
      touch-action: none;
}
.chart-axisy.left {
  left: 0;
}
.chart-axisy.right {
  right: 0;
}
.chart-separator {
  height: 1px;
  background: #e0e0e0;
}
.fold-btn {
  position: absolute;
  top: 50%;
  right: 108px;
  display: block;
  width: 20px;
  height: 22px;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9JzAgMCA0MCA0NCc+DQogIDxkZWZzPjxzdHlsZT4uY2xzLTF7b3BhY2l0eTogLjc7ZmlsbDogIzY2NjY2Njt9PC9zdHlsZT48L2RlZnM+DQogIDxnIGNsYXNzPSJjbHMtMSI+DQogIDxwYXRoDQogICAgZD0nTTQwLDQ0SDNhMywzLDAsMCwxLTMtM1YzQTMsMywwLDAsMSwzLDBINDBWNDRaTTEwLjcsMTEuODVMMjAsMjIsMTAuNywzMi4xNUExLjExLDEuMTEsMCwwLDAsMTEuNTEsMzRoMGExLjExLDEuMTEsMCwwLDAsLjgyLTAuMzZMMjMsMjIsMTIuMzMsMTAuMzZBMS4xMSwxLjExLDAsMCwwLDExLjUxLDEwaDBBMS4xMSwxLjExLDAsMCwwLDEwLjcsMTEuODVabTksMEwyOSwyMiwxOS43LDMyLjE1QTEuMTEsMS4xMSwwLDAsMCwyMC41MSwzNGgwYTEuMTEsMS4xMSwwLDAsMCwuODItMC4zNkwzMiwyMiwyMS4zMywxMC4zNkExLjExLDEuMTEsMCwwLDAsMjAuNTEsMTBoMEExLjExLDEuMTEsMCwwLDAsMTkuNywxMS44NVonLz4NCiAgPC9nPg0KPC9zdmc+) no-repeat;
  background-size: cover;
}
.fold-btn.fold {
  right: 0;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.set-landscape {
  position: absolute;
  right: 0;
  left: 5rem;
  width: 26px;
  height: 26px;
  margin-top: -32px;
  background: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2052%2052'%3e%3cdefs%3e%3cstyle%3e.cls-1{opacity:0.7;}.cls-2,.cls-4{fill:%23333;}.cls-3{fill:%23101010;}.cls-4,.cls-5{stroke:%23101010;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px;}.cls-5{fill:none;}%3c/style%3e%3c/defs%3e%3cg%20class='cls-1'%3e%3cpath%20class='cls-2'%20d='M26,51A25,25,0,1,1,51,26,25,25,0,0,1,26,51Z'/%3e%3cpath%20class='cls-3'%20d='M26,2A24,24,0,1,1,2,26,24,24,0,0,1,26,2m0-2A26,26,0,1,0,52,26,26,26,0,0,0,26,0h0Z'/%3e%3c/g%3e%3cline%20class='cls-4'%20x1='29'%20y1='29'%20x2='36.97'%20y2='36.97'/%3e%3cline%20class='cls-4'%20x1='15.03'%20y1='15.03'%20x2='23'%20y2='23'/%3e%3cpolyline%20class='cls-5'%20points='22%2014%2014%2014%2014%2022'/%3e%3cpolyline%20class='cls-5'%20points='38%2030%2038%2038%2030%2038'/%3e%3c/svg%3e") no-repeat;
  background-size: cover;
}
.open-aggregate-auction {
  font-size: 12px;
  line-height: 16px;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 8px;
  color: #3B97FF;
  background: #132137;
}
.open-comparison {
  font-size: 12px;
  line-height: 16px;
  position: absolute;
  top: 0;
  right: 42px;
  padding: 0 8px;
  vertical-align: bottom;
  color: #3B97FF;
  background: #132137;
}
.remove-comparison {
  font-size: 14px;
  line-height: 16px;
  position: absolute;
  top: 32px;
  left: 4px;
  padding: 0 6px;
  vertical-align: bottom;
  color: #d4003c;
  background: #101010;
}
.open-settings {
  font-size: 12px;
  line-height: 16px;
  position: absolute;
  top: 0;
  right: 0;
  margin-left: 4px;
  padding: 0 8px;
  vertical-align: bottom;
  color: #3B97FF;
  background: #132137;
  /*&:before
  {
    display: inline-block;

    width: 10px;
    height: 9px;
    margin: 3px 2px 0;

    content: '\0020';

    background-image: url(./image/settings.svg);
    background-size: cover;
  }*/
}
.chart-plot {
  position: relative;
  overflow: auto;
  width: 100%;
  height: 100%;
}
.chart-plot > canvas {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  -ms-touch-action: none;
      touch-action: none;
}
.chart-plot .bar-actions {
  position: absolute;
  bottom: 0;
  height: 102px;
  border: 0.5px solid #666;
  background: rgba(26, 26, 26, 0.7);
}
.chart-plot .bar-actions.hanging-left {
  left: 0;
}
.chart-plot .bar-actions.hanging-left .fold-button {
  right: -15px;
}
.chart-plot .bar-actions.hanging-left .fold-button:before {
  margin-top: 6.4px;
  margin-left: 5.9px;
  border-width: 1px 0 0 1px;
}
.chart-plot .bar-actions.hanging-right {
  right: 0;
}
.chart-plot .bar-actions.hanging-right .fold-button {
  left: -15px;
}
.chart-plot .bar-actions.hanging-right .fold-button:before {
  margin-top: 6.4px;
  margin-left: 3.9px;
  border-width: 0 1px 1px 0;
}
.chart-plot .bar-actions.fold > .btn-group {
  display: none;
}
.chart-plot .bar-actions .btn-group {
  margin: 8px 0;
}
.chart-plot .bar-actions .fold-button {
  position: absolute;
  top: 0;
  width: 15px;
  height: 18px;
  background: -webkit-gradient(linear, left top, right top, from(#555), to(#555));
  background: linear-gradient(90deg, #555, #555);
}
.chart-plot .bar-actions .fold-button:before {
  display: inline-block;
  width: 5px;
  height: 5px;
  content: '\0020';
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  border: solid #fff;
}
.chart-plot .bar-actions .action-btn {
  font-size: 12px;
  line-height: 24px;
  width: 68px;
  height: 24px;
  margin: 0 6px;
  margin-bottom: 7px;
  text-align: center;
  color: #3B97FF;
  border: 0.5px solid #333;
  border-radius: 12px;
  background: #333;
}
.chart-plot .bar-actions .action-btn:last-child {
  margin-bottom: 0;
}
.chart-plot .ai-hover {
  position: absolute;
  display: inline-block;
  right: 0;
  top: 0;
}
.chart-plot .ai-hover img {
  display: inline-block;
  height: 100%;
  width: auto;
}
/* 图上方悬浮的信息栏 */
.chart-legend {
  font-size: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  background-color: #101010;
}
.chart-layout.light .chart-legend {
  background-color: #f5f5f5;
}
.chart-legend:last-child {
  margin-right: 0;
}
.chart-legend .chart-legend-line {
  display: inline-block;
  margin-right: 5px;
  border-bottom: 1px solid #e0e0e0;
}
.chart-legend .chart-legend-item {
  font-weight: inherit;
  display: inline-block;
  margin-left: 5px;
  color: #e6e6e6;
}
.chart-layout.light .chart-legend .chart-legend-item {
  color: #333333;
}
.chart-legend .chart-legend-item-tip {
  font-weight: inherit;
  display: inline-block;
  margin-left: 5px;
  margin-left: 20px;
  color: #FFFACD;
}
.chart-layout.light .chart-legend .chart-legend-item-tip {
  color: #d46b08;
}
.chart-legend .studies-tabs {
  display: inline-block;
  position: absolute;
  width: 300px;
  top: 16px;
  left: 0;
  z-index: 1000;
  background: #33373C;
  overflow: hidden scroll;
}
.chart-layout.light .chart-legend .studies-tabs {
  background: #f0f0f0;
}
.chart-legend .studies-tabs.none {
  display: none;
}
.chart-legend .studies-tabs .tabs {
  padding: 0px;
  padding-left: 10px;
  display: inline-block;
  float: left;
  width: 25%;
  color: #e6e6e6;
}
.chart-layout.light .chart-legend .studies-tabs .tabs {
  color: #333333;
}
.chart-legend .studies-tabs .tabs:hover {
  background-color: rgba(185, 190, 196, 0.1);
}
.chart-layout.light .chart-legend .studies-tabs .tabs:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.chart-legend .studies-tabs .tabs.active {
  color: #aa7e07;
  font-weight: bold;
}
.chart-layout.light .chart-legend .studies-tabs .tabs.active {
  color: #b8860b;
}
.chart-legend .studies-selection {
  font-size: 12px;
  line-height: 14px;
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  border: 1px solid #63676F;
  border-radius: 2px;
  color: #E6E6E6;
  background-color: #33373C;
}
.chart-layout.light .chart-legend .studies-selection {
  border-color: #d9d9d9;
  color: #333333;
  background-color: #f5f5f5;
}
.chart-legend .studies-selection .arrow {
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -2px;
  width: 8px;
}
.chart-legend .studies-selection span {
  padding-left: 5px;
}
color:rgb(243, 181, 9) .chart-layout.light .chart-legend .studies-selection span {
  color: #d98b0b;
}
.chart-legend .studies-selection.has-more {
  padding: 0 18px 0 4px;
}
.chart-legend .studies-selection.has-more:before {
  position: absolute;
  top: 50%;
  right: -3px;
  display: block;
  width: 0;
  height: 0;
  margin-top: -3px;
  content: '\0020';
}
.chart-legend .studies-selection.readonly {
  padding: 0;
  background-color: #101010;
  color: #e6e6e6;
}
.chart-legend .studies-selection.readonly:before {
  display: none;
}
.studies-tabs::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px #201d1d;
  background-color: #F5F5F5;
}
.chart-layout.light .studies-tabs::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #e8e8e8;
}
.studies-tabs::-webkit-scrollbar {
  width: 6px;
  background-color: #F5F5F5;
}
.chart-layout.light .studies-tabs::-webkit-scrollbar {
  background-color: #e8e8e8;
}
.studies-tabs::-webkit-scrollbar-thumb {
  background-color: #666;
}
.chart-layout.light .studies-tabs::-webkit-scrollbar-thumb {
  background-color: #bfbfbf;
}
.ai-hover {
  position: absolute;
  display: inline-block;
  right: 0;
  top: 16px;
  z-index: 30;
}
.ai-hover img {
  display: inline-block;
  height: 100%;
  width: auto;
}
.chart-layout .btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 30px;
  display: inline-block;
  height: 30px;
  padding: 0 12px;
  cursor: default;
  vertical-align: bottom;
  color: #000;
  border: 1px solid #e0e0e0;
  background: #fff;
}
.chart-layout .btn:active {
  background: #f2f5f8;
}
.chart-layout .btn:hover {
  border: 1px solid #b5b7b9;
}
.chart-layout .btn.active {
  color: #58c3e5;
  background: #f2f5f8;
}
.chart-layout .btn-blue {
  color: #fff;
  border: none;
  background: #00b3d1;
}
.chart-layout .btn-blue:hover {
  border: none;
  background: #06bfdd;
}
.chart-layout .btn-blue:active {
  background: #06a5bf;
}
.chart-layout .btn-gray {
  color: #fff;
  border: none;
  background: #9ca0a6;
}
.chart-layout .btn-gray:hover {
  border: none;
  background: #a4a8ad;
}
.chart-layout .btn-gray:active {
  background: #94989f;
}
.chart-layout .btn-smaller {
  line-height: 28px;
  height: 28px;
}
.chart-layout .chart-btn-group {
  display: inline-block;
  margin-right: 8px;
}
.chart-layout .chart-btn-group > .btn:not(:last-of-type) {
  border-right: none;
}
.chart-layout .chart-btn-group > .btn:hover + .btn {
  border-left: 1px solid #b5b7b9;
}
.chart-layout .btn-more {
  position: relative;
  width: 20px;
  padding: 0;
}
.chart-layout .btn-more > i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1px;
  margin-left: -1px;
  border-radius: 2px;
  background: #8b8c8e;
}
.chart-layout .btn-more > i:before {
  position: absolute;
  top: -6px;
  left: 0;
  display: block;
  width: 3px;
  height: 3px;
  content: '\0020';
  border-radius: 2px;
  background: inherit;
}
.chart-layout .btn-more > i:after {
  position: absolute;
  bottom: -6px;
  left: 0;
  display: block;
  width: 3px;
  height: 3px;
  content: '\0020';
  border-radius: 2px;
  background: inherit;
}
/* 导航栏 */
.chart-navbar {
  font-size: 14px;
  position: relative;
}
.chart-navbar .resolution {
  white-space: nowrap;
  background-color: #101010;
  color: #e6e6e6;
}
.chart-navbar.light .resolution {
  background-color: #ffffff;
  color: #333333;
}
.chart-navbar.light .tab {
  color: #333333;
  border-bottom-color: #ddd;
}
.chart-navbar.light .active {
  color: #1890ff;
  border-right-color: #f0f0f0;
  border-bottom-color: #f0f0f0;
  border-left-color: #f0f0f0;
  background-color: #f0f0f0;
}
.chart-navbar .tab {
  line-height: 27px;
  position: relative;
  display: inline-block;
  float: left;
  height: 27px;
  text-align: center;
  color: #e6e6e6;
  border-bottom: 1px solid #333;
}
.chart-navbar .tab:last-child:before {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: block;
  width: 0;
  height: 0;
  content: '\0020';
  border: 3px solid;
  border-color: transparent #aaa #aaa transparent;
}
.chart-navbar .tab {
  width: 16.66%;
}
.chart-navbar .active {
  color: #3B97FF;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  background-color: #000;
}
.chart-navbar .active:first-child {
  border-left: none;
}
.chart-navbar .popup-menu {
  top: 28px;
  right: 0;
  padding-left: 0;
  width: 130px;
}
.chart-navbar .popup-menu li {
  text-align: center;
}
.chart-layout .popup-menu {
  font-size: 13px;
  position: absolute;
  z-index: 99;
  border: 1px solid #333;
  background: #101010;
  color: #e6e6e6;
}
.chart-layout .popup-menu > li {
  line-height: 30px;
  min-width: 100px;
  height: 30px;
  padding: 0 7px;
  cursor: pointer;
}
.chart-layout .popup-menu > li:hover {
  background: #333;
}
.tabs-zhibiao {
  font-size: 14px;
  overflow: hidden;
  color: #999;
  font-weight: bold;
}
.tabs-zhibiao .tab-item {
  float: left;
  position: relative;
  padding: 0 10px;
  line-height: 21px;
  border-right: 1px solid #333;
  background: #282824;
  margin: 3px 0;
  margin-right: 3px;
}
.tabs-zhibiao .tab-item:hover {
  background-color: #444;
}
.tabs-zhibiao .tab-item.active {
  background-color: #666;
  color: #fff;
}
