/*---------------------------------------------------------
 9. Forms (_forms.scss)
-------------------------------------------------------- */
button,
input,
textarea {
	max-width: 100%;
	font-family: inherit;
	-webkit-font-smoothing: inherit;
	-moz-osx-font-smoothing: inherit;
	border: none;
	border-bottom: 2px solid #333;
	border-radius: 0;
	background: transparent;
	font-size: 16px;
	@include rem('padding', $base/2 0);
	&:focus {
		outline: none; //reset
	}
}

label {
	display: block;
	padding-bottom: 8px;
	font-size: 13px;
	line-height: 16px;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;
	color: #494949;
}

legend {
	text-transform: uppercase;
}

textarea {
	resize: vertical;
	border: 2px solid #333;
	@include rem('padding', $base/2);
	background: #fff;
	border: 2px solid #F0F0F0;
}

input {
	background: #fff;
	border: 2px solid #F0F0F0;
	min-height: 54px;
	@include rem('padding', 10px);
}

select {
	max-width: 100%;
	width: 100%;
	outline: none; //reset
	background: #fff;
    font-size: 18px;
    line-height: 30px;
    color: #2C2C2C;
    height: 54px;
    border: 2px solid #F0F0F0;
    background: url(assets/img/down.png) no-repeat right #fff;
    background-size: 14px;
    background-position: calc(100% - 13px);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 35px 8px 8px;
}
/*---------------------------------------------------------
 Buttons (_forms.scss)
-------------------------------------------------------- */
button,
.button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
	display: inline-block;
	color: #fff;
	@include rem('padding', 16px 45px);
	@include transition(all 150ms);
	transition: all 150ms;
	background: $accent;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 3px;
	font-weight: 700;
	border: none;
	text-transform: uppercase;
	border-radius: 1px;
	&:hover {
		background: #111112;
		color: #fff;
	}
}

.search-form {
	position: relative;
	label {
		padding-top: 0;
	}
}

.search-field {
	-webkit-appearance: none !important;
	width: 100%;
	border: 2px solid #f0f0f0;
	border-radius: 3px;
	@include rem(font-size, 15px);
	@include rem(padding-right, 10px);
	@include rem(padding-left, 10px);

	.widget_search & {
		@include rem(padding-right, 50px);
	}
}

.search-submit {
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	text-align: center;
	padding: 5px;
	height: 100%;
	max-height: 54px;
	background: transparent;
    color: #b1b1b1;
    border-radius: 0 3px 3px 0;

    &:hover {
    	background: transparent;
    	color: inherit;
    }
}
