html,
body,
#map {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 300;
  font-style: normal;
  font-size: 13px;
}

img {
  border-style: none;
}

*:focus {
  outline: none;
}

/* RESPONSIVE DESIGN MEDIA QUERIES */

/* Desktops and laptops */

#HeaderBarDesktop {
  top: 10px;
  left: 10px;
  position: absolute;
  /* border-top-right-radius: 20px; */
  height: 170px; /*167px;*/
  width: 255px;
  z-index: 999;
  overflow: hidden;
  background-color: #002e40;
  font-family: aileron, sans-serif !important;
}

.esriControlsBR {
  right: 70px !important;
}

div.simpleTabs {
  top: 180px;
  left: 10px;
  width: 255px;
  position: absolute;
  z-index: 1000;
  background-color: #002e40;
  border-top: 5px solid #002e40;
}

div.simpleTabsContent {
  position: absolute;
  width: 255px;
  background-color: white;
  z-index: 1000;
  display: none;
}

div.simpleTabsContent.currentTab {
  display: block;
}
div.modePanelTitle {
  background-color: #002e40;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  color: white;
  font-size: 1.6em;
  font-weight: 600;
  position: relative;
}

div.modePanelContent {
  padding: 10px;
}

div.modePanelTools {
  background-color: #ad9c70;
  border-top: 0px solid #bdc3c7;
}

/*div.headerLogo {
  background-image: url("../img/title.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 10px;
  margin-left: 10px;
  height: 60px;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src='../img/title.png', sizingMethod='scale');
  -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='../img/title.png', sizingMethod='scale')";
}*/

.desktopHeading {
  position: absolute;
  left: 10px;
  top: 90px;
  z-index: 150;
  color: white;
  font-size: 20pt;
}

img.bgsLogo {
  width: 65%;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 150;
}

#URActionBar {
  right: 10px;
  top: 10px;
  position: absolute;
  z-index: 150;
}

#coordsScale {
  border: none;
  text-align: center;
  font-family: inherit;
  font-size: 10px;
  color: white;
  display: inline-block;
  background: #002e40;
  top: 65px;
  right: 70px;
  position: absolute;
  z-index: 150;
  padding: 3px;
  width: 120px;
  padding-bottom: 5px;
}

.scalebar_bottom-left {
  bottom: 5px !important;
  left: 10px !important;
}

#locationSearch {
  top: 140px !important;
  left: 20px !important;
  position: absolute;
  z-index: 2000;
}

#locationTbox::-ms-clear {
  display: none;
}

/* Overriding ESRI Geocoder */

.simpleGeocoder .esriGeocoder {
  display: block;
  width: 100%;
  margin: 0;
  border: 0px solid #57585a !important;
  background: #3087c1 !important;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.simpleGeocoder .esriGeocoderContainer {
  width: 235px !important;
  font-size: 12px;
  line-height: 16px;
  /* font-family: aileron, sans-serif !important;  */
}

.simpleGeocoder .esriGeocoder input {
  outline: 0;
  display: block;
  border: 0;
  border-collapse: collapse;
  vertical-align: middle;
  font-size: 12px;
  /* font-family: aileron, sans-serif !important;  */
  line-height: 16px;
  margin: 0;
  padding: 6px 0;
  float: left;
  color: white !important;
  background: none;
  margin: 0 6px;
  width: 160px !important;
}

.simpleGeocoder .esriGeocoder .esriGeocoderSearch {
  cursor: pointer;
  margin-left: 6px;
  background: url('../img/esri/simpleGeocoder.png') no-repeat 0 0 !important;
}

.simpleGeocoder .esriGeocoderLoading .esriGeocoderReset {
  background: url('../img/ajax-loader.gif') center center no-repeat !important;
}

/* End of ESRI geocoder*/

.esriSimpleSliderTR {
  top: 102px !important;
  right: 10px !important;
}

#HomeButton {
  position: absolute;
  top: 65px;
  right: 10px;
  z-index: 50;
}

.HomeButton .home {
  padding: 2px;
  width: 26px !important;
  height: 26px !important;
  background-color: #002e40 !important;
  border: 2px solid #002e40 !important;
  color: #e9f6fd !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  background-image: url('../dijit/images/home.png');
  background-position: center center;
  background-repeat: no-repeat;
}

/* Features to hide */
#HeaderBarMobile,
#footerBar {
  display: none;
}

/* End of Desktops and laptops */

/* Smartphones  */

@media all and (max-width: 768px) {
  /*
  #HeaderBarMobile {
    top: 0px;
    left: 0px;
    height: 40px;
    width: 100%;
    position: absolute;
    background-color: #002E40;
    border-bottom: 1px solid #fff;
    border-left: 0px solid #fff;
    border-right: 0px solid #fff;
    background-image: none !important;
    z-index: 999;
    border-radius: 0px;
  }

  div.headerLogo {
    background-image: url("../img/titleShort.png");
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 9px;
    height: 21px;
    text-align: center;
    background-position: center;
  }

  #footerBar {
    bottom: 0px;
    left: 0px;
    height: 42px;
    width: 100%;
    position: absolute;
    background-color: #002E40;
    border-top: 1px solid #fff;
    border-left: 0px solid #fff;
    border-right: 0px solid #fff;
    z-index: 50;
  }

  .esriSimpleSliderBL {
    bottom: 53px !important;
    left: 10px !important;
  }

  #HomeButton {
    position: absolute;
    bottom: 122px;
    left: 10px;
    z-index: 50;
  }
	*/

  /* Features to hide */
  /*#key, .esriAttribution, #search, #locationSearch {
    display: none;
  }

  #HeaderBarDesktop, div.simpleTabs, #URActionBar {
    display: none;
  }*/

  /* Features to show */
  /*#HeaderBarMobile, #footerBar {
    display: inline;
  }*/
}

/* End of Smartphones  */

/* =============================== */

#splash {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  background: white;
  background-repeat: repeat;
  z-index: 9000000;
}

.splashLoading {
  background-image: url('../img/loading.png');
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 30%;
  left: 50%;
  width: 128px;
  height: 21px;
  margin-top: -16px;
  margin-left: -55px;
}

#borderContainer {
  width: 100%;
  height: 100%;
}

#mapDiv {
  margin: 0px;
  background-color: #fff;
}

/* ESRI Map elements */

.esriSimpleSlider {
  background-color: #002e40 !important;
  border: 2px solid #002e40 !important;
  color: #e9f6fd !important;
}

.esriSimpleSliderVertical .esriSimpleSliderIncrementButton {
  border-bottom: 2px solid #002e40 !important;
}

.esriSimpleSliderIncrementButton:hover {
  background-color: #002e40 !important;
}

.esriSimpleSliderDecrementButton:hover {
  background-color: #002e40 !important;
}

/*.esriPopup .titleButton.close {
    background-image: url("../img/close_infoWin.png");
    background-position: 0 0 !important;
    height: 20px !important;
    right: 8px !important;
    top: 6px !important;
    width: 20px !important;
}*/

.esriPopup {
  /* font-family: aileron, sans-serif !important;  */
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13pt;
}

.esriPopup .titleButton.maximize {
  display: none !important;
}

.esriPopup .titlePane {
  background-color: #002e40 !important;
  border-bottom: medium none;
  border-left: 1px solid #999999 !important;
  border-radius: 5px 5px 0 0;
  border-right: 1px solid #999999 !important;
  border-top: 1px solid #999999 !important;
  color: #ffffff;
  cursor: default;
  line-height: 30px !important;
  padding-left: 6px;
}

.esriPopup .titleButton.close {
  top: 4px !important;
  right: 4px !important;
  background-position: 0 0px !important;
  background-image: url('../img/close_dialog.png');
  width: 24px !important;
  height: 24px !important;
}

.esriOverviewMap.ovwBR .ovwContainer {
  border-left: 1px solid #002e40 !important;
  border-top: 1px solid #002e40 !important;
}
.esriOverviewMap .ovwContainer {
  background-color: #002e40 !important;
}

/* Content Styling */

p.S {
  font-weight: 300;
}

p.M {
  font-weight: 400;
}

p.LG {
  font-weight: 600;
}

p.TITLE {
  font-weight: 600;
  font-size: 1.4em;
}

p.SUBHEAD {
  font-size: 1.2em;
}

/* TAB NAVIGATION */

ul.navbar {
  margin: 0;
  padding: 0;
  list-style: none;
  display: table;
  width: 100%;
  height: 40px;
}

ul.navbar li {
  display: table-cell;
  margin: 0;
  padding: 0;
  text-align: center;
  opacity: 0.3;
  /*padding-top: 5px;*/
}

ul.navbar li:hover {
  background-color: #5c6875;
}

ul.navbar li.active {
  background-color: #002e40;
  opacity: 1;
}

ul.navbar li a {
  display: block;
}

ul.navbar:nth-child(1) ul {
  display: list-item;
}

/* CONTEXT PANEL TOOL TABS */

ul.panelTools {
  margin: 0;
  padding: 0;
  list-style: none;
  display: table;
  width: 100%;
  height: 25px;
  border: 0px solid #999;
  font-size: 11pt !important;
}

ul.panelTools li {
  display: table-cell;
  margin: 0;
  padding: 5px;
  text-align: center;
  font-weight: 600;
}

ul.panelTools li:hover {
  background-color: #bdc3c7;
  color: white;
}

ul.panelTools li:active {
  background-color: #95a5a6;
}

ul.panelTools li a {
  display: block;
  color: white;
  text-decoration: none;
}

ul.panelTools li a:active {
  color: white;
}

/* DIALOGS */

#baseMapGalleryDiv {
  padding: 10px 0px 0px 15px;
  background-color: white;
  width: 377px;
  height: 216px;
}

#basemapDlg {
  background-color: white !important;
}

.dojoxDialogCloseIcon,
.dojoxDialogCloseIconHover {
  background: url('../img/close.png') no-repeat top right !important;
  position: absolute;
  vertical-align: middle;
  left: -25px !important;
  top: -25px !important;
  height: 38px !important;
  width: 38px !important;
  cursor: pointer;
  z-index: 999;
}

.claro .dijitDialog {
  border: 1px solid #7f8c8d !important;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  background-color: #ffffff !important;
}

/* BUTTONS */

.gOffshoreBtn {
  border: none;
  font-family: inherit;
  font-size: 10px;
  color: white;
  background: #002e40;
  cursor: pointer;
  padding-top: 2px;
  padding-left: 5px;
  padding-bottom: 5px;
  padding-right: 5px;
  display: inline-block;
  outline: none;
  position: relative;
  width: 60px;
}

#mapLayersPT {
  /*border-top-right-radius: 20px;*/
  width: 365px;
}

#mapLayersPC {
  width: 360px;
  background-color: white;
  max-height: 500px;
  overflow-y: auto;
  padding-left: 15px;
  /*border-bottom-right-radius: 20px;*/
}

.groupLayerImg {
  cursor: pointer;
  position: relative;
  top: 1px;
}

div label {
  position: relative;
  bottom: 2px;
}

.hideShowPanel {
  position: absolute;
  right: 10px;
  top: 9px;
  cursor: pointer;
  width: 20px;
}

.claro .dijitDialogTitleBar {
  background-color: #002e40 !important;
  background-image: none !important;
  background-repeat: repeat-x;
  border: none !important;
  font-weight: bold;
  padding: 5px 7px 4px;
}

.claro .dijitDialog {
  border: none !important;
  /*border-radius: 5px;*/
  /* border-top-right-radius: 15px; */
}

.claro .dijitDialogPaneContent {
  padding: 0px !important; /*10px 10px 0!important;*/
}

.claro .dojoxGrid .dojoxGridCell {
  border-color: #6c7a89 !important;
}

.claro .dojoxGridRow {
  background-color: #ffffff;
}

.claro .dojoxGridRowOdd {
  background-color: #e9e9e9;
}

.claro .dojoxGridRowOver {
  background-color: #fff600;
}
.claro .dojoxGridCellFocus {
  border-color: white;
}
.claro .dojoxGridCellOver {
  border-color: blue;
}
.claro .dojoxGridHeader {
  background-color: #7f8c8d !important;
}

.claro .dojoxGridHeader .dojoxGridCell {
  border-style: solid;
  border-width: 1px;
  border-color: #6c7a89 !important;
  color: #ffffff;
  text-align: center;
  background-image: none !important;
  background-color: #6c7a89 !important;
}

.claro .dojoxGridHeader .dojoxGridCellOver {
  background-image: none !important;
  background-color: #5c6875 !important;
}

/*#7f8c8d #95a5a6 #5c6875 */

.claro .dijitTabContainerTop-tabs .dijitTabChecked {
  background-image: none !important;
  /*border-radius: 2px 15px 0 0!important;*/
  background-color: #002e40 !important;
  border-color: #002e40 !important;
  font-weight: bold;
}
.claro .dijitTabContainerTop-tabs .dijitTab {
  background-image: none !important;
  background-color: #808082;
  color: #ffffff;
  border-color: #808082;
}

.claro .dijitTabContainerTop-dijitContentPane,
.claro .dijitTabContainerLeft-dijitContentPane,
.claro .dijitTabContainerBottom-dijitContentPane,
.claro .dijitTabContainerRight-dijitContentPane,
.claro .dijitAccordionContainer-dijitContentPane {
  background-color: #002e40 !important;
  border-color: #3087c1 !important;
  padding: 8px;
}

.claro .dijitTabPaneWrapper,
.claro .dijitTabContainerTop-tabs,
.claro .dijitTabContainerBottom-tabs,
.claro .dijitTabContainerLeft-tabs,
.claro .dijitTabContainerRight-tabs {
  border-color: #002e40 !important;
}

.dojoxGridRow {
  border-color: #6c7a89 !important;
  border-width: medium medium 0px !important;
}

.dojoxGridRowbar {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-image: none !important;
  background-color: #6c7a89 !important;
  border-color: #6c7a89 !important;
  border-image: none;
  border-right: 1px solid #6c7a89 !important;
  border-style: none solid solid;
  border-width: 1px 1px 0px !important;
}

.dojoxGridRowbarOver {
  background-color: #5c6875 !important;
}

.dojoxGrid {
  font-family: Geneva, Arial, Helvetica, sans-serif;
  font-size: 11px;
  background-color: #7f8c8d !important;
  /*border-radius: 10px;*/
}

#next:disabled {
  background-color: #002e40;
  background-image: url('../img/next_disabled.png');
  background-repeat: no-repeat;
  border: 0 solid white !important;
  cursor: auto;
  height: 22px;
  padding: 1px 6px !important;
  width: 22px;
}
#next {
  background-color: #002e40;
  background-image: url('../img/next.png');
  background-repeat: no-repeat;
  border: 0 solid white !important;
  cursor: pointer;
  height: 22px;
  padding: 1px 6px !important;
  width: 22px;
}

#back:disabled {
  background-color: #002e40;
  background-image: url('../img/back_disabled.png');
  background-repeat: no-repeat;
  border: 0 solid white !important;
  cursor: auto;
  height: 22px;
  padding: 1px 6px !important;
  width: 22px;
}
#back {
  background-color: #002e40;
  background-image: url('../img/back.png');
  background-repeat: no-repeat;
  border: 0 solid white !important;
  cursor: pointer;
  height: 22px;
  padding: 1px 6px !important;
  width: 22px;
}

#identifyNoResults {
  display: none;
  position: relative;
}

#mapNotifications {
  /*display: none;*/
  position: absolute;
  z-index: 999999999;
  /*top:70px;
	right: 10px;*/
}

.notification {
  position: relative;
  background-color: white;
  background-color: rgba(255, 255, 255, 1);
  padding: 7px;
  font-size: 12px;
  border: 2px solid #002e40;
  border-radius: 4px;
  -webkit-box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.6);
  box-shadow: 3px 3px 2px 0px rgba(0, 0, 0, 0.6);
}

.tip {
  opacity: 0;
  padding: 3px;
  border: 1px solid #002e40;
}

.infoWinField {
  color: #989898;
}

.infoWinLayerName {
  color: #3087c1;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  padding-bottom: 3px;
  border-bottom: 1px solid #3087c1;
}

.closeResults {
  display: none;
}

.noFeatFound {
  background-color: #ffffff;
  color: red;
  text-align: center;
  width: 100%;
  padding-top: 50px;
  height: 100%;
  font-weight: bold;
}

#customSearch {
  display: none;
}

.dialogTitle {
  color: #ffffff;
  background-color: #002e40;
  padding: 5px;
  padding-left: 15px;
  font-size: 16px;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  height: 25px;
}

.helpImg {
  width: 18px;
  background-color: #002e40;
  position: relative;
  top: 6px;
}

.dojoxDialogTitleBar {
  cursor: move;

  padding-top: 5px;
  font-size: 16px;
  height: 25px;
  color: #ffffff;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  background-color: #002e40 !important;
}
.dojoxDialog {
  padding: 0px !important;
  border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  -webkit-border-radius: 0pt !important;
}

.claro .dijitTextBoxFocused .dijitInputContainer {
  background: none repeat scroll 0 0 #bdc3c7 !important;
}

.claro .dijitTextBox,
.claro .dijitInputInner {
  color: #000000 !important;
  background-color: #bdc3c7 !important;
  border: none !important;
  padding: 2px !important;
}

/*
 * Overriding Dojo TextBox and ComboBox
 */

.claro .dijitSelect,
.claro .dijitTextBox {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
}

.claro .dijitSelectHoverFocused,
.claro .dijitTextBoxHoverFocused {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
}

.claro .dijitComboBoxOpenOnClickHover .dijitButtonNode,
.claro .dijitComboBox .dijitDownArrowButtonHover,
.claro .dijitComboBoxFocused .dijitArrowButton {
  background-color: #e9e9e9 !important;
  background-image: none !important;
  border: none !important;
}
.claro .dijitComboBox .dijitArrowButtonInner {
  border: 1px solid #bdc3c7 !important;
}

.claro .dijitMenu .dijitMenuItemHover td,
.claro .dijitMenu .dijitMenuItemSelected td,
.claro .dijitMenuItemHover,
.claro .dijitComboBoxMenu .dijitMenuItemHover,
.claro .dijitMenuItemSelected {
  background-color: #002e40 !important;
  background-image: none !important;
  border-color: #002e40 !important;
  color: #ffffff !important;
}

.dijitPlaceHolder {
  color: black !important;
  opacity: 0.8;
}

#attrSearchDlg .dijitArrowButtonContainer {
  border-width: 0 !important;
}

#locationSearch .dijitTextBox,
#locationSearch .dijitInputInner {
  color: #002e40 !important;
  background-color: white !important;
  border: none !important;
  padding: 0px !important;
}

#locationSearch .dijitInputContainer {
  background: none repeat scroll 0 0 white !important;
}

#searchImg {
  position: absolute;
  left: 4px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: url(../img/esri/simpleGeocoder.png) 0 0;
}

#clearTextImg {
  position: absolute;
  right: 4px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: url(../img/esri/simpleGeocoder.png) 32px 0;
  cursor: pointer;
  display: none;
}
#loadingLocationImg {
  position: absolute;
  right: 4px;
  top: 8px;
  width: 16px;
  height: 16px;
  display: none;
}

/* END OF overriding Dojo TextBox and ComboBox */

.LayerHelp {
  cursor: pointer;
}
.LayerHelp:hover {
  text-decoration: underline !important;
}

/*
 * Overriding Dojo Dialog
 */

.claro .dijitDialogTitleBar {
  background-color: #002e40 !important;
  background-image: none !important;
  border: 0 solid #ffffff !important;
  box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  line-height: 25px !important;
}

.claro .dijitDialogCloseIcon {
  top: 5px;
  background: url('../img/close_dialog.png') no-repeat !important;
  height: 24px !important;
  position: absolute;
  right: 5px !important;
  width: 24px !important;
}

.claro .dijitDialogTitle {
  color: #ffffff !important;
}

/* Class to make dojo dialogs non-modal*/
.nonModal_underlay {
  display: none;
}

/* END OF overriding Dojo Dialog*/

hr.style-eight {
  padding: 0;
  border: none;
  border-top: 1px solid #3087c1;
  color: #3087c1;
  text-align: center;
}
hr.style-eight:after {
  /*content: "***";"§";*/
  display: inline-block;
  position: relative;
  top: -0.6em;
  font-size: 1.5em;
  padding: 0 0.25em;
  background: white;
}

.smallPanelItemFont {
  font-size: 11pt !important;
}

.textNonSelectable {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#loadingLayers {
  position: absolute;
  top: 10px;
  left: 130px;
  display: none;
}

.tourBtn {
  padding: 5px;
  background-color: #002e40;
  color: #ffffff;
  display: inline;
  cursor: pointer;
  border-radius: 4px;
}

.tourBtn:hover {
  opacity: 0.8;
}

.helpH1 {
  text-align: center;
  font-weight: bold;
  color: #002e40;
  width: 100%;
  padding-bottom: 3px;
  border-bottom: 1px solid #002e40;
}

.infoIcon {
  opacity: 0.6;
}

.infoIcon:hover {
  opacity: 1 !important;
}

/*
 * Overwrite Bootstrap tour
 */

.popover-title {
  color: #ffffff !important;
  background-color: #002e40 !important;
}

.btn {
  /*color: #7F8C8D!important;*/
}

.popover {
  padding: 0px !important;
}

.resizable-helper {
  border: 1px dashed black;
}

#layersScaleWarning {
  font-size: 9px;
  margin-left: 28px;
  font-weight: 300;
  font-family: Arial;
}

/*Hide mosaic layers*/
#BackscatterMosaic_layer,
#BackscatterMosaic {
  display: none;
}

/*.dojoxDialogPaneContent{
	overflow: visible!important;
}*/

/* Force help dialog width */
#layerHelpDlg .dijitDialogPaneContent {
  width: 500px !important;
}
