/*
 * formIt
 * https://github.com/mindgruve/formit
 *
 * Copyright (c) 2012 Chris Kihneman | Mindgruve
 * Licensed under the MIT license.
 */

/* Consistent box sizing and appearance */
.fi-checkbox input[type="checkbox"],
.fi-radio input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
	*width: 18px;
	*height: 18px;
}

/* Hide these elements once they are styled */
.fi-file-wrap .fi-styled {
	display: none !important;
	visibility: hidden;
}

select[multiple]:focus,
.fi-focus {
	box-shadow: 0 0 3px #aaa;
}


/* ==========================================================================
   SELECT MENUS AND FILE INPUTS
   ========================================================================== */
.fi-select select {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	*width: auto; /* Must have width auto for IE */
	height: 36px;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	cursor: pointer;
	z-index: 5;
	-webkit-appearance: none;
}

select[multiple],
.fi-select,
.fi-file {
	color: #a0a0a0;
	font-size: 16px;
	background: #f9f9f9;
	border: 1px solid #d6d6d6;
	border-radius: 2px;
	cursor: pointer;
	position: relative;
	/*width: 200px;*/
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	padding: 5px 5px 6px;
	font-weight: bold;
}

select[multiple] {
	padding: 5px;
}
select[multiple]:focus {
/* 	outline: none; */
}

.fi-select span,
.fi-file span {
	display: block;
	/*height: 36px;*/
	line-height: 38px;
	overflow: hidden;
	padding: 0 50px 0 10px;
	cursor: pointer;
	white-space: nowrap
}
.fi-file span {
	padding-right: 90px;
}
.fi-select .fi-select-arrow-wrap {
	border: 1px solid #d6d6d6;
	background-color: #202022;
	border-radius: 0 2px 2px 0;
	position: absolute;
	right: -1px;
	top: -1px;
	width: 50px;
	height: 49px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}
.fi-select .fi-select-arrow {
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 8px solid #ffffff;
	height: 0;
	left: 19px;
	position: absolute;
	top: 21px;
	width: 0;
}
.fi-file .fi-file-button {
	border: 1px solid #d6d6d6;
	background-color: #202022;
	position: absolute;
	right: -1px;
	top: -1px;
	width: 45px;
	/*height: 36px;*/
	padding: 6px 0px 5px 5px;
	border-radius: 0 2px 2px 0;
}
.fi-file .fi-file-button .fi-file-button-inner {
	color: #ffffff;
	/*font-weight: bold;*/
	padding: 7px 12px;
}


/* ==========================================================================
   CHECKBOXES AND RADIO BUTTONS
   ========================================================================== */
.fi-checkbox .fi-styled,
.fi-radio .fi-styled {
	display: block;
	position: relative;
	margin: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	cursor: pointer;
}

.fi-checkbox,
.fi-radio {
	background-color: #ddd;
	border: 1px solid #bbb;
	border-radius: 2px;
	position: relative;
	display: -moz-inline-stack;
	display: inline;
	float: left;
	zoom: 1;
	*display: inline;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	cursor: pointer;
}

.fi-checkbox > div,
.fi-radio > div {
	background-color: #f7941e;
	border-radius: 2px;
	display: none;
	width: 12px;
	height: 12px;
	position: absolute;
	top: 3px;
	left: 3px;
}
.fi-checkbox.checked > div,
.fi-radio.checked > div {
	display: block;
}

.fi-select.disabled,
.fi-checkbox.disabled,
.fi-radio.disabled {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: .5;
}

.fi-radio {
	border-radius: 9px;
}
.fi-radio > div {
	border-radius: 6px;
}




