/**
 * <Poncha.be>
 *
 * Contains all declarations for form elements.
 *
 * @author 			Davy De Pauw <davy@marlon.be>
 * @copyright		Marlon bvba <http://www.marlon.be>
 * @date 			2009-04-01
 * @lastmodified	2009-04-01
 */

/* redefine xhtml selectors
---------------------------------------------------------- */

form {
	margin: 0;
	padding: 0;
}

label {

}

label span {
	float: left;
	width: 300px;
}

fieldset {
	margin: 0;
	padding: 0 0 35px 0;
	zoom: 1;
	border: none;
}

fieldset legend {
	display: none;
}

fieldset.last {
	padding-bottom: 0;
}

input {
}

input, select {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 1em;
}

select {
	padding: 1px 0;
	width: 190px;
	border: 1px inset #c3c3c3;
}

textarea {

}

input.field {
	padding: 3px 8px;
	color: #6589a5;
	border: 1px inset #c3c3c3;
}

/* input field sizes
---------------------------------------------------------- */

.xx-small { width: 20px; }
.x-small { width: 40px; }
.small { width: 100px; }
.medium { width: 200px; }
.large { width: 320px; }
.x-large { width: 40px }
.xx-large { width: 560px; }

.scalable {
	width: 100%;
	min-width: 100px;
	max-width: 960px;
}

.checkbox { 
	float: left;
	display: inline; 
	margin: 4px 2px 0 2px;
	padding: 0;
}

.radio {
	float: left; 
	margin-right: 5px; 
	border: none;
}

textarea {
	margin: 0 0 0 0;
	padding: 3px 8px;
	width: 320px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	border: 1px inset #c3c3c3;
}

/* actions
---------------------------------------------------------- */

.actions {
	position: relative;
	left: -10px;
	padding: 20px 0 0 0;
	clear: both;
	zoom: 1;
}

.static {
	left: 0;
}

.basket .actions {
	left: 0;
}

.actions .next {
	float: right;
}

.actions .right {
	float: right;
}

.actions .center {
	position: absolute;
	left: 218px;
	top: 20px;
}

.col .actions { left: 0; }
.col .actions .center { left: 188px; }

/* generic form
---------------------------------------------------------- */

.form {
	position: relative;
	clear: both;
	zoom: 1;
}

.form h2 {
	margin: 0 0 15px 0;
	font-size: 1.17em;
	color: #e2007a;
}

.form dl {
	position: relative;
	top: 0;
	left: -10px;
	float: left;
	margin: 0;
	padding: 0;
	width: 560px;
	zoom: 1;
	overflow: visible;
}

.form dt {
	position: absolute;
	padding: 5px 10px;
	width: 180px;
	font-weight: bold;
	z-index: 10;
}

.form dt label {
	float: left;
	margin-right: 5px;
}

.form dt span.info {
	position: relative;
	float: left;
	min-width: 50px;
}

.form dd {
	position: relative;
	margin: 0 0 6px 0;
	padding-left: 218px;
	width: 340px;
	zoom: 1;
}

.form dd span {
	float: left;
	border: 2px solid #fff;
}

.form dd span input { float: left; }

.form dd .button span {
	border: none;
}

/* form feedback
---------------------------------------------------------- */

.form .caption {
	padding: 0 0 5px 0;
	width: 550px;
}

.form .caption .error {
	font-weight: bold;
	color: #E2007A;
}

/* form in column
---------------------------------------------------------- */

.form .col dl {
	left: 0;
	width: 530px;
}

.form .col dd {
	padding-left: 188px;
}

.form .col dd.error .errors {
	right: -180px;
	width: 160px;
}

/* payment options
---------------------------------------------------------- */

.payment-options label { font-weight: bold; }
.payment-options label span { width: 175px; }

.payment-options .col-wide {
	position: relative;
	left: -10px;
}

.payment-options ul li {
	float: left;
	margin: 0 0 15px 0;
}

.payment-options ul {
	margin: 0 0 80px 5px;
}

/* required
---------------------------------------------------------- */

.required .indicator {
	float: none;
	width: auto;
	color: #e2007a;	
}

/* focus
---------------------------------------------------------- */

.form dd.focus {
	background: #dff3fc;
}

.form dd.focus span { border-color: #9fc6d7; }

/* errors
---------------------------------------------------------- */

.form dd.error {
	background: #fce5f1;
}
.form dd.error span { border-color: #e2007a; }
.form dt.error { color: #e2007a; }

.form dd.error .errors {
	position: absolute;
	top: 0;
	right: -340px;
	padding: 5px 0;
	width: 320px;
	font-weight: bold;
	text-transform: lowercase;
	color: #e2007a;
	z-index: 15;
}

.form dd.error .errors li {
	padding-left: 0;
	background: none;
}

p.error {
	clear: both;
	font-weight: bold;
	color: #e2007a;	
}

.form dd p.error { padding-left: 2px; }

.discount p.error {
	width: 275px;
	padding-left: 425px;
}

.agreement p.error { margin-left: 17px; }

#errors {
	font-weight: bold;
	color: #e2007a;
}

#errors p { margin: 0 0 10px 0; }

/* help
---------------------------------------------------------- */

.form dd .help {
	position: absolute;
	top: 5px;
	right: -190px;
	width: 160px;
	text-indent: 17px;
	background: url(../img/sprite_icons.png) no-repeat -8px -505px;
}

/* fileupload
---------------------------------------------------------- */

.fileupload {
	position: relative;
	height: 25px;
}

.fileupload .fake {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.fileupload .fake input {
	position: absolute;
	left: 0;
	top: 1px;
	float: left;
	cursor: pointer;
}

.fileupload .fake .button {
	position: absolute;
	left: 225px;
}

.fileupload input.file {
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter: alpha(opacity: 0);
	opacity: 0;
	width: 305px;
	font-size: 14px;
	height: 25px;
	cursor: pointer;
	z-index: 2;	
}

/* ponchabox
---------------------------------------------------------- */

.ponchabox .col-wide {
	width: 550px;
}

.ponchabox .col h2 { padding: 0; }
.ponchabox .col dl { left: -10px; }

.ponchabox .col dd { padding-left: 198px; }

.ponchabox .col-medium {
	
}

.ponchabox .box {
	position: relative;
	top: -70px;
}

.ponchabox .congrats {
	padding: 0;
	height: 180px;
	text-indent: -999em;
	background: url(../img/banner_ponchabox_congrats.png) no-repeat 0 0;
}

.ponchabox .congrats .inner {
	padding: 0;
	height: 100%;
}


/* datepicker
---------------------------------------------------------- */
/**
 * <Poncha.be>
 *
 * Contains all declarations for form elements.
 *
 * @author 			Davy De Pauw <davy@marlon.be>
 * @copyright		Marlon bvba <http://www.marlon.be>
 * @date 			2009-04-01
 * @lastmodified	2009-04-01
 */

/* redefine xhtml selectors
---------------------------------------------------------- */

form {
	margin: 0;
	padding: 0;
}

label {

}

label span {
	float: left;
	width: 300px;
}

fieldset {
	margin: 0;
	padding: 0 0 35px 0;
	zoom: 1;
	border: none;
}

fieldset legend {
	display: none;
}

fieldset.last {
	padding-bottom: 0;
}

input {
}

input, select {
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 1em;
}

select {
	padding: 1px 0;
	width: 190px;
	border: 1px inset #c3c3c3;
}

textarea {

}

input.field {
	padding: 3px 8px;
	color: #6589a5;
	border: 1px inset #c3c3c3;
}

/* input field sizes
---------------------------------------------------------- */

.xx-small { width: 20px; }
.x-small { width: 40px; }
.small { width: 100px; }
.medium { width: 200px; }
.large { width: 320px; }
.x-large { width: 40px }
.xx-large { width: 560px; }

.scalable {
	width: 100%;
	min-width: 100px;
	max-width: 960px;
}

.checkbox { 
	float: left;
	display: inline; 
	margin: 4px 2px 0 2px;
	padding: 0;
}

.radio {
	float: left; 
	margin-right: 5px; 
	border: none;
}

textarea {
	margin: 0 0 0 0;
	padding: 3px 8px;
	width: 320px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	border: 1px inset #c3c3c3;
}

/* actions
---------------------------------------------------------- */

.actions {
	position: relative;
	left: -10px;
	padding: 20px 0 0 0;
	clear: both;
	zoom: 1;
}

.static {
	left: 0;
}

.basket .actions {
	left: 0;
}

.actions .next {
	float: right;
}

.actions .right {
	float: right;
}

.actions .center {
	position: absolute;
	left: 218px;
	top: 20px;
}

.col .actions { left: 0; }
.col .actions .center { left: 188px; }

/* generic form
---------------------------------------------------------- */

.form {
	position: relative;
	clear: both;
	zoom: 1;
}

.form h2 {
	margin: 0 0 15px 0;
	font-size: 1.17em;
	color: #e2007a;
}

.form dl {
	position: relative;
	top: 0;
	left: -10px;
	float: left;
	margin: 0;
	padding: 0;
	width: 560px;
	zoom: 1;
	overflow: visible;
}

.form dt {
	position: absolute;
	padding: 5px 10px;
	width: 180px;
	font-weight: bold;
	z-index: 10;
}

.form dt label {
	float: left;
	margin-right: 5px;
}

.form dt span.info {
	position: relative;
	float: left;
	min-width: 75px;
}

.form dd {
	position: relative;
	margin: 0 0 6px 0;
	padding-left: 218px;
	width: 340px;
	zoom: 1;
}

.form dd span {
	float: left;
	border: 2px solid #fff;
}

.form dd span input { float: left; }

.form dd .button span {
	border: none;
}

.form dd ul li {
	clear: left;
}

/* form feedback
---------------------------------------------------------- */

.form .caption {
	padding: 0 0 5px 0;
	width: 550px;
}

.form .caption .error {
	font-weight: bold;
	color: #E2007A;
}

/* form in column
---------------------------------------------------------- */

.form .col dl {
	left: 0;
	width: 530px;
}

.form .col dd {
	padding-left: 188px;
}

.form .col dd.error .errors {
	right: -180px;
	width: 160px;
}

/* payment options
---------------------------------------------------------- */

.payment-options label { font-weight: bold; }
.payment-options label span { width: 175px; }

.payment-options .col-wide {
	position: relative;
	left: -10px;
}

.payment-options ul li {
	float: left;
	margin: 0 0 15px 0;
}

.payment-options ul {
	margin: 0 0 80px 5px;
}

/* required
---------------------------------------------------------- */

.required .indicator {
	float: none;
	width: auto;
	color: #e2007a;	
}

/* focus
---------------------------------------------------------- */

.form dd.focus {
	background: #dff3fc;
}

.form dd.focus span { border-color: #9fc6d7; }

/* errors
---------------------------------------------------------- */

.form dd.error {
	background: #fce5f1;
}
.form dd.error span { border-color: #e2007a; }
.form dt.error { color: #e2007a; }

.form dd.error .errors {
	position: absolute;
	top: 0;
	right: -340px;
	padding: 5px 0;
	width: 320px;
	font-weight: bold;
	text-transform: lowercase;
	color: #e2007a;
	z-index: 15;
}

p.error {
	clear: both;
	font-weight: bold;
	color: #e2007a;	
}

.form dd p.error { padding-left: 2px; }

.discount p.error {
	width: 275px;
	padding-left: 425px;
}

.agreement p.error { width: 340px; margin-left: 17px; }

/* help
---------------------------------------------------------- */

.form dd .help {
	position: absolute;
	top: 5px;
	right: -190px;
	width: 160px;
	text-indent: 17px;
	background: url(../img/sprite_icons.png) no-repeat -8px -585px;
}

/* fileupload
---------------------------------------------------------- */

.fileupload {
	position: relative;
	height: 25px;
}

.fileupload .fake {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.fileupload .fake input {
	position: absolute;
	left: 0;
	top: 1px;
	float: left;
	cursor: pointer;
}

.fileupload .fake .button {
	position: absolute;
	left: 225px;
}

.fileupload input.file {
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter: alpha(opacity: 0);
	opacity: 0;
	width: 305px;
	font-size: 14px;
	height: 25px;
	cursor: pointer;
	z-index: 2;	
}

/* ponchabox
---------------------------------------------------------- */

.ponchabox .col-wide {
	width: 550px;
}

.ponchabox .col h2 { padding: 0; }
.ponchabox .col dl { left: -10px; }

.ponchabox .col dd { padding-left: 198px; }

.ponchabox .col-medium {
	
}

.ponchabox .box {
	position: relative;
	top: -70px;
}

.ponchabox .congrats {
	padding: 0;
	height: 180px;
	text-indent: -999em;
	background: url(../img/banner_ponchabox_congrats.png) no-repeat 0 0;
}

.ponchabox .congrats .inner {
	padding: 0;
	height: 100%;
}


/* datepicker
---------------------------------------------------------- */

#ui-datepicker-div {
	width: 180px;
	border: 2px solid #6589a5;
}

#ui-datepicker-div td {
	padding: 0;
	text-align: center;
	width: 25px;
	height: 25px;
	font-size: 12px;
	line-height: 25px;
}

.ui-datepicker-control {
	position: absolute;
	top: 0;
	left: 0;
	width: 180px;
}

.ui-datepicker-trigger {
	position: relative;
}

.ui-datepicker-header {
	position: absolute;
	top: 2px;
	left: 22px;
	width: 145px;
}

.ui-datepicker-header select 
{
	width: auto;
	border: 1px solid #6589a5;
}

.ui-datepicker-close {
	display: none;
	position: absolute;
	top: -25px;
	right: -2px;
	width: 25px;
	height: 25px;
	text-indent: -999em;
	overflow: hidden;
	background: url(../img/ico_close.png) no-repeat 0 0;
}

.ui-datepicker-current {
	display: none;
}

.ui-datepicker-links {
	position: relative;
	height: 25px;
	background: #6589a5;
}

.ui-datepicker-links a {
	position: absolute;
	width: 20px;
	height: 25px;
	text-indent: -999em;
	overflow: hidden;
	cursor: pointer;
	background: url(../img/bg_sprite_buttons.png) no-repeat 0 0;
}

.ui-datepicker-prev a { 
	top: 0;
	left: 0;
	background-position: 0 -152px; 
}

.ui-datepicker-next a { 
	top: 0;
	right: 0;
	background-position: 0 -101px; 
}

.ui-datepicker tbody {
	font-weight: bold;
	border-right: 1px solid #d9dfe2;
}

.ui-datepicker-title-row td,
.ui-datepicker-title-row:hover td {
	font-weight: bold;
	border: none;
	background: #6589a5;
}

.ui-datepicker-title-row td a,
.ui-datepicker-title-row:hover td a { color: #f2f4f5; }

.ui-datepicker-days-row td,
.ui-datepicker-days-row:hover td {
	border-bottom: 1px solid #d9dfe2;
	background: #fff;
}

.ui-datepicker-days-row td a {
	float: left;
	width: 25px;
	text-align: center;
	color: #6589a5;
	cursor: pointer;
}

.ui-datepicker-new-month {
	width: 85px;
}

.ui-datepicker-days-row td a:hover {
	color: #fff;
	background: #e2007a;
}

.ui-datepicker-days-row:hover td.ui-datepicker-unselectable,
td.ui-datepicker-unselectable {
	color: #afbac0;
	background: #f2f4f5;
}