html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}
body {
  display: flex;
}

body.calcite-mode-light {
  --calcite-ui-text-1: #21918d;
  --calcite-ui-text-2: gray;
  --calcite-ui-text-3: gray;
  --calcite-ui-background: #ebebeb;
  --calcite-ui-brand: #21918d;
  --calcite-ui-border-2: #d5d5d5;
  --calcite-ui-info: #21918d;
  --calcite-ui-brand-hover: #d5d5d5;
  --calcite-ui-brand-press: #d5d5d5;
}
calcite-label[slot="content-bottom"] {
  --calcite-label-margin-bottom: 0;
}
.esri-widget--button {
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  padding: 0px 0px 0px 10px;
  opacity: 0.7;
  justify-content: left;
}
.esri-widget--button:hover {
  background-color: #2ec8c3;
  opacity: 1;
  color: white;
}

.esri-expand {
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
}
/*for the Location Details content*/
.esri-feature-content {
  font-size: var(--calcite-font-size--1);
  font-weight: var(--calcite-font-weight-medium);
  color: var(--calcite-ui-text-2);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
/*colors based on the habitat type for right panel */
.sub {
  border: 0.5px solid #c500ff;
  /* border-color: rgb(197, 0, 255); */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 6px;
}
.shallowSub {
  border: 0.5px solid #50dcde;
  /* border-color: rgb(80, 220, 222); */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 6px;
}
.intertidal_medium {
  border: 0.5px solid #8bd000;
  /* border-color: rgb(139, 208, 0); */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 6px;
}
.intertidal {
  border: 0.5px solid #aaff00;
  /* border-color: rgb(170, 255, 0); */
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 6px;
}

/*Changing the look of the map icons */

div[title="Legend" i] {
  width: 102px;
  height: 36px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
  .esri-icon-font-fallback-text {
    position: relative;
    width: 110px;
    height: max-content;
    clip: auto;
    font-size: var(--calcite-font-size--2);
    font-family: var(--calcite-sans-family) !important;
  }
}
div[title="Change Basemap" i] {
  width: 102px;
  height: 42px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
  .esri-icon-font-fallback-text {
    position: relative;
    width: 110px;
    height: max-content;
    clip: auto;
    font-size: var(--calcite-font-size--2);
    font-family: var(--calcite-sans-family) !important;
  }
}
div[title="Filter Suitable Habitat" i] {
  width: 162px;
  height: 52px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  justify-content: left;
  background: white;
  color: #21918d;
  border: 1px solid #21918d;
  .esri-icon-font-fallback-text {
    font-size: 14px;
    font-weight: bolder !important;
    position: relative;
    width: 110px;
    height: max-content;
    clip: auto;
    margin-left: 5px;
    /* font-size: var(--calcite-font-size--2); */
    font-family: var(--calcite-sans-family) !important;
  }
}
div[title="About" i] {
  width: 102px;
  height: 36px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
  .esri-icon-font-fallback-text {
    position: relative;
    width: 110px;
    height: max-content;
    clip: auto;
    font-size: var(--calcite-font-size--2);
    font-family: var(--calcite-sans-family) !important;
  }
}
div[title="Map Help" i] {
  width: 102px;
  height: 36px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  background: white;
  justify-content: left;
  .esri-icon-font-fallback-text {
    position: relative;
    width: 110px;
    height: max-content;
    clip: auto;
    font-size: var(--calcite-font-size--2);
    font-family: var(--calcite-sans-family) !important;
  }
}
div[title="Display Rankings" i] {
  width: 162px;
  height: 52px;
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  justify-content: left;
  background: white;
  color: #21918d;
  border: 1px solid #21918d;
  .esri-icon-font-fallback-text {
    font-size: 14px;
    font-weight: bolder !important;
    width: 110px;
    height: max-content;
    clip: auto;
    margin-left: 12px;
    /* font-size: var(--calcite-font-size--2); */
    font-family: var(--calcite-sans-family) !important;
  }
}
div[title="Zoom in" i] {
  .esri-icon-font-fallback-text {
    display: none;
  }
}
div[title="Zoom out" i] {
  .esri-icon-font-fallback-text {
    display: none;
  }
}

/*arrows next to label list*/
.panel-heading {
  color: #21918d;
}
#header-title {
  margin-left: 1rem;
  float: left;
  margin-right: 1rem;
  color: white;
}
#habitat_Filters {
  visibility: hidden;
  width: 500px;
  height: auto;
  float: left;
  background: white;
  padding: 5px 20px 20px 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

#mapHelp {
  width: max-content;
  max-width: 500px;
  height: min-content;
  max-height: 500px;
  overflow-y: scroll;
  float: left;
  background: white;
  padding: 5px 20px 20px 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#mapAbout {
  position: absolute;
  bottom: 5px;
  right: 10px;
  width: 500px;
  height: max-content;
  max-height: 500px;
  overflow-y: scroll;
  float: left;
  background: white;
  padding: 20px 20px 20px 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#rendererDiv {
  /* visibility: hidden; */
  width: max-content;
  max-width: 300px;
  height: min-content;
  max-height: 500px;
  overflow-y: scroll;
  float: left;
  background: white;
  padding: 5px 20px 20px 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.mapHelpButton {
  height: 30px;
  width: auto;
}
.reefImg {
  height: 200px;
  width: auto;
}

/*for the filter button and hover text*/
.clear-filter-button {
  background: transparent;
  border-radius: 90px;
  text-align: center;
  font-size: 11px;
  transition-duration: 0.4s;
  cursor: pointer;
  margin: 5px 5px;
  padding: 2px 5px;
  z-index: 1;
  float: right;
}
.esri-icon-trash:before {
  color: #21918d;
}
hr {
  border-top: 0.5px solid #21918d;
}
.headerDiv {
  background-image: linear-gradient(to right, #21918d, white);
}
.ccrmlogo {
  float: right;
  display: inline-block;
  width: auto;
  height: 40px;
  padding-right: 25px;
  padding-top: 10px;
}
.ccrmlogosmall {
  float: right;
  display: inline-block;
  margin-right: 1rem;
  margin-left: 3rem;
  width: auto;
  height: 27px;
  padding-top: 10px;
}
.noaalogo {
  float: right;
  width: auto;
  height: 40px;
  padding-right: 20px;
  padding-top: 10px;
}
.noaalogosmall {
  float: right;
  margin-right: 1rem;
  width: auto;
  height: 27px;
  padding-top: 10px;
}
.infoPic {
  width: auto;
  height: 90px;
  float: right;
}
.infoPicTile {
  height: 100px;
  width: auto;
}
.reefBallPic {
  width: 100%;
  height: auto;
  /* padding: 5px; */
}
.oysterIcon {
  height: 30px;
  width: auto;
  margin-left: 5px;
}
.infoPicNatrx {
  height: 90px;
  width: auto;

  /* padding: 5px; */
}
#info-content {
  padding: 0.75rem;
}
.calcite-rating {
  margin-top: 0.25rem;
}
#features {
  padding: 15px;
  color: gray;
}
#scores {
  padding: 15px;
}
.subtitle {
  font-size: 0.7em;
  font-style: italic;
}
.interlocking {
  width: 100%;
  /* padding: 5px 5px; */
  /* align-items: center; */
  justify-content: center;
  /* vertical-align: center; */
  margin-top: 20px;
}
.interText {
  /* margin-top: 10px; */
}
.interImage {
  float: right;
  /* margin-top: 20px; */
  padding-left: 5px;
}

div[slot="message" i] {
  margin-block: 0.125rem;
  font-size: var(--calcite-font-size--2);
  line-height: 1.25;
  color: gray;
}

/* for the i icons in layer list*/
.esri-layer-list__item-actions-menu-item {
  color: #21918d;
}
.esri-layer-list__item-actions-menu-item:hover {
  background-color: gray;
}
.esri-layer-list__item-actions-menu-item--active,
.esri-layer-list__item-actions-menu-item--active:hover {
  background-color: #21918d;
  color: white;
}

p {
  margin-left: 15px;
  font-size: 12px;
  color: gray;
}
ul {
  font-size: 12px;
  color: gray;
}
.h2 {
  font-family: var(--calcite-sans-family);
  font-weight: 700;
  font-size: large;
  color: #21918d;
  padding-left: 10px;
}
.h3 {
  font-family: var(--calcite-sans-family);
  font-weight: 500;
  font-size: medium;
  color: #21918d;
  padding-left: 0px;
}
.h4 {
  font-family: var(--calcite-sans-family);
  font-weight: 300;
  font-style: italic;
  padding-left: 10px;
}
#error-message {
  display: none;
  z-index: 100;
  font-family: var(--calcite-sans-family);
  font-weight: 700;
  font-style: italic;
  padding: 10px;
}
.side-text {
  font-size: small;
  color: gray;
  font-style: italic;
}

calcite-accordion-item {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

calcite-block[heading="NOAA Rank: Very High" i] {
  background: rgba(254, 232, 37, 1);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="NOAA Rank: High" i] {
  background: rgba(93, 201, 99, 0.7);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="NOAA Rank: Medium" i] {
  background: rgba(33, 145, 141, 0.5);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="NOAA Rank: Low" i] {
  background: rgba(59, 82, 140, 0.3);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="NOAA Rank: Very Low" i] {
  background: rgba(68, 1, 85, 0.2);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}

calcite-block[heading="VMRC Rank: Very High" i] {
  background: rgba(254, 232, 37, 1);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="VMRC Rank: High" i] {
  background: rgba(93, 201, 99, 0.7);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="VMRC Rank: Medium" i] {
  background: rgba(33, 145, 141, 0.5);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="VMRC Rank: Low" i] {
  background: rgba(59, 82, 140, 0.3);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}
calcite-block[heading="VMRC Rank: Very Low" i] {
  background: rgba(68, 1, 85, 0.2);
  -webkit-border-radius: 90px;
  -moz-border-radius: 90px;
  border-radius: 90px;
  margin: 5px;
}

calcite-accordion-item[heading="Accessibility Rank: High" i] {
  border: 2px solid rgb(254, 228, 3);
  /* border-color: rgb(254, 228, 3); */
}
/* calcite-accordion-item[heading="Accessibility Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */

calcite-accordion-item[heading="Conservation Priority Rank: High" i] {
  border: 2px solid;
  border-color: rgb(254, 228, 3);
}
/* calcite-accordion-item[heading="Conservation Priority Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="Conservation Priority Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Demographic Index Rank: High" i] {
  border: 2px solid;
  border-color: rgb(254, 228, 3);
}
/* calcite-accordion-item[heading="Demographic Index Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="Demographic Index Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Environmental Justice Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Environmental Justice Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Erosion Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Erosion Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="Erosion Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Marsh Migration Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Marsh Migration Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="Marsh Migration Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Oyster Project Proximity Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Oyster Project Proximity Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="Oyster Project Proximity Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Project Size Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Project Size Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Proximal Wetland Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Proximal Wetland Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="Proximal Wetland Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Public Land Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Public Land Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Recreation Potential Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Recreation Potential Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="SAV Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="SAV Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="SAV Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */
calcite-accordion-item[heading="Substrate Rank: High" i] {
  border: 2px solid;
  border-color: rgba(254, 228, 3, 0.7);
}
/* calcite-accordion-item[heading="Substrate Rank: Medium" i] {
  background-color: rgba(33, 145, 141, 0.2);
}
calcite-accordion-item[heading="Substrate Rank: Low" i] {
  background-color: rgba(68, 1, 85, 0.3);
} */

calcite-accordion-item[heading="Ultraball with 3 rows"] {
  border: 2px solid;
  border-color: rgba(249, 42, 130, 0.5);
}

calcite-accordion-item[heading="Lo-Pro Reef Ball with 2 Rows"] {
  border: 2px solid;
  border-color: rgba(222, 192, 23, 0.5);
}

calcite-accordion-item[heading="Pallet Reef Ball with 2 Rows"] {
  border: 2px solid;
  border-color: rgba(255, 72, 0, 0.5);
}
calcite-accordion-item[heading="Stone reef: 2 inches tall, 3 feet wide, stone size 2"] {
  border: 2px solid;
  border-color: rgba(0, 255, 197, 0.5);
}
calcite-accordion-item[heading="Stone reef: 6 inches tall, 3 feet wide, stone size 4"] {
  border: 2px solid;
  border-color: rgb(0, 168, 132);
}
calcite-accordion-item[heading="Stone reef: 12 inches tall, 3 feet wide, stone size 4"] {
  border: 2px solid;
  border-color: rgb(0, 115, 76);
}

@media only screen and (max-width: 1000px) {
  #mapHelp {
    width: 250px;
    height: min-content;
  }
  #mapAbout {
    width: 250px;
    height: min-content;
    max-height: 500px;
    overflow-y: scroll;
  }
  #habitat_Filters {
    width: 300px;
  }
}
@media only screen and (max-width: 875px) {
  #habitat_Filters {
    width: min-content;
  }
}
@media only screen and (max-width: 750px) {
  #error-message {
    display: block;
  }
  #viewDiv {
    display: none;
  }
  .headerDiv {
    display: none;
  }
}
