html,
body,
#layersView,
#basemapLayersDiv,
#overlayLayersDiv,
#mapView,
#legendView,
#legendScroller,
#legendDiv,
#attInspectorView,
#attInspectorScroller,
#attInspectorDiv,
#templatePickerView,
#templatePickerScroller,
#templatePickerDiv {
  height: 100%;
  margin: 0px;
  padding: 0px;
  width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
html {
  position: fixed;
}
body {
  overflow: hidden;
  visibility: hidden;
}
div:focus {
  outline-color: transparent;
}
.white_bg {
  background-color: white;
}
.trans_bg {
  background-color: transparent;
}
.btn:focus {
  outline-color: transparent;
}
.loading {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 50%;
  top: 25%;
  background-color: transparent;
  z-index: 10000;
  display: none;
}
.loadingContent {
  position: absolute;
  width: 38px;
  height: 38px;
  top: 50%;
  left: 50%;
  margin-left: -19px;
  margin-top: -19px;
  background-color: transparent;
  -webkit-border-radius: 19px !important;
  -moz-border-radius: 19px !important;
  border-radius: 19px !important;
  z-index: 10001;
  opacity: 95%;
}
.loadingImage {
  position: relative;
  top: 3px;
  left: 3px;
  z-index: 10002;
}

.loader {
  border: 10px solid white;
  border-top: 10px solid black;
  border-bottom: 10px solid black;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  -webkit-animation: spin 0.75s ease infinite;
  animation: spin 0.75s ease infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(-45deg);
  }
  100% {
    -webkit-transform: rotate(135deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(-45deg);
  }
  100% {
    transform: rotate(135deg);
  }
}

#mapView {
  background-color: white;
  opacity: 0.05;
}
#mapTitle {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: fixed;
  bottom: 98px;
  left: 16px;
  z-index: 25;
  pointer-events: none;
}
.tr_toolbar {
  position: absolute;
  top: 0px;
  right: 38px;
}
/*Geocoder*/
#search {
  position: absolute;
  left: 45px;
  top: 8px;
  z-index: 30 !important;
}
.esriGeocoder {
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
}
/*Side panel*/
a.mblAccordionTitleAnchor :visited {
  outline: none;
}
.layersView {
  pointer-events: auto;
  margin-top: 8px !important;
  /*height:calc(100% - 8px) !important;*/
  border: solid 1px #57585a;
  width: 283px !important;
  background-color: #efefef;
  opacity: 0.96;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
}
.sidepane {
  z-index: 31 !important;
  background-color: transparent !important;
  border: 0px !important;
  max-height: 640px;
  padding-bottom: 2px;
}
.mblAccordionTitle {
  background-color: #dadada;
  height: 28px !important;
}
.mblAccordionTitle:first-child {
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
}
.mblAccordionTitle:last-child {
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}
/* Help and information pane */
/* .helpPane {
	height:50px;
} */
.helpPane ul {
  list-style-type: none;
  text-decoration: none;
}
.helpPane a:link {
  color: black;
  text-decoration: none;
}
.helpPane a:visited {
  color: black;
}
.helpPane a:hover {
  color: black;
  text-decoration: underline;
}
/*Base and comparison map galleries*/
.bmTabOff {
  background-color: lightgray;
  border-bottom: solid 1px #57585a;
}
.bmTabOn {
  background-color: #efefef;
}
.esriBasemapGalleryNode {
  padding-left: 4px !important;
  position: relative;
}
.esriBasemapGalleryLabelContainer {
  font-size: 9.5pt;
  height: 65px;
  min-height: 50px;
  margin-bottom: 1.5em;
  margin-bottom: 1em;
  padding: 3px;
  background: gainsboro;
  display: table;
}

.esriBasemapGalleryLabelContainer > span {
  display: table-cell;
  vertical-align: middle;
}

#basemapGalleryDiv {
  visibility: hidden;
}
#notOverlayGalleryDiv {
  visibility: hidden;
}
.mapSelected {
  border: 2px solid #f99;
  margin: 0;
}
/*Pop-up (mobile) window*/
.imagePreview {
  text-align: center;
}
.previewImage {
  max-height: 80px;
  min-height: 32px;
  min-width: 32px;
  border: 1px solid black;
  padding: 3px;
  background-image: url("/kyp/images/loading2.gif");
  background-repeat: no-repeat;
  background-position: center center;
}
.popupFooter {
  float: right;
  padding-right: 6px;
  padding-bottom: 6px;
  margin-top: 1em;
}
.esriMobilePopupInfoView {
  height: calc(100% - 42px);
  overflow: auto;
  padding-top: 4px;
}
div.hzLine {
  display: none;
}
.esriPopupMobile {
  background-color: white;
  opacity: 0.94;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
  z-index: 25 !important;
}
.esriPopupMobile .footer {
  padding-top: 15px;
}
.esriPopupMobile .title {
  background-color: transparent;
  overflow: visible !important;
  padding-top: 0px;
  padding-left: 6px;
  padding-right: 6px;
  padding-bottom: 8px;
}
.smw {
  padding-top: 8px;
}
.lpt {
  font-weight: bold;
  padding-bottom: 8px;
}
.esriPopupMobile .titlePane {
  background-color: #ffffff;
  padding-bottom: 1px;
  color: black;
}
.esriPopupMobile .titlePane .spinner {
  background-image: none;
}
.esriMobileNavigationBar {
  border-bottom: solid 1px #848484 !important;
  background-color: #ffffff;
  color: black;
  font-family: sans-serif;
  font-weight: normal;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, rgb(255, 255, 255)), color-stop(0.82, rgb(255, 255, 255)));
  background-image: -moz-linear-gradient(center bottom, rgb(255, 255, 255) 25%, rgb(255, 255, 255) 82%);
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 1) 82%); /* 2023-09-28, TM: updated version of webkit gradients above */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff');
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff')";
  position: fixed;
  height: 41px;
  z-index: 50 !important;
}
div.esriMobileNavigationBar img {
  opacity: 0;
}
.esriMobileNavigationItem.left {
  background: url(../images/popupx.png) !important;
}
div.esriMobileNavigationBar span {
  color: black;
}
.esriMobileNavigationItem.right {
  background: url(../images/popupd.png) !important;
}
.esriMobileNavigationItem.right2 {
  background: url(../images/popupl.png) !important;
}
.esriMobileNavigationItem.right1 {
  background: url(../images/popupr.png) !important;
}
.esriPopupMobile .pointer.top {
  background: url(../images/pointertop.png);
  opacity: 0.94;
}
.esriPopupMobile .pointer.bottom {
  background: url(../images/pointerbottom.png);
  opacity: 0.94;
}
.esriPopupMobile .titleButton.close {
  background: url(../images/popupx.png) !important;
}
.esriPopupMobile .titleButton.arrow {
  background: url(../images/popupr.png) !important;
}
.esriPopupMobile .titleButton.next {
  background: url(../images/rightlongarrowmk2.png);
  top: 17px !important;
}
.esriPopupMobile .titleButton.prev {
  background: url(../images/leftlongarrowmk2.png);
  top: 17px !important;
}
/*Zoom buttons*/
.esriSimpleSlider {
  left: 8px;
  top: 37px;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}
.esriSimpleSlider div {
  height: 28px !important;
  width: 28px !important;
}
/*Title, scale bar, copyright info and status*/
.locationStatus {
  height: 20px;
  position: fixed;
  top: 96px;
  left: 45px;
  padding-left: 9px;
  padding-right: 9px;
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 21;
  border: solid 1px #57585a;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
  display: none;
}
.bl_background {
  position: fixed;
  bottom: 0px;
  left: 8px;
  padding-top: 22px;
  z-index: 24;
  width: 303px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.75);
  border: solid 1px #57585a;
  border-bottom: 0px;
  -webkit-border-radius: 5px 5px 0px 0px !important;
  -moz-border-radius: 5px 5px 0px 0px !important;
  border-radius: 5px 5px 0px 0px !important;
}
.copyinfo {
  font-size: 8.5pt;
  font-family: "Alegreya Sans", sans-serif;
  padding-top: 2px;
  padding-left: 7px;
}

@media screen and (max-width: 400px) {
  .copyinfo {
    font-size: 6pt;
  }
  .bl_background {
    height: 35px;
  }

  #mapTitle {
    font-size: 12px;
    bottom: 40px;
  }

  .esriScalebar {
    bottom: 30px;
  }
}

.esriControlsBR {
  z-index: 21 !important;
}
.esriScalebar {
  position: fixed;
  left: 156px;
  bottom: 98px;
  z-index: 24 !important;
  pointer-events: none;
}
/*Layer list*/
.ilTabOn {
  background-color: #efefef;
}
.ilTabOff {
  background-color: lightgray;
  border-bottom: solid 1px #57585a;
}
.list_item {
  height: 15px;
  width: 16px;
  vertical-align: middle;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}
/*Search*/
.searchResult {
  background-color: white;
}
.layerSearchBox {
  border: solid 1px #57585a;
  padding-top: 3px;
  padding-bottom: 2px;
  padding-left: 4px;
  padding-right: 4px;
  position: relative;
  width: 120px;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
}
.layerSearchLink {
  border: solid 1px #57585a;
  padding: 2px;
  padding-left: 4px;
  padding-right: 4px;
  background-color: white;
  color: black;
  font-size: 10pt;
  text-decoration: none;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
}
/*Toggle buttons*/
.btn {
  border: 1px solid #57585a;
  border-top: 0px;
  height: 29px;
  width: 30px;
  position: absolute;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
}
.searchOn {
  border-top: 1px solid #57585a !important;
  border-bottom: 0px !important;
  background-image: url("../images/search_on.png");
  background-size: 24px;
  left: 8px;
  top: 8px;
  z-index: 30;
  -webkit-border-radius: 5px 5px 0px 0px !important;
  -moz-border-radius: 5px 5px 0px 0px !important;
  border-radius: 5px 5px 0px 0px !important;
}
.searchOff {
  border-top: 1px solid #57585a !important;
  border-bottom: 0px !important;
  background-image: url("../images/search_off.png");
  background-size: 24px;
  left: 8px;
  top: 8px;
  z-index: 30;
  -webkit-border-radius: 5px 5px 0px 0px !important;
  -moz-border-radius: 5px 5px 0px 0px !important;
  border-radius: 5px 5px 0px 0px !important;
}
.trackingOn {
  background-image: url("../images/gps_on.png");
  background-size: 24px;
  left: 8px;
  top: 96px;
  z-index: 30;
  -webkit-border-radius: 0px 0px 5px 5px !important;
  -moz-border-radius: 0px 0px 5px 5px !important;
  border-radius: 0px 0px 5px 5px !important;
}
.trackingOff {
  background-image: url("../images/gps_off.png");
  background-size: 24px;
  left: 8px;
  top: 96px;
  z-index: 30;
  -webkit-border-radius: 0px 0px 5px 5px !important;
  -moz-border-radius: 0px 0px 5px 5px !important;
  border-radius: 0px 0px 5px 5px !important;
}
.editOn {
  background-image: url("../images/edit_on.png");
  background-size: 36px;
  left: 0px;
  top: 38px;
  z-index: 35;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}
.editOff {
  display: block;
  background-image: url("../images/edit_off.png");
  background-size: 36px;
  left: 0px;
  top: 38px;
  z-index: 35;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}
.layersOn {
  border-top: 1px solid #57585a !important;
  height: 30px !important;
  background-image: url("../images/layers_on.png");
  background-size: 24px;
  left: 0px;
  top: 8px;
  z-index: 35;
  -webkit-border-radius: 5px 5px 0px 0px !important;
  -moz-border-radius: 5px 5px 0px 0px !important;
  border-radius: 5px 5px 0px 0px !important;
}
.layersOff {
  border-top: 1px solid #57585a !important;
  height: 30px !important;
  background-image: url("../images/layers_off.png");
  background-size: 24px;
  left: 0px;
  top: 8px;
  z-index: 35;
  -webkit-border-radius: 5px 5px 0px 0px !important;
  -moz-border-radius: 5px 5px 0px 0px !important;
  border-radius: 5px 5px 0px 0px !important;
}
/*.helpButton {
	border-bottom: solid 1px black;
	background-image: url('../images/help.png');
	background-size: 24px;
	left: 0px;
	top: 38px;
	z-index: 35;
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
}*/
.spyglassOn {
  border-bottom: 0px;
  background-image: url("../images/spyglass.png");
  background-size: 24px;
  left: 0px;
  top: 67px;
  z-index: 35;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}
.spyglassOff {
  border-bottom: 0px;
  background-image: url("../images/spyglass_off.png");
  background-size: 24px;
  left: 0px;
  top: 67px;
  z-index: 35;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}
#vSliderBG {
  border: 1px solid #57585a;
  border-top: 0px;
  position: absolute;
  right: 8px;
  top: 96px;
  height: 85px;
  width: 28px;
  z-index: 35;
  background-color: #ffffff;
  -webkit-border-radius: 0px 0px 5px 5px !important;
  -moz-border-radius: 0px 0px 5px 5px !important;
  border-radius: 0px 0px 5px 5px !important;
}
.dijitReset.dijitSliderDecorationC {
  height: 56px !important;
}
.claro .dijitSliderImageHandleV {
  height: 20px !important;
}
/*Layer swipe/scope*/
.handle {
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  border-radius: 5px !important;
}
.LayerSwipe .vertical {
  width: 7px;
  z-index: 23;
}
.LayerSwipe .horizontal .handle {
  margin-top: -17px;
  height: 32px !important;
}
.LayerSwipe .vertical .handle {
  margin-left: -17px;
  width: 32px !important;
}
.LayerSwipe .horizontal {
  height: 7px;
  z-index: 23;
}
.LayerSwipe .scope {
  background-image: url(../images/scope.png);
  z-index: 20;
}
/*Map graphics*/
#mapView_graphics_layer {
  /* 2023-09-28, TM: standard animation properties added with no vendor prefix */
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-name: pulse;
  -webkit-animation-duration: 3s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-name: pulse;
  -moz-animation-duration: 3s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-name: pulse;
}
/* 2023-09-28, TM: standard @keyframes property added with no vendor prefix */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  45% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes pulse {
  0% {
    opacity: 1;
  }
  45% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes pulse {
  0% {
    opacity: 1;
  }
  45% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
/*Attribute inspector*/
.attInspectorView {
  background-color: #e4e4e4;
}
.atiEditorTrackingInfo {
  display: none !important;
}
.atiDeleteButton {
  position: relative !important;
  left: 200px !important;
}
.saveButton {
  position: relative !important;
  left: 250px !important;
  top: -3px;
  margin: 0px;
  width: 16px;
  height: 16px;
}
#attInspectorScroller {
  font-size: 0.8em;
}

#attInspectorDiv > div.atiAttributes > table > tbody > tr:nth-child(1) {
  display: none;
}

.esriViewPopup td {
  border-bottom: 1px solid rgb(230, 230, 230);
  vertical-align: top;
  padding: 2px;
}

@media only screen and (orientation: landscape) {
  div.mediaSection {
    float: right;
    text-align: center;
    width: 300px;
  }

  div.mainSection {
    width: calc(100% - 300px);
    float: left;
  }
}
div.gallery {
  width: 100% !important;
}

img.esriPopupMediaImage {
  border: 1px solid black !important;
  padding: 0.5em;
}

span.div01YesNo[rawvalue="0"]:after {
  content: "No";
}

span.div01YesNo[rawvalue="1"]:after {
  content: "Yes";
}
span.div01YesNo[rawvalue=""]:after {
  content: "Unknown";
}

/*
input[type=checkbox] { 
    display:none;
} 
*/

input[type="checkbox"] + label:before {
  /*    font-family: FontAwesome;*/
  display: inline-block;
  /*    content: "\f096"; */
  letter-spacing: 10px;
  cursor: pointer;
}

/*
input[type=checkbox]:checked + label:before { 
    content: "\f046";
} 
*/

/*
input[type=checkbox]:checked + label:before { 
    letter-spacing: 8px;
} 
*/

/* The next 6 rules should hide some new contribution fields when adding a new record */
td.atiLabel[data-fieldname="GLOBALID"] {
  display: none;
}
td.atiLabel[data-fieldname="GLOBALID"] + td {
  display: none;
}
td.atiLabel[data-fieldname="OBJECTID"] {
  display: none;
}
td.atiLabel[data-fieldname="OBJECTID"] + td {
  display: none;
}
td.atiLabel[data-fieldname="EDITION"] {
  display: none;
}
td.atiLabel[data-fieldname="EDITION"] + td {
  display: none;
}
td.atiLabel[data-fieldname="VISIBLE_NAME"] {
  display: none;
}
td.atiLabel[data-fieldname="VISIBLE_NAME"] + td {
  display: none;
}
td.atiLabel[data-fieldname="DISPLAY_NAME"] {
  display: none;
}
td.atiLabel[data-fieldname="DISPLAY_NAME"] + td {
  display: none;
}
td.atiLabel[data-fieldname="PUBLISH"] {
  display: none;
}
td.atiLabel[data-fieldname="PUBLISH"] + td {
  display: none;
}

/* More styling for the new contribution page */
td.atiLabel {
  vertical-align: top;
  text-align: right;
  width: 50%;
  padding: 0.5em;
}

td.atiLabel ~ td {
  vertical-align: top;
}

textarea.atiField {
  width: 40em;
  height: 6em;
}

.esriAttributeInspector .atiLayerName {
  /*zoom:2;*/
  font-size: 0.8em;
  padding-left: 5px;
  content: "";
}

.esriAttributeInspector .atiLayerName::before {
  content: "Adding to ";
}

.esriAttributeInspector .atiLabel {
  font-size: 0.8em;
}

div#_uploadForm {
  font-size: 0.8em;
}

div#esri_dijit_editing_AttachmentEditor_0 {
  font-size: 0.8em;
}

div#layerListDiv span {
  font-size: 10pt !important;
  font-weight: bold;
  line-height: 1.5em;
  clear: both;
  font-style: italic;
}

div#layerListDiv br {
  clear: both;
}

div#layerListDiv input[type="checkbox"] {
  float: left;
  height: 18px;
  width: 18px;
}

.attachmentEditor > div > form::after {
  font-size: 0.8em;
  content: " (While most image formats are accepted, please try to restrict uploads to JPEG format. Adobe PDF documents and mp3 audio files can also be attached)";
}
.infoOverlay {
  position: absolute;
  top: 4px;
  left: -22px;
  background-color: white;
  border: 1px solid black;
  padding: 2px;
  border-radius: 16px;
  margin-left: 100%;
}

#mapView input {
  cursor: pointer;
}
#btnTrackLocation:hover,
#btnAddressSearch:hover {
  background-color: #eee;
}

.file-solid-icon {
  display: inline-block;
  width: 12px;
  height: 18px;
  margin: 0 10px -2px 2px;
  background: center / contain no-repeat url(../help-content/images/file-solid.svg);
}

.caption-text {
  font-style: italic;
  color: #666;
  display: block;
}
#helpLinks li > a::before {
  content: url(../images/caret-right-solid.svg);
  margin: 0 10px 0 -10px;
  display: inline-block;
  width: 8px;
  vertical-align: text-top;
}
