﻿/**
 * Style for search input box and search results
 *
 */
.search { margin-left: 15px; }
.search input { border: none; background: transparent url('../img/search.png') no-repeat; height: 22px; width: 175px; padding: 0 6px; color: #fff; font-size: 12px; float: left; }
.search .searchbtn { background: transparent url('../img/search_sprites.png') no-repeat; height: 22px; width: 26px; float: left; cursor: pointer; } 
.search .searchbtn:hover { background-position: left -22px; }

/* Google Custom Search CSS hacks */
.gs-visibleUrl { display:none; }
.ui-dialog-titlebar { display:none }
#searchResultsTitle { background-color: #25201E; color:red; width: 540px; height: 30px; padding-left: 10px; padding-top: 4px; font-size: 20px; margin-top: 10px; margin-left: 13px; color: #C7B299; }
#closeButton { float: right; margin-right: 14px; margin-bottom: 10px; color: #ff5a32; font-size: 12px; font-weight: bold; cursor: pointer; }
input.gsc-search-button { cursor: pointer; background: transparent url(../img/search_sprites.png) no-repeat scroll 0 0 }
.gsc-control-cse a:link, .gsc-control-cse a:visited { color: #ff5a32; text-decoration: none; } 
.gsc-control-cse a:active, .gsc-control-cse a:hover { color: #ff5a32; text-decoration: underline; }
.gsc-results .gsc-cursor-box .gsc-cursor-page: { color: #ff5a32; }
.gsc-results .gsc-cursor-box .gsc-cursor-current-page  { color: #25201E; }
.gsc-twiddleRegionCell gsc-twiddle-opened { height: 0px; }
.gs-snippet { color: #25201E; }
.gs-result .gs-title, .gs-result .gs-title * { color: #ff5a32; text-decoration: underline; }
.gs-no-results-result .gs-snippet, .gs-error-result .gs-snippet { background-color: #F4EEDE; border:0px; margin:5px; padding:5px; }


/* Slight reset to make the preview have ample padding. */
.cse .gsc-control-cse,
.gsc-control-cse {
  padding: 2%;
  width: 96%;
}
.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: #fffef1;
  border: 1px solid;
  border-color: #fffef1;
}
.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;
}
/* Search button */
.cse input.gsc-search-button,
input.gsc-search-button {
  font-family: inherit;
  color: #000000;
  text-shadow: 0 1px 2px #FFFFFF;
  background-color: #CECECE;
  border: 1px outset;
  border-color: #666666;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
div.gsc-clear-button {
  display: none;
}
/* This is the tab bar bottom border. */
.cse .gsc-tabsArea,
.gsc-tabsArea {
  display:none;
}
/* Inner wrapper for a result */
.cse .gsc-webResult.gsc-result,
.gsc-webResult.gsc-result {
  padding: 10px;
  border: 1px solid;
  border-color: #f4eede;
  margin-bottom: 1em;
  background-color: #f4eede;
}
/* Result hover event styling */
.cse .gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result:hover {
  border: 1px solid;
  border-color: #25201E;
}