/*************************
NVD standard template settings
*************************/

/* TODO: ??? */
img.floatRight {
    float: right;
}

body {
    background-color: #ffffff;
    color: #000154;
}

/*====
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: 1em;
    margin: 0.05em 0 0.1em 0;
}

/* headings */
h2 {
	font-size: 1.3em;
	font-weight: normal;
}

h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0.4em 0;
}

h4 {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0.7em 0 0.4em 0.5em;
}

h5 {
    font-size: 1.0em;
    font-weight: normal;
    text-decoration: underline;
    margin: 0.5em 0 0.4em 0;
}

/* 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;
}


#contents table {
border-collapse: collapse;
border: 1px solid #999999;
margin: 0.5em 1em;
}

#contents th, #content td {
border: 1px solid #999999;
}

#contents table thead th {
padding:0.125em 0.25em;
text-align: center;
}

#contents table tbody td {
padding:0.0625em 0.25em;
border: 1px solid #999999;
}

#contents table ul {
margin-left: 1em;
}

#contents table a {
    color: #000154;
    background-color: inherit;
}

#contents td.name .tableText {
display: block;
}

#contents td.name .tableTextAlt {
display:block;
margin-top: .3em;
}

#contents table caption {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.1em;
}

#contents table thead {
    background-color: #CCCCCC;
    color: inherit;
}

/* 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;
}

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.vulnDetail h2 {
    font-size: 1.3em;
    font-weight: bold;
    width: 100%;
    text-align: center;
    padding: 3px 0px 3px 0px;
}

div.vulnDetail h3 {
    width: 100%;
    margin: 0;
    padding: 0.3em 0;
/*    padding: 3px 3px 3px 3px;*/
}

div.vulnDetail .entry {
    margin-top: 1em;
}

div.vulnDetail div.configurations .configuration {
    font-weight: bold;
    text-decoration: underline;
}

div.vulnDetail div.configurations .configuration,
div.vulnDetail div.configurations .container {
    font-size: 1.1em;
}

div.vulnDetail div.technicalDetails ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    cursor: default; 
}

div.vulnDetail div.technicalDetails a {
    white-space: nowrap;
}

div.vulnDetail .vendorStatement dt{
    font-weight:bold;
}

#contents div.vulnDetail div.technicalDetails .row {
    margin: 1.0em 0 0 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 {
clear: left;
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%;
}
