/* Classes */
.box-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.box-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
}

    .box-row > calcite-input-number {
        flex-basis: 40%;
    }

    .box-row > calcite-select {
        margin: 0;
        flex-basis: 25%;
        flex-grow: 1;
    }

.buttonContainer {
    display: flex;
    gap: 10px;
}

    .buttonContainer > calcite-button {
        flex: 1;
        padding: 10px;
    }

.export-button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--calcite-ui-border-3);
    background-color: var(--calcite-ui-background);
}

    .export-button-container > span {
        font-size: 14px;
        color: var(--calcite-ui-text-2);
        font-weight: 500;
    }

    .export-button-container > calcite-button {
        --calcite-ui-icon-color: var(--calcite-ui-text-1);
    }

.fit-width {
    align-items: stretch;
}

.featureDetailsSelected {
    background-color: orangered;
}

.radiusRingConfigInput {
    gap: 0.5em;
}

.searchByShapeInput {
    gap: 0.5em;
    margin-bottom: 1em;
}

.waterLevelActive {
    --calcite-ui-icon-color: red !important;
}

.waterLevelInactive {
    --calcite-ui-icon-color: blue !important;
}


/* ID Based */
#attribute-table-collapse-button {
    width: 25px;
    position: absolute;
    cursor: pointer;
    z-index: 40;
    left: 49%;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 0px;
    border-style: solid;
    border-color: black;
    border-radius: 5px 5px 0px 0px;
    background-color: white;
    display: flex;
    justify-content: center;
}

#attribute-table-drag-bar {
    border: 1px solid;
    border-color: black;
    height: 8px;
    cursor: row-resize;
    position: relative;
}

#attribute-table-drag-bar-thumb {
    background: #9e9e9e;
    height: 1px;
    top: 2px;
    width: 19px;
    position: absolute;
    left: 49%;
}

#map-section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#drawShapes > div {
    display: block;
    text-align: center;
}

#bookmarks > calcite-input {
    flex-basis: 70%;
    flex-grow: 1;
}

#bookmarks > calcite-button {
    flex-basis: 30%;
    flex-grow: 2;
}

#find > div > calcite-button {
    flex-basis: 50%;
    flex-grow: 1;
}

#find > calcite-table {
    height: 20em;
    margin: 1em 0 1em 0;
}

#map-view-container {
    flex: 1;
}

#resizeable-attribute-table {
    flex: 0 0 auto;
}

#waterLevelWidget {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-align: center;
    color: #6e6e6e;
    background-color: #fff;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    display: flex;
    overflow: hidden;
}

  #waterLevelWidget:not([appearance]), #waterLevelWidget[appearance=solid] {
      --calcite-color-foreground-3: #fff;
  }

#boreWidgetButton {
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  color: #6e6e6e;
  background-color: #fff;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
}

  #boreWidgetButton #abButtonImg {
    margin-top: 0.3rem;
    width: 16px;
    height: 16px;
  }

#pointer-coordinates-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5em;
  background-color: rgba(255, 255, 255, 0.6);
  /* mimic calcite styling */
  border: 1px solid #007ac2; /* Calcite blue border */
  /* border-radius: 4px; */
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Avenir Next", Arial, sans-serif; /* Calcite font stack */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


.calcite-blue {
    color: #007ac2;
}

/* Element Based */
calcite-button {
    margin: 0.25em;
}

calcite-checkbox {
    margin: 0.2em;
    vertical-align: text-top;
}

calcite-select {
    margin-bottom: 1em;
}

calcite-input {
    vertical-align: middle;
}

calcite-navigation {
    --calcite-navigation-background-color: #3c8dbc;
}

calcite-navigation-logo {
    --calcite-navigation-logo-heading-text-color: white;
    --calcite-navigation-logo-text-color: white;
}

calcite-menu-item {
    --calcite-menu-background-color: #3c8dbc;
    --calcite-menu-text-color: white;
}

.aquifer-bore-grow-in {
    animation: growIn 0.3s ease-out;
}

calcite-list-item[selected] {
    --calcite-list-background-color: #d3d3d3;
}

@keyframes growIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/*ESRI CSS override */
.scalebar_bottom-left {
    bottom: 35px;
}
