html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: "Noto Sans KR", sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

br {
    line-height: 130%;
}

hr {
    margin: 5px 0;
    border: 0;
    border-top: 1px solid rgba(0, 121, 193, 0.8);
    text-align: center;
}

.esri-widget {
    font-family: "Noto Sans KR", sans-serif !important;
}

.esri-button {
    margin: 10px;
}

div {
    user-select: none;
}

.shepherd-theme-arrows {
    margin: 10px;
}

#viewDiv {
    height: 100%;
    width: 100%;
    float: left;
}

.esri-ui-inner-container {
    inset: 0 !important;
}

.esri-ui-top-right {
    width: 300px;
    height: auto;
}

.esri-ui-bottom-left {
    left: 100px;
    margin-bottom: 1em;
    margin-left: 1em;
}


.active-widget {
    color: white;
    background-color: rgb(0,121,193);
}

#measurementBar {
    display: none;
    background: #fff;
    padding: 10px;
}

.active-measurement {
    color: white !important;
    background-color: rgb(0,121,193) !important;
}

.action-button {
    font-size: 16px;
    background-color: transparent;
    border: 1px solid #d3d3d3;
    color: #6e6e6e;
    height: 32px;
    width: 32px;
    text-align: center;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.action-button:hover, .action-button:focus {
    background: #0079c1;
    color: #e4e4e4;
}

.esri-slider {
    height: 25px; /* 또는 적절한 높이 값, 예: 30px */
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0);
    padding: 2em;
}

/* 기본 팝업 위치 조정 */
.esri-popup {
    top: 0px !important;
    left: 100px !important;
    width: 250px !important;
    height: auto !important;
}

/* 팝업 css 조정 */
/* .esri-popup__main-container {
    width: 300px !important;
    height: auto; 150 넘어가면 아래에 버튼 생기니까 주의 */
    /* border-radius: 1px;
} */

#layerList, #maptoolsList {
    border: 2px solid rgb(0,0,0);
    cursor: Default;
}

.sidebar-item {
    margin: 0;
    width: 100px;
    height: 10%; 
    text-align: center;
    padding: 1em;
    cursor: pointer;
    margin-bottom: 0px !important;
    border-color: rgba(0, 0, 0, 0.5);
}

#sidebar-left-description {
    display: none;
    left: 110px;
    top: 1em;
    width: 400px;
    font-size: 14px;
    padding: 10px;
    overflow-x: hidden;
    background-color: rgba(255,255,255, 0.7);
    border-radius: 10px;
    text-indent: 5px;
}

#thumbnailImage {
    margin: 0;
}

#imageryAnalysisButton {
    margin-top: 10px !important;
    border: 2px solid rgb(0,0,0);
    cursor: pointer;
}

#maptoolsList {
    margin-top: 10px !important;
}

#sidebar-right {
    width: 750px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.8);
}

#sidebar-left {
    width: 100px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

.expandableItem {
    display: inline-block;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    font-size: 12px;
    padding: 0.8em;
}

#userGuideButton {
    bottom: 0;
    margin: 0 0 1em 0;
    width: 100px;
    height: 5%; 
    text-align: center;
    padding: 1em;
    cursor: pointer;
    border: 2px solid rgb(0,0,0);
    border-color: rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 1px rgba(0, 0, 0, 0.3);
}

#spatialQueryDiv {
    display: none;
    width: 250px;
    height: 230px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
}

#queryHandler {
    display: flex;
}

#queryHandler button {
    margin: 2px;
}

#resetQueryButton, #doQueryButton, #exportCSVTable {
    margin: 5px;
}

#clearGeometry {
    width: 75px;
}

.sidebar-item-right {
    display: none;
    min-width: 750px;
    font-size: 14px;
    overflow-x: hidden;
    background-color: rgba(255,255,255, 0.7);
}

.divDescription {
    padding: 10px;
    font-size: 14px;
    width: 100%;
    text-align: center;
    align-items: center;
    background-color: rgba(255,255,255, 0.7);
}

#analysisMenu {
    display: none;
    justify-content: space-evenly;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
}

#queryResultButton, #attributeQueryButton, #simulateButton {
    flex: 1;
}

#simulationMenu {
    display: none;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
}

.analysisItem {
    text-align: center;
    flex: 1;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
}

#fellingMenu, #afforestationMenu {
    flex-basis: 45%;
}

#resetSimulation {
    flex-basis: 10%;
}

.analysisItem:hover {
    background-color: rgb(0,121,193); /* 호버 효과 */
    color: rgb(255,255,255);
}

/* 속성 쿼리 지점 select, input {
    border: 1px solid rgb(0,121,193);  
}

input {
    width: 50px;
} */

#typeQueryDiv, #expressionDiv, #felling_typeQueryDiv, #felling_expressionDiv, #afforestationType {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0;
    padding: 0;
}

#attributeQueryDiv {
    padding: 0;
}

.typeItem {
    margin: 0 40 20;
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid #ededed;
}

.expressionItem {
    flex: 1;
    text-align: right;
    flex-basis: 33.3%;
    padding: 10px;
    margin: 10px;
    border: 1px solid #ddd;
}

input, select {
    height: 40px;
    text-align: right;
    border: 0;
    border-radius: 8px;
    outline: none;
    padding: 10px;
    background-color: rgb(233, 233, 233);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#outTableDiv {
    height: 400px;
}

.table-div {
    display: none;
    border: none;
    width: 100%;
    height: auto;
}

.outTable {
    width: 100%;
    height: 100%;
    table-layout: fixed;
}

.outTable th, .outTable td {
    font-size: 13px;
    font-weight: normal;
    text-overflow: ellipsis;
    padding: 5px;
}

.outTable thead tr:first-child {
    border-top: none;
    background: #007ac1a6;
    color: #fff;
}

.outTable tr {
    width: 100%;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #f5f9fc;
}

.outTable tr:nth-child(odd) {
    background-color: #ebf3f9;
}

.outTable td {
    text-align: right;
}

.cost-div {
    flex: 1;
    width: 100%;
    height: auto;
    text-align: right;
    padding: 10px;
    font-size: 16px;
}

.cost-value {
    color: #0079c1;
    font-weight: bold;
}

.geometry-options {
    display: flex;
    flex-direction: row;
}

.geometry-button {
    flex: 1;
    border-style: solid;
    border-width: 1px;
    border-image: none;
}
.geometry-button-selected {
    background:#4c4c4c;
    color: #fff;
}

#bufferNum {
    width: 90%;
    margin: 0 auto 0;
}

.count {
    white-space: nowrap;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}
/* 파노라마 뷰어 버튼 스타일 */
.custom-toggle-button, .pano-toggle-button {
    background-color: #ffffff;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 2em;
    cursor: pointer;
    text-align: center;
    margin: 0.5em;
}

/* 파노라마 뷰어 스타일 */
#panoramaDiv {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: #333;
    z-index: 9999;
    padding-top: 2em;
    float: left;
}

#panoramaViewer {
    width: 100%;
    height: 90%;
}

#noImageMessage, #loadingMessage {
    color: #fff;
    text-align: center;
    font-size: 1.5em;
    margin-top: 2em;
}

#closeButton {
    position: absolute;
    top: 1em;
    right: 1em;
    background-color: #fff;
    padding: 0.5em 1em;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10000;
}

/* 화살표 버튼 스타일 */
.arrow-button {
    position: absolute;
    top: 50%;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
    padding: 0.5em;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}

#leftArrow { left: 1em;}
#rightArrow { right: 1em;}