.caption-overlay {
    position: absolute;
    padding: 0.5em 0.5em 0.5em 1em;
    background: rgba(255,255,255,0.66);
    z-index: 99999;
    margin: 1em 0 0 0em;
    border-radius: 0px 6px 6px 0px;
    color: #000;
    font-size: 12px;
}



/* ===== AUTOCOMPLETE STYLES ===== */

body div.autocomplete {
  line-height: 140%;
  padding: 0.25em;
  background: #FFF;
  border: 1px solid #666;
  text-align: left;
  width:100% !important;
}
  div.autocomplete>div {
    padding: 0.2em 0;
    width:100% !important;
  }
  div.autocomplete>div.selected {
    color: #03447A;
    background: #DFDFDF;
  }

  div.autocomplete-w1 div.autocomplete {
    overflow-y: auto;
    height: 350px;
  }





.sidebarM {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: #f7f7f7;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebarM a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebarM a:hover {
  color: #818181;
}

.sidebarM .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 14px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
/*@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
  .filterButton {}
}

@media screen and (min-height: 451px) {
  .sidebar {display:none;}
   .filterButton {display:none;}
}*/

@media screen and (max-width: 950px) {
  .sidebarM {padding-top: 15px;}
  .sidebarM a {font-size: 18px;}
  .filterButton {}
}

@media screen and (min-width: 951px) {
  .sidebarM {display:none;}
   .filterButton {display:none;}
}

/* Dropdown indicator on single-value select fields */
select:not([multiple]):not([size]),
select[size="1"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 14px 10px;
	padding-right: 2.1rem !important;
	cursor: pointer;
}

select:not([multiple]):not([size])::-ms-expand,
select[size="1"]::-ms-expand {
	display: none;
}

/* Keep desktop nav items on one line at iPad landscape widths */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  #header .header-nav-main nav > ul#mainNav {
    display: flex;
    flex-wrap: nowrap;
  }

  #header .header-nav-main nav > ul#mainNav > li > a {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
}


