/* ------------------------------------------------------------------
  Filename:        savings-calc.css
  Author:          AKQA
  Description:     Savings calculator styling
  ------------------------------------------------------------------- */


/* Calculator general styling */

div.offer.savingsCalc {
	background: none;
	height: auto;
}
div#calculator {
	background: #fff1b8 url('/library/default/images/common/calculator/bg-top.jpg') no-repeat 0 0;
	padding: 13px 0 0;
}
div#calculator h3 {
	background: transparent url('/library/default/images/common/calculator/h-savings-calculator.gif') no-repeat 10px 0;
	display: block;
	height: 20px;
	text-indent: -9999em;
	width: 180px;
}
div#calculator div.spacer {
	margin-bottom: 10px;
}
div#calculator div.btnCalcSF a:hover {
	text-decoration: underline;
}

/* Calculator tabs */

ul#calculationType {
	overflow: hidden;
	padding: 10px 0 0;
	width: 100%;
}
ul#calculationType li {
	display: inline;
	float: left;
	margin-left: 10px;
	height: 33px;
	padding: 0;
	width: 94px;
}
ul#calculationType li a {
	background: url('/library/default/images/common/calculator/tabs.png') no-repeat 0 0;
	display: block;
	height: 100%;
	text-indent: -999em;
	width: 100%;
}
ul#calculationType li.time a { background-position: 0 0; }
ul#calculationType li.totalamount a { background-position: -94px 0; }
ul#calculationType li.time a:hover { background-position: 0 -33px; }
ul#calculationType li.totalamount a:hover { background-position: -94px -33px; }
ul#calculationType li.time a.on { background-position: 0 -66px; }
ul#calculationType li.totalamount a.on { background-position: -94px -66px; }
ul#calculationType li.time a:hover.on { background-position: 0 -66px; }
ul#calculationType li.totalamount a:hover.on { background-position: -94px -66px; }


/* Calculator form */

div#calculator form {
	background: #fff1b8 url('/library/default/images/common/calculator/bg-form.jpg') no-repeat 0 0;
	border: 1px solid #eabfc3;
	padding: 15px 10px 10px;
}
div#calculator label,
div#calculator .label {
	color: #000;
	clear: left;
	display: inline;
	float: left;
	font-weight: normal;
	padding: 3px 3px 0 0;
	vertical-align: top;
}
div#calculator input,
div#calculator select {
	border-width: 1px;
	border-style: solid;
	border-color: #999999;
	font-family: inherit;
	font-size: 1em;
	vertical-align: top;
}
div#calculator input {
	padding: 2px;
	width: 55px;
}
div#calculator select {
	padding: 1px 0px;
	width: 105px;
}
div#calculator div#period select {
	width: 40px;
}
div#calculator div#period label {
	display: inline-block;
	float: none;
	padding-right: 0;
}
div#calculator div#goal {
	display: inline;
	float: left;
}
div#calculator div.field {
	float: right;
}
div#calculator div#period div.field {
	text-align: right;
	width: 85px;
	clear: right;
}
div#calculator div.btnRounded {
	margin: 0;
}
div#calculator div.btnRounded a {
	font-weight: bold;
}
div#calculator div.formField {
	margin: 0 0 10px 0;
}


/* Calculator errors */

div#calculator div.calcErrors {
	background:#fffdf4;
	border:1px solid #c01a32;
	clear:both;
	color:#c01a32;
	font-weight:bold;
	margin-bottom:10px;
	padding:12px 10px 2px;
}
div#calculator div.calcErrors p {
	margin-bottom:0px;
	padding-bottom:10px;
	width:100%;
}
div#calculator label.error {
	color:#c01a32;
	font-weight:bold;
}
div#calculator input.error,
div#calculator select.error {
	border-color: #c01a32;
}


/* Calculator results */

div#calculator div.calcResults {
	background: #f8f8f8;
	border: 1px solid #fbd85b;
	clear: both;
	margin-top: 10px;
	padding: 10px;
}
div#calculator div.calcResults p {
	font-size: 1.2em;
	margin-bottom: 0;
	width: auto;
}
div#calculator div.calcResults strong {
	color:#f26334;
}
