/* =====================================================================
 * $Id: nsfgov.css 24088 2016-05-19 16:40:24Z tpalanis $
 * SVN Path: /www/branches/responsive/doc/redesign/ui/css/nsfgov.css
 * ===================================================================== */

/* NAV TEST */
.navbar-default{
	color: #fff;
	background-color: #ccc6c6;
	border-color: #aca1a2;
}
.navbar-default .navbar-nav > li > a{
	color:#fff;
}
.navbar-default .navbar-nav > .dropdown > a .caret{
	border-top-color: #fff;
    border-bottom-color: #fff;
}
.navbar-default .navbar-brand {
	color:#fff;
}
.menu-large {
  position: static !important;
}

/* NAV TEST */

/***** HOMEPAGE-SPECIFIC ******/
/** Main Carousel **/
.carousel-inner {
    position: relative;
    width: 100%;
    height: 250px;
}
.carousel-caption {
    color: #ffffff;
    background-color: #10181b;
    border: 1px solid #4b4c4c;
    padding: 15px 20px;
    position: absolute;
    top: 50%;
    left: 58%;
    text-align: center;
    width: 330px;
    height: 175px;
    margin-top: -97px;
}
.carousel-caption h3 {
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 28px !important;
    padding: 12px 0 20px 0;
    letter-spacing: 1px;
    line-height: 120%;
    font-weight: 100 !important;
    color: #ffffff !important;
    text-transform: none !important;
    border: 0 !important;
}
.div-carousel .item {
     height: 280px;
     overflow: hidden;
}
.div-carousel .item img{
     height: auto !important;
}
.div-carousel .carousel-caption h3 {
    font-family: 'Georgia', serif;
}
.div-carousel {
    margin-bottom: 1em;
}

.div-carousel .carousel-control.right {
    background: transparent url('../../images/arrow-next-div.png') no-repeat;
    filter: none;
}

.div-carousel .carousel-control.left {
    background: transparent url('../../images/arrow-prev-div.png') no-repeat;
    filter: none;
}

.div-carousel .carousel-caption {
    background: transparent !important;
    border: none !important;
    padding: 15px 20px 10px !important;
    position: absolute;
    top: 44%;
    left: 8%;
    text-align: left;
    width: 698px;
    height: 175px;
    margin-top: -97px;
}

.div-carousel .carousel-caption button {
    margin-left: 520px;
    background: #c64b00;
}

.div-carousel .carousel-caption button:hover {
    margin-left: 520px;
    background: #aa3300;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 250px;
}

.div-carousel .carousel-caption h3 {
    font-size: 32px !important;
}
.carousel-caption button {
    background-color: #4a463e;
    color: #ffffff;
    letter-spacing: 1px;
    font: 13px 'Arial' normal;
    text-transform: uppercase;
    border: 0;
    padding: 8px 20px;
}
.carousel-control {
    height: 58px;
    width: 36px;
    opacity: .9;
    position: absolute;
    top: 50%;
    margin-top: -29px;
}
.carousel-control.left {
    background: transparent url('../../images/arrow-prev.png') no-repeat;
    filter: none;
}
.carousel-control.left:hover, .carousel-control.right:hover {
    background-position: bottom;
    opacity: 1;
}
.carousel-control.right {
    background: transparent url('../../images/arrow-next.png') no-repeat;
     filter: none;
}
.carousel-indicators {
    text-align: right;
    width: 75%;
    bottom: 10px;
}
.carousel-indicators li {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #000 \9;
  background-color: #2c4049;
  border: 1px solid #cadce6;
  border-radius: 0px;
}
.carousel-indicators .active {
  width: 12px;
  height: 12px;
  margin: 0;
  background-color: #1f4d65;
    border: 1px solid #80aec8;
}
#carousel-funding {
    margin-top: 30px;
}
#carousel-funding .carousel-control {
    height: 35px;
    width: 35px !important;
    opacity: 1;
    position: absolute;
    top: 0;
}
#carousel-funding .carousel-control.left {
    background: transparent url('../../images/gallery_prev.png') no-repeat;
    right: 35px !important;
    top: 0;
    left: 1070px;
}
#carousel-funding .carousel-control.left:hover, .carousel-control.right:hover {
    background-position: bottom !important;
    opacity: 1;
}
#carousel-funding .carousel-control.right {
    background: transparent url('../../images/gallery_next.png') no-repeat;
}
/** tabs to accordion **/

#home .panel.panel-default {
    border-radius: 0;
    box-shadow: 0;
    border: 0;
    margin: 0 -15px;
}
#home .panel.panel-default .panel-title {
    margin: 0;
    border-radius: 0;
    border-top: 1px solid #4a5570;
}
#home .panel-default>.panel-heading {
    padding: 0;
    background-color: #303a53;
    border-radius: 0;
    color: #ffffff;
}
#home .panel.panel-default .panel-title .accordion-toggle:before {
    font-family: fontawesome;
    content: "\f105";
    float: left;
    margin: -2px 5px 10px 0;
    color: #0c72b5;
}
#home .panel.panel-default .panel-title .accordion-toggle:not(.collapsed):before {
    font-family: fontawesome;
    content: "\f107";
}
#home .panel-default>.panel-heading a {
    padding: 14px 15px;
    color: #ffffff;
    display: block;
    font: bold 14px 'Arial',sans-serif;
    border-radius: 0;
}
/** Funding & Supporting Carousel **/
#carousel-funding .carousel-inner {
    position: relative;
    width: 820px;
    height: 360px;
    text-align: center;
    margin: 0 auto;
}
#carousel-funding .carousel-caption {
    color: #ffffff;
    background-color: #10181b;
    border: 1px solid #4b4c4c;
    padding: 15px 20px;
    position: absolute;
    bottom: 50px;
    left: 700px;
    text-align: center;
    width: 330px;
    height: 175px;
}
#carousel-funding .carousel-caption h3 {
    font-family: 'Garamond', 'Georgia', serif;
    font-size: 28px;
    padding: 12px 0 20px 0;
    letter-spacing: 1px;
    line-height: 120%;
    font-weight: 100;
}
#carousel-funding .carousel-caption button {
    background-color: #4a463e;
    color: #ffffff;
    letter-spacing: 1px;
    font: 13px 'Arial' normal;
    text-transform: uppercase;
    border: 0;
    padding: 8px 20px;
}
#carousel-funding .carousel-control {
    width: 0px;
   opacity: 1;
}
.tab-pane#funding .links {
    width: 820px;
    font-size: 13px;
    margin: 10px auto;
    display: block;
}
.tab-pane#inspiring .thumbnail {
    width: 100%;
    height: 126px;
    overflow: hidden;
    border-radius: 0;
    border:  1px solid #e2e2e2;
    padding: 0;
}
.tab-pane#inspiring .thumbnail img {
    width: 100%;
    height: auto;
}
    .thumbnail.date-month {
        display: block;
        width: 40px !important;
        height: 43px;
        border-radius: 0 0 0 0;
        padding-top: 12px !important;
        text-align: center;
        background: #1e5799; /* Old browsers */
        background: -webkit-linear-gradient(top, rgb(14, 86, 144) 14%, rgb(86, 150, 204) 18%, rgb(43, 117, 182) 20%, rgb(31, 94, 146) 92%, rgb(31, 87, 135) 100%);
        background: -o-linear-gradient(top, rgb(14, 86, 144) 14%, rgb(86, 150, 204) 18%, rgb(43, 117, 182) 20%, rgb(31, 94, 146) 92%, rgb(31, 87, 135) 100%);
        background: -ms-linear-gradient(top, rgb(14, 86, 144) 14%, rgb(86, 150, 204) 18%, rgb(43, 117, 182) 20%, rgb(31, 94, 146) 92%, rgb(31, 87, 135) 100%);
        background: -moz-linear-gradient(top, rgb(14, 86, 144) 14%, rgb(86, 150, 204) 18%, rgb(43, 117, 182) 20%, rgb(31, 94, 146) 92%, rgb(31, 87, 135) 100%);
        background: linear-gradient(to bottom, rgb(14, 86, 144) 14%, rgb(86, 150, 204) 18%, rgb(43, 117, 182) 20%, rgb(31, 94, 146) 92%, rgb(31, 87, 135) 100%);

    }
    .thumbnail.date-month .txt-month{
        font-weight: bold;
        font-size: 85%;
        text-align: center;
        color: #fff;
    }
.insp-edu {
    margin-top: 30px;
}
.insp-edu h4 {
    font: normal 24px/24px 'Georgia',serif !important;
    margin-bottom: 16px;
    height: 50px;
}
.insp-edu.learn h4 {
    border-bottom: 3px solid #c9cacb;
    margin-bottom: 0;
}
.insp-edu h5 {
    margin: 20px 0 6px 0;
}
.insp-edu.learn h5 {
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 20px;
    font-size: 12px;
}
.insp-edu img {
    border-radius: 0;
    border: 0;
}
/** tabs **/
.home.nav-tabs > li, .home.nav-pills > li {
    float:left;
	position: relative;
	left: 25%;
	display:block;
	/*float: none;
	display: inline-block;*/
    *display:inline; /* ie7 fix */
     zoom:1; /* hasLayout ie7 trigger */
    margin: 0;
	padding: 0;
}
.home.nav-tabs > li.active:after, .home.nav-pills > li.active:after {
    content: url("../../images/gallery_tabs_active.png");
    font-size: 38px;
    color: #313b52;
    left: 47%;
	position: absolute;
	top: 25px;
}
.home.nav-tabs > li a, .home.nav-pills > li a {
    /*background-color: #313b52;*/
	background: #313b52 url("../../images/gallery_tabs_seperator.png") no-repeat scroll right top;
    color: #d2d2d2;
    border-radius: 0;
    margin: 0;
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
    padding: 10px 25px;
    font-weight: bold;
}
.home.nav-tabs > li > a, .home.nav-tabs > li > a:hover {
    border-right: 0;
}
.home.nav-tabs > li.divider {
    background-color: #313b52;
    display: inline-block;
    height: 40px;
    padding-top: 9px;
}
.home.nav-tabs > li.divider:after {
    color: #2085ac;
    content: '|';
    font-size: 1.3em;
}
.home.nav-tabs > li a:hover, .home.nav-pills > li a:hover {
    color: #ffffff;
}
.home.nav-tabs > li.active a, .home.nav-pills > li.active a {
    background-color: #313b52;
    color: #ffffff;
    border-radius: 0;
    border-right: 0px solid #2085ac;
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
}
.home.nav-tabs/*, .nav-pills*/ {
    text-align:center;
}
#home-tabs  {
    margin: 40px 0 0px;
}
.home-articles {
    padding-top: 30px;
}
.home-articles .thumbnail {
    width: 171px;
    float: left;
    margin: 0 30px 0 0;
    border: 0;
    padding: 0;
    border-radius: 0;
    vertical-align: top;
}
.home-articles .article {
    padding: 0px 0 20px 0;
}
.home-articles .article a.article-title {
    font-weight: bold;
    color: #313b52;
    display: block;
    height: 107px;
}
.home-articles .article a.article-title:hover {
    color: #22b7ee;
}
.home-articles .article a.article-title .date {
    color: #595959;
    font-weight: normal;
    display: block;
}
.hide-show.home {
    text-transform: uppercase;
    position: relative;
    top: 10px;
    right: 0;
    width: 70px;
	background-color: #c64b00;
	color: #FFF;
	font-size: 12px;
}
.hide-show.home:hover {
    background-color: #aa3300;
}
a.follow {
    text-transform: uppercase;
    position: relative;
    top: -15px;
    right: 0;
    padding: 6px 20px;
}
ul.notices li a {
    padding: 7px 0;
    display: block;
}
.home .news-title .date, .home.events .event-type {
    display: block;
    text-transform: uppercase;
    color: #22b7ee;
    line-height: 1.4em;
    margin-top: 5px;
    font-size: 10px;
}
.events.home.list-group li {
    border: 0;
    padding-left: 0;
}
.panel.funding-opps {
    background-color: #1879be;
    color: #ffffff;
}
.panel.funding-opps .panel-body {
    padding: 0px 15px 15px 15px;
}
.panel.funding-opps h3.panel-title {
    -webkit-box-shadow: 0 10px 6px -6px #125b8e;
	   -moz-box-shadow: 0 10px 6px -6px #125b8e;
	        box-shadow: 0 10px 6px -6px #125b8e;
    margin: 0 -20px !important;
    padding: 5px 20px 15px 20px !important;
    border-bottom: 0 !important;
    font: bold 18px/18px 'Arial',sans-serif !important;
    color: #ffffff !important;
}
/***** /HOMEPAGE-SPECIFIC *****/

body, p, div, li, .jumbotron p {
    font: normal 14px/20px 'Arial',sans-serif;
}
body {
    background: #ffffff url('../../images/background.gif') top left repeat-x;
    margin-top: 42px;
    overflow-x: /*hidden;*/ scroll; /* PH changed for Profiles*/
    overflow-y: scroll; /* has to be scroll, not auto */
   -webkit-overflow-scrolling: touch;
}
a {
    color: #0c72b5;
}
a:visited, a:active, a:focus {
    text-decoration: none;
}
a:hover, #page-utilities button:hover {
    color: #2f394c;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}
h2 {
    font-family: 'Georgia', serif;
    font-size: 28px;
}
#home h2 {
    margin: 20px 0 30px 0;
}
#home h3 {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 2px solid #bcbdbe;
    margin-bottom: 20px;
    color: #5b5954;
}
iframe.twitter-timeline {
    width: 100% !important;
    height: 200px;
    border-radius: 0;
}
hr.navy {
    border-bottom: 3px solid #303a53;
    border-top: 0;
    padding-top: 20px;
    display: block;
    clear: left;
}
/*button.btn, button.btn:focus, button.btn:active, a.btn, a.btn:focus, a.btn:active {
    border-radius: 0;
    background-color: #c64b00;
    color: #ffffff;
    font: 12px 'Arial',sans-serif normal;
    border: 0;
}
button.btn:hover, a.btn:hover {
    background-color: #aa3300;
    color: #ffffff;
}*/
.rss {
    color: #c64b00;
}
.rss:hover {
    color: #aa3300;
}
.alert {
    border-radius: 0;
}
.alert.alert-warning {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #d9eefd;
}
.alert.alert-warning b, .alert.alert-warning i {
    color: #c64b00;
}
.alert a.close {
    font-size: 10px;
    color: #ffffff;
    background-color: #c64b00;
    text-align: center;
    padding: 3px 3px 4px 4px;
    width: 16px;
    height: 16px;
    margin: 0 0 6px 6px;
    opacity: 1;
}
.alert a.close:hover {
        background-color: #aa3300;
}
.external {
    
}
/* HEADER */
.header h1.logo {
    margin: 0px 0 32px 0;
}
.header .logo {
    background: transparent url('../../images/nsf_logo.png') no-repeat;
    width: 392px;
    height: 71px;
    padding: 0;
    margin: 0;
    display: block;
}
.home-link {
    padding: 0 !important;
    width: 40px;
    float: left;
    vertical-align: middle;
    height: 53px;
    margin: auto 0;
    background: #1879be url('../../images/home-link.png') center center no-repeat;
}
.nsb-blue-link {
    padding: 0 !important;
    width: 40px;
    float: left;
    vertical-align: middle;
    height: 53px;
    margin: auto 0;
    background: #1879be url('../../images/nsb-link.png') center center no-repeat;
}
.navbar-default {
    background-color: #1879be;
    vertical-align: middle;
    position: relative;
}
.navbar-default li {
    border-left: 1px solid #555e74;
}
.navbar-default li a {
    font-family: 'Georgia', serif;
    background-color: #313a53;
    color: #ffffff;
    font-size: 18px;
    padding: 17px 15px;
    vertical-align: middle;
    border-left: 1px solid #616b85;
    left: 0px;
}
.navbar-default li a:hover {
    color: #313a53;
    -webkit-box-shadow: 0px 0px 21px 0px rgba(48,56,81,0.35);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    0px 0px 21px 0px rgba(48,56,81,0.35);  /* Firefox 3.5 - 3.6 */
    box-shadow:         0px 0px 21px 0px rgba(48,56,81,0.35);  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
#utility-links li {
    border-right: 1px solid #4186ba;
    height: 14px;
    margin-top: 5px;
}
#utility-links a {
    padding: 0px 7px 0 5px;
    margin: -3px 0 0 0;
    border-radius: 0;
    color: #313a53;
}
#utility-links a:hover {
    background-color: transparent;
    color: #000;
}
#utility-links li:last-child {
    border-right: 0;
}
#searchbar {
    clear: right;
    margin: 10px 0;
    display: inline-table;
    font-size: 14px;
}
#searchbar input {
    font-size: 14px;
}
#searchbar input, #searchbar .btn {
    border: 1px solid #70afde;
    border-radius: 0;
}
#searchbar .btn {
    background-color: #c64b00;
    background-image: none;
    color: #ffffff;
}
#searchbar .btn:hover {
    background-color: #aa3300;
    color: #ffffff;
}
.funding-opps input, .funding-opps select, .left-nav .add-references input {
    border-radius: 0;
    font-size: 12px;
}
.funding-opps button, .funding-opps .open>.dropdown-toggle,  .funding-opps .dropdown-toggle, .funding-opps .dropdown-toggle:active {
    width: 36px;
    height: 32px;
    padding: inherit;
    text-transform: uppercase;
    background-color: #2e384d;
	border-color: #2e384d;
}
.funding-opps button:hover {
	border-color:none;
}
@media (max-width: 991px) {
	 /* override bootstrap grid breakpoint to happen when leftnav clears */
	#left-nav.navbar-collapse.collapse:not(.in) {
		display: none !important;
	}
	#mobile-left-nav-toggle.navbar-toggle {
		display: block !important;
	}
}
.left-nav .add-references input, .left-nav .add-references .btn {
    border: 1px solid #70afde;
    border-radius: 0;
}
.left-nav .add-references .btn {
    background-color: #ffffff;
    background-image: none;
    color: #313854;
    width: 36px;
    height: 30px;
    padding: inherit;
    text-transform: uppercase;
    font-weight: bold;
}
.left-nav .add-references .btn:hover {
    color: #313854;
}
.funding-opps button:hover, .funding-opps button:active {
    background-color: #2e384d;
    border-color: #2e384d;
}
.funding-opps label {
    margin: 10px 0 3px 0;
}
.left-nav {
	padding-left: 0;
	padding-right: 0;
}
.left-nav .add-references .no-link {
    background-color: #005495;
    padding: 10px 15px;
    color: #ffffff;
}
.left-nav .add-references .no-link label {
    font-weight: normal;
}
.funding-opps .form-inline input, .left-nav .add-references input {
    width: 190px;
}
.funding-opps a.viewall-opps {
    font: bold 13px/15px 'Arial', sans-serif;
    text-transform: uppercase;
    padding: 15px 10px;
    white-space: normal;
    text-align: left;
    border: 5px solid #ffffff;
	color: #FFF;
    margin: 20px 0;
    background: #c64b00 url('../../images/caret-right.png') no-repeat right center;
}
.funding-opps a.viewall-opps:hover {
    background-color: #aa3300;
}
.funding-opps ul.list-group {
    margin: 0 !important;
    font-size: 13px;
    background-color: #1878be;
}
.funding-opps ul.list-group li {
    border: 0;
    background-color: transparent;
    padding: 0 !important;
    margin: 0 0 10px 0;
}
.funding-opps ul.list-group li a {
    color: #ffffff;
}
.funding-opps button.select {
    background-color: #ffffff;
    color: #333333;
    text-transform: none;
    width: 155px;
    text-align: left;
    padding-left: 10px;
}
.funding-opps ul.dropdown-menu {
    position: absolute;
    top: 30px;
    width: 230px;
    border-radius: 0;
    border: 0;
    background-color: #ffffff;
        -webkit-box-shadow: 0px 0px 21px 0px rgba(48,56,81,0.35);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    0px 0px 21px 0px rgba(48,56,81,0.35);  /* Firefox 3.5 - 3.6 */
    box-shadow:         0px 0px 21px 0px rgba(48,56,81,0.35);  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
.funding-opps ul.dropdown-menu li a {
    font-size: 13px;
    padding: 4px 10px;
}
.funding-opps ul.dropdown-menu li a:hover {
    background-color: #e4e4e4;
}
/* LEFT NAV */
.left-nav li h2 {
    background-color: #005495;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 15px;
    border-bottom: 1px solid #4391d7;
}
.left-nav li a {
    border-bottom: 1px solid #4391d7;
    border-collapse: collapse;
    background-color: #1879be;
    color: #ffffff;
}
.left-nav li a:hover {
	background-color: #006fb2;
}
.left-nav li a:hover, .left-nav .open > a:focus, .left-nav .open > a:focus, .left-nav > li > a:focus {
    background-color: #006fb2;
    color: #ffffff;
}
.add-references li a {
    border-width: 0;
    background-color: #005495;
    padding: 3px 15px;
}
.add-references li a:hover {
    background-color: #005495;
    color: #c4e2f9;
}
.add-references li:first-child a {
    padding-top: 15px;
}
.add-references li:last-child a {
    padding-bottom: 15px;
}
.left-nav.nav-stacked > li + li {
    margin: 0;
}
.add-references i.fa {
    display: inline-block;
    width: 3rem;
    font-size: 1.75rem;
    /*margin-right: 1em;*/
}
/* second level */
.left-nav ul {
    list-style: none;
    margin: 0 0 0 -40px;
}
.left-nav ul li a { 
  position: relative;
  display: block;
    padding: 10px 15px 10px 30px;
}
.left-nav li.active a {
    font-weight: bold;
    background-color: #006fb2;
}
/* PAGE UTILITIES */
#page-utilities button {
    background-color: transparent;
    border: 0px solid #cccccc;
    border-collapse: collapse;
    color: #0052a7;
    padding: 0 6px;
}
.breadcrumb {
    padding-left: 0;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
    white-space: nowrap;
}
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #4186ba;
  content: "\203A";
}
.breadcrumb li {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 250px;
}
.breadcrumb > li.active {
    font-weight: bold;
}
/* HERO IMAGES */
.container .jumbotron,.container-fluid .jumbotron {
    padding: 40px;
    border-radius: 0;
}
.jumbotron .hero-img {
    display: block;
    position: absolute;
    padding: 0;
    z-index: 0;
    top: 0;
    left: 0;        
    background-repeat:no-repeat;
    background-position:center;
}
.hero {
    color: #ffffff;
    position: relative;
    background-repeat: no-repeat;
    background-size: auto 100%;
    min-height: 250px;
}
.hero.directorate {
    background-image: none;
}
.hero.division {
    background-image: none;
}
.jumbotron.hero.division {
    overflow: hidden;
}
.jumbotron.hero.directorate {
    overflow: hidden;
}
.hero .btn {
    position: absolute;
    right: 40px;
    margin-top: 1em;
    background-color: #c64b00;
    border-radius: 0;
    font: italic 14px 'Georgia',serif;
    padding: 12px 20px;
    border: 0;
}
.hero-caption {
    position: relative;
}
.hero .btn:hover {
    background-color: #aa3300;
}
.hero p {
    margin-top: 10px;
}
.left-nav.nav > li.dropdown > a {
    padding: 10px 30px 10px 15px;
}
.left-nav .dropdown > a {
    background: #1879be url("../../images/caret-right.png") no-repeat right center;
}
.dropdown.open > a {
    background: #1879be url("../../images/caret-down.png") no-repeat right center;
}
.dropdown.active a {
    background: url("../../images/caret-down.png") no-repeat right center;
}
/* PANELS */
.panel {
    border-radius: 0;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.17);
    -moz-box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.17);
    box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.17);
    position: relative;
    padding-bottom: 0px;
    border-left: 1px solid #e2e2e2;
}
.panel-orange {
    border-top: 3px solid #e98412;
}
.panel-blue {
    border-top: 3px solid #005495;
}
.panel .list-group {
    margin: 0 16px;
}
.panel .list-group .list-group-item {
    padding: 10px 0;
}
.panel .panel-footer {
    background-color: #ffffff;
    text-align: right;
    margin: 0 15px;
    padding: 10px 0 5px 0;
    border-top: 1px solid #dddddd;
    position: relative;
    bottom: 0;
    right: 0;
    white-space: nowrap;
}
.panel .panel-heading h3 {
    font: 20px 'Georgia', serif;
    color: #313a53;
    border-bottom: 1px solid #dddddd;
    padding-bottom: 10px;
}
.panel h4, .panel .accordion-heading {
    font: 16px/22px 'Georgia', serif;
    margin: 10px 0 4px 0;
}
.panel .accordion-heading:before {
    font-family: fontawesome;
    content: "\f105";
    float: left;
    margin: -2px 5px 10px 0;
    color: #0c72b5;
}
.panel .accordion-heading:not(.collapsed):before {
    font-family: fontawesome;
    content: "\f107";
}
.accordion-inner ul {
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}
.panel .accordion-heading a {
    display: block;
}
.panel > .list-group .list-group-item,.panel > .panel-collapse > .list-group .list-group-item {
    border-width: 1px 0;
}
.panel-heading+.list-group .list-group-item:first-child{
    padding-top: 0px;
}
.panel-heading+.list-group .list-group-item:last-child{
    border-bottom: 0px;
}
.panel > .list-group .list-group-item .thumbnail,.panel > .panel-collapse > .list-group .list-group-item .thumbnail {
    width: 84px;
    float: left;
    margin-right: 10px;
    border: 0;
    padding: 0;
}
.panel .row {
    margin: 0;
}
.panel.muted, .panel.muted .panel-footer, .panel.muted > .list-group, .panel.muted .list-group .list-group-item {
    background-color: #f5f5f5;
}
.news-title, .event-title, .opp-date {
    display: inline-block;
}
.news .news-title {
    min-height: 63px;
    width: 70%;
}
.opps .opp-title, .due .opp-title {
    display: inline-block;
    width: 100%;
}
.event-title {
    min-height: 43px;
    width: 86%;
}
.news-title .date, .events .event-type, .due .opp-date, .opps .opp-date, .doc-title .date, .event-type {
    display: block;
    text-transform: uppercase;
    color: #4a5657;
    line-height: 1.4em;
    margin-top: 5px;
    font-size: 10px;
}
.links ul li, .accordion-inner ul li {
    color: #e98412;
    margin: 5px 0 5px -5px;
}
.date-stamp {
    width: 39px;
    color: #ffffff;
    text-align: center;
    display: block;
    margin-right: 10px;
    float: left;
    font-weight: bold;
    padding: 3px 8px 0px 8px;
    background: #4186ba; /* Old browsers */
    background: -moz-linear-gradient(top,  #4186ba 0%, #005495 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4186ba), color-stop(100%,#005495)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #4186ba 0%,#005495 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #4186ba 0%,#005495 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #4186ba 0%,#005495 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #4186ba 0%,#005495 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4186ba', endColorstr='#005495',GradientType=0 ); /* IE6-8 */ 
}
.date-stamp .month {
    font-weight: normal;
    text-transform: uppercase;
    font-size: 10px;
    display: block;
    border-top: 1px solid #4186ba;
}
.panel.divisions, .panel.programs {
    padding-bottom: 20px;
}
/* FOOTER */
footer {
    background: #ffffff url('../../images/footer-background.gif') bottom left repeat-x;
    padding-bottom: 70px;
    min-height: 461px;
    position: relative;
}
footer #nsf-footer-divider {
	margin: 15px 0;
	border-top: 2px solid #c6c2c2;
}
footer h5 {
    font: 18px 'Georgia', serif;
    color: #303b53;
    margin-bottom: 4px;
}
footer p {
    font: 12px/12px Arial;
    color: #40464a;
}
footer .list-group {
    list-style-type: none;
}
footer .list-group li a {
    font-size: 12px;
    line-height: 12px;
    padding: 4px 0;
}
footer .logo.research, footer .logo.nsf {
    height: 50px;
    display: block;
    background: url("../../images/sprite.png") no-repeat;
    margin-bottom: 10px;
}
footer .logo.research {
	background-position: 195px 0px;
	width: 370px;
}
@media screen and (max-width: 1199px) {
	footer .logo.research {
		background-position: 160px 0px;
		width: 350px;
    }
}


#footer-logo-container img {
	height: 35px;
	padding: 0px 10px;
}

#footer-nsf-logo img {
	height: 50px;
}

#footer-nsf-logo img {
	border-right: 1px solid #c6c2c2;
	padding-left: 0px;
}

#footer-logo-container ~ h5 {
	padding: 15px 0 10px 0;
	color: #556b85;
}

footer .logo.nsf {
    background-position: -200px 0px;
    width: 350px;
}
footer .btn {
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    width: 97px;
    height: 32px;
    border: 0;
    margin-right: 4px;
    padding: 8px 0;
	border-radius: 0 !important;
}
footer a.feedback {
    background-color: #c64b00;
}
footer a.feedback:hover {
    background-color: #aa3300;
}
footer a.nss {
    background: #005495 url('../../images/sprite.png') no-repeat;
    background-position: 0 -150px;
    text-indent: -9999px;
}
footer a.nss:hover {
    background-color: #003d7b;
}
footer a.ncses {
    background-color: #1879be;
    font-size: 16px;
}
footer a.ncses:hover {
    background-color: #0061a3;
}
/* SOCIAL ICONS */
ul.socialicons {
    list-style: none;
    display:  inline-block;
    margin: 0 auto;
}
.follow ul.socialicons li {
    float: left;
    margin-right: 8px;
    margin-bottom: 8px;
}
ul.socialicons li {
    float: left;
    margin-right: 8px;
}
ul.socialicons li:last-child {
	margin-right: 0;
}
ul.socialicons li a {
    width: 40px;
    height: 40px;
    display: block;
    background: url("../../images/sprite.png") no-repeat;
}
ul.socialicons li a:hover {
    text-indent: -9999px;
}
ul.socialicons li a.facebook {
    background-position: 0 -50px;
}
ul.socialicons li a.facebook:hover {
    background-position: 0px -100px;
}
ul.socialicons li a.twitter {
    background-position: -50px -50px;
}
ul.socialicons li a.twitter:hover {
    background-position: -50px -100px;
}
ul.socialicons li a.linkedin {
    background-position: -100px -50px;
}
ul.socialicons li a.linkedin:hover {
    background-position: -100px -100px;
}
ul.socialicons li a.youtube {
    background-position: -150px -50px;
}
ul.socialicons li a.youtube:hover {
    background-position: -150px -100px;
}
ul.socialicons li a.email {
    background-position: -200px -50px;
}
ul.socialicons li a.email:hover {
    background-position: -200px -100px;
}
ul.socialicons li a.rss {
    background-position: -250px -50px;
}
ul.socialicons li a.rss:hover {
    background-position: -250px -100px;
}
ul.socialicons li a.flickr {
    background-position: -300px -50px;
}
ul.socialicons li a.flickr:hover {
    background-position: -300px -100px;
}
ul.socialicons li a.tumblr {
    background-position: -350px -50px;
}
ul.socialicons li a.tumblr:hover {
    background-position: -350px -100px;
}
ul.socialicons li a.insta {
	background-position:-100px -148px;
}
ul.socialicons li a.insta:hover {
	background-position:-100px -196px;
}
.follow a.seeall {
    display: block;
    clear: both;
    position: relative;
    left: 0;
}
footer .seeall-grp {
	clear: both;
}
footer .txtonly-grp {
	margin-top: 30px;
}
footer a.seeall {
    font-size: 12px;
	position:relative;
}
footer .nav-pills > li:first-child > a {
    margin: 0 4px 2px 0px;
}
footer .nav-pills > li > a {
    padding: 0px;
    font-size: 12px;
    border-right: 0px solid #40464a;
    border-radius: 0;
    white-space: nowrap;
    margin: 0 4px 2px 8px;
}
footer .nav-pills > li > a:hover {
    background-color: transparent;
}
footer .nav-pills > li + li:before {
    content: "|";
    float: left;
	font-size: 11px;
}
footer .nav-pills > li + li:last-child:before {
    content: "";
}
/* HELPERS */
.remove-left-pad {
    padding-left: 0 !important;
}
.remove-right-pad {
    padding-right: 0 !important;
}
.pad-top-10 {
    padding-top: 10px;
}
.pad-top-30 {
    padding-top: 30px;
}
.pad-bottom-30 {
    padding-bottom: 30px;
}
.nowrap {
    white-space: nowrap;
}
.no-border {
    border: 0 !important;
}
.border-left {
    border-left: 1px solid #e2e2e2 !important;
}
.border-right {
    border-right: 1px solid #e2e2e2;
}
.text-muted {
    color: #878787;
}
.dropdown.open > ul {
    display: block;
}

.dropdown:not(.open) > ul {
	display: none;
}
.clear {
    clear: both;
}


/*Announcements and Additional Resources*/
.tbl-top .dataTables_paginate ul.pagination {
    margin-top: -4px !important;
}

#tbl-item-list thead {
    display: none;
}

#tbl-item-list tbody tr:last-child {
    border-bottom: 1px solid #ddd;
}

#tbl-item-list tr td {
    padding-left: 0px;
    padding-top: 1.25em;
    padding-bottom: 1.25em;
}

#tbl-item-list tr td a {
    display: block;
    clear: both;
}

#tbl-item-list tr td .date {
    display: block;
    color: #4a5657;
    font-size:10px;
    text-transform:uppercase;
    line-height: 1.4em;
}
/* NSF Bootstrap button styles */
.btn-primary {
  color: #fff;
  background-color: #c64b00;
  border-color: #c64b00;
  border-radius: 0 !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #aa3300;
  border-color: #aa3300;
}

.btn-default {
  color: #FFF;
  background-color: #c64b00;
  border-color: #c64b00;
  border-radius: 0 !important;
}
.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #FFF;
  background-color: #aa3300;
  border-color: #aa3300;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: #006fb2;
    border-color: #006fb2;
}
.btn-danger {
  color: #fff;
  background-color: #2e384d;
  border-color: #2e384d;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
  background-color: #2e384d;
  border-color: #2e384d;
}

/* Directorate Programs - accordion */
.panel .panel-heading.no-border h2 {
	border-bottom: none;
}

.collapse-section {
	border-top: 1px solid #e2e2e2;
	font-size: 16px;
	margin: 10px 0;
	padding-top: 12px;
}

.collapse-section .collapse-section {
	padding-left: 14px;
	border-top: none;
	font-size: 14px;
	margin: 7px 0 0 0;
	padding-top: 0;
}

.collapse-control {
	padding-left: 15px;
	position: relative;
	display: block;
}

.collapse-control-icon {
	position: absolute;
	left: 0;
}

.collapse-control-icon:before {
	font-family: 'Glyphicons Halflings';
	content: "\e114";
	float: left;
	font-size: 10px;
}

.collapsed .collapse-control-icon:before {
	content: "\e080";
}

.collapse-section ul {
	list-style: none;
	padding-left: 14px;
	margin: 3px 0 0 0;
}

.collapse-section li {
	text-indent: -.7em;
	padding: 2px 0 2px 1em;
}

.collapse-section li:before {
	content: "\002022";
	color: #e98412;
	font-size: 1.1em;
	padding-right: 8px;
}

.collapse-control {
	font: 16px/20px Georgia, Times, Times New Roman, serif;
}

.collapse-section .collapse-section .collapse-control {
	font: 14px/18px Arial, Helvetica, sans-serif;
}

.current, .current a {
	background-color:#006fb2;
	display:block;
	padding:10px 30px 10px 15px;
	color:#fff;
	border-bottom:1px solid #4391d7;
} 

/* International banners */
.header .logo.tokyo, .header .tokyo .logo {background-image:url('../../images/nsf_logo_tokyo_d.png');}
.header .logo.beijing, .header .beijing .logo {background-image:url('../../images/nsf_logo_beijing_d.png');}
.header .logo.europe, .header .europe .logo {background-image:url('../../images/nsf_logo_europe_d.png');}

#upcoming-webinar{
	padding-bottom:12px;
}

.panel .panel-heading-upcoming-webinar h3{
	background-color:#005495;
	margin-bottom:10px;
	padding-top:4px;
	padding-bottom:8px;
	padding-left:12px;
	padding-right:12px;
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
}

.panel .panel-heading-upcoming-webinar h3 a{
	font:17px 'Georgia', serif;
	color:#FFFFFF;
}

.btn-register{
	color:#FFF;
	background-color:#c64b00;
	border-color:#c64b00;
	border-radius:3px !important;
}

.btn-register:hover,.btn-register:focus,.btn-register.focus,.btn-register:active,.btn-register.active,.open>.dropdown-toggle.btn-register{
	color:#FFF;
	background-color:#aa3300;
	border-color:#aa3300;
} 

.blue-text{
	font-weight:600;
	color:#005495;
}

.small-text{
	font-size:11px;
}

.registration-content{
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
}

.panel-heading-upcoming-webinar a{
	cursor: text;
}