html, body {
	height: 100%;
	min-height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial;
	font-size: 14px;
	color: #333;
	background: #f5f5f5;
}


h2 {
	color: #cc6600;
}

table {
	width: 100%;
	border-collapse: collapse;
}

table th, table td {
	text-align: center;
	padding: 8px;
	border: 1px solid #ccc;
}
table th {
	font-weight: bold;
	background: #e6e6e6;
}

table td {
	background: #f5f5f5;
}
table tr.alternate td {
	background: #fff;
}
table th.title, table td.title,
table th.name, table td.name,
table th.username, table td.username,
table th.fullname, table td.fullname {
	width: 360px;
	text-align: left;
}
table th.page_title, table td.page_title {
	width: 100%;
	text-align: left;
}
.table-action {
	margin: 10px 0;
	text-align: right;
}
table th.phase, table td.phase,
table th.date, table td.date,
table th.datetime, table td.datetime {
	white-space: nowrap;
}
table th.description, table td.description {
	width: 100%;
	text-align: left;
}
table th.total {
	text-align: right;
}

table.fields th {
	text-align: left;
	width: 35%;
}
table.fields td {
	text-align: left;
}

table.result .date {
	white-space: nowrap;
}


table td.order {
	text-align: center;
}
table td.order .field {
	float: none;
	width: 66px;
	margin: 0 auto;
}

table.answers th.question,
table.answers td.question {
	text-align: left;
}

table.answers td.answer,
table.answers td.answer select {
	width: 240px;
}
table.answers td.answer,
table.answers td.question {
	background: #fff;
}

table.answers td.answer.error,
table.answers td.question.error {
	background: #fee !important;
}

#table-member-relation th,
#table-member-relation td {
	text-align: left;
}
fieldset {
	margin-bottom: 20px;
	border: 0;
}

fieldset legend {
	color: #333;
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 18px;
	border-bottom: 2px solid #333;
}

.form-row {
	float: left;
	margin: 5px 0;
	clear: both;
}
.form-row label {
	display: block;
	float: left;
	width: 160px;
	padding-top: 5px;
	color: #666;
	font-weight: bold;
}
.form-row span {
	display: block;
	float: left;
	margin-top: 4px;
}

#content .form-row label {
	margin-top: 4px;
}

table input.file,
table input.date,
table input.date-expire,
table input.text,
table select,
table textarea,
.form-row input.file,
.form-row input.date,
.form-row input.text,
.form-row select,
.form-row textarea,
.checkbox-group,
.radio-group {
	float: left;
	color: #666;
	width: 410px;
	border: 0;
	background: #fff;
}


.checkbox-group label,
.radio-group label {
	display: block;
	float: left;
	width: 120px;
	padding: 2px;
	margin-right: 4px;
	margin-bottom: 2px;
	border: 1px solid transparent;
	clear: none;
}
.checkbox-group label span,
.radio-group label span {
	float: none;
	display: inline;
}

.checkbox-row,
.radio-row {
	clear: both;
}

.checkbox-row label,
.radio-row label {
	display: block;
	float: none;
	width: 100%;
	border: 1px solid transparent;
	padding: 2px;
	margin: 2px 0;

	clear: both;
}

.checkbox-row label:hover,
.radio-row label:hover,
.checkbox-group label:hover,
.radio-group label:hover  {
	border: 1px solid #999;
	background-color: #ffd;
	cursor: pointer;
}

.required { color: #f00; }

table .field,
.form-row .field {
	float: left;
	color: #666;
	padding: 4px;
	border: 1px solid #ccc;
	margin-right: 10px;
	background: #fff;
}
table .focus,
.form-row .focus {
	border: 1px solid #999;
}

table .focus,
table input.text:focus,
table select:focus,
table textarea:focus,
.form-row .focus,
.form-row input.text:focus,
.form-row select:focus,
.form-row textarea:focus {
	color: #333;
	background-color: #ffd;
}

.form-row input.date-expire,
.form-row input.date {
	width: 120px;
}

.form-row .help {
	float: right;
	width: 410px;
	margin-right: 20px;
	padding: 2px 4px;
	color: #666;
	font-size: 12px;
	font-style: italic;
}

.form-row .image img {
	max-width: 380px;
}

table input.short,
.form-row input.short {
	width: 60px;
}
table input.medium,
.form-row input.medium {
	width: 150px;
}
table td.order input.short {
	width: 40px;
	float: none;
	text-align: center;
}
table td.order .field {
	width: 44px;
}

table tr.expiring td {
	background: #fee;
}
#member-nomination table#table-group-member-list tbody tr th.name,
#member-nomination table#table-group-member-list tbody tr td.name,
#member-nomination table#table-group-member-list tbody tr th.email,
#member-nomination table#table-group-member-list tbody tr td.email {
	width: 350px;
	text-align: left;
}
#member-nomination table#table-group-member-list tbody tr th.relation,
#member-nomination table#table-group-member-list tbody tr td.relation {
	width: 160px;
}
#member-nomination table#table-group-member-list tbody tr td.relation select {
	float: none;
	width: 140px;
	margin: 0 auto;
	border: 1px solid #ccc;
}
#member-nomination table#table-group-member-list tbody tr th.action,
#member-nomination table#table-group-member-list tbody tr td.action {
	width: 80px;
}

.slider {
	width: 80%;
	margin: 0 auto;
	clear: both;
}

.slider-container {
	width: 100%;
	position: relative;
	float: left;
}

.slider-container .left,
.slider-container .right {
	position: absolute;
	top: 0;
	font-weight: bold;
}

.slider-container .left  { left: 0; }
.slider-container .right { right: 0; }
}


.form-row span {
	float: left;
	display: block;
	margin-top: 5px;
}
.form-row .image {
}

#form-program .checkbox-group label {
	width: 400px;
	font-weight: normal;
}

button.button,
input.button {
	margin-left: 10px;
	padding: 8px 12px;
	color: #fff;
	font-weight: bold;
	background: transparent url('images/button-bg.png') center left repeat-x;
	border: none;
	cursor: pointer;
}

#form-add-scorecard-member .button,
#form-add-group-member .button {
	margin-top: 6px;
	margin-left: 10px;
	padding: 4px 6px;
	color: #fff;
	font-weight: bold;
	font-size: 12px;
	background: transparent url('images/button-bg.png') center left repeat-x;
	border: none;
	cursor: pointer;
}

.button-row {
	float: left;
	width: 100%;
	margin-top: 15px;
	text-align: right;
}

#scorecard-template .button-row {
	text-align: left;
}

.back-link {
	text-align: center;
}

.highlight {
	font-weight: bold;
}

.pagination {
	margin: 10px 0;
	clear: both;
}

div.error {
	padding: 0.6em;
	color: #cc0000;
	background: #ffeeee;
	border: 1px solid #cc0000;
	margin: 1em 0;
}

.success {
	padding: 0.6em;
	color: #339933;
	background: #eeffee;
	border: 1px solid #99cc99;
	margin: 1em 0;
}

.success ul,
.error ul {
	margin: 0;
	margin-top: 1px;
	margin-left: 12px;
	padding: 0;
	list-style: none;
}
.success ul li {
	padding: 2px 0;
	padding-left: 24px;
	background: url('images/icon-green-mark.gif') no-repeat;

}
.error ul li {
	padding: 2px 0;
	padding-left: 24px;
	background: url('images/icon-red-mark.gif') no-repeat;
}

.align-left {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}
.align-right {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}
.clear { clear: both; }

#answer-tracker {
	position: fixed;
	padding: 10px;
	bottom: 0;
	right: 0;
	border: 1px solid #ccc;
	background: #eee;
}

#answer-tracker .answer {
	float: left:;
	margin-bottom: 5px;
}
#answer-tracker .answer .text {
	display: inline-block;
	width: 140px;
}
#answer-tracker .counter {
	display: inline-block;
	width: 60px;
	text-align: center;
}

#header {
	height: 61px;
	background: url('images/header-bg.png') top left repeat-x;
}

#header h1 {
	margin: 0;
	padding: 0;
}
#header h1 img {
	border: 0;
}

#header #panel-user {
	position: absolute;
	top: 7px;
	right: 0;
}
#header #panel-user .image {
	float: left;
	padding: 2px;
	background: #fff;
	border: 1px solid #ccc;
}
#header #panel-user .name {
	float: left;
	color: #eee;
	padding: 8px 5px;
	text-transform: uppercase;
	white-space: nowrap;
}
#header #panel-user .buttons {
	float: left;
	margin-top: -3px;
}
#header #panel-user .buttons a {
	float: left;
	display: block;
	height: 33px;
	margin-left: 10px;
	font-size: 1px;
	padding-top: 5px;
	text-indent: 10px;
	color: #38befd;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: top left;
}

#header #panel-user .buttons a#button-logout {
	width: 86px;
	background-image: url('images/button-logout.png');
}


#container {
}

#body,
.container {
	position: relative;

	width: 960px;
	height: 100%;
	margin: 0 auto;
	clear: both;
}

#logo {
	position: absolute;
	top: 5px;
}
#nav-main {
	position: absolute;
	top: 0;
	left: 50px;
	height: 50px;
}
#nav-main ul {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
}
#nav-main ul li,
#nav-main ul li a,
#nav-main ul li span {
	display: block;
	float: left;
	color: #fff;
}
#nav-main ul li {
	margin-right: 2px;
}
#nav-main ul li span {
	padding: 16px 20px;
	padding-bottom: 17px;
	text-transform: uppercase;
}
#nav-main ul li.active span,
#nav-main ul li a:hover span {
	background: #703800;
}

#screen-login {
	margin: 0 auto;
	margin-top: 60px;
	padding: 20px;
	padding-bottom: 10px;
	width: 240px;
	background: #fff;
	border: 1px solid #999;
}
#screen-login h1 {
	margin: 0;
	padding: 0;
}

#screen-login .logo {
	width: 100px;
	margin: 0 auto;
	text-align: center;
}
#screen-login .logo img {
	margin-bottom: 10px;
}
#screen-login #login-form {
	float: right;
	margin-top: -10px;
	width: 260px;
}
#screen-login #login-form fieldset {
	border: 0;
}
#screen-login #login-form fieldset legend {
	display: none;
}

#screen-login #login-form .form-row label {
	margin-top: 0;
}
#screen-login #login-form .form-row input.text {
	width: 242px;
}
#screen-login #login-form .button-row {
	margin-top: 15px;
	text-align: right;
}
#screen-login #login-form .button-row input.button {
	margin-left: 45px;
}


#content.with-widgets {
	float: left;
	width: 660px;
	margin-left: 20px;

}

#section-scorecard .questionnaire {
	text-align: left;
}
#section-scorecard .expiry {
	width: 120px;
}
#section-scorecard .progress {
	width: 80px;
}
#section-scorecard .action {
	width: 80px;
}
#section-scorecard .action .button-start {
	display: block;
	margin: 0 auto;
	width: 71px;
	height: 33px;
	font-size: 1px;
	color: #000;
	padding-top: 5px;
	text-indent: 10px;
	background: transparent url('images/button-start.png') top left no-repeat;
}
#section-scorecard .action .button-view {
	display: block;
	margin: 0 auto;
	width: 71px;
	height: 33px;
	font-size: 1px;
	color: #000;
	padding-top: 5px;
	text-indent: 10px;
	background: transparent url('images/button-view.png') top left no-repeat;
}

#page-member-profile fieldset {
	width: 590px;
}


#member-nomination  {
		margin: 20px 0;
}

#footer {
	margin-top: 20px;
	padding: 10px 0;
}

#widgets {
	float: left;
	width: 240px;
	padding: 10px;
	background: #fff;
	border: 1px solid #ccc;
}

#widgets #widget-details table {
	font-size: 12px;
}
#widgets #widget-details th.label {
	text-align: left;
	background: #fff;
	border: 0;
}
#widgets #widget-details td.value {
	text-align: left;
	background: #fff;
	border: 0;
}
.widget-progress {
	width: 60px;
	margin: 0 auto;
}
.widget-progress .value {
	padding: 4px;
	text-indent: 4px;
}
.widget-progress .bar {
	width: 100%;
	height: 10px;
	background: #ccc;
	border: 1px solid #999;
}
.widget-progress .bar .completion {
	height: 100%;
}
.widget-progress .low .completion    { background: #db2928; }
.widget-progress .medium .completion { background: #ffcd6e; }
.widget-progress .done .completion   { background: #7ec25e; }

.clear {
	display: block;
	height: 1%;
	width: 100%;
	clear: both;
}
