.energy-management-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.energy-management-summary-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
}

.energy-management-summary-pie-container {
  display: flex;
  gap: 20px;
}

.energy-management-summary-table {
  flex: 1;
}

.energy-management-summary-pie {
  display: flex;
  flex-direction: column;
  padding: 0.5em;
  height: 320px;
  min-width: 350px;
}

.end-table-cell {
  border-bottom: none!important;
}

.energy-management-summary-pie-chart {
  position: relative;
  width: 100%;
  flex: 1;
}

.energy-summary-title-center {
  position: absolute;
  top: 120px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.energy-summary-compare-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}

.energy-management-chart-sector-one {
  display: flex;
  padding: 0.5em;
  flex-direction: column;
  width: calc(100% - 350px);
  overflow-x: auto;
}

.energy-management-chart-sector-two {
  display: flex;
  padding: 0.5em;
  flex-direction: column;
  width: calc(100% - 440px);
  overflow-x: auto;
}

.energy-management-chart-sector-content {
  height: 100%;
  width: 100%;
  min-width: 925px;
}

.energy-management-chart-summary-sector-one {
  display: flex;
  flex-direction: column;
  width: 350px;
}

.energy-management-chart-summary-sector-two {
  display: flex;
  flex-direction: column;
  width: 440px;
}

.ranking-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;
  width: 400px;
}

.ranking-chart {
  flex: 1;
}

.ranking-modal-content {
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left:  50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  padding: 20px;
}

.energy-management-table-value {
  flex: 1;
  margin-right: 5px !important;
}

.non-border-table-cell {
  border: none !important;
}

.base-line-modal-container {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.base-line-modal-content {
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.group-select-modal-content {
  width: 70%;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.tooltip-content {
  padding: 10px;
  border-radius: 3px;
  background-color: #323232;
}

.base-line-close-icon {
  position: absolute !important;
  right: 20px;
  top: 15px;
}

.target-modal-container {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.target-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  min-width: 600px;
  max-height: 95%;
  overflow-y: auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.baseline-target-content {
  max-height: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: scroll;
  width: 100%;
}

.target-input > .MuiInputBase-root {
  border-radius: 0px;
  width: 62px;
  padding: 10px;
  margin-bottom: -1px;
}

.target-table-first-cell {
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.7)!important;
}

.target-table-cell {
  border-bottom: none!important;
}

.base-line-target-chart {
  width: 100%;
  height: 300px;
}


@media screen and (max-width: 1300px) {
  .energy-management-summary-container {
    flex-direction: column;
  }
  .energy-summary-compare-container {
    flex-direction: row;
  }
  .energy-management-chart-sector {
    width: 100%;
  }
  .energy-management-chart-summary-sector {
    width: 100%;
  }
}