/**
 * Place your custom styles here.
 */
@media (min-width: 820px) {
  .col-sm-6 {
    width: 65% !important;
  }
}

.mobile-only {
  display: none !important;
}

@media (min-width: 820px) {
  .col-sm-3 {
    width: /*16%*/ 17.5%;
  }

  .col-sm-6 {
    width: 66%;
  }
}

@media (max-width: 1000px) {
  .middleContainer,
  .rightTopBorderBox {
    display: none !important;
  }
}

/* This is for the homepage */
@media (max-width: 1248px) {
  /* .main-nav {
        width:100%;

        height:70px;
        margin:0;
        padding:0;
        position: absolute;
    top: 130px;
    }*/
  .breadcrumb {
    padding-left: 0px !important;
    margin-top: 0px !important;
    padding-top: 7px !important;
  }

  .home-full-area {
    width: 600px !important;
    /* max-width: 12500px; */
    margin-left: auto;
    margin-right: auto;
    /* margin-left: -10px; */
    padding-top: 30px;
  }

  .home-area {
    padding: 10px;
  }

  .graybackground-home {
    background-color: #dedede;
    height: 500px !important;
  }
}

.graybackground-breadcrumbs {
  background-color: #f5f5f5;
  position: absolute;
  padding: 20px;
  width: 100%;
}

.topnav {
  overflow: hidden;
  background-color: #d2e8eb;
}

.topnav .mainmenu {
  font-family: "Source Sans Pro", sans-serif;
  float: left;
  display: block;
  color: #41505f;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 17px;
  font-size: 1.35em;
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 0.5px;
  outline: none;
}

/*.active { [AVK] Framework-Dedicated classnames should not be used for styling purpose. .active is dedicated to Boostrap
  background-color: #676767;
  color: white;
}*/

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav .mainmenu:hover,
.dropdown:hover .dropbtn,
.topnav .activeitem,
.mainmenu:focus,
.dropdown:focus {
  background-color: #316b90;
  color: white;
  outline: none;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content,
.dropdown:focus .dropdown-content {
  display: block;
}

.centered-menu {
  margin-left: auto;
  margin-right: auto;
  width: 1300px;
}

.search-icon,
.icon,
.mobile-menu-area {
  display: none;
}

@media screen and (max-width: 820px) {
  .fas {
    font-size: 1em !important;
  }

  .home-full-area {
    width: 300px !important;
    /* max-width: 12500px; */
    margin-left: auto;
    margin-right: auto;
    /* margin-left: -10px; */
    padding-top: 30px;
  }

  .header {
    height: auto !important;
  }

  .logo img {
    width: auto;
    max-width: 95%;
    margin-left: 25px;
    margin-top: 10px;
  }

  .mobile-only {
    display: block !important;
    background-color: #dedede !important;
  }

  .nav-menu {
    /*position: inherit !important;*/
  }

  .main-nav-highlight {
    background-color: initial !important;
    border-bottom: none !important;
    z-index: 1;
    margin-bottom: 0px !important;
  }

  .col-sm-12 {
    padding: 0px;
  }

  .content-link a:link,
  .content-link a:visited {
    color: #337ab7 !important;
  }

  .how-to-apply-body-content,
  .how-to-apply-body-title,
  .after-submission-body-content,
  .after-submission-body-title,
  .post-award-actions-body-content,
  .post-award-actions-body-title,
  .submit-closeout-body-content,
  .submit-closeout-body-title,
  .pre-meeting-body-content,
  .pre-meeting-body-title,
  .at-meeting-actions-body-content,
  .at-meeting-actions-body-title,
  .post-meeting-body-content,
  .post-meeting-body-title {
    color: #000 !important;
  }

  .hide {
    display: block !important;
  }

  .body-content-list {
    float: left;
    width: 100% !important;
  }

  .how-to-apply-body {
    background-image: none !important;
    height: 600px !important;
    max-width: 900px !important;
    margin: 0px !important;
    margin-left: -20px !important;
    padding: 0px !important;
  }

  .after-submission-body {
    background-image: none !important;
    height: 600px !important;
    max-width: 900px !important;
    margin: 0px !important;
    margin-left: -20px !important;
    padding: 0px !important;
  }

  .post-award-actions-body {
    background-image: none !important;
    height: 700px !important;
    max-width: 900px !important;
    margin: 0px !important;
    margin-left: -20px !important;
    padding: 0px !important;
  }

  .submit-closeout-body {
    background-image: none !important;
    height: 600px !important;
    max-width: 900px !important;
    margin: 0px !important;
    margin-left: -20px !important;
    padding: 0px !important;
    float: left;
  }

  .pre-meeting-body {
    background-image: none !important;
    height: 720px !important;
    max-width: 900px !important;
    margin: 0px !important;
    margin-left: -20px !important;
    padding: 0px !important;
  }

  .at-meeting-actions-body {
    background-image: none !important;
    /*height: 600px !important;*/
    max-width: 900px !important;
    margin: 0px !important;
    margin-left: -20px !important;
    padding: 0px !important;
  }

  .post-meeting-body {
    background-image: none !important;
    height: 400px !important;
    max-width: 900px !important;
    margin: 0px !important;
    margin-left: -20px !important;
    padding: 0px !important;
  }

  .showbackground {
    background-color: #fff !important;
  }

  #block-views-block-news-block-1 .more-link,
  #block-views-block-news-block-2 .more-link {
    margin-right: 0px !important;
  }

  .footer {
    height: 500px !important;
    font-size: 0.9em !important;
  }

  .contact-info-links {
    margin-left: -30px !important;
  }

  .contact-info-links li,
  .social-media-links li {
    display: inline-block;
    padding: 5px 15px !important;
    /* margin-top: 11px; */
    border-right: none !important;
  }

  .home-calendar img {
    width: 200px;
    margin: 10px !important;
    margin-left: 0px !important;
  }

  .topnav .mainmenu a:not(:first-child),
  .dropdown .dropbtn,
  .hhs,
  .mainmenu,
  .applicants,
  .grantees,
  .reviewers,
  .manage-accounts {
    display: none !important;
  }

  .topnav .mainmenu a.icon {
    float: right;
    display: block;
  }

  .grants-logo img {
    height: 100%;
    width: 400px;
  }

  .search-icon,
  .icon {
    display: inline;
  }

  .mobile-menu-area {
    background-color: #d2e8eb;
    /*height: 40px;*/
    padding: 10px;
    display: block;
    margin-top: 80px;
  }

  .commons-login {
    background-color: #268167;
    padding: 10px;
    text-align: center;
    float: left;
    clear: left;
    margin-right: 20px;
    font-weight: normal;
    color: #fff !important;
    margin-bottom: 20px;
    width: 185px !important;
    border: 5px solid #f5f5f5;
    margin-left: 5px;
  }

  .main-container {
    border-left: 0px solid #f5f5f5;
    border-right: 0px solid #f5f5f5;
    width: 95%;
    margin-left: 0px;
  }

  .container-fluid {
    padding-right: 0px !important;
    padding-left: 0px !important;
    margin-right: auto;
    margin-left: auto;
  }

  .how-to-apply-body-content h4,
  .how-to-apply-body-content .vertical-line-header,
  .after-submission-body-content .vertical-line-header,
  .submit-closeout-body-content .vertical-line-header,
  .post-award-actions-body-content .vertical-line-header,
  .at-meeting-actions-body-content h4,
  .at-meeting-actions-body-content .vertical-line-header,
  .pre-meeting-body-content h4,
  .pre-meeting-body-content .vertical-line-header,
  .post-meeting-body-content .vertical-line-header,
  .ppost-meeting-body-content h4 {
    display: none;
  }

  .body-content-list-right {
    float: left !important;
    clear: left !important;
    margin-top: -30px;
  }

  #block-views-block-news-block-1,
  #block-views-block-news-block-2 {
    width: 95% !important;
    float: left !important;
    padding: 10px !important;
  }

  .body-commons-login {
    width: 95% !important;
  }

  .textbox-applicants,
  .textbox-grantees,
  .textbox-reviewers1,
  .textbox-reviewers2,
  .textbox-reviewers3 {
    margin-top: 0px !important;
    background-color: #fff;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    opacity: 0.85;
  }

  .manage-accounts-body-how-to,
  .manage-accounts-body-ma {
    float: none !important;
    width: 90% !important;
    margin: 20px !important;
    border: 1px solid #ccc;
    padding: 15px !important;
    min-height: 262px;
  }

  .after-submission-body {
    margin-top: 200px !important;
  }

  .vertical-line-header-outer {
    border-left: 5px solid #316b90;
    height: inherit !important;
    padding-left: 10px;
  }

  #block-views-block-news-block-1 {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  #block-homecalendar {
    width: 100% !important;
    float: left !important;
    margin: 0px !important;
  }

  .arrow-right-twolines,
  .arrow-right-sub {
    display: none;
  }
}

/* This is for the homepage and main menus */
@media screen and (max-width: 820px) {
  .region-content {
    margin-left: -10px !important;
  }

  body {
    font-size: 16px;
    font-family: "Source Sans Pro", sans-serif;
  }

  .page-header {
    margin-left: 0px !important;
  }

  .active-arrow,
  .active-arrow-large {
    display: none !important;
  }

  aside.col-sm-3 {
    border: 1px solid #dbdbdb;
  }

  .region-sidebar-first .block-title,
  .region-sidebar-second .block-title {
    margin-top: 0px !important;
  }

  .search-sub-menu,
  .breadcrumb,
  .graybackground-breadcrumbs {
    display: none;
  }

  .nav-menu {
    display: block;
    /*position: relative;*/
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 15;
    height: auto !important;
  }
  .logo {
    width: 100%;
  }

  .brand-search {
    height: 120px;
  }

  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    /*position: absolute;*/
    right: 0;
    top: 0;
    width: 100%;
  }

  .topnav.responsive .applicants,
  .topnav.responsive .grantees,
  .topnav.responsive .reviewers,
  .topnav.responsive .manage-accounts,
  .topnav.responsive .mainmenu,
  .topnav.responsive a {
    float: none;
    display: block !important;
    text-align:
      /*left*/ center;
  }

  .topnav.responsive .dropdown {
    float: none;
  }

  .topnav.responsive .dropdown-content {
    position: relative;
  }

  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }

  /*.reviewers-menu, .applicants-menu, .grantees-menu, .manage-accounts-menu {display:none !important}*/
  .social-media {
    height: auto !important;
  }

  .social-media-links,
  .contact-info-links {
    margin-bottom: 0px !important;
    margin-left: -30px;
  }

  .about-era-box {
    display: flex;
    background-color: inherit;
    width: 100% !important;
    height: 525px !important;
    margin: 5px !important;
    flex-direction: column;
  }

  .sidebar-first {
    width: 99.9% !important;
  }

  aside.col-sm-3 {
    border: 0px solid #fff;
    width: 99%;
  }

  .openclose-menu {
    left: 95% !important;
    font-size: 2em;
    
  }

.fa-angle-down {color:#444444 !important}

  .home-tagline p {
    width: 95% !important;
  }

  .help-body-applicants-link {
    background-color: #594f70;
    width: 120px !important;
    color: white;
    padding: 5px !important;
    margin: 10px !important;
    text-align: center;
    float: left;
    height: 55px !important;
  }

  .help-body-general-link {
    background-color: #7d314c;
    width: 120px !important;
    color: white;
    padding: 5px !important;
    margin: 10px !important;
    text-align: center;
    float: left;
    height: 55px !important;
  }

  .help-body-era-service-desk {
    float: right;
    width: 60% !important;
    margin-top: 0px !important;
  }

  .scope-note {
    font-weight: 600;
    margin-bottom: 15px;
    margin: 10px;
  }

  .about-era-box-column2 {
    display: none;
  }

  .about-era-box-column3 {
    flex: 80%;
    margin-left: 0px !important;
  }
}

@media screen and (max-width: 1920px) {
  .nav-item {
    margin-left: 3%;
    margin-right: 3%;
  }
  .sub-nav.newsevents {
    left: 20%;
    right: 15%;
    width: 65%;
  }
  .sub-nav.aboutgrants {
    left: 15%;
    right: 15%;
    width: 65%;
  }

  .sub-nav.aboutoer {
    width: 55%;
    left: 42%;
    right: initial;
  }

  .sub-nav.policycompliance {
    left: 15%;
    width: 65%;
  }
}

@media screen and (max-width: 1750px) {
  .nav-item {
    margin-left: 2%;
    margin-right: 2%;
  }
  .sub-nav.newsevents {
    left: 20%;
    right: 15%;
    width: 70%;
  }
  .sub-nav.aboutgrants {
    left: 15%;
    right: 15%;
    width: 70%;
  }

  .sub-nav.aboutoer {
    width: 61%;
    left: 33%;
    right: initial;
  }

  .sub-nav.policycompliance {
    left: 15%;
    width: 70%;
  }
}

@media screen and (max-width: 1700px) {
  .nav-item {
    margin-left: 1%;
    margin-right: 1%;
  }
  .sub-nav.newsevents {
    left: 15%;
    right: 25%;
    width: 75%;
  }

  .sub-nav.aboutgrants {
    left: 15%;
    right: 15%;
    width: 80%;
  }

  .sub-nav.funding {
    left: 25%;
    right: 25%;
    width: 55%;
  }

  .sub-nav.policycompliance {
    left: 15%;
    width: 80%;
  }

  .sub-nav.aboutoer {
    width: 70%;
    left: 22%;
    right: initial;
  }
}

@media screen and (max-width: 1776px) {
  .sub-nav.newsevents {
    left: 20%;
    right: 25%;
  }
}

@media screen and (max-width: 1545px) {
  .sub-nav.funding {
    left: 25%;
    right: 25%;
    width: 52%;
  }

  .sub-nav.aboutgrants {
    left: 15%;
    right: 7%;
  }
}

@media screen and (max-width: 1500px) {
  .sub-nav.funding {
    left: 25%;
    right: 25%;
    width: 55%;
  }

  .sub-nav.aboutgrants {
    left: 10%;
    right: 5%;
  }

  .sub-nav.newsevents {
    left: 15%;
    right: 20%;
    width: 80%;
  }
}

@media screen and (max-width: 1450px) {
  .sub-nav.aboutoer {
    width: 69%;
    left: 22%;
    right: initial;
  }
  .sub-nav.policycompliance {
    left: 5%;
    width: 80%;
  }

  .sub-nav.aboutgrants {
    left: 5%;
    right: 0%;
    width: 80%;
  }

  .sub-nav.newsevents {
    left: 5%;
    right: 0%;
    width: 85%;
  }
}

@media screen and (max-width: 1400px) {
  .sub-nav.aboutoer {
    width: 75%;
    left: 22%;
    right: initial;
  }
  .sub-nav.policycompliance {
    left: 5%;
    width: 85%;
  }

  .sub-nav.aboutgrants {
    left: 5%;
    right: 0%;
    width: 85%;
  }
}

@media screen and (max-width: 1366px) {
  .sub-nav.aboutgrants {
    left: 7%;
    right: 15%;
    width: 85%;
  }
}

@media screen and (max-width: 1246px) {
  .sub-nav ul:first-child {
    margin-left: 0px !important;
  }

  .sub-nav.funding {
    left: 25%;
    right: 25%;
    width: 60%;
  }

  .sub-nav.aboutgrants {
    left: 1%;
    right: 1%;
  }

  .sub-nav.aboutgrants ul {
    max-width: 280px;
  }

  .sub-nav ul:first-child {
    margin-left: 5px;
  }
}

@media screen and (max-width: 1339px) {
  .centered-menu {
    margin-left: inherit;
    margin-right: inherit;
    width: inherit;
  }

  .hhs-links {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }

  .search {
    float: right;
    /* padding: 15px; */
    margin-bottom: 10px;
    padding-right: 35px;
  }

  .search-sub-menu {
    float: right;
    /* clear: right; */
    margin-top: -10px;
  }
}

@media screen and (max-width: 992px) {
  .logins {
    float: left;
    margin-right: 0px;
    clear: right;
    margin-top: 20px;
    margin-bottom: -20px;
  }
}

@media screen and (max-width: 966px) {
  .search-utility {
    float: left;
    margin-top: 20px;
    margin-right: 0px !important;
  }
}

@media screen and (max-width: 935px) {
  .main-nav {
    /*height: 80px;*/
  }

  .hhs-links {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

@media screen and (max-width: 915px) {
  .grants-logo img {
    width: 100%;
    height: auto;
  }
	
  .cardRow {
	display: unset !important;
  }

  .row {
    margin-right: -8px;
    margin-left: -8px;
  }
}

@media screen and (max-width: 990px) {
  .social-media {
    background-color: #dedede;
    height: auto !important;
	padding: 10px 0;
    margin-top: 30px;
  }

  .sub-nav.newsevents {
    left: 15%;
    right: 10%;
  }
}

@media screen and (max-width: 400px) {
  .social-media {
    background-color: #dedede;
/*    height: 140px !important;*/
	height: auto !important;
	padding: 10px 0;
    margin-top: 30px;
    font-size: 0.9em !important;
  }

  .how-to-apply-body {
    height: 475px !important;
  }
}

/* This is for the homepage */
.home-area {
  padding: 10px;
}

.graybackground-home {
  background-color: #dedede;
  height: 875px !important;
}

@media screen and (max-width: 1444px) {
  .nav-item {
    margin-left: 0% !important;
    margin-right: 0% !important;
  }

  .sub-nav.policycompliance {
    left: 10%;
    right: 25%;
    width: 85%;
  }

  .sub-nav.funding {
    left: 10%;
    right: 25%;
    width: 55%;
  }
  /*.sub-nav.aboutgrants {
    left: 15%;
    right: 15%;
    width: 55% !important;
  }*/

  .sub-nav.aboutgrants {
    left: 7%;
    right: 15%;
    width: 85%;
  }

  .sub-nav.aboutoer {
    width: 75%;
    left: 15%;
    right: initial;
  }
}

@media screen and (max-width: 1330px) {
  .sub-nav.policycompliance {
    left: 5%;
    right: 25%;
    width: 90%;
  }
  .sub-nav.funding {
    left: 25%;
    right: 25%;
    width: 65%;
  }

  .sub-nav.newsevents {
    left: 5%;
    right: 25%;
    width: 90%;
  }
  .sub-nav.aboutgrants {
    left: 5%;
    right: 15%;
    width: 90%;
  }

  .sub-nav.aboutoer {
    width: 77%;
    left: 20%;
    right: initial;
  }
}

@media screen and (max-width: 1234px) {
  .nav-item {
    margin-left: 0% !important;
    margin-right: 0% !important;
  }
}

@media screen and (max-width: 1200px) {
  .nav-item {
    margin-left: 0% !important;
    margin-right: 0% !important;
  }

  .container-fluid {
    padding-right: 2.5% !important;
    padding-left: 2.5% !important;
    margin-right: auto;
    margin-left: auto;
    background-color: #f4f4f1;
  }
  .col-sm-3 {
    width: 17.5%;
  }

  .sub-nav.aboutgrants {
    left: 15%;
    right: 15%;
    width: 60% !important;
  }

  .sub-nav.policycompliance,
  .sub-nav.funding {
    left: 0%;
    /* right: 25%; */
    width: 101% !important;
  }
  .sub-nav.newsevents {
    left: 0% !important;
    right: 25%;
    width: 102% !important;
  }
  .sub-nav.aboutoer {
    left: 5% !important;
    right: initial;
    width: 90%;
  }

  .sub-nav.aboutgrants {
    left: 7% !important;
    right: 15%;
    width: 90% !important;
  }

  .mikesblog {
    margin-right: 12px;
    padding-left: 0px !important;
  }

  .sub-link-research,
  .sub-link-find,
  .sub-link-apply {
    padding-left: 0px !important;
  }
}

@media screen and (max-width: 1100px) {
  .nav-item {
    margin-left: -1% !important;
    margin-right: -1% !important;
  }
  .sub-nav.aboutgrants {
    left: 0% !important;
    right: 15%;
    width: 100% !important;
  }
}

@media screen and (max-width: 1024px) {
  .grants-logo {
    width: 50% !important;
    height: auto !important;
  }

  .container-fluid {
    padding-right: 2.5% !important;
    padding-left: 2.5% !important;
    margin-right: auto;
    margin-left: auto;
    background-color: #f4f4f1;
  }
  .col-sm-3 {
    width: 19%;
  }

  .col-sm-6 {
    /* width: 60% !important; */
     width: 100% !important; 
    margin-right: 10px;
  }

  .sub-nav ul {
    margin-right: 2% !important;
  }

  .search-utility {
    float: none;
    margin-top: 8px;
    margin-right: 5%;
    margin-top: 20px !important;
  }

  .sub-nav.aboutgrants {
    left: 15%;
    right: 15%;
    width: 100% !important;
    padding-left: 3%;
  }

  .sub-nav.policycompliance,
  .sub-nav.funding {
    left: 0% !important;
    right: 25%;
    width: 100% !important;
    padding: 10px;
  }
  .sub-nav.newsevents {
    left: 0%;
    right: 0%;
    width: 100% !important;
    padding: 10px;
  }
  .sub-nav.aboutoer {
    left: 5% !important;
    right: initial;
    width: 90%;
  }
  .banner-text-featured-desc {
    color: #17415a;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100% !important;
    margin-left: 0% !important;
    margin-top: 9%;
    padding: 4px;
    padding-top: 5px;
    /* border-left: 5px solid #283b4d; */
    font-size: 1.2em;
    text-align: center;
    line-height: 2;
  }
}

@media screen and (max-width: 999px) {

  .corona_sidebar {
    float: none !important;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    width: 260px;
    margin-top: 0px !important;
}


  .container-fluid {
    padding-right: 2.5% !important;
    padding-left: 2.5% !important;
    margin-right: auto;
    margin-left: auto;
    background-color: #f4f4f1;
  }
  .col-sm-3 {
    width: 17.5%;
  }

  .sub-nav.policycompliance,
  .sub-nav.funding {
    left: 25%;
    right: 25%;
    width: 101% !important;
  }
  .sub-nav.newsevents {
    /*left: 35%;
      right: 25%;*/
    width: 101% !important;
  }
  .sub-nav.aboutoer {
    width: 90%;
  }
}

@media screen and (max-width: 950px) {
  .grants-logo {
    width: 50% !important;
    height: auto !important;
  }

  .grants-logo img {
    width: 100% !important;
    height: auto !important;
  }
  .container-fluid {
    padding-right: 0% !important;
    padding-left: 0% !important;
    margin-right: auto;
    margin-left: auto;
    background-color: #f4f4f1;
  }
  .col-sm-3 {
    width: 17.5%;
  }

  .sub-nav.aboutgrants,
  .sub-nav.policycompliance,
  .sub-nav.funding {
    left: 25%;
    right: 25%;
    width: 77%;
  }
  .sub-nav.newsevents {
    left: 25%;
    right: 25%;
    width: 75%;
  }
  .sub-nav.aboutoer {
    left: 0% !important;
    right: initial;
    width: 101%;
  }
}

@media screen and (max-width: 930px) {
  .divselectsearch {
    display: none;
  }

  .nav-item {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }
}

@media screen and (max-width: 820px) {
  .grants-logo {
    width: 90% !important;
    height: auto !important;
  }

  .grants-logo img {
    width: 90% !important;
    height: auto !important;
  }

  .search-utility {
    display: none;
  }
  .fa-search {
    margin-top: -8px !important;
  }

  .form-field-site-search {
    width: 60%;
  }

  .site-search i {
    display: none;
  }
  .main-nav {
    /*position: absolute;*/
    top: 53px;
  }

  .mobile-menu {
    width: 100%;
    background: #d8d8cc;
    /*height: 55px;
    line-height: 60px;*/
    /* border-bottom: 1px solid #dddddd; */
    border-bottom: solid 6px #41505f;
  }

  .hamburger {
    background: none;
    top: 0;
    left: 0;
    /* line-height: 45px; */
    padding: 0px 15px 0px 15px;
    color: #404a59;
    border: 3px solid #a2a299;
    font-size: 1.6em;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    z-index: 10000000000000;
    display: block;
    /* margin-top: 80px; */
    /* margin-top: -15px; */
    padding-top: 0px;
    height: 44px;
    margin: 0px;
    /* margin-left: 0px; */
  }

  .searchbutton {
    /* display: none; */
    float: right;
    background: none;
    /* top: -20px; */
    left: 0;
    /* line-height: 45px; */
    padding: 5px 15px 0px 15px;
    color: #999;
    border: 0;
    font-size: 1.4em;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    z-index: 10000000000000;
    display: block;
    /* margin-top: 80px; */
    /* margin-top: -15px; */
    /* padding-top: 0px; */
    margin-top: -52px;
    height: 48px;
  }

  .cross {
    background: none;
    position: absolute;
    top: 0px;
    right: 0;
    padding: 7px 15px 0px 15px;
    color: #999;
    border: 0;
    font-size: 3em;
    line-height: 65px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    z-index: 10000000000000;
    display: block;
  }

  .main-nav {
    z-index: 1000000;
    font-weight: bold;
    font-size: 0.8em;
    width: 100%;
    background: #f1f1f1;
    /*position:absolute;*/
    text-align: center;
    font-size: 12px;
    /*top: 135px;*/
  }

  .main-nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-image: none;
  }

  .main-nav li {
    display: block;
    background: #ffffff;
    padding: 15px 0 15px 0;
    border-bottom: #dddddd 1px solid;
  }

  .main-nav ul li a {
    text-decoration: none;
    margin: 0px;
    color: #666;
  }

  .main-nav ul li a:hover {
    color: #666;
    text-decoration: none;
  }

  .main-nav a {
    text-decoration: none;
    color: #666;
  }

  .main-nav a:hover {
    text-decoration: none;
    color: #666;
  }

  .sub-nav-group ul {
    margin-left: 0px !important;
  }

  .sub-nav.funding {
    left: initial;
    right: initial;
    width: 99.5% !important;
  }

  .glyphicon-home {
    color: white;
    font-size: 1.5em;
    margin-top: 5px;
    margin: 0 auto;
  }

  .mobile-menu {
    display: inline-block;
    height: 50px;
  }

  .mobile-menu span {
    padding-left: 20px;
  }

  .mobile-menu a {
    color: #336699;
  }

  .main-nav {
    font-size: 1.1em;
  }

  .sub-nav ul {
    display: inline-block;
    vertical-align: top;
    margin: 0 1em 0 0;
    padding: 0;
    width: 100%;
    margin-left: 0px !important;
    margin-right: 0px !important;
  }

  .sub-nav.aboutgrants,
  .sub-nav.policycompliance,
  .sub-nav.funding,
  .sub-nav.newsevents {
    width: 100% !important;
  }

  .sub-nav.aboutoer {
    left: 55% !important;
    right: initial;
    width: 420px;
  }

  .subhead {
    margin: 25px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    border-bottom: 0px solid #000 !important;
  }

  .main-nav li {
    display: block;
    background: #d8d8cc;
    padding: 15px 0 15px 0;
    border-bottom: #dddddd 1px solid;
  }

  .sub-nav li {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin: 25px;
    margin-left: 0px;
    border-bottom: #dddddd 0px solid;
  }

  .openedmenu {
    background-color: #4a61a6 !important;
  }

  .sub-nav li {
    background-color: #dedede;
  }

  .openedmenu-link-active {
    color: #fff !important;
  }

  .nav-item > a.open {
    background-color: initial !important;
    /* border-bottom: none; */
    border-bottom: 0px solid #59a80e !important;
    z-index: 1;
  }

  .mainbody {
    margin-top: 100px;
  }

  .grants-logo {
    margin-left: 1%;
    margin-top: 8px;
    float: none;
  }

  .sub-nav {
    position: inherit !important;
    top: 2.2em !important;
    margin-top: -1px !important;
    padding: 0em !important;
    border: 1px solid #dedede !important;
    background-color: #dedede !important;
    text-align: center !important;
    left: 0px !important;
    right: 0px !important;
  }

  .sub-nav-group ul {
    margin-left: 0px !important;
  }

  .sub-nav.aboutoer {
    width: inherit !important;
  }

  .social-media-links {
    margin-left: -40px !important;
    font-size: 1.2em !important;
  }
}

@media screen and (max-width: 994px) {
  .nav-menu {
    display: block;
    /* position: relative; */
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 15;
    height: 43px !important;
  }
  .nav-item {
    font-size: 1em !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
  }
  .sub-nav {
    font-size: 1.2em !important;
  }
}

@media screen and (max-width: 835px) {
  .divselectsearch {
    display: none;
  }

  .nav-item {
    margin-left: -5px !important;
    margin-right: -5px !important;
    text-transform: uppercase;
    font-size: 1.4em !important;
    font-weight: 400;
    letter-spacing: 0.65px;
    font-family: "Source Sans Pro", sans-serif;
  }
  .mobile-menu {
    display: none;
  }
  /*.openclose {
    display: none !important;
  }*/
}

@media screen and (max-width: 835px) {
  .mobile-menu {
    display: inline-block;
  }
}
