body {
    background: #A9A9A9;
    font-size: 14px;
}

/** set max-width **/
@media only screen 
and (min-width : 1224px) {

    #page {
        max-width: 91.428em; /*this is max-width of content/main font = 1280/14px*/
        margin:auto;
        }

        }
@media only screen 
and (max-device-width : 1024px) 
{
    #page {
            max-width: 68.57em; /* 960/14 */
            margin: auto;
            }

}
.container {
    background: white;
}

textarea {
    width:100%;
    padding:0;
}


label {
    display:block; 
}
/* i hate list style bullets */
ul {
    padding-left:10px;}
li {
    list-style:none;
}
ol li {
    list-style-type:decimal;
}
ol li ol li {
    list-style-type:lower-alpha;
}
/* this is so you don't have to wrap things in <strong> tags, which is
 * sometimes inconvientent in django templates */
.strong {
    font-weight:bold;
}

.right {
    text-align:right;
}

.title {
    font-size:16px;
    font-weight:bold;
}

.row-actions {
    padding-top:5px;
}

#navigation {
    margin-bottom:10px;
}

.review-cell {
    text-align:center;
    font-weight:bold;
}

.pk {
    font-size:20px;
    text-align:right;
    padding-right:10px;
    padding-left:10px;
    width:1px;
    vertical-align:middle;
}

/* date fields for DateTimePicker were showing up WAY too large, but there's no width option in
 * the widget. This restricts it to something more reasonable. */
.date {
	width: 15em;
}

/* gotta override bootstrap */
.table .pk {
    vertical-align:middle;
}

.formset-row {
    border:5px solid black;
    margin-bottom:10px;
}

.formset-row {
    border:none;
}

.formset thead th {
    text-align:center;
}

.formset tbody td input,
.formset tbody td select {
    display:block;
    margin:auto;
    width:100%;
}

.formset-row-deleted {
    opacity:0.2;
    filter: alpha(opacity = 20);
}

.formset .row {
    border-top:1px solid #e5e5e5;
    border-bottom:1px solid #e5e5e5;
    padding-top:10px;
}

.formset .row:nth-child(2n+1) {
    background-color:#f9f9f9;
}

.formset.smashed .form-group {
    margin-bottom:0;
}

.additional-textbox {
    margin-left:20px;
}

.sublabels label {
    font-weight:normal; 
}

.errorlist {
    font-weight:normal; 
    margin-left:0;
    padding-left:0;
    list-style-type:none;
}

#content-wrap {
    min-height: 24em;
}

#footer {
    margin-bottom: 2em;
}

.zebra-dark {
    background-color: rgb(230, 230, 230);
}

.zebra-light {
    background-color: rgb(255, 255, 255);
}

.table-striped tbody tr td.selected-row {
    background-color: #CFDBE6; 
    
    /* background-color: rgb(200, 200, 250); */
}

.actions-menu {
    margin-top: 20px;
    /* This line fixes a bug in chrome: 
     * http://stackoverflow.com/questions/15152470/chrome-rendering-issue-fixed-position-anchor-with-ul-in-body 
     */
    -webkit-transform: translateZ(0); 
}

.actions-menu h4 {
    margin-top:0px;
}

/* these are magic min-width values are stolen from bootstrap */
@media (min-width:992px) {
    .actions-menu {
        width:140px;
    }
}
@media (min-width:1200px) {
    .actions-menu {
        width:175px;
    }
}

/* make the sidebar move to the top of the page */
@media (max-width: 992px) {
    .actions-menu {
        position: static;
    }
}

.thumbnail-250-250 {
    max-height:250px;
    max-width: 250px;
}

.dl-horizontal dt{
    background-color:rgb(245, 245, 245);
    text-align: left;
    padding: 0.25em 0.5em;
    border-bottom: 1px solid rgb(204, 204, 204);
}
.dl-horizontal dd {
    background-color: rgb(255, 255, 255);
    margin-bottom: 0.25em;
    padding: 0.25em 0.5em;
    border-bottom: 1px solid rgb(204, 204, 204);
}

.page-anchor {
    position: relative;
    top: -120px;
    display: block;
}

.review-grid tbody>tr>td {
    vertical-align:middle; 
    text-align:center;
}

.review-grid thead th {
    text-align:center;
}

.review-grid tbody th label {
    font-weight:normal;
}

.peerreview-form textarea {
    width:100%;
}

.peerreview-form fieldset {
    margin-top:20px;
}

.peerreview-form ul label {
    font-weight:normal;
}

.peerreview-form ul {
    list-style-type:none;
    padding-left:5px;
}

.peerreview-form ul.errorlist {
    padding-left:0px;
}

.peerreview-form .help-block ul {
    list-style-type:disc;
    margin-left:10px;
}

.peerreview-form .help-block li {
    list-style-type:disc;
}

.peerreview-results td:last-child {
    text-align:right;
}

ul.nav {
    border-bottom: 1px solid rgb(66, 139, 202);
}

.actions-menu ul {
    padding-left:0px;
}

.actions-menu ul li {
    list-style:none;
    padding-top: 3px;
}

#proposal-detail {
    padding-left: 25px;
}

.otrec-pagination{
    margin-top: 10px;
    padding: 5px;
}

.otrec-pagination.bottom {
    border-top: 1px solid rgb(66, 139, 202);
}
.otrec-pagination.top {
    padding-top: 15px;
    border-bottom: 1px solid rgb(66, 139, 202);
}

#grant-table {
    margin-bottom:30px;
}

#grant-table tr.default td{
    font-weight:bold;
    background:rgb(223, 240, 216);
}

#grant-form, #grant-program-form {
    background: rgb(249, 249, 249);
    border-top:1px solid rgb(221, 221, 221);
    border-bottom:1px solid rgb(221, 221, 221);
    margin-bottom: 30px;
}

#grant-form p, #grant-program-form p{
    display:inline-block;
    padding:5px;
}


/* typeahead css */
.tt-query {
    width:100%;
    background-color:white !important;
}

.tt-hint {
    color: #999
}

.tt-dropdown-menu {
    padding: 0px 0;
    background-color: #fff;
    border: 1px solid #ccc;
}

.tt-suggestion {
    padding: 3px 3px;
    font-size: 14px;
    line-height: 24px;
}

.tt-suggestion.tt-is-under-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

.twitter-typeahead {
}

.clear-label {
    display:inline;
    font-weight:normal;
    padding-left:10px;
}
ul.reviewing {
    padding-left:5px;
}
li.reviewing{
    list-style:none;
    padding:3px;
}
li.reviewing.even {
    background:#F9F9F9;
}
.publications-formset textarea {
    height:50px;
}

.presentations-formset textarea {
    height:50px;
}

.presentations-formset input[type="text"], .publications-formset input[type="text"] {
    width:100%;
}

.progress-report-table tbody th {
    font-weight:normal;
    font-style:italic;
}

.progress-report-table thead th {
    text-align:center;
}

.progress-report-table tbody td {
    text-align:center;
}

#id_omnibox{
    width:100%;
}

.strike {
    text-decoration:line-through;}

.delete-field .checkbox {
    padding-left:0;
}

#mask-alert {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    text-align:center;
    z-index:5;
}

#page.masked-pushdown {
    margin-top:60px;
}

.col-md-2 .actions-menu input[type="text"],
.col-md-2 .actions-menu select {
    max-width:100%;
}

.download-form #id_email, .download-form #id_login_email, .download-form #id_profile_type {
    width:100%;
}

.select_cell .invalid_selection {
	border-color: #b94a48;
	border-width: medium;
	font-size: smaller;
	padding: -20px;
}

.select_cell {
	vertical-align: middle;
	size: 20%;
}

.select_cell select {
	font-size: smaller;
	width: 90%;
	border-color: #ccc;
	border-width: medium;
}

/*
 * styling for object-merging pages
 */

.swap_direction
{
    text-align: center;
    float: left;
    width: 2%;
    margin: 2%;

}

.merge_container
{
    float: left;
    width: 44%;
}

.object_list
{
    font-size: 12px;
}

