html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:100;
}

html,  body,  div,  span,  object,  iframe, blockquote, pre, abbr,
address, cite, code, del, dfn, em, ins, kbd, q, samp, small, /* strong, */ sub, sup, var,
b, i, dl, dt, dd, fieldset, form, label, legend, article, aside,
canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, 
section, summary, time, mark, audio, video, input, select, textarea {
	margin:0;
	padding:0;
	border:0;
	font-size: 14px;
	vertical-align: baseline;
	font-family: Open Sans, Arial, helvetica, sans-serif;
	color: #58585b;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
	display:block
}

/******************************/
/* general stuff **************/
/******************************/

p {margin-bottom: 13px;}

ul, ol {
	margin-left: 1.0em;
    margin-top: 0px;
	margin-bottom: 8px;
	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: 20px;
	color: #58585b;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 13px;
}

h1.topHeading {margin-top: 0px;}
h1.topHeadingNavigationColumn {margin-top: 0px; color: #000000;}

h2, p.large {font-size: 16px; color: #58585b; font-weight: bold; margin-top: 0px; margin-bottom: 11px;}

h2.topHeadingFilterPolicyOptions {color: #0060a8;}

.red, .tooltipLinkRed, .par_formspacingRed, .modalHeadingWarning, .red label {color: #EA2227;}

/* By default IE8+ centre aligns headers */
th { text-align: left; }

/******************************/
/* layout stuff ***************/
/******************************/

div.outerContaner {
	width: 100%;
	min-width: 360px; /* Based on Google search  July 2024, see modal below too */
}

div.container, div.containerInfoBanner {
	width: 100%;
}

div.containerInside, div.containerInsideInfoBanner {
	width: 980px; 			/* For ie8 - reset in media stuff below */
	max-width: 980px;
	margin-left: auto; 		/*** USED TO CENTRE CONTENT ***/
	margin-right: auto; 	/*** USED TO CENTRE CONTENT ***/
	clear: both;
}

div.containerInside {
	margin-top: 15px;
}

div.containerInsideTwo, div.containerInsideTwoHeader {padding: 0px 10px 0px 10px;} /* Gives a bit of a border */

div.containerInfoBanner {
	/* Gradient goes top to bottom */
	background-color: #523654;
	background: -webkit-linear-gradient(#0060a8, #017dda); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#0060a8, #017dda); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#0061a8, #017dda); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#0061a8, #017dda); /* Standard syntax (must be last) */
    height: 40px;
    border-top: 1px solid #58585b;
    border-bottom: 1px solid #58585b;
    margin-bottom: 25px;
}

div.leftColumn {
	float: left;
	width: 200px;
	overflow: hidden;
}

div.leftColumnLeftAlign {
	float: left;
	width: 100%;
	text-align: left;
}

div.mainContent {
	float: right;
	width: 735px;
	overflow: hidden;
}

p.footer {
	padding-top: 15px;
	padding-bottom: 25px;
	text-align: center;
}

/******************************/
/* header stuff ***************/
/******************************/

div.headerLeftImage, div.headerLeftImageLogin {
	float: left;
	padding: 15px 0px 15px 0px;
	width: 30%;
	min-height: 50px; /* Makes login page nicer*/
	overflow: hidden;
}

div.headerRight, div.headerRightLogin {
	float: right; 
	text-align: right;
	width: 70%;
}

div.headerRight p, div.headerRightLogin p {font-size: 14px;}

img.headerImage {
	height: 80px;
}

.updateProgressAnimation {
	float: right;
	margin-top: 10px;
}

div.infoBannerLeft {
	float: left;
	width: 85%px;
	overflow: hidden;
}

div.infoBannerLeft,
span.headerBarLabelDetail,
span.infoBannerLeftName,
span.infoBannerLeftPostcode,
span.infoBannerLeftInsuredItem {
	font-size: 18px;
	line-height: 40px;
	color: #ffffff;
}

div.infoBannerRight {
	float: right;
	width: 15%;
	overflow: hidden;
	text-align: right;
	color: #ffffff;
	display: none; /* Temp hidden as don't want to show cart icon */
}

/******************************/
/* main nav stuff *************/
/******************************/

div.topNavigation {
	font-weight: bold;
	text-align: right;
	clear: both;
}

ul.topNavigation {
	list-style-type: none;
	margin: 0px auto;
	padding:0;
	width: 100%;
}

li.topNavigationOn, li.topNavigationOff {
    display: inline;
    font-size: 16px;
}

a span.topLinkDetail {
    font-size: inherit;
}

span.topLinkDetail {
	background-color: inherit;
	color: inherit;
	text-decoration: inherit;
}

li.topNavigationOn a, li.topNavigationOff a {
    display: inline-block; *zoom: 1; *display: inline; /* IE7 */
	margin: 0px 0px 0px 8px;
	padding: 3px 10px 2px 10px;
	background-color: #ffffff;
	border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    
    -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: #0061a8;}

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:#000000; text-decoration: none;}
li.topNavigationOff a:visited {color:#000000; text-decoration: none;}
li.topNavigationOff a:active {color:#ffffff; text-decoration: none; background-color: #0061a8;} 
li.topNavigationOff a:hover {color:#ffffff; text-decoration: none; background-color: #0061a8;}

/******************************/
/* button stuff ***************/
/******************************/

div.leftNavigationOn, div.leftNavigationOff, div.leftNavigationOff_highlight, div.leftNavigationDisabled {
    display: inline;
}

div.leftNavigationOn a, div.leftNavigationOff a, div.leftNavigationOff_highlight 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: 100%;
	
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
    
    -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: #00447f;}
div.leftNavigationOff a {background-color: #0061a8;}
div.leftNavigationOff_highlight a {background-color: #0061a8;}
div.leftNavigationDisabled a {
	border: 1px solid #a7a9ab;
	background-color: #d9dadc;
	COLOR: #a7a9ab
}

div.leftNavigationOn a,
div.leftNavigationOff a,
div.leftNavigationOff_highlight a {
	color:#ffffff
}

span.navFullName, span.navShortName {
	color: inherit;
	background-color: inherit;
}

div.leftNavigationOn a:link {text-decoration: none;}
div.leftNavigationOn a:visited {text-decoration: none;}
div.leftNavigationOn a:active {text-decoration: none;}
div.leftNavigationOn a:hover {text-decoration: none;}

div.leftNavigationOff a:link {text-decoration: none;}
div.leftNavigationOff a:visited {text-decoration: none;}
div.leftNavigationOff a:active {text-decoration: none; background-color: #00447f;} 
div.leftNavigationOff a:hover {text-decoration: none; background-color: #00447f;}

div.leftNavigationOff_highlight a:link {text-decoration: none;}
div.leftNavigationOff_highlight a:visited {text-decoration: none;}
div.leftNavigationOff_highlight a:active {text-decoration: none; background-color: #00447f;} 
div.leftNavigationOff_highlight a:hover {text-decoration: none; background-color: #00447f;}

span.navShortName {display: none;}

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 5px 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,
div.mainButtonTextWithNumber span, div.mainButtonTextNoNumber span {
	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 content divs **********/
/******************************/

div.leftColumnContentInside {
	float: left;
	padding: 0px;
	margin: 0px 0px 8px 0px; /* Ensures 16px same as <p> */
	overflow: hidden;
	width: 100%;
	clear: both;
}

div.leftColumnContentInsideOne, div.leftColumnContentInsideTwo {
	float: left;
	padding: 0px;
	margin: 0px;
	width: 100%;
	overflow: hidden;
}

div.leftColumnContentInsideSpacer {
	float: left;
	padding: 0px;
	margin: 0px;
	width: 2%;
	display: none;
}

/******************************/
/* left menu options **********/
/******************************/

div.leftMenuPolicyTypes {
	margin-bottom: 7px;
	font-weight: bold;
}

div.leftMenuPolicyTypes ul.tick, div.leftMenuPolicyTypes ul.dash,
div.leftMenuPolicyTypesAlt ul.tick, div.leftMenuPolicyTypesAlt ul.dash {
	margin-left: 2.4em;
	margin-bottom: 0px;
}

div.leftMenuPolicyTypes ul.tick li, div.leftMenuPolicyTypes ul.dash li,
div.leftMenuPolicyTypesAlt ul.tick li, div.leftMenuPolicyTypesAlt ul.dash li {
	font-size: 16px;
	color: #2e3092;
}

div.leftMenuPolicyTypes ul.tick, div.leftMenuPolicyTypesAlt ul.tick {list-style-image: url('./Images/tick.gif');}
div.leftMenuPolicyTypes ul.dash, div.leftMenuPolicyTypesAlt ul.dash {list-style-image: url('./Images/dash.gif');}

div.leftMenuPolicyTypes ul.tick a:link, div.leftMenuPolicyTypes ul.dash a:link {color: #58585b; text-decoration: none}
div.leftMenuPolicyTypes ul.tick a:visited, div.leftMenuPolicyTypes ul.dash a:visited {color: #58585b; text-decoration: none}
div.leftMenuPolicyTypes ul.tick a:active, div.leftMenuPolicyTypes ul.dash a:active {color: #58585b; text-decoration: underline}
div.leftMenuPolicyTypes ul.tick a:hover, div.leftMenuPolicyTypes ul.dash a:hover {color: #58585b; text-decoration: underline}

div.leftMenuPolicyTypesAlt {
	display: none;
	width: 100%;
	text-align: center; 
	font-weight: bold;
	clear: both;

}

div.leftMenuPolicyTypesAlt ul.tick, div.leftMenuPolicyTypesAlt ul.dash {
	display: inline-block;
}

div.leftMenuPolicyTypesAlt ul.tick a:link, div.leftMenuPolicyTypesAlt ul.dash a:link {color: #58585b; text-decoration: none}
div.leftMenuPolicyTypesAlt ul.tick a:visited, div.leftMenuPolicyTypesAlt ul.dash a:visited {color: #58585b; text-decoration: none}
div.leftMenuPolicyTypesAlt ul.tick a:active, div.leftMenuPolicyTypesAlt ul.dash a:active {color: #58585b; text-decoration: underline}
div.leftMenuPolicyTypesAlt ul.tick a:hover, div.leftMenuPolicyTypesAlt ul.dash a:hover {color: #58585b; 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.standardGridTotal td {
	border-bottom: 1px solid #58585b;
	padding: 7px 0px 7px 10px;
	vertical-align: middle;
}

tr.standardGridHeading th.standardGridHeadingLAST,
tr.standardGridHeading td.standardGridHeadingLAST,
tr.standardGridSubHeading td.standardGridSubHeadingLAST,
tr.standardGridRow1 td.standardGridRow1LAST,
tr.standardGridRow2 td.standardGridRow2LAST,
tr.standardGridTotal td.standardGridTotalLAST {
	padding-right: 10px;
}

tr.standardGridRow1 td, td.standardGridRow1LAST {
	background: #ffffff;
}

tr.standardGridRow2 td, td.standardGridRow2LAST { /* Not used everywhere but used to give in stripey table in reports */
	background: #d9dadc;
} 

tr.standardGridRow1 td.standardGridLastWithButton {
	padding: 3px 10px 0px 10px;
}

/******************************/
/* grid heading ***************/
/******************************/

div.gridHeading {
	font-weight: bold;
	text-align: right;
	clear: both;
}

ul.gridHeading {
	list-style-type: none;
	margin: 0px auto;
	padding:0;
	width: 100%;
}

li.gridHeadingOn, li.gridHeadingOff {
    display: inline;
    font-size: 14px;
    margin: 0px 8px 0px 0px;
	padding: 3px 10px 1px 10px;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}

li.gridHeadingOn {background-color: #0061a8;}

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:#58585b; text-decoration: none;}
li.gridHeadingOff a:visited {color:#58585b; text-decoration: none;}
li.gridHeadingOff a:active {color:#58585b; text-decoration: underline;} 
li.gridHeadingOff a:hover {color:#58585b; text-decoration: underline;}

/******************************/
/* 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, div.input_popupLong_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;
	margin-top: 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;
}

input[type="radio"], input[type="checkbox"] {margin: 3px;}

input:focus {background: #ffffff;}

span.noborder input {
	border: 10px;
	background-color: transparent;
}

.input_halfsize, .input_halfsize_mandatory,
.select_halfsize, .select_halfsize_mandatory {
	width: 100%;
	margin: 0px;
}

.input_halfsizeWithDatePicker {
	width: 80%;
	margin: 0px;
}

.input_popupLong, .select_popupLong { 
	width: 100%;
	margin: 0px;
}

.input_quartersize {
	width: 55%;
	margin: 0px;
}

.select_quartersize {
	width: 40%;
	margin: 0px;
}

.input_small {width: 100px;}

.input_halfsizeWithButton, .select_halfsizeWithButton {width: 50%;}

.input_dd, .input_dd_mandatory {width: 20%; margin: 0px;}
.input_mm, .input_mm_mandatory {width: 20%; margin: 0px;}
.input_yyyy, .input_yyyy_mandatory {width: 40%; margin: 0px;}
.input_postcode {width: 40%; margin: 0px;}

.input_halfsize_mandatory, .select_halfsize_mandatory, 
.input_dd_mandatory, .input_mm_mandatory, .input_yyyy_mandatory {
	background-color: #d9dadc;
	margin: 0px;
}

/******************************/
/* fake form fields ***********/
/******************************/

div.input_halfsize_fake, div.input_popupLong_fake {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
	color: #000000;
	border: 1px solid #58585b;
	padding: 4px;
}

div.input_halfsize_fake {
	width: 100%;
	background: #ffffff url('./Images/lock.gif') top right no-repeat;	
}

div.input_popupLong_fake {
	width: 100%;
	background: #ffffff url('./Images/lock_scroller.gif') top right no-repeat;
	max-height: 120px;
	min-height: 60px;
    overflow: auto;
}

/******************************/
/* inputs / buttons ***********/
/******************************/

div.topRightButton {
	float: right;
}

div.buttonStandard, div.buttonSecondary, div.buttonHighlight, div.buttonModalClose {
    display: inline;
}

div.logoutButton {
	float: left;
	margin-left: 10px;
}

.input_button_main, .input_button_secondary, .input_button_highlight {
	margin: 0px;
}

div.buttonStandard a, div.buttonSecondary a, div.buttonHighlight a, div.buttonWarning a, div.buttonModalClose a,
.input_button_main, .input_button_secondary, .input_button_highlight {
    /* To get rid of gradient buttons in iPad, etc */
	-webkit-appearance: none; /*Safari/Chrome*/
    -moz-appearance: none; /*Firefox*/
    -ms-appearance: none; /*IE*/
    -o-appearance: none; /*Opera*/
    appearance: none;
	
	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;
	
	margin-bottom: 2px; /* Better spacing on mobiles */
}

div.buttonStandard a, .input_button_main {background-color: #0061a8;}
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: #00447f;
}

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, div.buttonStandard a, div.buttonModalClose a,
.input_button_main, .input_button_secondary, .input_button_highlight {
	padding: 4px 10px 4px 10px;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
}

div.smallButtonText {
	float: left;
    color: inherit;
}

/******************************/
/* highlight box **************/
/******************************/

div.box {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
    width: 100%;
    background-color: #d9dadc; 
    padding: 15px 15px 7px 15px;
    border: 1px solid #58585b;
	margin-bottom: 20px;
	float:left;
}

div.boxColumn, div.boxColumnCloser {
	width: 100%;
	clear: both;
}

div.boxColumnCloser {margin-bottom: 10px;}

div.boxColumnLeftColumn, div.boxColumnRightColumn {width: 340px;}

div.boxColumnLeftColumn {float: left;}
div.boxColumnRightColumn {float: right;}

div.hiliteBox665 { /* Used on documents tab with brokers */
	float:left;
	-webkit-border-radius: 15px; /* For older versions of Safari and Chrome */
    -moz-border-radius: 15px; /* For older versions of Firefox */
	border-radius: 15px;
	
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
    width: 100%;
    background-color: #d4d8df; /* Needs to be this colour as it's the background colour of the iframe */
    padding: 15px 15px 15px 15px;
    border: 1px solid #58585b;
	margin-bottom: 15px;
}

/******************************/
/* tooltip styles *************/
/******************************/

.tooltipBody, .tooltipBodyFixedWidth {
    border: #58585b 1px solid;
    background-color: #c8cacc;
    padding: 10px;
} 

.tooltipBodyFixedWidth {width: 250px;}

.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, div.layerModalWide {
	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, div.layerModalWide 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;
}

div.popup_image {
    width: 745px;
    height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.modalTableHeaderStandard, .modalTableHeaderWide {
	height: 45px;
	background: url(./Images/modal/modalBarTopBg535.gif) no-repeat;
}

td.modalTableHeaderCell {
	padding: 8px 30px 0px 30px;
}

p.modaltitle, p.modaltitle span {
	font-size: 18px;
	font-weight: bold;
	color: #ffffff;
	margin: 0px;
}

p.modaltitle a:visited {
    COLOR: #ffffff;
    text-decoration: underline;
}

p.modaltitle a:link {
    COLOR: #ffffff;
    text-decoration: underline;
}

/******************************/
/* docs iframe ****************/
/******************************/

iframe.uploadedDocuments {
    width: 640px;
	height: 35px;
	border-width: 0;
}

/******************************/
/* COLUMN STYLES **************/
/******************************/

.footerSpacer {
	height: 25px;
	clear: both;
}

.footerContainer {
	border-top: 2px solid #cccccc;
	clear: both;
}

div.threeColumnContent {
	float: left;
	padding: 0px;
	margin: 0px;
	overflow: hidden;
	width: 32%;
	text-align: center;
}

div.threeColumnContentSpacer {
	float: left;
	padding: 0px;
	margin: 0px;
	width: 2%;
}

/*************************/
/* ADDED BY PB TEMP -- START */
/*************************/

div.gridTopCentreLeft { float: left; }
div.gridTopCentreRight { float: right; }

/*************************/
/* TEMP -- END ***********/
/*************************/

/*************************/
/* Enhanced drop-down ****/
/*************************/

.rcbInput {
	font-size: 14px !important; /* To match the rest of the text */
	font-family: Open Sans, Arial, helvetica, sans-serif !important;
	color: #58585b !important; 
	line-height: 16px !important;
}

/* ******************* */
/* Correct the vertical alignment from baseline (set above) for the modal */
/* ******************* */
table.modalTableHeaderStandard td, table.modalTableHeaderWide td { vertical-align: middle; }

/*******************************************************************************************************************************************************/
/************** Screen specific stuff ******************************************************************************************************************/
/*******************************************************************************************************************************************************/

/* Biggest size */
@media only screen and (min-width: 1020px)
{
	/* Reset from value above which is required for ie8 */
	div.containerInside, div.containerInsideInfoBanner {width: 100%;}
	
	/* Used to show warning instead of content on some pages when not full size*/
	div.pageWarning {display: none;}
	div.showWarning {display: none;}
}

/* Anything less than 1019px (Medium size) */
@media only screen and (max-width: 1019px) 
{
	div.containerInside, div.containerInsideInfoBanner {width: 100%; max-width: 980px} /* 940px plus 10px border search side */
	
	/* Used to show warning instead of content on some pages when not full size*/
	div.pageWarning {display: none;}
	div.showWarning {display: inline;}
	div.hideContent {display: none;}
	
	/************** header stuff ************************************************/
	
	span.headerDate {display: none;}
	li.topNavigationWarning {display: none;} /* shows 'ST Test Server', etc */

	li.toplinkReports, li.toplinkBrokers {display: none;}	

	/************** content area ************************************************/
	
	div.leftColumn {width: 100%; text-align: center; margin-bottom: 13px;}
	div.leftNavigationOn, div.leftNavigationOff, div.leftNavigationOff_highlight, div.leftNavigationDisabled {padding: 0px 5px 0px 5px;}
	div.leftNavigationOn a, div.leftNavigationOff a, div.leftNavigationOff_highlight a, div.leftNavigationDisabled a {width: auto;}
	
	div.leftColumnContentInsideOne, div.leftColumnContentInsideTwo {width: 49%; margin-bottom: 12px;}
	div.leftColumnContentInsideSpacer {display: inline;}
	
	div.leftMenuPolicyTypes {display: none;}
	div.leftMenuPolicyTypesAlt {display: block;}
	
	div.mainContent {width: 100%;}
	
	/************** other *******************************************************/
	
	span.infoBannerLeftPostcode {display: none;}
	
	th.Stockno, td.Stockno {display: none;} /* Search results grid*/
	th.RRP, td.RRP {display: none;} /* Products grids*/
	
	div.leftColumnContentInside {margin: 0px;} /* Improves spacing when button hidden */
}

/* Anything less than 795px (Small size) */
@media only screen and (max-width: 795px)
{
	/************** header stuff ************************************************/
	
	div.headerRight {width: 100%;}
	div.headerRight {border-bottom: 1px solid #58585b;}
	
	div.headerLeftImageLogin {width: 100%;}
	div.headerRightLogin {display: none;}
	
	div.logoutButton {margin-right: 10px;}
	
	div.containerInsideTwoHeader {padding: 0px;}
	div.headerLeftImage {padding: 25px 0px 25px 10px; width: 80%;}
	div.headerLeftImageLogin {padding-left: 10px; width: 80%;}
	div.topNavigation {padding: 0px 10px 0px 10px;}
	
	.updateProgressAnimation {margin-right: 10px;} 

	/************** content area ************************************************/

	div.standardFormLeftColumn, div.standardFormRightColumn {width: 100%;}
	div.standardFormSpacer {display:none;}	
	
	/************** columns *****************************************************/
	
	div.threeColumnContentSpacer {display:none;}
	div.threeColumnContent {width: 100%;}
	
	/************** other *******************************************************/
	
	span.infoBannerLeftName {display: none;}

	span.navFullName {display:none;}
	span.navShortName {display:inline;}
		
	th.Username, td.Username {display: none;} /* Users grid*/
	th.Email, td.Email {display: none;} /* Salesperson grid*/
	th.Address, td.Address {display: none;} /* Search results grid*/
	th.Retailprice, td.Retailprice {display: none;} /* Products grids*/
	th.Claimlimit, td.Claimlimit {display: none;} /* Products grids*/

	/************** modal *******************************************************/
	
	div.layerModalStandard, div.layerModalWide {
		width: 95%;
		height: 95%;
		background-image: none;
		border: 2px solid #585858;
		box-sizing: border-box;
	}
	
	div.modalContent {
		border: 0px;
		position:absolute;
		height: auto;
		bottom:0;
		top:55px; /* matches modalTableHeaderStandard min-height, not ideal as it's a min but good enough*/
		left:0;
		right:0;
		overflow: auto;
	}

	.modalTableHeaderStandard, .modalTableHeaderWide {
		min-height: 55px;
		background: none;
		border-bottom: 2px solid #585858;
	}
	
	p.modaltitle, p.modaltitle span {color: #585858;}
	p.modaltitle a:visited {COLOR: #585858;}
	p.modaltitle a:link {COLOR: #585858}
	
	/*
	div.layerModalStandard, div.layerModalWide {
		width: 535px;
		background-image: url(./Images/modal/modalFooter535_small.gif), url(./Images/modal/modalBg535_small.gif);
	}

	.modalTableHeaderStandard, .modalTableHeaderWide {
		background: url(./Images/modal/modalBarTopBg535_small.gif) no-repeat;
	}
	*/
}

/* Smaller than iPhone 5s width */
@media only screen and (max-width: 567px)
{	
	/************** important to stop zooming on phones *************************/
	
	html,  body,  div,  span,  object,  iframe, blockquote, pre, abbr,
	address, cite, code, del, dfn, em, ins, kbd, q, samp, small, /* strong, */ sub, sup, var,
	b, i, dl, dt, dd, fieldset, form, label, legend, article, aside,
	canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, 
	section, summary, time, mark, audio, video, input, select, textarea {
		font-size: 16px;
	}
	
	/************** enhanced drop-down ******************************************/

	.rcbInput {
		font-size: 16px !important; /* So no zoom on phones */
		line-height: 18px !important;
	}

	li.topNavigationOn a span.topLinkDetail, li.topNavigationOff a span.topLinkDetail {display: none;} /* Shortens 'new customer' to 'new'*/

	/************** content area ************************************************/

	div.leftColumnContentInsideOne {width: 100%; margin-bottom: 0px;}
	div.leftColumnContentInsideTwo {width: 100%;}
	div.leftColumnContentInsideSpacer {display: none;}

	/************** columns *****************************************************/
	
	span.headerBarLabelDetail {display:none;}
	div.infoBannerRight {display:none;}
	
	/************** other *******************************************************/
	
	div.mainButtonTextWithNumber span.navShortName {display:none;}
	div.leftNavigationOn a div.mainButtonTextWithNumber span.navShortName {display:inline;}
	div.leftNavigationDisabled a div.mainButtonTextWithNumber {display: none;}
	div.leftNavigationOff a div.mainButtonTextWithNumber {display: none;}

	th.Userrole, td.Userrole {display: none;} /* Users grid */
	th.Postcode, td.Postcode {display: none;} /* Search results grid*/
	th.IPT, td.IPT {display: none;} /* Products grids*/
	th.VAT, td.VAT {display: none;} /* Products grids*/
}

/* Anything less than 399px (Tiny size) */
@media only screen and (max-width: 399px)
{	
	th.Registration, td.Registration {display: none;} /* Search results grid*/
	th.Claimexcess, td.Claimexcess {display: none;} /* Search results grid*/
	
	div.layerModalStandard, div.layerModalWide {
		width: 340px;
		
	}
}
