
/*** reset browser defaults ***/

input, textarea, button, select {
	margin:0;
	outline:none; 
}
input::-moz-focus-inner,
button::-moz-focus-inner {
	border:0;
}

/*** transitions ***/

input[type="text"],
input[type="password"],
input[type="button"],
input[type="submit"],
textarea,
div.select,
button {
	-webkit-transition:0.1s linear border;
	-moz-transition:0.1s linear border;
	-ms-transition:0.1s linear border;
	-o-transition:0.1s linear border;
	transition:0.1s linear border;
}

/*** textfield, textarea, checkboxes, select ***/

/*input[type="text"],
input[type="password"],
textarea,*/
div.select {
	position:relative;
	background-color:#FFE496;
	padding:5px;
	border:1px solid #b1b1b1;
	font-size:14px;
	line-height:normal;
	color: #823101;
	resize:none;
	
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	box-shadow:inset 2px -3px 3px 2px rgba(0, 0, 0, 0.15);
	-moz-box-shadow:inset 2px -3px 3px 2px rgba(0, 0, 0, 0.15);
	-webkit-box-shadow:inset 2px -3px 3px 2px rgba(0, 0, 0, 0.15);/**/
}
input[type="text"]:hover,
input[type="password"]:hover,
input[type="checkbox"]:hover,
textarea:hover,
div.select:hover {
	border-color:#b5b5b5;
}
input[type="text"].input_error,
input[type="password"].input_error,
input[type="checkbox"].input_error,
textarea.input_error,
div.select.input_error {
	border-color:#ff7070;
	box-shadow:0 0 5px #ff8585, inset 0 0 2px rgba(0, 0, 0, 0.12);
	-moz-box-shadow:0 0 5px #ff8585, inset 0 0 2px rgba(0, 0, 0, 0.12);
	-webkit-box-shadow:0 0 5px #ff8585, inset 0 0 2px rgba(0, 0, 0, 0.12);
}
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
div.select.select_focus {
	border-color:#8ccfff;
	box-shadow:0 0 5px #8ccfff, inset 0 0 2px rgba(0, 0, 0, 0.12);
	-moz-box-shadow:0 0 5px #8ccfff, inset 0 0 2px rgba(0, 0, 0, 0.12);
	-webkit-box-shadow:0 0 5px #8ccfff, inset 0 0 2px rgba(0, 0, 0, 0.12);
}

/*** required elements ***/

input[type="text"].input_required,
input[type="password"].input_required,
textarea.input_required {
	background-image:url('images/mForm-Sprites.png');
	background-position:right -44px;
	background-repeat:no-repeat;
}
div.select.input_required:after {
	content:'';
	display:block;
	position:absolute;
	top:3px;
	right:21px;
	width:3px;
	height:3px;
	background:url('images/mForm-Sprites.png') -2px -47px no-repeat;
}
input[data-required-hidden],
textarea[data-required-hidden],
div.select[data-required-hidden]:after {
	background-image:none !important;
}

/*** placeholders ***/

.placeholder {
	white-space:nowrap;
	cursor:text;
	color:#b0b0b0;
}
.placeholder_focus {
	color:#c5c5c5;
}
::-webkit-input-placeholder {
    color:#b0b0b0;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	color:#b0b0b0;
}
input:-moz-placeholder,
textarea:-moz-placeholder {
    color:#b0b0b0;
}

/*** checkboxes: webkit browsers ***/

input[type="checkbox"],
input[type="radio"] {
	/**/-webkit-appearance:none;
	font-size:0;
	line-height:0;
	padding:0;
	width:12px;
	height:12px;
	cursor:pointer;
	border:1px solid #d0d0d0;
	background-color:#fff;
	position:relative;
	vertical-align:bottom;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;
	-webkit-box-shadow:inset 0 0 2px rgba(0, 0, 0, 0.12);
	-moz-box-shadow:inset 0 0 2px rgba(0, 0, 0, 0.12);
	box-shadow:inset 0 0 2px rgba(0, 0, 0, 0.12);
}
input[type="checkbox"]:active,
input[type="radio"]:active {
	border-color:#8ccfff;
	background-color:#f0f9ff;
}
input[type="checkbox"]:checked::after {
	content:'';
	display:block;
	position:absolute;
	top:-1px;
	left:1px;
	width:13px;
	height:11px;
	background:url('images/mForm-Sprites.png') 0px 0px no-repeat;
}
span.checkbox,
label.checkbox {
	cursor:pointer;
	padding-left:8px;
	line-height:0px;
}

	
	