html {
	/* Not sure if this is needed */
	-webkit-text-size-adjust: 100%;
}

html,  body,  div,  span,  object,  iframe,  h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr,
address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, /* strong, */ sub, sup, var,
b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, 
section, summary, time, mark, audio, video, input, select, textarea {
	/* Copied from elsewhere - Check */
	margin:0;
	padding:0;
	border:0;
	font-size: 14px;
	/*font:inherit;*/
	vertical-align:baseline;
	/* Added by PB */
	font-family: Arial, helvetica, sans-serif;
	color: #000000; /* Might be risky - review */
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
	/* Copied from elsewhere - Check */
	display:block
}

/******************************/
/* general stuff **************/
/******************************/

p {margin-bottom: 13px;}

ul, ol {
	margin-left: 1.2em;
    margin-top: 0px;
	margin-bottom: 13px;
	padding-left: 0em;
	line-height:normal;
}

ul {list-style-type: square;}
ol {list-style-type: decimal;}

a:link, p a:link, ul a:link, ol a:link {color: #2e3092; text-decoration: underline}
a:visited, p a:visited, ul a:visited, ol a:visited {color: #2e3092; text-decoration: underline}
a:active, p a:active, ul a:active, ol a:active {color: #2e3092; text-decoration: none}
a:hover, p a:hover, ul a:hover, ol a:hover {color: #2e3092; text-decoration: none}

h1 {
	font-size: 22px;
	color: #58585b;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 13px;
}

h1.topHeading, h1.topHeadingNavigationColumn {margin-top: 8px; color: #0b6ead;}

h1.topHeading {font-weight: normal}

h2 {font-size: 16px; color: #58585b; font-weight: bold; margin-top: 0px; margin-bottom: 11px;}

.red, .tooltipLinkRed, .par_formspacingRed, .modalHeadingWarning {color: #EA2227;}
.blue {color: #0b6ead;}
.bluelight {color: #1094e9;}
.blueverylight {color: #d9f0ff;}

/* By default IE8+ centre aligns headers */
th { text-align: left; }

/******************************/
/* layout stuff ***************/
/******************************/

div.container {
	float: left;
	width: 100%;
	clear: both;
}

div.containerInside {
	width: 960px;
	margin: 0px auto; 		/*** USED TO CENTRE CONTENT ***/
	clear: both;
}

div.containerInside {
	margin-top: 15px; /* Need container to float left for this to work */
}

/******************************/
/* COLUMN STYLES **************/
/******************************/

div.threeColumnContent, div.threeColumnContentLeftSmall, div.threeColumnContentAlt {
	float: left;
	padding: 0px;
	margin: 0px;
	margin-bottom: 15px; /* Check if needed */
	overflow: hidden;
}

div.threeColumnContent {width: 310px;}
div.threeColumnContentLeftSmall {width: 245px;}
div.threeColumnContentAlt {width: 375px;}

div.threeColumnContentSpacer {
	float: left;
	padding: 0px;
	margin: 0px;
	width: 15px;
}

div.mainContentLeft {
	float: left;
	width: 510px;
	overflow: hidden; 
}

div.mainContentRight {
	float: right;
	width: 200px;
	overflow: hidden;
}

p.footer {
	padding-top: 15px;
	padding-bottom: 25px;
	text-align: center;
}

/******************************/
/* header stuff ***************/
/******************************/

div.headerLeft, div.headerRight {
	height: 110px;
	overflow: hidden;
}

div.headerLeft {
	float: left;
	width: 300px; /* Max logo size 300 * 110 */
}

div.headerRight {
	float: right; 
	width: 630px;
	text-align: right;
}

div.headerRight p {font-size: 14px;}

/******************************/
/* main nav stuff *************/
/******************************/

div.topNavigation {
	font-weight: bold;
	float: right;
	height: 25px;
	clear: both;
}

ul.topNavigation {
	list-style-type: none;
	margin: 0px auto;
	padding:0;
	width: 100%;
}

li.topNavigationOn, li.topNavigationOff {
    display: inline;
    font-size: 16px;
}

li.topNavigationOn a, li.topNavigationOff a {
    display: inline-block; *zoom: 1; *display: inline; /* IE7 */

    -webkit-border-radius: 13px; /* For older versions of Safari and Chrome */
    -moz-border-radius: 13px; /* For older versions of Firefox */
	border-radius: 13px;
	border: 1px solid #0b6ead;
	margin: 0px 0px 0px 8px;
	padding: 3px 10px 2px 10px;
	background-color: #ffffff;
    
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

li.topNavigationWarning {
    display: inline;
	margin: 0px 0px 0px 8px;
	padding: 3px 10px 2px 10px;
	background-color: #ffffff;
	color: red;
    font-size: 16px;
}

li.topNavigationOn a {background-color: #0b6ead;}

li.topNavigationOn a:link {color: #ffffff; text-decoration: none;}
li.topNavigationOn a:visited {color: #ffffff; text-decoration: none;}
li.topNavigationOn a:active {color: #ffffff; text-decoration: none;}
li.topNavigationOn a:hover {color: #ffffff; text-decoration: none;}

li.topNavigationOff a:link {color:#0b6ead; text-decoration: none;}
li.topNavigationOff a:visited {color:#0b6ead; text-decoration: none;}
li.topNavigationOff a:active {color:#ffffff; text-decoration: none; background-color: #0b6ead;} 
li.topNavigationOff a:hover {color:#ffffff; text-decoration: none; background-color: #0b6ead;}

/******************************/
/* button stuff ***************/
/******************************/

div.leftNavigationOn, div.leftNavigationOff, div.leftNavigationDisabled {
    display: inline;
}

div.leftNavigationOn a, div.leftNavigationOff a, div.leftNavigationDisabled a {
    display: inline-block;
    -webkit-border-radius: 18px; /* For older versions of Safari and Chrome */
    -moz-border-radius: 18px; /* For older versions of Firefox */
	border-radius: 18px;
	border: 1px solid #58585b;
    margin-bottom: 6px;
	width: 99%;
    
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

div.leftNavigationOn a {background-color: #0b6ead;}
div.leftNavigationOff a {background-color: #0b6ead;}
div.leftNavigationDisabled a {
	border: 1px solid #a7a9ab;
	background-color: #d9dadc;
	COLOR: #a7a9ab
}

div.leftNavigationOn a:link {COLOR: #ffffff; text-decoration: none;}
div.leftNavigationOn a:visited {COLOR: #ffffff; text-decoration: none;}
div.leftNavigationOn a:active {COLOR: #ffffff; text-decoration: none;}
div.leftNavigationOn a:hover {COLOR: #ffffff; text-decoration: none;}

div.leftNavigationOff a:link {color:#ffffff; text-decoration: none;}
div.leftNavigationOff a:visited {color:#ffffff; text-decoration: none;}
div.leftNavigationOff a:active {color:#ffffff; text-decoration: none; background-color: #0b6ead;} 
div.leftNavigationOff a:hover {color:#ffffff; text-decoration: none; background-color: #0b6ead;}

div.mainButtonNumber {
	float: left;
    -webkit-border-radius: 13px; /* For older versions of Safari and Chrome */
    -moz-border-radius: 13px; /* For older versions of Firefox */
	border-radius: 13px;
	border: 1px solid #58585b;
    background-color: #ffffff;
    font-size: 20px;
    line-height: 20px;
    min-width: 26px;
	min-height: 26px;
	text-align: center;
    font-weight: bold;
    margin: 5px 0px 5px 5px;
}

div.mainButtonNumberInside {
	padding: 3px;
    font-size: 20px;
    color: #58585b;
}

div.leftNavigationDisabled a div.mainButtonNumber {border: 1px solid #a7a9ab;}
div.leftNavigationDisabled a div.mainButtonNumber div.mainButtonNumberInside {color: #a7a9ab;}

div.mainButtonTextWithNumber, div.mainButtonTextNoNumber {
	float: left;
    font-size: 17px;
    line-height: 17px;
    font-weight: bold;
    color: inherit;
}

div.mainButtonTextWithNumber {padding: 10px 10px 10px 5px;}
div.mainButtonTextNoNumber {padding: 10px 10px 10px 13px;}

/******************************/
/* left menu options **********/
/******************************/

div.leftMenuPolicyTypes {
	margin-bottom: 7px;
	font-weight: bold;
}

div.leftMenuPolicyTypes ul.tick, div.leftMenuPolicyTypes ul.dash {
	margin-left: 2.4em;
	margin-bottom: 0px;
}

div.leftMenuPolicyTypes ul.tick li, div.leftMenuPolicyTypes ul.dash li {
	font-size: 16px;
}

div.leftMenuPolicyTypes ul.tick {list-style-image: url('./Images/tick.gif');}
div.leftMenuPolicyTypes ul.dash {list-style-image: url('./Images/dash.gif');}

div.leftMenuPolicyTypes ul.tick a:link, div.leftMenuPolicyTypes ul.dash a:link {color: #2e3092; text-decoration: none}
div.leftMenuPolicyTypes ul.tick a:visited, div.leftMenuPolicyTypes ul.dash a:visited {color: #2e3092; text-decoration: none}
div.leftMenuPolicyTypes ul.tick a:active, div.leftMenuPolicyTypes ul.dash a:active {color: #2e3092; text-decoration: underline}
div.leftMenuPolicyTypes ul.tick a:hover, div.leftMenuPolicyTypes ul.dash a:hover {color: #2e3092; text-decoration: underline}

/******************************/
/* main grid ******************/
/******************************/

table.standardGrid {
	margin-bottom: 20px;
	border-collapse:collapse;
}

tr.standardGridHeading th, th.standardGridHeadingLAST,
tr.standardGridHeading td, td.standardGridHeadingLAST{
	background: -webkit-linear-gradient(#ffffff, #c8cacc); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#ffffff, #c8cacc); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#ffffff, #c8cacc); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#ffffff, #c8cacc); /* Standard syntax (must be last) */
    border-top: 1px solid #58585b;
	font-weight: bold;
}

tr.standardGridSubHeading td, td.standardGridSubHeadingLAST {
	background: #d9dadc;
}

tr.standardGridTotal td, td.standardGridTotalLAST {
	background: #c8cacc;
	font-weight: bold; 
}

tr.standardGridHeading th, tr.standardGridHeading td, tr.standardGridSubHeading td,
tr.standardGridRow1 td, tr.standardGridRow2 td,
tr.standardGridRowBold td, tr.standardGridRowSubPh td, 
tr.standardGridTotal td {
	border-bottom: 1px solid #58585b;
	padding: 7px 0px 7px 10px;
	vertical-align: middle;
	font-size: 13px;

}

tr.standardGridHeading th.standardGridHeadingLAST,
tr.standardGridHeading td.standardGridHeadingLAST,
tr.standardGridSubHeading td.standardGridSubHeadingLAST,
tr.standardGridRow1 td.standardGridRow1LAST,
tr.standardGridRow2 td.standardGridRow2LAST,
tr.standardGridRowBold td.standardGridBoldLAST,
tr.standardGridRowSubPh td.standardGridRowSubPhLAST,
tr.standardGridTotal td.standardGridTotalLAST {
	padding-right: 10px;
}

tr.standardGridRow1 td, td.standardGridRow1LAST {
	background: #ffffff;
}

tr.standardGridRow2 td, td.standardGridRow2LAST {
	background: #d9dadc;
}

tr.standardGridRowBold td, td.standardGridRowSubPhLAST {
	font-weight: bold;
}

tr.standardGridRowSubPh td, td.standardGridRowSubPhLAST {
	background: #d9f0ff;
} 

tr.standardGridRow1 td.standardGridLastWithButton,
tr.standardGridRow2 td.standardGridLastWithButton,
tr.standardGridRowBold td.standardGridLastWithButton,
tr.standardGridRowSubPh td.standardGridLastWithButton {
	padding:  0px 0px 0px 10px;
	text-align: right;
	width: 1px;
}

/******************************/
/* grid heading ***************/
/******************************/

div.gridHeading {
	font-weight: bold;
	text-align: left;
	clear: both;
}

ul.gridHeading {
	list-style-type: none;
	margin-bottom: 6px; /* matches bottom border in li.gridHeadingOn padding */
	padding:0;
	width: 100%;
}

li.gridHeadingOn, li.gridHeadingOff {
    display: inline;
    -webkit-border-radius: 11px 11px 0px 0px; /* For older versions of Safari and Chrome */
    -moz-border-radius: 11px 11px 0px 0px; /* For older versions of Firefox */
	border-radius: 11px 11px 0px 0px;
    font-size: 14px;
    margin: 0px 8px 0px 0px;
	padding: 8px 10px 6px 10px; /* bottom marches margin of ul.gridHeading */
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}

li.gridHeadingOn {background-color: #0b6ead; color: #ffffff}
li.gridHeadingOff {background-color: #0b6ead; color: #ffffff}

li.gridHeadingOn a:link {color: #ffffff; text-decoration: none;}
li.gridHeadingOn a:visited {color: #ffffff; text-decoration: none;}
li.gridHeadingOn a:active {color: #ffffff; text-decoration: underline;}
li.gridHeadingOn a:hover {color: #ffffff; text-decoration: underline;}

li.gridHeadingOff a:link {color:#ffffff; text-decoration: underline;}
li.gridHeadingOff a:visited {color:#ffffff; text-decoration: underline;}
li.gridHeadingOff a:active {color:#ffffff; text-decoration: none;} 
li.gridHeadingOff a:hover {color:#ffffff; text-decoration: none;}

/******************************/
/* form columns ***************/
/******************************/

div.standardForm, div.standardFormCloser {
	float: left;
	width: 100%;
	clear: both;
}

div.standardForm, div.standardFormDashedLine {margin-bottom: 12px;} /* 20px (required) - 8px (par_formspacing) */

div.standardFormDashedLine {
	border-top: 1px dashed #000000;
}

div.standardFormLeftColumn,
div.standardFormRightColumn {
	float: left;
	width: 48%;
}

div.standardFormSpacer {
	float: left;
	width: 4%;
}

/******************************/
/* form fields ****************/
/******************************/

.par_formspacing, .par_formspacingRed, div.input_halfsize_fake { /* Note that this is not picked up in modal for some reason */
	margin-top: 0px;											 /* overridden by div.modalContent p, div.modalContent ul, div.modalContent h2 */
	margin-bottom: 8px;
	line-height:normal;
}

p.par_no_spacing, div.modalContent p.par_no_spacing {
	margin-bottom: 0px;
}

.par_nomargin {
	margin-top: 0px;
	margin-bottom: 0px;
	line-height:normal;
}

input, select, textarea {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
	background: #ffffff;
	color: #000000;
	border: 1px solid #58585b;
	padding: 4px;
	margin: 2px; /* Sorts radios and checkboxes */
}

input:focus {background: #ffffff;}

span.noborder input {
	border: 10px;
	background-color: transparent;
}

.input_halfsize, .input_halfsize_mandatory,
.select_halfsize, .select_halfsize_mandatory {
	width: 345px;
	margin: 0px;
}

input_halfsizeWithDatePicker {
	width: 250px;
	margin: 0px;
}

.input_popupLong, .select_popupLong { 
	width: 100%;
	margin: 0px;
}

.input_dd, .input_dd_mandatory {width: 40px; margin: 0px;}
.input_mm, .input_mm_mandatory {width: 40px; margin: 0px;}
.input_yyyy, .input_yyyy_mandatory {width: 75px; margin: 0px;}
.input_postcode {width: 100px; margin: 0px;}

.input_halfsize_mandatory, .select_halfsize_mandatory, 
.input_dd_mandatory, .input_mm_mandatory, .input_yyyy_mandatory {
	background-color: #ffffff /* #d9dadc */;
	margin: 0px;
}

/******************************/
/* fake form fields ***********/
/******************************/

div.input_halfsize_fake {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
	width: 345px;
	background: #ffffff url('./Images/lock.gif') top right no-repeat;
	color: #000000;
	border: 1px solid #58585b;
	padding: 4px;
}

/******************************/
/* inputs / buttons ***********/
/******************************/

div.topRightButton {
	float: right;
}

div.buttonStandard, div.buttonSecondary, div.buttonHighlight, div.buttonModalClose {
    display: inline;
}

.input_button_main, .input_button_secondary, .input_button_highlight {
	margin: 0px;
}

div.buttonStandard a, div.buttonSecondary a, div.buttonHighlight a, div.buttonModalClose a, 
.input_button_main, .input_button_secondary, .input_button_highlight {
    display: inline-block;
    -webkit-border-radius: 11px; /* For older versions of Safari and Chrome */
    -moz-border-radius: 11px; /* For older versions of Firefox */
	border-radius: 11px;
	border: 1px solid #58585b;
    
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

div.buttonStandard a, .input_button_main {background-color: #0b6ead;}
div.buttonSecondary a, .input_button_secondary {background-color: #d9dadc;}
div.buttonHighlight a, .input_button_highlight {background-color: #EA2227;}

div.buttonModalClose a {
	background-color: red;
	border: 0px;
	font-weight: bold;
}

div.buttonStandard a:link, div.buttonStandard a:visited, .input_button_main {
	color: #ffffff; 
	text-decoration: none;
    cursor: pointer;
}

div.buttonStandard a:active,  div.buttonStandard a:hover, 
.input_button_main:hover, .input_button_main:focus { 
	color: #ffffff;
	text-decoration: none;
	background-color: #1094e9;
}

div.buttonSecondary a:link, div.buttonSecondary a:visited, .input_button_secondary {
	color: #000000;
	text-decoration: none;
    cursor: pointer;
}

div.buttonSecondary a:active, div.buttonSecondary a:hover, 
.input_button_secondary:hover, .input_button_secondary:focus {
	color: #000000;
	text-decoration: none;
	background-color: #c8cacc;
}

div.buttonHighlight a:link, div.buttonHighlight a:visited, .input_button_highlight {
	color: #ffffff;
	text-decoration: none;
    cursor: pointer;
}

div.buttonHighlight a:active, div.buttonHighlight a:hover,
.input_button_highlight:hover , .input_button_highlight:focus {
	COLOR: #ffffff;
	text-decoration: none;
	background-color: #bd1c20;
}

div.buttonModalClose a:link, div.buttonModalClose a:focus, div.buttonModalClose a:active, div.buttonModalClose a:hover  { color: #ffffff }

div.smallButtonText, .input_button_main, .input_button_secondary, .input_button_highlight,
div.buttonStandard a, div.buttonSecondary a, div.buttonHighlight a, div.buttonModalClose a {
	padding: 4px 10px 4px 10px;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
}

div.smallButtonText {
	float: left;
    color: inherit;
}

/******************************/
/* highlight box **************/
/******************************/

div.box, div.boxColour {
	float:left;
	-webkit-border-radius: 13px; /* For older versions of Safari and Chrome */
    -moz-border-radius: 13px; /* For older versions of Firefox */
	border-radius: 13px;
	
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
    width: 100%;
    background-color: #f1f1f1; 
    padding: 15px 15px 20px 15px;
    border: 1px solid #58585b;
	margin-bottom: 20px;
}

div.boxColour {
	background-color: #0b6ead;
    border: 1px solid #0b6ead;
}

div.boxColumn, div.boxColumnSmall {
	float: left;
	padding: 0px;
	margin: 0px 0px 10px 0px;
}

div.boxColumn, div.boxColumnSmall, div.boxColumn span {color: #ffffff;}

div.boxColumn {width: 250px;}
div.boxColumnSmall {width: 100px;}

div.boxColumnSpacer {
	float: left;
	padding: 0px;
	margin: 0px;
	width: 10px;
}


div.boxColumnCloser {margin-bottom: 10px;}

div.boxColumnLeftColumn, div.boxColumnRightColumn {width: 340px;}

div.boxColumnLeftColumn {float: left;}
div.boxColumnRightColumn {float: right;}

/******************************/
/* tooltip styles *************/
/******************************/

.tooltipBody, .tooltipBodyFixedWidth {
    border: #58585b 1px solid;
    background-color: #c8cacc;
    padding: 10px;
} 

.tooltipBodyFixedWidth {width: 260px;}

.tooltipLink {
	cursor: pointer;
	text-decoration: underline;
}

/******************************/
/* paging styles **************/
/******************************/

table.pager {
    border-left: 1px solid #58585b;
    border-right: 1px solid #58585b;
    border-top: 1px solid #58585b;
    padding: 5px 10px 5px 10px;
    margin: 0px 20px 0px 20px;
}

/******************************/
/* Modal styles ***************/
/******************************/

.modalBackground {
    background-color: black;
    filter: alpha(opacity=25);
    opacity: 0.25;
}

.updateProgressBackground { /* clear */
    background-color: red;
    filter: alpha(opacity=0);
    opacity: 0.0; 
}

div.layerModalStandard {
	width: 795px;
	background-image: url(./Images/modal/modalFooter535.gif), url(./Images/modal/modalBg535.gif);
	background-position: bottom, top;
	background-repeat: no-repeat, repeat-y;
	background-color: #ffffff;
	margin: 0px;
	padding-bottom: 10px;
}

div.layerModalStandard img { /* Temporary fix to line up bottom border image properly */
    vertical-align: bottom;
}

div.modalContent {
    padding: 15px 30px 5px 30px;
}

div.modalContent div.modalScrolling{
    height: 250px;
    overflow: auto;
	border-top: 1px solid #929EAC;
    border-bottom: 1px solid #929EAC;
    margin-bottom: 10px;
}

div.modalContent p, div.modalContent ul, div.modalContent h2 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.modalHeadingWarning, .modalHeading {
	font-size: 16px;
	font-weight: bold;
}

div.modalContent table {
    margin-top: 1px;
}

.modalTableHeaderStandard {
	height: 45px;
	background: url(./Images/modal/modalBarTopBg535.gif) no-repeat;
}

td.modalTableHeaderCell {
	padding: 8px 30px 0px 30px;
}

p.modaltitle {
	font-size: 18px;
	font-weight: bold;
	color: #ffffff;
	margin: 0px;
}

/*************************/
/* ADDED BY PB TEMP -- START */
/*************************/

div.gridTopCentreLeft { float: left; }
div.gridTopCentreRight { float: right; }

/*************************/
/* TEMP -- END ***********/
/*************************/



/*************************/
/* ADDED BY NPJ -- START */
/*************************/

/* ******************* */
/* Correct the vertical alignment from baseline (set above) for the modal */
/* ******************* */
table.modalTableHeaderStandard td { vertical-align: middle; }


.input_small {width: 100px;}


.input_halfsizeWithDatePicker {width: 214px;}	/* 241px - 20px (date picker width) - 7px (space) */
.input_halfsizeWithButton, .select_halfsizeWithButton {width: 179px;}  /* 241px - 55px (button width) - 7px (space) */