/* Select Plot */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  *:focus {
    outline: none;
  }
  
  .select-plot-box {
    position: relative;
    width: 100%;
    height: 50%;
    left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 2;
    background-color: var(--background-color2);
  }
  
  .brd {
      border: none;
  }
    
  #info {
      position: relative;
      top: 0;
      right: 0;
      left: 0;
      color: var(--font-color1);
      font-size: 15px;
      text-align: center;
      padding: 14px;
      background-color: #f3f9f9;
      margin-bottom: 10px;
  }
    
  #select-plot-cover {
      position: relative;
      width: 90%;
      margin: auto;
      z-index: 1;
  }
    
  #select-plot-button {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      color: var(--font-color1);
      font-size: 15px;
      text-align: center;
      padding: 5px 10px;
      background-color: transparent;
      border-radius: 4px;
      cursor: pointer;
  }
    
  #plot-options-view-button {
      position: relative;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      margin: 0;
      opacity: 0;
      cursor: pointer;
      z-index: 4;
  }
    
  #selected-plot {
    color: var(--font-color1);
    font-size: 15px;
    text-align: center;
    /*line-height: 1;*/
  }

  .plot-option img {
    width: 16px;
    height: 16px;
    position: absolute;
    top: calc(50% - 8px);
    padding: 0;
    left: 14px;
    display: none;
  }
  
  .plot-option,
  .label {
    color: var(--font-color1);
    font-size: 15px;
  }
    
  #chevrons {
    position: absolute;
    top: 0.1em;
    right: 0.1em;
    width: 12px;
    z-index: 4;
  }
    
  #chevrons i {
    display: block;
    height: 50%;
    color: var(--icon-color);
    font-size: 12px;
    text-align: right;
    opacity: 0.2;
  }
    
  #plot-options-view-button:checked + #select-plot-button #chevrons i {
    opacity: 1;
  }
    
  #plot-options {
    position: absolute;
    z-index: 3;
    width: 85%;
    top: 42px;
    right: 0;
    left: 0;
    margin: 0 auto;
    background-color: var(--background-color3);
    border-radius: 4px;
  }
  
  #plot-options-view-button:checked ~ #plot-options {
    border: none;
    box-shadow: 0.5px 0px 0.25px 0px rgba(0, 255, 170, 0.3), 0px 0.5px 0.25px 0px rgba(0, 177, 255, 0.3), -0.5px 0px 0.5px 0px rgba(88, 5, 205, 0.7), 0px -0.5px 0.5px 1px rgba(0, 53, 113, 0.7);
  }
    
  .plot-option {
    position: relative;
    line-height: 1;
    transition: 0.3s ease all;
    z-index: 2;
  }
  
  #plot-options-view-button:checked ~ #plot-options .plot-option img {
    display: block;
    padding: 0;
    z-index: 2;
  }
    
  .label {
    display: none;
    padding: 0;
    margin-left: 27px;
    transition: 0.3s ease all;
  }
    
  #plot-options-view-button:checked ~ #plot-options .label {
    display: block;
    padding: 12px 14px;
  }
  
  .s-c {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
  }
    
  .s-c.top {
    top: 0;
  }
  
  .s-c.bottom {
    bottom: 0;
  }
  
  .plot-option input[type="radio"] {
    position: absolute;
    right: 0;
    left: 0;
    width: 100%;
    height: 70%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
  
  .s-c:hover ~ div img {
    filter: brightness(0) invert(1);
  }
    
  .s-c:hover {
    height: 100%;
    z-index: 1;
  }
  
  .s-c.bottom:hover + img {
    animation: moveup 0.3s ease 0.1s forwards;
  }
  
  .s-c.top:hover ~ img {
    animation: movedown 0.3s ease 0.1s forwards;
  }
    
  @keyframes moveup {
    0% {
      top: calc(100% + 25px);
      transform: scale(0);
      opacity: 0;
    }
    100% {
      top: calc(50% - 8px);
      opacity: 1;
    }
  }
  
  @keyframes movedown {
    0% {
      top: -25px;
      transform: scale(0);
      opacity: 0;
    }
    100% {
      top: calc(50% - 8px);
      opacity: 1;
    }
  }
    
  .opt-val {
    position: absolute;
    width: 100%;
    height: 20px;
    opacity: 0;
    background-color: var(--background-color2);
    transform: scale(0);
  }
    
  .plot-option input[type="radio"]:checked ~ .opt-val {
    opacity: 1;
    transform: scale(1);
  }
    
  .plot-option input[type="radio"]:checked ~ i {
    top: 0;
    bottom: auto;
    opacity: 1;
    animation: unset;
  }
    
  .plot-option input[type="radio"]:checked ~ i,
  .plot-option input[type="radio"]:checked ~ .label {
    color: var(--font-color2);
  }
    
  .plot-option input[type="radio"]:checked ~ .label:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
  }
    
  #plot-options-view-button:not(:checked)
    ~ #plot-options
    .plot-option
    input[type="radio"]:checked
    ~ .opt-val {
    top: -36px;
  }
  
  .plot-option:nth-child(1) input[type="radio"]:checked ~ .label:before {
    background: linear-gradient(150deg, rgb(36, 0, 57) 0%, rgb(102, 9, 121) 35%, rgb(255, 0, 247) 100%);
    border-radius: 4px 4px 0 0;
  }
  
  .plot-option:nth-child(1) input[type="radio"]:checked ~ .opt-val {
    top: -36px;
    color: var(--font-color1);
    font-size: 15px;
    text-align: center;
  }
    
  .plot-option:nth-child(2) input[type="radio"]:checked ~ .label:before {
    background: linear-gradient(120deg, rgb(82, 38, 0) 0%, rgb(197, 124, 13) 35%, rgb(255, 179, 0) 100%);
  }
  
  .plot-option:nth-child(2) input[type="radio"]:checked ~ .opt-val {
    top: -76px;
    color: var(--font-color1);
    font-size: 15px;
    text-align: center;
  }
  
  .plot-option:nth-child(3) input[type="radio"]:checked ~ .label:before {
    background: linear-gradient(20deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
  }
  
  .plot-option:nth-child(3) input[type="radio"]:checked ~ .opt-val {
    top: -116px;
    color: var(--font-color1);
    font-size: 15px;
    text-align: center;
  }
  
  .plot-option:nth-child(4) input[type="radio"]:checked ~ .label:before {
    background: linear-gradient(20deg, rgb(8, 36, 0) 0%, rgb(26, 121, 9) 35%, rgb(60, 255, 0) 100%);
    border-radius: 0 0 4px 4px;
  }
    
  .plot-option:nth-child(4) input[type="radio"]:checked ~ .opt-val {
    top: -156px;
    color: var(--font-color1);
    font-size: 15px;
    text-align: center;
  }
    
  .plot-option:hover .label {
    color: var(--font-color2);
  }

  .plot-option div {
    position: relative;
    z-index: 4;
  }
    
  .plot-option:nth-child(1):hover {
    background: linear-gradient(150deg, rgb(36, 0, 57) 0%, rgb(102, 9, 121) 35%, rgb(255, 0, 247) 100%);
    border-radius: 4px 4px 0 0;
  }
    
  .plot-option:nth-child(2):hover {
    background: linear-gradient(120deg, rgb(82, 38, 0) 0%, rgb(197, 124, 13) 35%, rgb(255, 179, 0) 100%);
  }
    
  .plot-option:nth-child(3):hover {
    background: linear-gradient(20deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
  }
  
  .plot-option:nth-child(4):hover {
    background: linear-gradient(20deg, rgb(8, 36, 0) 0%, rgb(26, 121, 9) 35%, rgb(60, 255, 0) 100%);
    border-radius: 0 0 4px 4px;
  }

/* From Single to Multiple Chart */
.btn-wrap {
  position: absolute;
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  cursor: pointer;
  width: 85%;
  height: 30px;
  background: var(--background-color4);
  border-radius: 8px;
  padding: 0 18px;
  line-height: 1;
  will-change: transform;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  box-shadow: 0.5px 0px 0.25px 0px rgba(0, 255, 170, 0.3), 0px 0.5px 0.25px 0px rgba(0, 177, 255, 0.3), -0.5px 0px 0.5px 0px rgba(88, 5, 205, 0.7), 0px -0.5px 0.5px 1px rgba(0, 53, 113, 0.7);
}

.btn-wrap:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05)
}

.btn-wrap span {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/
  text-align: center;
  vertical-align: center;
  line-height: 2;
  letter-spacing: 2px;
  font-size: 15px;
  color: var(--font-color1);
  background: var(--background-color3);
  padding: 0 18px;
  -webkit-transition: all 1.2s ease;
  transition: all 1.2s ease;
}

.btn-wrap-container i {
  font-size: 10px;
  width: 15px;
  height: 15px;
  will-change: transform;
  -webkit-transform: scale(.1);
          transform: scale(.1);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.btn-wrap-container img {
  width: 15px;
  height: 15px;
  position: absolute;
  padding: 0;  
  display: block;
  filter: brightness(0.3) invert(1) grayscale(1);
}

.btn-wrap:hover i {
  -webkit-transform: scale(1);
          transform: scale(1);
}

.btn-wrap-container:hover i:hover img {
  filter: grayscale(0);
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}

.btn-wrap-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 64px;
  border-radius: 80px;
}

.btn-wrap-container i:nth-of-type(1) {
          -webkit-transition-delay: 1.1s;
                  transition-delay: 1.1s;
}

.btn-wrap-container i:nth-of-type(2) {
          -webkit-transition-delay: 1.0s;
                  transition-delay: 1.0s;
}

.btn-wrap-container i:nth-of-type(3) {
          -webkit-transition-delay: .8s;
                  transition-delay: .8s;
}

.btn-wrap-container i:nth-of-type(4) {
          -webkit-transition-delay: .6s;
                  transition-delay: .6s;
}

.btn-wrap-container i:nth-of-type(5) {
  -webkit-transition-delay: .5s;
          transition-delay: .5s;
}

.btn-wrap-container i:nth-of-type(6) {
  -webkit-transition-delay: .4s;
          transition-delay: .4s;
}

.btn-wrap:hover span {
  -webkit-transition-delay: .25s;
          transition-delay: .25s;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%)
}

#plot-options-view-button:checked ~ .btn-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  top: 210px;
  left: 50%;
  transform: translateX(-50%)
}