﻿/**
 * Declarations for form related elements.
 *
 * @author 			Vincent Mouton <vincent@marlon.be>
 * @copyright		Marlon bvba <http://www.marlon.be>
 * @date 			2009-02-09
 */

/* redefine form specific xhtml selectors
---------------------------------------------------------- */

form
{
	margin: 0;
	padding: 0;
}

form p
{

}

form dl {
    margin: 0;
    padding: 0;
}

form label.highlight {
    font-weight: bold;
    color: #90856c;
}

label
{

}

fieldset
{
	clear: left;
	position: relative;
	margin: 0 0 10px 0;
	padding: 0;
	border: none;
}

fieldset legend
{

}

.edit fieldset.newsletter
{
	margin: 20px 0;	
}

.edit fieldset.newsletter h2
{
	display: none;	
}

input, select
{
	position: relative;
	margin: 0;
}

input.checkbox {
    float: left;
    margin: 0 5px 0 0;
}

form fieldset dt
{
    position: absolute;
    padding: 6px 0;
    width: 160px;
    font-size: 12px;
    font-weight: bold;
    text-align: right;
    color: #90856c;
}

form fieldset dt.option
{
	font-weight: normal;	
}

form fieldset dt.hide { text-align: left; }

form fieldset dd
{
    margin: 0 0 4px 0;
	font-size: .9em;
	width: 356px;
	padding-left: 193px;
}

form fieldset dd.field, form fieldset dd.textarea, form fieldset dd.list
{
	padding: 6px 10px 6px 193px;
	height: 18px;
    background: url(../img/bg_buttons.png) no-repeat 183px -460px;
}

form fieldset dd.note
{
    padding-left: 212px;
    font-size: 11px;
    color: #9b9179;
	background: url(../img/bg_sprite.png) no-repeat 195px -644px;
}

fieldset dd.minor
{
	position: relative;
	margin-top: 10px;
	margin-left: 183px;
	padding-left: 10px;
	float: left;
}

fieldset dd.minor label
{
	font-weight: normal;
	font-size: .9em;
	vertical-align: top;
	line-height: 14px;
}

#register dd.policy .checkbox {
	position: absolute;
	top: 0;
	left: 10px;
}

.field input, .textarea textarea, .list select
{
	width: 346px;
    height: 18px;
    border: 0px;
    border: none;
    color: #6a6050;	
}

.list select
{
    height: auto;
}

form fieldset dd.textarea
{
	width: 370px;
	padding: 0 0 6px 183px;
	background-position: 183px -711px;
	height: 259px;
}

form fieldset dd.textarea .inner
{
	padding: 6px 10px 0 10px;
	display: block;
	background: url(../img/bg_buttons.png) no-repeat 0 -695px;	
}

.textarea textarea
{
	font-family: Verdana;
	font-size: 1em;
	height: 245px;
	margin: 0;
}

.file
{
	position: relative;
	padding-top: 4px !important;
}

.file .realinput
{
	cursor: pointer;
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
	height: 23px;
}

dd .fakefile
{
	position: absolute;
	top: 3px;
	left: 193px;
	z-index: 1;
}

dd .fakefile input
{
	margin-top: 2px;
	cursor: pointer;
	float: left;
	width: 246px;	
}

#content dd .fakefile a
{
	float: left;
	width: 100px;
	height: 22px;
	display: block;
	color: #fff;
	padding-right: 6px;
	margin-top: 1px;
	background: transparent url(../img/bg_buttons.png) no-repeat 100% -671px;	
	text-decoration: none;
	font-weight: bold;
}

#content dd .fakefile a span
{
	line-height: 22px;
	height: 22px;
	display: block;
	padding-left: 16px;
	background: transparent url(../img/bg_buttons.png) no-repeat 0 -671px;
}

form fieldset dd.medium input { width: 162px; }
form fieldset dd.small input { width: 60px; }

form fieldset dd.medium{ background-position: 183px -551px; }
form fieldset dd.small{ background-position: 183px -611px; }

form fieldset dd.focus { background-position: 183px -490px; }
form fieldset dd.medium.focus { background-position: 183px -581px; }
form fieldset dd.small.focus { background-position: 183px -641px; }
form fieldset dd.textarea.focus { background-position: 183px -992px; }
form fieldset dd.textarea.focus .inner { background-position: 0 -976px; }

form fieldset dd.hide
{
	position: absolute;
	left: -9999px;	
}

#content form fieldset dd.sep, #content form fieldset dt.sep
{
	margin-bottom: 28px;
}

.actions {
	float: left;
	display: inline !important;
}

.edit .actions
{
	margin-top: 25px;	
}

.actions .button
{
	position: relative;
	float: left;
	display: inline;
	margin: 0 32px 0 0;
	padding: 0 0 0 5px;
	height: 31px !important;
	line-height: 31px;
	overflow: hidden;
	background: url(../img/bg_buttons.png) no-repeat 0 -520px;
}

.actions .button input 
{
	cursor: pointer;
	position: relative;
	float: left;
	margin: 0;
	padding: 0 13px 2px 8px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	width: auto;
	height: 31px;
	line-height: 31px;
	color: #fff;
	overflow: visible;
	border: none;
	background: url(../img/bg_buttons.png) no-repeat 100% -520px;
}

.actions .secundary {
	float: left;
	line-height: 31px;
}



/* search form (top right of each page)
---------------------------------------------------------- */

#search-form
{
	position:absolute;
	right: 16px;
	top: 0px;
	width: 320px;
	height: 80px;
	background: #f7f5ef url(../img/bg_corners.png) no-repeat 0 100%;
}

#search-keyword {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #b3aa94;
	width: 224px;
	height: 14px;
	border: none;
	padding: 5px 16px;
	background: transparent url(../img/bg_buttons.png) no-repeat 0 -24px;
}

#btn-search {
	position: absolute;
	top: 16px;
	right: 16px;
}

#search-form fieldset {
	border: none;
}

/* required
---------------------------------------------------------- */

label.required { position: relative; }

label.required abbr {
	position: absolute;
	right: -10px;
}

/* honeypot
---------------------------------------------------------- */

div.hpc {
	display: none;
}

/* validation
---------------------------------------------------------- */

div.errors {
	color: #CF3A21;
}

div.errors h2 {
	font-size: 1.3em;
	color: #CF3A21;
}

div.errors ul {
	font-size: .9em;
	margin: 0 0 10px 24px;
	padding: 0;
}

div.errors ul li { margin-bottom: 2px; }

dd.errors {
	padding-left: 183px;
}

dd.errors ul,
ul.errors {
	margin: 2px 0 6px 0;
	padding: 0 0 0 30px;
	list-style: none;
	font-size: .9em;
	color: #cf3a21;
	background: url(../img/bg_sprite.png) no-repeat 12px -678px;
}

ul.errors li, .errors ul li {
	padding-left: 0;
	background: none;
}

#content p.confirm
{
	clear: left;
	padding-top: 8px;
	width: 354px; /* was 100%*/
	background: #b2bf13 url(../img/bg_corners.png) no-repeat -2680px 0;	
	margin-bottom: 8px;
}

p.confirm .inner
{
	color: #fff;
	padding: 0 8px 8px 8px;
	display: block;
	background: transparent url(../img/bg_corners.png) no-repeat -3034px 100%;	
	clear: both;
}

#content #comments p.confirm
{
	background-position: -3388px 0;	
}

#comments p.confirm .inner
{
	background-position: -3932px 100%;
}

p.confirm .inner strong
{
	margin-bottom: 4px;
	display: block;
	clear: both;	
}

p.confirm .inner a
{
	font-size: .85em;
	color: #fff;
	margin-right: 8px;
}

p.confirm ul
{
	margin: 0;
	padding: 0;
}

p.confirm ul li
{
	list-style-type: none;
}
