/* Forms CSS for Peter Alexander */



/* form layout & styles
***************************************/

form {
	margin: 0;
}

form .mandatory {
	text-align: right;
	margin-bottom: -1em;
	_margin: 0;
}

form .mandatory em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
}

fieldset legend {
	color: white;
	padding: 0.4em;
	_padding-top: 0;
	font-size: 130%;
	font-weight: bold;
	*background: #191919;
}


fieldset {
	margin: 0 0 20px 0;
	padding: 15px 20px;
	*padding-top: 0;
	border: dashed 1px #666;
	background: #191919;
}

fieldset ul {
	margin: 0;
	padding: 0;
}
	
fieldset li {
	list-style: none;
	padding: 0.3em 0.35em;
	margin: 0;
}

form label em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
}

form small {
	font-size: 85%;
	color: #999;
	margin: 0.3em 0.5em 0 18em;
	display: block;
}

form .info {
	color: #878686;
	display: block;
	margin: 0.1em 0 0 14.9em;
	font-size: 90%;
}

form label {
	width: 15em;
	display: inline-block;
	vertical-align: top;
	padding-bottom: 0.2em;
	cursor: text;
}

form label.after,
form label.outside {
	width: auto;
	margin-right: 0.2em;
	cursor: pointer;
}



/* Buttons
****************************************/
/* Note: Buttons must be before input styles as IE seems to confuse the two */

.button {
	cursor: pointer;
	margin: 0 0 1em 0;
	background: #c7c7c7 url(/images/global/button.gif) no-repeat;
	width: 117px;
	height: 25px;
	border: none;
	padding: 0;
	color: black;
	text-align: center;
}

a.button {
	padding-top: 4px;
	height: 21px;
	display: block;
}

.button.short {
	width: 62px;
	background: #c7c7c7 url(/images/global/button_short.gif) no-repeat;
	margin-bottom: 0;
}

.button.submit {
	margin-left: 220px;
	float: left;
	background: #e8ae13 url(/images/global/button_important.gif) no-repeat;
}

.button.cancel {
	margin-left: 1em;
	float: left;
}

.button:hover,
.button:focus,
.button:active {
	background: #e2e2e2 url(/images/global/button.gif) no-repeat 0px -25px;
	*background: #c7c7c7 url(/images/global/button.gif) no-repeat;; /* fix IE6 peekaboo bug */
	border: none;
	outline: none;
	color: #404040;
	text-decoration: none;
}

.short:hover,
.short:focus,
.short:active {
	background: #e2e2e2 url(/images/global/button_short.gif) no-repeat 0px -25px;
	*background: #c7c7c7 url(/images/global/button_short.gif) no-repeat;; /* fix IE6 peekaboo bug */
}


.button.submit:hover,
.button.submit:focus,
.button.submit:active {
	background: #f7e35b url(/images/global/button_important.gif) no-repeat 0px -25px;
	color: #6f5b2a;
}

.button.disabled {
	border: none;
	outline: none;
	cursor: not-allowed;
	text-decoration: line-through;
	color: #777;
}

.button.disabled:hover,
.button.disabled:focus,
.button.disabled:active {
	background: #e2e2e2 url(/images/global/button.gif) no-repeat 0px 0px;
	*background: #c7c7c7 url(/images/global/button.gif) no-repeat;; /* fix IE6 peekaboo bug */
}

button.submit.disabled { color: #777; }

.button.submit.disabled:hover,
.button.submit.disabled:focus,
.button.submit.disabled:active { background: #f7e35b url(/images/global/button_important.gif) no-repeat 0px 0px; color: #777; }





/* Inputs
****************************************/

form input.box,
form select,
form textarea {
	border: solid 1px #666;
	background: #f3f3f3;
}
form input.box { height: 1.4em; }
form textarea { height:7em; width: 95%; }


form input.focus,
form input:focus,
form textarea:focus,
form select:focus { 
	background: #fce7a7;
	border: solid 1px #e9b638;
}


form input.address1 {
	border-bottom: none;
}
form input.address2 {
	border-bottom: none;
	border-top: dashed 1px #a2a2a2;
	margin: -2px 0 0 15.3em;
}
form input.address3 {
	border-top: dashed 1px #a2a2a2;
	margin: -2px 0 0 15.3em;
}

form input.disabled {
	/*background: #272727;
	border: dotted 1px #3f3f3f;
	color: #5a5a5a;*/
	cursor: default;
}








/* Error styles
******************************************/

.interworld_error {
	color: red;
	/*margin: 0 1em 0 1em;*/
}

p.interworld_error {
	color: red;
	text-align: left;
	font-size: 100%;
}

.interworld_error li {
	color: red;
	margin-left: 3em;
}



form fieldset input.error,
form fieldset textarea.error,
form fieldset select.error {
	border: 1px solid #ff9a9a;
	background: #fcf1f1;
}

form label.error {
	margin-left: 0;
	color: red;
	display: block; 
	clear: both;
	width: auto;
	margin-top: -0.2em;
	line-height: 1.3em;
	border: none;
}

form dd label.error {
	clear: none;
	display: inline;
	padding-left: 1em;
}

form fieldset label.error {
	margin-left: 15.3em;
	margin-top: 0.3em;
}




/* Label over styles (ie. date)
********************************************/
form .date-input {
	
}

form .date-input .date-part {
	position: relative;
}

form .date-input .date-part.part1 {
	*margin-left: -4px;
}

form .date-input .sublabel {
	width: auto;
	position: absolute;
	color: #AAA;
	margin: 0 0 0 0.7em;
	*margin: 0.2em 0 0 0.9em;
	z-index: 1;
	top: 0;
	left: 0;
	*top: auto;
	*left: auto;
}

form .date-input input {
	margin-right: 1em;
	z-index: 0;
}

form .date-input .separator {
	margin-right: 0.5em;
	color: #444;
}




/* IE slight position fix for radio buttons on register form */

#SMSyes, #emailYes {
	*margin-left: -4px;
}

/* IE 7 positioning fix of submit button on Converter form */
.buttonarea {
	height: 26px;
	left: 0px;
}
.buttonarea .submit {
	float: none;
}





