

/* ==|== primary styles =====================================================
   Author: RTC GIS Department
   ========================================================================== */

html, body, #viewDiv {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow-y: clip;
}


.esri-ui-top-right {
  right: 10px;
}

.esri-basemap-toggle__container {
  height: 82px;
  width: 82px;
}
.esri-basemap-toggle__image {
  height: 82px;
  width: 82px;
}
.esri-basemap-toggle__title {
  font-size:  10px;
  font-weight: bold;
}

.esri-legend__service{
  padding:  0px 0px;
}

.esri-popup__header {
    background-color: lightgray;
}
.esri-popup__header-title {
  font-size: 18px;
}

#borderContainer {
  width:  100%;
  height:  100%;
}

#results table, th {
  border: 1px solid grey;
  border-collapse: collapse;
  padding: 5px;
}

#results td {
  border: 1px solid grey;
  border-collapse: collapse;
  padding: 5px;
}

#results tr:nth-child(odd) {
  background-color: #f1f1f1;
}

#results tr:nth-child(even) {
  background-color: #ffffff;
}

#title {
  color: white;
  font-size: 11px;
}

#loadingImg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

#mySelect li:hover {
  background-color: #CCCCCC;
}

#mySelect {
  margin-top: 0px;
  margin-left: 0px;  
  padding-left: 0px;
  white-space: nowrap;
}

#mySelect li {
  margin-top: 0px;
  margin-left: 0px;  
  padding-left: 0px;
  white-space: nowrap;
  list-style: none;
  float:none;
}

p.maptitle {
  color: white;
  font-family: Tahoma;
  font-size: 14pt;
}

/* Used for List when a user selects an item it will show background and bold letters */
.highlight {
  background-color: #CCCCCC;
  font-weight: bold;
}

li {
  /*float: left;*/
  position: relative;
  padding: 5px;
  list-style: none;
}

a {
  color: white;
  font-style: italic;
  font-family: Tahoma;
  font-size: 11pt;
  border: 0;
  
}


/* removes the spacing around the paragraph <p> tag in the feature templates*/
p {
    margin: 0;
    padding: 0;
}

a.open-menu {
  color: white;
  font-style:normal;
  text-decoration:none;
  font-size: 14pt;
}

a.close-menu{
  color: white;
  font-style:normal;
  text-decoration:none;
  font-size: 14pt;
}

.main-header {
  background: linear-gradient(#3f94bf, #246485);
  padding: 0px;
  text-align: left;
  color: white;
  text-shadow: #222 0px -1px 1px;
  position: fixed;
  width: 100%;
  left: 0;
  transition: width 0.3s ease;
}

.main-header a.open-menu {
  position: absolute;
  left: 5px;
  top: 5px;
  color: white;
  font-size: 20px;
}

.page-wrap {
  float: right;
  width: 100%;
  transition: width 0.3s ease;
  z-index: 0;
}

.navigation {
  position: fixed;
  top: 0;
  width: 0;
  height: 100%;
  background: #3B3B3B;
  overflow-y: hidden;
  transition: width 0.3s ease;
  z-index: 1;
}

.navigation a {
  display: block;
  background: linear-gradient(#3e3e3e, #383838);
  border-top: 1px solid #484848;
  border-bottom: 1px solid #2E2E2E;
  color: white;
  font-style: normal;
  text-decoration: none;
  padding: 15px;
}

.navigation a:hover, .navigation a:focus {
  background: linear-gradient(#484848, #383838);
}

.navigation:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 34px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  transition: all 0.4s ease;
}

.close-menu {
  display: none;
}
#main-nav {
  align: middle;
}
#main-nav:target {
  width: 20%;
}

/* -----------------------------------------------------------------------------------------------*/

@media (max-width: 750px) and (min-width: 450px){
  #titleDiv{
    display: none;
  }
  #menuTitleDiv{
    display: none;
  }
  #GISLogoImg {
    float:left;
    margin: 0px 0px 0px 0px;
    height: 50px;
  }
  #main-nav:target {
  	overflow-y: scroll;
  }
}

/* -----------------------------------------------------------------------------------------------*/

@media (max-width: 449px) and (min-width: 415px){
  #titleDiv{
    display: none;
  }
  #menuTitleDiv{
    display: none;
  }
  #GISLogoImg {
    float:left;
    margin: 0px 0px 0px 0px;
    height: 30px;
  }
  p.maptitle {
    font-size: 11pt;
  }
  #main-nav:target {
  	overflow-y: scroll;
  }
}

/* -----------------------------------------------------------------------------------------------*/

@media (max-width: 414px) and (min-width: 0px) {
  #titleDiv{
    display: none;
  }
  #menuTitleDiv{
    display: none;
  }  
  #GISLogoImg {
    display: none;
  }
  #map_zoom_slider {
    left: 1px;
    top: 1px;
  }
  p.maptitle {
    font-size: 10pt;
    margin-left: 20px;
  }
  #main-nav:target {
  	overflow-y: scroll;
  }
}


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }




/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
