@CHARSET "UTF-8";

@media print
{
	.noprint { display: none; }
}
.autotextareaheight { height: auto; }
.textareadiv
{
	width: 100%;
	height: auto;
	min-height: 40px;
	border: solid darkgray 1px;
	padding: 1px;
	white-space: pre-wrap;
}

img
{
	border: none;
}

form
{
	margin: 0;
}

body
{
	font-family: sans-serif, arial;
	font-size: 0.8em;
	margin: 0px 0px 0px 0px;
}


h1
{
	padding: 0px;
	margin: 0px;
	color: #333;
	font-size: 1.8em;
	font-family: Times, "Times New Roman", Serif;
	font-style: normal;
}

h2
{
	padding: 0px;
	margin: 0px;
	color: #333;
	font-size: 1.6em;
	font-family: Times, "Times New Roman", Serif;
	font-style: normal;
}

.errorMessage
{
	color: red;
	background-color: yellow;
	border-radius: 8px;

	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 12px;
	padding-right: 12px;

	border: solid black 1px;
	font-size: 1.2em;
	font-weight: bold;
}
.errorMessage:empty
{
	display: none;
}

div.successBox
{
	margin-top: 10px;
	margin-bottom: 15px;
}
div.successBox span
{
	border-radius: 8px;
	-moz-border-radius: 8px;
	border: 1px black solid;
	background: #7da;
	padding-left: 6px;
	padding-right: 6px;
	padding-top: 6px;
	padding-bottom: 6px;
	font-size: 1.2em;
	font-weight: bold;
	clear: both;
	display: inline-block;
}

input[type="text"], input[type="password"], input[type="textbox"], select, textarea
{
	background-color: #fff;
	border: 1px solid #000;
	font-family: sans-serif, Arial;
}

input[disabled], input[readonly], textarea[readonly], textarea[disabled], select[disabled], select[readonly], option[disabled],
.disabled, .readonly
{
	border: 1px solid #999;
	background-color: #eee;
	color: #333;
	opacity: 1;
}

textarea
{
	font-size: 1.0em;
	font-family: sans-serif, Arial;
}

table
{
	padding: 0px;
	margin: 0px;
}

.title
{
	font-size: xx-large;
	font-family: sans-serif,Arial;
	font-style: normal;
	vertical-align: middle;
}
.subtitle
{
	font-size: large;
}
.qsmstitle .title
{
	float: left;
}

.headerLogoSmall
{
	display: none;
}

@media only screen and (max-width: 450px)
{
	.title {
		font-size: x-large;
	}

	.headerLogoSmall
	{
		display: block;
		border: solid 6px magenta;
	}

	.headerLogoBig
	{
		display: none;
	}
}

#sitelink
{
}

.logo
{
	padding-right: 15px;
	margin-bottom: 0px;
	padding-bottom: 0px;
	border-bottom: 0;
	font-size: 5px;
	vertical-align: top;
}


.welcome
{
	float: right;
	clear: right;
	margin-bottom: 2px;
	padding-right: 3px;
}

.search
{
	clear: right;
	float: right;
	text-align: right;
	padding-right: 3px;
	padding-top: 4px;
}


ul.headerMenu
{
	position: relative;
	left: 0;
	list-style: none;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 3px;
	padding-bottom: 3px;
	border-bottom: solid 2px grey;
	margin-bottom: 0;
	margin-top: 0;
	margin-left: 0px;
}
ul.headerMenu > li
{
	padding-bottom: 3px;
	padding-top: 3px;
}
ul.headerMenu li
{
	color: white;
	font-weight: bold;
	font-style: normal;
	padding-left: 4px;
	padding-right: 4px;
	text-decoration: none;
	display: inline;
	position: relative;
}

ul.headerMenu li a
{
	color: white;
	font-weight: bold;
	font-style: normal;
	padding: 1px;
	text-decoration: none;
}
ul.headerMenu li a:hover
{
	color: yellow;
	border: 2px solid yellow;
}
ul.headerMenu li a.notimplemented
{
	text-decoration: line-through;
	display: none;
}

ul.headerMenu > li > ul
{
	display: none;
	position: absolute;
	left: 0;
	width: auto;
	white-space: nowrap;
	border: 1px solid silver;
	z-index: 2;
	padding-left: 0px;

	top: 18px;
	margin-left: 0px;
}

ul.headerMenu li:hover > ul
{
	display: block;
}

ul.headerMenu > li > ul li
{
	display: block;
	padding-left: 0px;
	padding-right: 0px;
}

ul.headerMenu > li > ul li a
{
	display: block;
	padding-left: 5px;
	padding-right: 10px;
}

.notimplemented
{
	text-decoration: line-through;
	display: none;
}

.unauthorized
{
	color: red;
	font-size: 1.3em;
	padding-left: 10px;
}

.overdue
{
	color: white;
	background: red;
	font-weight: bold;
}

.dueSoon
{
	background: orange;
	font-weight: bold;
}

.dueMonth
{
	background: yellow;
	font-weight: bold;
}

/* Assessments */
.good
{
	background: #aea;
}
.moderate
{
	background: #ff8;
}
.significant
{
	background: #f88;
}
.normal
{
	background: white;
}

.archived
{
	font-weight: normal;
}

.nonarchived
{
	font-weight: bold;
}

.nopadding { padding: 0; }
.nopadding>div { padding: 0; }

.bottomActionButtons
{
	float: right;
	right: 2px;
}

.viewButtons
{
	float: right;
	margin-right: 5px;
	margin-top: 4px;
	z-index: 3;
}

.maincontent
{
	position: relative;
	float:left;
	height: 100%;
}

.riskscore
{
	margin-left: auto;
	margin-right: auto;
	white-space: nowrap;
}

.nobr {white-space: nowrap;}

ul.small
{
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 10px;
}

div.leftnav
{
	margin-top: 5px;
}
.leftnav
{
	background: #356;
	color: #eee;
	font-weight: bold;
	padding: 0px;
}
.leftnav ul { margin-left: 4px; padding-left: 4px; padding-right: 5px; }
.leftnav ul ul { margin-left: 0px; padding-left: 0px; }
.leftnav li { list-style: none; margin-left: 0px; padding-left: 0; font-weight: bold; }
.leftnav li li { list-style: none; margin-left: 15px; }
.leftnav a { color: yellow; text-decoration: none; font-weight: normal; }

.chartClass { width: 700px; height: 500px; }

.required { color: red; font-weight: bold; }


.hover div, .hover .popup
{
	background: #ffffdd;
	border: 1px solid black;
	display: none;
	height: auto;
	padding: 5px;
	position: absolute;
	z-index: 500;
}
.hover:hover div, .hover:hover .popup { display: block; }


.right
{
	text-align: right;
}

.left
{
	text-align: left;
}

.top
{
	vertical-align: top;
}

.hdrrow
{
	background-color: #ccc;
}

.delete
{
	background-image: url('../images/delete.png');
}

.confidential
{
	color:red; font-weight:bold;
}

.form th, .form td
{
	text-align: left;
	vertical-align: top;
}

#mainform\:ownerList > button > .ui-button-text,
#mainform\:addNewOwner > .ui-button-text
{
	padding: 2px;
}

div.ui-datatable table { width: auto; }

.compactList
{
	padding-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	list-style-type: none;
}

.buttonHighlight,
 a.buttonHighlight.ui-link.ui-button,
 button.buttonHighlight.ui-link.ui-button,
 button.buttonHighlight.ui-widget.ui-button
{
	/* background: linear-gradient(to bottom, #44b0f7, #0070c7); */
	background: linear-gradient(to bottom, #ffef30, #ffcf00);
	/* color: white; */
	/* text-shadow: 0 1px 0 rgba(0,0,0,0.7); */
}

.recommendationBg > div > table > tbody > tr.ui-datatable-even,
.recommendationBg > div > table > tbody > tr.ui-datatable-odd,
.recommendationBg
{
	background: #ccf;
}
.recommendationPanel
{
	background: #ccf;
	border: 1px solid black;
	padding: 3px;
}

.rootCauseBg > div > table > tbody > tr.ui-datatable-even,
.rootCauseBg > div > table > tbody > tr.ui-datatable-odd,
.rootCauseBg
{
	background: #fcc;
}
.rootCausePanel
{
	background: #fcc;
	border: 1px solid black;
	padding: 3px;
}

td.hazardBg, div.hazardBg
{
	background: #cfc;
}
.hazardPanel
{
	background: #cfc;
	border: 1px solid black;
	padding: 3px;
}

td.solutionBg, div.solutionBg
{
	background: #fea;
}
.solutionPanel
{
	background: #fea;
	border: 1px solid black;
	padding: 3px;
}

td.implementationBg, div.implementationBg
{
	background: #dac;
}
.implementationPanel
{
	background: #dac;
	border: 1px solid black;
	padding: 3px;
}

.taskPanel
{
	background: #9ebdd8;
	border: 1px solid black;
	padding: 3px;
}

tr.controlmeasureBg, td.controlmeasureBg, div.controlmeasureBg
{
	background: #a5dffe;
	color: #000000;
}
.controlmeasurePanel
{
	background: #a5dffe;
	color: #000000;
	border: 1px solid black;
	padding: 3px;
}

.inactive, .inactive > a
{
	background: gray;
	color: white;
	text-shadow: 1px 1px 1px #000000;
}

.narrowTableHeader > div > table > thead > tr > th
{
	padding-top: 0px;
	padding-bottom: 0px;
}

a.ReadMore
{
	background-color: #0000ff;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
	border: 1px solid black;
	border-radius: 6px;
	padding-left: 5px;
	padding-right: 5px;
	float: right;
}

a.ReadLess
{
	background-color: #888888;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
	border: 1px solid black;
	border-radius: 6px;
	padding-left: 5px;
	padding-right: 5px;
	float: right;
}

.none, input.none, td.none .ui-selectonemenu label.ui-selectonemenu-label {background-color: #eeeeee; color: #000000;}
.high, input.high, td.high .ui-selectonemenu label.ui-selectonemenu-label {background-color: #ff0000; color: #ffffff;}
.medium, input.medium, td.medium .ui-selectonemenu label.ui-selectonemenu-label {background-color: #ffbb00; color: #000000;}
.low, input.low, td.low .ui-selectonemenu label.ui-selectonemenu-label {background-color: #ffff00; color: #000000;}
.veryLow, input.veryLow, td.veryLow .ui-selectonemenu label.ui-selectonemenu-label {background-color: #ccffcc; color:#000000;}
.acceptable, input.acceptable, td.acceptable .ui-selectonemenu label.ui-selectonemenu-label {background-color: #44aa44; color: #ffffff;}
.riskMatrix .high, .riskMatrix .medium, .riskMatrix .low, .riskMatrix .veryLow, .riskMatrix .acceptable { text-align: right; }
.riskMatrix td.high, .riskMatrix td.medium, .riskMatrix td.low, .riskMatrix td.veryLow, .riskMatrix td.acceptable { padding: 8px; }


.singleline
{
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	-khtml-box-orient: vertical;
	max-height: 1.1em;
}
.singleline p
{
	margin-top: 0px;
	margin-bottom: 0px;
}
/* from https://slickmedia.io/blog/remove-paragraph-css */
.singleline p::empty
{
	display: none;
}

/* For p:textEditor */
.wysiwyg
{
	font-size: 12.8px !important;
}
.wysiwyg p
{
	margin-bottom: 12.8px !important;
	line-height: normal !important;
}
.wysiwyg h1
{
	font-size: 23.04px !important;
	line-height: normal !important;
}

.inlined
{
	display: inline;
}

.inlined-block
{
	display: inline-block;
}
.noborders, .noborders th, .noborders td {
	border-collapse: collapse;
	border-width: 0px !important;
	border-spacing: 0px;
}
.noborders td, .noborders th {
	padding: 1px 0px !important;
}