body {
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-family: Helvetica, Arial, sans-serif;
	position: relative;
	background: #fff;
}
body, a, input, textarea, select {
	color: #33494C;
}
a {
	display:inline-block;
}
a:focus {
	outline: dotted thin;
	outline-offset: 0.2em;
}

#pageErrors, #pageWarnings, #pageInfos {
	display: none; /* Hide the page messages div since it will be show in a popoup. */
}

.pageMessages ul {
	margin-top: 5px;
	padding-left: 15px;
	list-style-type: disc;
}

#ajaxLoadingIndicator {
	background-color: #ff0000;
	color: #ffffff;
	position: fixed;
	top: 0;
	right: 0;
	padding: 5px;
}

/* INPUT STYLES *******************************************************************************************************/
input[type=text], .ui-widget input[type=text],
input[type=password], .ui-widget input[type=password],
textarea, .ui-widget textarea,
select, .ui-widget select {
	display: inline-block;

	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: solid 1px #616161;
	border-radius: 0;

	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	background: #fff;
}

input[type=text], .ui-widget input[type=text],
input[type=password], .ui-widget input[type=password] {
	padding:0 2px;
	height: 28px;
}

textarea, .ui-widget textarea {
	padding:4px 2px;
}

select, .ui-widget select {
	height: 28px;
}
@-moz-document url-prefix() {
	select {
		padding: 5px 0;
	}
}


/* Standard Button Styles */
.button, .ui-widget .button  {
	display: inline-block;

	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

	min-width: 7em;
	height: 28px;
	padding: 1px 20px;
	border: solid 1px #f47921;

	font-size: 1.167em;
	line-height: 24px;
	color: #33494C;
	outline: 0;
	background: #fff;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.button:hover, .button:active, .button:focus,
.ui-widget .button:hover, .ui-widget .button:active, .ui-widget .button:focus {
	background: #f47921;
	color: #fff;
	outline: 0;
}

.button.disabled, .button.disabled:hover, .button.disabled:active, .button.disabled:focus,
.ui-widget .button.disabled, .ui-widget .button.disabled:hover, .ui-widget .button.disabled:active, .ui-widget .button.disabled:focus {
	border-color: #c6c6c6;
	background: #c6c6c6;
	color: #fff;
	cursor: default;
}

/* Primary Button Override Styles */
.button-primary, .ui-widget .button-primary {
	border: solid 1px #ECDB3F;
	background: #eedb28;
	color: #33494C;
	font-weight: bold;
}
.button-primary:hover, .button-primary:active, .button-primary:focus,
.ui-widget .button-primary:hover, .ui-widget .button-primary:active, .ui-widget .button-primary:focus {
	border: solid 2px #f47921;
	padding: 0 19px 0 19px;
	background: #eedb28;
	color: #33494C;
}
.button-primary.disabled, .button-primary.disabled:hover, .button-primary.disabled:active, .button-primary.disabled:focus,
.ui-widget .button-primary.disabled, .ui-widget .button-primary.disabled:hover, .ui-widget .button-primary.disabled:active, .ui-widget .button-primary.disabled:focus {
	border-color: #eaeaea;
	background: #eaeaea;
	color: #959595;
}

/* Button Container Styles */
.dialogButtons {
	text-align: right;
}

.horizontal-button-group .button + .button {
	margin-left: 0.7em;
}

.vertical-button-group .button {
	display: block;
}
.vertical-button-group .button +  .button {
	margin-top: 0.5em;
}

/* HEADER *************************************************************************************************************/
#pageHeader {
	position: relative;
	margin-top: 26px;
	margin-bottom: 40px;
}

#brandingHeader {
	position: relative;
	margin: 2px 0 0 13px;
	width: 318px;
	display: block;
	height: 85px;
	outline: 0;
}
#brandingHeader:focus {
	outline: 0;
}

#brandingHeader-connected-logo {
	position: absolute;
	top: 27px;
	left: 113px;
}

#applicationHeader {
	position: absolute;
	top: 0;
	right: 0;
	text-align: right;
}

#applicationHeader-greeting {
	color: #e21a23;
	margin-right: 2.5em;
}

#applicationHeader-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline;
}

.applicationHeader-link {
	margin: 0 0 0 1.2em;
	padding: 0;
	display: inline;
}
.applicationHeader-link.icon > a{
	background: transparent no-repeat left 50%;
	padding-left: 20px;
}

#applicationHeader-helpLink > a {
	background-image: url(../images/common/header/icon_help.png);
}
#applicationHeader-homeLink > a {
	background-image: url(../images/common/header/icon_connected.png);
}
#applicationHeader-profileLink > a {
	background-image: url(../images/common/header/icon_profile.png);
}
#applicationHeader-logoutLink > a {
	background-image: url(../images/common/header/icon_logout.png);
}

.applicationHeader-link > a {
	color: #e21a23;
	text-decoration: none;
}

#applicationHeader-userState {
	display: block;
	font-size: 1.5em;
	margin-top: 1em;
	color: #32484c;
}

#sectionTitle {
	font-size: 2em;
	color: #e21a23;
	padding: 0;
	margin: 0 0 1em 0;
}

/* PAGE CONTENT********************************************************************************************************/
#main {
	width: 960px;
	margin: 0 auto;
}

#content {
	position: relative;
	min-height: 400px;
}


/* FOOTER *************************************************************************************************************/

#pageFooter {
	font-size: 0.917em;
	color: #32484C;
	margin: 3em 0 1.5em 0;
	text-align: center;
	padding: 0;
}

#pageFooter-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

#pageFooter-links li {
	margin: 0;
	padding: 0;
	display: inline;
}

#pageFooter-links a {
	color: #32484C;
	text-decoration: none;
}
#pageFooter-links li + li:before {
	content: '|';
	display: inline-block;
	padding: 0 1.167em;
}

#pageFooter-copyright {
	margin-top: 0.5em;
}

/* POGS ***************************************************************************************************************/
/* TODO: RESKIN: Need the updated styles for these */
div.pog > div.header {
	background: #dfded2;
	border-bottom: none;
	color: #000000;
	font-family:	Verdana, Arial, Helvetica, sans-serif;
	padding:	2px	6px;
	width:	auto;
	height:	25px;
}
div.pog > div.header h3, div.pog > div.header h4 {
	font: bold 12px/25px Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	color: #000000;
	height: 25px;
	width:	auto;
}
div.pog > div.header > div.title {
	display:	inline-block;
	float:	left;
	top:	0;
}


div.pog > div.header > div.actions {
	display:	inline-block;
	height: 24px;
	line-height: 24px;
	margin-top:	0;
	padding-top:	0;
	margin-right:	8px;
	float:	right;
	background:	#dfded2;
}
div.pog > div.header > div.actions a.button {
	margin: 0 0 0 2px;
}

div.pog > div.content {
	position: relative;
	border: solid 1px #dbdbdb;
	background: #fff;
}

div.pog > div.content > p {
	margin-bottom: 1em;
}

div.pog > div.content > table.lineItemList {
	width: 100%;
}

div.pog > div.content > table.lineItemList td.actions {
	white-space: nowrap;
}
div.pog > div.content > table.lineItemList td.actions a {
	color: #000;
	margin-left: 4px;
}
div.pog > div.content > table.lineItemList td.actions a:first-child {
	margin-left: 0;
}

div.pog > div.filters {
	background: #ffffff;
	border-top: none;
	height: 26px;
	padding: 4px 6px;
	line-height: 26px;
}

div.pog > div.actions {
	background: #f3f1e9;
	border: solid 1px #d9d9d9;
	border-top: none;
	position: relative;
	height: 25px;
	padding: 2px 4px;
}

div.pog > div.actions .primary {
	position: absolute;
	right: 2px;
}
div.pog > div.actions .primary > a.button {
	float: left;
}

div.pog > div.filters a,
div.pog > div.actions .secondary a {
	color: #000;
}

/* LINE ITEM LISTS ****************************************************************************************************/

table.lineItemList {
	border-collapse: separate;
	border: solid 1px #000;
}

table.lineItemList > thead > tr > th {
	vertical-align: bottom;
	padding: 0.5em 0.8em;
	background: #E0DED2;
	font-weight: bold;
	text-align: left;
	border-bottom: solid 1px #000;
	border-right: solid 1px #C3C1B5;
	white-space: nowrap;
}
table.lineItemList > thead > tr > th:last-child {
	border-right: none;
}
table.lineItemList > tfoot > tr > td {
	padding: 0.5em 0.8em;
	background: #E0DED2;
	border-top: solid 1px #000;
	border-right: solid 1px #C3C1B5;
}
table.lineItemList > tfoot > tr > td:last-child {
	border-right: none;
}

table.lineItemList > tbody > tr > td {
	vertical-align: top;
	padding: 0.5em 0.8em;
	border-right: solid 1px #C3C1B5;
}
table.lineItemList > tbody > tr > td:last-child {
	border-right: none;
}

table.lineItemList > tbody > tr.even > td {
	background-color: #fff;
}

table.lineItemList > tbody > tr.odd > td {
	background-color: #f7f6f0;
}

table.lineItemList > tbody > tr.hideRow {
	display: none;
}

/* Nested Table */

table.lineItemList > tbody > tr > td.nested {
	border-top: solid 1px #C3C1B5;
	padding: 0.5em;
}

table.nestedLineItemList {
	border-collapse: collapse;
}

table.nestedLineItemList > thead > tr > th,
table.nestedLineItemList > tbody > tr > td {
	border: solid 1px #C3C1B5;
	background: #fff;
	padding: 0.2em 0.5em;
}


table.nestedLineItemList > thead > tr > th {
	font-weight: bold;
	text-align: left;
}

/* Sortable Table */

table.sortable > thead > tr >  th.header {
	cursor: pointer;
}
table.sortable > thead > tr > th.header span.sort {
	display: inline-block;
	width: 21px;
	background: transparent url(../images/tablesorterButtons/bg.gif) no-repeat 100% 50%;
}

table.sortable > thead > tr > th.headerSortUp span.sort {
	background-image: url(../images/tablesorterButtons/asc.gif);
}
table.sortable > thead > tr >  th.headerSortDown span.sort {
	background-image: url(../images/tablesorterButtons/desc.gif);
}


/* Exception Details Widget *******************************************************************************************/
.exceptionDetailsWidget > a.toggle {
	color: blue;
	text-decoration: underline;
}
.exceptionDetailsWidget > .exceptionDetails {
	font-size: 11px;
	font-weight: normal;
	padding: 5px;
	text-align: left;
	margin-top: 5px;
	display: none;
	max-height: 200px;
	overflow: auto;
	border: solid 1px black;
}
.exceptionDetailsWidget > .exceptionDetails > div > ul {
	padding: 0 0 0 20px;
	margin: 0;
}
.exceptionDetailsWidget > .exceptionDetails > div > ul > li {
	margin: 0;
	padding: 1px 0;
}

/*Pager*/

.pager {
	text-align: center;
}

.pager.pagerTop {
	margin-bottom: 1em;
}
.pager.pagerBottom {
	margin-top: 1em;
}

.pager .pagesizeHidden{
    display: none;
}

.content .pagerHidden{
    display: none;
}

.pager .pagedisplay{
    border: 0;
    text-align: center;
	margin: 0 0.5em;
	vertical-align: middle;
}

.pager .pagerButton{
	height: 26px;
	width: 26px;
	background: no-repeat center center;
	vertical-align: middle;
	border: 1px solid #f47921;
	padding: 0;
}

.pager .pagerButton:hover, .pager .pagerButton:active, .pager .pagerButton:focus {
	background-color: #f47921;
}

.pager .pagerButton + .pagerButton {
	margin-left: 0.7em;
}

.pager .pagerButton.first {
    background-image: url(../images/tablesorterButtons/icn_goto_beginning_n.png);
}
.pager .pagerButton.first:hover, .pager .pagerButton.first:active, .pager .pagerButton.first:focus {
    background-image: url(../images/tablesorterButtons/icn_goto_beginning_r.png);
}
.pager .pagerButton.prev {
	background-image: url(../images/tablesorterButtons/icn_fast_rewind_n.png);
}
.pager .pagerButton.prev:hover, .pager .pagerButton.prev:active, .pager .pagerButton.prev:focus {
	background-image: url(../images/tablesorterButtons/icn_fast_rewind_r.png);
}
.pager .pagerButton.next {
	background-image: url(../images/tablesorterButtons/icn_fast_forward_n.png);
}
.pager .pagerButton.next:hover, .pager .pagerButton.next:active, .pager .pagerButton.next:focus {
	background-image: url(../images/tablesorterButtons/icn_fast_forward_r.png);
}
.pager .pagerButton.last {
	background-image: url(../images/tablesorterButtons/icn_goto_end_n.png);
}
.pager .pagerButton.last:hover, .pager .pagerButton.last:active, .pager .pagerButton.last:focus {
	background-image: url(../images/tablesorterButtons/icn_goto_end_r.png);
}
