form {
	padding:0;
    margin: 0;
}

fieldset,
input[type=number],
input[type=search],
input[type=tel],
input[type=time],
input[type=url],
input[type=checkbox],
input[type=text],
input[type=password],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=month],
input[type=week],
input[type=email],
select,
textarea {
    padding: 0 10px;
    margin: 0;
    font-family: 'Source Sans Pro';
    font-size: 14px;
    line-height: 15px;
    color: #333333;
    max-width: 100%;
    height: 35px;
    background: #fff;
    box-shadow: none;
    border: 1px solid #dddddd;
}
input[type=text].input-small,
input[type=number].input-small{
	/*
    padding: 0 0 0 5px;
    font-size: 12px;
    line-height: 12px;
    width: 60px;
    height: 23px;
    */
    width:75px;
    height: 33px;
}
fieldset {
	padding: 10px;
	margin: 0;
	font-family: 'Source Sans Pro';
	height: 65px;
}
fieldset legend {
    padding: 3px 10px;
    margin: 0;
    margin-left: 0;
    font-family: 'Source Sans Pro';
    font-size: 12px;
    font-weight: normal;
    background: #eee;
    border: 1px solid #dddddd;
}
fieldset input[type=file]{
	font-family: 'Source Sans Pro', sans-serif;
    font-size: 12px;
    line-height: 11px;
	border: 1px solid transparent;
}
textarea {
    height: 100px;
    resize: none;
    padding: 10px
}
input[type=text]::-webkit-input-placeholder {
    color: #999
}
input[type=text]:-moz-placeholder {
    color: #999;
    opacity: 1
}
input[type=text]::-moz-placeholder {
    color: #999;
    opacity: 1
}
input[type=text]::-ms-input-placeholder {
    color: #999
}
input[type=password]::-webkit-input-placeholder {
    color: #999
}
input[type=password]:-moz-placeholder {
    color: #333;
    opacity: 1
}
input[type=password]::-moz-placeholder {
    color: #999;
    opacity: 1
}
input[type=password]::-ms-input-placeholder {
    color: #999
}
textarea::-webkit-input-placeholder {
    color: #999
}
textarea:-moz-placeholder {
    color: #999;
    opacity: 1
}
textarea::-moz-placeholder {
    color: #999;
    opacity: 1
}
textarea:-ms-input-placeholder {
    color: #999
}
input[type=number]:focus,
input[type=number]:hover,
input[type=search]:focus,
input[type=search]:hover,
input[type=tel]:focus,
input[type=tel]:hover,
input[type=time]:focus,
input[type=time]:hover,
input[type=url]:focus,
input[type=url]:hover,
input[type=checkbox]:focus,
input[type=checkbox]:hover,
input[type=text]:focus,
input[type=text]:hover,
input[type=password]:focus,
input[type=password]:hover,
input[type=date]:focus,
input[type=date]:hover,
input[type=datetime]:focus,
input[type=datetime]:hover,
input[type=datetime-local]:focus,
input[type=datetime-local]:hover,
input[type=month]:focus,
input[type=month]:hover,
input[type=week]:focus,
input[type=week]:hover,
input[type=email]:focus,
input[type=email]:hover,
select:focus,
select:hover,
textarea:focus,
textarea:hover {
    color: #333333;
    background: #fff;
    box-shadow: none;
    border: 1px solid #aaa;
}

fieldset.error-border,
select.error-border,
input[type="text"].error-border,
input[type="password"].error-border,
input[type="date"].error-border,
input[type="datetime"].error-border,
input[type="datetime-local"].error-border,
input[type="month"].error-border,
input[type="week"].error-border,
input[type="email"].error-border,
input[type="number"].error-border,
input[type="search"].error-border,
input[type="tel"].error-border,
input[type="time"].error-border,
input[type="url"].error-border,
input[type="checkbox"].error-border,
textarea.error-border{
	border-color: #fc7878;
}

fieldset.error-background,
select.error-background,
input[type="text"].error-background,
input[type="password"].error-background,
input[type="date"].error-background,
input[type="datetime"].error-background,
input[type="datetime-local"].error-background,
input[type="month"].error-background,
input[type="week"].error-background,
input[type="email"].error-background,
input[type="number"].error-background,
input[type="search"].error-background,
input[type="tel"].error-background,
input[type="time"].error-background,
input[type="url"].error-background,
input[type="checkbox"].error-background,
textarea.error-background{
	background: #ffddd1;
}

input[type=text]:disabled,
input[type=password]:disabled,
select:disabled,
textarea:disabled,
button.button:disabled,
a.button.disabled{
	color: #777;
	background: #ddd;
	border: 1px solid #ccc;
	opacity: 1.0;
}
/** SELECT **/
select.select-small{
    padding: 0 0 0 5px;
    margin: 0 0 0 0;
    font-family: 'Source Sans Pro';
    font-size: 12px;
    line-height: 12px;
    color: #333333;
    max-width: 100%;
    height: 20px;
    background: #fff;
    box-shadow: none;
    border: 1px solid #dddddd;
}
/** SWITCH **/
div.switch label {
	margin-bottom: 5px;
	text-indent: 100%;
	width: 4rem;
	height: 2rem;
}
div.switch input + label,
div.switch input:disabled + label,
div.switch input:disabled:hover + label {
	background: #ddd;
	border: 1px solid #ccc;
}
div.switch input:checked + label {
	background: #4b8cf7;
	border: 1px solid #337cf7;
}
div.switch input:checked:hover + label,
div.switch input:hover + label{
	background: #337cf7;
	border: 1px solid #337cf7;
}
div.switch input:checked:disabled + label {
	background: #999;
	border: 1px solid #777;
}
div.switch input.error-background + label {
	background: #fc7878;
	border: 1px solid #fc7878;
}
div.switch.tiny label {
	width: 40px;
	height: 25px;
}
div.switch.tiny label:after {
	width: 15px;
	height: 15px;
}
div.switch.tiny input:checked + label:after {
	left: 20px;
}
/** RANGE SLIDER **/
.range-slider {
	height: 10px;
	margin: 0;
}
.range-slider-active-segment {
	height: 10px;
}
.range-slider-handle {
	height: 20px;
}
.range-slider.radius .range-slider-handle {
	background: #01acfe;
	border: 1px solid #0196de;

	background: #4b8cf7;/*#01acfe;*/
	border: 1px solid #2574f5;
}
.range-slider.radius .range-slider-handle:hover {
	background: #aaa;
	border: 1px solid #aaa;
}
.range-slider.round .range-slider-handle {
	background: #01acfe;
	border: 1px solid #0196de;

	background: #4b8cf7;/*#01acfe;*/
	border: 1px solid #2574f5;
}
.range-slider.round .range-slider-handle:hover {
	background: #0196de;
	border: 1px solid #0181be;

	background: #2574f5;/*#01acfe;*/
	border: 1px solid #0b5ee8;
}
.range-slider.disabled .range-slider-handle,
.range-slider[disabled] .range-slider-handle {
	background: #ddd;
	border: 1px solid #ddd;
}
.range-slider.disabled .range-slider-handle:hover,
.range-slider[disabled] .range-slider-handle:hover {
	background: #ddd;
	border: 1px solid #ddd;
}


@media only screen and (max-width:640px) {
	select.select-small{
	    padding: 0 0 0 5px;
	    margin: 0 0 0 0;
	    font-family: 'Source Sans Pro';
	    font-size: 12px;
	    line-height: 12px;
	    color: #333333;
	    max-width: 100%;
	    height: 20px;
	    background: #fff;
	    box-shadow: none;
	    border: 1px solid #dddddd;
	}
}

@media only screen and (max-width:520px) {
	fieldset,
	input[type=number],
	input[type=search],
	input[type=tel],
	input[type=time],
	input[type=url],
	input[type=checkbox],
	input[type=text],
	input[type=password],
	input[type=date],
	input[type=datetime],
	input[type=datetime-local],
	input[type=month],
	input[type=week],
	input[type=email],
	select,
	textarea {
	    padding: 0 10px;
	    font-size: 13px;
	    line-height: 13px;
	    height: 30px;
	}
	textarea {
	    padding: 5px 10px;
	    height: 90px;
	}

	fieldset {
		height: 60px;
	}
	fieldset input[type=file]{
		margin-top:10px;
	}
}