*, *::before, *::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body {
    /* mobile font-size bugfix */
    -ms-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -o-text-size-adjust: none;
    -webkit-text-size-adjust: none;
}

body {
	font-family:Arial, Helvetica, sans-serif;
    font-size: 10pt;  
	line-height: 18px;
	color: #333333;
	margin: 0;
	padding: 0;
	background: #ffffff;
}

.popupBody {
    margin:0;
}
.popupBody #fullContent {
    overflow:auto;
}

.maxwidth
{
    width:100%;
    max-width:1248px;
    min-width:750px;
}

#wrapper
{
    padding:0;
    margin:0;
    width:auto;
    z-index:0;
}
#wrapper > div
{
    float:left;
    min-width:100%;
}
#wrapper .wrapperinner
{
    margin:0 auto;
}
#wrapper .wrapperinnerpadding
{
    margin:0 auto;
    padding:0 20px;
}

.clearboth
{
    clear:both;
}


@media screen and (max-width:1279px)
{
    .maxwidth
    {
        max-width: 992px;
    }
    #wrapper .wrapperinnerpadding
    {
        padding:0 1.2%;
    }
}


#background
{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:#fafafa;
    z-index:-1000;
}
#background #backgroundcontent
{
    background-color:#fff;
    height:100%;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
}


/* Header top text */
#header
{
    background-color:#40386B;
}
#headertext
{
	height: 55px;
	padding: 10px 5px 0 0;
	font-size: 25px;
	line-height: normal;
	font-weight: normal;
	text-align:right;
	color: #ffffff;
}


/* Header banner message */
#headerbanner
{
    color:#000;
    text-align:center;
    background-color:#fa8072;
}
#headerbanner .wrapperinner
{
    padding:5px;
    display:table;
}
#headerbanner p
{
    margin:0;
}
#headerbanner #headerbannertext
{
    display:table-cell;
    vertical-align:top;
}
#headerbanner #headerbannerhide
{
    display:table-cell;
    width:150px;
    vertical-align:middle;
}


/* Container to hold static header information */
#staticcontainer
{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:200;
}
#staticcontainerfade
{
    display:none;
    height:15px;
}
#staticcontainerfadeinner
{
    background:url(../../../images/topfade15.png) repeat-x left center transparent;
    height:15px;
}
#staticcontainerfade.staticheader
{
    display:block;
}



/* Header top menu */
#topmenu
{
    background-color:#7C7C7C;
    min-height:28px;
    padding-top:1px;
    vertical-align: top;
    color:#fff;
    overflow:hidden;
}
#topmenu a
{
    color:#fff;
    text-decoration:none;
}
#topmenu ul
{
    list-style:none;
    margin:0;
    padding:0;
}
#topmenu ul li
{
    display:inline-block;
}
#topmenu #topmenuleft
{
    float:left;
    margin-left:6px;
}
#topmenu #topmenuleft li:hover
{
    background-color:#999;
}
#topmenu #topmenuleft li a
{
    display:inline-block;
    padding:4px 5px 5px;
}
#topmenu #topmenuright
{
    float:right;
    margin-right:6px;
}
#topmenu #topmenuright li
{
    padding-right:10px;
    padding:4px 5px 5px;
}


/* Nav menu */
#dynamicmenu
{
	background-color: #F0F0F0;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
}
#dynamicmenu.staticheader
{
    z-index:300;
    position:relative;
}
#dynamicmenu ul
{
    float:left;
    display:block;
    list-style:none;
    margin:0;
    padding:0;
	background-color: #F0F0F0;
}
#dynamicmenu #dynamicmenulistright
{
    float:right;
}
#dynamicmenu li
{
	border-right: 1px solid #dfdfdf;
    display:inline-block;
    position:relative;
	background-color: #F0F0F0;
}
#dynamicmenu li:first-child
{
	border-left: 1px solid #dfdfdf;
}
#dynamicmenu li a
{
    text-decoration:none;
	color:#333;
    padding:5px 10px;
    display:inline-block;
    white-space:nowrap;
}
#dynamicmenu li a:hover
{
    color:#fff;
    background-color: #999;
}
/* Nav menu - sub menus */
#dynamicmenu ul ul
{
    display:none;
    position:absolute;
    min-width:160px;
    left:-1px;
    z-index:200;
    -webkit-box-shadow: 2px 2px 3px 0 rgba(0,0,0,.3);
    box-shadow: 2px 2px 3px 0 rgba(0,0,0,.3);
}
#dynamicmenu ul ul li
{
	border-left: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
    width:100%;
}
#dynamicmenu ul ul li:first-child
{
	border-top: 1px solid #dfdfdf;
}
#dynamicmenu ul ul li a
{
    display:block;
}
/* Saving status */
#dynamicmenu .wrapperinner
{
    position:relative;
}
#dynamicmenustatus
{
    display:none;
    position:absolute;
    bottom:-28px;
    right:10px;
    line-height:28px;
    height:28px;
    padding:0 10px;
    background-color:#F0F0F0;
    color:red;
    -webkit-box-shadow: 2px 2px 3px 0 rgba(0,0,0,.3);
    box-shadow: 2px 2px 3px 0 rgba(0,0,0,.3);
    white-space:nowrap;
}
/* Padding */
#wrapper #dynamicmenupadding
{
    display:none;
}
#wrapper #dynamicmenupadding.staticheader
{
    display:block;
    margin:0 auto;
}



#content
{
    margin-top:10px;
    margin-bottom:10px;
    line-height:20px;
}
#content p, #content ul, #content ol
{
    font-size:13px;
}


/* Content header at the top of most pages */
#contentHeader
{
    overflow:hidden;
    background-color:#fff;
}
#contentHeaderInner
{
    background-color:#fff;
}
#contentTitle
{
    display:inline-block;
    padding:10px 0;
	font-size: 1.4em;
    font-weight: bold;
	color: #006699;
}
#contentButtons
{
    float:right;
}
#contentButtons input[type="image"]
{
    vertical-align: text-bottom;
}
#contentHeaderPadding
{
    display:none;
}
#contentHeaderPadding.staticheader
{
    display:block;
}






input, select, textarea {
	background-color:White;
	font-family:Arial, Tahoma;
	font-size:1em;
}

input[type="text"][readonly], textarea[readonly], select[disabled] {
    color: slategray;
}

textarea 
{
	resize:vertical;
}

h1 {
	font-size: 1.4em;
	color: #006699;
}

h2 {
	font-size: 1.1em;
	color: #006699;
	margin:0px;
}

h3 {
	font-size: 1.0em;
	color: #006699;
}

table {
	/*font-family:Tahoma, Arial, Helvetica, sans-serif;*/
	line-height: 18px;
}

a:link {color:#006699;}
a:active {color:#006699;}
a:visited {color:#006699;}
a:hover {color:#696969;}


br {
	clear: left;
}

.standaloneFrame {
	width:auto;
	clear:left;
}

/*.tabBodyOuter input, .standaloneFrame input {
	background-color:Transparent;
	margin:0px;
}*/

.tabBodyOuter .whiteBackground, .standaloneFrame .whiteBackground {
	background-color:#ffffff;
}

tr.headerRow {
	background-color: #898eb6;
	color: #ffffff;
}

tr.headerRow th,
tr.headerRow td {
    text-align:left;
    font-weight:normal;
}
tr.headerRow a {
    text-decoration:none;
}
tr.headerRow a:hover {
    text-decoration:underline;
}

tr.itemRow {
	background-color: #ddebf6;
}
tr.itemRowAlt {
	background-color: #ccdfe6;
}

tr.itemRowHoverPointer:hover {
    background-color: #99cccc;
	cursor: pointer;
}
tr.itemRowHover:hover {
    background-color: #99cccc;
}

table.hoverPointer tbody tr:hover,
tbody.hoverPointer tr:hover {
	background-color: #99cccc;
	cursor: pointer;
}
table.hover tbody tr:hover,
tbody.hover tr:hover {
	background-color: #99cccc;
}


tr.headerRow td, tr.headerRow th,
tr.itemRow td, tr.itemRowAlt td {
    padding:5px;
}

tr.itemRow a:not(.showlink),
tr.itemRowAlt a:not(.showlink),
tr.itemRow a:hover:not(.showlink),
tr.itemRowAlt a:hover:not(.showlink) {
    text-decoration:none;
    color:inherit;
}


tr.detailsRow {
	background-color: #eeeeee;
}
tr.detailsRowAlt {
	background-color: #fbfbfb;
}
tr.detailsRow td, tr.detailsRowAlt td {
    padding:5px;
}

a.smallEdit {
	text-decoration:none;
}


td.cthin {
	width:1%;
	text-align: center;
}

td.thin {
	width:1%;
}

td.c {
	text-align: center;
}

td.r {
	text-align: right;
}

td.ess {
	background-color: #99cccc;
}


.autoColourTable {
    width:100%;
    border:0;
    border-spacing:0;
    border-collapse:collapse;
}
.autoColourTable td,
.autoColourTable th {
    padding:5px;
    text-align:left;
}
.autoColourTable > tbody > tr:nth-child(odd) {
	background-color: #ddebf6;
}
.autoColourTable > tbody > tr:nth-child(even) {
	background-color: #ccdfe6;
}
.autoColourTable.autoColourTableHover > tbody > tr:hover {
 	background-color: #99cccc;
}
.autoColourTable.autoColourTablePointer > tbody > tr:hover {
 	cursor:pointer;
}


.reviewsAllGrid a {
    text-decoration:none;
    color:inherit;
}
.reviewsAllGridSystemRow {
    display:inline-block;
    font-style:italic;
    padding:3px;
    min-height:24px;
}





#repeateranswertable {
	border: 1px solid #909090;
}	

#repeateranswertable td {
	vertical-align:top;
}

#repeateritem {
	background-color: #f0f0f0;
}

#repeateraltitem {
}

.bluetext  {
	color: #006699;
	font-weight:bold;
}

.redtext  {
	color: #ff0000;
	font-weight:bold;
}
	
.whitetext, a.whitetext, a:visited.whitetext {
	color: #ffffff;
}

#reviewDateEditDiv {
	font-weight:normal;
}

#reviewDateEditDiv a {
	font-weight:bold;
}

.gridMessageSmall {
	font-size:0.8em;
	line-height:normal;
}

.generalPaddedDiv {
	border: solid 1px #a0a0a0;
	padding: 5px 5px 5px 5px;
}

.stageUserDetailsRow {
	padding: 0px 0px 0px 0px;
	background-color: #f0f0f0;
}
.stageUserDetailsRow td {
    padding:5px;
}
.stageUserDetailsRowSub td {
    padding:5px;
	border-top:solid 1px #e0e0e0;
}


.helpPopupIcon {
	height:16px;
	width:16px;
}

#helpMousePopup {
	position:absolute;
	display:none;
	width:500px;
}
#helpMousePopupShadow {
	position:absolute;
	float:left;
	top:8px;
	left:8px;
	background-color:#000000;
	filter: alpha(opacity=30); 
	-moz-opacity: 0.3; 
	opacity: 0.3;
}
#helpMousePopupText {
	position:absolute;
	float:left;
	top:0px;
	left:0px;
	border:solid 1px #a0a0a0;
	background-color:#ffffff;
	padding:2px 4px;
}
#helpMousePopupText p {
	margin:0px;
}


#filterSlideOuter {
	width:780px;
}
#filterSlideInner {
	border: 1px solid #a0a0a0;
	padding:0px 0px 0px 0px;
	width:780px;
}


.selectUserOuter {
	float:left;
	margin-right:10px;
	color:#333333;
}
.selectUserSearch {
	float:left;
}
.selectUserSearch a, .selectUserInner a {
	font-size:11px;
}
.selectUserSearch a {
    display: inline-block;
    padding-top: 1px;
}


.picklistctrl
{
	margin: 0px 0px 0px 0px;
	overflow: auto;
	padding: 0px 0px 0px 0px;
	height: 100px;
	border: 1px solid black;
	background-color: white;
}
.picklistctrl .row
{
	padding: 2px 2px 2px 2px;
}
.picklistctrl .checkbox
{
	float:left;
	width:20px;
}
.picklistctrl input
{
	border:0px;
	background-color: white;
	margin:4px;
}
.picklistctrl .descr
{
	float:left;
	padding-top:3px;
}
.picklistctrl .value
{
	float:right;
}
.picklistctrl .valuectrl
{
	border:solid 1px black;
	width:60px;
}


div.newbutton
{
	color:#202020;
	margin-right:5px;
	display:inline-block;
	zoom:1;
	*display:inline;
}
div.newbutton a, div.newbutton a:hover, div.newbutton a:visited, div.newbutton a:active
{
	color:#5D5D5D;
	font-weight:700;
	text-decoration:none;
}
span.newbuttontl
{
	background: transparent url(../../../../images/button1.gif) no-repeat left top;
	display:block;
}
span.newbuttontr
{
	background: transparent url(../../../../images/button2.gif) no-repeat right top;
	display:block;
}
span.newbuttonbl
{
	background: transparent url(../../../../images/button3.gif) no-repeat left bottom;
	display:block;
}
span.newbuttonbr
{
    padding: 4px 18px 9px 15px;
	background: transparent url(../../../../images/button4.gif) no-repeat right bottom;
	display:block;
}




#message
{
    margin:5px 0 10px;
    line-height:normal;
}
#message, #message a
{
}
#message p {
    margin:7px 0;
}
#message p:first-child {
    margin-top:0px;
}
#message p:last-child {
    margin-bottom:0px;
}


#validation
{
    margin:5px 0 10px;
}



.redHilite {
	color:Red;
}


.layoutgrid, .layoutgridnopadding
{
	width:100%;
}
.layoutgrid tr.separatorrow
{
    height:20px;
}
.layoutgrid td
{
	padding:5px 0px;
}
.layoutgrid td span.calendar td
{
	padding:2px;
}


.dynamicTable
{
	width:100%;
	table-layout:fixed;
}
.dynamicTable thead tr
{
	background-color: #898eb6;
	color: #ffffff;
	font-weight:bold;
}
.dynamicTable td, .dynamicTable th
{
	vertical-align:top;
	text-align:left;
}
.dynamicTable .dynamicRowSeparator td
{
	border-bottom:1px solid #d0d0d0;
}
.divDynamicTableContainer
{
	padding:5px 0;
}


/* 
	Normal cells are those which can edit/view... but CANNOT be inline edited by readonly user 
	If used within dynamic table, then specific borders are removed so they don't double up
*/
.normalCell, .normalCellReadOnly, .normalCellMgr, .normalCellMgrReadOnly
{
	padding:2px;
}

.normalCellReadOnly, .normalCellMgrReadOnly
{
	background-color:#FBFBFB; 
	border:3px dotted #E0E0E0;
}

.dynamicTable .normalCellReadOnly, .dynamicTable .normalCellMgrReadOnly
{
	border-left:0px;
	border-top:0px;
}

.dynamicTable .normalCellReadOnly:first-child, .dynamicTable .normalCellMgrReadOnly:first-child
{
	border-left:3px dotted #E0E0E0;
}

.dynamicTable tr:first-child .normalCellReadOnly, .dynamicTable tr:first-child .normalCellMgrReadOnly
{
	border-top:3px dotted #E0E0E0;
}

.normalCellMgrReadOnly
{
	background-color:#EEEEEE;
	border-color: #D0D0D0;
}

.normalCellReadOnly hr, .normalCellMgrReadOnly hr
{
    border-top:3px dotted #E0E0E0;
    border-right:0;
    border-bottom:0;
    border-left:0;
}

.dynamicTable.dynamicSubTable tr:first-child td
{
    border-top:0;
}

/* 
	Inline edit cells can be edited by readonly user 
	If used within dynamic table, then specific borders are removed so they don't double up
*/
.inlineEditCell, .inlineEditCellReadOnly
{
	padding:2px;
}

.inlineEditCellReadOnly
{
	background-color:#FBFBFB; 
	border:3px dotted #E0E0E0;
}

.dynamicTable .inlineEditCellReadOnly
{
	border-top:0px;
}

.dynamicTable tr:first-child .inlineEditCellReadOnly
{
	border-top:3px dotted #E0E0E0;
}


.inlineEditContainer
{
	position:relative;
}

.inlineEditControls
{
	position:absolute;
	top:-15px;
	right:8px;
	background-color:white;
	padding:0 2px;
}
.inlineEditControls a
{
	text-decoration:none;
}
a.inlineEditControlHighlight
{
	color:Red;
}




.hoverover
{
	border-bottom: blue 1px dotted;
}



.reportHeaderPrint, .reportHeaderDownload
{
	margin:0 10px;
	float:left;
	height:20px;
	white-space:nowrap;
	background-repeat:no-repeat;
	background-position:left center;
}
.reportHeaderPrint
{
	background-image:url(../../../images/shared/printer.gif);
}
.reportHeaderDownload
{
	background-image:url(../../../images/shared/download.gif);
}
.reportHeaderClose
{
	margin:0 10px;
	float:right;
	height:20px;
	white-space:nowrap;
}

.reportHeaderPrint a, .reportHeaderDownload a
{
	padding-left:22px;
}


#dataUpdateStatus
{
    margin-top: 10px;
    margin-left: 10px;
    float: right;
    color: Red;
}



.editContentContainer
{
    position:relative;
    min-height:25px;
}
.editContentContainerHighlight
{
    background-color:rgba(255,0,0,0.3);
}
.editContentEdit
{
    position:absolute;
    top:0;
    right:0;
    border:1px dotted #c0c0c0;
    margin-bottom:2px;
    z-index:10;
}
.editContentEdit.editContentEditLeft {
    right:auto;
    left:0;
}
.editContentEdit img
{
    margin:3px 0 3px 3px;
    display:block;
}


/* Allow the buttons to be OVER the top of the edit content */
.rightButtons {
    position:relative;
    z-index:20;
    padding:2px;
}

.searchFilterContainer {
    margin:10px 0;
}
.searchFilterHeader {
    overflow:hidden;
}
.searchFilterHeader h2 {
    display:inline;
    margin-right:20px;
}
.searchFilterOuter {
	width:auto;
	clear:left;
}
.searchFilterTable {
    display:table;
    width:100%;
    border:1px solid #ccc;
}
.searchFilterRow {
    display:table-row;
    background-color:#F0F0F0;
}
.searchFilterRow > div {
    padding:4px 8px;
    display:table-cell;
}
.searchFilterRow:first-child > div {
    padding-top:8px;
}
.searchFilterRow:last-child > div {
    padding-bottom:8px;
}
.searchFilterRow > div:nth-child(1) {
    width:120px;
    white-space: nowrap;
}
.searchFilterRow > div:nth-child(3) {
    width:10px;
    white-space:nowrap;
}


.reviewsGridHeader {
    margin-bottom:2px;
}
.reviewsGridHeaderText {
    margin-bottom:4px;
}


/* Radio list */
.listwithproperwrap input {
    float: left;
    margin-top:3px;
}
.listwithproperwrap label {
    margin-left: 25px;
    display: block;
}
.listwithproperwrap br {
    margin:3px 0px;
    line-height:4px;
    content:" ";
    display:block;
}


.createTable td {
    padding:5px 5px 5px 0;
    border:0;
}
.createTable .autoColourTable td {
    padding:5px;
}