/* Stand alone CSS to override GCE stylesheet */


/* Override font */
.gsc-control-cse, .gsc-completion-container  {
	font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif !important;
}

/* Colors */
.gsc-control-cse a.gs-title:link, 
.gsc-control-cse a.gs-title:visited, 
.gsc-control-cse a.gs-title:hover, 
.gsc-control-cse a.gs-title:active, 
.gsc-control-cse a.gs-title *,
.gsc-control-cse .gs-spelling * {
  color: #970000 !important;
}

/* Full URL */
.gs-webResult.gs-result .gs-visibleUrl-short {
  display: none;
}
.gs-webResult.gs-result .gs-visibleUrl-long {
	display: block;
	color: #676767;
}

/* Pagination */
.gsc-cursor-box {
	text-align: center;
}

.gsc-cursor-box .gsc-cursor-page {
	background-color: #BBBBBB;
    padding: 2px 8px;
	border-color: #FFF;
    border-style: solid;
    border-width: thin;
	color: #1C1C1C !important;
	text-decoration: none !important;
}

.gsc-cursor-box .gsc-cursor-current-page {
	background-color: #1C1C1C !important;
	color: #FFF !important;
	cursor: default !important;
}

.gsc-cursor-box .gsc-cursor-page:hover {
	background-color: #970000;
	color: #FFF !important;
}


/* Move the ads block to the right */
.gsc-adBlock {
	width: 240px !important;
	position: absolute !important;
	margin-left: 785px;
	margin-top: 0px;
}

.gsc-adBlock iframe {
	height: 450px !important;
	padding-bottom: 50px;
}

#content {
	min-height:500px;
}

/* Style the tabs */
.gsc-tabHeader.gsc-tabhActive {
	background-color: #1C1C1C !important;
	color: #FFF !important;
	border-top-style: hidden !important;
	cursor: default;
}

.gsc-tabHeader.gsc-tabhInactive {
	background-color: #BBBBBB !important;
	color: #FFF !important;
	border-top-style: hidden !important;
}

.gsc-tabHeader.gsc-tabhInactive:hover {
	background-color: #970000 !important;
}

.cse .gsc-tabsArea, .gsc-tabsArea {
    border-bottom-color: #1C1C1C !important;
}

/* Error box */
.gs-no-results-result  .gs-snippet{
	margin:0 !important; 
	padding-top: 10px !important;
	padding-right: 10px;
	padding-bottom: 0 !important; 
	padding-left:66px !important; 
	padding-top:0; 
	background-color:#eeeeee; 
	border-style:solid; 
	border-width:thin; 
	border-color:#bbbbbb;
	background-image:url('./images/icons/warning.png'); 
	background-repeat:no-repeat; 
	background-position: 10px 50%; 
	min-height:50px; 
	font-size: 1.3em;
}

/* Slight reset to make the preview have ample padding. */
.cse .gsc-control-cse,
.gsc-control-cse {
  
  width: 96%;
}

/* Google branding */
.cse-google-branding {
	float: right; 
	margin-top: 25px; 
	font-size: 0.8em;
	color: #676767
}

.cse-google-branding img {
	vertical-align: text-top;
}


.cse .gsc-control-cse div,
.gsc-control-cse div {
  position: normal;
}
/* Selector for entire element. */
.cse .gsc-control-cse,
.gsc-control-cse {

}
.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;
}

/* 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;
  margin-bottom: 1em;
}
