/*************************************************************************
	Workplace Giving / Design Culture
	MODULE: 	calculator.css
	PURPOSE:	Rules for the calculator
*************************************************************************/

/* Auto float clearing for compliant browsers
*************************************************************************/
.clearfix:after,
#calculator .panel:after {
	content: ".";
	height:0;
	display:block;
	clear:both;
	visibility:hidden;
}
/* Main wrapper
*************************************************************************/
#calculator {
	width:718px;
	margin:0 auto;
	background:#FFF url(img/bg-calc-topandmid.png) center top repeat-y;
}
#calculator i {
	display:block;
	height:15px;
	margin:0 0 10px;
	font-size:0;
	background:#FFF url(img/bg-calc-topandmid.png) left top no-repeat;
}
/* Step 1 - Text
*************************************************************************/
#calculator #step1 {
	width:638px;
	padding:0 40px;
}
#calculator #step1 h1 {
	text-align:center;
	margin:0 0 15px 0;
}
#calculator #step1 p {
	text-align:center;
	line-height:normal;
}
/* Step 1 - Main Form / Input
*************************************************************************/
#calculator #step1 .left {
	float:left;
	width:228px;
	margin:0 0 20px 0;
}
#calculator #step1 .right {
	float:right;
	width:392px;
	margin:0 0 20px 0;	
}
#calculator #step1 .left label,
#calculator #step1 fieldset p {
	display:block;
	margin:0 0 10px 0;
	padding:0;
	font-weight:bold;
	font-size:1.4em;
	line-height:1.4em;
	text-align:left;
	color:#666;	
}
#calculator #step1 .left label {

}
#calculator #step1 .left span {
	display:block;
	width:148px;
	height:30px;
	padding:10px 40px;
	background:url(img/bg-calc-mainfield.png) -282px top no-repeat;
}
#calculator #step1 .left input {
	width:148px;
	height:30px;
	padding:0;
	margin:0;
	border:none;
	font: bold 2em/30px Tahoma,Arial,"Helvetica Neue","Helvetica",sans-serif;
	vertical-align:middle;
	color:#333;
	outline:none;
}
/* Step 1 - Main Form / Grey total received bar
*************************************************************************/
#calculator #calc-receiveamount {
	width:372px;
	height:50px;
	padding:0 10px;
	text-align:right;
	background:#CCC url(img/bg-calc-mainfield.png) -528px bottom no-repeat;	
}
#calculator #calc-receiveamount span {
	display:inline-block;
	height:50px;
	padding:0 7px;
	color:#333;
	background:#CCC url(img/bg-calc-mainfield.png) right bottom no-repeat;
	font: bold 2.3em/50px Tahoma,Arial,"Helvetica Neue","Helvetica",sans-serif;
	text-shadow: 1px 1px 1px #EEE;
}
/* Step 1 - Main Form / Radios + Button
*************************************************************************/
#calculator #step1 fieldset {
	padding:20px 0;
}
#calculator #step1 input.radio {
	float:left;
	display:block;
	background:none;
	width:auto;
	border:none;
	padding:0;
	margin:13px 0 0 0;
	cursor:pointer;
}
#calculator #step1 #taxbandlabel {
	display:block;
	clear:none;
	float:left;
	width:auto;
	border:none;
	margin:10px 30px 0 5px;
	line-height:normal;
	font-weight:bold;
	font-size:1em;
	line-height:normal;	
}
#calculator #step1 label.radio {
	display:block;
	clear:none;
	float:left;
	width:auto;
	border:none;
	margin:10px 30px 0 5px;
	line-height:normal;
	cursor:pointer;
}
#calculator #step1 label.radio strong {
	display:block;
}
#calculator #step1 button {
	color:#FFF;
	background:#0086C5 url(img/bg-button-calc3.png) no-repeat;
	width:195px;
	height:45px;
	padding:0 0 5px 0;
	-khtml-border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	float:right;
	position:relative;
	font-size:1.3em;
}
#calculator #step1 small {
	display:block;
	clear:both;
	width:400px;
	font-size:0.9em;
	font-weight:normal;
	line-height:normal;
}
/* Wage Calc - Mid Div
*************************************************************************/
#calc-wagecalc {
	width:718px;
	color:#FFF;
	border-top:2px solid #CCC;
	background:#D70C8C url(img/bg-calc-topandmid.png) right top repeat-y;
}
#calc-wagecalc div.wrap {
	padding:30px 40px;
	background:url(img/bg-calc-bottom.png) left bottom no-repeat;
}
#calc-wagecalc div.altbg {
	background:none;
}
#calc-wagecalc p {
	font-size:1.2em;
	font-weight:bold;
	line-height:1.4em;
	width:400px;
	float:left;
	margin:0;
}
#calc-wagecalc #calc-tellmerate,
#calc-wagecalc #calc-tellmerate:visited {
	float:right;
	display:block;
	position:relative;
	width:175px;
	color:#FFF;
	background:#970862;
	padding:6px 10px;
	margin:0;
	-khtml-border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	cursor:pointer;
}
#calc-wagecalc #calc-tellmerate b {
	position:absolute;
	right:10px;
	top:50%;
	width:18px;
	height:20px;
	margin-top:-10px;
	display:block;
	background:url(img/bg-sprites.png) -112px -74px no-repeat;	
	font-size:0;
}
#calc-wagecalc #calc-tellmerate:hover,
#calc-wagecalc #calc-tellmerate:visited:hover {
	color:#D70C8C;
	background:#FFF;
}
#calc-wagecalc #calc-tellmerate:hover b,
#calc-wagecalc #calc-tellmerate:visited:hover b,
#calc-wagecalc #calc-tellmerate.iehover b,
#calc-wagecalc #calc-tellmerate.iehover:visited b {
	background-position:-112px -94px;	
}

/* Step 2
*************************************************************************/
#calculator #step2 {
	display:none;
	width:718px;
	color:#FFF;
	border-top:2px solid #CCC;	
	background:#D70C8C url(img/bg-calc-topandmid.png) right top repeat-y;
}
#calculator #step2 div.wrap {
	padding:30px 40px;
	background:url(img/bg-calc-bottom.png) right bottom no-repeat;
}
#calculator #step2 p {
	font-size:1.2em;
	font-weight:bold;
	line-height:1.4em;
	margin:0 0 10px 0;
}
/* Step 2 - Form stuff
*************************************************************************/
#calculator #step2 fieldset {
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	background:#B70A77 url(img/bg-calc-bigarrow.png) right center no-repeat;
	min-height:100px;
	margin:20px 0 0;
	padding:20px;
}
#calculator #step2 .left {
	width:380px;
	text-align:left;	
}
#calculator #step2 .right {
	width:210px;
	text-align:left;
}
/*** Consistent font size for heading elements ***/
#calculator #step2 .left label,
#calculator #step2 .left h3,
#calculator #step2 .right h3 {
	font-size:1.6em;
	line-height:1.4em;
	padding:0;
	margin:0;
}
#calculator #step2 label {
	color:#FFF;
}
#calculator #step2 .left span {
	display:block;
	width:212px;
	height:30px;
	padding:10px 30px 10px 40px;
	margin:10px 0 0;
	background:url(img/bg-calc-mainfield.png) 0 center no-repeat;
}
#calculator #step2 .left input {
	width:150px;
	height:30px;
	padding:0;
	margin:0;
	border:none;
	font: bold 2em/30px Tahoma,Arial,"Helvetica Neue","Helvetica",sans-serif;
	vertical-align:middle;
	color:#333;
	outline:none;
}
#calculator #step2 button {
	color:#FFF;
	background:#0086C5 url(img/bg-button-calc2b.png) no-repeat;
	width:150px;
	height:36px;
	padding:0 0 5px 0;
	float:none;
	-khtml-border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	font-size:1.2em;
}
#calculator #calc-hourlyrate,
#calculator #calc-monthlyrate {
	font-size:2.2em;
	font-weight:bold;
	line-height:1em;
	color:#FFF0C6;
	margin:5px 0;
	background:none;
	padding:0;
	border:none;
	vertical-align:top;
}
#calculator #calc-hourlyrate input,
#calculator #calc-monthlyrate input {
	color:#FFF0C6;
	margin:0;
	background:#9C0965;
	padding:0;
	border:none;
	width:170px;
	font-weight:bold;	
	vertical-align:top;	
}

/* Step 2 - 3 column form
*************************************************************************/
#calculator #step2 .left table {
	width:100%;
	border:none;
	border-collapse: collapse;
	font-size:1.25em;
}
#calculator #step2 .left table td {
	width:25%;
	border:none;
	text-align:left;
	vertical-align: top;
}
#calculator #step2 .left table td strong {
	display:block;
	color:#FFF0C6;
}
/* Step 2 - Slider
// Picks up all default jQueryUI base styles first of all
*************************************************************************/
#calculator #calc-slider {
	width:330px;
	padding:15px 0;
}
#calculator #slider {
	margin-bottom:10px;
}
#calculator .ui-slider-horizontal {
	height:5px;
	font-size:0;
	top:4px;
	border:none !important;
	background:#333;
	-khtml-border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;	
}
#calculator #slider .ui-slider-handle {
	background:#0086C5 url(img/bg-calc-slidethumb.png) no-repeat;
	border:none;
	width:20px;
	height:20px;
	margin-left:-10px;
	top:-8px;
	-khtml-border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
}
#calculator #step2 #calc-slider span {
	background:none;
	height:auto;
	width:50px;
	padding:0;
	float:left;
}
#calculator #step2 #calc-slider span.min {
	text-align:left;
}
#calculator #step2 #calc-slider span.max {
	text-align:right;
}
#calculator #step2 #calc-slider input {
	color:#FFF;
	background:none;
	border:none;
	padding:0;
	height:auto;
	width:230px;
	text-align:center;
	float:left;
	font-size:1em;
	font-weight:bold;
	line-height:1em;
	margin:10px 0 0 0;	
}


/* Step 2 - Summary table end of page
*************************************************************************/
#calculator #calc-summary {
	width:100%;
	border:none;
	border-collapse: collapse;
	font-size:1em;
	margin:30px 0 0;
}
#calculator #calc-summary th {
	width:33%;
	border:none;
	text-align:center;
	vertical-align: top;
	padding:0 30px 10px;
}
#calculator #calc-summary th strong {
	font-size:2em;
}
#calculator #calc-summary td {
	width:33%;
	color:#FFF0C6;
	text-align:center;
	vertical-align: top;
	font-size:1.4em;	
}

