/* \Sentra.Designs\BasicDesigner\modules\searchform\style-searchform-common.css */

.sformborder_scmn(@search_borderwidth) when (@search_borderwidth > 0) {
	border: {{search_borderwidth}}px {{search_borderstyle}} {{search_bordercolor}};
}
.sformborderradius_scmn(@search_borderradius) when (@search_borderradius > 0) {
	border-radius: {{sform_topborderradius}}px {{sform_topborderradius}}px {{sform_bottomborderradius}}px {{sform_bottomborderradius}}px;
}

.sform_shadow_scmn(@search_shadow_color) when not (@search_shadow_color = transparent) {
	box-shadow: {{search_ShadowPosX}}px {{search_ShadowPosY}}px {{search_shadow_blur}}px {{search_shadow_spread}}px {{search_shadow_color}} {{search_shadow_location}};
}
.sformcmn_input_text_padding(@sformlens_posx) when (@sformlens_posx = left) {
	padding: {{sinp_padding}}px {{sinp_padding}}px {{sinp_padding}}px {{lenswidth}}px + {{sinp_padding}}px !important;
}
.sformcmn_input_text_padding(@sformlens_posx) when (@sformlens_posx = right) {
	padding: {{sinp_padding}}px {{lenswidth}}px + {{sinp_padding}}px {{sinp_padding}}px {{sinp_padding}}px  !important;
}

.search_hl {
	background: {{shl_bg_color}};
	color: {{shl_color}};
	padding: 0 {{sinp_padding}}px;
	font-weight: {{shl_fontweight}};
}
.sbutton {
	float: left;
	background: transparent url(./{{template_images}}/{{form_sendbutton_file}}) no-repeat scroll left center;
	height: {{sformbuttonheight}}px;
	width: {{sformbuttonwidth}}px;
	margin: {{sbut_vmargin}}px 0 {{sbut_vmargin}}px 3px;
}
.sbutton:hover {
	background: transparent url(./{{template_images}}/{{form_hover_sendbutton_file}}) no-repeat scroll left center;
}

form.adsefo,
.sform {
	input[type="text"] {
			float:left;
			.sformcmn_input_text_padding({{sformlens_posx}});
			.sformborder_scmn({{search_borderwidth}});
			.sform_shadow_scmn({{search_shadow_color}});
			.sformborderradius_scmn({{sform_topborderradius}} + {{sform_bottomborderradius}});
	}
}
.sfake {
	border-width:0;
}
