﻿/* HTML5 ✰ Boilerplate */

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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
ul, li { margin: 0; list-style:none; list-style-image: none; }
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
textarea { overflow: auto; } 
.ie6 legend, .ie7 legend { margin-left: -7px; } 
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* NO PINK!
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }
*/
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

body, select, input, textarea { color: #444; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }

/* =============================================================================
   MortgageSourcing
   ========================================================================== */
html {
    overflow: auto;
}

body {
    font-family: Verdana;
    font-size: 0.6em;
}

a {
    color: #10356A;
    outline: medium none;
    text-decoration: none;
}


/* =============================================================================
   MortgageSourcing Components
   ========================================================================== */

.engage-ui-home-control
{    
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    background-color: #F7F7F7;
    border: 1px solid #8AA7C6;
    margin-bottom: 7px;
}

.engage-ui-home-control h3
{ 
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-radius: 5px 5px 0 0;
    background-color: #8AA7C6;
    color: #FFFFFF;
    font-size: 1em;
    font-weight: bold;
    line-height: 1;
    padding: 0.6em 1em;
}

.engage-ui-control-datalist-dataRow {
    border-bottom: 1px solid #E5E5E5;
    line-height: 16px;
    padding: 0 3px 3px;
}

/* Data Row Alternating Row Color */
.engage-ui-control-datalist-datarow-altRow
{
	background-color:#f7f7f7;
}

/* Data Row Default Row Color */
.engage-ui-control-datalist-datarow-row
{
	background-color:#FFF;
}


/* =============================================================================
   Matrix Controls
   ========================================================================== */
   
.matrix-ui-home-control
{    
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    background-color: #F7F7F7;
    border: 1px solid #8AA7C6;
}

.matrix-ui-home-control h3
{ 
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-radius: 5px 5px 0 0;
    background-color: #8AA7C6;
    color: #FFFFFF;
    font-size: 1em;
    font-weight: bold;
    line-height: 1;
    padding: 0.6em 1em;
}

.matrix-ui-control-datalist-dataRow {
    border-bottom: 1px solid #E5E5E5;
    line-height: 16px;
    padding: 0 3px 3px 7px;
}

/* Data Row Alternating Row Color */
.matrix-ui-control-datalist-datarow-altRow
{
	background-color:#f7f7f7;
}

/* Data Row Default Row Color */
.matrix-ui-control-datalist-datarow-row
{
	background-color:#FFF;
}

/* ------------------- Matrix Home Page Sprite Styling ------- */
.matrix-sprite-home-icons
{
	background-image:url("/Images/sprites/matrix-sprite-home-icons.png"); 
	background-repeat:no-repeat; 
	background-color:transparent; 
	cursor:pointer;	
	display: inline-block;
}

.matrix-sprite-home-gridsmallgrey
{
	background-image:url("/Images/gridsmallgrey.png"); 
	background-repeat:no-repeat;  
	cursor: default;
	display: inline-block;
	width: 16px; 
	height: 16px;
}

.matrix-sprite-home-changesmallgrey
{
	background-image:url("/Images/changesmallgrey.png"); 
	background-repeat:no-repeat;  
	cursor: default;
	display: inline-block;
	width: 16px; 
	height: 16px;
}

.matrix-sprite-home-historicsmallgrey
{
	background-image:url("/Images/historicsmallgrey.png"); 
	background-repeat:no-repeat;  
	cursor: default;
	display: inline-block;
	width: 16px; 
	height: 16px;
}

.matrix-sprite-home-brochurecompsmallgrey 
{
	background-image:url("/Images/brochurecompsmallgrey.png"); 
	background-repeat:no-repeat;  
	cursor: default;
	display: inline-block;
	width: 16px; 
	height: 16px;
}

.matrix-ui-activity-icon-centered
{
	/*margin-top: 2px;   */
	vertical-align:middle;
	margin-bottom: 1px;
}

.matrix-sprite-home-matrixlogo { width: 160px; height: 22px; background-position: 0px -96px; }
.matrix-sprite-home-changes { width: 42px; height: 32px; background-position: 0px -64px; }
.matrix-sprite-home-changesgrey { width: 42px; height: 32px; background-position: -42px -64px; }
.matrix-sprite-home-fullgrid { width: 42px; height: 32px; background-position: -84px -64px; }
.matrix-sprite-home-fullgridgrey { width: 42px; height: 32px; background-position: -84px -32px; }
.matrix-sprite-home-graph { width: 42px; height: 32px; background-position: 0px -32px; }
.matrix-sprite-home-graphgrey { width: 42px; height: 32px; background-position: -32px 0px; }
.matrix-sprite-home-tbva { width: 42px; height: 32px; background-position: -42px -32px; }
.matrix-sprite-home-tbvagrey { width: 42px; height: 32px; background-position: -106px 0px; }
.matrix-sprite-home-brochurecompare { width: 32px; height: 32px; background-position: 0px 0px; }
.matrix-sprite-home-customgrid { width: 32px; height: 32px; background-position: -74px 0px; }
.matrix-sprite-home-customgridgrey { width: 32px; height: 32px; background-position: -126px -64px; }
.matrix-sprite-home-historicgrid { width: 32px; height: 32px; background-position: -126px -32px; }
.matrix-sprite-home-historicgridgrey { width: 32px; height: 32px; background-position: -148px 0px; }
.matrix-sprite-home-brochurecomparegrey { width: 32px; height: 31px; background-position: -158px -64px; }
.matrix-sprite-home-impersonate { width: 25px; height: 16px; background-position: -158px -48px; }
.matrix-sprite-home-impersonategrey { width: 25px; height: 16px; background-position: -158px -32px; }
.matrix-sprite-home-brochurecompsmall { width: 16px; height: 16px; background-position: -160px -95px; }
.matrix-sprite-home-changesmall { width: 16px; height: 16px; background-position: -176px -96px; }
.matrix-sprite-home-deletegrey { width: 16px; height: 16px; background-position: -180px -16px; }
.matrix-sprite-home-distribute { width: 16px; height: 16px; background-position: -180px 0px; }
.matrix-sprite-home-edit { width: 16px; height: 16px; background-position: -183px -48px; }
.matrix-sprite-home-editgrey { width: 16px; height: 16px; background-position: -183px -32px; }
.matrix-sprite-home-favourites { width: 16px; height: 16px; background-position: -190px -80px; }
.matrix-sprite-home-graphsmall { width: 16px; height: 16px; background-position: -190px -64px; }
.matrix-sprite-home-greyarrowleft { width: 16px; height: 16px; background-position: -192px -96px; }
.matrix-sprite-home-greyarrowright { width: 16px; height: 16px; background-position: -196px -16px; }
.matrix-sprite-home-gridsmall { width: 16px; height: 16px; background-position: -196px 0px; }
.matrix-sprite-home-historicgridsmall { width: 16px; height: 16px; background-position: -199px -48px; }
.matrix-sprite-home-licenceview { width: 16px; height: 16px; background-position: -199px -32px; }
.matrix-sprite-home-licenceviewgrey { width: 16px; height: 16px; background-position: -206px -80px; }
.matrix-sprite-home-orangearrowleft { width: 16px; height: 16px; background-position: -206px -64px; }
.matrix-sprite-home-orangearrowright { width: 16px; height: 16px; background-position: -208px -96px; }
.matrix-sprite-home-tbvasmall { width: 16px; height: 16px; background-position: -212px -16px; }
.matrix-sprite-home-excel { width: 16px; height: 16px; background-position: -212px 0px; }
.matrix-sprite-home-pdf { width: 16px; height: 16px; background-position: -215px -48px; }
.matrix-sprite-home-word { width: 16px; height: 16px; background-position: -215px -32px; }
.matrix-sprite-home-delete { width: 12px; height: 12px; background-position: -222px -64px; }
.matrix-sprite-home-outputtype-over { width: 1px; height: 58px; background-position: -231px 0px; } 


/* ----------- Matrix Icon Sprites ----------- */


/* All sprites in this class are 16px by 16px with a 1px border */
.matrix-ui-icons
{
	background-image:url("/Images/sprites/matrixIcons_16x16.png?v=2"); 
	background-repeat:no-repeat; 
	background-color:transparent; 
	cursor:pointer;	
	display: inline-block;
}

/* sprites row 1 */
.matrix-ui-icon-checkbox-disabled { background-position:0 0; width:16px; height:16px;}
.matrix-ui-icon-checkbox-unchecked { background-position:0 0; width:16px; height:16px;}
.matrix-ui-icon-checkbox-undetermined  { background-position:-20px 0px; width:16px; height:16px;}
.matrix-ui-icon-checkbox-checked { background-position:-40px 0; width:16px; height:16px;}

/* sprites row 2 */
.matrix-ui-icon-checkbox-disabled:hover { background-position:0 0; width:16px; height:16px;}
.matrix-ui-icon-checkbox-unchecked:hover { background-position:0 -20px; width:16px; height:16px;}
.matrix-ui-icon-checkbox-undetermined:hover  { background-position:-20px -20px; width:16px; height:16px;}
.matrix-ui-icon-checkbox-checked:hover { background-position:-40px -20px; width:16px; height:16px;}

/* sprites row 3 */
.matrix-ui-icon-tick { background-position:0 -40px; width:16px; height:16px;}
.matrix-ui-icon-cross { background-position:-20px -40px; width:16px; height:16px;}
.matrix-ui-icon-cross2 { background-position:-40px -40px; width:16px; height:16px;}
.matrix-ui-icon-cross2.hidden { background-position:-80px -20px; width:16px; height:16px;} /*maps to a blank section of the sprite */
.matrix-ui-icon-crossgrey { background-position:-60px -40px; width:16px; height:16px;}
.matrix-ui-icon-share { background-position:-77px -40px; width:16px; height:16px;}

/* sprites row 4 */
.matrix-ui-icon-collapse { background-position:0 -60px; width:16px; height:16px;}
.matrix-ui-icon-expand { background-position:-20px -60px; width:16px; height:16px;}
.matrix-ui-icon-plus { background-position:-39px -59px; width:16px; height:16px;}
.matrix-ui-icon-minus { background-position:-59px -59px; width:16px; height:16px;}
.matrix-ui-icon-downarrow { background-position:-80px -59px; width:16px; height:16px;}

/* sprites row 5 */
.matrix-ui-icon-arrow-move-top {background-position:0 -104px; width:19px; height:20px;}
.matrix-ui-icon-arrow-move-up {background-position:-20px -101px; width:19px; height:20px;}
.matrix-ui-icon-arrow-move-down {background-position:-40px -104px; width:19px; height:20px;}
.matrix-ui-icon-arrow-move-bottom {background-position:-60px -104px; width:19px; height:20px;}
.matrix-ui-icon-add-favourite {background-position:-80px -80px; width:20px; height:20px;}

/* ------------------- ERROR DISPLAY ------------------- */
/* Taken from brochureData as this is what was being used to display errors on the grid page. */

#modalMask {
    background-color: #000000;
    display: none;
    left: 0;
    position: absolute;
    top: 0;
    z-index: 9000000;
}

#errordiv {
	display:none;
	z-index:9999999;
	padding:10px 10px 20px 10px;
	color:#404040;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
    background: none repeat scroll 0 0 #EBF3FB;
	width:550px;
	border: 1px solid #8CA9C7;
}

#errordiv a.close {
	float: right;
}

#errordiv label {
	font-weight:bold;
	padding:2px;
	margin-right:2px;
}

#errordiv ul {
	list-style:none;
	padding:0;
}


#errordiv fieldset {
	background:url("/images/gradient2.png") repeat-y scroll right top #FFFFFF;
	border:1px solid #D6E5F6;
	padding:10px 0;
	margin-bottom:2px;
}

#errordiv fieldset legend {
	border-top:solid 1px #D3D3D3;
	border-left:solid 1px #D3D3D3;
	border-right:solid 1px #D3D3D3;
	font-weight:lighter;
	color: #003479;
	font-size: 12px;
	margin:0 5px 0 5px;
	padding:2px 5px 2px 5px;
	background-color:#EBF3FB;
}

#errordiv fieldset p
{
    min-height:45px;
	max-height:300px;
	overflow:auto;
	padding:0 10px;
	line-height:1.2;
}

#errordiv cite {
	font-size:11px;
}

/* Homepage loading issue */
#loadingIssue {
    width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -50px;
    font-size: 12px;
}
#loadingIssue td {
    padding: 10px;
}
#loadingIssue a {
    text-decoration: underline;
}
#loadingIssueTitle {
    color: #3597D3;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}
#loadingIssueMessage {
    color: #000;
    line-height: 140%;
}

/* ------------------- END ERROR DISPLAY ------------------- */
