.special-message {
  padding: 10px;
  background-color: #dbccbd;
}
.hide-desktop {
  display: none;
}
.main-content {
  background: #fff;
}
.gray-bg {
  background: #f2f2f2;
}
.main-primary {
  padding-top: 20px;
}
.main-content h2 {
  font-weight: bold;
}
figure {
  background: none;
  border: none;
}
.left {
  padding: 15px 40px 10px 40px;
  margin-right: auto;
}
.left h2 {
  font-size: 2rem; 
  font-weight: bold;
}
.right {
  margin-left: auto;
  padding-right: 0;
}
.data-viz-container {
  display: flex;
}
.description {
  border-top: 2px solid white;
  color: black;
  display: flex;
  flex-direction: column;
  font-size: 1.0625rem;
  /*justify-content: center;*/
}
#droughtIndicatorBtn, #hydroUpdate {
  font-weight: bold; 
  border-radius: 8px; 
  width: 100%; 
  font-size: 1.25rem;
  padding: 10px 15px 10px 15px;
  margin: auto;
}
#hydroUpdate {
  margin-top: 15px;
}
#hydroDroughtIndexMap {
  display: flex; 
  justify-content: end; 
  height: 435px;
}
#hydroDroughtIndexMap img {
  height: 98%; 
  width:55%; 
  margin-left: 15%;
}
#hydroDroughtIndex-legend {
  left: 11%; 
  bottom: 75px;
}
.map-link.active {
  text-decoration: underline;
}
.toggle-content {
  width: 92%;
  display: flex;
  margin: auto;
  justify-content: space-between;
}
.midSection h2{
  color: #026b9a;
  font-weight: bold;
}
.snapshot {
  width: 60%;
}
.map-area {
  border: 2px solid #ada3a0;
  margin-top: 0;
  padding-bottom: 10px;
}
.more-info-header {
  color: #076e9b; 
  font-weight: bold; 
  white-space: nowrap; 
  margin: auto; 
  padding: 10px; 
  flex: 1 1 0; 
  width: 0;
  text-align: center;
}
.link-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  width: 0;
}
.link-section a {
  margin: 10px;
  width: 90%;
  white-space: normal;
}
.indexHeader {
  position: relative; 
  height: 220px;
}

.dtContainer {
  padding-top: 10px;
}

.menuToggler {
  float: right;  
}
#cali-map {
  width: 75px; 
  cursor: pointer;
}
.search-address {
  margin: 0 auto;
  margin-top: 15px;
  width: 70%;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
#searchAddress {
  width: 75%;
  vertical-align: bottom;
}
.search-address .searchGroup {
  display: flex;
}
.searchExpandContainer, .searchInputGroup, .searchInputGroup input {
  width: 100%;
}
.searchInput {
  border: black 1px solid !important; 
}
.calcite .arcgisSearch .searchClose, .calcite .arcgisSearch .searchSpinner,
#searchAddress, .searchGroup, .searchExpandContainer, .searchAnimate, .searchBtn,
.searchInputGroup, .searchInput{
  height: 22px !important;
}
.calcite .arcgisSearch .searchIcon {
  line-height: 1.66667;
}
.searchBtn {
  display: none !important;
}
.calcite .arcgisSearch {
  box-shadow: none;
}
.search {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
}
.search h3 {
  color: #b37e6c;
  font-weight: bold;
  margin-right: auto;
  margin-left: auto;
  white-space: nowrap;
}
.search h3:before, .search h3:after {
  background-color: #c7c7c7;
  content: "";
  display: inline-block;
  height: 2px;
  position: relative;
  vertical-align: middle;
  width: 30%;
}
.search h3:before {
  right: 0.5em;
  margin-left: -30%;
}
.search h3:after {
  left: 0.5em;
  margin-right: -30%;
}
.search-options {
  display: flex;
  width: 100%;
  justify-content: center;
  flex-direction: row;
}
.search-options h4 {
  color: #381b12;
  font-weight: bold;
}
.search-bar, .search-map {
  padding: 5px 20px 5px 20px;
  background-color: #fff;
  border-radius: 15px;
}
.search-bar {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  margin-left: auto;
  width: 60%;
}
.search-map {
  display: flex;
  justify-content: space-around;
  margin-left: 15px;
  width: 60%;
}
.view-btn {
  background-color: #bf8673;
  color: white;
  font-weight: bold;
  padding: 0px 20px 0px 20px;
  border-radius: 9px;
  width: fit-content;
}
.links {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: fit-content;
  background: #ebebeb;
}
.links p, .links a {
  font-weight: bold;
}
.mobile-map-area {
  display: none;
}
.map-link {
  font-size: .90rem;
  text-transform: uppercase;
  color: #026b9a;
  margin-right: auto;
  flex: 1;
  white-space: nowrap;
  padding: 10px;
}
.map-link img {
  margin-right: 2px;
}
.map-link.active {
  font-size: 1rem;
  text-decoration: none;
  color: black;
  background: rgb(176, 205, 221);
}
.map-link:hover, .map-link:focus {
  color: black;
}
.moredataBtn{
  font-weight: bold;
  font-size: 0.9375rem;
  padding: 5px;
  background: #b0cddd;
  color: #076e9b;
  border-left: 7px solid;
  text-align: left;
  border-radius: 0px;
  display: flex;
  align-items: center;
  height: 50px;
}
.moredataBtn:hover {
  background: #076e9b;
  color: white;
  border-left: 7px solid #076e9b;
}
.toggle-right .moredataBtn {
  display: flex;
  margin-left: auto;
}
.moredataBtn .glyphicon-chevron-right {
  vertical-align: middle;
  margin-left: auto;
}
.blue-card {
  font-size: 0.9375rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
}
.blue-card .card-header {
  background: white;
  border-radius: initial;
  color: #3b1f15;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 1px solid rgba(0,0,0,.125);
  text-align: left;
  font-size: 1.125rem;
  font-weight: bold;
}
.blue-card h5 {
  width: 100%;
  font-size: 1.125rem;
  font-weight: bold;
  color: #026b9a;
}

.card-body {
  background: white;
  border-radius: 10px;
  padding: .8rem;
  padding-right: 0;
  font-size: 1rem;
}

.watershed-name {
  margin-bottom: 5px;
  color: #026b9a;
  font-weight: bold;
}
.legendtext {
  font-size: 0.6875rem!important;
} 
.card label {
  font-weight: bold;
}
#precipitation-legend {
  bottom: 65px;
}
#precip-table {
  margin-bottom: 10px;
  width: 100%;
}
#precip-table td {
  padding: 5px;
}
#precip-table thead{
  background: #efefef !important;
  color: #979797 !important;
  text-transform: uppercase;
  font-weight: bold;
}
.pct-label {
  text-align: center;
}
#precip-table tbody tr {
  border-bottom: 2px solid #e8e8e8;
}
#precip-table tbody tr:last-child {
  border-bottom: none;
}
.per-color {
  height: 15px;
  display: inline-block;
  margin-right: 3px;
}
.toggle-right {
  width: 40%;
  position: relative;
  margin-left: auto;
}
.toggle-left {
  width: 58%;
  position: relative;
}
.data-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10px;
  background: white;
  height: 100%;
}

.dygraph-ylabel {
  white-space: nowrap;
}
.dygraph-legend {
  top: 100% !important;
  left: 20px !important;
  width: inherit !important;
}

.map {
  height: 600px;
}
div.legend {
  position: absolute;
  bottom: 1px;
  left: 25px;
  background: white;
  /*z-index: 999;*/
}

.legend img {
  max-height: 300px;
}
g.legend {
  max-width: 100px;
}
.bg {
  fill: rgba(0, 0, 0, 0)!important;
  max-width: 100px;
}
.g-xtitle {
  overflow: visible;
}
#image-legend {
  vertical-align: bottom;
}
#image-map {
  height: 700px;
  width: 700px;
}
.img-container {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
}
.img-container h1 {
  font-size: 2.375rem;
}

#legend-container img {
  max-height: 300px;
}
#legend-container {
  display: none;
  background: #fff;
  color: #444;
  position: absolute !important;
  font-family: arial;
  left: 300px;
  margin: 5px;
  bottom: 10px;
  min-width: 150px;
  z-index: 40;
  font-size: 0.875rem;
}

.well-graphics {
  display: flex; 
  width: 100%;
}
#monitor-well {
  width: 100%;
}
#wells-reported {
  width: 100%; 
  height: 134px;
}

#hydroDroughtIndex-legend img{
  max-height: 290px;
}
.btn-container {
  display: flex; 
  flex-direction: column; 
  margin: auto; 
  width: max-content;
}

.drought-description {
  display: flex; 
  flex-direction: column; 
  font-size: 1.1875rem;
}

@media (max-width: 1500px) {
  #hydroDroughtIndex-legend {
    left: 8%;
  }
}
@media (max-width: 1280px) {
  .search h3:before, .search h3:after {
    width: 20%;
  }
  .search h3:before {
    margin-left: -20%;
  }
  .search h3:after {
    margin-right: -20%;
  }
  #hydroDroughtIndexMap img {
    width: 58%;
    margin-left: 26%;
  }
  #hydroDroughtIndex-legend {
    left: 0%;
    bottom: 92px;
  }
  .map-link {
    white-space: normal;
  }
  .links, .map-link {
    height: 84px;
  }
  .map-link img {
    display: block;
  }
}
@media (max-width: 1250px) {
  .search-options {
    width: 80% !important;
  }
}
@media (max-width: 992px) {
  .container {
    width: 100% !important;
  }
  .search-options {
    width: 100% !important;
  }
  .right img {
    height: 100% !important;
  }
  #hydroDroughtIndexMap img {
    width: 45%;
    margin-left: 13%;
  }
}
@media (max-width: 900px) {
  .right {
    width: 100%;
    margin-top: 10px;
  }
  .left {
    width: 100%;
  }
  .intro {
    flex-direction: column;
  }
  .desc-search {
    flex-direction: column;
  }
  .snapshot, .search {
    width: 100% !important;
  }
  .search-bar, .search-map {
    width: 42%;
  }
  .toggle-content {
    flex-direction: column;
  }
  .toggle-right, .toggle-left {
    width: 100%;
  }
  .moredataBtn {
    display: flex;
    margin: auto;
  }
  .map-link {
    padding: 0px;
  }
  .more-info-header, .link-section {
    width: 100%;
    flex: 1;
  }
  .more-info {
    flex-direction: column;
  }
  .link-section a {
    width: 70%;
  }
}
@media (max-width: 850px) {
  #hydroDroughtIndexMap {
    height: 334px;
  }
  #hydroDroughtIndex-legend {
    left: 0%;
    bottom: 100px;
  }
  #hydroDroughtIndex-legend img {
    max-height: 260px;
  }
  .links {
    height: 100%;
    flex-direction: column;
  }
  .links, .map-link {
    height: 100% !important;
    width: 100%;
    text-align: left;
  }
  .map-link img {
    display: inline !important;
  }
}
@media (max-width: 650px) {
  #hydroDroughtIndexMap img {
    width: 55%;
    margin-left: 35%;
  }
  #hydroDroughtIndex-legend img {
    width: 90%;
  }
}

@media only screen and (max-width: 600px) {
  .branding {
    padding-top: 10px;
  }
  .container {
    padding: 0;
  }
  .hide-mobile {
    display: none;
  }
  .hide-desktop {
    display: block;
  }
  .gray-bg {
    background: white;
  }
  h2 {
    font-size: 1.375rem;
  }
  .left {
    padding: 0;
  }
  .left h2 {
    font-size: 1.375rem;
    padding: 0px;
    text-align: center;
  }
  .search h3:before, .search h3:after {
    display: none;
  }
  .search-bar, .search-map {
    width: 50%;
  }
  .search-options {
    width: 100% !important;
    flex-direction: row;
    padding: 5px;
  }
  .search-map {
    margin-left: auto !important;
    border-left: 1.5px solid black;
    border-radius: 0px;
  }
  .search-bar {
    border-right: 1.5px solid black;
    border-radius: 0px;
  }
  .view-btn {
    padding: 0px 10px;
  }
  #cali-map {
    width: auto;
    margin: auto;
  }
  .right {
    padding-right: 15px;
  }
  .drought-map {
    width: 100%;
  }
  #hydroDroughtIndexMap {
    height: 250px;
  }
  #hydroDroughtIndexMap img {
/*    height: 80%;
    width: 60%;*/
    margin: auto;
    margin-right: 10px;
  }
  #hydroDroughtIndex-legend {
    bottom: 33%;
    background: none;
  }
  #hydroDroughtIndex-legend img {
/*    width: 62%;
    height: 100%;*/
    width: 120px;
    height: 160px;
    max-height: 260px;
  }
  .drought-map figcaption {
    font-size: 0.75rem !important;
  }
  .drought-description {
    font-size: 1.0625rem;
  }
  .btn-container {
    flex-direction: row;
    width: 100%;
    margin: 0;
  }
  #droughtIndicatorBtn, #hydroUpdate {
    width: 50%;
    background: none;
    border: none;
    color: #2F77A0;
    font-weight: normal;
    white-space: normal;
    padding: 0;
    text-decoration: underline;
  }
  #droughtIndicatorBtn {
    margin-right: 20px;
  }
  #hydroUpdate {
    margin-top: 0px;
  }
  .data-viz-row {
    margin-bottom: 0!important;
  }
  .data-viz-container {
    display: block;
  }
  .data-viz-container .graphics, .data-viz-container .graphics .col-md-6{
    padding: 0;
  }
  .snow-graphic {
    margin-top: 15px;
  }
  .well-graphics {
    flex-direction: column;
  }
  #monitor-well {
    width: unset;
  }
  #wells-reported {
    /*width: 105%;*/
  }
  #wells-reported .col-md-12 {
    /*padding: 0;*/
  }
  .desktop-map-area {
    display: none;
  }
  .mobile-map-area {
    display: block;
    position: relative;
    border: none;
  }
  center {
    height: 32px;
  }
  .map-mask {
    position: absolute; 
    width: 100%; 
    height: 100%; 
    z-index: 9;
  }
  .mobile-map-area .map {
    height: 450px;
  }
  .mobile-map-area .map-link {
    display: none;
  }
  .mobile-map-area .map-link.active {
    display: block;
  }
  .mobile-map-area .toggle-content {
    margin-bottom: 0;
    margin-top: 0;
  }
  div.legend {
    left: 10px;
  }
  .legend img {
    max-height: 155px;
  }
  .mobile-map-area #precipitation-legend {
    bottom: 0;
  }
  .swiper-wrapper {
    min-height: 450px;
  }
  .swiper-button-next, .swiper-button-prev {
    top: 250px;
    color: black;
  }
}
@media only screen and (max-width: 425px) {
  #hydroDroughtIndexMap img {
    height: 80%;
    width: 60%;
  }
}
/*@media (max-width: 500px) {
  #hydroDroughtIndexMap img {
    height: 78%;
    width: 102%;
    margin: auto;
  }
  #hydroDroughtIndex-legend {
    position: unset;
    width: fit-content;
    margin: auto;
  }
  #hydroDroughtIndex-legend img {
    width: 100%;
    height: 100%;
  }
}*/