@charset "UTF-8";

/**
 * Zahia website
 *
 * Contains all form related declarations.
 *
 * @author		Davy De Pauw <davy@marlon.be>
 * @copyright   Marlon bvba <http://www.marlon.be>
 * @date		2010-06-17
 */

/* Form specific xHTML selectors
---------------------------------------------------------- */

form {
    margin: 0;
    padding: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0 0 20px 0;
}

legend {
    position: absolute;
    left: -999em;
}

input, textarea {
    color: #fff;
    font: 1em/1em Arial, Helvetica, Geneva, Tahoma, sans-serif;
}

input.button {
    float: left;
    border: none;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    overflow: visible;
    padding: 0 10px;
    text-align: left;
	background: #403b37 url(../img/sprite.png) no-repeat 0 -100px;
}

.hover input.button {
    background-position: 0 -150px;
    background-color: #de5d13;
}

input.field,
textarea.field {
    margin-right: 10px;
	background: #fff;
    border: 1px solid #bdbbba;
    clear: both;
    color: #5C4938;
    display: inline;
    float: left;
    height: 20px;
    line-height: 20px;
    padding: 4px 5px 5px 5px;
}

textarea.field {
    height: 100px;
	line-height: 1.5em;
}

label span.indicator {
	color: #AA8D3C;
	font-size: .833em;
	padding: 0 0 0 3px;
}

dd.error .errors {
    clear: both;
    display: inline;
    float: left;
    margin: 4px 0 0 0;
    padding: 0;
    width: 266px;
}

dd.error .errors li {
    clear: both;
    display: inline;
    float: left;
	width: 100%;
}

label.checkbox {
	clear: both;
	display: inline;
	float: left;
}

label.checkbox input {
	clear: left;
	display: inline;
	float: left;
	width: 20px;
}

label.checkbox span {
	clear: none;
	display: inline;
	float: left;
	width: 300px;
}

/* input field sizes
---------------------------------------------------------- */

.xx-small { width: 20px; }
.x-small { width: 60px; }
.small { width: 185px; }
.medium { width: 254px; }
.large { width: 425px; }
.x-large { width: 400px }
.xx-large { width: 560px; }

.checkbox {
}

.radio {
}

select.small { width: 105px; }
select.medium { width: 270px; }

/* form
---------------------------------------------------------- */

fieldset dl {

}

fieldset dt {
    position: absolute;
}

fieldset dd {
    position: relative;
    padding: 0 0 8px 140px;
}

/* Focus
---------------------------------------------------------- */

.focus .field {
    border: 1px solid #f3b57f;
    outline: 0px solid #f3b57f;

    /* fancy CSS3 animation */
    -webkit-animation-name: focusGlow;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
}

.error.focus .field {
    -webkit-animation-name: errorGlow;
}

/* CSS3 animations are the shizzle
---------------------------------------------------------- */

@-webkit-keyframes focusGlow {
    from { -webkit-box-shadow: 0 0 10px rgba(243,182,127,.01); }
    50% { -webkit-box-shadow: 0 0 10px rgba(243,182,127,1); }
    to { -webkit-box-shadow: 0 0 10px rgba(243,182,127,.01); }
}

@-webkit-keyframes errorGlow {
    from { -webkit-box-shadow: 0 0 8px rgba(250,111,89,.01); }
    50% { -webkit-box-shadow: 0 0 8px rgba(250,111,89,1); }
    to { -webkit-box-shadow: 0 0 8px rgba(250,111,89,.01); }
}

/* Errors
---------------------------------------------------------- */

.error .field {
    border-color: #fb7462;
    background: #fff9e0;
}

.error span.error {
    position: absolute;
    top: 7px;
    left: 115px;
    width: 20px;
    height: 20px;
    background: url(../img/sprite.png) no-repeat -129px -329px;
}

.errors {
    padding: 0 0 0 10px;
    color: #ff0000;
}


/* Actions
---------------------------------------------------------- */

form .actions {
    padding-left: 140px;
    width: 265px;
}

form .actions .secundary {
    float: right;
    line-height: 30px;
    white-space: nowrap;
}

/* Newsletter
---------------------------------------------------------- */

.newsletter {
    padding: 0 0 20px 0;
}

.newsletter h3 {
    position: absolute;
}

.newsletter .description {
    padding: 0 0 10px 140px;
    background: url(../img/sprite.png) no-repeat 100% -125px;
}

.newsletter .field {
    background: #eaeaea;
}

/* Sidebar > Workshop calendar
---------------------------------------------------------- */

.calendar select {
    position: relative;
    left: -10px;
    top: 0;
    padding: 4px;
    width: 274px;
    font-size: 1.231em;
    color: #5f544b;
    border: 1px solid #45403c;
    background: #eaeaea;
    zoom: 1;
}

/* Inschrijven workshop
---------------------------------------------------------- */

#workshop-subscribe fieldset {
	clear: both;
	display: inline;
	float: left;
	margin: 20px 0 0;
	width: 570px;
}

#workshop-subscribe fieldset legend {
	display: none;
}

#workshop-subscribe fieldset dl {
	clear: both;
	display: inline;
	float: left;
	width: 570px;
}

#workshop-subscribe fieldset dt {
	margin: 5px 0 0;
	position: absolute;
	width: 150px;
}

#workshop-subscribe fieldset dd {
	clear: left;
	padding: 0 0 10px 180px;
	width: 390px;
}

#workshop-subscribe fieldset dd.focus .textfield {
	background: #efe4c6;
}

/* Custom checkboxes
---------------------------------------------------------- */

.cb input.checkbox {
    position: absolute;
    left: -999em;
}

label.checkbox span.cb {
    float: left;
    margin: 2px 0 0 0;
    width: 20px;
    height: 20px;
    background: url(../img/sprite.png) no-repeat -153px -303px;

}


label.checkbox span.checked { background-position: -178px -278px; }

