/*************************
NVD standard template settings
*************************/

/* set-up the fonts */
body,div,p,blockquote,ol,ul,dl,li,dt,dd,td,th,pre {
    font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
}

/* TODO: ??? */
img.floatRight {
    float: right;
}

body {
    background-color: #ffffff;
    color: #000154;
    font-size: 0.85em;
}

/* reset padding and margin for all block-level elements */
html,body,form,div,dl,li,dt,dd,td,th,pre,blockquote,fieldset,img {
    margin:0;
    padding:0;
}

ul,ol {
    margin-top: 0;
    margin-bottom: 0;
}
/* reset the border */
a img,:link img,:visited img, img, fieldset {
    border:none;
}

/* de-italicize address */
address {
    font-style:normal;
}

/* provide feedback on abbreviations and acronyms */
abbr, acronym, .help {
    border-bottom: 1px dotted #333;
    cursor: help;
}

/* TODO: ??? */
legend {
    font-weight: bold;
    margin: 0;
    padding: 5px;
    font-size: larger;
}

/*====
header
====*/
/* set-up the header */
#header {
    background: #000154;
    color: #ffffff;
}

#footer {
background: #ffffff;
border: none;
color: #000154;
font-size: x-small;
font-style: italic;
height: auto;
padding: 10px 0px 0px 0px;
text-align: center;
}

#footer a {
background: #ffffff;
color: #000000;
}


/*****************
General NVD styles
*****************/
/* basic content styles */
#contents .row,
#contents .checkrow,
#contents p {
    font-size: 0.9em;
}

/* headings */
h2 {
	font-size: 1.4em;
    margin: 0.7em 0 0.4em 0;
}

h3 {
    font-size: 1.3em;
    margin: 0.6em 0 0.4em 0;    
}

h4 {
    font-size: 1.1em;
    margin: 0.5em 0 0.4em 0.5em;
}

h5 {
    font-size: 1.0em;
    margin: 0.6em 0 0.4em 0;
}



/* headings small */
h2 > small {
	font-size: 1.2em;
}

h3 > small {
    font-size: 1.1em;
}

h4 > small {
    font-size: 0.9em;
}

h5 > small {
    font-size: 0.9em;
}


.fdccTitle {
    font-weight: bold;
    color: #FF0000;
}

/* style forms and detail pages */
form span.errors, .error, .errors {
    color: red;
    background: inherit;
}

form span.errors {
    display: block;
    font-size: 85%;
}

ul.errors {
  margin: 1em;
}

/* indented bulleted list */
ul.bulleted {
margin-left: 3em;
margin-top: .5em;
list-style: disc;
}

ul.bulleted li{
margin-top: .2em;
}

/* indented bulleted list */
ol.bulleted {
margin-left: 3em;
list-style: decimal;
}

ol.bulleted li{
margin-top: .2em;
}



form fieldset {
  margin: 7px 0px 0px 0px;
  padding: 3px 5px 5px 0px;
/*
    padding: 3px 5px 5px 5px;
    border: 1px solid #999999;
*/
}

legend {
	font-size: 1.1em;
	font-weight: bold;
}

div.row {
    padding-bottom: 0.5em;
}

form fieldset div.row {
    width: 100%;
    clear: left;
    overflow: hidden;
}

div.row label {
	font-weight: bold;
    float: left;
    width: 10em;
    text-align: right;
    padding-right: 0.3em;
    padding-top: 0.3em;
    text-align: right;
    margin-right: 0.5em;
}

div.row label em {
    text-align: left;
    position: absolute;
    left: 20em;
    top: 0;
    width: 30em;
}

div.row .label,
p.row .label {
    font-weight: bold;
    padding-right: 0.2em;
}

div.row input, div.row select {
    margin: 0.1em 0.3em 0.1em 0;
}

div.row span.form {
    float: right;
    width: 10em;
    text-align: left;
}

div.checkrow {
    margin: 0.3em 0 0.3em 0;
    padding-right: 0.3em;
}

div.checkrow label {
	font-weight: bold;
    padding-right: 0.3em;
}

div.row .note {
    color:#ff0000;
    background-color: #f6f0d0;
}


/*=============
template styles
=============*/
/* simpleSearch.xhtml */
div.simpleSearchForm input {
    margin: 0 0.2em;
}

div.simpleSearchForm input[type="radio"] {
    margin: 0 0.2em .5em 2em;
    display:inline;
}

div.simpleSearchForm div.searchHeading {
    margin-bottom: 0.5em;
}

div.simpleSearchForm div.simpleSearch label {
    font-size: 1.2em;
}

div.simpleSearchForm div.searchInstructions {
    margin-bottom: 1em;
}

#contents div.simpleSearchForm div.searchInstructions p {
    font-size: 0.75em;
    margin-bottom: 0.1em;
}


/* Side Bar Items */
div.resourceStatsContainer {
    display: table;
}

div.resourceStatsContainer > div {
    display: table-row;
    width: 100%;
}

div.resourceStatsContainer > div > div {
    display: table-cell;
    padding: 1px 1px 1px 1px;
}

div.resourceStatsContainer > div > div.statCount {
    text-align: right;
    padding: 1px 3px 1px 1px;
}

div.resourceStatsContainer > div > div.statDesc {
    text-align: left;
    padding: 1px 1px 3px 3px;
}

dd#resource_stats > p {
    font-size: 0.8em;
}


/* ErrorText */
.errorText {
    font-weight: bold;
    color: #FF0000;
}


/* Homepage */
.fdccHomeTitle {
    font-weight: bold;
    color: #FF0000;
}


/* searchResults.xhtml */
/* used for an exact result, see cpe search */
div.searchResultsExactMatch dt {
    margin-left: 2em;
    font-weight: bold;
}

/* used for an exact result, see cpe search */
div.searchResultsExactMatch label {
    margin-left: 4em;
}

/* used for an exact result, see cpe search */
div.searchResultsExactMatch dl {
    margin-bottom: 1.5em;
}

div.searchResults dt {
	padding: 3px 2px 5px 2px;
}

div.searchResults dt a,
div.searchResults dt a:hover {
    font-size: 0.9em;
    font-weight: bold;
}

div.searchResults dd {
    font-size: small;
    margin-bottom: 0.1em;
}

div.searchResults dd ul {
    width: 100%;
	list-style-type: none;
    cursor: default;
    padding: 0.25em 0;
}

div.searchResults dd ul li {
    display: inline;
}

div.searchResults dd ul li a {
    padding-left: 3px;
}

#contents div.searchResults dd .row {
    font-size: 1em;
    margin: 0.3em 0;
}

div.searchResults dd .label {
    font-weight: bold;
    font-style: italic;
}

/* vuln/advancedSearch ??? */
div.advancedSearch div.row {
    vertical-align: middle;
}

div.advancedSearch div.row label {
    width: 17em;
    font-size: 0.9em;
}

#publishedRanges label,
#lastModifiedRanges label {
    width: 10em;
}

div.advancedSearch div.cpeChooser label { /* reset */
    width: 5em;
}

div.advancedSearch div.cpeChooser a {
	font-size: 0.75em;
	vertical-align: middle;
}

#contents div.advancedSearch div.cpeChooser .row {
    margin-top: 0.3em;
}

div.advancedSearch div.cpeChooser div.reset {
	font-size: 0.85em;
    text-align: right;
    width: 5.3em;
}

/* vuln/detail.xhtml */
div.vuln-detail h2,
div.vuln-detail h3,
div.vuln-detail h4,
div.vuln-detail h5 {
    margin: 0;
}

div.vuln-detail h2 {
    font-size: 1.3em;
    font-weight: bold;
    width: 100%;
    text-align: center;
    padding: 0.3em 0.3em 0.3em 0.3em;
}

div.vuln-detail h3 {
    width: 100%;
    margin: 0;
    padding: 0.3em 0;
    font-size: 1.2em;
}

div.vuln-detail h4 {
    margin: 0;
    padding: 0.3em 0.3em 0.3em 0.3em;
    font-size: 1.3em;
}

div.vuln-detail h5 {
    margin: 0;
    padding: 0.3em 0.3em 0.3em 0.3em;
}

div.vuln-detail p {
    margin: 0;
    padding: 0.3em 0.3em 0.3em 0.6em;
}

div.vuln-detail table {
    margin: 0.3em 0.3em 0.3em 0.6em;
}

div.cvss-row {
    display: inline-block;
    clear: both;
    width: 100%;
}

div.cvss-detail {
    display: inline-block;
    float:left;
    width: 400px;
}

div.vuln-detail div.cvss-detail div.row {
    margin: 0.3em 0.3em 0.3em 0.6em;
}

div.vuln-detail div.row {
    padding: 0.3em 0px 0.3em 0.3em;
}

div.vuln-detail .entry {
    margin-top: 1em;
}

div.vuln-detail div.configurations .configuration {
    font-weight: bold;
    text-decoration: underline;
}

div.vuln-detail div.configurations .configuration,
div.vuln-detail div.configurations .container {
    font-size: 1.1em;
}

div.vuln-detail div.technicalDetails ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    cursor: default; 
}

div.vuln-detail div.technicalDetails a {
    white-space: nowrap;
}

div.vuln-detail .vendorStatement dt{
    font-weight:bold;
}

#contents div.vuln-detail div.technicalDetails .row {
    margin: 0;
}

/* pageNavigator.xhtml */
#contents div.pageNavigator p,
#contents div.instructions p {
    margin: 0.3em 0;
}

/* scap validations results */
#contents div.validationResults table.data {
	border-width: 1px 1px 1px 1px;
	border-spacing: 0px;
	border-style: outset outset outset outset;
	border-color: black black black black;
	border-collapse: separate;
}

#contents div.validationResults table.data th {
    padding: 0.05em 0.5em;
	border-width: 1px 1px 1px 1px;
	border-style: inset inset inset inset;
	border-color: black black black black;
}

#contents div.validationResults table.data td {
	border-width: 1px 1px 1px 1px;
	padding: 0.05em 0.15em;
	border-style: inset inset inset inset;
	border-color: black black black black;
}

#contents div.validationResults table.data td.vendor,
#contents div.validationResults table.data td.product{
    text-align:center;
    width: 15em;
}
#contents div.validationResults table.data td.capabilities {
    text-align:center;
    width: 30em;
}


/* vuln/statistics-resuls.xhtml */
#contents div.statisticsResults ul {
    margin-left: 1.0em;
}

#contents div.statisticsResults div.chart {
    margin: 1.0em 0;
}

#contents div.statisticsResults table.data {
	border-width: 1px 1px 1px 1px;
	border-spacing: 0px;
	border-style: outset outset outset outset;
	border-color: black black black black;
	border-collapse: separate;
}

#contents div.statisticsResults table.data caption {
    font-weight: bold;
    font-size: 1.1em;
}

#contents div.statisticsResults table.data th {
    padding: 0.05em 0.5em;
	border-width: 1px 1px 1px 1px;
	border-style: inset inset inset inset;
	border-color: black black black black;
}

#contents div.statisticsResults table.data td {
	border-width: 1px 1px 1px 1px;
	padding: 0.05em 0.15em;
	border-style: inset inset inset inset;
	border-color: black black black black;
}

#contents div.statisticsResults table.data td.vulnCount,
#contents div.statisticsResults table.data td.vulnPercent {
    text-align: right;
}

/* login page */
#login div.row {
    vertical-align: middle;
}

#login div.row label {
    width: 10em;
}

#login div#warning {
    width: 40em;
    margin-top: 2em;
    margin-bottom: 2em;
}

#login div#warning .bar {
    text-align: center;
}


/* CpeSearch component */
div.cpeSearch label { /* reset */
    width: 5em;
}
div.cpeSearchAttribute { 
    margin-top: 1em;
}

div.cpeSearch .row {
    margin-top: 0.3em;
}

/* div standard */
div.standard, div.prop {
overflow: hidden;
}

div.standard dt.term, div.prop .name {
font-weight: bold;
float: left;
width: auto;
text-align: right;
padding-right: 0.3em;
padding-top: 0.3em;
text-align: left;
margin-right: 0.5em;
}

div.prop span.value {
display: block;
}

div.standard dd.definition, div.prop .value {
float: left;
text-align: left;
width: 10em;
}

#contents div.standard dt, #contents div.prop .name {
font-weight:bold;
margin: 1em 1em 0.75em 1em;
}

#contents div.standard dt.subList {
    font-weight:bold;
    margin: 0.7em 0em 0em 0em;
}

#contents div.standard dt .info {
font-size:0.75em;
}

#contents div.standard dd, #contents div.prop .value {
margin-bottom: 0;
margin-left: 5em;
margin-top:0;
width:85%;
padding:0.1em 0.125em 0.1em 0.1em;
clear: left;
}

#contents div.standard dd table {
margin: 0.5em 0em;
}

#contents div.standard dd.subList {
margin-left: 4em;
}

#contents div.standard dd .info {
font-size:0.75em;
}

#contents fieldset.radioGroup {
border: 1px solid black;
width: 30em;
}

#contents fieldset.radioGroup label {
display: block;
}

#contents ul.passwordRules {
background-color: #FFFFFF;
border: thin solid;
margin-left: 3em;
margin-top: 2em;
width: 60em;
}

#contents ul.passwordRules li {
list-style: circle;
margin-left: 1.5em;
}

/* Allow wrapping for long NCP text fields */
pre {
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;
}

/* Style information for explanation text in editField.xhtml */
.explanationText {
	float: right;
    margin-right: 1em;
	width: 40%;
}


/******************
* SCAP Labs
******************/

table.scapLaboratories {
    width: 500px;
    position: relative;
    border: 2px solid black;
    display: block;
    border-spacing:0;
    border-collapse:collapse;
}

table.scapLaboratories > thead > tr > th,
table.scapLaboratories > tbody > tr > td {
    border: 1px solid black;
}


/******************
* CPE Statistics
******************/





/******************
* CPE Full Listing
******************/

span.fullListingYears h4 {
    margin-top: 2em;
    margin-bottom: 0;
    margin-left: 1em;
}

span.fullListingYears table.yearTable {
    max-width: 600px;
    width: 100%;
    margin-top: 0;
    border-top: 0.25em solid #000154;
}

span.fullListingYears table.yearTable td {
    width: 25%;
    font-size: 1.0em;
    font-weight: 600;
}



/******************
* Vulnerabilities Results
******************/

span.searchParamLabel {
    font-weight: bold;
    font-size: 0.9em;
}

ul.vulnLinksUl {
    margin: 0;
}



/******************
* leavnotice styles
******************/

#ln-blackout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 800;
}
#ln-messageHolder {
    position: fixed;
    top: 150px;
    left: 0;
    width: 100%;
    z-index: 1000;
}
#ln-messageBox {
    width: 460px;
    margin: 0 auto;
    min-height: 200px;
    background-color: #fff;
    border: 10px solid #e6e6e6;
    -moz-box-shadow: 0 0 20px 10px #666;
    -webkit-box-shadow: 0 0 20px #666;
    text-align: center;
    padding: 20px;
}
a#ln-cancelLink {
    background-color: #e6e6e6;
    font-weight: bold;
    padding: 5px;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8em;
}
a#ln-cancelLink:hover {
    background-color: #666;
    color: #e6e6e6;
}
.setoff {
    background-color: #f2f2f2;
    padding: 5px;
    margin: 10px 0 20px 0;
}


/***********************
* Search results tables
************************/

table.data {
    border-collapse: collapse;
    border: 1px solid #999999;
    margin: 0.5em 1em;
}

table.data th, table.data td {
    border: 1px solid #999999;
}

table.data th {
    padding:0.125em 0.25em;
    text-align: center;
    background-color: #CCCCCC;
}

table.data tbody td {
    padding:0.0625em 0.25em;
    border: 1px solid #999999;
    font-size: 0.95em;
}

table.data ul {
    margin: 0;
    padding-left: 1.3em;
}

table.data a {
    color: #000154;
    background-color: inherit;
}

table.data td.name .tableText {
    display: block;
}

table.data td.name .tableTextAlt {
    display:block;
    margin-top: .3em;
}

table.data caption {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.1em;
}

table.data thead {
    background-color: #CCCCCC;
    color: inherit;
}




/********** SCAP Validated Tools *******/
table.records caption,
table.record caption {
    font-weight: bold;
    font-size: larger;
}

table.record > thead {
    background-color: #CCC;
    font-size: 1.2em;
}

table.record > thead > tr > th {
    border: 1px solid #000154;
}

table.record > thead > tr > th:first-of-type {
}

table.record > tbody > tr > td:first-of-type {
    border-right: 1px solid #CCC;
}

table.accreditedLabs > tbody > tr > td:first-of-type {
    font-weight: bold;
    text-align: right;
    vertical-align: middle;
    padding-right: 0.5em;
    width: 30%;
}

table.record > tbody > tr > td {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid #CCC;
}

table.record > tbody > tr > td:last-of-type {
    width: 70%;
}

/* A little different for the tools table*/
table.tools {
    width: 100%;
}

table.records {
    border-spacing: 0;
    border-collapse: collapse;
}

table.records > thead {
    background-color: #CCC;
    font-size: 1.1em;
    border: 1px solid #000154;
}

table.records > tbody > tr > td:first-of-type {
    text-align: center;
    padding-right: 0.5em;
    font-weight: bold;
}

table.records > tbody > tr > td {
    vertical-align: middle;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

table.records > tbody > tr > td:last-of-type {
    border-right: 0px;
}

table.records > tbody > tr > td.toolName {
    font-size: 1.2em;
}




ul.check,
ul.bullet
{
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

ul.check li,
ul.bullet li
{
    background-repeat: no-repeat;
    background-position: 0 0.3em;
    padding-left: 1.3em;
    padding-top: 0.15em;
    padding-bottom: 0.15em;
}

ul.check li.checked
{ 
    background-image: url('../SCAPValidatedTools/images/Checked.png'); 
}

ul.check li.unchecked
{ 
    background-image: url('../SCAPValidatedTools/images/Unchecked.png'); 
}

ul.bullet li
{ 
    background-image: url('../SCAPValidatedTools/images/Bullet.png'); 
}

table.accreditedLabs {
    min-width: 40em;
}



/********** Data Feeds *******/
div.xml-feed-container {
    width: 100%;
}

table.xml-feed-table {
    border-spacing: 0;
    border-collapse: collapse;
    margin: 0 auto;
}

table.xml-feed-table td,
table.xml-feed-table th {
    padding-left: 0.8em;
    padding-right: 0.8em;
}

table.xml-feed-table caption {
    font-weight: bold;
    font-size: larger;
}

table.xml-feed-table > thead > tr.xml-feed-header-row {
    text-align: center;
    vertical-align: top;
}

table.xml-feed-table > thead > tr.xml-feed-header-row > td:last-of-type {
    border-left: 1px solid #999999;
}

table.xml-feed-table > thead > tr.xml-feed-version-row {
    font-size: 1.2em;
    border-bottom: 2px solid #000154;
}

table.xml-feed-table > thead > tr.xml-feed-desc-row {
    border-bottom: 1px solid #000154;
}

table.xml-feed-table > thead > tr.xml-feed-desc-row > th:nth-child(5) {
    border-left: 1px solid #999999;
    
}

table.xml-feed-table > tbody > tr > td {
    text-align: center;

}

table.xml-feed-table > tbody > tr.xml-feed-desc-row > td:first-of-type {
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    padding-right: 0.5em;
    border-right: 1px solid #999999;
    background-color: #f5f5f5;
    border-right: 1px solid #000154;
}

table.xml-feed-table > tbody > tr.xml-feed-desc-row > td:nth-child(2) {
    background-color: #f5f5f5;
}

table.xml-feed-table > tbody > tr > td {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid #999999;
}

table.xml-feed-table > tbody > tr > td {
    vertical-align: middle;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
}

table.xml-feed-table > tbody > tr > td:last-of-type {
    border-right: 0px;
}

table.xml-feed-table td.file-20 {
    background-color: #e6e6e6;
}

table.xml-feed-table td.file-12 {
    background-color: #cccccc;
}

table.xml-feed-table td.file-none {
    background-color: #e6e6e6;
}



/* Adding some flair for the change history table */
table.vuln-changes {
    border-spacing: 0;
    border-collapse: collapse;
    margin: 0 auto;
}

table.vuln-changes > thead {
    font-weight: bold;
    border-bottom: 1px solid #000154;
}

table.vuln-changes > thead > tr.title-row > th {
    text-align: left;
    font-size: 1.2em;
}

table.vuln-changes > tbody > tr > td {
    vertical-align: top;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    background-color: #E6E6E6;
    border-right: 1px solid #999999;
    border-bottom: 1px solid #999999;
    padding-left: 0.4em;
    padding-right: 0.4em;
}

table.vuln-changes > tbody > tr > td:first-of-type {
    text-align: center;
    font-weight: bolder;
    vertical-align: top;
    padding-right: 0.5em;
    border-right: 1px solid #999999;
    border-right: 1px solid #000154;
    white-space: nowrap;
}

table.vuln-changes > tbody > tr > td:nth-child(odd) {
    background-color: #f5f5f5;
    
}

table.vuln-changes > tbody > tr > td:nth-child(2) {
    text-align: center;
    white-space: nowrap;
    
}


/*********** NVD CWE Page **********/
table.cwe-listing > tbody > tr > td:first-of-type {
    font-weight: normal;
}



/*********** NVD FAQ *********/

.nvd-faq {
    font-size: 1.1em;
}

.nvd-faq h1,
.nvd-faq h2,
.nvd-faq h3,
.nvd-faq h4 {
    margin-left: 0.3em;
}

.nvd-faq ol,
.nvd-faq li,
.nvd-faq a {
    color: black;
}

.nvd-faq h3 {
    color: white;
    padding-left: 0.2em;
    background: #000154;
    border-radius: 5px;
}

.nvd-faq dl,
.nvd-faq dt,
.nvd-faq dd {
    color: black;
}

.nvd-faq dl {
    margin-left: 0.5em;
}

.nvd-faq dt {
    font-size: 1.1em;
    font-weight: bold;
}

.nvd-faq dd {
    margin-bottom: 1.2em;
    margin-left: 0.5em;
}