.paragraph-eco2mix {
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
}

.paragraph-eco2mix .container-fluid {
  padding: 0 !important;
}

.paragraph-eco2mix.default .title-read-more {
  display: none;
}

.paragraph-eco2mix .container-visual-xl {
  width: inherit !important;
  position: inherit !important;
  left: inherit !important;
}

.badge-calendar-container  a.dropdown-item {
  color: #333333 !important;
}

.ui-state-active-period-td-normal, .ui-state-active-period-td-start, .ui-state-active-period-td-end, .ui-state-active-period-td-monday, .ui-state-active-period-td-sunday {
  background: #00ceff !important;
}

.ui-state-active-period-td-start, .ui-state-active-period-td-monday {
  border-radius: 50% 0 0 50%;
}

.ui-state-active-period-td-end, .ui-state-active-period-td-sunday {
  border-radius: 0 50% 50% 0;
}

.ui-state-active-period-td-normal a {
  background: #00ceff !important;
  font-weight: normal;
  color: #ffffff !important;
  text-align: center;
  border: none !important;
}

.ui-state-active-period-td-start a, .ui-state-active-period-td-monday a, .ui-state-active-period-td-end a, .ui-state-active-period-td-sunday a {
  background: transparent !important;
  font-weight: normal;
  color: #ffffff !important;
  text-align: center;
  border: none !important;
}

.ui-state-active-period-td-start a, .ui-state-active-period-td-end a {
  border: solid 2px #0c3949 !important;
  border-radius: 50%;
}

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


.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%;
  margin-bottom: 10px;
  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;
}

/* Tooltip label */
[role=tooltip] {
  top: 40px !important;
}

[role=tooltip] .arrow::before {
  border-top-color: #065D78 !important;

}

.tooltip-inner {
  border-radius: 40px !important;
  background-color: #065D78 !important;

}

[role=tooltip] .tooltip-container {
  display: flex;
  justify-content: space-around;
  width: 100px !important;
  vertical-align:middle;
}

[role=tooltip] .tooltip-container img {
  width: 45px;
  height: 40px;
  padding: 10px 7px;
  vertical-align: middle;
  z-index:50;
}
[role=tooltip] .tooltip-container span{
  vertical-align:middle;
  padding-top:10px;
  padding-right:5px;
}
[role=tooltip] .tooltip-container .vertical-pipe{
  font-size: 20px;
  padding-top: 0;
  padding-right:0;
}



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

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

.legend-button {
  position: static;
  left: 0;
  margin-top: 19px;
  z-index: 1;
}

.legend-button .min-button {
  margin-right: 2em;
}

.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;
  pointer-events: none;
  transform: translate(-50%, 0);
  width: 1px;
  border: 3px solid rgb(25, 255, 0);
  height: 416px;
  bottom: 30px;
  transition:width 0.1s;
  -moz-transition:width 0.1s; /* Firefox*/
  -webkit-transition:width 0.1s; /* Safari and Chrome */
  -o-transition:width 0.1s; /* Opera */
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}

.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
}

.value-container .render-value .value .value-label {
  font-size: 22px;
  font-family: NunitoSansSemiBold;
}

/* unit */
.value-container .unit {
  font-family: NunitoSansSemiBold;
  font-size: 12px;
  line-height: 100% !important;
  margin-bottom: 2px;
  align-self: flex-end;
}

.vignette .value-container .unit {
  margin-bottom: 0;
}

.value-container .value-label,
.value-container .national-value,
.value-container .region-value {
  line-height: 100% !important;
  align-self: flex-end;
}

.value-container .national-value{
  margin-bottom: 2px;
}



.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;
  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{
  padding-top: 40px;
  padding-bottom: 15px;
  padding-right: 20px;
  border-bottom: 5px solid transparent;
  display:flex;
  flex-flow: column;
  cursor: pointer;
  height: fit-content;
}

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

.icon.visibility-reduced {
  opacity: 0.2;
}

.badge-calendar-container {
  background: #00a6d9;
  margin: -0.2em -0.2em 0;
  display: flex;
  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;
  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;
  left: calc(-50vw + 50%);
  position :relative;
}

.eco2mix-options-banner.activated-button {
  position: unset !important;
}

.eco2mix-options-content {
  padding: 30px 100px 0 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;
  text-align: center;
}

.eco2mix-options-button:hover,
.eco2mix-options-button.active {
  background-color: #00ceff !important;
}

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

.eco2mix-options-button a:hover {
  text-decoration: none !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;
  flex-direction: column;
  align-items: center;
}

.ui-datepicker .spinner-border  {
  display: none;
  height: 15px;
  width: 15px !important;
  flex: unset !important;
  color: #00ceff;
  margin-left: 15px !important;
  margin-top: 15px !important;
}

.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;
}


/* Update Header css on desktop */
.container-visual-xl .legend-graph .icon .value-container .render-value{
  display: flex;
  align-items: flex-end;
}

.container-visual-xl .legend-graph .icon .value-container .render-value .value{
  font-size: 25px;
}

.container-visual-xl .legend-graph .icon .value-container .render-value .unit{
  line-height: 20px;
}

.container-visual-xl .legend-graph .icon .item-container{
  display:flex;
  align-items:center;
  padding-bottom: 7px;
}

.container-visual-xl .value-container > div > div:first-child {
  font-weight: bold;
  display: flex;
  align-items: flex-end;
}

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


/* Compare mode */
.container-visual-xl.compare-display .eco2mix-graph-container {
  width: 50%;
}

.container-visual-xl.compare-display .tooltip {
    top: 22px !important;
}

.container-visual-xl.compare-display .tooltip-container {
  height: 20px !important;
}

.container-visual-xl.compare-display .tooltip-container .vertical-pipe {
  font-size: 14px;
  padding: 0;
}

.container-visual-xl.compare-display .tooltip-container img {
    height: 20px !important;
    width: 30px;
    padding: 3px;
}

.container-visual-xl.compare-display .tooltip-container span {
  padding: 3px;
}

.container-visual-xl.compare-display .legend-container-top {
  padding-left: 3%;
  padding-right: 3%;
  margin: 0 !important;
}

.container-visual-xl.compare-display .icon {
  padding-top: 30px;
  padding-right: 10px;
}

.container-visual-xl.compare-display .value-container > div > div:first-child {
  font-style: 17px;
}

.container-visual-xl.compare-display .value-container > div > div > div:last-child {
  font-style: 10px;
  line-height: 20px;
}

.container-visual-xl.compare-display .label-bullet {
  height: 20px;
  width: 20px;
  min-width: 20px;
}

.container-visual-xl.compare-display .legend-container-top .legend-button {
    padding: 0 !important;
}

.container-visual-xl.compare-display .legend-container-top .legend-button a.min-button {
  margin-right: 0;
}
.container-visual-xl.compare-display .legend-container-top > .line-one{
  margin-bottom: 20px;
}

.container-visual-xl.compare-display .data-container {
  flex-direction: row;
  flex-wrap: wrap;
}

.container-visual-xl.compare-display .legend-graph .icon .value-container .render-value .value{
  font-size: 15px;
}

.container-visual-xl.compare-display .legend-graph .icon .value-container .render-value .unit {
  font-size: 10px;
  line-height: 100% !important;
}

.container-visual-xl.compare-display .legend-graph .icon .label-container {
  font-size: 13px;
}

.container-visual-xl.compare-display .legend-graph .icon .label-bullet {
  height: 10px;
  width: 10px;
  min-width: 10px;
  margin-right: 5px;
}

.container-visual-xl.compare-display .panel-right-container {
  margin-left: 0 !important;
  padding-left: 0 !important;
  margin: auto !important;
}

.paragraph-eco2mix .compare-button.active {
  position: absolute;
  top: -43px;
  right: 20px;
  margin: 0 !important;
}

@media only screen and (max-width: 1024px) {
  .eco2mix-options-content .synthese-button {
    display: none;
  }
}


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

  .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;
    flex-direction: column;
  }

  .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%;
  }

  div#ui-datepicker-div {
    width: 91% !important;
    margin-left: 0;
    top: 20% !important;
  }

  .legend-date {
    width: 100%;
  }

  .chart-legend .left-panel {
    flex-direction: column;
    width: 100%;
  }

  .chart-legend .left-panel .icon {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
}



/*region : loader*/
#eco2mix-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%);
  z-index: 1;
}
.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;

}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*endregion*/
