/* form clearing */
form:before,
form:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
form:after { clear: both; }
form { zoom: 1; }

/* global input for search forms */
input.portal_searchfield, input.search_field
{
	border: 			1px solid #E5E5E5;
	border-radius: 		0;
	padding:			0 10px;
	height: 			33px;
	line-height:		33px;
	margin: 			0;
	vertical-align: 	middle;
	float:				left;
	
	display: 			inline-block;
	
	-moz-box-sizing: 	border-box;
	box-sizing: 		border-box;
	-webkit-box-sizing: border-box;
	
	outline:	0;
}

/* global search button */
input.search_button
{
	width: 				auto;
	height: 			33px;
	color: 				white;
	float:				left;
	padding:			0 10px;
	margin:				0;
	overflow:			visible;
	
	font-size: 			0.8em;
	line-height: 		33px;
	font-family: 		'EffraMedium', Arial, Helvetica, sans-serif;
	
	border:				none;
	border-radius:		0;
	
	background-image: url(../images/btns/btn-submit-blank.png);
	background-position: top right;
	background-repeat: no-repeat;
	background-color: transparent;
}

/* form link */

p.core_searchform_links
{
	clear:			both;
	zoom:			1;
	padding-top:	0.8em;
}

/* simple form styles */
.frm-simple input {
outline:0;
border:1px solid #E5E5E5;
height:31px;
width:90%;
font-size:.9231em;
margin:0;
padding:0 5%;
}

.frm-site-search ol li+li {
height:33px;
}

.frm-site-search ol button {
width:100%;
height:33px;
background-image:url(../images/spm-global-horizontal.png);
background-repeat:no-repeat;
background-position:right -134px;
}

.frm-site-search ol button:hover {
background-image:url(../images/spm-global-horizontal.png);
background-repeat:no-repeat;
background-position:right -167px;
}

.frm-site-search ol button:active {
background-image:url(../images/spm-global-horizontal.png);
background-repeat:no-repeat;
background-position:right -200px;
}

.ie9 .frm-simple input {
line-height:100%;
}

.ie8 .frm-simple input,.ie7 .frm-simple input {
line-height:33px;
height:31px;
margin-top:0;
width:90%;
}

.ie7 .frm-simple input,.ie7 #col-primary #main .frm-simple input {
margin-top:-1px;
}

.frm-simple input,x:-moz-any-link {
padding-left:10px;
padding-right:10px;
width:92%;
}

/* advanced form */
form.core_searchform #advanced
{
	margin-top:		1em;
	padding:		5.45851528384279%; /* 25px / 458px */
	width:			89.08296943231441%;  /* 408px / 458px */
	position:		relative;
	
	border:1px solid #E5E5E5;
	
	background-color: white;
}

form.core_searchform #advanced:before,
form.core_searchform #advanced:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
form.core_searchform #advanced:after { clear: both; }
form.core_searchform #advanced { zoom: 1; }

form.core_searchform #advanced div.core_filter
{
	float:		left;
	width:		48.03921568627451%;  /* 196px / 408px */
}

form.core_searchform #advanced div.core_filter select
{
	width:		100%;
}

div.portal_hierarchical_popup_wrapper input
{
	float:			none;
	height:			20px;
	line-height: 	20px;
	display:		block;
	padding:		0 20px 0 10px;
	
	width:			84.5360824742268%; /* 164px / 196px */
}

div.core_filter
{
	margin-top:		0;
	margin-bottom:	1em;
	
}

div.core_filter_legend
{
	padding-left:	0;
	margin-bottom:	0.5em;
}

form.core_searchform #advanced .type_filter,
form.core_searchform #advanced .language_filter,
form.core_searchform #advanced .workflow_filter,
form.core_searchform #advanced .project_status_filter
{
	margin-right:	3.92156862745098%; /* 16px / 408px */
}

form.core_searchform #advanced div.core_filter .core_filter_publicationyears_content select,
form.core_searchform #advanced div.project_date_filter .portal_facet_content select
{
	display:	inline;
	width:		41%;
}

form.core_searchform #advanced div.core_filter .core_filter_publicationyears_content span,
form.core_searchform #advanced div.project_date_filter .portal_facet_content span
{
	display:	inline;
	margin:		0 0.5em;
}

form.core_searchform #advanced .core_filter_publicationyears_content:before,
form.core_searchform #advanced .core_filter_publicationyears_content:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
form.core_searchform #advanced .core_filter_publicationyears_content:after { clear: both; }
form.core_searchform #advanced .core_filter_publicationyears_content { zoom: 1; }

form.core_searchform #advanced .search_button
{
	width:			57px;
	height:			28px;
	line-height:	28px;
	
	margin:			0.5em 0 0 0 !important;
	
	font-family: 	'LexiaBold', Georgia, sans-serif;
	font-size: 1em; /* 13px */
	
	background-image:url(../images/btns/btn-go.gif);
	background-repeat:no-repeat;
	background-position:top left;
}

/* right hand form */
div.layout_right form.layout_search
{
	padding:		0;
}

div.layout_right form.layout_search input
{
	float:			left;
}

div.layout_right form.layout_search input.layout_search_text
{
	-webkit-border-radius: 0;
  	-moz-border-radius: 0;
  	-o-border-radius: 0;
  	-ms-border-radius: 0;
  	border-radius: 0;
	
	padding:	0px 10px;
	height:		33px;
	width:		62.72727272727273%;
}

div.layout_right form.layout_search input.search_button
{
	width:		27.27272727272727%;
	font-size:	11px;
}

div.layout_content div.search_box input.portal_searchfield
{
	width:		67%;
}

div.layout_content div.search_box input.search_button
{
	width:		13%;
}

div.layout_content_wide div.search_box input.portal_searchfield
{
	width:		42.85714285714286%;
}

div.layout_content_wide div.search_box input.search_button
{
	width:		10%;
}
