body {
    margin: 0;
    overflow: hidden;
}

#scene-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: indianred;
}

.time {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 20px;
    font-size: 2rem;
    color: white;
}

canvas {
    display: block;
    height: 100%;
}

html {
    /*
  min-width: 1920px;
  min-height: 1080px;
  */
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#splash_screen {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: #9dd84b;
    z-index: 100001;
    position: absolute;
    transition-duration: 1s;
}

#debugLog {
    position: absolute;
    width: 98%;
    height: 200px;
    overflow-y: scroll;
    background-color: aliceblue;
    left: 20px;
    bottom: 20px;
    opacity: 0.6;
    z-index: 1111;
}

.dash1 {
    position: absolute;
    left: 20px;
    top: 60px;
    z-index: 999;
    width: 600px;
    height: 330px;
    /* background-color: #3498db; */
    /* border: 1px solid white; */
    background-color: rgba(50, 50, 50, 0.7);
    /* opacity: 0.7; */
    border-radius: 20px;
}

/* #scene-container {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
} */

.label {
    font-size: 14px;
    color: #fff;
    font-family: sans-serif;
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid white;
    border-radius: 20px;
}

/* loading spinner */

/* div {
    display: block;
    float: left;
} */

/* 현재출력 등*/

div.content_block {
    margin-left: 10px;
    width: calc(100% - 20px);
    color: #fff;
    text-align: center;
}

/* 인버터 이하 페이지 제목 */

.highcharts-background {
    fill: rgb(50, 50, 50);
    opacity: 0;
}

div.graph {
    
    width: 170px;
    float: left;
}

div.mainItem {
    float: left;
    width: calc(100% - 4px);
    padding: 1px;
    /* background: #003f83; */
    border-radius: 10px;

    margin-top: 10px;
}

div.mainItem span {
    width: 100%;
    text-align: center;
    /* margin-top: 5px;
    margin-left: 10px;
    margin-bottom: 5px; */
    font-size: 16pt;
    font-weight: bold;
    color: #ffffff;
    float: left;
}

div.main_chart {
    float: left;
    height: 300px;
    margin-top: 20px;
}

div.mainInverter {
    margin-top: 20px;
}

div.item {
    float: left;
    width: 180px;
    height: 283px;
    padding-left: 10px;
}

div.value2 {
    width: 55%;
    display: inline-block;
    text-align: right;
}

div.unit {
    width: 30%;
    display: inline-block;
    text-align: left;
}

/* 메인화면 차트 안쪽 */

div.chartDesign,
div.origin {
    font-size: 17px;
    width: 150px;
    margin-left: 70px;
}

span.chart_value {
    width: 60%;
    display: inline-block;
    text-align: right;
    font-size: 14px;
    color: #ffffff;
}

span.chart_unit {
    width: 30%;
    display: inline-block;
    font-size: 12px;
    color: #ffffff;
}

div.origin {
    margin-top: 5px;
}

footer {
    width: 100%;
    height: 90px;
    float: left;
    background: #2f323a;
    display: block;
    color: #ffffff;
    text-align: center;
}

footer span {
    width: 100%;
    margin-top: 30px;
    text-align: center;
    float: left;
}

div.clock {
    display: block;
    position: absolute;
    left: 100px;
    top: 5px;
}

span.ymd {
    font-size: 1.5rem;
    color: #146ab4;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}

span.hms {
    font-size: 1.5rem;
    margin-left: 10px;
    text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
}

/* echo sensor */

div.echosensor {
    display: block;
    float: left;
}

#dl_state dt,
dd {
    font-size: 15pt;
    float: left;
    padding: 0px;
    margin: 0px;
}

#dl_state dt {
    font-size: 13pt;
    background: #7a7a79;
    padding: 10px 10px;
    margin-right: 20px;
    border-radius: 5px;
}

#dl_state dd {
    margin-right: 10px;
    color: #ffffff;
    background: #ffffff;
    display: block;
}

#dl_state dd .val {
    float: left;
    margin-left: 40px;
    margin-top: 10px;
}

#dl_state dd .unit {
    font-size: 13pt;
    float: left;
    margin-left: 5px;
    margin-top: 10px;
}

#dl_state .dd_state1 {
    height: 39px;
    background: url('../images/icon1_1.png') no-repeat;
    display: block;
}

#dl_state .dd_state2 {
    height: 39px;
    background: url('../images/icon1_2.png') no-repeat;
    display: block;
}

.b {
    /* display: block; */
    position: relative;
    float: right;
    width: 200px;
    padding: 0;
    margin: 10px 20px 10px 0;
    font-weight: 600;
    text-align: center;
    line-height: 50px;
    color: #fff;
    border-radius: 5px;
    transition: all 0.2s;
}

.btnFloat {
    background: none;
    color: #ffffff;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.5);
}

.btnFloat:before {
    content: 'TEST?';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 50px;
    border-radius: 5px;
    transition: all 0.2s;
}

.btnBlueGreen.btnFloat:before {
    background: #00ae68;
}

.btnLightBlue.btnFloat:before {
    background: #5dc8cd;
}

.btnOrange.btnFloat:before {
    background: #ffaa40;
}

.btnPurple.btnFloat:before {
    background: #8d336a;
}

.btnFloat:before {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.4);
}

.btnFloat:hover:before {
}

.btnFloat:hover:before {
    margin-top: -2px;
    margin-left: 0px;
    transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
    box-shadow: 0px 5px 5px -2px rgba(0, 0, 0, 0.25);
}

body {
    margin: 0;
    overflow: hidden;
}

#scene-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: indianred;
}

.time {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 20px;
    font-size: 2rem;
    color: white;
}

#button {
    position: fixed;
    bottom: 16px;
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    margin-bottom: 0px;
    background-color: #fff;
    opacity: 0.9;
    z-index: 999;
    box-shadow: 0 0 4px rgb(0 0 0 / 15%);
}

/* leagcy start */
body {
    margin: 0;
    overflow: hidden;
}

#scene-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: indianred;
}

.time {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    position: absolute;
    right: 0px;
    bottom: 0px;
    padding: 20px;
    font-size: 2rem;
    color: white;
}

#simpleView {
    position: absolute;
    top: 400px;
    left: 25px;
    z-index: 999;
    width: 200px;
    height: 40px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    opacity: 0.89;
}

#keti_optimizer_btn {
    position: absolute;
    top: 450px;
    left: 25px;
    z-index: 999;
    width: 200px;
    height: 40px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    opacity: 0.89;
}

#ieum_arc_btn {
    position: absolute;
    top: 500px;
    left: 25px;
    z-index: 999;
    width: 200px;
    height: 40px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    opacity: 0.89;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2000;
  }

  .modal-content {
    position: relative;
    width: 70%;
    max-width: 500px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  .modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .modal-close {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    cursor: pointer;
    color: #666;
    background-color: #f9f9f9;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  }

  /* Table CSS */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    margin-bottom: 50px; /* 버튼과의 간격을 늘리기 위해 여백 추가 */
  }

  th,
  td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
  }

  th {
    background-color: #f2f2f2;
    font-weight: bold;
  }

  tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  tr:hover {
    background-color: #f5f5f5;
  }

  .arc_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2000;
  }

  .arc_modal-content {
    position: relative;
    width: 100%; /* 가로 길이를 조정해보세요. */
    max-width: 1800px; /* 최대 가로 폭 설정 */
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  .arc_modal-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .arc_modal-close {
    display: block; /* 버튼을 블록 요소로 변경하여 가운데 정렬 적용 */
    margin: 0 auto; /* 수평 가운데 정렬 */
    font-size: 18px;
    cursor: pointer;
    color: #666;
    background-color: #f9f9f9;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  }

  /* Table CSS */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    margin-bottom: 50px; /* 버튼과의 간격을 늘리기 위해 여백 추가 */
  }

  th,
  td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
  }

  th {
    background-color: #f2f2f2;
    font-weight: bold;
  }

  thead tr {
    background-color: #f2f2f2; /* thead 행의 배경색 지정 */
  }

  tr:nth-child(even) {
    background-color: #f9f9f9;
  }

  tr:hover {
    background-color: #f5f5f5;
  }

.lil-gui > * {
    /* background-color: red; */
    font-size: 0.9rem;

}
