#chart-legend {
  margin-bottom: 7px;
}

.item-legend-shape{
  height: 8px;
  width: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 0.1em;
  margin-right: 5px;
}

.shape-0 {
  background-color: rgba(0, 166, 217, 1);
}

.text-shape-3 {
  color: #ff7555 !important;
}

.co2 .max-border {
  top: 26%;
}

.co2 .max-border span, 
.co2 .min-border span {
  position: absolute;
  left: 0.5%;
  font-weight: bold;
}

.co2 .min-border span {
  bottom: 1%;
}

.legend-data-label{
  position: static;
}

#chart-legend {
  justify-content: flex-start;
}

#legend-container {
  margin-top: 0;
}

.icon-market .tooltip{
  z-index: 10000;
  overflow: visible;
  position:initial!important;
  visibility: visible;
  transform:translate3d(0px,-100px,0) !important;
  bottom: 90px;
  left: 234px;
  will-change:inherit!important;
  width:100%;
}
.icon-market .tooltip .arrow::before{
  left:0px !important;
  bottom:8px
}
.bs-tooltip-auto[x-placement^="top"] .arrow::before{
  bottom:8px!important;
}
.paragraph-eco2mix .arrow{
  left:42px!important;
  top:35px!important;
}
.tooltip-inner{
  background-color:#065d78!important;
}
.bs-tooltip-top .arrow::before{
  border-top-color: #065d78!important;
}
.line-one .legend-button{
  display: flex;
  justify-content: flex-end;
}

.legend-data-label{
  border-top: 0!important;
}

.co2 .min-border{
  width: 94%;
  height: 1px;
  background-color: #979797;
  position: relative;
  bottom: 75px;
  margin: 0 0 0 3%;
}

.data-container{
  margin: 0 3%;
}

.line-two .label-bullet {
  height: 15px;
  width: 15px;
  min-width: 15px;
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legend-graph{
  margin-left:0!important;
  padding-left: 0 !important;
}

.co2 .icon-co2 .label-bullet {
  width: 8px; 
  height: 8px;
  min-width: 8px;      
} 

/* Mobile */
@media only screen and (max-width: 768px) {

  #legend-container > div:first-child {
    width: 60%;
    flex: 0 0 60%;
    display: inline-flex;
    margin: 0;
  }

  #legend-container > div:last-child {
    width: 40%;
    flex: 0 0 40%;
    display: inline-flex;
    text-align: right;
    margin: 0;
  }

  #legend-container > div:last-child > div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 25px;
  }

  #chart-legend {
    width: 100% !important;
  }

  #legend-container #chart-legend .graph-item {
    display: flex;
    justify-content: space-between;
  }

  /* Calendar */

  .co2 .max-border{
    display: none;
  }
}
