/* FORMS */

form {
	clear: both;
	display: block;
	margin: 0 0 1.5em 0;
}

	input:not([type=image]) {
		border-radius: 0;
		font-size: 100%;
		height: 2.1em;
		line-height: 1.5em;
		max-width: 100%;
		vertical-align: top;
	}

	input:not([type=button]):not([type=checkbox]):not([type=file]):not([type=radio]):not([type=submit]):not([type=image]) {
		border: 1px solid #c0c0c0;
		height: 2.1em;
		margin-right: 0;
		margin-left: 0;
		padding: 0.167em 0.333em;
		-moz-appearance: none;
		-webkit-appearance: none;
	}
	input:not([type=button]):not([type=checkbox]):not([type=file]):not([type=radio]):not([type=submit]):focus:not([type=image]) {
		outline: 1px solid #808080;
	}

	input[type=checkbox], input[type=radio] {
		display: inline-block;
		height: auto !important; width: auto !important; /* Workaround for Safari "jumping button" bug */
		vertical-align: middle;

	}

	input[type=submit], button.button {
		background: #2980b9;
		border: none !important;
		border-radius: 4px;
		color: #ffffff;
		cursor: pointer;
		height: 2.1em;
		line-height: 2.1em;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		-moz-appearance: none;
		-webkit-appearance: none;
	}
	input[type=submit]:hover, button.button:hover {
		background: #3498db;
	}

	.svg_wrapper input[type=submit] {
		display: none;
	}

	label {
		display: block;
		margin: 0.25em 0;
	}
	
	label.inline {
		display: inline-block !important;
		margin: 0;
	}

	select {
		background: #ffffff url('../images/ui/select_arrows_x2.png') right 5px center no-repeat;
		background-size: 9px 15px;
		cursor: context-menu;
		border: 1px solid #c0c0c0;
		border-radius: 0;
		display: inline-block;
		font-size: 100%;
		height: 2.1em;
		line-height: 1.5em;
		margin: 0 0.5em 0.5em 0;
		min-width: 60%;
		padding: 0 22px 0 0.333em !important;
		width: 100%;
		-moz-appearance: none;
		-webkit-appearance: none;
	}
	select::-ms-expand { display: none; }
	select:focus {
		outline: 1px solid #808080;
	}

	textarea {
		border: 1px solid #c0c0c0;
		border-radius: 0;
		font-size: 100%;
		line-height: 1.5em;
		padding: 0.167em 0.333em !important;
		-moz-appearance: none;
		-webkit-appearance: none;
	}
	textarea:focus {
		outline: 1px solid #808080;
	}

.filters {
	font-size: 80%;
	line-height: 1.5em;
	margin: 0.5em 0;
}

	.filters label {
		display: inline-block;
		margin: 0 1em 0 0;
	}


/* CSS3 MEDIA QUERIES */

/* LARGE SCREENS (content area over 1600 pixels) */
/*
@media screen and (min-width: 1600px) {

}
*/


/* SMALLER COMPUTERS (content area under 1200 pixels) */
/*
@media screen and (max-width: 1200px) {

}
*/


/* TABLETS (content area under 1024 pixels) */
/*
@media screen and (max-width: 1024px) {

}
*/


/* PHONES (content area under 782 pixels) */
@media screen and (max-width: 782px) {

	.filters label { display: block; }

}


/* MEDIUM PHONES (content area under 640 pixels) */
/*
@media screen and (max-width: 640px) {

}
*/


/* SMALL PHONES (content area under 480 pixels) */
/*
@media screen and (max-width: 480px) {

}
*/
