﻿.fic-grants-table {
    width: 100%;
}
table.fic-grants-table th.ms-vh {
    padding: 3px 5px;
    color: #424242;
}
.fic-grants-table th.ms-vh a,
.fic-grants-table th.ms-vh a:link,
.fic-grants-table th.ms-vh a:visited,
.fic-grants-table th.ms-vh a:active,
.fic-grants-table th.ms-vh a:hover {
    color: #424242;
}
.fic-grants-table th.ms-vh a:hover {
    text-decoration: underline;
}
.fic-grants-table .pi.last:after {
    content: '';
}
.fic-grants-table .pi:after {
    content: '; ';
}
.fic-grants-table .program.last:after,
.fic-grants-table .country.last:after {
    content: '';
}
.fic-grants-table .program:after,
.fic-grants-table .country:after {
    content: ', ';
}
.no-matches {
    display: none;
    font-weight: bold;
    text-align: center;
    margin: 0 !important;
    padding: 2.5em 0;
    border-bottom: 1px solid #d8d8d8;
}

.pagination {
    display: table;
    width: 100%;
    padding: 0 !important;
    margin: 1em 0 !important
}
.pagination .item-summary {
    display: table-cell;
    text-align: left;
}
.pagination .navigation {
    display: table-cell;
    text-align: right;
}
.pagination .page-nav {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.fic-grants-table .sort-dir {
    display: none;
    width: 7px;
    height: 12px;
    text-indent: -1000em;
    margin: 0 0 0 3px;
}
.fic-grants-table th.asc .asc,
.fic-grants-table th.desc .desc {
    display: inline-block;
} 
.fic-grants-table .sort-dir.asc {
    background: url(http://www.fic.nih.gov/_layouts/images/sort.gif) no-repeat 0 2px;
}
.fic-grants-table .sort-dir.desc {
    background: url(http://www.fic.nih.gov/_layouts/images/rsort.gif) no-repeat 0 2px;
}

.fic-grants-table th.fic-award-title { width: 28%; }
.fic-grants-table th.fic-award-program,
.fic-grants-table th.fic-award-inst { width: 20%}
.fic-grants-table th.fic-award-pi,
.fic-grants-table th.fic-award-country { width: 16%; }

.search-filter {
    position: relative;
    height: 62px;
    background-color: #ededed;
    border-top: 1px solid #b3becb;
}
.grants-keyword-search {
    position: absolute;
    left: 10px;
    top: 0;
}
.grants-keyword-search input.text {
    width: 180px;
}
.grants-keyword-search label,
.grants-filters .label {
    display: block;
    font-size: 1.15em;
    margin: 4px 0;
}
.grants-filters {
    position: absolute;
    right: 10px;
    top: 0;
	padding-left:20px;
}
.filter-container {
    position: relative;
}

.grants-search-form ul.filter-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.filter-categories > li {
    display: block;
    border-left: solid 1px #fff;
    margin: 0 0 0 -1px;
    float: left;
    width: 150px;
    height: 20px;
    overflow: hidden;
}
ul.filter-categories > li:first-child,
ul.filter-categories > li.first {
    border-left: 0;
}
ul.filter-categories > li > a,
ul.filter-categories > li > a:link,
ul.filter-categories > li > a:active {
    color: #fff;
    padding: 2px;
    background-color: #009a3d;
    display: block;
    text-align: center;
    position: absolute;
    top: 0;
    z-index: 11;
    width: 145px;
    line-height: 15px;
}
ul.filter-categories > li > a:hover {
    background-color: #f78f1e;
    text-decoration: none;
}
ul.filter-categories > li.active > a {
    background-color: #b1e0ba;
    color: #000;
    padding-bottom: 4px;
}
.grants-filters .filter-panel {
    display: none;
    background-color: #b1e0ba;
    position: absolute;
    left: 12px;
    top: 21px;
    border-top: solid 1px #fff;
    z-index: 10;
    width: 589px;
}

.filter-list-container {
    border: dotted 1px #b3becb;
    background-color: #fff;
    margin: 10px;
    padding: 5px 10px;
    height: 200px;
    overflow: auto;
}
.grants-filters .filter-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.grants-filters .filter-panel li {
    position: relative;
    margin: 6px 0;
}
.grants-filters .filter-panel .empty-message {
    display: none;
    margin: 20px 0;
    text-align: center;
}
.grants-filters .filter-panel.empty .empty-message {
    display: block;
}
.grants-filters .filter-panel li input {
    position: absolute;
    margin-top: 0;
    top: 1px;
    left: 0;
}
.grants-filters .filter-panel li label {
    display: inline-block;
    margin-left: 25px;
}
.filter-panel .filter-buttons {
    margin: 10px;
}
.filter-panel .filter-buttons .right {
    float: right;
}
.filter-panel.empty .filter-buttons input {
    display: none;
}
.filter-panel.empty .filter-buttons .always {
    display: initial;
}

.applied-filters {
    position: relative;
    padding-right: 95px;
}
.applied-filters h5 {
    font-size: 1em;
    margin: 0.4em 0;
    font-weight: bold;
}
.applied-filters .tags {
    margin: 0;
    padding: 0;
    font: 11px Verdana, Arial, Helvetica, sans-serif;
    list-style: none;
}
.applied-filters .tags:after {
    content:" ";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.applied-filters .tags li {
    display: inline-block;
    float: left;
    margin: 0 5px 5px 0;
    color: #000;
    background-color: #b1e0ba;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 3px;
    border: solid 1px #009a3d;
}
.applied-filters .tags span {
    display: table-cell;
    vertical-align: middle;
}
.applied-filters .tags a,
.applied-filters .tags a:link,
.applied-filters .tags a:active,
.applied-filters .tags a:visited {
    display: block;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    width: 14px;
    height: 14px;
    padding-top: 1px;
    line-height: 12px;
    text-align: center;
    font-size: 20px;
}
.applied-filters .tags a:hover {
    color: #FFF;
    background-color: #009a3d;
    text-decoration: none;
}
.applied-filters input {
    position: absolute;
    bottom: 5px;
    right: 0;
}

.applied-search,
.applied-filters {
    display: none;
}
.applied-search p {
    font-weight: bold;
    padding: 0;
    margin: 0.6em 0;
    font-size: 1.1em;
    color: #444;
}
.applied-search .search-terms {
    font-style: italic;
}

.filter-category a {
	font-size:95%;
}