.eco2mix-graph-container {
  width: 100%;
}

.main-container {
  flex-grow: 10;
  position: relative;
  margin-bottom: 25px;
}

.legend-container-top {
  padding-left: 3%;
  padding-right: 3%;
  margin-left: 50px !important;
  margin-right: 50px !important;
}

.legend-container-top > .line-one {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.legend-container-top > .line-two {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.legend-container-top > .line-two > .reset-filter {
  display: none;
  cursor: pointer;
  margin-right: 15px;
}

.legend-container-top > .line-two > .reset-filter.visible {
  display: flex;
}
.legend-container-top > .line-two > .reset-filter > img {
  margin-right: 15px;
}

.panel-left-container {
  width: 20%;

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

.legend-button {
  position: static;
  left: 0;
}

.panel-right-container {
  width: 20%;
  padding-top: 40px;
  min-width: 400px;
}

.data-container {
  display: flex;
  flex-flow: row;
  align-items: stretch;
  justify-content: stretch;
  border-top: 1px solid #979797;
}

#chartjs-tooltip {
  opacity: 1;
  position: absolute;
  background: rgb(25, 255, 0);
  color: white;
  -webkit-transition: all .1s ease;
  transition: all .1s ease;
  pointer-events: none;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  width: 1px;
  border: 3px solid rgb(25, 255, 0);
  height: 416px;
  bottom: 30px;
}

.graph-item{
  cursor: pointer;
}

#chart-legend {
  display: flex;
  justify-content: space-between;
}

#chart-legend .right-panel, #chart-legend .left-panel {
  display: flex;
}
.line-two .left-panel, .line-two .right-panel {
  align-items: flex-start;
}

.y-indicator {
  width: 78px;
  border-radius: 15px;
  height: 30px;
  top: 100%;
  right: -39px;
  position: absolute;
  color: black;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  padding: 15px 0;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  justify-content: center;
  background-color: rgb(25, 255, 0);
}

.arrow-plain-down {
  border-top: solid 21px rgb(25, 255, 0);
  border-left: solid 10.5px transparent;
  border-right: solid 10.5px transparent;
  display: inline-block;
  margin: 0 4px;
  left: -0.9em;
  position: absolute;
  top: -1em;
}

.arrow-ligth-left, .arrow-ligth-right {
  content: '';
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
}

.arrow-ligth-left {
  -moz-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.arrow-ligth-right {
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.label-container {
  opacity: 0.8;
  font-size: 14px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.29;
  letter-spacing: normal;
  color: #ffffff;
  font-family: 'NunitoSans';
}

/* value */
.value-container > div > div:first-child {
  font-family: NunitoSans;
  font-size: 22px
}

/* unit */
.value-container > div > div:last-child {
  font-family: NunitoSansSemiBold;
  font-size: 12px;
  line-height: 27px;
}

.max-border {
  position: absolute;
  border-top: 1px solid #979797;
  width: 100%;
  top: 26%;
}

.min-border {
  width: 100%;
  height: 1px;
  background-color: #979797;
  position: absolute;
  bottom: 1.2em;
}

.legend-data-label {
  height: 15px;
  opacity: 0.6;
  font-family: NunitoSans;
  font-size: 11px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  padding-top: 3px;
  padding-bottom: 40px;
}

.graph-day-button-container {
  bottom: -17px;
  width: 100%;
  height: 17px;
  position: absolute;
}
.graph-day-button {
  position: absolute;
  width: 9px;
  height: 17px;
  cursor: pointer;
}
.graph-previous-button {
  background-image: url("/themes/swi/images/arrow-previous.svg");
  left: 0;
}

.graph-next-button {
  background-image: url("/themes/swi/images/arrow-next.svg");
  right: 0;
}

.icon-energy, .icon-market {
  padding-top: 40px;
  padding-bottom: 15px;
  padding-right: 20px;
  border-bottom: 5px solid transparent;
  display:flex;
  flex-flow: column;
  cursor: pointer;
}

.icon-energy.visibility-increased, .icon-market.visibility-increased {
  border-bottom: 5px solid #979797;
}

.icon-energy.visibility-reduced, .icon-market.visibility-reduced {
  opacity: 0.2;
}

.badge-calendar-container {
  background: #00a6d9;
  margin: -0.2em -0.2em 0;
  display: flex !important;
  align-items: center;
  justify-content: space-around;
  height: 70px;
}

.badge-calendar {
  color: white;
  border : 1px solid white;
  font-size: 15px !important;
  padding: 10px 20px !important;
  cursor: pointer;
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 35px;
}

.badge-calendar img {
  margin-left: 10px;
  margin-right: 0;
}

.dropdown-toggle.badge-pill.badge-calendar {
  color: white;
  background: #00a6d9;
  border : 1px solid white;
  font-weight: 700;
  font-size: 15px !important;
}

.dropdown-toggle.badge-pill.badge-calendar:hover {
  color: white;
  background: #00a6d9;
  border : 1px solid white;
  font-weight: 700;
  font-size: 15px !important;
}

.dropdown-toggle.badge-pill.badge-calendar  a {
  color: white;
  background: #00a6d9;
  border : 1px solid white;
  font-weight: 700;
  font-size: 15px !important;
}


/* Global button */

.eco2mix-options-banner {
  background-color: #15252c;
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
}

.eco2mix-options-content {
  padding: 40px 100px;
}

.eco2mix-options-button {
  border-radius: 19.5px;
  background: none !important;
  background-color: rgba(0, 166, 217, 0.24) !important;
  padding: 9px 24px;
  font-family: NunitoSans;
  font-size: 14px;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #ffffff;
  display: inline-block !important;
  align-items: center;
  cursor: pointer !important;
  margin-right: 30px !important;
  margin-bottom: 30px !important;
  width: auto !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  float: none !important;
}

.eco2mix-options-button:hover {
  background-color: #15252C;
}

.eco2mix-options-button span {
  margin-right: 15px;
}


@media only screen and (max-width: 768px) {
  .legend-date input {
    font-size: 17px !important;
    width: calc(100% - 20px) !important;
  }
}

.calendar-legend.row > div {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 5px;
  width: calc(100% + 0.4em);
  margin-left: -0.2em !important;
}
.apply-button {
  margin-left: 0 !important;
}

.calendar-legend {
  margin: 10px 0 !important;
  justify-content : center;
}

.datepicker_red {
  color: #ff7555 !important;
}

.datepicker_green {
  color: #83c081 !important;;
}

.datepicker_blue {
  color: #0c3949 !important;;
}

.datepicker_label_container {
  width: 100%;
  height: 1px;
  border-top: 1px solid #ccd2d3;
  display: flex;
  justify-content: space-around;
  padding: 25px;
}
.bullet {
  display: inline-block;
  background: rgb(150,150,150);
  height: 10px !important;
  width: 10px!important;
  min-width: 10px !important;
  border-radius: 50%;
  margin-right: 10px;
  align-items: center;
  justify-content: center;
}

.bullet.datepicker_red {
  background: #ff7555 !important;
}

.bullet.datepicker_green {
  background: #83c081 !important;
}

.bullet.datepicker_blue {
  background: #0c3949 !important;
}

#ui-datepicker-div {
  z-index: 3 !important;
}
@media only screen and (max-width: 768px) {
  div#ui-datepicker-div {
    width: 91% !important;
    margin-left: 0;
  }

  .legend-date {
    width: 100%;
  }
}


@media only screen and (max-width: 768px) {
  .legend-container-top {
    padding-left: 3%;
    padding-right: 3%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .datepicker_label_container {
    justify-content: space-between;
    padding-left: 0;
    padding-right: 0;
    margin-top: 15px;
  }

  .datepicker_red {
    display: flex;
    justify-content: center;
    align-items: center;  }

  .datepicker_green {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .datepicker_blue {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .eco2mix-options-content {
    padding: 40px 3%;
  }
}
