/**
 * Form Stylings
 *
 * Modified from SilverStripe Blackcandy Theme for Vive.com
 *
 * @copyright copyright 2009, Better Brief LLP
 * @author Dan Hensby <dan@betterbrief.co.uk>
 * 
 */

form {
	width: 230px;
	float: left;
	clear: left;
	margin-right: 32px;
}

form.stockists {
	float: none;
	width: 542px;
	min-height: 25px;
	padding: 0 0 15px;
	border-bottom:#000 dotted 1px;
}

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

/* ACTION BUTTONS
---------------------------------------- */
input.action {
	padding: 1px 4px;
	border: none;
	background: #999;
	color: white;
	font-size: 1.1em;
}/*
input.action:hover,
input.action:focus {
	cursor: pointer;
	background:#fff url(../images/arrow-grey.png) left center no-repeat;
}

input.action:active {
	color: #000;
	background:#fff url(../images/arrow-grey-on.png) left center no-repeat;
}*/

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}

.middleColumn label {
	float: none;
	color: red;
	margin-top: -5px;
}

.middleColumn {
 	display: block;
	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, textarea {
	color: #666;
	margin: 5px 0;
}
input.text, textarea, select {
	padding: 2px 5px;
	border: 1px solid #999;
	width: 220px;
	height: 20px;
}

textarea {
	height:97px;
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}

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

select {
	width: auto;
}

	.stockists select {
		width: 168px;
		height: 18px;
		margin: 5px 0;
		margin-right: 10px;
		padding:0;
	}
	
	#StockistsForm label {
		display: none;
	}

/* LABELS
---------------------------------------- */
label {
	margin-top: 5px;
}
.typography label {
 	display: block;
	color: #666;
}

label.right {
	display:inline;
}
/* SEARCH BOX 
---------------------------------------- */
#Search {
	width: 105px;
}
	input#Search_Form_SearchForm_Search {
		width: 110px;
		padding: 3px;
		margin-left: -4px;
		font-size: 1.2em;
	}
/*#Sidebar input.action {
	font-size: 1.2em;
	float: right;
	padding: 1px;
	margin: -22px 10px 0 0;
}*/

#Sidebar form {
	font-size: 1.1em;
}

#Sidebar input.action {
	font-size: 0.9em;
}

#Sidebar form,
#Sidebar fieldset {
	margin: 14px 0;
	width: 180px;
}

#Sidebar legend {
	width: 100%;
	color:#666;
	padding-bottom: 3px;
}

#Sidebar input {
	color: #fff;
	border: none;
	background: #999;
	height: 20px;
	margin: 2px 0;
	line-height: 1.5em;
	padding: 0 1px;
}

	#Sidebar input#name {
		width: 164px;
		display: block;
	}
	
	#Sidebar input#drttg-drttg {
		width: 144px;
	}
	
	#Sidebar input#NewsletterSubmit {
		text-indent: 100px;
		color: #999;
		width: 20px;
		background:#999 url(../images/submitarrow.png) top left no-repeat;
		margin-left: -4px;
		position: relative;
	}

/*#Sidebar form,
#Sidebar fieldset{
	width: 180px;
	overflow: hidden;
}

#Sidebar input {
	height:20px;
	line-height: 20px;
	border: 1px solid black
}

#Sidebar input#NewsletterName {
	width: 164px;
}

#Sidebar input#NewsletterEmail {
	width:144px;
}

#Sidebar input#NewsletterSubmit {
	width: 20px;
	margin-left: -4px;
	margin-top: 4px;
	position: relative;
	top: 4px;
	height: 22px;
}*/