body {
    font-size: 14px;
}
a {
    color: #01739d;
    text-decoration: none;
}
a:hover {
    color: #01739d;
    text-decoration: underline;
}
/* header */
#header {
  background-image: url(images/btopbg4.png);
  background-repeat: no-repeat;
  background-position: right;
  padding: 10px 10px 0;
}
.logo_wrap {
    background-image: url(images/transparent-text-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 5px 0 0;
}
#logo img {
  max-width: 110px;
}
#logo a {
  margin: 5px 10px 5px 0;
}
#site-title a, #site-description {
  color: #b32028;
  font-weight: unset;
}
#site-title a {
  background: rgba(255,255,255,0.7);
}
.menu-wrap {
  background: #274063;
}
#main-menu a {
  border-right: none;
}
#main-menu li:hover a {
  background: 
}
.centered {
  text-align: center;
}
/* front page map and state list */
.flexcontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#map-info-details .flexcontainer a:link, #map-info-details .flexcontainer a:visited, a.button:link, a.button:visited {
    background-color: #dfeefa;
    padding: 10px;
    margin: 4px;
    width: 124px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 12px;
}
#map-info-details .flexcontainer a:hover, #map-info-details .flexcontainer a:active, .hoverlink {
  background-color: blue;
  color: white;
}
.views-field-name {
    padding: 10px;
    margin: 4px;
    background-color: #dfeefa;
    text-align: center;
    width: 116px;
}
.view-grants-awarded .views-row, .view-all-content .views-row {
    margin-top: 10px;
    border-top: black 1px solid;
}
.view-grants-awarded .views-label, .view-all-content .views-label {
    font-weight: bold;
}
.view-gallery .views-row {
    width: 100%;
    margin-bottom: 16px;
}
.view-gallery .views-row img {
    float: left;
    margin: 10px;
}
/* Footer */
#footer-area {
    background-color: #dfeefa;
    padding: 3rem;
}
#footer-area .column {
  width: 100%;
}
#block-block-19 {
  text-align: center;
}
/* State pages */
img.state-img, .view-state-page {
  float: left;
}
.view-project-descriptions {
  clear: both;
}
.view-project-descriptions .views-row {
  border-top: 1px solid #000;
}

/* Media Queries */
@media screen and (max-width: 1170px) {
  #map {
    height: 480px !important;
  }
}
@media screen and (max-width: 1024px) {
  #map {
    height: 420px !important;
  }
}
@media screen and (max-width: 960px) {
  body.sidebar-second .content-sidebar-wrap {
    width: 100%;
  }
  #block-search-form {
    text-align: center;
    padding: 30px 0;
  }
  #map {
    height: 480px !important;
  }
}
/* Media Queries */
@media screen and (max-width: 813px) {
  #main-menu a {
    padding: 16px 10px;
  }
  #map {
    height: 420px !important;
  }
}
@media screen and (max-width: 640px) {
  #site-title {
    background-image: url(images/transparent-text-bg.png);
  }
}
@media screen and (max-width: 480px) {
  .map {
    display: none;
  }
  td {
    padding: 6px;
  }
}
@media screen and (max-width: 425px) {
  #map-info-details .flexcontainer a:link, #map-info-details .flexcontainer a:visited, a.button:link, a.button:visited {
    width: 47%;
  }
}
@media screen and (max-width: 320px) {
  td {
    padding: 0;
  }
}
