#jsearch_control_area {
	background		: #f8f8f8;
	padding			: 8px 8px 8px 4px;
	margin			: 10px;
	border-radius		: 10px; 
	-moz-border-radius	: 10px; 
	-webkit-border-radius	: 10px;
	border			: 1px solid #444444;
	color			: black;
	font-size		: 11pt;
	font-weight		: normal;
	font-family		: 'Helvetica', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	width			: 620px;
}

#jsearch_control_area table {
	border-collapse		: collapse !important;
}

#jsearch_control_area td {
	padding			: 0;
	margin			: 0;
	vertical-align		: top;
}

#jsearch_control_area .hr {
	border-top		: 1px solid #444;
	width			: 500px;
	margin-left		: auto;
	margin-right		: auto;
	margin-top		: 6px;
	margin-bottom		: 6px;
}

#jsearch_loading_notice {
	width			: 100%
	text-align		: center;
}

#jsearch_control_input_table {
	margin-left		: auto;
	margin-right		: auto;
	display			: none;
}

.jsearch_control_input_col {
	text-align		: center;
	width			: 200px;
}

#jsearch_term_box {
	width			: 140px;
	float			: left;
} 

#jsearch_control_area input[type=text], #jsearch_gsearch_box, #jsearch_control_area input[type=button], #jsearch_cat_parents_select, #jsearch_ppp_input {
	border			: 1px solid #999;
	padding			: 0px;
	margin			: 0px;
	line-height		: 10pt;
	font-size		: 10pt;
	height			: 18px !important;
}
#jsearch_control_area input[type=text], #jsearch_gsearch_box {
	background 		: url('jsearch_shadow.png');
	padding-left		: 4px;
}
#jsearch_control_area input[type=button] {
	color			: #444;
	font-size		: 8pt;
	font-weight		: bold;
	cursor			: hand;
	padding-bottom		: 3px;
	border-left		: 0;
	border-right		: 0;
	border-top		: 1px solid #999;
	border-bottom		: 1px solid #999;
}
.jsearch_input_focused { /*Applied via jquery to outline active boxes*/
	border			: 1px solid orange !important;
}

#jsearch_selected_terms_list, #jsearch_selected_cats_list, #jsearch_selected_tags_list {
	margin-left		: 15px;
	margin-top		: 8px;
	margin-bottom		: 8px;
}

.jsearch_item_name { /* One of the printed terms, categories, or tags that has been added to the search */
	padding-left		: 8px !important;
	padding-top		: 0px;
	text-align		: left;
}

/* This part for the google-like search box */
.jsearch_gsearch_box_off {
	background		: url('jsearch_gsearch_box_bk.gif') !important;
}

/* The pop up help */
#jsearch_help_pop {
	position		: absolute !important;
	width			: 250px;
	background		: #ededed;
	margin			: 0;
	padding			: 10px;
	border			: 2px solid #111;
	font-size		: 10pt;
	text-align		: left;
	color			: black !important;
	z-index			: 1001 !important;
	top 			: 100px;
	left			: 100px;
	display			: none;
}

.jsearch_button {
	background		: #ededed;
	height			: 16px;
	border-radius		: 6px; 
	-moz-border-radius	: 6px; 
	-webkit-border-radius	: 6px;
	border			: 1px solid #444444;
	line-height		: 11px;
	color			: black;
	text-align		: center;
	font-size		: 10pt;
	font-weight		: normal;
	font-family		: 'Helvetica', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	cursor			: hand;
	cursor			: pointer;
}

.jsearch_button_on {
	border			: 1px solid #bf8104;
}

.jsearch_button_off {
	border			: 1px solid #444444;
}

#jsearch_options_button, #jsearch_help_button, #jsearch_about_button, #jsearch_help_closer_button {
	cursor			: pointer;
	cursor			: hand;
}

#jsearch_help_area {
	display			: none; 
}

#jsearch_help_closer_button {
	width			: 150px;
	margin-left		: auto;
	margin-right		: auto;
}

.jsearch_question_title {
	padding-top		: 0px !important;
	padding-left		: 4px !important;
	padding-right		: 5px !important;
}

#jsearch_english {
	width			: 90%;
	padding			: 20px;
	margin-left		: auto;
	margin-right		: auto;
	border			: 1px solid #444444;
	border-radius		: 10px; 
	-moz-border-radius	: 10px; 
	-webkit-border-radius	: 10px;
}

/************************/
/*****> Term stuff <*****/
/************************/

#jsearch_term_input {
	background		: url('jsearch_shadow2.png') !important; 
	width			: 146px;
}

/* I shouldn't have had to do this, but there you have it. Margins didn't work on term input for some f'ing reason. */
#jsearch_term_input_td {
	padding-left		: 5px;
	padding-bottom		: 5px;
}
#jsearch_term_input_q {
	padding-top		: 2px;
}


#jsearch_term_select_pop_open_button, #jsearch_cat_select_pop_open_button, #jsearch_tag_select_pop_open_button {
	width			: 180px;
	font-size		: 7pt; 
	padding-top		: 3px; 
	height			: 13px;
	margin-left		: auto;
	margin-right		: auto;
}

#jsearch_term_pop_closer_button, #jsearch_cat_pop_closer_button, #jsearch_tag_pop_closer_button {
	width			: 175px;
	font-size		: 9pt;
	margin-left		: auto;
	margin-right		: auto;
}

.jsearch_pop_done_button {
	margin-top		: 7px !important; 			/* Had to make an adjustment to their position for some reason. Ah well... */
	padding-top		: 4px !important; 			/* Had to make an adjustment to their position for some reason. Ah well... */
}

/* The next three are for the buttons that open the main control pop-ups */
#jsearch_term_select_pop_open_button {
}

#jsearch_cat_select_pop_open_button {
}

#jsearch_tag_select_pop_open_button {
}

#jsearch_term_selection_pop, #jsearch_cat_selection_pop, #jsearch_tag_selection_pop {
	padding			: 10px;
	border			: 1px solid black;
	display			: none;
	position		: absolute;
	background		: #efefef;
	text-align		: left;
	z-index			: 1000;
}


/****************************/
/*****> Category stuff <*****/
/****************************/
#jsearch_cat_dropbox {
}

#jsearch_cat_filter {
	background		: url('jsearch_shadow2.png') !important;	
}

#jsearch_cat_dropbox_container, #jsearch_tag_dropbox_container {
	padding			: 8px;
	border			: 1px solid black;
	background		: url('jsearch_shadow2.png');
	height			: 200px;
	scroll			: auto;
	overflow		: scroll;
	margin-top		: 10px;
}

#jsearch_cat_parents_select {
	border			: 1px solid black;
}

/***********************/
/*****> Tag stuff <*****/
/***********************/

#jsearch_tag_filter {
	background		: url('jsearch_shadow2.png') !important;	
}

/****************************/
/*****> Options stuff  <*****/
/****************************/

#jsearch_options_area {
	display			: none;
	padding-bottom		: 21px;
	padding-top		: 5px;
}

#jsearch_options_area * {
	font-size		: 9pt;
	color			: 444;
}

#jsearch_options_area table {
	margin-top		: 8px;
	margin-left		: auto;
	margin-right		: auto;
}

/****************************/
/*****> Search button  (and friends) <*****/
/****************************/
#jsearch_search_button_area {
}

#jsearch_search_button {
	margin-left		: auto;
	margin-right		: auto;
	font-size		: 10pt;
	line-height		: 16px;
	font-weight		: bold;
	width			: 200px;
}

/***************************/
/*     Widgets and ctonrols styles */
/***************************/


/*************************************************/
/* The JSEARCH equivalent of a normal search box */

/* This is here so you can apply styles to the whole section at once */
#jsearch_sb {
	text-align		: center;
}
/* The keyword input box */
#jsearch_sb_terms {
	margin-top		: 10px;
	width			: 125px;
}
/* The "Search" button */
#jsearch_sb_button {
	display			: block; 	/* Puts it on a new line. If you want it next to the text box, remove this */
	margin-left		: auto;
	margin-right		: auto;
	margin-top		: 4px;
	margin-bottom		: 4px;
}
/* The "Advanced Search link */
#jsearch_sb_advanced {
	display			: block; 	/* Puts it on a new line. If you want it next to the text box, remove this */
}



