/*---------------------------------
	FORMS
-----------------------------------*/

*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form{
	padding:0;
	margin:0;
}

fieldset{
	margin:0;
	padding:25px 0;
	border:none;
}

form h6{
	margin-top:0;
}

form hr{clear:both;border-bottom:0;border-top:1px solid #ccc;border-right:0;border-left:0;margin:20px 0;min-height: 0;height:1px;}


/*IE ONLY - I know, this is a stop gap*/
.msie fieldset{padding-top:25px;}

label{
	font-size:16px;
	font-weight:400;
	/*display:block;*/
	display:inline-block;
	*display:inline;
	width:40%;
	padding:12px 0 0 0;
	zoom:1;
	vertical-align:top;
	text-align:left;
}

fieldset .hint{
	color:#999;
	font-size:12px;
	margin:0 0 6px 32%;
}

input[type="text"], textarea, select{
	font-size:16px;
	display:inline-block;
	*display:inline;
	vertical-align: middle;
	width:57%;
	zoom:1;
	margin:4px 0;
	border:1px solid #bebebe;
	padding:5px 8px;
	background:#fff;
}

select{
	display:inline;
	margin:3px 0;
	border:1px solid #bebebe;
	padding:8px;
	vertical-align: middle;
	text-indent: 0px;
}

textarea{
	margin:3px 0;
	padding:8px;
	border:1px solid #bebebe;
	vertical-align: middle;
	font-family:inherit;
	font-size:inherit;
}

fieldset .desc{
	margin:0 0 15px 0;
}

fieldset div.group{
	display:inline-block;
	*display:inline;
	zoom:1;
	width:73%;
	margin:6px 0;
}

fieldset div.group label{
	display:inline;
	vertical-align:baseline;
	width:auto;
	padding-right:15px;
}

fieldset .desc span{
	color:#999;
	font-size:12px;
}
fieldset .desc .asterisk, span.asterisk{
	color:#ff0000;
}

span.etc-text{
	font-size:12px !important;
	color:#666 !important;
}





/* FOCUS STATES */
input[type="text"]:focus,
textarea:focus,
button:focus,
a.button:focus,
select:focus,
input[type="file"]:focus,
input[type="password"]:focus{
	-webkit-box-shadow: 0 0 3px #333333;
	-moz-box-shadow   : 0 0 3px #333333;
	box-shadow        : 0 0 3px #333333;
	border: 1px solid #333333;
	outline: none;
}

/* TRANSITION */
input[type="text"],
textarea,
button,
a.button,
a,
input[type="file"]{
	-moz-transition: -moz-box-shadow 0.5s, border 0.5s, background 0.5s;
	-webkit-transition: -webkit-box-shadow 0.5s, border 0.5s, background 0.5s;
	-o-transition:  box-shadow 0.5s, border 0.5s, background 0.5s;
	transition: box-shadow 0.5s, border 0.5s, background 0.5s;
}

input.checkbox,
input[type="checkbox"]{
	display:inline-block;
	*display:inline;
	margin:3px;
	padding:15px 0 0 0;
}

input.radio,
input[type="radio"]{
	display:inline;
	margin:3px 2px;
	padding:0;
}

input[type="radio"]:focus,
input[type="checkbox"]:focus{
	-webkit-box-shadow: 0 0 5px #6DB9FF;
	-moz-box-shadow   : 0 0 5px #6DB9FF;
	box-shadow        : 0 0 5px #6DB9FF;
	outline-color: #6DB9FF;
}

input.file,
input[type="file"]{
	/*font-size:0.8em;*/
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
	box-shadow:none;
	border:none;
	margin:3px 0;
}

input[type="submit"],
input[type="reset"],
input[type="button"]{
	display:block;
	font-size:18px;
	width:auto;
	min-width:150px;
	margin:0 auto;
	padding:12px 24px;
	color:#fff;
	text-decoration:none;
	cursor:pointer;
	border:none;
	border-radius: 5px;
	background: #000;
	transition:all 0.5s;
	-webkit-appearance: none;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover{
	background: #525252;
}



/*---------------------------------
	CAPTCHA
-----------------------------------*/

.captchabox{
	width:100%; 
	text-align:center;
}
.captchImg{
	width:170px;
	height:27px;
	margin:0 auto;
}
.captchImg img{
	float:left;
	margin-right:10px;
	border:none;
}
.captchImg a{
	display:block;
	width:24px;
	height:26px;
	float:left;	
}
.captchabox #imgCaptcha{
	border: 2px solid #b8c5d2;
}
.captchabox p{
	margin:10px 0 5px 0;
}
.captchabox div input[type="text"]{
	width:180px;
	text-align:center;
	font-size:16px;
	font-weight:bold;
	margin:0 auto;
}
.captchabox a:link, .captchabox a:active, .captchabox a:visited{
	color:#666;
}
.captchabox a:hover{
	color:#000;
}




@media screen and (max-width:640px){
	label{
		width:100%;
		font-size:14px;
	}
	input[type="text"], textarea, select{
		width:100%;
		font-size:14px;
	}
	fieldset div.group{
		width:100%;
	}

	select{
		font-size:14px;
		padding:6px;
	}

textarea{
		font-size:14px;
		padding:6px;
}
}