/* Custom styles for the Search page */
header {
	z-index: 99998; /* Needed for megamenu in IE7 */
	background-color: #f1f1f1;
	background-image: none;
	border-bottom: 1px solid #c9c9c9;
}
header .container { height: 80px; }

#header h3#header-search-logo {  }
#header-title a:hover { text-decoration: none; }
#header-title a { cursor: pointer; }
header #header-title { margin-top: 30px; }
header #header-title #header-search-logo {
	float: left;
	width: 158px;
	height: 28px;
	background: transparent url(/National_Library/oe_/https://directory.ufl.edu/_library/images/uf_search_logo.png) 0 0 no-repeat;
}

#search-box {
	position: relative;
	margin-top: 24px;
}

.home #search-box { margin-top: 0; }
.home #cse { display:none; }

#content {
	padding: 15px 0 35px 0;
}


/*- SEARCH BOX
----------------------------------------------------------------------*/
.gsc-branding {
	display: none;
}

.gsc-search-box input.gsc-input, input#phonebook.query {
	-moz-border-radius: 2px;
	-moz-box-shadow: 0px 0px 2px #A5A5A5;
	-webkit-border-radius: 2px;
	-webkit-box-shadow: 0px 0px 2px black;
	border-radius: 2px;
	border: 1px solid #BFBFBF;
	box-shadow: 0px 0px 2px #BFBFBF;
	color: #7E7E7E;
	font-family: Georgia, serif;
	font-size: 1em;
	font-style: italic;
	height: 17px;
	/*left: 13px;*/
	margin: 0;
	padding: 6px 7px;
	/*padding-right: 54px;*/
	/*top: 10px;*/
	/*position: absolute;*/
	width: 99%;
	background-position: 10px 50% !important;
}

.home .gsc-search-box input.gsc-input, .home input#phonebook.query { width: 325px; }

input.gsc-search-button, .ufpb-search-button input.search {
	/*position: absolute;*/
	width: 42px;
	height: 27px;
	/*right: 14px;*/
	/*top: 12px;*/
	margin: 0;
	border: none;
	background: transparent url('/National_Library/oe_/https://directory.ufl.edu/_library/images/header-search-btn-orange.jpg') 0 0 no-repeat; 
	text-indent: -9000px;
	text-transform: capitalize;
}

td.gsc-clear-button {
	padding: 0;
}

.gssb_c {
	z-index: 999999 !important;
}

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

/*- SEARCH RESULTS
----------------------------------------------------------------------*/

div.gsc-result-info {
	margin: 0;
}

.gsc-above-wrapper-area-container {
	margin-bottom: 5px;
}

.gsc-control-cse .gs-spelling,
.gsc-control-cse .gs-result .gs-title,
.gsc-control-cse .gs-result .gs-title * {
	font-family: Arial, sans-serif;
	text-decoration: none;
	color: #243778;
	font-size: 16px !important;
	text-decoration: underline;
}

.gsc-control-cse .gs-spelling:hover,
.gsc-control-cse .gs-result .gs-title:hover,
.gsc-control-cse .gs-result .gs-title *:hover {
	border-bottom: none;
}

.gsc-control-cse .gs-spelling:hover,
.gsc-control-cse .gs-result .gs-title:hover,
.gsc-control-cse .gs-result .gs-title:hover * {
	color: #243778;
}

article .gsc-results .gsc-cursor-box .gsc-cursor-page {
	display: block;
	float: left;
	margin: 10px 2px 2px 0;
	padding: 6px 9px 5px 9px;
	text-decoration: none;
	width: auto;
	color: #4D4D4D;
	background: #D7DEF0;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #D7DEF0;
	font-weight: bold;
}

article .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
	padding: 6px 9px 5px 9px;
	background: #243778;
	color: white;
	border: 1px solid #243778;
}

article .gsc-table-result {
	margin-bottom: 5px;
}

.gcsc-branding-clickable:hover { border-bottom: none; }	


/* Google Custom Search Styles */

.gsc-webResult.gsc-result.gsc-promotion {
  background: rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-bottom: 5px;
  border: none;
  border-left: 4px solid #EF7C00;

  -moz-background-clip: border;
  -webkit-background-clip: border;
  background-clip: border-box;
  background: #fefefe; /* Old browsers */
  background: -moz-linear-gradient(top, #fefefe 0%, #f1f1f1 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#f1f1f1)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #fefefe 0%,#f1f1f1 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #fefefe 0%,#f1f1f1 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #fefefe 0%,#f1f1f1 100%); /* IE10+ */
  background: linear-gradient(to bottom, #fefefe 0%,#f1f1f1 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f1f1f1',GradientType=0 ); /* IE6-9 */
}
.gsc-webResult.gsc-result.gsc-promotion .gs-promotion {
  border: 1px solid #ddd;
  border-left: none;
  padding: 5px;
}
.gsc-url-bottom .gs-visibleUrl.gs-visibleUrl-short,
.gs-webResult .gs-visibleUrl.gs-visibleUrl-short, 
.gs-promotion .gs-visibleUrl.gs-visibleUrl-short { display:none; }
.gsc-url-bottom .gs-visibleUrl.gs-visibleUrl-long,
.gs-webResult .gs-visibleUrl.gs-visibleUrl-long,
.gs-promotion .gs-visibleUrl.gs-visibleUrl-long { display:block; }


.info, .success, .warning, .error {
	border: 1px solid;
	margin: 0 0 10px 0;
	padding:10px 10px 10px 40px;
	background-repeat: no-repeat;
	background-position: 10px center;
	border-radius: 5px;
	-webkit-background-size: auto 16px;
	-moz-background-size: auto 16px;
	background-size: auto 16px;
}
/* Icons from iTweek via deviantart: http://itweek.deviantart.com/art/Knob-Buttons-Toolbar-icons-73463960 */
.info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url(/National_Library/oe_/https://directory.ufl.edu/_library/images/info.png);
}
.success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image: url(/National_Library/oe_/https://directory.ufl.edu/_library/images/success.png);
}
.warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url(/National_Library/oe_/https://directory.ufl.edu/_library/images/warning.png);
}
.error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url(/National_Library/oe_/https://directory.ufl.edu/_library/images/error.png);
}