/* based on google's default theme */

#siteSearch {width: 375px;text-align:right;}
#siteSearch form{min-width:340px;display:inline-block;}
#siteSearchResults form{min-width:400px;display:inline-block;}
/* Slight reset to make the preview have ample padding. */
#siteSearch .gsc-control-cse,
.gsc-control-cse {
  padding: 1%;
  margin: 5px;
  width: 96% !important;
}
#searchForm
{
	height:18px;
	display:inline-block;
	width:340px;
	float:left;
}
#popupSearchForm
{
	height:18px;
	display:inline-block;
	float:left;
}
#popupFormWrap{float:right;width:432px;height:19px;margin-bottom:5px}
#searchForm td.gsc-search-button,
#searchForm td.gsc-clear-button,
#searchForm table.gsc-branding,
#popupSearchForm td.gsc-search-button,
#popupSearchForm td.gsc-clear-button,
#popupSearchForm table.gsc-branding
{display:none;}
#searchForm form.gsc-search-box {width:340px;}
#popupSearchForm form.gsc-search-box{width:400px;margin:0}
#searchForm table.gsc-search-box
{width:340px;margin: 0;}
#popupSearchForm table.gsc-search-box
{width:400px;margin-bottom:0;}
#searchForm table.gsc-search-box td{vertical-align:top}
#searchForm input.gsc-input, #popupSearchForm input.gsc-input
{height:16px;font-family:Verdana;color:#666;font-size:11px; line-height:13px; padding: 2px 0 0 2px;}
.cse .gsc-control-cse div,
.gsc-control-cse div {
  position: normal;
}
#siteSearch a.thinButton, #siteSearchResults a.thinButton{display:-moz-inline-box;display:inline-block;width:30px;line-height:15px;height:18px;}
#siteSearchPoweredBy{margin-top:5px;}

#siteSearchResults table.gsc-branding{width:350px;}
.gsc-results {width:700px;}
#siteSearchResults input.gsc-input{background-image:none; !important}

/* Selector for entire element. */
.cse .gsc-control-cse,
.gsc-control-cse {
  background-color: #ffffff;
  border: 1px solid;
  border-color: #ffffff;
}
.cse .gsc-control-cse:after,
.gsc-control-cse:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.cse .gsc-resultsHeader,
.gsc-resultsHeader {
  border:none;
}

#resultHeader{text-align:right;padding:15px;min-height:38px;}
#resultHeader #imgLogo{float:left;}
div.gsc-branding{width:350px;display:inline-block;}
#poweredByGoogle{text-align:right;float:right;}
/* Inactive tab */
.cse .gsc-tabHeader.gsc-tabhInactive,
.gsc-tabHeader.gsc-tabhInactive {
  border-bottom: none;
  color: #666666;
  background-color: #e9e9e9;
  border: 1px solid;
  border-color: #e9e9e9;
  border-bottom: none;
}
/* Active tab */
.cse .gsc-tabHeader.gsc-tabhActive,
.gsc-tabHeader.gsc-tabhActive {
  background-color: #FFFFFF;
  border: 1px solid;
  border-top: 2px solid;
  border-color: #e9e9e9;
  border-top-color: #FF9900;
  border-bottom: none;
}
/* This is the tab bar bottom border. */
.cse .gsc-tabsArea,
.gsc-tabsArea {
  margin-top: 1em;
  border-bottom: 1px solid #e9e9e9;
}
/* Inner wrapper for a result */
.cse .gsc-webResult.gsc-result,
.gsc-webResult.gsc-result {
  padding: .25em;
  border: 1px solid;
  border-color: #ffffff;
  margin-bottom: 1em;
}
/* Result hover event styling */
.cse .gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result:hover {
  border: 1px solid;
  border-color: #FFFFFF;
}

.gs-webResult div.gs-visibleUrl-long {
color:#008000;
text-decoration:none;
display:block;
}

.gs-webResult div.gs-visibleUrl-short {
display:none;
overflow:hidden;
width:100%;
}

/*Promotion Settings*/
/* The entire promo */
.cse .gs-promotion.gs-result,
.gs-promotion.gs-result {
  background-color: #FFFFFF;
  border: 1px solid;
  border-color: #336699;
}
/* Promotion image */
.cse .gs-promotion.gs-result .gs-promotion-image,
.gs-promotion.gs-result .gs-promotion-image {}
/* Promotion title */
.cse .gs-promotion.gs-result a.gs-title:link,
.gs-promotion.gs-result a.gs-title:link {
  color: #0000CC;
}
.cse .gs-promotion.gs-result a.gs-title:visited,
.gs-promotion.gs-result a.gs-title:visited {
  color: #0000CC;
}
.cse .gs-promotion.gs-result a.gs-title:hover,
.gs-promotion.gs-result a.gs-title:hover {
  color: #0000CC;
}
.cse .gs-promotion.gs-result a.gs-title:active,
.gs-promotion.gs-result a.gs-title:active {
  color: #0000CC;
}
/* Promotion snippet */
.cse .gs-promotion.gs-result .gs-snippet,
.gs-promotion.gs-result .gs-snippet {
  color: #000000;
}
/* Promotion url */
.cse .gs-promotion.gs-result .gs-visibleUrl,
.gs-promotion.gs-result .gs-visibleUrl {
  color: #008000;
}

