/** 
 * boundform.css settings for boundform component 
 * 
 * @author Thomas Müller <thomas.mueller@empego.net>
 * @version 1.0 
 * @copyright empego.net
 * @date 2008-03-11 
 */ 
 
 div.boundform {
	padding: 40px 50px 10px 50px;
	-moz-border-radius: 15px;
	background-color: #FFF;
	border: solid 1px #CCC;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	/*max-width: 700px;*/
}
 
 
 /**
 * Fieldset, Legend, Label
 */
.boundform fieldset * {
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
}

.boundform fieldset {
	display: block;
	padding: 1em 1em 1em 1em;
	background-color: #FFF;
	border: 1px solid #D9E7ED;
	border-top: 4px solid #D9E7ED;
	-moz-border-radius: 10px;
}

.boundform fieldset:hover {
	border: 1px solid #DAEEA5;
	border-top: 4px solid #99cc00;
	background-color: #F3FAE1;
}

.boundform fieldset legend label {
	color: #333;
	padding: 0.3em;
	font-size: 1.5em;
	font-weight: 500;
	font-style: oblique;
}

/*
.boundform fieldset label {
	display: block;
	padding: 0;
}
*/


/**
 * inputfields
 */

.boundform div.labelinput > input, .boundform div.labelinput > select {
	clear: both;
	border: 1px solid #ccc;
	color: #333;
	font-weight: normal;
	margin: 0.2em 0;
	-moz-border-radius: 4px;
	display: block;
}

.boundform  div.labelinput textarea {
	border: 1px solid #ccc;
	margin: 0.4em 0;
	width: 90%;
	height: 15em;
}

.boundform  div.labelinput {
	margin: 0 20px 10px 20px;
}


.boundform div.labelinput input:focus, .boundform div.labelinput textarea:focus {
	border: 1px solid #C8E67A;
	background-color: #ffffa0;
}


.boundform .validationfailed {
	background: #ffcccc url(../../img/form/exclamation.gif) no-repeat 98%
		3px;
}

.boundform .validationpassed {
	background: #E2FFDB url(../../img/form/accept.gif) no-repeat 98% 3px;
}

.boundform .validation-advice {
	color: #cc0000;
	font-style: italic;
	font-size: 0.9em;
}

.clear {
	clear: both;
}

/**
 * Buttons
 */

.boundform .buttons {
	margin: 20px;
	text-align: center;
	
}

.buttons > span {
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	background-color: #D2E6F9;
	padding: 7px 10px 7px 10px;
	margin: 10px;
	border: solid 1px #CCC;
	-moz-border-radius: 4px;
	clear: both;
	vertical-align: middle;
	height: 2em;
}

.buttons > span:hover {
	background-color: #F3FAE1;
}

.buttons > span > *{
	font: normal 1em "Trebuchet MS", Tahoma, sans-serif;
	background-color: transparent;
	color: #777;
	text-decoration: none;
	font-size: 1em; 
	font-weight: bold;
	border: none;
}

.buttons em.ctrlkey{
	font-size: 0.5em;	
	font-weight: lighter;
}

/**
 * inputlabels, hints...
 */

div.labelinput > label {
	margin-left: 0.5em;
	font-size: 1em;
	display: block;
}

em.required {
	color: #cc0000;
	font-weight: normal;
}

em.hint {
	color: #959595;
	font-size: 1em;
}

em.marker {
	color: #cc0000;
	font-weight: normal;
	font-size: 1.2em;
}

/**
 *
 */
 
.boundform form ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	width: 100%;
	font-size: 100%;
}

.boundformform li {
	margin: 0;
	position: relative;
	margin-bottom: 25px;
}



fieldset.boundfieldset div.left {
	display: inline;
	float: left;
	width: 45%;
	padding: 0;
}

fieldset.boundfieldset div.right {
	display: inline;
	float: right;
	width: 42%;
	margin: 0;
	padding: 0 20px 0 0;
}

fieldset.boundfieldset div.left .medium,fieldset.boundfieldset div.right .medium
	{
	width: 100%;
}


fieldset.boundfieldset > div > label {
	margin: 0, 0, 0, 0.5em;
	padding-top: 3px;
	clear: both;
	line-height: 9px;
	color: #333;
	font-size: 1em;
	font-style: normal;
	display: block;
}

/**
 * sizes of input fields
 */
 
 input.small,select.small {
	width: 25%;
}

input.medium,select.medium,span.medium {
	width: 50%;
}

input.large,select.large,span.medium,textarea.textarea {
	width: 100%;
}

textarea.small {
	height: 5.5em;
}

textarea.medium {
	height: 10em;
}

textarea.large {
	height: 20em;
}
 
