/* Forms CSS for Smiggle */

/*@import "/css/nineslice.css";*/

/* form layout & styles
***************************************/

form {
	margin: 0;
}

form .mandatory {
	text-align: right;
	margin-bottom: -1em;
	*margin: 0;
	position:relative;
	z-index:4000;
}

form .mandatory em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
}

fieldset legend {
	color: #4c5054;
	padding: 0.2em 0.5em;
	_padding-top: 0;
	font-size: 110%;
	font-weight: bold;
	background: white;
	border: solid 1px #dcdee2;
	border-top: none;
	position:relative;
	/* Gecko ignores this, but IE moves the legend up accordingly */
	top: -1em;
}

fieldset {
	margin: 0 0 20px 0;
	padding: 15px 20px;
	*padding-top: 0;
	border: solid 1px #dcdee2;
	background: #f2f2f8;
	position:relative;
	font-family:Verdana, Helvetica, sans-serif;
}

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 18.2em;
	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;
	color: #666;
}

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: #eaeaea url(/images/global/button.gif) no-repeat;
	width: 117px;
	height: 25px;
	border: none;
	padding: 0;
	color: #5c5c5c;
	text-align: center;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

a.button {
	padding-top: 4px;
	height: 21px;
	display: block;
}

.button.submit {
	margin-left: 220px;
	float: left;
	background: #275483 url(/images/global/button_important.gif) no-repeat;
	color: #d0ddea;
}

.button.cancel {
	margin-left: 1em;
	float: left;
}

.button:hover,
.button:focus,
.button:active {
	background: #e1e9f5 url(/images/global/button.gif) no-repeat 0px -25px;
	border: none;
	outline: none;
	color: black;
	text-decoration: none;
}

.button.submit:hover,
.button.submit:focus,
.button.submit:active {
	background: #0a4f97 url(/images/global/button_important.gif) no-repeat 0px -25px;
	color: white;
}

.button.disabled,
.button.disabled:hover,
.button.disabled:focus,
.button.disabled:active {
	border: dashed 1px #CCC;
	cursor: default;
	color: #AAA;
	background: white;
}





/* Inputs
****************************************/

form input.box,
form select,
form textarea {
	border: solid 1px #b4bdcc;
	background: white url(/images/global/form_input_bg.gif) top repeat-x;
}
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: #dfe3f1 url(/images/global/form_input_bg_active.jpg) bottom repeat-x;
	border: solid 1px #9ab6e5;
}


form input.address1 {
	border-bottom: none;
	margin-left: -1px;
}

form input.gift-detail-fix {
	margin-left:0px;
}

form input.address2 {
	border-bottom: none;
	border-top: dashed 1px #b4bdcc;
	margin: -2px 0 0 15.3em;
}
form input.address3 {
	border-top: dashed 1px #b4bdcc;
	margin: -2px 0 0 15.3em;
}

form input.disabled {
	cursor: default;
}








/* Error styles
******************************************/

.interworld_error {
	color: red;
	/*margin: 0 1em 0 1em;*/
}

p.interworld_error {
	color: red;
	text-align: left;
	font-size: 100%;
	.margin-bottom:2em;
}

.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: #fedede url(/images/global/form_input_bg_error.jpg) bottom repeat-x;
}

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;
}*/


span.over {
	position: relative;
	float: left;
	width: 4em;
}

span.over span {
	position: absolute;
	top: 0;
}

label.pre {
	margin-left: 1em;
	_width: 2em;
}

label.over { 
	color: #999;
	position: absolute;
	top: 0;
	left: 0.7em;
	margin-left: 0;
}

input.under {
	margin: 0 0.8em 0 0.4em;
	_margin: 0 0.6em;
}

.under.blur {
		color:#BBB;
}





/* 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;
}*/

/* Webkit (Safari/Chrome) fixes */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	fieldset legend {
		top:0em;
	}
}




