/*
colors: 
title blue = VIMS blue = rgb(0, 70, 127)
dark green text = #65714b;
lighter light green background: #e8ebe1
highlight font orange: #eb7d28;

*/

html {
  font-family: "Nunito", serif;
  overflow: hidden;
}
header h2 {
  margin-left: 20px;
  font-family: "Nunito", serif;
  font-size: 1.4rem;
  float: left;
  letter-spacing: 1.1px;
  line-height: 1.9;
}
.block,
.layerListblock {
  max-width: 100%;
  height: 100%;
  min-height: 0;
}
.layerListblock h2 {
  text-align: center;
}

body {
  background: linear-gradient(#347885, #17353b);
  color: #fff;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  align-items: stretch;
}
body.calcite-mode-dark {
  --calcite-ui-text-1: #fff;
  --calcite-ui-text-2: #fff;
  --calcite-ui-text-3: #fff;
  --calcite-font-size--1: 1.1rem;
  --calcite-font-size--2: 1rem;
  --calcite-ui-brand: #fff;
  --calcite-ui-foreground-1: transparent;
  --calcite-ui-foreground-2: transparent;
  --calcite-ui-border-3: #fff;
  --calcite-ui-icon-color: #fff;
  --calcite-sans-family: "Nunito", serif;
  --calcite-font-size--1: 1rem;
  --calcite-ui-background-1: transparent;
  --calcite-label-margin-bottom: 5rem;
}

.everything {
  display: grid;
  grid-template-areas:
    "header  header header "
    "AOI     layers map   "
    "footer  footer footer ";
  grid-template-columns: 12ch 25ch 1fr;
  grid-template-rows: auto 1fr 30px;
  grid-gap: 0px;
  align-items: stretch;
  height: 100vh;
  width: 100vw;
}
.block {
  border-bottom: 0.6px solid rgba(226, 241, 243, 0.5);
  border-bottom-left-radius: 0px 0px;
  vertical-align: middle;
  overflow: hidden;
}

header {
  display: grid;
  grid-area: header;
  display: inline-block;
  height: 80px;
  background: linear-gradient(
    0.25turn,
    rgba(0, 0, 0, 0) 70%,
    rgba(255, 255, 255, 0.7) 90%
  );
  border-radius: 1rem;
  margin-bottom: 2px;
}
.hdricon {
  height: 60px;
  width: auto;
  float: right;
  margin: 8px 30px 4px 0;
}
.hdricon-modal {
  height: 60px;
  width: auto;
  margin: 8px 10px 4px 30px;
}
chart-container {
  display: grid;
  grid-area: chart;
}
footer {
  display: grid;
  grid-area: footer;
  height: 20px;
  background-color: #3b3b3b;
  margin-left: -35px;
  -webkit-box-shadow: inset 1px 1px rgba(68, 68, 68, 0.2);
  -moz-box-shadow: inset 1px 1px rgba(68, 68, 68, 0.2);
  box-shadow: inset 1px 1px rgba(68, 68, 68, 0.2);
}
footer1 {
  display: grid;
  grid-area: footer1;
  margin: 0;
  padding: 0;
  /* height: auto; */
  grid-area: footer1;
  height: 20px;
  /* background-color: #3b3b3b; */
}
.footerText {
  color: #6bb7c5;
  opacity: 0.7;
  font-size: 0.7rem;
  padding-bottom: 4px;
  text-align: right;
  margin-right: 20px;

  /* width: 100%; */
}
.footer1Text {
  /* display: inline-block; */
  color: #6bb7c5;
  opacity: 0.7;
  font-size: 0.7rem;
}

#viewDiv {
  background: rgb(26, 25, 25);
  grid-area: map;
  width: 99%;
  overflow-x: hidden;
}

.AOIblock {
  display: grid;
  grid-area: AOI;
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0);
  border: none;
}
.AOIblock p {
  display: block;
  padding: 10px;
  font-size: 0.8rem;
  border-radius: 1rem;
}
.AOIblock p:hover {
  background: #17353b;
  cursor: pointer;
}
.AOIblock p.active {
  background: #347885;
}
span.esri-icon-globe {
  display: block;
  font-size: 40px;
  padding-bottom: 10px;
}
span.esri-icon-globe:hover {
  color: #347885;
  cursor: pointer;
}
.smallicon {
  display: block;
  margin: auto;
  height: 30px;
  width: auto;
}

.layerListblock {
  grid-area: layers;
  display: block;
  border-radius: 1rem;
  padding: 10px;
  width: auto;
  background: linear-gradient(
    0.25turn,
    rgba(52, 120, 133, 0.7) 50%,
    rgba(52, 120, 133, 0.1)
  );
}

.layerListblock p {
  font-size: 0.9rem;
}
.shadow_block {
  box-shadow: 3px 3px 10px 3px rgb(0 0 0 / 32%);
  border-radius: 1rem;
}
/* .esri-layer-list__status-indicator {
  background-color: transparent;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  border: 3px solid #6bb7c5;
  border-bottom-color: transparent;
  /* border-right: 3px solid transparent; */
/* box-sizing: border-box; */
/* animation: rotation 0.5s linear infinite; */
/* } */
/* .disabledButton {
  display: grid;
  grid-area: AOI;
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0);
} */
/* .esri-elevation-profile__header {
  background: transparent;
} */

/* .esri-elevation-profile__prompt-container {
  height: 50%;
} */
/* .esri-elevation-profile.esri-component.esri-widget--panel {
  width: 350px !important;
  height: 500px;
} */
/* .esri-elevation-profile__main-container {
  height: 50%;
} */

.esri-widget {
  color: #fff;
}

.infoBox {
  position: absolute;
  right: 10%;
  box-sizing: border-box;
  width: 50vw;
  max-width: 600px;
  height: auto;
  max-height: 500px;
  background-color: #000000;
  padding: 10px;
  box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 32%);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  overflow: auto;
  color: #6bb7c5;
}
.tableheader {
  font-weight: 500;
  font-size: large;
}
.blueText {
  color: #6bb7c5;
  margin: 10px 5px;
}
.esri-widget--button,
.esri-collapse__icon {
  color: #6bb7c5;
}
#layerInfoPanel {
  position: absolute;
  top: 200px;
  left: 300px;
  width: 50%;
  max-width: 500px;
  height: auto;
  background-color: #000;
  box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 32%);
  display: none;
  z-index: 1100;
  outline: 0.5px rgb(0 0 0 / 32%);
  border-radius: 1rem;
}
#layerInfoDesc {
  padding: 5px 10px;
  max-height: 200px;
  /* overflow: auto; */
}
.descPanel {
  overflow: auto;
  /* width: 450px; */
  /* height: 40px; */
  padding: 2px 0px 5px 0px;
  color: #6bb7c5;
}
.closeB {
  cursor: pointer;
  float: right;
  background-color: transparent;
  border: none;
  color: #6bb7c5;
}

.closeB:hover {
  color: #000000;
}
