html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#appContainer {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}


.esri-icon-non-visible::before {
  content: "\e610";
}
.esri-icon-visible::before {
  content: "\e611";
}
‍‍‍‍‍‍ #loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #558cce url("./images/predefined_loading_1.gif") no-repeat center;
  z-index: 999;
}



calcite-label[slot="content-bottom"] {
  --calcite-label-margin-bottom: 0;
}



#text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  color: white;
  border: #fff;
  border-width: 1em;
  font: Arial;
  background-color: darkgreen;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}




/* #tableDiv {
 
  bottom: 0%;
  top: 35px;
  width: 100%;
  height:fit-content;
  margin-bottom: 0%;
  position: absolute;
} */

#tableDiv {
  flex-grow: 1;
  bottom: 0%;
  top: 41px;
  height:auto;
  margin-bottom: 0%;
  width: 100%;
  position: absolute;
  align-content: stretch;
}

.notice{
  position: absolute;
  top: 20%;
  left: 10%;
  margin-top: -10px;
  margin-left: -10px;
  z-index: 100;
  overflow-y: auto;
}
.list_invalids{
  position: absolute;
  top: 20%;
  left: 10%;
  margin-top: -10px;
  margin-left: -10px;
  z-index: 100;
  overflow-y: auto;
  max-height: 400px; 
}



.icon {
  position: absolute;
  right: 50%;
  top: -10px;
}

calcite-loader {
  align-self: center;
  justify-self: center;
}

#header-title {
  margin-left: 1rem;
  margin-right: 1rem;
}

.combos {
  float: left;
  margin-right: 5px;
}
.combos2 {
  float: left !important;
  margin-right: 5px;  
  margin-top: 10px;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
calcite-slider {
  width: 100px;
}

.combos1 {
  display: flex;
  align-items: center;
}

calcite-label {
  align-self: center;
  color: var(--calcite-ui-text-3);
  margin-inline-start: 12px;
  --calcite-label-margin-bottom: 0px;
}

calcite-label span {
  color: var(--calcite-ui-text-3);
}

.myalert {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;

  /* adjust as per your needs */
  height: 400px;
  /* adjust as per your needs */
  margin-left: -200px;
  /* negative half of width above */
  margin-top: -200px;
  z-index: 100;
}

.thepopup {
  position: absolute;
  top: 70%;
  left: 15%;
  width: 200px;
  /* adjust as per your needs */
  height: 400px;
  /* adjust as per your needs */
  margin-left: -200px;
  /* negative half of width above */
  margin-top: -200px;
  z-index: 100;
}

.select_routeid {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  /* adjust as per your needs */
  height: 400px;
  /* adjust as per your needs */
  margin-left: -200px;
  /* negative half of width above */
  margin-top: -200px;
  z-index: 100;
}

.panel-start{
  position: absolute;
  top: 30%;
  left: 10%;
  width: 600px;
  /* adjust as per your needs */
  height: 500px;
  /* adjust as per your needs */
  margin-left: 10px;
  /* negative half of width above */
  z-index: 100;


}

.divider_class {
  width: 100%;
  text-align: center;
  font-size: medium;
  border-bottom: 1px solid #000;
  line-height: 0.1em;
  margin: 10px 0 20px;
}

#header {
  display: flex;
  padding: 0 1rem;
  color: green;
  background-image:url(./images/background.png); 
  border-width: 2px;
  border-color: #000;
}

#header-controls {
  display: flex;
  margin-inline-start: auto;
  align-self: center;
  background-color:green;
  opacity: 60%;
  border-radius: 25px;
  z-index: 100;
  
}

calcite-fab,
calcite-button {
  --calcite-color-brand:green;
  --calcite-color-background: green;
  --calcite-color-foreground-1:green;
  --calcite-color-brand-hover: #800000;
  --calcite-color-border-1: black;
}

calcite-card {
  --calcite-card-corner-radius:50px
}

.label-wrapper {
  display: flex;
  margin-inline: 1rem;
  padding: 0.5rem;
  border: 1px solid var(--calcite-ui-border-1);
  cursor: pointer;
}

/* calcite-shell-panel {
  --calcite-shell-panel-width: auto;
  --calcite-shell-panel-max-width: 100%;
} */

#add_layers {
  width: 690px;
}

#BufferLayers {
  width: 690px;
}

#slider {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 0;
  margin: 0;
  width: 300px;
  margin-left: -280px;
  z-index: 100;
}

#slider-content {
  position: absolute;
  left: 0;
  top: 0;
  right: 20px;
  bottom: 0;
  padding: 0;
  margin: 0;
  background-color: #fff;
  opacity: 1;
  z-index: 100;
}

#legendDiv {
  font-size: 1.2em;
  padding: 20px;
}

#btnExpand {
  width: 20px;
  height: 100%;
  float: right;
  background-color: transparent;
  font-size: 25px;
  font-weight: bold;
  position: relative;
  z-index: 100;
}

.icon1 {
  position: absolute;
  top: 50%;
  z-index: 100;
}

@media (min-width: 700px) {
  body:not(.dyslexia-mode) main {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-image: url(https://res.cloudinary.com/jbowtie/image/upload/v1631662164/exclusive_paper_dyitgt.webp);
    width: 80%;
  }
  main:before,
  main:after {
    content: "";
    height: 98%;
    position: absolute;
    max-width: 75em;
    width: 95%;
    z-index: -1;
  }
  body:not(.dyslexia-mode) main:before {
    background: #fafafa;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    left: -5px;
    top: -4px;
    transform: rotate(-2.5deg);
  }
  body:not(.dyslexia-mode) main:after {
    background: #f6f6f6;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    left: -6px;
    top: 1px;
    transform: rotate(1.4deg);
  }
}

.dyslexia-mode {
  letter-spacing: 0.35ch;
  word-spacing: 1.225ch; /* 3.5x letter-spacing */
  font-variant-ligatures: none; /* explicitly disable ligatures */
  font-weight: 600; /* demi-bold */
  font-size: 150%; /* assuming 16px base size, convert to 18pt */
}

.dyslexia-mode main {
  line-height: 2;
}

.dyslexia-mode main p {
  margin-top: 3.5em;
}

.dyslexia-mode strong {
  color: #000;
}

.dyslexia-mode h2 {
  border: none;
  border-bottom: thin grey solid; /* just keeping the bottom border for this element, to retain some separation */
  max-width: 100%; /* standard width */
  transform: none; /* do not rotate */
  background-color: inherit; /* We no longer look like a label, so we don't require our own background */
  margin-bottom: 1em;
  padding-left: 0; /* some spacing adjustments */
}
.dyslexia-mode main li:nth-of-type(odd) {
  background-color: palegoldenrod;
}

.dyslexia-mode #dyslexia-toggle {
  background-color: #115c7d;
  color: #fff;
}

.screen-readers-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.table-container {
  display: block;
  height: 35vh;
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 2;
  margin-left: 0;
}

.table-content {
  height: 30vh;
  overflow:auto;
}

.hide {
  display: none;
}
.geometry-options {
  display: flex;
  flex-direction: row;
}

#bufferNum {
  width: 90%;
  margin-right: 10px;
  
}
.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;
}
.options {
  max-width: 260px;
  width: 100%;
  height: 25px;
}

.esri-elevation-profile.esri-component.esri-widget--panel {
  width: 350px !important;
}

#start_panel {
  z-index: 100;  
}

#legend_panel {
  width: 200px !important; 
}


#print_box {
  /* height:200px;
  width:200px; */
 
  position:absolute;
  border:4px solid red;
  background-color:transparent;
 /* left:-121.755px;
  top:38.359px */

  cursor: move;
  z-index: 100;
  overflow: auto;
 
}

#legend_panel, #basemaps_panel,#layerlist_panel {
  padding: 2px;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 60;
  }

  .screenshotCursor {
    cursor: crosshair;
  }

  #screenshotDiv {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
  }

  .hide {
    display: none;
  }

  .js-screenshot-image {
    border: 10px solid white;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);
  }

  #screenshotDiv > * {
    margin: 0.5em;
  }

  #maskDiv {
    position: absolute;
    background: rgba(255, 51, 0, 0.1);
    border: 2px dashed rgb(255, 51, 0);
  }

  .action-button {
    padding: 0.6em;
    border: 1px solid #0079c1;
    text-align: center;
    background-color: white;
    cursor: pointer;
  }

  .action-button:hover,
  .action-button:focus {
    background: #0079c1;
    color: white;
  }

  #customEl {
    text-align: center;
    background-color: transparent;
   
  }

  .esri-grid__content{
    background-color:red;
  }
  
  .esri-feature-table tr:nth-child(odd) {
    background-color: rgba(255,0,0,0.1);
  }
  .esri-feature-table tr:nth-child(even) {
    background-color: rgba(0,255,0,0.02);
  }

