/** Copyright 2007 Google Inc. All rights reserved. */

/** 
 * CSS styles for the Custom Search Engine overlay built on top of AJAXSearch
 * API
 */ 

.cse-closeResults { 
  display: none;
}

.cse-closeResults a {
	padding: 7px 5px !important;
	font-size: 0.8em !important;
	/* background-color: #FFB312 !important;*/
	border: none !important;
	/* color: #fff !important;*/
	text-transform: lowercase !important;
	cursor: pointer;
}

.cse-closeResults a:hover {
  text-decoration: underline;
}

.cse-overlay-bg {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #000;
}

.cse-overlay {
  text-align: left;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 10px;
  width: 600px;
  background-color: #FFF;
  border: 1px solid #333;
  font-size: small;
}

/**
 * Custom AJAXSearch styles
 */

.gsc-resultsHeader,
.gs-visibleUrl-short,
.gs-watermark
 { display: none; }

.gs-visibleUrl {
  color: #008000;
}

.gs-visibleUrl-long { 
  overflow: hidden;
  color: #AAAAAA;
}

.gs-title { 
  font-size: 1em;
  color: #76B728;
}

.gs-title:hover { 
	text-decoration: none;
}

.gsc-trailing-more-results,
.gsc-webResult,
.gs-divider {
  margin-bottom: 0.5em;
}

.gsc-trailing-more-results, .gsc-trailing-more-results a {
	color: #676767 !important;
	text-decoration: underline;
        display: none !important;
}

.gsc-trailing-more-results:hover {
	text-decoration: none;
}

.gs-divider {
  margin-bottom: 1em;
  text-align: center;
  color: #676767;
}


/**
 * Default AJAXSearch styles largely from
 * http://www.google.com/uds/css/gsearch.css
 */

/* control inputs
 * .gsc-search-box : the container that hosts the text input area
 * .gsc-input : the text input area
 */
form.gsc-search-box {
  margin: 0px !important;
  width: auto !important;
}

/*
 * This table contains the input element as well as the search button
 * Note that the search button column is fixed width, designed to hold the
 * button div's background image
 */
table.gsc-search-box {
  border-style : none;
  border-width : 0px;
  border-spacing : 0px;
}

table.gsc-search-box td {
  vertical-align : middle;
}

td.gsc-input {
  padding-right: 0px !important;
  padding-left: 0px !important;
  padding: 0px !important;
  vertical-align: middle;
}

td.gsc-search-button {
  width: 38px !important;
  height: 21px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  vertical-align: middle;
}

input.gsc-search-button {
        background-image: url(/img/g-search.gif) !important;
        background-position: 0 0;
        border: 0px !important;
        width: 38px !important;
        height: 21px !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 2px;
        font-size: 0px;
        text-align: right;
        color: #5b5c61;
        text-indent: -5000px !important;
        text-indent: 0px;
        cursor: pointer;
}

input.gsc-input {
        padding: 0 !important;
	font-family: "Trebuchet MS"  !important;
	font-size: 11px  !important;
	color: #4d4d51 !important;
	border: 1px solid #000 !important;
	background-image: url(/img/shadow.jpg) !important;
	vertical-align: middle  !important;
	width: 132px !important;
	height: 23px !important;
        padding-left: 1px !important;
        padding-top: 1px !important;
        /*padding-top: 1px !important;*/
	/*padding: 5px 5px !important; */
	/* background: transparent !important;
        /* background-image: none !important; */
}

/**
 * undo common generic table rules
 * that tend to impact branding
 */
table.gsc-branding td,
table.gsc-branding {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  border : none;
}

table.gsc-branding {
  border-style : none;
  border-width : 0px;
  border-spacing : 0px;
  width : 100%;
}

td.gsc-branding-text {
  vertical-align : top;

}

td.gsc-branding-text div.gsc-branding-text {
  padding-bottom : 2px;
  text-align : right;
  color : #4D4D51;
  font-size : 11px;
  margin-right : 2px;
}

td.gsc-branding-img-noclear {
  width : 51px;
  vertical-align : bottom;
}

td.gsc-branding-img {
  width : 150px !important;
  vertical-align : bottom;
  text-align: left;
}

td.gsc-clear-button {
    display: none;
}

table.gsc-branding-vertical td.gsc-branding-text div.gsc-branding-text {
  margin-right : 0px;
  text-align : center;
}

table.gsc-branding-vertical td.gsc-branding-img-noclear {
  text-align : center;
}

div.gsc-branding-img,
div.gsc-branding-img-noclear,
img.gsc-branding-img,
img.gsc-branding-img-noclear {
  padding-top : 1px;
}

img.gsc-branding-img,
img.gsc-branding-img-noclear {
  margin : 0 0 0 0;
  padding-right : 0;
  padding-left : 0;
  padding-bottom : 0;
  border : none;
  display : inline;
}

a.gsc-branding-clickable {
  cursor : pointer;
}

input.gsc-search-button {
  margin-left : 0px !important;
}

/*
 * Given that this is sitting in a variable width tabel cell, the idea is
 * for it to consume the entire cell. The adjacent cell contains the search
 * button and that is a fixed width cell.
 */

.gsc-results .gsc-cursor-box .gsc-trailing-more-results {
  margin-bottom : 0px;
  display : inline;
  display: none;
}

.gsc-results .gsc-cursor {
  display : inline;
}

.gsc-results .gsc-cursor-box {
  margin-bottom : 10px;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page {
  cursor : pointer;
  color : #4d4d51  !important;
  text-decoration: underline  !important;
  margin-right : 8px;
  display : inline;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page:hover {
	text-decoration: none;
}

.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  color : #4d4d51 !important;
  font-weight : bold;
  text-decoration: none;
}

.gsc-tabsArea {
    display: none;
}

.gsc-wrapper {
    position: absolute !important;
    width: 500px !important;
    right: 17px !important;
    z-index: 999 !important;
}

.gsc-results {
        background-image: url(/img/spacebck.gif);
        background-position: top right;
        background-color: #fff !important;
        padding: 10px 10px 0 10px !important;
        border: 1px solid #4d4d51 !important;
}

.gsc-wrapper a {
 	color: #e98e00 !important;
	text-decoration: underline !important;
        font-family: "Trebuchet MS";
}

.gs-title {
 	color: #e98e00 !important;
	text-decoration: underline !important;
        line-height: 110% !important;
}

.gs-snippet {
    line-height: 120% !important;
}

.gsc-wrapper b {
    	color: #e98e00 !important;
}

.gs-no-results-result .gs-snippet {
    background-color: #fff !important;
    border: none !important;
}
