/*#awarded-grants-map-container {
    margin: 0;
    min-height: 600px;
}

.loading {
    margin-top: 10em;
    text-align: center;
    color: gray;
}

#awarded-grants-map-container-wrapper {
    overflow: hidden;
    display: inline-block;
    width: 78%;
    float: right;
}

#map-success-story {
    display: inline-block;
    width: 20%;
}

#map-success-story .node__title {
    display: none;
}

.field--name-field-success-story-banner-text {
    clear: both;
}

#map-header {
	width: 100%;
	text-align: center;
}

.custom-control-input {
    position: relative !important;
    left: 0 !important;
    z-index: 0 !important;
    width: auto !important;
    height: auto !important;
    opacity: inherit !important;
}

#imls-maps-map-filter-form fieldset, #imls-maps-map-filter-form .form-item-national-medal-recepients {
    display: inline-block !important;
}*/

/*IMLS MAP TOOLTIP (These are now mostly inline but are kept here for reference)

.highcharts-tooltip{
  top: -9999px !important;
  opacity: 0 !important;
}
.imls-map-popup {
  background-color: #e5e4e4 !important;
  display: inline-block !important;
  border-radius: 2em !important;
  border-top-left-radius: 0 !important;
  font-family: "Open Sans Condensed" !important;
  box-shadow: 5px 7px 16px #1a1818 !important;
  position: relative !important;
  margin: auto !important;
  margin-top: 3em !important;
}
.imls-map-popup .imls-map-popup_fy {
  font-family: "Open Sans";
  font-weight: 600;
  background-color: #7a7979;
  font-size: 0.8em;
  display: block;
  width: 4em;
  text-align: center;
  color: white;
  border-top-right-radius: 1em;
  padding: 0.1em 0.5em;
  margin-top: -1.6em;
}
.imls-map-popup .imls-map-popup_divider {
  background-color: #cfcfcf;
  display: block;
  padding: 0.3em 2em;
  margin-bottom: 0.25em;
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 1em;
}
.imls-map-popup .imls-map-popup_metric {
  font-size: 0.8em;
  font-weight: 600;
  padding: 0.5em 3.5em;
}
.imls-map-popup .imls-map-popup_metric span {
  font-family: "Open Sans";
  margin-left: 0.5em;
  color: #33715b;
  font-weight: 700;
  font-size: 1.2em;
}
.imls-map-popup .imls-map-popup_total-awarded {
  padding: 0.75em 1em;
}
.imls-map-popup .btn-imls-green {
  margin: 1em 0 2em 2.5em;
}
.imls-map-popup .tooltip__arrow {
  width: 50px;
  height: 25px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-200%);
  overflow: hidden;
}
.imls-map-popup .tooltip__arrow::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #e5e4e4;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  top: 0;
  left: 50%;
  box-shadow: 1px 1px 20px 0px rgba(0, 0, 0, 0.6);
}
*/
/** Map Footer */
.map-legend span {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  background-color: #33715b;
  border-radius: 50%;
  margin-right: 2em;
}

.map-legend a {
  color: black;
  position: relative;
  padding-left: 1.7em;
  text-decoration: none;
  font-family: "Roboto";
  line-height: 1;
  font-weight: 300;
}

.success-story-default .field--name-field-success-story-banner-text {
  text-align: center;
}

.success-story-default-image {
  width: 100%;
}

/* Views IMLS Impact Styles */
.view-id-imls_impact_block .view-header {
  display: inline-block;
  margin-right: 15%;
}

.view-id-imls_impact_block .view-filters {
  float: left;
  display: inline-block;
  vertical-align: bottom;
  margin: 25px 0 0 10%;
}

/* addtional styles for filters */
.checkbox-suffix {
  text-align: left;
}

.checkbox-prefix {
  width: 90px !important;
  text-align: right;
}

/* Reset Select */
.form-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #eee;
  background-image: none;
  color: black;
}

/* Remove IE arrow */
.form-select select::-ms-expand {
  display: none;
}

/* Custom Select */
/* Reset Select */
.form-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #eee;
  background-image: none;
  color: black;
}

/* Remove IE arrow */
.form-select select::-ms-expand {
  display: none;
}

/* Custom Select */
.form-select {
  position: relative;
  display: flex;
  width: 20em;
  height: 2em;
  line-height: 2;
  overflow: hidden;
  border-radius: 0.5em;
  color: #7a7979;
  border: 1px solid #b4b4b4;
  margin-bottom: 1em;
}

.form-select select {
  flex: 1;
  padding: 0 1em;
  cursor: pointer;
  color: black;
  font-size: 1em;
  font-weight: 400;
  font-family: "Open Sans";
}

/* Arrow */
.form-select::after {
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 0.5em;
  background: #eee;
  border-left: 1px solid #b4b4b4;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: 0.25s all ease;
  -o-transition: 0.25s all ease;
  transition: 0.25s all ease;
}

/* Transition */
.form-select:hover::after {
  color: #28885b;
}

.form-checkbox {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 1em;
  clear: both;
}

.form-checkbox span {
  display: inline-block;
}

.form-checkbox i {
  position: relative;
  display: inline-block;
  margin-left: 0.5em;
  margin-right: 0.5em;
  width: 46px;
  height: 26px;
  background-color: #888888;
  border-radius: 23px;
  vertical-align: top;
  transition: all 0.3s linear;
}

.form-checkbox i::before {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  height: 22px;
  background-color: #888888;
  border-radius: 11px;
  transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1);
  transition: all 0.25s linear;
}

.form-checkbox i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
  transform: translate3d(2px, 2px, 0);
  transition: all 0.2s ease-in-out;
}

.form-checkbox:active i::after {
  width: 28px;
  transform: translate3d(2px, 2px, 0);
}

.form-checkbox:active input:checked + i::after {
  transform: translate3d(16px, 2px, 0);
}

.form-checkbox input {
  position: absolute;
  opacity: 0 !important;
  pointer-events: none;
}

.form-checkbox input:checked + i {
  background-color: #28885b;
}

.form-checkbox input:checked + i::before {
  transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0);
}

.form-checkbox input:checked + i::after {
  transform: translate3d(22px, 2px, 0);
}

/* hide year fields from map and Imls Impact */
form.views-exposed-form select.form-select {
  display: none;
}

form.imls-maps-map-filter-form #edit-main-map-year-filter {
  display: none;
}


#edit-map-help-text .imls-map-help-text {
  font-weight: normal;
  font-style: italic;
  color: #33715B;
}

.symbol {
  margin-right:10px;
  background-color:#A9D2BF;
  -webkit-border-radius: 10px;
  border-radius: 50%;
  padding: 7px 5px;
  display: inline-flex;
  font-family: arial;
  font-size: 10px;
  font-weight: normal;
  height: 25px;
  width: 25px;
  cursor: pointer;
}

.item {
    position: relative;
    margin-top: -40px;
    width: 380px;
    text-align: right;
}
#legend-popup {
  /*Hides pop-up when there is no "active" class*/
  visibility: hidden;
  position: absolute;
}
.legend-label {
 color: #32715B;
 font-size: .8em;
 font-family: 'open sans';

}
.highcharts-crosshair-thin {
    stroke-width: 5px;
    stroke: #206945;
}
