
/* Overlay Style Set
 * @author	Michael T. Smith
 * @email	msmith@mcdpartners.com
 * @date	2008-June
 * @descrip	These are template styles for all overlays
 *			including Obtrusive and Regular overlays.
 ***************************/

/*
 * Obtrusive Overlay Styles
 ***************************/
 
#backdrop {
	background-color: #000000;
	display: none;
	filter: alpha(opacity = 60);
	height: 5000px;
	left: 0;
	opacity: 0.60;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1000;
}

#backdrop.show {
	display: block !important;
}

html.in-obtrusive,
body.in-obtrusive {
	height: 100%;
	position: relative;
	width: 100%;
	overflow: hidden;
}

body.in-obtrusive * select {
	visibility: hidden;
}


/*
 * Obtrusive Overlay Templates
 ******************************/

	
div.obtrusive-small,
div.obtrusive-medium,
div.obtrusive-large,
div.obtrusive-xlarge {
	position: absolute;
	left: 23%;
	top: 10%;
	z-index: 3000;
	line-height: 1;
}

div.obtrusive-small			{ width: 25.0em; }
div.obtrusive-medium		{ width: 45.0em; }
div.obtrusive-large			{ width: 60.0em; }
div.obtrusive-xlarge		{ width: 80.0em; }

div.obtrusive-small div.body,
div.obtrusive-medium div.body,
div.obtrusive-large div.body,
div.obtrusive-xlarge div.body {
	padding-left: 1.5em;
	padding-right: 1.5em;
	padding-top: 1em;
	padding-bottom: 1em;
	clear: both;
	background-color: #FFF;
}

div.obtrusive-small div.body  		{ width: 22.0em; }
div.obtrusive-medium div.body 		{ width: 42.0em; }
div.obtrusive-large div.body  		{ width: 57.0em; }
div.obtrusive-xlarge div.body 		{ width: 77.0em; }

div.obtrusive-small div.body:after,
div.obtrusive-medium div.body:after,
div.obtrusive-large div.body:after,
div.obtrusive-xlarge div.body:after {
	content: "";
	display: block;
	clear: both;
}
	
div.obtrusive-small div.body div.hdr-left,
div.obtrusive-medium div.body div.hdr-left,
div.obtrusive-large div.body div.hdr-left,
div.obtrusive-xlarge div.body div.hdr-left {
	position: absolute;
	top: 0;
	left: 0;
	height: .5em;
	width: .5em;
	background-image: url('/images/obtrusive-hdr-left.gif');
	background-repeat: no-repeat;
	background-position: left top;
}

div.obtrusive-small div.body div.hdr-right,
div.obtrusive-medium div.body div.hdr-right,
div.obtrusive-large div.body div.hdr-right,
div.obtrusive-xlarge div.body div.hdr-right {
	position: absolute;
	top: 0;
	right: 0;
	height: .5em;
	width: .5em;
	background-image: url('/images/obtrusive-hdr-right.gif');
	background-repeat: no-repeat;
	background-position: right top;
}

div.obtrusive-small div.body div.ftr-left,
div.obtrusive-medium div.body div.ftr-left,
div.obtrusive-large div.body div.ftr-left,
div.obtrusive-xlarge div.body div.ftr-left {
	position: absolute;
	bottom: 0;
	left: 0;
	height: .5em;
	width: .5em;
	background-image: url('/images/obtrusive-ftr-left.gif');
	background-repeat: no-repeat;
	background-position: left bottom;
}

div.obtrusive-small div.body div.ftr-right,
div.obtrusive-medium div.body div.ftr-right,
div.obtrusive-large div.body div.ftr-right,
div.obtrusive-xlarge div.body div.ftr-right {
	position: absolute;
	bottom: 0;
	right: 0;
	height: .5em;
	width: .5em;
	background-image: url('/images/obtrusive-ftr-right.gif');
	background-repeat: no-repeat;
	background-position: right bottom;
}

div.obtrusive-small div.body a.close-link,
div.obtrusive-medium div.body a.close-link,
div.obtrusive-large div.body a.close-link,
div.obtrusive-xlarge div.body a.close-link {
	display: block;
	clear: both;
	position: absolute;
	top: 1em;
	right: 1em;
	margin: 0;
	padding-right: 1.3em;
	color: #363d40;
	background-color: transparent;
	background-image: url('/images/close-icon.gif'); 
	background-position: right center;
	background-repeat: no-repeat;
}

div.obtrusive-small div.body h1,
div.obtrusive-medium div.body h1,
div.obtrusive-large div.body h1,
div.obtrusive-xlarge div.body h1 {
	color: #293033;
	font-weight: bold;
}

div.obtrusive-small div.body p,
div.obtrusive-medium div.body p,
div.obtrusive-large div.body p,
div.obtrusive-xlarge div.body p  {
	line-height: 1.3;
}

div.obtrusive-small div.body p.terminator-bar,
div.obtrusive-medium div.body p.terminator-bar,
div.obtrusive-large div.body p.terminator-bar,
div.obtrusive-xlarge div.body p.terminator-bar {
	margin-top: 1em;
}

div.obtrusive-small div.body p.terminator-bar *,
div.obtrusive-medium div.body p.terminator-bar *,
div.obtrusive-large div.body p.terminator-bar *,
div.obtrusive-xlarge div.body p.terminator-bar * {
	vertical-align: middle;
}

div.obtrusive-small div.body p.terminator-bar a,
div.obtrusive-medium div.body p.terminator-bar a,
div.obtrusive-large div.body p.terminator-bar a,
div.obtrusive-xlarge div.body p.terminator-bar a {
	position: relative;
	margin-left: 5px;
}

/*
 * Regular Overlay Templates
 ****************************/
 /* FIXME (MG): Move to layout.css??? */
 .section h3 .overlay-trigger {
 	font-size: .73em;
 }
 
.account-access,
h3 .overlay-trigger,
.marital-status .overlay-trigger {
	font-size: .9em;
	font-weight: normal;
	background: transparent url(/images/icon-overlay.gif) no-repeat left center;
	padding-left: 1.22em;
	margin-left: .5em;
}
p .overlay-trigger {
	font-weight: normal;
	background: transparent url(/images/icon-overlay.gif) no-repeat left center;
	padding-left: 1.22em;
	margin-left: .5em;
}
#security-message .overlay-trigger {
	background	: none;
	padding		: 0em;
	margin		: 0em;
}
h4 .overlay-trigger {
	background: transparent url(/images/icon-overlay.gif) no-repeat left center;
	padding-left: 1.15em;
}

.rate-box .overlay-trigger {
	padding-left: 0;
	background: none;
}

div.overlay-small,
div.overlay-medium,
div.overlay-large,
div.overlay-xlarge {
	position: absolute;
	z-index: 5000;
	line-height: 1;
}

div.overlay-small  { width: 25.0em; }
div.overlay-medium { width: 39.0em; }
div.overlay-large  { width: 48.0em; }
div.overlay-xlarge { width: 63.0em; }

div.overlay-small div.body,
div.overlay-medium div.body,
div.overlay-large div.body,
div.overlay-xlarge div.body {
	border: 1px solid #C0C8CC;
	padding-left: 1.5em;
	padding-right: 1.5em;
	padding-top: 1em;
	padding-bottom: 1em;
	background-color: #FFF;
	clear: both;
}

div.overlay-small div.body  { width: 22.0em; }
div.overlay-medium div.body { width: 36.0em; }
div.overlay-large div.body  { width: 45.0em; }
div.overlay-xlarge div.body { width: 60.0em; }

div.overlay-small div.body div.hdr-left,
div.overlay-medium div.body div.hdr-left,
div.overlay-large div.body div.hdr-left,
div.overlay-xlarge div.body div.hdr-left {
	position: absolute;
	top: 0;
	left: 0;
	height: .6em;
	width: .6em;
	background-image: url('/images/overlay-hdr-left.png');
	background-repeat: no-repeat;
	background-position: left top;
}

div.overlay-small div.body div.hdr-right,
div.overlay-medium div.body div.hdr-right,
div.overlay-large div.body div.hdr-right,
div.overlay-xlarge div.body div.hdr-right {
	position: absolute;
	top: 0;
	right: -2px;
	height: .6em;
	width: .6em;
	background-image: url('/images/overlay-hdr-right.png');
	background-repeat: no-repeat;
	background-position: right top;
}

div.overlay-small div.body div.ftr-left,
div.overlay-medium div.body div.ftr-left,
div.overlay-large div.body div.ftr-left,
div.overlay-xlarge div.body div.ftr-left {
	position: absolute;
	bottom: 0;
	left: 0;
	height: .6em;
	width: .6em;
	background-image: url('/images/overlay-ftr-left.png');
	background-repeat: no-repeat;
	background-position: left bottom;
}

div.overlay-small div.body div.ftr-right,
div.overlay-medium div.body div.ftr-right,
div.overlay-large div.body div.ftr-right,
div.overlay-xlarge div.body div.ftr-right {
	position: absolute;
	bottom: 0;
	right: -2px;
	height: .6em;
	width: .6em;
	background-image: url('/images/overlay-ftr-right.png');
	background-repeat: no-repeat;
	background-position: right bottom;
}

div.overlay-small div.body a.close-link,
div.overlay-medium div.body a.close-link,
div.overlay-large div.body a.close-link,
div.overlay-xlarge div.body a.close-link {
	display: block;
	clear: both;
	position: absolute;
	top: 1em;
	right: 1em;
	margin: 0;
	padding-right: 1.3em;
	color: #363d40;
	background-color: transparent;
	background-image: url('/images/close-icon.gif'); 
	background-position: right center;
	background-repeat: no-repeat;
}

div.overlay-small div.body h1,
div.overlay-medium div.body h1,
div.overlay-large div.body h1,
div.overlay-xlarge div.body h1 {
	font-weight: bold;
}

div.overlay-small div.body p,
div.overlay-medium div.body p,
div.overlay-large div.body p,
div.overlay-xlarge div.body p  {
	line-height: 1.3;
}

/* ----- Typographic Overrides ----- */
div.obtrusive-small h1,
div.obtrusive-medium h1,
div.obtrusive-large h1,
div.obtrusive-xlarge h1,
div.overlay-small h1,
div.overlay-medium h1,
div.overlay-large h1,
div.overlay-xlarge h1  {
	font-size: 1.1em;
	margin-bottom: 1em;
}

div.obtrusive-small h2,
div.obtrusive-medium h2,
div.obtrusive-large h2,
div.obtrusive-xlarge h2,
div.overlay-small h2,
div.overlay-medium h2,
div.overlay-large h2,
div.overlay-xlarge h2  {
	font-size: 1em;
	font-weight: bold;
}

/* ----- Form Style Overrides ----- */
div.obtrusive-small .section,
div.obtrusive-medium .section,
div.obtrusive-large .section,
div.obtrusive-xlarge .section,
div.overlay-small .section,
div.overlay-medium .section,
div.overlay-large .section,
div.overlay-xlarge .section  {
	width: 100%;
	padding: 0;
}

div.obtrusive-small .section h4,
div.obtrusive-medium .section h4,
div.obtrusive-large .section h4,
div.obtrusive-xlarge .section h4,
div.overlay-small .section h4,
div.overlay-medium .section h4,
div.overlay-large .section h4,
div.overlay-xlarge .section  h4 {
	width: 100%;
	float: none;
	margin: 0;
}

/* ----- Form Style Overrides ----- */
div.obtrusive-small .section,
div.obtrusive-medium .section,
div.obtrusive-large .section,
div.obtrusive-xlarge .section,
div.overlay-small .section,
div.overlay-medium .section,
div.overlay-large .section,
div.overlay-xlarge .section  {
	width: 100%;
	padding: 0;
}

div.obtrusive-small .section h4,
div.obtrusive-medium .section h4,
div.obtrusive-large .section h4,
div.obtrusive-xlarge .section h4,
div.overlay-small .section h4,
div.overlay-medium .section h4,
div.overlay-large .section h4,
div.overlay-xlarge .section  h4 {
	width: 100%;
	float: none;
	margin: 0;
}

/*
 * Rate Overlay styling
 *******************************/
div#rate-tooltip {}

div#rate-tooltip h1 {
	margin-bottom: 1em;
}

div#rate-tooltip div.rates:after {
	clear: both;
	display: block;
	content: '';
}
div#rate-tooltip div.rates div.money-market-rates {
	float: left;
	width: 49%;
}
div#rate-tooltip div.rates div.cd-rates {
	float: right;
	width: 49%;
}
div#rate-tooltip div.rates h2 {
	font-size: .92em;
	font-weight: bold;
	color: #293033;
}
div#rate-tooltip div.rates p {
	margin-bottom: 0;
	font-size: .92em;
	color: #293033;
}
div#rate-tooltip div.rates p.note {
	margin-top: .5em;
	margin-bottom: .25em;
	font-size: .85em;
	color: #3D484D;
}
div#rate-tooltip div.rates table {
	width: 100%;
}
div#rate-tooltip div.rates table thead th {
	border-top: 1px solid #707E82;
	border-bottom: 1px solid #FFFFFF;
	background-color: #D4DADC;
	color: #293033;
	font-weight: bold;
	font-size: .92em;
	padding-top: .25em;
	padding-bottom: .25em;
	padding-left: .25em;
}
div#rate-tooltip div.rates table tbody tr td {
	padding-top: .35em;
	padding-bottom: .35em;
	padding-left: .25em;
}

div#rate-tooltip div.rates table tbody tr.odd td {
	background-color: #e9eced;
}
div#rate-tooltip div.rate-notes {
	font-size: .83em;
	color: #3D484D;
	padding-top: 2em;
	clear: both;
}

/* 
 *  Remove rebuttals
 *
 *****************************/
 #remove-ben .section-last,
 #remove-jao .section-last,
 #remove-product .section-last {
 	 	text-align: center;
 }
 
 #remove-ben .button-bar,
 #remove-jao .button-bar,
 #remove-product .button-bar { 
 	padding-top: 1.38em;
 }
 
 #remove-ben h2,
 #remove-jao h2,
 #remove-product h2 {
 	line-height: 1.2;
 }
 
 #remove-ben .button-bar a,
 #remove-jao .button-bar a,
 #remove-product .button-bar a {
 	margin-left:  .54em;
 	margin-right: .54em;
}



/*
 * Calculator Overlay styling
 *******************************/
#earnings-calculator-cap {
	                      background: url(/images/bg-calculator-cap.png) left bottom no-repeat;
	height: 7px;
	width: 739px;	
}

#earnings-calculator-body{
                          /* Fixes a gap when noflash message is displayed */
                          border-top: 1px solid white;
}


#earnings-calculator-foot {
	background: url(/images/bg-calculator-foot.png) left top no-repeat;
	height: 7px;
	width: 739px;	
}
 
#earnings-calculator-obtrusive.obtrusive-xlarge {
	width: 780px;
}

#earnings-calculator-obtrusive .cap {
	background: transparent url(/images/bg-calculator-overlay-cap.gif) left bottom no-repeat;
	width: 780px;
	height: 7px;	
}

#earnings-calculator-obtrusive .foot {
	background: transparent url(/images/bg-calculator-overlay-foot.gif) left top no-repeat;
	width: 780px;
	height: 7px;	
}

#earnings-calculator-obtrusive div.body {
	background-color: #293033;
	color: #ffffff;
	width: 744px;
	margin: 0;
}

#earnings-calculator-obtrusive H1,
#earnings-calculator-obtrusive A {
	color: #ffffff;
}

#earnings-calculator-obtrusive H1,
#earnings-calculator-obtrusive A.close-link {
	font-size: 16px;
}

#earnings-calculator-obtrusive #earnings-calculator-body {
	background-color: #ffffff;
	height: 285px; 
	width: 739px;	
}

#earnings-calculator-obtrusive #earnings-calculator-foot {
	margin: 0 0 20px 0;	
} 
