/**
 * Google Site Search
 *
 */
/* Slight reset to make the preview have ample padding. */
.cse .gsc-control-cse,
.gsc-control-cse {
  padding:0;
  width: auto;
}
.cse .gsc-branding,
.gsc-branding {
  display: none;
}
.cse .gsc-control-cse div,
.gsc-control-cse div {
  position: normal;
}
/* 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: block;
}


/* Search button */
input.gsc-search-button {
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  color: #fff;
  background-color: #03a3e3;
  border: 1px solid #135e6f;
  padding:1px 10px 3px 10px;
  width:60px;
  height:25px;
  margin:0 0 0 20px;
  position:absolute;/*Absolute positioning needed so it appears above the unnecessary x image*/
  top:18px;
  right:0;
  cursor:pointer;
}

input.gsc-search-button:active {
	padding:3px 9px 1px 11px;	
}

input.gsc-search-button:hover {
	background-color:#05a8ea;
}

/* Search button on results page */
#cse input.gsc-search-button {
	position:absolute;
	/*width:100px;
	height:29px;*/
	width:107px;
	height:31px;
	background:url('../images/main/gss/search-results-btn.png')/*tpa=images/main/gss/search-results-btn.png*/ no-repeat;
	top:16px;
	right:0;
	margin:0 0 17px 0;
	/*border: 1px solid #3badc7;*/
	border:none;
}

/*#cse input.gsc-search-button:active {
	padding:6px 19px 4px 21px;
}*/

#cse input.gsc-search-button:hover {
	background-position:bottom;
}

/* Inactive tab */
#cse .gsc-tabHeader.gsc-tabhInactive,
.gsc-tabHeader.gsc-tabhInactive {
  background-color: #e9e9e9;
  background:url('../images/main/gss/inactiveTab.gif')/*tpa=images/main/gss/inactiveTab.gif*/ repeat-x;
  padding:8px 20px;
  color:#fff;
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  border:none;
}

#cse .gsc-tabHeader.gsc-tabhInactive:hover,
.gsc-tabHeader.gsc-tabhInactive:hover {
	background:#06C;
}

/* Active tab */
#cse .gsc-tabHeader.gsc-tabhActive,
.gsc-tabHeader.gsc-tabhActive {
  background: #FFF;
  padding:7px 20px;
  color:#069;
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
  border:#d9d8d8 solid 1px;
  border-bottom:none;
  
}
/* This is the tab bar bottom border. */
.cse .gsc-tabsArea,
.gsc-tabsArea {
  /* margin-top: 1em;
  border-bottom: 1px solid #e8e8e8; */
  display:none;
  
}
/* Inner wrapper for a result */
#cse .gsc-webResult.gsc-result,
.gsc-webResult.gsc-result,
.gsc-imageResult-column,
.gsc-imageResult-classic {
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1em;
  margin-top:5px;
  color:#666;
}

#cse .gsc-webResult.gsc-result a {
	color:#06F;
}

/* Result hover event styling */
#cse .gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result:hover,
.gsc-results .gsc-imageResult-classic:hover,
.gsc-results .gsc-imageResult-column:hover {
  /*border: 1px solid;*/
  /*border-color: #FFFFFF;*/
}
/*Promotion Settings*/
/* The entire promo */
.cse .gs-promotion,
.gs-promotion {
  background-color: #FFFFFF;
  border: 1px solid;
  border-color: #336699;
}
/* Promotion image */
.cse .gs-promotion .gs-promotion-image,
.gs-promotion .gs-promotion-image {}
/* Promotion links */
.cse .gs-promotion a.gs-title:link,
.gs-promotion a.gs-title:link,
.cse .gs-promotion a.gs-title:link *,
.gs-promotion a.gs-title:link *,
.cse .gs-promotion .gs-snippet a:link,
.gs-promotion .gs-snippet a:link {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:visited,
.gs-promotion a.gs-title:visited,
.cse .gs-promotion a.gs-title:visited *,
.gs-promotion a.gs-title:visited *,
.cse .gs-promotion .gs-snippet a:visited,
.gs-promotion .gs-snippet a:visited {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:hover,
.gs-promotion a.gs-title:hover,
.cse .gs-promotion a.gs-title:hover *,
.gs-promotion a.gs-title:hover *,
.cse .gs-promotion .gs-snippet a:hover,
.gs-promotion .gs-snippet a:hover {
  color: #0000CC;
}
.cse .gs-promotion a.gs-title:active,
.gs-promotion a.gs-title:active,
.cse .gs-promotion a.gs-title:active *,
.gs-promotion a.gs-title:active *,
.cse .gs-promotion .gs-snippet a:active,
.gs-promotion .gs-snippet a:active {
  color: #0000CC;
}
/* Promotion snippet */
.cse .gs-promotion .gs-snippet,
.gs-promotion .gs-snippet,
.cse .gs-promotion .gs-title .gs-promotion-title-right,
.gs-promotion .gs-title .gs-promotion-title-right,
.cse .gs-promotion .gs-title .gs-promotion-title-right *,
.gs-promotion .gs-title .gs-promotion-title-right * {
  color: #000000;
}
/* Promotion url */
.cse .gs-promotion .gs-visibleUrl,
.gs-promotion .gs-visibleUrl {
  color: #008000;
}
/* Style for auto-completion table
 * .gsc-completion-selected : styling for a suggested query which the user has moused-over
 * .gsc-completion-container : styling for the table which contains the completions
 */
.gsc-completion-selected {
  background: #D5E2FF;
}
.gsc-completion-container {
  font-family: Arial, sans-serif;
  font-size: 13px;
  position: absolute;
  background: white;
  border: 1px solid #ccc !important;
  margin-left: 0;
  margin-right: 0;
  margin-top:-35px;
  z-index:1000;
  color:#0C3572;
  /* The top, left, and width are set in JavaScript. */
}

.gsc-completion-selected {
	background:#ededed !important;
}

/* Full URL */
.gs-webResult div.gs-visibleUrl-short {
  display: none;
}
.gs-webResult div.gs-visibleUrl-long {
  display: block;
}

input.gsc-input {
    background:#FFFFFF;
	border-color:#999999 !important;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	padding:5px !important;
	width:180px !important;
	color:#666666 !important;
	margin:17px 0 20px 0 !important;
}

#cse input.gsc-input {
	width:500px !important;
	color:#333 !important;
	background:#F2F2F2 !important;
	border:1px solid #CCC !important;
}

#cse-search-form {
	padding:0 0 0 300px;
	width:265px;
	position:relative;/*This is set so we can position the search button absolutely in relation to this div*/
}

#cse {
	width:630px;
	position:relative;
}