/*
Clifford Thames Maroon: #a10030
Link: #3b5998
Text / Borders: #333
Green Highlight: #6fb559;
Green Information Background & Border: #faffe8 #d4e8ca;
Yellow Information Background & Border: #fff9d7 #e2c822
Blue Information Background & Border: #eceff6 #d4dae8
Red Background & Border: #ffebe8 #dd3c10

Default Theme:
	Border: #b4b4b4
	Even Row: #f3f3f3
	Odd Row: #fcfcfc
	Header: #767676 (white)
	Footer: #cecece
*/

/* Element Type Styles */
a {
	color: #3b5998;
	cursor: pointer;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

body {
	color: #333;
	font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
	font-size: 12px;
	margin: 12px;
}

del {
	background-color: #ffe6e6;
}

div.checkbox {
	background-image: url( 'i/checkboxes.png' );
	background-repeat: no-repeat;
	display: inline-block;
	height: 13px;
	margin: 3px 0 0 3px;
	width: 13px;
}

div.checkbox.selected {
	background-position: -13px 0;
}

div.protected {
	background-image: url( 'i/protected.png' );
	display: inline-block;
	height: 16px;
	width: 16px;
}

div.protected.ford {
	background-image: url( 'i/protected-ford.png' );
	width: 42px;
}

div.dialog-title {
	display: none;
}

div.field-row {
	margin-top: 4px;
}

div.floating-panel {
	background-color: white;
	border: 1px solid #ccc;
	box-shadow: 2px 2px 1px #555;
	padding: 3px;
	position: absolute;
	visibility: hidden;
	width: auto;
	z-index: 5;
}

div.model-list-container {
	background-color: white;
	border: 1px solid #aaa;
	height: 136px;
	line-height: 1.3em;
	margin-right: auto;
	margin-bottom: 12px;
	overflow-x: hidden;
	overflow-y: scroll;
	padding-right: 32px;
	white-space: nowrap;
}

div.nav-button, div.dropdown-arrow, div.icon-button {
	background-image: url( 'i/nav/nav-button-blue.png' );
	background-repeat: no-repeat;
	cursor: pointer;
	display: inline-block;
	height: 16px;
	width: 16px;
}

div.nav-button.first {
	background-position: 0 0;
}

div.nav-button.previous {
	background-position: -16px 0;
}

div.nav-button.next {
	background-position: -32px 0;
}

div.nav-button.last, div.dropdown-arrow {
	background-position: -48px 0;
}

div.icon-button.duplicate {
	background-image: url( 'i/page-copy.png' );
}

div.padded {
	padding: 8px;
}

div.price-advice, div.request-advice {
	margin: 6px 0;
}

div.separator {
	height: 24px;
}

div.separatorHalf {
	height: 12px;
}

div.subheading {
	font-size: 15px;
	margin-bottom: 8px;
}

img.flag {
	border: 1px solid #ddd;
	height: 15px;
	margin-bottom: -3px;
	width: 22px;
}

input.invalid-input {
	color: red;
}

input.default {
	position: fixed;
	left: -1000px;
	top: -1000px;
}

ins {
	background-color: #e6ffe6;
}

h1,h2,h3,h4,h5 {
	font-size: 13px;
	color: #333;
	margin: 0;
	padding: 0;
}

h1 {
	font-size: 14px;
}

h4,h5 {
	font-size: 11px;
}

select:disabled {
	color: #333;
}

span.action {
	background-image: url( 'i/action.png' );
	background-repeat: no-repeat;
	background-position: left center;
	color: #3b5998;
	cursor: pointer;
	padding-left: 10px;
}

span.action:hover {
	text-decoration: underline;
}

span.locked {
	background-image: url( 'i/lock.png' );
	background-position: right center;
	background-repeat: no-repeat;
	font-size: 18px;
	padding-right: 20px;
}

span.process-queued, span.process-running, span.process-complete, span.process-failed {
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
}

span.process-queued {
	background-image: url( 'i/waiting.png' );
}

span.process-running {
	background-image: url( 'i/processing.gif' );
}

span.process-complete {
	background-image: url( 'i/complete.png' );
}

span.process-failed {
	background-image: url( 'i/incomplete.png' );
}

div.study-state {
	display: inline-block;
	height: 16px;
	width: 16px;

	/* Required for inline-block to work in IE7 */
	*display: inline;
	zoom: 1;
}

div.study-state.requested {
	background-image: url( 'i/study-state-requested.png');
}

div.study-state.in_progress {
	background-image: url( 'i/study-state-in-progress.png');
}

div.study-state.completed {
	background-image: url( 'i/study-state-completed.png');
}

div.study-state.locked {
	background-image: url( 'i/study-state-locked.png');
}

div.process-remove {
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url( 'i/remove.png' );
	cursor: pointer;
	height: 12px;
	width: 12px;
}

span.checkbox-list-item {
	display: block;
	margin-bottom: 4px;
}

span.complete {
	background-image: url( 'i/complete.png' );
	background-repeat: no-repeat;
	padding: 2px 0px 2px 24px;
}

span.incomplete {
	background-image: url( 'i/incomplete.png' );
	background-repeat: no-repeat;
	padding: 2px 0px 2px 24px;
}

span.padded {
	padding: 0px 4px;
}

span.separator {
	padding: 0px 12px;
}

span.tip {
	background-image: url( 'i/tip.png' );
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 24px;
}

table.left-align-cells td {
	text-align: left;
}

table.padded > tbody > tr > td,
table.padded > tfoot > tr > td,
table.padded-x > tfoot > tr > td,
table.padded-y > tfoot > tr > td {
	padding: 10px 12px;
}

table.padded > thead > tr > th,
table.padded-x > thead > tr > th,
table.padded-y > thead > tr > th {
	padding: 12px;
}

table.padded-x > tbody > tr > td {
	padding: 2px 12px;
}

table.padded-y > tbody > tr > td {
	padding: 10px 2px;
}

table.top > tbody > tr > td {
	vertical-align: top;
}

table.service-weights > tbody > tr > td.label, table.year-factors > tbody > tr > td.label {
	font-weight: bold;
	padding: 2px;
	text-align: right;
}

table.sticky-container {
	border-collapse: separate;
}

table.sticky-container tfoot {
	position: sticky;
	bottom: 0;
	z-index: 1;
}

table.sticky-container thead {
	position: sticky;
	top: 0;
	z-index: 1;
}

table.theme {
	border: 2px solid #b4b4b4;
}

table.theme > tbody > tr {
	background-color: #fcfcfc;
}

table.theme > tbody > tr > td {
	border: 0 solid #b4b4b4;
	border-bottom-width: 1px;
}

table.theme.form > tbody > tr > td {
	border-bottom-style: dotted;
	border-bottom-color: #f4f4f4;
	text-align: left;
}

table.theme > tbody > tr > td.group {
	background-color: #eee;
}

table.theme > tbody > tr.separator-start > td {
	border-top-width: 5px;
}

table.theme > tbody > tr.separator-finish > td {
	border-bottom-width: 5px;
}

table.theme > tbody > tr > td.separator-start {
	border-left: 5px solid #b4b4b4;
}

table.theme > tbody > tr > td.separator-finish {
	border-right: 5px solid #b4b4b4;
}

table.theme > thead > tr > th {
	background-color: #767676;
	color: white;
}

table.theme > tbody > tr.even-row {
	background-color: #f3f3f3;
}

table.theme > tbody > tr.no-row-separator > td {
	border: 0;
}

table.theme > tfoot > tr > td {
	background-color: #cecece;
}

table.theme > tbody > tr.footer > td {
	background-color: #cecece;
}

table.theme div.panel {
	background-color: #555;
	border: 1px solid #222;
	padding-top: 2px;
	padding-bottom: 2px;
}

textarea {
	font-family: "lucida grande", tahoma, verdana, arial, sans-serif;
	font-size: 1em;
}

tr.excluded {
	color: #777;
	text-decoration: line-through;
}

ul.breadcrumbs {
	margin: 10px 0;
}

ul.breadcrumbs li {
	display: inline;
	font-size: 14px;
	margin: 0 8px;
	white-space: nowrap;
}

ul.bullet li, li.bullet {
	list-style: disc;
	margin-left: 18px;
}

/* Class Styles */

.advice {
	font-size: 12px;
}

.badge {
	margin-left: 0.5em;
}

.bar-separator {
	background-color: #a10030;
	height: 3px;
	margin: 8px 0;
}

.bold {
	font-weight: bold;
}

.centred {
	text-align: center;
}

.clear {
	clear: both;
}

.oec-logo {
	background-image: url('i/oec-logo.png');
	width: 160px;
	height: 34px;
}

.dialog-box {
	display: none;
}

.faint {
	color: #777;
}

.field {
	background-color: white;
	border: 1px solid #777;
	border-radius: 3px;
	color: black;
	padding: 4px 6px;
}

.footer > td > .select-all
{
	margin-top: 4px;
}

/* Create space to the left of the 'Select-All' links if they appear after anything else. */
.footer > td > * + .select-all
{
	margin-left: 10em;
}

.warning {
	background-color: #ffebe8;
	border: 1px solid #dd3c10;
}

.information {
	background-color: #fff9d7;
	border: 1px solid #e2c822;
	border-radius: 8px;
}

.hasPlaceholder {
	color: #aaa;
}

.hidden {
	display: none;
}

.invisible {
	visibility: hidden;
}

.label {
	font-size: 13px;
}

.label-small {
	font-size: 11px;
}

.left {
	float: left;
}

.middle {
	vertical-align: middle;
}

.notes {
	white-space: pre-wrap;
	/* Equivalent for IE7, which doesn't support pre-wrap */
	*white-space: pre;
	*word-wrap: break-word;
}

.nowrap {
	white-space: nowrap;
}

.preformatted {
	white-space: pre;
}

.prominent {
	font-size: 14px;
	line-height: 1.7em;
}

.relative {
	position: relative;
}

.right {
	float: right;
}

.smaller {
	font-size: smaller;
}

.stretch {
	width: 100%;
}

.study-subtype-icon {
	display: none;
	height: 16px;
	width: 16px;
}

.study-subtype-icon.fleet_tender {
	background-image: url( 'i/fleet_tender-badge.png' );
	display: inline-block;
}

.top {
	vertical-align: top;
}

#action-message-container {
	display: none;
	position: absolute;
	left: 35%;
	top: 52px;
	text-align: center;
	width: 30%;
}

#title {
	font-size: 32px;
	text-align: center;
}

#menu-bar {
	font-size: 15px;
	margin: 6px 0;
}

#menu-bar span + span::before
{
	content: '\2013';
	margin: 0 1em;
}

#user-information {
	font-size: 15px;
}

#page-title {
	font-size: 20px;
	margin: 16px 0 12px;
	text-align: center;
}

#study-title {
	display: inline-block;
	font-size: 16px;
	padding-left: 16px;
}

/* User Monitor */

#user-monitor-container {
	position: relative;
}

#user-monitor-frame {
	background-color: #eceff6;
	background-color: rgba( 236, 239, 246, 0.9 ); /* Add Opacity for browsers that support it */;
	border: 2px solid #d4dae8;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	font-size: 11px;
	right: 0px;
	padding: 8px;
	position: absolute;
	top: 18px;
	width: 480px;
	z-index: 1000;
}

#user-monitor-frame.collapsed {
	width: 104px;
}

#user-monitor-frame .toggle {
	cursor: pointer;
	float: right;
	height: 16px;
	width: 16px;
}

#user-monitor-frame .toggle.collapsed {
	background-image: url( 'i/monitor/collapsed.png' );
}

#user-monitor-frame .toggle.expanded {
	background-image: url( 'i/monitor/expanded.png' );
}

#user-monitor-frame th {
	border-bottom: 1px solid #a10030;
	padding-bottom: 4px;
	text-align: center;
}

#user-monitor-frame td {
	padding: 4px 4px 0 4px;
	vertical-align: middle;
}

#user-monitor-frame td.user,
#user-monitor-frame td.page {
	text-align: center;
}

#user-monitor-frame td.study {
	text-align: left;
}

#user-monitor-frame div.user-icon,
#user-monitor-frame div.user-current-icon,
#user-monitor-frame div.user-away-icon {
	background-repeat: no-repeat;
	background-position: left center;
	height: 16px;
	padding-left: 18px;
}

#user-monitor-frame div.user-icon {
	background-image: url( 'i/monitor/user.png' );
}

#user-monitor-frame div.user-current-icon {
	background-image: url( 'i/monitor/user-current.png' );
}

#user-monitor-frame div.user-away-icon {
	background-image: url( 'i/monitor/user-away.png' );
}

/* Styles for the Login and Change Password Forms */

#login h3 {
	font-size: 18px;
}

#login td, #login input {
	font-size: 15px;
}

#login td {
	padding: 12px;
}

#login td.top-row {
	padding: 24px 24px 12px;
}

#login td.bottom-row {
	padding: 12px 24px 24px;
}

/* Struts 2 Action Message Styles */
ul.errorMessage, ul.actionMessage {
	display: inline-block;
	font-size: 14px;
	line-height: 1.5em;
	margin: 8px 0;
	padding: 8px;
	text-align: left;

	/* Required for inline-block to work in IE7 */
	*display: inline;
	zoom: 1;
}

ul.errorMessage {
	background-color: #ffebe8;
	border: 1px solid #dd3c10;
}

ul.actionMessage {
	background-color: #ffffd8;
	border: 1px solid #d4e8ca;
}