﻿/* ================================================================================ */
/*  1.7 Forms */
/* ================================================================================ */	

	.form {}
	
		.form .row {
			background-color: #fff;
			margin: 1.5em 0;
		}
		
		.form .row:before, .form .row:after { content: ""; display: table; }
		.form .row:after { clear: both; }
		.form .row { *zoom: 1; } /* For IE 6/7 only */

	/* --------------------------------------------------------------- */
	/* 1.7.0 Form Lists */
	/* --------------------------------------------------------------- */	
		
		.form ul {
			list-style-type: none;
			margin: 0;
			padding: 0;
		}
			
		.form ul.list_horiz {}
		
		.form ul.list_horiz:before, .form ul.list_horiz:after { content: ""; display: table; }
		.form ul.list_horiz:after { clear: both; }
		.form ul.list_horiz { *zoom: 1; } /* For IE 6/7 only */
			
			.form ul li {
				margin: 0;
				padding: 0;
			}
		
			.form ul.list_horiz li {
				float: left;
				margin-right: 10px;
			}
			
			.form ul.list_vert li {
				margin-bottom: 5px;
			}
			
			.form ul.list_vert li:last-child {
				margin-bottom: 0;
			}
			
	/* --------------------------------------------------------------- */
	/* 1.7.1 Required Fields */
	/* --------------------------------------------------------------- */	
		
		p.required_field {
			font-size: 0.92307692307692em;			
			color: #888;
		}
		
		p.required_field em,
		.form em {
			color: red;
		}
		
	/* --------------------------------------------------------------- */
	/* 1.7.2 Legends & Fieldsets */
	/* --------------------------------------------------------------- */
	
		legend {
			font-weight: normal;
			display: block;
			padding-bottom: 5px;
		}	
	
		fieldset {
			border: 0;
			margin: 0;
			padding: 0;
		}
		
	/* --------------------------------------------------------------- */
	/* 1.7.3 Labels */
	/* --------------------------------------------------------------- */			
		
		label {	
			display: block;
			margin-bottom: 5px;
		}
		
		.form ul.list_horiz li label {
			margin-bottom: 0;
		}
		 
		 label.label_inline {
			 display: inline;
			 margin-right: 5px;
		 }
		 
	/* --------------------------------------------------------------- */
	/* 1.7.4 Notes */
	/* --------------------------------------------------------------- */
	
		.form small {
			color: #888;
			display: inline-block;
			margin-left: 10px;
		}

	/* --------------------------------------------------------------- */
	/* 1.7.5 Inputs */
	/* --------------------------------------------------------------- */
	
		/*  Inputs - Text
		-------------------------------------------- */	
		
		input.txt,
		input[type=text],
		input[type=password] {
			background-color: #fff;
			border: 1px solid #d7d7d7;
			
			-webkit-border-radius: 3px;
			border-radius: 3px;
			
			box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
			padding: 6px;

			-moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
		}
		
		input.txt:focus,
		input[type=text]:focus,
		input[type=password]:focus {
			background-color: #ffc;
			border-color: rgba(82, 168, 236, 0.8);
		
			box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			
			outline: 0;
		}

		input.mini {
		  width: 60px;
		}
		
		input.small {
		  width: 90px;
		}

		input.medium {
		  width: 150px;
		}

		input.large {
		  width: 210px;
		}

		input.xlarge {
		  width: 270px;
		}

		input.xxlarge {
		  width: 530px;
		}
		
		/*  Inputs - Checkbox
		-------------------------------------------- */	
		
		input.checkbox,
		input[type=checkbox] {
			margin-right: 5px;
			position: relative;
		}
			
		/* internet explorer */
		.ua-ie-9 input.checkbox,
		.ua-ie-9 input[type=checkbox] {
			top: 2px;
		}

		.ua-ie-8 input.checkbox,
		.ua-ie-8 input[type=checkbox] {
			top: 2px;
		}
	
		.ua-ie-1 input.checkbox,
		.ua-ie-1 input[type=checkbox] {
			top: 1px;
		}
		
		/* firefox */
		.ua-firefox input.checkbox,
		.ua-firefox input[type=checkbox] {
			top: 2px;
		}
		
		.ua-mac_os_x.ua-firefox input.checkbox,
		.ua-mac_os_x.ua-firefox input[type=checkbox] {
			top: -1px;
		}
		
		/* chrome */
		.ua-chrome input.checkbox,
		.ua-chrome input[type=checkbox] {
			top: 2px;
		}
		
		.ua-mac_os_x.ua-chrome input.checkbox,
		.ua-mac_os_x.ua-chrome input[type=checkbox] {
			top: -1px;
		}

		/* safari */
		.ua-mac_os_x.ua-safari input.checkbox,
		.ua-mac_os_x.ua-safari input[type=checkbox] {
			top: -1px;
		}
		
		/*  Inputs - Radio
		-------------------------------------------- */	
		
		input.radio,
		input[type=radio] {
			margin-right: 5px;
			position: relative;
		}
		
		/* internet explorer */
		.ua-ie-9 input.radio,
		.ua-ie-9 input[type=radio] {
			top: 2px;
		}
		
		.ua-ie-8 input.radio,
		.ua-ie-8 input[type=radio] {
			top: 2px;
		}
		
		.ua-ie-7 input.radio,
		.ua-ie-7 input[type=radio] {
			top: 1px;
		}
		
		/* firefox */
		.ua-firefox input.radio,
		.ua-firefox input[type=radio] {
			top: 2px;
		}
		
		.ua-mac_os_x.ua-firefox input.radio,
		.ua-mac_os_x.ua-firefox input[type=radio] {
			top: -1px;
		}
		
		/* chrome */
		.ua-chrome input.radio,
		.ua-chrome input[type=radio] {
			top: 2px;
		}
		
		.ua-mac_os_x.ua-chrome input.radio,
		.ua-mac_os_x.ua-chrome input[type=radio] {
			top: -1px;
		}
		
		/* safari */
		.ua-mac_os_x.ua-safari input.radio,
		.ua-mac_os_x.ua-safari input[type=radio] {
			top: -1px;
		}
		
		/*  Inputs - Hidden
		-------------------------------------------- */	
		
		input[type=hidden] {
			display: none;
		}
		
	/* --------------------------------------------------------------- */
	/* 1.7.6 Selects */
	/* --------------------------------------------------------------- */	
		
		select {
			background-color: #fff;
			border: 1px solid #d7d7d7;
			
			-webkit-border-radius: 3px;
			border-radius: 3px;
			
			box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
			padding: 5px 6px 4px 6px;

			-moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
		}
		
		select:focus {
			background-color: #ffc;
			border-color: rgba(82, 168, 236, 0.8);
		
			box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			
			outline: 0;
		}
			
			option {
				padding-left: 3px;
				padding-right: 12px;
			}
			
	/* --------------------------------------------------------------- */
	/* 1.7.7 Textareas */
	/* --------------------------------------------------------------- */
		
		textarea {
			background-color: #fff;
			border: 1px solid #d7d7d7;
			
			-webkit-border-radius: 3px;
			border-radius: 3px;
			
			box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
			padding: 6px;
			resize: vertical; /* Allow only vertical resizing of textareas */

			-moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
		}
		
		textarea:focus {
			background-color: #ffc;
			border-color: rgba(82, 168, 236, 0.8);
		
			box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
			
			outline: 0;
		}
	
/* ================================================================================ */
/*  1.8 Buttons */
/* ================================================================================ */

	button,
	a.button,
	input.button {
		background-color: #e6e6e6;
		background-repeat: no-repeat;
		background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
		background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
		background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		
		/* stop bg color from leaking outside the border */
		-moz-background-clip: padding;
		-webkit-background-clip: padding-box;
		background-clip: padding-box;
	
		-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
		-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);

		border: 1px solid #cacaca;
		
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;	
		border-radius: 5px;
		
		color: #7e7e7e;
		cursor: pointer;
		display: inline-block;
		font-weight: bold;
		outline: none;
		padding: 6px 10px;
		text-decoration: none;
		text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	
		-webkit-transition: 0.1s linear all;
		-moz-transition: 0.1s linear all;
		transition: 0.1s linear all;
	}

	button:hover,
	a.button:hover,
	input.button:hover {
		background-position: 0 -15px;
		text-decoration: none;
	}
	
	button:active,
	a.button:active,
	input.button:active {
		box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
		-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
		-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
	}

