/* Base tab selector styles */
.cse .gsc-tabHeader,
.gsc-tabHeader {
  padding: 2px 8px 0 8px;
  border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  -webkit-border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
}
/* Inactive tab */
.cse .gsc-tabHeader.gsc-tabhInactive,
.gsc-tabHeader.gsc-tabhInactive {
  background-color: #B92D2C;
  border: 1px solid;
  border-bottom: none;
  border-color: #B92D2C;
  color: #fff;
  text-shadow: 0 1px 2px #000;
}
/* Active tab */
.cse .gsc-tabHeader.gsc-tabhActive,
.gsc-tabHeader.gsc-tabhActive {
  background-color: #fff;
  border: 1px solid;
  border-bottom: none;
  border-color: #999;
  color: #B92D2C;
}

/* Wrapper for all results */
.cse .gsc-results,
.gsc-results {
  width: 100%;
  background-color: #FFFFFF;
  border-bottom-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
}
.cse div.gs-title,
div.gs-title,
.cse .gs-snippet,
.gs-snippet,
.cse .gs-visibleUrl,
.gs-visibleUrl,
.cse .gs-visibleUrl-short,
.gs-visibleUrl-short {
  padding: 0 8px;
}
/* Inner wrapper for a result */
.cse .gsc-webResult.gsc-result, .cse .gsc-newsResult.gsc-result, 
.gsc-webResult.gsc-result, .gsc-newsResult.gsc-result {
  padding: 6px 0;
  border-top: 1px solid;
  border-color: #ffffff;
}
/* Result hover event styling */
.cse .gsc-webResult.gsc-result:hover, .cse .gsc-newsResult.gsc-result:hover,
.gsc-webResult.gsc-result:hover, .gsc-newsResult.gsc-result:hover {
  border-top: 1px solid;
  border-color: #d2d6dc;
  background-color: #ededed;
  -webkit-box-shadow: 0 1px 4px #8A99A6;
  -moz-box-shadow: 0 2px 2px #8A99A6;
}
/* Set link colors. */
.cse .gs-webResult.gs-result a.gs-title:link, .cse .gs-newsResult.gs-result a.gs-title:link,
.gs-webResult.gs-result a.gs-title:link, .gs-newsResult.gs-result a.gs-title:link,
.cse .gs-webResult.gs-result a.gs-title:link b, .cse .gs-newsResult.gs-result a.gs-title:link b,
.gs-webResult.gs-result a.gs-title:link b, .gs-newsResult.gs-result a.gs-title:link b,
.cse .gs-webResult.gs-result a.gs-title:visited, .cse .gs-newsResult.gs-result a.gs-title:visited,
.gs-webResult.gs-result a.gs-title:visited, .gs-newsResult.gs-result a.gs-title:visited,
.cse .gs-webResult.gs-result a.gs-title:visited b, .cse .gs-newsResult.gs-result a.gs-title:visited b,
.gs-webResult.gs-result a.gs-title:visited b, .gs-newsResult.gs-result a.gs-title:visited b,
.cse .gs-webResult.gs-result a.gs-title:hover, .cse .gs-newsResult.gs-result a.gs-title:hover,
.gs-webResult.gs-result a.gs-title:hover, .gs-newsResult.gs-result a.gs-title:hover,
.cse .gs-webResult.gs-result a.gs-title:hover b, .cse .gs-newsResult.gs-result a.gs-title:hover b,
.gs-webResult.gs-result a.gs-title:hover b, .gs-newsResult.gs-result a.gs-title:hover b,
.cse .gs-webResult.gs-result a.gs-title:active, .cse .gs-newsResult.gs-result a.gs-title:active,
.gs-webResult.gs-result a.gs-title:active, .gs-newsResult.gs-result a.gs-title:active,
.cse .gs-webResult.gs-result a.gs-title:active b, .cse .gs-newsResult.gs-result a.gs-title:active b,
.gs-webResult.gs-result a.gs-title:active b, .gs-newsResult.gs-result a.gs-title:active b,
.cse .gsc-cursor-page,
.gsc-cursor-page,
.cse a.gsc-trailing-more-results:link,
a.gsc-trailing-more-results:link {
  color: #0057B0;
}
/* Override default.css selector to disable underlines. */
.cse .gs-result .gs-title,
.gs-result .gs-title,
.cse .gs-result .gs-title *,
.gs-result .gs-title * {
  text-decoration: none;
}
.cse .gs-webResult.gs-visibleUrl, .cse .gs-newsResult.gs-visibleUrl,
.gs-webResult.gs-visibleUrl, .gs-newsResult.gs-visibleUrl,
.cse .gs-webResult.gs-visibleUrl-short, .cse .gs-newsResult.gs-visibleUrl-short,
.gs-webResult.gs-visibleUrl-short, .gs-newsResult.gs-visibleUrl-short {
  color: #5f6a73;
  font-weight: bold;
  font-size: 11px;
}
/* Snippet text color */
.cse .gs-webResult.gs-result .gs-snippet, .cse .gs-newsResult.gs-result .gs-snippet,
.gs-webResult.gs-result .gs-snippet, .gs-newsResult.gs-result .gs-snippet {
  color: #333333;
}
/* Pagination container centered */
.cse .gsc-cursor-box,
.gsc-cursor-box {
  border-color: #8A99A6;
  padding: 1.2em 0 2em 0;
  text-align: center;
}

/* Pagination */
.cse .gsc-cursor-page,
.gsc-cursor-page {
  padding: .2em .5em;
  background-color: #fff;
  border:1px solid;
  border-color: #b2bdc6;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  text-decoration: none;
}
/* Selected pagination */
.cse .gsc-results .gsc-cursor-page.gsc-cursor-current-page,
.gsc-results .gsc-cursor-page.gsc-cursor-current-page {
  color: #fff;
  text-shadow: 0 1px 1px #fff;
  text-shadow: 0 1px 2px #fff;
  background-color: #B92D2C;
}

/* Custom results set */
.newsResult, .webResult { width: 700px; overflow: hidden; padding: 5px; margin-bottom: 5px; }
.newsResult .image, .webResult .image { width: 100px; height: 100px; float: left; margin-right: 10px; overflow: hidden; }
.newsResult .content, .webResult .content { float: right; width: 580px; }
.newsResult .content h2 a, .webResult .content h2 a { color: #0057B0; font-size: 15px; }
.newsResult .content p.date, .webResult .content p.date { color: #999; font-style: italic; margin-bottom: 5px; font-size: 11px; }
.newsResult .content a.related, .webResult .content a.related { color: #008000; }
/* Custom results set hover event styling */
.newsResult:hover, .webResult:hover { padding: 5px; border-top: 1px solid;  border-color: #d2d6dc; background-color: #ededed; -webkit-box-shadow: 0 1px 4px #8A99A6; -moz-box-shadow: 0 2px 2px #8A99A6; }
