.sb-container * {
  cursor: pointer;
}

.sb-container {
  width: 110px;
  position: absolute;
  top: 15px;
  right: 62px;
  z-index: auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sb-title-active {
  color: rgb(254, 254, 254);
}

.sb-title {
  text-align: center;
  line-height: 32px;
}

.sb-title .esri-icon {
  vertical-align: sub;
  padding-left: 5px;
}

.sb-container-active {
  background-color: rgb(51, 122, 183);
}

.sb-content {
  top: 45px;
  right: -1px;
  /*box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);*/
}

.sb-item {
  border-radius: 0 !important;
  background-image: none !important;
  border: none;
}

.js-sb-item.sb-item.list-group-item.active {
    color: #000;
    font-weight: bold;
}

a.list-group-item:hover {
    /*color: #f5f5f5 !IMPORTANT;*/
    color: #555 !IMPORTANT;
    text-decoration: none !IMPORTANT;
    background-color: #f5f5f5 !IMPORTANT;
}

a.list-group-item.active {
    background-color: #337ab7 !IMPORTANT;
    color: #f5f5f5 !IMPORTANT;
}

@media screen and (min-width: 992px) {
  .sb-container {
    right: 65px;
  }
}

#check-width {
  width: 0;
}

@media screen and (min-width: 768px) {
  #check-width {
    width: 768px;
  }
}

@media screen and (min-width: 992px) {
  #check-width {
    width: 992px;
  }
}

@media screen and (min-width: 1200px) {
  #check-width {
    width: 1200px;
  }
}

.chart-info-selection-item {
  display: none;
}

#info-select {
  width: 220px; 
  display: block;
  margin: 0 auto;
}

#chart-info-analysis-assim {
  /* display: block; */
}

#chart-info {
  max-height: 700px;
  min-height: 600px;
  overflow: auto;
}

#chart-info-selection img {
  max-width: 100%;
  height: auto;
}

#chart-info-selection {
  padding-top: 5px;
}

#chart-container .loading-animation {
  font-size: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 30px 0;
  transform: translate(-50%, -50%);
}



#chart-modal .modal-body .tab-content {
  padding-top: 10px;
}

#chart-modal .modal-body .error-alert {
  position: relative;
}

#chart-modal .modal-body .error-alert > button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

#chart {
  left: 0;
  right: 0;
  top: 0;
  height: 300px;
}

.chart-form-center {
  text-align: center;
}

.chart-rebuild-btn {
  margin-top: .33rem;
  margin-bottom: 0;
}


@media (min-height: 320px) {
  #chart {
    height: 650px;
  }
}

@media (max-width: 450px) {
  .btn-group-vertical>.btn, .btn-group>.btn {
    float: none;
  }
  
  #chart-header {
    display: block !important;
    flex-direction: unset !important;
    align-items: center !important;
    justify-content: normal !important;
  }
  
  #chart-header-right {
    text-align: center;
    width: 100% !important;
    display: block !important;
    flex-direction: unset !important;
    justify-content: unset !important;
    align-items: center !important;
  }
  
  #chart-header-left {
    text-align: center;
    width: 100% !important;
  }
  
  .chart-rebuild-btn {
    margin-top: 5px;
    margin-bottom: 0;
  }

  #chart-container .loading-animation {
    margin: 60px 0;
  }
}

@media (min-height: 760px) {
  #chart {
    height: 550px;
  }
}

#no-chart-notice {
  margin-top: 15px;
  text-align: center;
  font-size: 18px;
  color: #333;
}

#chart-forecast-type-container small {
  font-weight: 400;
}

#chart-data-toggle-button {
  position: absolute;
  top: -42px;
  right: 0px;
  background-image: none;
}

#chart-tab-content-wrapper {
  position: relative;
}

#qv-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 18 rem;
  justify-content: space-between;
}

#chart-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#chart-header-right {
  width: 18%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

#chart-header-right .btn {
  background-image: none !important;
  margin-right: 10px;
}

#chart-header-left {
  width: 82%;
}


/* Medium range forecast button dropdown */

.forecast-dropdown-menu-container > div, .forecast-dropdown-two-menu-container > div {
  border-bottom: 1px solid #aaa;
}

.forecast-dropdown-menu-container div {
  padding: 5px 0 5px 5px;
}
.forecast-dropdown-menu-container div input {
  margin-right: 5px;
}

.forecast-dropdown-menu-container {
  display: none;
  position: absolute;

  /* font-size: 0.9em; */
  text-align: left;
  border-top: 1px solid #337AB3;
  border-bottom: 1px solid #337AB3;
  padding-top: 2;
  margin-bottom: 10;
  box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.2);
  background: linear-gradient(#fafafa, #f0f0f0);
  border-radius: 3;
  z-index: 100;
  width: 100%;
  /*
  // position: 'absolute';
  // padding: '0 4%';
  // marginLeft: -12;
  // display: none
  */
}

.ensemble-btn-hover:hover .forecast-dropdown-menu-container {
  display: block;
}

.medium-range-forecast-btn, .long-range-forecast-btn {
  display: inline-block;
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-shadow: 0 1px 0 #fff;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #f0f0f0;
  border-color: #dbdbdb;
  background-image: linear-gradient(to bottom,#fff 0, #e0e0e0 100%);
}

.forecast-dropdown-two-menu-container { 
  display: none;
  z-index: 105;
  position: absolute;
  min-width: 200px;
  top: 0;
  left: 100%;
  color: #333;
  
  font-size: 14px;
  text-align: left;
  border-top: 1px solid #337AB3;
  border-bottom: 1px solid #337AB3;
  padding-top: 2px;
  /* margin-bottom: 10; */
  box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.2);
  background: linear-gradient(#fafafa, #f0f0f0);
  border-radius: 3px;
  padding: 0 4%;
  text-shadow: 0 1px 0 #fff;
}

.forecast-dropdown-one-menu-container { 
  /* position: absolute; */
  font-size: 14px;
  text-align: left;
  border-top: 1px solid #337AB3;
  border-bottom: 1px solid #337AB3;
  padding-top: 2px;
  /* margin-bottom: 10; */
  box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.2);
  background: linear-gradient(#fafafa, #f0f0f0);
  border-radius: 3px;
  padding: 0 4%;
  text-shadow: 0 1px 0 #fff;
}

.forecast-dropdown-one-menu-container > div {
  border-bottom: 1px solid #aaa;
  padding: 5px 0 5px 5px;
}

.expand-ensemble-members {

}

.forecast-dropdown-two-menu-container > div:last-child,
.forecast-dropdown-one-menu-container > div:last-child {
  border-bottom: none;
}

.expand-ensemble-members:hover {
  background-color: #ccc;
  background-image: rgba(122, 122, 122, 0.2);
}

.expand-ensemble-members:hover .forecast-dropdown-two-menu-container {
  display: block;
}
#active-carousel .item {
  display: none;
}

#iv-header {
  padding-top: 1px;
}

#iv-app-wrapper {
  position: relative;
  height: 300px;
}

@media (min-height: 400px) {
  #iv-app-wrapper {
    height: 370px;
  }
}

@media (min-height: 760px) {
  #iv-app-wrapper {
    height: 600px;
  }
}

#iv-app-wrapper #iv-fullscreen-enter {
  display: inline-block;
}

#iv-app-wrapper #iv-fullscreen-exit {
  display: none;
}

#iv-app-wrapper.fullscreen {
  position: fixed;
  height: auto;
  padding: 15px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 100;
}

#iv-app-wrapper.fullscreen #iv-fullscreen-enter {
  display: none;
}

#iv-app-wrapper.fullscreen #iv-fullscreen-exit {
  display: inline-block;
}

#iv-app {
  position: relative;
  background-color: #fcfcfc;
  border: 1px solid #eee;
  overflow: hidden;
  height: 100%;
}

#iv-app-modal-background {
  position: fixed;
  background-color: #ddd;
  background-color: rgba(221, 221, 221, 0.8);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

#iv-browser-warning {
  display: none;
}

.iv-interface-button {
  text-align: center;
  background-color: rgba(51, 51, 51, 0.5);
  font-size: 18px;
  color: white;
  line-height: 16px;
  z-index: 1;
  padding: 4px 5px;
  cursor: pointer;
}

#iv-fullscreen-button {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

#iv-zoom-in {
  position: absolute;
  right: 15px;
  bottom: 75px;
  padding-left: 6px;
  padding-right: 4px;
}

#iv-zoom-out {
  position: absolute;
  right: 15px;
  bottom: 45px;
}

#iv-legend-toggle {
  position: absolute;
  right: 15px;
  bottom: 105px;
}

#iv-loading .loading-message {
  text-align: center;
}

#iv-loading .loading-message .progress-message {
  display: none;
  vertical-align: middle;
}

#iv-loading .waiting-message {
  text-align: center;
  display: none;
  vertical-align: middle;
}

#iv-image-container {
  position: relative;
}

#iv-placeholder {
  /*visibility: hidden;*/
}

#iv-placeholder > img {
  width: 100%;
  height: auto;
}

#iv-not-found {
  display: none;
}

.iv-bck {
  background-color: #f2f2f3;
}

.iv-row {
  margin-right: -15px !important;
  margin-left: -15px !important;
}

.iv-horizontal-rule {
  background-color: darkgrey;
}

#iv-image-container,
#iv-carousel,
#iv-carousel > .carousel-inner {
  height: 100%;
  background-color: #e0e0e0;
}

.iv-carousel-image {
  margin: auto;
  position: absolute;
}

.iv-list-group {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  display: none;
  overflow-y: scroll;
  z-index: 1;
  border-radius: 0 !important;
  direction: ltr;
  background-color: #fff;
}

.iv-image-menu-open {
  width: 75% !important;
  float: right !important;
}

.iv-list-group > .list-group-item {
  border-left: 3px solid gray;
  border-radius: 0 !important;
  background-image: none !important;
}

.iv-list-group > .list-group-item.success {
  border-left-color: #090;
}

.iv-list-group > .list-group-item.failed {
  border-left-color: #900;
}

#iv-control-container {
  border-bottom: 1px solid #eee;
  z-index: 1;
  position: inherit;
}

#iv-control-container .btn-group,
#iv-control-container .btn {
  border: 0;
  border-radius: 0;
  background-image: none;
  z-index: 1;
}

#iv-interval-container {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1;
  position: inherit;
}

#iv-interval-container-helper {
  padding: 10px;
}

#iv-interval-container-helper::after {
  content: " ";
  display: block;
  clear: both;
  visibility: hidden;
}

#iv-interval-slider {
  margin-top: 7px;
}

#iv-interval-apply {
  background-color: #265a88;
  color: #fff;
  font-weight: bold;
  display: none;
}

.input-group.input-group-sm {
    display: block;
}

#iv-interval-apply .bad-value-indicator {
  display: none;
  cursor: not-allowed;
}

.has-error #iv-interval-apply {
  background-color: #d54d49;
}

.has-error #iv-interval-apply .bad-value-indicator {
  display: inherit;
}

.has-error #iv-interval-apply .button-text {
  display: none;
}

#iv-info {
  color: white;
  font-size: 16px;
  font-weight: lighter;
  background: #333;
  background: rgba(75, 75, 75, 0.95);
  border-color: 1px solid #000;
  text-align: center;
  z-index: 1;
  position: inherit;
}

.iv-info-box {
  padding: 5px 0;
}

#iv-zoom-info {
  display: none;
}

/*
Three dot loading animation
https://martinwolf.org/blog/2015/01/pure-css-savingloading-dots-animation
*/
@keyframes blink {
  0% {
    opacity: 0.2;
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0.2;
  }
}

.loading-animation span {
  animation-name: blink;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.loading-animation span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-animation span:nth-child(3) {
  animation-delay: 0.4s;
}

.iv-legend-img {
  /*padding: 12px 12px 12px 10px;*/
  /*background-color: rgba(255, 255, 255, 0.8);*/
  background-color: #FFFFFF;
  margin-bottom: 15px;
}

#iv-legend {
  bottom: 0;
  right: 0;
  left: 0;
}

@media (max-width: 750px) {
  #iv-app .img-responsive {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
    .input-group.input-group-sm {
        display: table;
    }

    #iv-interval-apply {
      display: block;
    }
}

@media (max-width: 400px) {
    #notification-center {
        margin-top: 500px;
    }
}

.image-viewer-reset-button {
    margin: 25px 0px;
    text-align: center;
}

#layer-list-wrapper {
  right: 15px;
  bottom: 35px;
  position: absolute;
  z-index: 15;
}

#layer-list-container {
  position: relative;
}

/* This prevents the popover from showing in front of an open info pane */
#layer-list-container .popover {
  z-index: 49;
}

#layer-list-control-btn-group {
  min-width: 215px;
  text-align: center;
  background-color: #f2f2f2;
  padding: 0 7px 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  height: 40px;
}

#layer-list-control-btn-group .esri-button {
  width: 50%;
  padding: 8px;
  float: left;
  display: inline-block;
}

#layer-list-control-btn-group .esri-button:first-child {
  border-right: 1px solid rgba(50,50,50,0.25);
}

#layer-list-control-btn-group .esri-button * {
  vertical-align: middle;
  line-height: 18px;
}

#layer-list-control-btn-group .esri-icon {
  float: left;
  width: auto;
}

#layer-list-widget-anchor {
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.3);
}

#layer-list-widget-anchor .esri-layer-list__no-items {
  padding: 5px;
  text-align: center;
  background-color: white;
  margin-top: 5px;
}

#layer-list-toggle-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#layer-list-count {
  margin: 7px 0 0 7px;
  display: none;
}

#layer-list-toggle-container div.esri-button {
  width: auto;
  padding: 0 16px;
}

#layer-list-toggle-container-right {
  display: flex;
}

#layer-list-widget-anchor.esri-layer-list {
  width: 100%;
  overflow-y: auto;
  z-index: 1;
}


/* Webkit scrollbar overrides */
#legend-info-pane-body::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}
#legend-info-pane-body::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}
#legend-info-pane-body .esri-legend {
  overflow-x: hidden;
}

.legend-display-component .empty-placeholder {
  color: #323232;
  background-color: #efefef;
  padding: 6px 7px;
  font-weight: lighter;
  font-size: 14px;
  box-sizing: border-box;
  text-align: center;
  display: none;
}

.legend-display-component .empty-placeholder:only-child {
  display: block;
}

@media screen and (min-width: 992px) {
  #legend-info-pane-body {
    /*max-height: 500px;*/
    overflow-y: auto;
  }
}

#features-info {
  padding-top: 5px;
}

#map-features-report .report-entry {
  border-left: 2px solid #658ca2;
  padding: 0;
  background-color: #fff;
  margin-bottom: 6px;
  box-shadow: #dfdfdf 5px 5px 6px
}

#map-features-report .report-entry-header {
  text-align: center;
  background: #658ca2;
  color: white;
  padding: 2px 8px;
}

#map-features-report .report-entry-header > * {
  font-weight: bolder;
}

#map-features-report .report-entry-content {
  padding: 8px 5px;
}

#features-content-placeholder {
  border-left: 2px solid #8c8c8c;
  padding: 5px;
  margin-bottom: 4px;
  color: #555;
  display: none !important;
}

#features-content-placeholder:only-child {
  display: block !important;
}

#map-features-report .report-entry .full-link {
  margin-top: 5px;
  display: inline-block;
}

@media screen and (min-width: 0) {
  #map-features-report-popover {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
  }
}

@media screen and (min-width: 768px) {
  #map-features-report-popover {
    position: absolute;
    top: 50%;
    right: 0;
    left: initial;
  }
}

#time-btn {
  left: 20px;
  top: 173px;
  color: #f4f4f4;
  z-index: 5;
}

#time-btn a {
  color: #f4f4f4;
  text-decoration: none;
}

#bottomPanel {
  left: 10%;
  right: 10%;
  margin: 0 auto;
  position: absolute;
  bottom: 2.5em;
  z-index: 1;
}

#timeInfo {
  border-radius: 4px;
  border: solid 2px #ccc;
  background-color: #fff;
  display: block;
  padding: 5px;
  position: relative;
  text-align: center;
  z-index: 99;
}

#timeSliderDiv {
  margin-bottom: 5px;
}

div.dijitSliderImageHandle {
  border: 8px solid #337ab7;
}

.dijitSliderProgressBar.dijitSliderProgressBarH {
  background-color: #000;
}

.dijitButtonNode {
  border: 0;
}

.esriTimeSlider span.tsButton {
  background-image: none;
  margin-bottom: 5px;
  border: 0;
}

.esriTimeSlider .dijitButtonNode {
  border: 0;
}

#timeSliderDiv .dijitReset > span.dijitReset.dijitInline.dijitIcon.tsButton.tsPlayButton::before {
  /* Use this style to null out padding, margin, border in your
        template elements so that page specific styles don't break them.
  - Use in all TABLE, TR and TD tags.
  */
  content: "\e072";
  font: 16px "Glyphicons Halflings";
  position: relative;
  top: 1px;
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#timeSliderDiv .dijitReset.dijitIcon.tsPauseButton::before {
  content: "\e073";
  font: 16px "Glyphicons Halflings";
  position: relative;
  top: 1px;
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Rules */

/* Twitter Bootstrap Overrides */
.row {
  padding-top: 0;
  margin: 0;
}

.container {
  padding-left: 0;
  padding-right: 0;
  margin: 0 auto;
  max-width: 1020px;
}

.container .jumbotron {
  border-radius: 0;
  margin-bottom: 0;
  width: 100%;
}

.jumbotron-headline-minor {
  margin-bottom: 0;
}

.jumbotron-headline-major {
  margin-top: 0.15em;
  margin-bottom: 0.5em;
  text-shadow: 0.0625em 0.0625em 0 rgba(0, 0, 0, 0.2);
}

.navbar-default {
  background-color: #fff;
  background-image: none;
  border-radius: 0;
  box-shadow: 0 0 5px 2px #999;
  -webkit-box-shadow: 0 0 5px 2px #999;
  -o-box-shadow: 0 0 5px 2px #999;
  -moz-box-shadow: 0 0 5px 2px #999;
  border-bottom-color: #d7d7d7;
  border-top: none;
  color: #333;
}

.navbar {
  margin-bottom: 0;
  min-height: 0;
}

.navbar-default .navbar-brand {
  padding: 8px;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #eee;
}

.well {
  width: 96%;
  margin: 0 2%;
}

/* Customizations */
body.fullscreen #site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

body.fullscreen #site-main {
  min-width: 100%;
  min-height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#site-main.hover-container {
  box-shadow: -5px 2px 5px 0 #cfd8db, 5px 2px 5px 0 #cfd8db;
  width: 96%;
  margin: 0 auto;
}

#owp-logo {
  width: auto;
  height: 100%;
}

.media-object-optimal {
  width: 100%;
  height: auto;
}

.blue-heading {
  color: #034694;
}

#home-page-jumbotron {
  background: #61a0f7; /* Old browsers */
  background: -moz-linear-gradient(to top, #61a0f7 0%, #034694 100%); /* FF 3.6-15 */ /* stylelint-disable-line function-linear-gradient-no-nonstandard-direction */
  background: -webkit-linear-gradient(to top, #61a0f7 0%, #034694 100%); /* Chrome 10-25, Safari 5.1-6 */ /* stylelint-disable-line function-linear-gradient-no-nonstandard-direction */
  background: linear-gradient(to bottom, #61a0f7 0%, #034694 100%); /* W3C, IE 10+, FF 16+, Chrome 26+, Opera 12+, Safari 7+ */
  filter: progid:dximagetransform.microsoft.gradient(startColorstr="#61a0f7", endColorstr="#034694", GradientType=0); /* IE 6-9 */
  background-size: cover;
  background-position: bottom;
  color: white;
}

#home-page-imagery {
  display: block;
  padding-bottom: 15px;
}

#home-page-imagery img {
  width: 190px;
}

#vision-statement {
  margin-bottom: 1em;
  margin-top: 1em;
  font-weight: 100;
}

.home-page-announcement {
  margin-bottom: 1em;
}

.home-page-announcement:last-child {
  margin-bottom: 0;
}

.home-page-announcement .new-content-subtitle {
  font-size: 21px;
}

.home-page-announcement .new-content-list {
  list-style: none;
  font-size: 18px;
  padding-left: 0;
  font-weight: 100;
}

.pointed {
  position: relative;
}

.pointed::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 0;
  z-index: 2;
  border-top: solid 1em #034694;
  border-left: solid 1.5em transparent;
  border-right: solid 1.5em transparent;
}

.pointed-light {
  position: relative;
}

.pointed-light::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 0;
  z-index: 2;
  border-top: solid 1em #fff;
  border-left: solid 1.5em transparent;
  border-right: solid 1.5em transparent;
}

.pointed-into {
  padding-top: 1em;
}

.content-piece {
  background-color: #034694;
  color: white;
  padding-bottom: 2em;
  text-justify: inter-word;
}

.content-piece-light {
  color: #333;
  background-color: white;
  padding-bottom: 2em;
  text-justify: inter-word;
}

#body-backdrop {
  background-color: #f1fbff;
  padding-top: 2em;
  padding-bottom: 2em;
}

#site-footer {
  background-color: white;
}

.error-page-background {
  background-color: white !important;
}

.ui-widget-header {
  background-color: #6d7274 !important;
}

.ui-dialog-titlebar {
  background-color: #6d7274 !important;
}

.ui-dialog-titlebar-close {
  display: none;
}

.center-text {
  text-align: center;
}

.line-header {
  display: table;
  border-collapse: separate;
  border-spacing: 10px;
  line-height: .05em;
  width: 100%;
  text-shadow: .0625em .0625em 0 rgba(0, 0, 0, .2);
}

.line-header:before, .line-header:after {
  border-top: 1px solid #eee;
  content: '';
  display: table-cell;
  width: 50%;
}

#collapseDiv {
  position: absolute;
  top: 122px;
  left: 15px;
  height: 32px;
  width: 32px;
  background-color: #fefefe;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 33px;
}

#animationDiv {
  position: absolute;
  top: 189px;
  left: 15px;
  height: 32px;
  width: 32px;
  background-color: #fefefe;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 33px;
  visibility: hidden;
}

#homeDiv{
  position: absolute;
  top: 89px;
  left: 15px;
  height: 32px;
  width: 32px;
  background-color: #fefefe;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 33px;
}

#permalink-button {
  position: absolute;
  top: 155px;
  left: 15px;
  height: 32px;
  width: 32px;
  background-color: #fefefe;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 33px;
}

#permalink-button:hover {
  background-color: #f2f2f2;
}

.amcharts-export-menu {
  opacity: 1;
}

#interface-modal {
  z-index: 9999;
}


/*popup menu for AHPS Forecast, Inundation, USGS background*/
.esri-popup__feature-menu {
  left: 0;
  font-size: 12px;
  font-weight: 400;
  position: absolute;
  width: 100%;
  background-color: white;
  color: black;
  z-index: 1;
  max-height: 0;
  opacity: 0;
  height: 0;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.33);
}
.esri-popup__feature-menu-item:hover{
  cursor: pointer;
  background-color: #d0cfd470;
  outline: none;
  border: solid 1px rgba(255,255,255,0.5);
  color: black;
}
.esri-popup__feature-menu-item--selected{
  background-color: white;
  color: black;
}

.esri-popup__feature-menu-item:focus{
  cursor: pointer;
  background-color: #d0cfd470;
  outline: none;
  border: solid 1px rgba(255,255,255,0.5);
}
/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/*popup template for AHPS forecast and AHPS Inundation*/
/*to get rid of the slider*/
.esri-popup--is-docked-top-left .esri-popup__main-container, .esri-popup--is-docked-top-right .esri-popup__main-container, .esri-popup--is-docked-bottom-left .esri-popup__main-container, .esri-popup--is-docked-bottom-right .esri-popup__main-container{
  max-height: 100%;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

body {
  background-color: #f1fbff;
}

body.fullscreen {
  overflow: hidden;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * Adds scroll bars for all OS including MacOS
 * TM 20190409 - refs #59561
 *
 * https://davidwalsh.name/osx-overflow
 */

::-webkit-scrollbar {
  border-radius: 3px;
  width: 6px;
  background-color: #EEEEEE;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  opacity: 0.6;
  background: #999999;
}


/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #eee;
  margin: 1em 0;
  padding: 0;
}

.horizontal-rule-dark {
  color: #333;
  border-color: #333;
}

.inverted-link {
  color: #9be2ff;
}

.inverted-link:hover {
  color: #30ced8;
}

.inverted-link:visited {
  color: #30ced8;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
 resize: vertical;
}

/* ==========================================================================
   output_file_contents changes
   ========================================================================== */

.offootnote {
 font-size: .8em;
 font-style: italic;
}

.ofunordered {
 list-style: none;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browser-upgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
   bs-callout styling
-------------------------------------------------- */

.bs-callout {
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
}

.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}

.bs-callout p:last-child {
  margin-bottom: 0;
}

.bs-callout code {
  border-radius: 3px;
}

.bs-callout + .bs-callout {
  margin-top: -5px;
}

.bs-callout-default {
  border-left-color: #777;
}

.bs-callout-default h4 {
  color: #777;
}

.bs-callout-primary {
  border-left-color: #428bca;
}

.bs-callout-primary h4 {
  color: #428bca;
}

.bs-callout-success {
  border-left-color: #5cb85c;
}

.bs-callout-success h4 {
  color: #5cb85c;
}

.bs-callout-danger {
  border-left-color: #d9534f;
}

.bs-callout-danger h4 {
  color: #d9534f;
}

.bs-callout-warning {
  border-left-color: #f0ad4e;
}

.bs-callout-warning h4 {
  color: #f0ad4e;
}

.bs-callout-info {
  border-left-color: #5bc0de;
}

.bs-callout-info h4 {
  color: #5bc0de;
}

/*
   Esri
   -------------------------------------------------- */
.esri-layer-list__item--invisible-at-scale> .esri-layer-list__item-container,
.esri-layer-list__item--has-children>.esri-layer-list__item-container,
.esri-layer-list__item-container {
    padding-top: 0px;
    padding-bottom: 0px;
    padding: 0px 0px 0px 0px;
}

.esri-layer-list__list--root {
    max-height: 140px;
    overflow: scroll;
    margin-top: 5px;
}

.esri-layer-list__item-actions {
    background-color: #eeeeee;
    color: #222;
}

.esri-layer-list__item-actions-list {
    border-top: 1px solid rgba(50,50,50,0.25);
}

.esri-layer-list__item-action:hover {
    background-color: #cecece;
    color: #222;
}

.map-button-dark {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 30;
  background-color: rgb(119, 127, 132);
  color: #f4f4f4;
  text-align: center;
  line-height: 34px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.esri-button:hover{
  border: none;
}

.esri-map-btn:hover {
  background-color: rgb(109, 114, 116);
  color: rgb(244, 244, 244);
}

element.style {
  user-select: none;
  touch-action: none;
  display: block;
}
.esri-view .esri-view-surface--inset-outline {
  outline: 0;
}
.esri-view .esri-view-surface {
  position: absolute;
  border: none;
  padding: 0;
  margin: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  direction: ltr;
}
div:focus {
  outline: none !important;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:focus {
  outline: none !important;
}
user agent stylesheet
div {
  display: block;
}
.esri-view .esri-view-root {
  position: relative;
  flex: 1 1 100%;
  border: none;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
}
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}
html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
:after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.esri-view .esri-view-surface--inset-outline:focus::after {
  outline: none !important;
}

.esri-zoom {
 z-index: 2;
}


#interface-opacity-btn {
  top: 135px;
  left: 20px;
}

#statistics-content-container {
  padding: 0 10px 10px;
}

.esri-ui .esri-attribution {
  position: absolute;
  bottom: 0;
  left: initial;
  right: 0;
}

.esri-button{
  border: none;
}

.esri-popup--is-docked {
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  margin: 60px 60px 30px 15px;
  animation: esri-docking-animation 250ms ease-out;
}

/*
   Footer
   -------------------------------------------------- */

.footer-column {
  margin-bottom: 1em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column .address {
  margin-bottom: 0;
}

#footer-sn-container {
  text-align: center;
}

.footer-sn-img {
  height: 20px;
}

/*
   Form
   -------------------------------------------------- */

.form-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  max-width: 100%;
}

/*
   Layer Select Modal
   -------------------------------------------------- */

#layer-select-button-container {
  text-align: right;
  margin-top: 5px;
}

.layer-select-row {
  padding: 5px;
}

.layer-select-description {
    max-height: 150px;
    overflow: auto;
}

/*
   Help Modal
   -------------------------------------------------- */
#interface-modal button.close {
  color: white;
  opacity: 1;
  line-height: inherit;
  margin: 0;
  text-shadow: none;
}

.modal-section {
  padding: 0 15px;
  margin-bottom: 15px;
}

.modal-section-text {
  margin-left: 10px;
}

.modal-header .close {
  color: white;
}


.modal-header .close * {
  line-height: 1.4;
}

#modal-layer-selection > .help-content:last-child {
  margin-bottom: 0;
}

#modal-layer-selection h4 {
  margin-bottom: 10px !important;
}

#modal-layer-selection hr {
  margin: 1px 0;
}

#modal-layer-selection legend {
  margin-bottom: 1px !important;
}

.modal-pointer {
  cursor: pointer;
}

.modal-text {
  font-size: large;
}

#modal-welcome-button-container {
  text-align: center;
}

#modal-welcome-button {
  background-image: none;
}

/*
   Main Menu
   -------------------------------------------------- */

#main-menu-button {
  position: absolute;
  top: 15px;
  right: 10px;
  height: 32px;
  width: 48px;
  background-color: #fefefe;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 33px;
  z-index: 2;
}

#main-menu-button .esri-icon {
  line-height: 35px;
}

#main-menu {
  position: absolute;
  right: 10px;
  top: 60px;
  background-color: #fefefe;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  padding: 15px;
  width: 240px;
  overflow-y: auto;
  z-index: 10;
}

#main-menu .list {
  padding-left: 0;
  margin-bottom: 0;
}

#main-menu .list .item {
  background-color: #fefefe;
  cursor: pointer;
  display: inline-block;
  width: 100%;
  padding: 4px;
}

#main-menu .list .item:hover {
  background-color: #f2f2f2;
  color: #2e2e2e;
  padding-left: 6px;
  cursor: pointer;
}

#main-menu .list .item.map-tab-active {
  background-color: #f0f8ff;
  border-left: 2px solid #333;
  padding-left: 7px;
}

#main-menu .list .item .icon {
  font-size: large;
  opacity: .75;
  vertical-align: middle;
}

#main-menu .list .item .label {
  color: black;
  opacity: .75;
  vertical-align: middle;
  white-space: normal;
  line-height: 1.25;
}

#main-menu .list .item + .item {
  margin-top: 6px;
}

/*
   Basemaps Tab
   -------------------------------------------------- */

#basemaps-tab-settings-btn {
  font-size: x-large;
  position: absolute;
  right: 15px;
}

.stats-loading {
  position: absolute;
  top: 0;
  right: 10px;
}

#stats-section {
  position: relative;
}

#basemaps-pane-accordion-legends-panel .panel-body {
  max-height: 660px;
  overflow-y: scroll;
}

/* Medium and Short Range Animation slider*/
#animation_controls {
  position: relative;
  /*bottom: 28px;
  left: 200px;
  */
  background-color: #f0f0f0;
  display: none;
  z-index: 100;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
}


#animation_title_bar {
  background: #8080801c;
}

#animation_indicator{
  font-size: 12px;
  font-family: "Avenir Next W00", "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: inline-block;
  padding: 2px 10px;
}

#animation_remove {
  font-family: "Avenir Next W00", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 8px;
  float: right;
  margin: 2px;
}

#animation_slider-container {
  width: 100%;
}

#animation_custom-handle {
  width: 3em;
  height: 1.6em;
  top: 50%;
  margin-top: -.8em;
  text-align: center;
  line-height: 1.6em;
}

#animation_slider {
  width: 60%;
  display: inline-block;
}

#animation_speed-report{
  font-family: "Avenir Next W00", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  padding: 2px 10px;
}

#animation_action{
  font-family: "Avenir Next W00", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 8px;
  float: left;
  margin: 2px;
}

#animation_speed_up, #animation_speed_down {
   font-family: "Avenir Next W00", "Helvetica Neue", Helvetica, Arial, sans-serif;
   font-size: 8px;
   float: right;
   margin: 2px;
}

/*
   Information Tab
   -------------------------------------------------- */

#AHPS_service_info {
  background-color: #ededed;
  /*opacity: 0.75;*/
  font-family: "Avenir Next W00","Helvetica Neue",Helvetica,Arial,sans-serif;
  color: #323232;
  font-size: 10pt;
  padding: 4px;
  visibility: hidden;
  /*left: 10px;*/
  /*top : 50px;*/
}

#info-tab-settings-btn {
  font-size: x-large;
  position: absolute;
  right: 15px;
}

.stats-loading {
  position: absolute;
  top: 0;
  right: 10px;
}

#stats-section {
  position: relative;
}

#info-pane-accordion-legends-panel .panel-body {
  max-height: 660px;
  overflow-y: scroll;
}

/*
   jQuery
   -------------------------------------------------- */

ul.ui-autocomplete.ui-menu {
  background-color: #fff;
  border-radius: 3px;
  font-size: 12px;
}

ul.ui-autocomplete.ui-menu li {
  background-color: #fff;
  line-height: 1.5;
  padding: 4px;
}

ul.ui-autocomplete.ui-menu li.ui-state-focus {
  background: none #337ab7;
  border: none;
  border-radius: 3px;
  color: #fff;
}

/*
   Map
   -------------------------------------------------- */

#map-welcome-modal-text {
  font-size: medium;
}

.map {
  left: 0;
  position: absolute;
  right: 0;
}

.map .container {
  min-width: 100%;
}

.layer-loading-notification {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 18px;
  transform: translateX(-50%);
  z-index: 1;
  color: white;
  padding: 3px 5px;
  background-color: #ccc;
  background-color: rgba(201, 201, 201, 0.8);
}

#layer-reference-time-container-wrapper {
  position: absolute;
  width: 100%;
  /* left/right padding is slightly different because of the difference 
  in width between +/- buttons and Menu button */
  padding: 0 65px 0 55px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  box-sizing: border-box;
}

#layer-reference-time-container {
  display: none;
  margin-right: auto;
  margin-left: auto;
  width: fit-content;
  max-width: 100%;
}

#layer-reference-time-container .layer-reference-time-label {
  margin: auto;
  background-color: rgba(51, 122, 183, 0.8);
  color: white;
  text-align: center;
  padding: 1px 5px 1px 5px;
  font-size: 11px;
  right: auto;
}

/*
   Map Tab
   -------------------------------------------------- */

.map-tab {
  background-color: #fefefe;
  font-size: medium;
  height: 40px;
  position: absolute;
  text-align: center;
  vertical-align: middle;
  z-index: 50;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.map-tab .esri-icon {
  line-height: 40px;
  top: 0;
}

.map-tab-container {
  background-color: #fefefe;
  border: 1px solid #57585a;
  padding: 0 15px;
  position: absolute;
  z-index: 50;
}

#map-tab-container-bottom {
  left: 0;
}

#map-tab-container-right {
  border-width: 0 0 0 1px;
  bottom: 0;
  right: -280px;
  top: 50px;
  width: 280px;
  overflow-y: auto;
}

#map-tab-container-right > .map-tab-content > .map-tab-content-header-container > span {
  line-height: 59px;
}

#map-tab-container-top {
  border-width: 0 1px 1px 0;
  left: 0;
}

.map-tab-container-wrapper {
  overflow: hidden;
  position: absolute;
}

.map-tab-content {
  padding: 0 0 15px;
}

.map-tab-content .form-group {
  margin-left: 0;
  margin-right: 0;
}

.map-tab-content-header-container {
  background-color: #337ab7;
  border-bottom: 1px solid #57585a;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 0 15px;
  position: absolute;
  right: 0;
  left: 0;
}

#navigation-tab-content .map-tab-content-header-container {
  top: 0;
}

#legend-tab-content .map-tab-content-header-container {
  bottom: 0;
}

#basemaps-tab-content .map-tab-content-header-container {
  bottom: 0;
}

#info-tab-content .map-tab-content-header-container {
  bottom: 0;
}

.map-tab-content-section {
  background-color: #f2f2f3;
  padding: 15px;
  margin: 0 0 15px;
}

.map-tab-content-section:last-child {
  margin: 0;
}

.map-tab-icon {
  width: 100%;
}

.map-tab-top {
  border-width: 1px 1px 1px 0;
}

.map-tab-close-bottom {
  float: right;
  margin-top: 15px;
  cursor: pointer;
}

div.esri-ui-bottom-left.esri-ui-corner {
  display: block;
}

/*#insetDiv {*/
  /*position: absolute;*/
  /*padding: 0;*/
  /*margin: 0;*/
  /*height: 100px;*/
  /*width: 150px;*/
  /*background-color: rgba(255, 255, 255, 0.9);*/
  /*bottom: 10px;*/

/*}*/

/*#insetDiv_prvi {*/
  /*position: absolute;*/
  /*padding: 0;*/
  /*margin: 0;*/
  /*height: 100px;*/
  /*width: 150px;*/
  /*background-color: rgba(255, 255, 255, 0.9);*/
  /*bottom: 10px;*/
  /*left: 153px;*/
/*}*/

#insetDiv {
  position: absolute;
  padding: 0;
  margin: 0;
  height: 70px;
  width: 100px;
  background-color: rgba(255, 255, 255, 0.9);
  bottom: 10px;
}

#insetDiv_prvi {
  position: absolute;
  padding: 0;
  margin: 0;
  height: 70px;
  width: 100px;
  background-color: rgba(255, 255, 255, 0.9);
  bottom: 10px;
  left: 105px;
}

#scaleBar{
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 80px;
}

#scaleBar_bottom{
  padding: 0;
  margin: 0;
  position: absolute;
  bottom: 10px;
  visibility: hidden;
}
/*
   Map Tab Settings
   -------------------------------------------------- */

.map-tab-setting {
  padding: 0 15px;
}

.map-tab-setting-label {
  color: #ccc;
  font-weight: 400;
  line-height: 26px;
  margin: 0;
  padding: 0;
}

.map-tab-settings {
  background-color: #333;
  color: #fff;
  display: none;
  left: 15px;
  padding: 0 15px;
  position: absolute;
  right: 15px;
  z-index: 1;
  text-align: center;
}

#notification-center .close {
  padding-left: 8px;
}

.map-tab-settings-header {
  margin: 0 -15px;
  padding: 15px;
  text-align: center;
}

.map-tab-settings-section {
  padding: 0 15px;
  margin: 0 0 15px;
}

/*
   Navigation Tab
   -------------------------------------------------- */

#navigation-tab-content .map-tab-close-bottom {
  display: none;
}

#navigation-quick-section {
  margin: 0;
}

#remove-location-search-markers-container {
  display: none;
  padding: 0;
}

/*
   Notification Center
   -------------------------------------------------- */

.notification {
  border-radius: 3px;
  font-size: 18px;
  margin: 0 auto 5px;
  padding: 4px 8px;
  display: table;
}

#notification-center {
  left: 0;
  position: fixed;
  right: 0;
  top: 60px;
  z-index: 9998;
  text-align: center;
}

/*
   Section
   -------------------------------------------------- */

.section-content {
  margin: 0 0 15px;
}

.section-content:last-child {
  margin: 0;
}

.section-header-container {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 15px;
  max-width: 100%;
}

.section-content-header-container {
  font-weight: 700;
  margin: 0 0 5px auto;
}

.section-content-header-container > span {
  display: inline-block;
}

/*
  About pages
-------------------------------------------------- */
.truncate-link {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

blockquote.contact {
  font-size: 14px;
}

blockquote.contact hr {
  margin: 10px;
}

address ul {
  list-style-type: none;
  padding-left: 1em;
}

/*
 NWC About Page
 */
.nwc-header img {
  height: 1.5em;
  width: auto;
  vertical-align: middle;
}

.nwc-header > span {
  vertical-align: middle;
}

/*
 NWM About page
*/
#outputVariables {
  cursor: pointer;
}

#outputVariables > li > ul {
  margin-top: 10px;
}

/*
  What's New page
*/

#whats-new-title {
  margin-top: 0;
  padding-top: 0.75em;
}

/*
   Site Header
   -------------------------------------------------- */

#site-navbar {
  z-index: 60;
}

/*
   Twitter Bootstrap
   -------------------------------------------------- */

/*
 * The following "sm" overrides are ordered to match the bootstrap.css
 * source file. Do not change the ordering of any of the "sm" styles.
 */

.input-group-sm input[type="date"],
.input-group-sm input[type="time"],
.input-group-sm input[type="datetime-local"],
.input-group-sm input[type="month"] {
  line-height: 26px;
}

.input-sm {
  height: 26px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
}

select.input-sm {
  height: 26px;
  line-height: 26px;
}

.form-group-sm .form-control {
  height: 26px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
}

select.form-group-sm .form-control {
  height: 26px;
  line-height: 26px;
}

.form-group-sm .form-control-static {
  height: 26px;
  min-height: 28px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
}

.input-sm + .form-control-feedback {
  width: 26px;
  height: 26px;
  line-height: 26px;
}

.btn-sm,
.btn-group-sm > .btn {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
  height: 26px;
}

.input-group-sm > .form-control,
.input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn {
  height: 26px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.5;
}

.input-group-sm > .input-group-btn > .btn {
  height: 26px;
}

select.input-group-sm > .form-control,
select.input-group-sm > .input-group-addon,
select.input-group-sm > .input-group-btn > .btn {
  height: 26px;
  line-height: 26px;
}

.input-group-addon.input-sm {
  padding: 4px 8px;
  font-size: 12px;
}

.navbar-btn.btn-sm {
  margin-top: 14px;
  margin-bottom: 14px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 4px 8px;
  font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.well-sm {
  padding: 6px;
  border-radius: 3px;
}

@media (min-width: 768px) {
  .modal-sm {
    width: 300px;
  }
  
  .form-horizontal .form-group-sm .control-label {
    padding-top: 5px;
  }
}

/*
 * End "sm" overrides
 */

@keyframes spin {
  from {
    transform: scale(1) rotate(0deg);
  }

  to {
    transform: scale(1) rotate(360deg);
  }
}

@-webkit-keyframes spin2 {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

.form-horizontal .control-label {
  line-height: 26px;
}

.form-horizontal .form-group:last-child {
  margin: 0 0 5px !important;
}

.spinning {
  animation: spin 1s infinite linear;
  -webkit-animation: spin2 1s infinite linear;
}

/* popup nwsexit.js modal */
#nwsexit-warning-dialog{
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999999;
}

#nwsexit-warning-dialog-div{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

#nwsexit-warning-dialog-message{
    position: relative;
    width: 600px;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    background: white
}

#nwsexit-warning-paragraph{
    margin-top: 20px;
}

#nwsexit-warning-paragraph a{
    padding: 8px 16px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
    border-radius: 5px;
    background: #034694;
    color: #fff;
}

a#nwsexit-warning-cancel-button {
    padding: 8px 16px;
    font-size: 18px;
    text-decoration: none;
    font-weight: normal;
    margin-right: 20px;
    border-radius:  5px;
    background: #aaa;
    color: #fff;
}

#map-tab-container-bottom {
    border-width: 1px 0 0;
    bottom: 0;
    height: auto;
    max-width: 100%;
    top: 50px;
}

@media screen and (orientation: portrait) {
  #insetDiv {
    height: 50px;
    width: 75px;
    bottom: 45px;
    left: 0px;
  }

  #insetDiv_prvi {
    height: 50px;
    width: 75px;
    bottom: -10px;
    left: 0px;
  }

  #scaleBar{
    bottom: 90px;
    width: 120px;
  }

  #scaleBar_bottom{
    bottom: -20px;
    width: 120px;
  }
}

@media screen and (orientation: landscape) {
  #insetDiv {
    height: 50px;
    width: 75px;
    bottom: -10px;
    left: 0px;
  }

  #insetDiv_prvi {
    height: 50px;
    width: 75px;
    bottom: -10px;
    left: 80px;
  }

  #scaleBar{
    bottom: 45px;
    width: 120px;
  }

  #scaleBar_bottom{
    bottom: -20px;
    width: 120px;
  }
}

@media screen and (height: 1024px) and (width: 1366px) {
  #insetDiv {
    height: 50px;
    width: 75px;
    bottom: 110px;
    left: 0px;
  }

  #insetDiv_prvi {
    height: 50px;
    width: 75px;
    bottom: 110px;
    left: 80px;
  }

  #scaleBar{
    bottom: 160px;
    width: 120px;
  }

  #scaleBar_bottom{
    bottom: 120px;
    width: 120px;
  }
}

/*@media screen and (height: 1366px) and (width: 1024px) {*/
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
    /*bottom: 110px;*/
    /*left: 0px;*/
  /*}*/

  /*#insetDiv_prvi {*/
    /*height: 50px;*/
    /*width: 75px;*/
    /*bottom: 110px;*/
    /*left: 80px;*/
  /*}*/

  /*#scaleBar{*/
    /*bottom: 160px;*/
    /*width: 120px;*/
  /*}*/

  /*#scaleBar_bottom{*/
    /*bottom: 120px;*/
    /*width: 120px;*/
  /*}*/
/*}*/

/*
   Media Queries
   -------------------------------------------------- */
@media screen and (max-width: 570px) {
  #map-tab-container-bottom {
    bottom: 0px;
    height: 0px;
    top: auto;
  }

  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
    /*bottom: -10px;*/
    /*left: 0px;*/
  /*}*/

  /*#insetDiv_prvi {*/
    /*height: 50px;*/
    /*width: 75px;*/
    /*bottom: 45px;*/
    /*left: 0px;*/
  /*}*/

  /*#scaleBar{*/
    /*bottom: 90px;*/
    /*width: 120px;*/
  /*}*/

  /*#scaleBar_bottom{*/
    /*bottom: -20px;*/
    /*width: 120px;*/
  /*}*/


}

@media screen and (max-width: 768px) {
  .map-tab-content-header-container {
    position: relative;
  }
  #nwsexit-warning-dialog-message {
    width: 85%;
    margin-top: 2%;
  }
  #nwsexit-warning-paragraph a{
    font-size: 12px;
    white-space: nowrap;
    margin-right: 5px;
  }

  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
    /*bottom: -10px;*/
    /*left: 0px;*/
  /*}*/

  /*#insetDiv_prvi {*/
    /*height: 50px;*/
    /*width: 75px;*/
    /*bottom: -10px;*/
    /*left: 80px;*/
  /*}*/

  /*#scaleBar{*/
    /*bottom: 45px;*/
    /*width: 120px;*/
  /*}*/

  /*#animation_controls {
    right: 15px !important;
    left: auto;
    bottom: 200px;
    z-index: 10;
    visibility: visible;
    height: 27px;
  }*/

  #animation_indicator {
    display: none;
  }

  #animation_remove {
    display: none;
  }

  #animation_speed-report {
    display: none;
  }

  #animation_slider {
    /*display: none;*/
    width: 78%;
    height: 2px;
    bottom: 10px;
  }
  .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 0.8em;
    height: 0.4em;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
  }

  .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: gray;
  }
}

/*
 * Extra small devices (phones)
 */
@media screen and (max-height: 620px) {
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
  /*}*/
}

@media screen and (max-height: 570px) {
  .esri-layer-list__list--root {
    max-height: 75px;
  }
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
  /*}*/
}

@media screen and (max-height: 420px) {
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
  /*}*/
}

@media screen and (max-height: 320px) {
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
  /*}*/
}


@media screen and (max-width: 400px) {
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
  /*}*/
  /*
   Footer
   -------------------------------------------------- */
  .footer-sn-link {
    margin: 3px;
  }
  
  #map-tab-container-top #legend-tab-content{
    max-height: none !IMPORTANT;
  }
}

@media screen and (max-width: 320px) {
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
  /*}*/
}



@media screen and (max-width: 570px) {
   #nwsexit-warning-paragraph {
       text-align: center;
   }
   #nwsexit-warning-paragraph a {
        font-size: 10px;
   }
   /*#insetDiv {*/
        /*height: 50px;*/
        /*width: 75px;*/
   /*}*/
}

@media screen and (max-width: 359px) {
  /*#insetDiv {*/
    /*height: 50px;*/
    /*width: 75px;*/
  /*}*/
   #nwsexit-warning-paragraph {
       margin-top: 20px;
       text-align: center;
   }
   #nwsexit-warning-paragraph a {
        font-size: 10px;
   }
}



@media screen and (min-width: 0) {
  /*
     Chart
     -------------------------------------------------- */
  #chart-forecast-type-container > div {
    text-align: left;
    margin-bottom: 5px;
  }

  /*
     Footer
     -------------------------------------------------- */
  .footer-column {
    text-align: center;
  }

  .footer-column-last ul {
    margin-bottom: 0;
  }

  #site-footer > .row:first-child {
    margin-top: 15px;
  }


  /*
     Basemaps Tab
     -------------------------------------------------- */

  #basemaps-tab-settings {
    top: 15px;
  }

  #basemaps-tab-content {
    font-size: smaller;
  }

  #basemaps-tab-content .list-group-item {
    border-radius: 0;
    border-top: 1px solid #eee;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background-color: #fcfcfc;
    padding: 8px 12px;
  }

  #basemaps-tab-content .panel-group {
    margin-bottom: 15px;
  }

  #basemaps-pane-accordion .collapse-close,
  #basemaps-pane-accordion .collapse-open {
    float: right;
    font-size: small;
  }

  #basemaps-pane-accordion [aria-expanded="true"] > span.collapse-open,
  #basemaps-pane-accordion [aria-expanded="false"] > span.collapse-close {
    display: none;
  }


  /*
     Information Tab
     -------------------------------------------------- */

  #info-tab-settings {
    top: 15px;
  }

  #info-tab-content {
    font-size: smaller;
  }

  #info-tab-content .list-group-item {
    border-radius: 0;
    border-top: 1px solid #eee;
    border-left: none;
    border-right: none;
    border-bottom: none;
    background-color: #fcfcfc;
    padding: 8px 12px;
  }

  #info-tab-content .panel-group {
    margin-bottom: 15px;
  }

  #info-pane-accordion .collapse-close,
  #info-pane-accordion .collapse-open {
    float: right;
    font-size: small;
  }

  #info-pane-accordion [aria-expanded="true"] > span.collapse-open,
  #info-pane-accordion [aria-expanded="false"] > span.collapse-close {
    display: none;
  }

  #map-tab-container-top #info-tab-content #basemaps-tab-content {
    margin-right: -10px;
    padding-right: 10px;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 50px;
  }

  #map-tab-container-top #legend-tab-content {
    margin-right: -10px;
    padding-right: 10px;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 50px;
  }

  #map-tab-container-bottom #navigation-tab-content {
    padding: 0 0 15px;
    margin-top: 65px;
  }

  /*
     Map
     -------------------------------------------------- */

  .map {
    bottom: 0;
    top: 0px;
  }

  /*
     Map Buttons
     -------------------------------------------------- */
  #open-map {
    margin: 15px 0 0;
  }

  /*
     Map Tab
     -------------------------------------------------- */

  .map-tab-content-header-container {
    background-color: #337ab7;
    border-bottom: 1px solid #57585a;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 0 25px;
  }

  .map-tab {
    left: 0;
    width: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .map-tab-bottom {
    top: -40px;
  }

  #map-tab-container-top {
    border-width: 0 0 1px;
  }

  .map-tab-content-header {
    line-height: 50px;
  }

  .map-tab-icon-text {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    line-height: 38px;
    padding: 0 15px;
    width: 100%;
    text-align: left;
  }

  .map-tab-top {
    bottom: -40px;
  }

  .map-tab-close-right {
    float: right;
    cursor: pointer;
    margin-top: 17px;
  }

  /*
     Section
     -------------------------------------------------- */
  .section-content-col {
    padding-left: 0;
    padding-right: 0;
  }

  /*
     Twitter Bootstrap
     -------------------------------------------------- */
  .form-horizontal .control-label {
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
  }
}

/*
 * Small devices (tablets)
 */

@media screen and (min-width: 768px) {
  /*
     Chart
     -------------------------------------------------- */
  #chart-forecast-type-container > div {
    text-align: center;
  }

  /*
     Footer
     -------------------------------------------------- */
  .footer-column-first {
    text-align: left;
    margin-bottom: 1em;
  }

  .footer-column-last {
    text-align: right;
  }

  #site-footer > .row:first-child {
    margin-top: 15px;
  }

  /*
     Section
     -------------------------------------------------- */
  .section-content-col {
    padding-left: 15px;
    padding-right: 15px;
  }

  /*
     Twitter Bootstrap
     -------------------------------------------------- */
  .form-horizontal .control-label {
    margin-bottom: 0;
    padding: 0 15px;
    text-align: right;
  }
}

/*
 * Medium devices (desktops)
 */

@media screen and (min-width: 992px) {
  /*
     Basemaps Tab
     -------------------------------------------------- */

  #basemaps-tab-settings {
    top: 75px;
  }


  /*
     Information Tab
     -------------------------------------------------- */

  #info-tab-settings {
    top: 75px;
  }

  /*
     Navigation Tab
     -------------------------------------------------- */
  #navigation-tab-content .map-tab-close-bottom {
    display: inherit;
  }

  /*
     Map
     -------------------------------------------------- */

  .map {
    left: 0;
    position: absolute;
    right: 0;
    top: 50px;
  }

  /*
     Map Tab
     -------------------------------------------------- */
  .map-tab-content-header-container {
    background-color: #337ab7;
    border-bottom: 1px solid #57585a;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin: 0 -15px 15px;
    padding: 0 15px;
    position: relative;
  }

  .map-tab-close-right {
    float: right;
    cursor: pointer;
    margin: 0;
  }

  .map-tab {
    left: auto;
    width: 40px;
  }

  .map-tab-bottom {
    border-width: 1px 1px 1px 0;
  }

  #map-tab-container-bottom {
    border-width: 1px 1px 0 0;
    bottom: -413px;
    height: 413px;
    max-width: 900px;
    top: auto;
  }

  .map-tab-content-header {
    line-height: 49px;
  }

  #map-tab-container-bottom #navigation-tab-content {
    padding: 0 0 15px;
    margin-top: 0px;
  }
}

/*
 * Large devices (desktops)
 */

/*
 No rules, so this has to be commented for now.

@media screen and (min-width: 1200px) {}

*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

