/* form actions */

.form_actions {
	background: #efefef;

	margin: 30px -15px 0;
	padding: 32px;

	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
	.form_actions_check {
		margin: 0 0 20px 0;

		font: 15px/21px Arial, Helvetica, sans-serif;
	}
		.form_actions_check input {
			margin: 0 6px 0 0;
		}
		.form_actions_check a {
			color: #000;
		}
	.form_actions_buttons {
		text-align: right;
	}
		.form_actions_buttons > * {
			margin: 0 0 0 15px;
		}
		.form_actions_buttons > *:first-child {
			margin: 0;
		}

/* control groups */

.form_horizontal {
	margin: 20px 0 0;
}
	.required {
		color: #e90000;
	}
	.control_group {
		margin: 0 0 17px 0;

		font: 15px/18px Arial, Helvetica, sans-serif;
	}

	.control_group:before, .control_group:after {
		display: table;
		content: "";
		line-height: 0;
	}
	.control_group:after {
		clear: both;
	}
		.control_label {
			width: 130px;
			
			float: left;
			padding: 8px 0;
		}
		.controls {
			position: relative;
			margin: 0 0 0 140px;
		}
			.controls > .field {
				margin-right: 14px;
			}
			.control_descript {
				width: 108px;

				padding: 0 0 0 20px;
				position: absolute;
				right: 10px; top: 6px;

				color: #8e8e8e;
				font: italic 11px/13px Arial, Helvetica, sans-serif;
			}
				.control_descript > .icon {
					position: absolute;
					top: 0; left: 0;
				}
			.controls > .field.subfield{
				margin-top: 3px;
				font-size: 11px;
			}
			.controls > .field.subfield .chb{
				position: relative;
				top: 3px;
			}

.field.span2 {
	width: 70px;
}
.field.span3 {
	width: 94px;
}
.field.span4 {
	width: 124px;
}
.field.span9 {
	width: 324px;
}
.field.span12 {
	width: 440px;
}

/* buttons */

.btn {
	background: #5477bb;
	background: -moz-linear-gradient(top,  #5477bb 0%, #315db0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5477bb), color-stop(100%,#315db0));
	background: -webkit-linear-gradient(top,  #5477bb 0%,#315db0 100%);
	background: -o-linear-gradient(top,  #5477bb 0%,#315db0 100%);
	background: -ms-linear-gradient(top,  #5477bb 0%,#315db0 100%);
	background: linear-gradient(to bottom,  #5477bb 0%,#315db0 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5477bb', endColorstr='#315db0',GradientType=0 );

	border: 1px solid #2c4b8a;

	-webkit-box-shadow: 0 1px 0 #fff, inset 0 1px 0 #a8cdff, inset 0 0 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 1px 0 #fff, inset 0 1px 0 #a8cdff, inset 0 0 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 0 #fff, inset 0 1px 0 #a8cdff, inset 0 0 5px rgba(0, 0, 0, 0.2);

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;

	display: inline-block;
	*display: inline;
	*zoom: 1;

	height: 28px;
	padding: 0 15px;
	cursor: pointer;

	color: #ffffff;
	font: 12px/28px Arial, Helvetica, sans-serif;
	text-decoration: none;
}
	a.btn{
		text-decoration: none;
	}

.btn:hover {
	background: #60bb54;
	background: -moz-linear-gradient(top,  #60bb54 28%, #55ab5f 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(28%,#60bb54), color-stop(100%,#55ab5f));
	background: -webkit-linear-gradient(top,  #60bb54 28%,#55ab5f 100%);
	background: -o-linear-gradient(top,  #60bb54 28%,#55ab5f 100%);
	background: -ms-linear-gradient(top,  #60bb54 28%,#55ab5f 100%);
	background: linear-gradient(to bottom,  #60bb54 28%,#55ab5f 100%);

	border: 1px solid #216f2e;

	-webkit-box-shadow: 0 1px 0 #fff, inset 0 1px 0 #94e18d, inset 0 0 5px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 1px 0 #fff, inset 0 1px 0 #94e18d, inset 0 0 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 0 #fff, inset 0 1px 0 #94e18d, inset 0 0 5px rgba(0, 0, 0, 0.2);
	
	color: #fff;
}

.btn:active,
.btn:focus {
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
	-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
	-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.btn_mini {
	height: 20px;
	padding: 0 8px;

	font-size: 11px;
	line-height: 18px;
}

.btn_small {
	height: 24px;

	font-size: 12px;
	line-height: 22px;
}

.btn_large {
	height: 38px;

	font-size: 17px;
	line-height: 38px;
}



/* fields */

.field {
	position: relative;
	display: inline-block;
	*display: inline;
	*zoom: 1;
}

.field input,
.field textarea,
.field select,
.field_select_wrap {
	background: #fff;
	border: 1px solid #cdcdcd;
	border-bottom: 1px solid #d5d4d4;

	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;

	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);

	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-ms-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;

	padding: 6px 12px;
	width: 100%; height: auto;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

	color: #555555;
	font: 14px/20px Arial, Helvetica, sans-serif;
}
.field textarea {
	padding: 12px;
	height: 140px;
	resize: none;
}

.field select {
	padding: 6px;
}

.field_small input {
	padding: 3px 8px 2px;
}

.field input:hover,
.field textarea:hover {
	border: 1px solid #94a7cc;
}
.field input:focus,
.field textarea:focus {
	border: 1px solid #94a7cc;

	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2), 0 0 6px rgba(121, 164, 252, 0.9);
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2), 0 0 6px rgba(121, 164, 252, 0.9);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2), 0 0 6px rgba(121, 164, 252, 0.9);
}

/* field with select */

.field_with_select > input {
	padding-right: 24px;
}
.field_with_select_arrow {
	background: url(/img/sprite.png) -200px -1109px;
	width: 21px; height: 27px;

	border-left: 1px solid #ececec;
	cursor: pointer;

	position: absolute;
	top: 4px; right: 1px;
}
.field_with_select_arrow:hover {
	background: #f8f8f8 url(/img/sprite.png) -200px -1109px;
	background: rgba(246, 246, 246, 0.6) url(/img/sprite.png) -200px -1109px;
}

/* field select */

/*.field_select > select {
	position: absolute; z-index: 3;
	opacity: 0;

	cursor: pointer;
}*/
.field_select_wrap {
	width: 100%; height: 34px;
	position: relative; z-index: 2;
}
.field_select_arrow {
	background: #f8f8f8;
	background: -moz-linear-gradient(top,  #f8f8f8 0%, #e2e2e2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e2e2e2));
	background: -webkit-linear-gradient(top,  #f8f8f8 0%,#e2e2e2 100%);
	background: -o-linear-gradient(top,  #f8f8f8 0%,#e2e2e2 100%);
	background: -ms-linear-gradient(top,  #f8f8f8 0%,#e2e2e2 100%);
	background: linear-gradient(to bottom,  #f8f8f8 0%,#e2e2e2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e2e2e2',GradientType=0 );

	-webkit-border-top-right-radius: 2px;
	-webkit-border-bottom-right-radius: 2px;
	-moz-border-radius-topright: 2px;
	-moz-border-radius-bottomright: 2px;
	border-top-right-radius: 2px;
	border-bottom-right-radius: 2px;

	width: 34px;
	height: 32px;

	cursor: pointer;

	position: absolute;
	top: 0; right: 0;
}

/* field range */

.field_range {
	
}
	.field_range_label {
		width: 140px;

		padding: 0 0 0 16px;
		position: absolute;
		top: 0; right: -160px;

		font: 700 15px/34px Arial, Helvetica, sans-serif;
	}
	.field_range_box {
		padding: 12px 0 0;
	}
		.field_range_box_wrap {
			background: none !important;
			border: none !important;
			
			height: 10px !important; width: 262px;
			margin: 0 0 0 32px;
		
			position: relative;
			z-index: 3;
		}
			.field_range_box_wrap > a.ui-slider-handle {
				background: url(/img/sprite.png) -101px -656px !important;
				border: none;
				width: 68px; height: 16px;

				margin: 3px 0 0 -34px;

				cursor: pointer;
			}

		.field_range_bg {
			background: #eee;
			border: 1px solid #d5d5d5;
			height: 8px; width: 100%;

			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			border-radius: 3px;

			position: absolute;
			top: 12px; left: 0;
		}

/* field group */

.field_group {
	width: 100%;
}

	.field_group_addon {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;

		height: 30px;		
	}
		.field_group_addon span {
			background: #eee;
			border: 1px solid #cdcdcd;
			border-right: none;

			-webkit-border-top-left-radius: 2px;
			-webkit-border-bottom-left-radius: 2px;
			-moz-border-radius-topleft: 2px;
			-moz-border-radius-bottomleft: 2px;
			border-top-left-radius: 2px;
			border-bottom-left-radius: 2px;

			display: block;
			padding: 0 12px;
			height: 30px;

			font: 700 11px/32px Arial, Helvetica, sans-serif;
		}

	.field_group_control {
		width: 100%;
	}
		.field_group_control input {
			height: 32px;
			margin: 0;

			-webkit-border-top-left-radius: 0;
			-webkit-border-bottom-left-radius: 0;
			-moz-border-radius-topleft: 0;
			-moz-border-radius-bottomleft: 0;
			border-top-left-radius: 0;
			border-bottom-left-radius: 0;
		}