/*---- Search form ----*/
#search-form{
	float:right;
	position:relative;
	vertical-align:top;
	overflow:hidden;
	padding-right:1px;
}
	#search-form fieldset {border:none; padding:0; overflow:hidden; position:relative;}
		#search-form label {display:block; position:relative;}
		#search-form input{
			padding:9px 35px 7px 12px;
			background:url(../images/input-tail.jpg) center top repeat-x #241f1d;
			border:none;
			font:10px "Trebuchet MS", Arial, Helvetica, sans-serif;
			color:#5e5754;
			text-transform:uppercase;
			margin:0;
			outline:none;
			width:174px;
			border-radius:9px;
			box-shadow:0 1px 0 #352f2c;
			-webkit-box-shadow:0 1px 0 #352f2c;
			margin-bottom:1px;
		}
	#search-form a{
		position:absolute;
		right:0;
		top:0;
		display:block;
		width:34px;
		height:31px;
		overflow:hidden;
		background:url(../images/search-button.png) center 8px no-repeat;
		cursor:pointer;
	}
		#search-form a:hover{background-position:center -31px;}

/***** contact form *****/
#contact-form {
	position:relative;
	vertical-align:top;
	width:100%;
	z-index:1;
}
	#contact-form fieldset {border:none; padding:0; width:100%; overflow:hidden;}
		#contact-form label {display:block; min-height:41px; position:relative;}
			#contact-form .message{min-height:307px;}
			#contact-form input, #contact-form textarea, #contact-form select {
				padding:9px 10px 7px;
				background:url(../images/input-tail.jpg) center top repeat-x #241f1d;
				border:none;
				font:10px "Trebuchet MS", Arial, Helvetica, sans-serif;
				color:#5e5754;
				text-transform:uppercase;
				margin:0;
				outline:none;
				width:280px;
				border-radius:9px;
				box-shadow:0 1px 0 #352f2c;
				-webkit-box-shadow:0 1px 0 #352f2c;
				margin-bottom:1px;
			}
			#contact-form .area .error {float:none;}
			#contact-form textarea {
				background: #241f1d;
				width:520px;
				height:275px;
				resize:none;
				overflow:auto;
			}
			#contact-form .success {display:none; margin-bottom:15px;}
			#contact-form .error,
			#contact-form .empty {
				color:#eca637;
				font-size:11px;
				line-height:14px;
				display:none;
				overflow:hidden;
				margin-bottom:5px;
			}
.buttons-wrapper{text-align:right; position:relative;}
.buttons-wrapper a {cursor:pointer;}

@media only screen and (max-width: 995px) {
	#search-form input{width:124px;}
	#contact-form textarea{width:408px;}
}
@media only screen and (max-width: 767px){
	#search-form {float:none; background:url(../images/border.png) 0 bottom repeat-x; padding-bottom:30px; margin-bottom:30px;}
	#search-form fieldset{float:right;}
	#search-form input{width:173px;}
	#contact-form textarea{width:400px;}
}
@media only screen and (max-width: 479px){
	#contact-form textarea{width:280px;}
}