/*********************************************************/
/******************** FORMS ******************************/
/*********************************************************/

input, textarea, select { 
    outline: none;
	border: 0;
	margin: 0;
	padding: 0;
}

input[type="button"]{
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}

/*** FIELDSET ***/

fieldset{
	position: relative;
	margin-left: 150px;
	clear: both;
}

fieldset.None{
	margin: 0;
}

fieldset.Right{
	margin-left: 0px;
	margin-right: 150px;
}

fieldset.Left.Right{
	margin-right: 150px;
	margin-left: 150px;
}

fieldset p{
	line-height: 30px;
}

fieldset.Short{
    margin-left: 100px;
}

/*** LABEL ***/

p.Label,
label{
	float: left;
	display: inline-block;
	line-height: 38px;
	white-space: nowrap;
	margin-right: 5px;
	font-family: "Nunito";
	font-size: 12px;
	color: #252161;
	text-transform: uppercase;
}
    

p.Label{
    white-space: normal;
}

p.Label.Error{
	color: red;
}

img.Label{
	float: left;
	padding: 3px 10px 14px 0;
	cursor: pointer;
}

fieldset label:first-child{
	position: absolute;
	left: -150px;
	padding: 0;
}

fieldset label.Short:first-child{
    left: -100px;
}

/*** LEGEND ***/

legend{	
	line-height: 30px;
	font-size: 18px;
	font-weight: bold;
	color: #252161;
}

fieldset legend{
	position: absolute;
	left: -150px;
}

/*** LAYOUT RESET FOR MOBILES ***/

@media only screen and (max-width: 605px) {
	
	fieldset{ margin: 0; }
	fieldset select { bottom: 10px; }
	fieldset.Right { margin: 0; }
	fieldset label:first-child{ position: static; width: 100%; }
	fieldset legend{ position: static;}
	
}

/*** COMMON STYLE ***/

input,
textarea,
.customSelect{
	border: 1px solid #cbcbcb;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.2); 
	-moz-box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.2); 
	-webkit-box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
}

/*** INPUT TEXT ***/

input{
	display: inline-block;
	width: 100%;

	height: 38px;
	padding: 0.45em 1.0em 0.45em;
	margin-bottom: 10px;
	
	font-size: 14px;
	color: #515151 !important;
}

input.Short{ width: 80px; margin-right: 1em; }

/*** SELECT ***/

select{
	font-size: 0.9em;
	width: 100% !important;
	height: 38px !important;
	margin-bottom: 10px;
	visibility: hidden;	
	left: 0px;
	top: 0px;
}

.selectContainer{
	float: left;
	width: 100%;
	position: relative;
}

.selectContainer.Short{
	width: auto;
	margin: 0 10px 0 0;
}

select.hasCustomSelect{ visibility: visible; }

select option{
	color: #515151 !important;
}

select.Short{ width: 70px !important; }
.customSelect.Short {width: 70px; }

.customSelect{
	line-height: 36px;
	padding: 0 30px 0 10px;
	margin: 0 0 10px;
	width: 100%;
	
	background-image: url('../images/elem/select.png');
	background-repeat: no-repeat;
	background-position: right;
	background-color: #ffffff;
	
	font-size: 14px;
	color: #515151;
}

.customSelect.customSelectFocus,
.customSelect.customSelectOpen {
	border: 1px solid #515151;
}

.customSelect span {
	width: 100% !important;
	color: #515151 !important;
}

select[disabled] + .customSelect{ background-color: #ddd; }

select option[disabled] { background-color: #ddd; }

/*** TEXTAREA ***/

textarea{
	float: left;
	width: 100%;
	height: 70px;
	padding: 0.5em;
	margin-bottom: 10px;
	font-size: 14px;
	color: #515151 !important;
}

/*** REQUIRED ***/

span.Required{
	color: #ee371f;
}

/*** ERROR LABEL ***/

label.error{
	position: absolute;
	top: 25px;
	left: 0px;
	padding: 0 8px 0 25px;
	z-index: 100;
	
	border: 1px solid #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	
	background: url('../images/elem/exclamation.png') no-repeat 4px 11px #ffffff;
	
	color: #ee371f;
}

/*** RADIO ***/

input[type="radio"]{
	display: none;
}

span.radio {
	float: left;
	width: 18px;
	height: 20px;
	margin: 10px 5px 20px 5px;
	background-image: url('../images/buttons/radio.png');
	cursor: pointer;
}

/*** CHECKOUT ***/

input[type="checkbox"]{
	display: none;
}

span.checkbox {
	float: left; 
	width: 18px;
	height: 20px;
	margin: 10px 5px 20px 5px;
	background-image: url('../images/buttons/checkbox.png');
	cursor: pointer;
}

span.radio.Selected,
span.checkbox.Selected{
	background-position: 0 -20px;
}

/*** RADIO STAR ***/

span.radio.Star{
	opacity: 0.5;
	height: 17px;
	width: 17px;
	background-image: url('../images/rating/star-big.png');
}

span.radio.Star.Hovered{
	opacity: 0.9;
}

span.radio.Star.Selected,
span.radio.Star.Starred,
span.radio.Star:hover{
	opacity: 1.0;
	background-position: 0;
}

/*** RADIO VARIATION ***/

.First.Variations .radio,
.Second.Variations .radio,
.Third.Variations .radio{
	background: none;
	background-color: #888686;
	color: #FFF;
	font-size: 0.8em;
	width: auto;
	height: 30px;
	line-height: 28px;
	padding: 0 15px;
	border: 1px solid #FFF;
	margin: 0 5px 10px 0;
	cursor: pointer;
}

.First.Variations .radio.Selected,
.Second.Variations .radio.Selected,
.Third.Variations .radio.Selected{
	background-color: #252161;
}

/*** CAPTCHA ***/

#g-recaptcha-1,
#g-recaptcha-2{
	float: left;
	margin-bottom: 10px;
}

@media only screen and (max-width: 339px) {
	#g-recaptcha-1,
	#g-recaptcha-2{
		margin-left: -21px;
	}
}