﻿/* NORMAL GRID */
.grid-container {
  display: grid;
  /*grid-template-columns: 1fr 1fr 1fr;*/
  grid-template-columns: repeat(1, 1fr);
  /*grid-template-columns: 1fr 4fr 2fr;*/
  /*grid-template-rows: minmax(100px, auto) 100px 400px;*/
  grid-auto-rows: minmax(100px, auto);
  grid-gap: 1rem;
  align-items: stretch;
  /*align-items: start;*/
  justify-items: stretch;
  /*justify-items: start;*/ }

.not-openable {
  cursor: default !important; }

.grid-container > div {
  padding: 1rem;
  height: 200px;
  background-color: #d5d5d5;
  overflow: hidden;
  padding: 0.5rem !important;
  border-radius: 6px;
  /*    border-top: 6px solid lightgray;
    border-bottom: 6px solid lightgray;*/ }

.grid-item-full-body {
  height: 100%;
  width: 100%;
  background-color: white;
  overflow: hidden; }

.grid-container > div:hover {
  background-color: #c2e2d4;
  /*background-color: #b6ff00;*/ }

.grid-container > div:nth-child(odd) {
  /*background-color: lightblue;*/ }

@media only screen and (min-width: 600px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); } }

@media only screen and (min-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr); } }

@media only screen and (min-width: 1200px) {
  .grid-container {
    grid-template-columns: repeat(4, 1fr); } }

@media only screen and (min-width: 1500px) {
  .grid-container {
    grid-template-columns: repeat(5, 1fr); } }

@media only screen and (min-width: 1800px) {
  .grid-container {
    grid-template-columns: repeat(6, 1fr); } }

@media only screen and (min-width: 2100px) {
  .grid-container {
    grid-template-columns: repeat(7, 1fr); } }

@media only screen and (min-width: 2400px) {
  .grid-container {
    grid-template-columns: repeat(8, 1fr); } }

/* BIG GRID */
.grid-container-big {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: minmax(100px, auto);
  grid-gap: 1rem;
  align-items: stretch;
  justify-items: stretch; }

.grid-container-big > div {
  padding: 1rem;
  height: 300px;
  background-color: #d5d5d5;
  overflow: hidden;
  padding: 0.5rem !important;
  border-radius: 6px; }

.grid-container-big > div:hover {
  background-color: #c2e2d4; }

.grid-container-big > .grid-item-full-body > .white-chart-background {
  background: white;
  height: 284px;
  border-radius: 6px;
  padding: 10px;
  position: relative; }

.chart-title {
  position: absolute;
  left: 10px;
  top: 6px; }

.latest-value {
  position: absolute;
  right: 10px;
  top: 6px;
  z-index: 1000 !important; }

.grid-container-big > .grid-item-full-body > .white-chart-background > .rz-chart {
  height: 280px !important; }

@media only screen and (min-width: 1400px) {
  .grid-container-big {
    grid-template-columns: repeat(2, 1fr); } }

@media only screen and (min-width: 2000px) {
  .grid-container-big {
    grid-template-columns: repeat(3, 1fr); } }

.minimized-container {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer; }

.minimized-header {
  position: absolute;
  top: 0;
  height: 29px;
  width: 100%;
  color: white;
  padding: 4px 4px 4px 8px;
  border-radius: 6px 6px 0 0;
  line-height: 20px;
  background-color: #424242 !important;
  font-size: 12px;
  font-weight: bold; }

.minimized-body {
  position: absolute;
  top: 29px;
  bottom: 39px;
  height: 116px;
  width: 100%;
  background-color: white;
  padding: 4px 4px 4px 8px;
  font-size: 12px;
  overflow-y: auto; }

.minimized-body-no-footer {
  position: absolute;
  top: 29px;
  bottom: 0;
  height: 153px;
  width: 100%;
  background-color: white;
  padding: 4px 4px 4px 8px;
  border-radius: 0 0 6px 6px;
  font-size: 12px;
  overflow-y: auto; }

.minimized-body > hr, .minimized-body-no-footer > hr {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1); }

.minimized-footer {
  position: absolute;
  bottom: 0;
  height: 39px;
  width: 100%;
  color: white;
  padding: 4px;
  border-radius: 0 0 6px 6px;
  line-height: 30px;
  background-color: #424242;
  padding: 4px 4px 4px 8px;
  font-size: 12px; }

.fact-headline {
  color: #651919;
  font-size: 12px; }

.fact-text {
  color: black;
  font-size: 12px; }
