.col{
  display: flex;
  flex-direction: column;
  height: 100%;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.5rem;
  text-align: center;
  border: 1px solid white;
  box-sizing: border-box;
  position: absolute;
}
.middle {
  display: flex;
  flex-direction: column;
  width: 43%;
  background-color: #64b5f6;
  align-items: flex-start;
  justify-content: flex-start;
  left: 27%;
}
.mapDiv {
  height: 100%;
}
.mapDiv66 {
  height: 60%;
}
.middle100 {
  width: 100%;
}
.middle0 {
  width: 0%;
}
.middle50 {
  width: 50%;
}
.right {
  width: 30%;
  height: 100%;;
  display: flex;
  flex-direction: column;
  border: none;
  padding: 10px 0;
  overflow: hidden;
  right: 0;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.15);
}
#rightTopChart{
  display: flex;
  flex-direction: column; 
  width: 100%;
  height: 47%;
}
#rightMiddleChart{
  display: flex;
  flex-direction: column; 
  height: 47%;
}


#rightTopChart2, #rightMiddleChart2, #rightBottomChart2{
  height: 33%;
  width: 100%;
}
.layout-expanded .middle {
  display: flex;
  flex-direction: row;
  width: 48%;
}
.layout-expanded .middle .map-col {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.layout-expanded .middle .map-col #mapDiv {
  height: 66%;
}
.layout-expanded .middle .map-col .map-bottom {
  height: 34%;
  background-color: #aedff2;
  border-top: 2px solid white;
}
.layout-expanded .middle .info-col {
  width: 50%;
  background-color: #cfe8fc;
  border-left: 2px solid white;
}
.indicator-table {
  width: 100%;
  border-collapse: separate;
  color: #757070;;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
}
.indicator-table thead {
  background-color: rgba(0, 0, 0, 0.3);
  font-weight: bold;
}
.indicator-table tr:nth-child(odd) {
  background-color: #ffffff;
}
.indicator-table tr:nth-child(even) {
  background-color: #f2f2f2; /* világosszürke */
}
.indicator-table td, .indicator-table th {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.indicator-name {
  text-align: left;
}
.indicator-value-1 {
  text-align: center;
}
.indicator-value-2 {
  text-align: center;
}
.indicator-scroll {
  overflow-y: auto;
  height: 100%;
  padding-right: 4px;
  box-sizing: border-box;
  scrollbar-width: thin;
  margin-bottom: 5px;
}
#settlement1 {
  background-color: #f79287;
}
#settlement2 {
  background-color: #89CFF0;
}


#selectLineChartIndicator {
  flex: 0 0 auto;          /* fix magasságú, nem nyúlik */
  display: flex;
  padding: 10px 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
#selectLineChartIndicator select {
  border-radius: 5px;
  border: 1px solid #919191;
  margin-bottom: 0 !important;
  color: #9A9A9A;
  font-size: 14px;
  height: 100%;
}

#lineChartWrap {
    flex: 1 1 auto;          /* rugalmasan nő, hogy kitöltse a fennmaradó helyet */
}

#lineChart {
    height: 100%;      /* opcionális, hogy nagyon kicsire ne csökkenjen */
}

#legendLineChart {
    flex: 0 0 auto;          /* fix magasság, ne nyúljanak túl a diagramon */
    margin-top: 0 !important;
    display: flex;
    flex-wrap: wrap;         /* ha sok elem, többsoros legend */
    justify-content: center;
    gap: 6px;
    font-family: sans-serif;
    font-size: 11px;
    overflow-y: auto;        /* scroll, ha a legend tényleg túl magas */
}

#selectColumnChartIndicator, #selectColumnChartYear {
    flex: 0 0 auto;          /* fix magasságú, nem nyúlik */
    display: flex;
    gap: 10px;
    padding: 10px 20px;
}

#selectColumnChartIndicator select {
  border-radius: 5px;
  border: 1px solid #919191;
  margin-bottom: 0 !important;
  color: #9A9A9A;
  font-size: 14px;
}

#selectColumnChartIndicator select:nth-of-type(2) {
  width: 30% !important;
}

#columnChart {
    flex: 1 1 auto;          /* rugalmasan nő, hogy kitöltse a fennmaradó helyet */
    min-height: 150px;       /* opcionális, hogy nagyon kicsire ne csökkenjen */
    border-bottom: 1px solid #919191;
}

#yearSelect select {
  border-radius: 5px;
  border: 1px solid #919191;
  margin-bottom: 0 !important;
  color: #9A9A9A;
  font-size: 14px;
  display: flex;
  width: 25% !important;
  margin-left: 20px;
}

.indicator-scroll {
    max-height: 100%;
    overflow-y: auto;
    display: block;
}

/* fix header */
.indicator-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
}

/* hogy ne csússzon szét */
.indicator-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.indicator-table td:nth-child(2),
#settlement1 {
    border-left: 3px solid #f79287;
}

.indicator-table td:nth-child(3),
#settlement2 {
    border-left: 3px solid #89CFF0;
}