div.block-spotprices {
  width: 33%;
  margin: 2rem 1rem;
} 
div.block-spotprices .content {
  background-color: #f1f1f1;
  padding: 1rem;
  text-align: center;
} 

/* iframe layout */
#page.iframe .container {
    max-width: 100%;
    padding: 0;
}
#page.iframe #block-spotpricesvisualization-3 {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
#page.iframe #spot-chart-fine,
#page.iframe #futures-chart,
#page.iframe #chart {
    width: 100% !important;
    position: relative;
}
#page.iframe .reiterWrapper {
    margin-top: 0;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 48px;
  height: 28px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* vw24 custom*/
#block-spotpricesvisualization {
    text-align: center;
}
h3.spotchart {
  text-align: center;
}
h3.spotchart span.hint {
    font-size: 0.8em;
    font-weight: normal;
}
.switch-wrapper {
    display: inline-block;
}
.switch-label {
    display: inline-block;
    vertical-align: middle;
    padding: 0 0.5rem;
    font-size: 1.2em;
}
.switch-label.strom {
    color: #0A71B3;
    text-align: right;
}
.switch-wrapper.commodity .slider {
    background-color: #0A71B3;
}
.switch-label.gas {
    color: #F6B134;
}
.switch-wrapper.commodity input:checked + .slider {
    background-color: #F6B134;
}
.switch-label.gewerbe {
    text-align: right;
}
.switch-label.industrie {
}
.switch-wrapper.loadtype .slider,
.switch-wrapper.gasarea .slider,
.switch-wrapper.segment .slider {
    background-color: #96BD0D;
}

.spotprices-daily {
  display: flex;
  padding: 1rem;
  background: #fff;
}
.spotprices-daily hr {
  margin: 0;
} 

.spotprices-daily > div {
  flex-grow: 1;
  text-align: center;
}
.spotprices-daily > div > div {
  display: flex;
  justify-content: center;
}
.spotprices-daily > div > div > div {
  min-width: 100px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.toastui-chart-tooltip-container {
  top: -180px;
}
/* Form in backend */
#spotprice-form .form-item {
  display: inline-block;
}
#spotprice-form input[type="number"] {
  width: 5rem;
}
#spotprice-form fieldset:not(.fieldgroup) {
    margin: 0;
    padding: 0 1rem;
    border: 0;
}
#spotprice-form label {
  display: none;
}


#futures-power-form .form-item,
#futures-gas-form .form-item,
#spotprice-daily-form .form-item {
  display: inline-block;
  text-align: right;
  padding: 0 0 0 0.5rem;
}
#futures-power-form input[type="number"],
#futures-gas-form input[type="number"],
#spotprice-daily-form input[type="number"] {
  width: 5rem;
}
#futures-power-form fieldset:not(.fieldgroup),
#futures-gas-form fieldset:not(.fieldgroup),
#spotprice-daily-form fieldset:not(.fieldgroup) {
    margin: 0;
    padding: 0 1rem;
    border: 0;
    display: block;
    text-align: left;
}
#futureprices-daily {
    display: flex;
    padding: 1rem;
    background: #fff;
    flex-wrap: wrap;
}

#futureprices-daily > div {
  flex-grow: 1;
  text-align: center;
}
#futureprices-daily > div > div {
  display: flex;
  justify-content: center;
}
#futureprices-daily > div > div > div {
  min-width: 70px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
#futureprices-daily hr {
    margin: 0;
}

.average-header,
.average-label {
    white-space: nowrap;
    max-width: 50px;
    display: inline-block;
    font-size: 0.9em;
}
.average-sign {
    font-size: 1.1rem;
}

.reiterWrapper {
    text-align: left;
    width: 100%;
    margin-top: -2rem;
}
.reiterWrapper > span {
    display: inline-block;
    margin: 0.25rem;
    padding: 0.25rem 0.5rem;
    max-width: 30%;
    vertical-align: top;
    border-width: 1px 1px 0 1px;
    border-color: #999;
    border-style: solid;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    background: #f1f1f1;
}
.reiterWrapper > span.active {
    box-shadow: 2px -1px 2px #ccc;
    font-weight: bold;
    cursor: default;
}