/**
 * Place your custom styles here.
 */


 .mobile-only {display:none !important}

 @media (min-width: 820px) {
    .col-sm-3 {
        width: 17%;
    }
    .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%; 
        background-color:#d2e8eb; 
        height:70px; 
        border-bottom: solid 8px #41505f;
        margin:0;
        padding:0;
    }
    .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 
{
    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: .5px;
	  ouline: none;
  }
  
 
  .active {
    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) {


.home-full-area {
    width: 300px !important;
    /* max-width: 12500px; */
    margin-left: auto;
    margin-right: auto;
    /* margin-left: -10px; */
    padding-top: 30px;
    
}
    
.logo img {
	width: auto;
	max-width: 95%;
	margin-left: 25px;
	margin-top: 10px;
}
   .mobile-only {display:block !important; background-color:#dedede}
.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:.9em !important}

.contact-info-links {    margin-left: -20px !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;
    }



    .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: 100%;
}

.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; 
   
}

  }

  /* This is for the homepage and main menus */
  @media screen and (max-width: 820px) {

    .region-content {
    margin-left: 10px !important;
}

    body {
    font-size: 18px;
    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}
.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 {width:100% !important;     margin-bottom: 0px !important;}

    .about-era-box {
    display: flex;
    background-color: inherit;
     width: 100% !important; 
    height: 525px !important;
    margin: 5px !important;
    flex-direction: column;
}

.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: 1339px) {
    .centered-menu {
        margin-left: inherit;
        margin-right: inherit;
        width: inherit;
    }

    .hhs-links {
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
}

.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: 1070px) {

.social-media {
    background-color: #dedede;
    height: 130px !important;
    margin-top: 30px;
}


}

  
@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: 400px) {

.social-media {
    background-color: #dedede;
    height: 140px !important;
    margin-top: 30px; 
    font-size: .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;
}


  }
  
