html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 80%;
  width: 100%;
  background: #0061AA;
}

#tableContainer {
  height: 30%;
  width: calc(100% - 49px);
  padding-left: 49px;
}

#tableDiv {
  height: 100%;
  width: 100%;
  align-items: flex-end;
}

.tableHidden {
  display: none;
}

/* attribute table close button styling */
#closeTableBtn {
  width: 30px;
  height: 30px;
  position: relative;
  top: 10px;
  right: 10px;
  z-index: 99999;
  background-color: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

#closeTableBtn:hover {
  background-color: #e60000;
  transform: scale(1.1);
}

#closeTableBtn:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.6);
}

body {
  display: flex;
}

calcite-loader {
  align-self: center;
  justify-self: center;
}

#map-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

#info-content {
  padding: 0.75rem;
}

calcite-rating {
  margin-top: 0.25rem;
}

.esri-legend__layer-caption {
  visibility: hidden;
}

.esri-widget--button.active,
.esri-widget--button.active:hover,
.esri-widget--button.active:focus {
  cursor: default;
  background-color: #4C4D4F;
}

.esri-widget--button.active path,
.esri-widget--button.active:hover path,
.esri-widget--button.active:focus path {
  fill: #E4E4E4;
}

#distance.esri-widget--button {
  border: 150px;
  border-color: #4C4D4F;
  border-width: 0.5px;
  border-style: groove
}

#area.esri-widget--button {
  border: 100px;
  border-color: #4C4D4F;
  border-width: 0.5px;
  border-style: groove
}

#clear.esri-widget--button {
  border: 100px;
  border-color: #4C4D4F;
  border-width: 0.5px;
  border-style: groove
}

.esri-widget--button {
  font-size: 20px;
}

.center {
  text-align: center
}

.esri-legend__layer-caption {
  display: none
}

.esri-legend__layer {
  margin-bottom: 0px;
}

.esri-legend__layer-table {
  margin-bottom: 0px;
}

/* baseline header elements */
#header-title {
  margin: inherit;
  padding: inherit;
}

#header-main-div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.app-header {
  margin: 0;
  padding: 0 1rem;
}

.edx-spatial-thumbnail {
  height: 40px;
  width: auto;
  padding: 20px 10px 10px 10px;
  margin: 0px;
}

.doe-netl-logo {
  margin-left: auto;
  height: 60px;
  padding-top: 10px;
}

/* header elements for tablets */
@media screen and (max-width: 850px) {
  #header-main-div {
    overflow-x: scroll;
    scrollbar-color: rgb(206, 204, 204);
  }

  .doe-netl-logo {
    height: 30px;
    width: auto;
    padding: 1rem;
    margin: 0;
  }

  .edx-spatial-thumbnail {
    margin: 0;
    height: 30px;
    width: auto;
  }
}

/* header elements for phones */
@media screen and (max-width: 480px) {
  #header-main-div {
    flex-direction: column;
    align-items: flex-start;
    overflow-x: scroll;
    scrollbar-color: rgb(206, 204, 204);
  }

  .doe-netl-logo {
    visibility: hidden;
    margin: 0;
    padding: 0;
    height: 0;
  }

  .edx-spatial-thumbnail {
    margin: 0;
    height: 30px;
    width: auto;
  }
}

calcite-shell {
  background: #0061AA;
}

calcite-shell>h2[slot="header"] {
  color: #ffffff;
}

.edx-logo {
  height: 100px;
  width: 200px;
  align-content: center;
  flex-wrap: wrap;
  display: flex;
  margin: auto;
}

.cc-png {
  height: 20px;
  width: 20px;
  float: right
}

.esri-layer-list__item-actions-menu-item:first-of-type {
  display: none;
}

.esri-layer-list-panel {
  margin: 12px 15px;
  align-content: center;
  text-align: center;
}

.esri-layer-list__item-action {
  border-color: #ffffff;
  border-width: thin;
}

.esri-layer-list__item-actions-list {
  padding: 0px 0px;
}

.cc-logo-footer {
  display: flex;
  float: right;
  height: 2rem;
  width: 2rem;
  padding: 1%;
  flex-direction: column;
}

.footer {
  height: 10%;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  background: #0061AA;
  color: white;
  font-size: 14px;
  padding-bottom: 5px;
  padding-left: 100px;
}

/* unvisited link */
a:link {
  color: rgb(108, 204, 248);
}

a:visited {
  color: #9d9e9e;
}

a:hover {
  color: rgb(72, 157, 255);
}

a:active {
  color: rgb(255, 0, 0);
}

.download-link {
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.esri-layer-list-panel {
  margin: 0px 15px;
}

calcite-shell>h2[slot="header"] {
  padding-bottom: 1%;
}

.esri-grid .esri-column__menu-container {
  display: none;
}

#measure-container {
  display: flex;
  padding: 1rem;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
}

#measure-p {
  margin: 0px;
}

#measure-buttons-row {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;

  button {
    border-radius: 8px;
    border-color: #7b7b7b !important;
  }
}

#measure-buttons-heading-text {
  text-align: center;
  width: 100%;
}

.esri-distance-measurement-2d__container {
  display: flex;
  flex-direction: column;
}

.esri-distance-measurement-2d__hint {
  display: flex;
  animation: none;
}

.esri-distance-measurement-2d.esri-widget.esri-widget--panel {
  width: 100%;
}

.esri-area-measurement-2d.esri-widget.esri-widget--panel {
  width: 100%;
}