
/* First come the styles which are used in the demo */
.facetsearch {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	width: 19%;
	overflow: hidden;
	white-space: nowrap;
	border: 1px solid black;
	border-radius : 3px;
	margin-right: 1%;
	border-radius: 3px;
	line-height:15px;
}

.facetsearch:hover {
	background:#edf2f5;
/*	background:#cddde5; */
	margin-top:-5px;
	padding-top:5px;
}

.facetlist {
	height: 160px;
	overflow-y: auto;
	overflow-x: hidden;
	min-width: 160px;
	padding: 1px;
	margin-left: -1px;
	padding-left: 3px;
}

.facetlist:hover {
	border: 1px solid black;
	border-radius: 3px;
	padding: 0px 0px 1px 0px;
	overflow-x: auto;
	width: auto;
	min-width: 160px;
	position: absolute;
	z-index: 100;
	background:#edf2f5;
	padding-left: 2px;
	padding-right:15px;
}

.facetFilter {
	font-size:9px;
	font-weight:normal;
	padding-left:5px;
}

#archiveName .facetlist:hover {
	 margin-left:-300px;
	 min-width: 450px;
}

.facetitem {
  line-height: 1.2em;
}

.facetitem:hover {
	cursor: pointer;
	color: #000;
}

.facititemHide {
	display: none;
}


.activeorderby,.activefacet {
	color: red;
}

.activefacet:hover {
	color: #9933ff;
}

.purplefacet {
	color: purple;
}

.bottomline {
	padding: 5px 0 5px 0;
	font-weight: bold;
}

.bottomline .facettotalcount {
	display: block;
}

.bottomline .orderby ul,.bottomline .orderby li {
	display: inline;
	padding: 0;
}

.bottomline .deselectstartover {
	display: inline-block;
	margin-left: 10px;
}

.showAdvancedSearch, .hideAdvancedSearch {

	padding-left:10px;
	padding-right:10px;
	margin-top:10px;
	margin-left:15px;
	margin-bottom:0px;
}


#language {
	width: 400px;
}

#language .facetlist {
	column-count: 2;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	-o-column-count: 2;
}

.item {
	width: 100%;
	margin: 0 10px 10px 0;
	vertical-align: top;
	overflow: hidden;
}

.item h4 {
	font-size: 1.2em;
	white-space: wrap;
}

.item .tags {
	color: gray;
	font-size:25px;
	padding-bottom: 3px;
}

table.varOut {
  margin-bottom:10px;
  width:100%;
	background: white;
}

table.varOut td {
	width:18%;
  border: 1px solid #ccc;
  padding-left:5px;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.varOut th {
	text-align: center;
	background: #dfdfdf;
	width:18%;
	border: 1px solid #999;
	padding-left:5px;
}

#showmorebutton {
	border: 1px solid #AAA;
	border-radius: 15px;
	background-color: #DDD;
	margin: 0 0 10px 0;
	padding: 0px;
	padding-top: 5px;
	padding-bottom: 5px; width : 100%;
	display: block;
	text-align: center;
	cursor: pointer;
	width: 100%;
}


/* These styles are just general purpose styles to make the page look a little less aweful */
* {
	margin: 0;
	padding: 0;
}


#wrapper,#documentation {
	margin: 0 auto;
	width: 800px;
}

p {
	padding-bottom: 1em;
	line-height: 1.3em;
}

h1,h2,h3 {
	margin: 0 0 3px 0;
}

h2 {
  border-bottom: 1px solid #555;
}

.orderby {
  display: none;
}

.facettitle {
	width: 100%;
	border-bottom: 1px solid grey;
	font-size:18px;
	font-weight:500;
	margin-bottom:0px;
	margin-top:0px;
	padding-left:5px;
}

tt {
	background-color: #EEE;
	border: 1px solid #CCC;
}

.facet_breadcrumbs {
	display: inline-block;
}

.facet_breadcrumb {
	display: inline-block;
	background:#edf2f5;
	border: 1px solid black;
	border-radius: 4px;
	font-size: 14px;
	font-weight: normal;
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 6px;
  padding-bottom: 6px;
	margin-left: 3px;
}

fieldset {
	border-radius: 5px 5px 5px 5px;
	border: 1px solid black;
	padding: 5px;
	margin: 5px;
}

legend {
	border: 1px solid grey;
	border-radius: 9px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 1px;
	padding-bottom: 1px;
}

#searchDiv {

}

#facets {

}

#resultsInfo {
	padding: 0px;
	padding-left: 5px;
	margin-bottom: 0px;
}

#results {
	padding: 5px;
	padding-top: 20px;
	max-height:600px;
	overflow-y:auto;
	overflow-x:hidden;
	background: #fbfbfb;
}

#results::-webkit-scrollbar {
    -webkit-appearance: none;
}

#results::-webkit-scrollbar:vertical {
    width: 11px;
	background-color: rgb(233,233,233);
	border-radius: 8px;
}

#results::-webkit-scrollbar:horizontal {
    height: 11px;
}

#results::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid rgb(233,233,233); /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}

.resultFieldset {
	border: 0px;
	border-top: 1px  solid black;
	border-radius: 0px;
}

#searching {
	display: none;
	width: 150px;
	height: 70px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -75px;
	margin-top: -35px;
	background: #cfcfcf;
	border: 1px solid black;
	border-radius: 10px;
	padding-left: 10px;
	text-align: center;
}

.searchTerm {
	color: red;
}
