/**
Legacy CSS to help any un-ported pages look ok in nitrc3.0

Color Palette:

dark blue: #2c358b
medium blue: #878dc5
light blue: #e2e2f1
red: #991c4d
light red: fff2f7
green: #359139
light green: #eefdea
yellow: #fddd00
light yellow: #fffbe1

dark, but not black: #222222
 */



/****************
 * BEGIN HEADINGS
 ****************/

/* setup nitrc-overall.css h1 clones */
div.pageHeader,
h3.sectionHeader {
    font-family: 'Condensed Font', 'Tool Font', "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: 26px;
    color: #222222;
    margin: 10px 0;
    border-bottom: 2px solid #e2e2f1;
}

/* setup nitrc-overall.css h2 clones*/
div.sectionHeader {
    font-family: 'Header Font', "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    font-size: 22px;
    color: #981b4c;
    margin: 7px 0;
}

/**************
 * END HEADINGS
 **************/


/**************
 * BEGIN TABLES
 **************/
.fixed-tables table {
    table-layout: fixed;
}

/* fix up table based inputs */
.nitrc3_0 label.nitrc3_0 {
    display: inherit;
    font-size: 16px;
}

td.halfPageLeft {
    width: 50%;
    padding-right: 8px;
}
td.halfPageRight {
    width: 50%; padding-left: 8px;
}

table .sectionTableHeaderRow {
    background: #2c358b; height: 24px; vertical-align: center;
    color: white;
}

#frs-summary-header .header,
table#frs-summary-table .sectionTableHeaderRow td {
    background: white;
    color: #2c358b;
    font-weight: bolder;
    font-size: 18px;
}

table .sectionTableHeaderRow td {
    padding-left: 5px;
    border: 1px solid white;
}

table .sectionTableControlRow td.aright {
    text-align: right;
}

table .sectionTableControlRow td.acenter {
    padding-top: 5px;
}

table .sectionTableControlRow td.aright a.next img {
    margin-top: 2px;
}

#frs-summary-header .col-md-3,
#frs-summary-header .col-sm-6 {
    padding: 3px;
}

#frs-summary-header .stats {
    background-color: #991c4d;
    color: white;
    width: 100%;
    text-align: center;
    padding: 5px;
}

table#frs-summary-table .sectionTableControlRowAlternate td.stats {
    background-color: #991c4d;
    color: white;
    width: 25%;
}

table#frs-summary-table {
    width: 100%;
    border-spacing: 5px;
    border-collapse: separate;
}

table#frs-summary-table tr.sectionTableControlRowAlternate td.stats {
    padding: 5px;
}

table tr.dataRow td {
    padding-left: 5px;
}

/* style box helpler html */

table.box-top-inner {
    margin-left: 10px;
    margin-right: 10px;
}
tr .box-top-inner > td{
    background-color: #2c358b !important;
    color: white !important;
    font-weight: bold;
}
table.box-top-inner table td {
    padding-left: 5px;
}

table.box-top-inner table tr:not(.box-top) {
    background-color: white !important;
    color: black !important;
}

table.box-top-inner table tr.box-top-detail + tr, table.box-top-inner table tr.box-top-detail + tr a,
table.box-top-inner table tr.box-contents + tr:not(.box-contents):not(.box-top-inner),
table.box-top-inner table tr.box-contents + tr:not(.box-contents):not(.box-top-inner) a
{
    background-color: #878dc5 !important;
    color: white !important;
}

table.box-top-inner table tr.box-top-detail  {
    background-color: white;
    color: black;
}

table.box-top-inner tr:nth-child(even)  {
    background-color: #e2e2f1 !important;
}

/*
table.box-top-inner table a {
    color:white;
}
*/

tr .box-middle {
    background-color: #878dc5;
    color: #ffffff;
}

/* list tables */
table.list-table-top tr:first-child {
    background-color: #878dc5;
    color: white;
}

/* if the row has the alt-row class, then it will have the alt-row-1 and alt-row-2
   classes. In that case, don't do the auto-alternating colors.
 */
table.list-table-top tr:nth-child(even):not(.alt-row),
table.list tr:nth-child(even):not(.alt-row) {
    background-color: white !important;
}

table.list-table-top tr:nth-child(2n+3):not(.alt-row),
table.list tr:nth-child(2n+3):not(.alt-row) { /* every odd except the first row! */
    background-color: #e2e2f1 !important;
}

/* tables with doubled up rows need different alternate color rules */
table.table-double table.list-table-top tr:nth-child(4n+4):not(.alt-row),
table.table-double table.list-table-top tr:nth-child(4n+5):not(.alt-row)
{
    background-color: #e2e2f1 !important;
}
/* tables with doubled up rows need different alternate color rules */
table.table-double table.list-table-top tr:nth-child(4n+2):not(.alt-row),
table.table-double table.list-table-top tr:nth-child(4n+3):not(.alt-row)
{
    background-color: white !important;
}

table .alt-row-1 {
    background-color: #e2e2f1 !important;
}
table .alt-row-2 {
    background-color: white !important;
}

table.list-table-top tr:first-child td {
    border: 1px solid white;
}

table.list {
    width: 100%;
}

table.list tr.dark-blue td,
table.list tr.dark-blue th {
    background-color: #2c358b;
    color: white;
    border: 1px solid white;
    padding: 5px;
}

table.list tr.medium-blue td,
table.list tr.medium-blue td a {
    background-color: #878dc5;
    color: white !important;
    padding: 5px;
}

table.list tr.highlighted-row td,
table.list tr.highlighted-row td a {
    background-color: pink !important;
    color: black !important;
    padding: 5px;
}

table.numeric tr:first-child td {
    text-align: center;
}

table.numeric tr:not(:first-child) td {
    text-align: right;
}

table#project-downloads tr td.mrt0 {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0px;
    width: 20%;
    white-space: nowrap;
}

table#project-downloads tr td.mrt1
{
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
    width: 30%;
    white-space: nowrap;
}

table#project-downloads tr td.mrt2
{
    max-width: 0;
    width: 9%;
    white-space: nowrap;
}
table#project-downloads tr td.mrt3 {
    max-width: 0;
    /*width: 5%;*/
    white-space: nowrap;
}

table#project-downloads tr td.mrt4,
table#project-downloads tr td.mrt5
{
    max-width: 0;
     /*width: 5%;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hide less important columns when space gets tight */
@media only screen and (max-width: 800px) {
    table#project-downloads tr td.frs4,
    table#project-downloads tr td.frs5,
    table#project-downloads tr td.frs6,
    table#project-downloads tr td.mrt3,
    table#project-downloads tr td.mrt4,
    table#project-downloads tr td.mrt5 {
        display: none;
    }
}
@media only screen and (max-width: 1000px) {
    table#project-downloads tr td.frs4,
    table#project-downloads tr td.frs6,
    table#project-downloads tr td.mrt3,
    table#project-downloads tr td.mrt5 {
        display: none;
    }
}

@media only screen and (max-width: 1200px) {
    table#project-downloads tr td.frs6,
    table#project-downloads tr td.mrt5 {
        display: none;
    }
}


table#project-downloads tr td.mrt6
{
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
    width: 20%;
    white-space: nowrap;
}

table#project-downloads tr td.mrt1 dd
{
    overflow: hidden;
    text-overflow: ellipsis;
}

table#project-downloads tr:nth-child(2n+3) {
    border: 1px solid #e2e2f1;
}
table#project-downloads tr:nth-child(2n+4) {
    background-color: #e2e2f1;
}
table#project-downloads tr.frs-download-file-even {
    background-color: white !important;
}
table#project-downloads tr.frs-download-file-odd {
    background-color: #e2e2f1 !important;
}

#subscribe-forum-link {
    color: #359139;
    font-weight: bolder;
}

#subscribe-forum-link:hover {
    text-decoration: underline;
    cursor: pointer;
}

#subscribe-forum-link:not(.show-icon) img {
    display: none;
}

#subscriber-count {
    font-weight: bolder;
    margin-bottom: 20px;
}

#forum-pageHeader {
    padding-bottom: 10px;
}

#forum .searchCount {
    text-align: right;
    margin-bottom: 10px;
}

#forum select {
    background-color: white;
    color: black;
}

#forum .sectionTableControlRow {
    color: white;
    background-color: #2c358b;
}

#forum .sectionTableControlRow td {
    padding: 5px;
}

#forum .sectionTableControlRow td.aright a {
    color: white;
}

#forum table tr.medium-blue {
    background-color: #878dc5;
}

#forum table tr.medium-blue td,
#forum table tr.medium-blue td a {
    color: white;
}

.forum-messages {
    padding-left: 0px;
}

#forum .forum-post {
    border: 1px solid #878dc5;
}

#forum .forum-post .header {
    color: white;
    background-color: #878dc5;
    padding: 10px;
}

#forum .forum-post .header a {
    color: white;
}

#forum .forum-post .header a:hover {
    text-decoration: underline;
}

#forum .forum-post .subject {
    color: #2c358b;
    font-size: larger;
    padding: 10px;
}

#forum .forum-post .body,
#forum .forum-post .attachment {
    padding: 10px;
}

#forum .forum-post .footer {
    padding: 10px;
}

.table-news td {
    text-align: left !important;
    vertical-align: top;
}

.table-news .news-title {
    color: #991c4d;
    font-weight: bolder;
}

.table-news .project {
    color: black;
    font-weight: normal;
}

.table-news a {
    color: #2c358b;
    font-weight: bolder;
}

.table-news tr:nth-child(2n+3) {
    background: #e2e2f1
}

#community-news .searchCount {

}

/************
 * END TABLES
 ************/

.sectionSeparator {
    padding-top: 15px;
}

/***************
 * START BUTTONS
 ***************/

/* Style tab-type menus above content */
div.submenu {
    margin-top: 10px;
}
div.content-div > p > strong a ,
div.content-div > p > strong b,
div.submenu > p > strong a ,
div.submenu > p > strong b  {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 6px;
    margin-top: 3px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid ;
    /*border-radius: 4px;*/
}

div.content-div > p.tabs > strong,
div.submenu > p.tabs > strong {
    color: white;
}
div.content-div > p > strong a,
div.submenu > p > strong a {
    background-color: #2c358b;
    border: none;
    color: white;
}
div.content-div > p > strong a:hover,
div.submenu > p > strong a:hover {
    background-color: white;
    border-color: #2c358b;
    color: #2c358b;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    text-decoration: none;
}

div.content-div > p > strong b,
div.submenu > p > strong b {
    background-color: white;
    border-color: #2c358b;
    color: #2c358b;
}

input[type="submit"],
a.submit-link {
    color: #fff;
    background-color: #359139;
    border-color: #359139;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    padding: 1px 6px;
}

input[type="submit"],
a.submit-link-red {
    color: #fff;
    background-color: #981b4c;
    border-color: #981b4c;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    padding: 1px 6px;
}

input[type="submit"]:hover,
a.submit-link:hover {
    background-color: white;
    border-color: #359139;
    color: #359139;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    text-decoration: none;
    padding: 1px 6px;
}

input[type="submit"]:hover,
a.submit-link-red:hover {
    background-color: white;
    border-color: #981b4c;
    color: #981b4c;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    text-decoration: none;
    padding: 1px 6px;
}


#projectinfo input[type="submit"].btn,
#my-diary input[type="submit"].btn {
    border-radius: 4px;
    padding: 6px 12px;
}

#projectinfo input[type="submit"].btn-primary,
#my-diary input[type="submit"].btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}

#projectinfo input[type="submit"].btn-primary:hover,
#my-diary input[type="submit"].btn-primary:hover {
    color: #337ab7;
    background-color: #fff;
    border-color: #337ab7;
}

#community-news-submit-button {
    display: none;
}

#frs-intro-2 {
    width: 75%;
}

#frs-create-button {
    margin-top: -50px;
    float: right;
}

/***************
 * END BUTTONS
 ***************/

/***************
 * BEGIN IMAGE BUTTONS AND ICONS
 ***************/

img.rss-icon {
    /*float:right;*/ /* When floating right, the icon doesn't enlarge the menu item that contains it */
    display: none;
}

.nitrc2_0 {
    display: none;
}

.large-unicode {
    font-size: 20px;
}


/***************
 * END IMAGE BUTTONS
 ***************/


/***************
 * BEGIN FONTS
 ***************/
  .container-legacy div.content-div p
  /*, .container-legacy div.content-div a*/
{
    font-size: 16px;
}

/***************
 * END FONTS
 ***************/

/***************
 * BEGIN SPECIFICAITONS (TOOL/RESOURCE)
 ***************/

div#pdwVisiblespecifications h2 {
    background-color: #2c358b;
    color: white ;
    padding:10px;
}

/***************
 * END SPECIFICAITONS (TOOL/RESOURCE)
 ***************/

/***************
 * BEGIN Documents (TOOL/RESOURCE)
 ***************/
table.doc-controls {
    margin-bottom: 5px;
}

tr.docs-folder-row {
    background-color: #878dc5;
    color: white;
}

tr.docs-folder-row a {
    color: white;
}

tr.docs-file-row:nth-child(even) {
    background-color: #e2e2f1;
}

table.doc-add-table {
    table-layout: fixed;
}

table.doc-add-pubmed-table {
    table-layout: fixed;
}

table.doc-add-pubmed-table tr td.first {
}
table.doc-add-pubmed-table tr td.second {
}
table.doc-add-pubmed-table select,
table.doc-add-pubmed-table textarea,
table.doc-add-table select {
    max-width: 95%;
}

table.doc-admin-table tr.sectionTableHeaderRow {
    height: 50px;
}

table.documents-table tr.sectionTableHeaderRow :nth-child(2),
table.doc-admin-table tr.sectionTableHeaderRow :nth-child(2) {
    text-align: center;
}

table.doc-admin-table tr.sectionTableControlRow {
    background-color: #2c358b;
    color: white;
}
table.doc-admin-table tr.sectionTableControlRow td {
    padding-left: 5px;
    border-top: solid white 10px;
    font-size:16px;
}
/***************
 * END Documents (TOOL/RESOURCE)
 ***************/


/***************
 * BEGIN Forums (TOOL/RESOURCE)
 ***************/
span.subscriber_count {
    float:right;
}

/***************
 * END Forums (TOOL/RESOURCE)
 ***************/



/***************
 * BEGIN User Home Page
 ***************/
#user-home-content-table  td.left table {
    width: 97%;
}

/***************
 * END User Home Page
 ***************/


/***************
 * BEGIN Tracker Page
 ***************/
form[name=artifactList] table.list-table-top td {
    padding-left: 5px;
}

/***************
 * END Tracker Page
 ***************/


/***************
 * BEGIN NITRC-CE Settings
 ***************/
#ce-settings-editor #editor_holder .row,
#ce-settings-editor #editor_holder .row div.form-control ,
#ce-settings-editor #editor_holder .row {
    min-height: 80px;
}
#ce-settings-editor #editor_holder div.row label {
    font-size: 16px;
    font-weight: bold;
    margin-left: 5px;
}
/***************
 * END NITRC-CE Settings
 ***************/

/***************
 * BEGIN Tool Association Admin
 ***************/
table#subprojects table {
    table-layout: fixed;
    width: 100%;
}
table#subprojects table.list-table-top tr {
    background-color:  auto;
    height:30px;
}
table#subprojects table.list-table-top td[align=center]  {
    height: 40px;
}

table#subprojects table.list-table-top tr:nth-of-type(4n+4),
table#subprojects table.list-table-top tr:nth-of-type(4n+5){
    background-color: #e2e2f1 !important;
}

table#subprojects table.list-table-top tr:nth-of-type(4n+3),
table#subprojects table.list-table-top tr:nth-of-type(4n+2){
    background-color: white !important;
}

/***************
 * END Tool Association Admin
 ***************/

/***************
 * BEGIN Wizard
 ***************/
table.wizard tr.sectionTableControlRow {
    background-color: #878dc5 !important;
    color: white;
    font-weight: bold;
}
table.wizard  {
    table-layout: fixed;
}
table.wizard td.left {
    width: 30%;
}
table.wizard td:not(.no-padding) {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}
table.wizard td.no-padding {
    padding-top: 10px;
    padding-bottom: 10px;
}

table.wizard table.mceLayout {
    width: auto !important;
}

/***************
 * END Wizard
 ***************/


/***************
 * BEGIN Form Fixes
 ***************/

table.hide-left-col > tbody > tr > td:not([colspan]):first-child {
    display:none;
}
/* Labels inside one-col-input-form tables are a legacy layout and need to have a
gap applied above the lable so it is closer to it's associated widget. */
.nitrc3_0 .one-col-input-form table label,
.nitrc3_0 .one-col-input-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 1px;
    font-size: 16px;
}

/***************
 * END Form Fixes
 ***************/

/***************
 * BEGIN Tracker
 ***************/
.tracker input {
    max-width: 90%;
}
table.cvs-tracker.normal-table {
    table-layout: fixed;
}
table.cvs-tracker.normal-table tr td:first-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
    direction: rtl;
    width: 25%;
}
table.cvs-tracker.normal-table tr td:nth-child(2) {
    width: 12%;
}
table.cvs-tracker.normal-table tr td:nth-child(3) {
    width: 12%;
}
table.cvs-tracker.normal-table tr td:nth-child(4) {
    width: 8%;
}
table.cvs-tracker.normal-table tr td:nth-child(6) {
    width:12%;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}
.cvs-tracker-view-toggle {
    float: right;
    margin-bottom: 7px;
}

/***************
 * END Tracker
 ***************/
