/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Form Styling
 */
 
/* GLOBALS */
form {
	font-size:11px;
 }

 
/* LOGIN FORM */


#LoginForm {
	border: 1px solid #eee;
	clear: both;
	display: block;
	float: left;
	height: 322px;
	margin-bottom:72px;
	overflow: hidden;
	position: relative;
	width: 366px;	
}

#LoginForm + .CatalogueSelectButton {
	float: right;
}

#LoginForm a {
	text-decoration:none;
	}
	
#LoginForm a:hover {
	text-decoration:underline;
	}
	
#LoginForm a.action {
	padding-left: 36px;
	font-size: 22px;
	height: 36px;
	line-height: 36px;
	font-family: "Times New Roman", serif;
	font-weight: normal;
	color: #000;
	text-decoration: none;
	opacity: 0.5;
	
	width: 40%;
}

#LoginForm a.action:hover {
	opacity: 1;
}

#LoginForm .bottom {
	position: absolute;
		bottom: 25px;
}

#LoginForm .bottom p {
	padding-left: 36px;
	font-size: 11px;
}

#LoginForm h3 {
	font-size:18px;
	padding-left:36px;
	font-weight:normal;
	padding-top:27px;
	padding-bottom:32px;
	}

#LoginForm .middleColumn {
	padding:0;
	margin:0;
	width:144px;
	float:left;
	}
	
#LoginForm .field {
	height:18px;
	padding-left:36px;
	padding-bottom:9px;
	}
	
#LoginForm label {
	display:block;
	width:74px;
	height:18px;
	line-height:27px;
	float:left;
	padding-right:18px;
	}
	
#LoginForm input.text,#LoginForm textarea,#LoginForm select {
	border-top:none;
	border-left:1px solid #ccc;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	width:100%;
	font-weight:normal;
	color:#666;
	height:14px;
	padding: 2px 0 2px 0;
	}
#LoginForm input.text:focus,#LoginForm textarea:focus,#LoginForm select:focus
{
	border-left:1px solid #000;
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	color:#000;
	}

#LoginForm input.action {
	border:1px solid #ccc;
	background:none;
	color:#666;
	}

#LoginForm input.action:hover {
	border:1px solid #000;
	color:#000;
	outline:none;
	}
	
#LoginForm input.action:focus {
	background: #000;
	border:1px solid #000;
	color:#fff;
	outline:none;
	}

#Remember {
	display:none;
	}
	
#LoginForm .Actions {
	clear:both;
	padding: 1px 0 0 128px;
	}
	
#LoginForm .bad {
	padding: 0 36px 9px 36px;
	margin-top: -18px;
	}
	
#LoginForm #ForgotPassword {
	padding-top: 14px;
	}
	
.bad {
	color:red;
	}
	
/* SEARCH FORM */

#Header form {
	padding-top: 54px;
	float:left;
}

#search-for-product-result {
	clear:both;
	color:red;
	height:18px;
	padding-left:558px;
	position:relative;
	top:-60px;
}


/* FIELDSETS
---------------------------------------- */
fieldset {
	border: 0;
}

/* ACTION BUTTONS
---------------------------------------- */
input.action {
	padding: 0 6px 1px 6px;
	font-size: 11px;
	font-family: Verdana, Tahoma, Sans-serif;
}
input.action:hover,
input.action:focus {
	cursor: pointer;
}

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}
/*.middleColumn {
 	display: block;
 	margin: 15px 10px 10px 0;
	background: #E9E9E9;
	padding: 4px;
	width: 306px;
	clear: left;
}*/
	#Sidebar .middleColumn {
		margin: 0 0 0 8px;
		display: inline;
	}
	
	div.tab .field .middleColumn {
		clear: none !important;
 		margin: 0 !important;
		width: auto;
	}
	
	.middleColumn .middleColumn {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}
	
	.middleColumn .message {
		margin: 0;
	}
	
/* INPUT BOXS
---------------------------------------- */

input.text, textarea, select {
	border-top:none;
	border-left:1px solid #ccc;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	font-weight:normal;
	color:#666;
	height:14px;
	padding: 2px 0 2px 0;
	}
	
input.search {
	border:1px solid #999;
	width:136px;
	}

textarea {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 12px;
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}

form .date input.month,
form .date input.day,
form .date input.year {
	width: auto;
}

form .datetime .clear {
	clear: both;
}

form .datetime .date,
form .datetime .time {
	float: left;
	clear: none;
	width: auto;
}
	form .datetime .middleColumn .middleColumn {
		width: auto;
	}
	form .datetime .date input,
	form .datetime .time input {
		width: auto;
	}
	
input.action {
	border:1px solid #ccc;
	background:none;
	color:#666;
	}


/* SELECT DROPDOWN
---------------------------------------- */

select {
	width: auto;
}

/* LABELS
---------------------------------------- */
.typography label {
 	display: block;
	margin: 10px 0 -10px 0;
	color: #777;
	font-size: 12px;
}

label.right {
	display:inline;
}

/* CHECKBOXES
---------------------------------------- */
ul.optionset {
	margin: 0;
	overflow: hidden;
}
	ul.optionset li {
		margin: 6px 0;
		clear: both;
	}
		ul.optionset li input {
			float: left;
			margin: 0 6px;
		}
		ul.optionset li label {
			margin: 0;
		}