/* 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(/_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;
}


/* Custom styles for Directory search fields. */
#search-form-full .input-text-first, #search-form-full .input-text-last {
	width: 45%;
}

.input-text-first {
	float: left;
}

.input-text-last {
	float: right;
}

#search-form-full .input-text-email {
	width: 407px;
}

#email-break {
	clear: both;
	text-align: center;
	padding: 10px 0;
}

#email-break p {
	margin: 0;
}

.home input[type=text] {
 	-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;
margin: 0;
padding: 6px 7px;
width: 100%;
background-position: 10px 50% !important; 
}

.submit{
	box-sizing: border-box;
	padding: 11px 7px;
	margin-top: 15px;
	width:100%;
	border:none;
	border-radius: 3px;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0,0,0,0.4);
	font-size: 1.2em;
	font-weight: bold;
	background: #ff7c25;
	background: -moz-linear-gradient(top, #ff7c25 0%, #f6641f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff7c25), color-stop(100%,#f6641f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ff7c25 0%,#f6641f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ff7c25 0%,#f6641f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #ff7c25 0%,#f6641f 100%); /* IE10+ */
	background: linear-gradient(to bottom, #ff7c25 0%,#f6641f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7c25', endColorstr='#f6641f',GradientType=0 ); /* IE6-9 */
}

.submit:hover{
	cursor: pointer;
	background: #f6641f; /* Old browsers */
	background: -moz-linear-gradient(top, #f6641f 0%, #ff7c25 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6641f), color-stop(100%,#ff7c25)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f6641f 0%,#ff7c25 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f6641f 0%,#ff7c25 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f6641f 0%,#ff7c25 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f6641f 0%,#ff7c25 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6641f', endColorstr='#ff7c25',GradientType=0 ); /* IE6-9 */
}

#advanced-search-home {
	margin: 15px 0 10px;
	padding: 10px 10px 0 10px;
	border: 1px solid #BFBFBF;
	box-shadow: 0px 0px 2px #BFBFBF;
	background: #f7f7f7; /* Old browsers */
	background: -moz-linear-gradient(top,  #f7f7f7 0%, #eeeeee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f7f7f7 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f7f7f7 0%,#eeeeee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f7f7f7 0%,#eeeeee 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f7f7f7 0%,#eeeeee 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
}

.input-radio-container {
	padding-bottom: 10px;
}

#search_query {
	width: 407px;
}

#phonebook_help {
	margin: 0 auto;
	margin-bottom: 10px;
}

#phonebook_help dt {
	float: left;
	text-align: left;
}

#phonebook_help dd {
	float:right;
	text-align: right;
}

.line {
	background: #f1f1f1;
	border-top: 3px solid #fff;
	padding: 8px;
	width: 100%;
	overflow:auto;
}


/*- 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('/_library/images/header-search-btn-orange.jpg') 0 0 no-repeat; 
	text-indent: -9000px;
	text-transform: capitalize;
}

form table.gsc-search-box td {
	vertical-align: top;
}

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; }	

.gsc-table-result, .gsc-thumbnail-inside, .gsc-url-top {
	padding-left: 0 !important;
	padding-right: 0 !important;
}


/* Google Custom Search Styles */

.gsc-results .gsc-webResult.gsc-result.gsc-promotion,
.gsc-results .gsc-webResult.gsc-result.gsc-promotion:hover {
  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(../images/info.png);
}
.success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image: url(../images/success.png);
}
.warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url(../images/warning.png);
}
.error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url(../images/error.png);
}




/* mobile styling */

@media only screen and (max-width: 768px){
	#content-shadow,.container,.span-24,.span-23,.span-22,.span-21,.span-20,.span-19,.span-18,.span-17,.span-16,.span-15,.span-14{
		width:100%;
		margin: 0;
		padding: 0;
	}
	.shortcode_alignright, .shortcode_alignleft, .search-third, .search-right{
		width:auto;
		float:none;
		padding: 0 10px;
		margin-bottom: 10px;
	}
	.form-item-blue{
		width: auto;
		margin: 0 auto;
		padding: 0 0 10px 0;
	}
	#search_query {
		box-sizing: border-box;
		width: 100%;
	}
	.input-text{
		margin: 8px;
	}
	.search #search-form-container .input-text{
		padding: 4px;
		display: block;
		margin: 5px auto;
	}
	.input-text#directory-search-email{
		width: 100%;
		box-sizing: border-box;
	}
	.search .form-item-blue .submit{
		display: block;
		margin: 8px auto;
		margin-top: 15px;
	}
	#institutional-nav li{
		display:none;
	}
	#institutional-nav li:first-child{
		display: block;
	}
	.box{
		padding: 0;
		margin: 0;
	}
	#institutional-footer .uf-monogram{
		left: 50%;
	}
	#advanced-search-home{
		width: auto;
		padding: 15px;
		margin: 0 auto;
	}
	.search-right{
		margin-left: 0;
	}
	#indv-name-title{
		padding: 10px;
	}
	.indv.result{
		padding: 10px;
	}
	#bio-bottom .addr, #bio-bottom .info_staff{
		width: 100%;
		padding-right: 0;
		float: none;
	} 
	#total-return-results{
		width: auto;
	} 
	header #header-title #header-search-logo{
		float: none;
		margin: 0 0 0 10px;
	}
	#content{
		padding-top: 0;
	}
	.line {
		width: auto;
	}
	#note {
		padding: 0 10px;
	}
	#priSearch {
		padding-top: 10px;
	}
	.search_tips {
		display: none;
	}
	body.web_results header .container {
		/*height: auto;*/
	}
}

@media only screen and (max-width: 400px){
	.input-text[type="text"]{
		width: 92%;
		margin: 0 auto;    
		margin-bottom: 10px;
	}
	#search-form-full .input-text-first, #search-form-full .input-text-last {
		box-sizing: border-box;
		width: 100%;
	}
	#footer-links{
		display:none;
	}
	.thumb{
		display: none;
	}
	.result .bio{
		padding: 10px;
		float: none;
	}
	.result .result-contact{
		width: 100%;
		float: none;
	}
	.result .result-contact p{
		margin-left: 20px;
	}
}