/*************************************************************************
	Northstar Energy
	Developed by Peter Lewis - Twobelowzero (c) 2009
	MODULE:  	forms.css
	PURPOSE:	Form rules for website
*************************************************************************/

/* ###############   FORMS - GENERAL   ############### */
form {
	margin:0 0 15px;
}
legend {
	display:none;
}
input,
textarea,
select {
	background-color:#FFF;
	border:1px solid #0076C0;
	color:#0076C0;
	float:left;
	font: normal 0.8em/1.5em Arial,"Helvetica Neue",Helvetica,sans-serif;
	margin-bottom:5px;
	padding:2px 3px 4px;
	width:250px;
	position:block;
}
select {
	width:259px;
	padding:1px;
}
input:hover,
textarea:hover {
	border:1px solid #F47321;
}
input:focus,
textarea:focus {
	background-color: #EBF9FD;
}
textarea {
	font: normal 0.8em/1.5em Arial,"Helvetica Neue",Helvetica,sans-serif;
	padding-top:1px;
}
label {
	clear:both;
	float:left;
	font-size:0.8em;
	font-weight:bold;
	width:120px;
	margin: 3px 10px 0 0;
	padding:0;
	text-align:right;
	color:#0076C0;
}
button {
	background:none;
	border:none;
	height:33px;
	margin:5px 136px 0 0;
	overflow:hidden;
	padding:0;
	text-align:center;
	white-space:nowrap;
	width:auto;
	display:inline;
	margin:5px 20px 0 47px;
}
button span,
button em {
	height:33px;
	line-height:20px;
	margin:0;
	padding:0;
	color:#008265;
	font-weight:bold;
	font-style:normal;
	text-transform:uppercase;
}
button span, button em {
	display:block;
}
button span {
	background:#CCDF65 url(/themes/site_themes/nstar/images/button.png) no-repeat scroll left top;
	padding-left:19px;
}
button em {
	background:transparent url(/themes/site_themes/nstar/images/button.png) no-repeat scroll right top;
	font: bold 1.1em/1.5em Arial,"Helvetica Neue",Helvetica,sans-serif;
	padding:5px 20px 0 0;
}
button:hover span {
	background:transparent url(/themes/site_themes/nstar/images/button.png) no-repeat scroll left bottom;
}
button:hover em {
	background:transparent url(/themes/site_themes/nstar/images/button.png) no-repeat scroll right -33px;
	color:#FFF;
}
button:active,
button:focus {
	outline: none;
	-moz-outline-style: none;
}
button.disabled {
	cursor: default;
}
button.disabled:hover span {
	background:#CCDF65 url(/themes/site_themes/nstar/images/button.png) no-repeat scroll left top;
}
button.disabled:hover em {
	background:transparent url(/themes/site_themes/nstar/images/button.png) no-repeat scroll right -33px;
}

form a {
	clear:both;
	float:left;
	margin:10px 0 0 130px;
	width:130px;
}
form p {
	clear:both;
	display:block;
	margin:0;
	width:100%;
}
#captcha-question {
	margin:10px 0 5px 130px;
	padding:10px 0 0;
}


/* ###############   CONSULTATION   ############### */
#consultation-form #interest {
	height:40px;
}


/* ###############   SURVEY   ############### */
#coda-slider, #coda-slider .panel { width: 528px }
#survey-form { clear: both; overflow: auto }
#coda-slider { float: left; overflow: hidden; position: relative }
#coda-slider .panel { display: block; float: left }
#coda-slider .panel-container { position: relative }

#survey-form {
	overflow:hidden;
}
#survey-form legend {
	color:#0076C0;
	display:block;
	font-style:italic;
	font-weight:bold;
	margin:0 0 5px;
}
#survey-form button.coda-nav-left {
	margin:10px 50px 0 0;
}
#survey-form button.coda-nav-right {
	float:right;
	margin:10px 0 0;
}
#survey-form input {
	width:12px;
	margin-left:10px;
	float:none;
}
#survey-form label {
	width:150px;
	cursor:pointer;
	font-weight:normal;
}
#survey-form #user-details input {
	float:left;
	margin:0 0 5px;
	width:250px;
}
#survey-form label:hover {
	color:#F37321;
}
#survey-form label.question,
#survey-form label.other {
	clear:both;
	display:block;
	float:none;
	text-align:left;
	width:280px;
	cursor:auto;
}
#survey-form label.question:hover,
#survey-form label.other:hover {
	color:#0076C0;
}
#survey-form label.other {
	margin:3px 0 3px 136px;
}
#survey-form input.other,
#survey-form input.text-entry {
	width:250px;
	margin-left:136px;
	margin-right:5px;
}
#survey-form #final-panel textarea {
	margin-left:130px
}
#survey-form #final-panel label {
	width:380px;
}
#survey-form #captcha {
	margin-left:0;
}
#survey-form #final-panel #captcha-label {
	width:120px;
}
#survey-form #final-panel button {
	margin:10px 0 0 0;
	float:right;
}
#survey-form #final-panel .coda-nav-left {
	float:left;
}
#survey-form #final-panel a {
	clear:none;
	margin:18px 0 0 0;
	text-align:right;
	width:180px;
}
#survey-form label.question {
	padding:15px 0 0 0;
	margin:0;
	width:450px;
	font-weight:bold;
}
#survey-form .coda-nav-left,
#survey-form .coda-nav-right {
	display:none;
}
#survey-form .controls {
	clear:both;
	display:block;
	margin-bottom:30px;
	width:100%;
}
#survey-form #captcha-question {
	margin-left:0;
}


/* ###############   VALIDATION   ############### */

form label.error {
	color:red;
	font-size:0.8em;
	font-weight:normal;
	margin:0 0 5px 68px;
	width:320px;
	clear:both;
	float:none;
	display:block;
}
#content p.error {
	color:red;
	margin-top:20px;
}
#survey-form label.error {
	width:350px;
}
#survey-form #final-panel label.error {
	width:320px;
}
form input.error,
form textarea.error,
form select.error {
	border:1px solid red;
	margin-bottom:0;
}
.form-success {
	clear:both;
	display:none;
	color:#0D72B9;
	font-weight:bold;
}
.form-success {
	text-align:center;
	margin:50px 0 30px;
}