/**
 * Licensed under the MIT License
 * Copyright (c) 2010-2013 WoodWing Software
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

/*
HTML produced by HitRenderer:

[for each hit]
div.elvisHitBox
	a href=...
		[for image/video/pdf]
		div.elvisThumbnailWrapper
			div.elvisThumbnailImage
				img

		[for icon]
		div.elvisThumbnailWrapper
			div.elvisThumbnailIcon
				img

		[for text]
		div.elvisThumbnailWrapper
			div.elvisThumbnailText
				span

		[for collection]
		div.elvisThumbnailWrapper
			div.elvisContainerBox
			  [4 x]
				div.elvisContainerThumb
					img
				[or]
				div.elvisContainerIcon
					img
				[or]
				div.elvisContainerEmpty

	div.elvisMetadata

		[for each metadataToDisplay]
		div title=...
			...value...
*/

#tagsFacet{

	position: relative;
}

.elvisFacet {
	list-style-type: none;
	padding: 0px;

	overflow: hidden;

	margin: 0;
	margin-top: 5px;

	text-align: center;
	margin-bottom: 10px;

	visibility: hidden;
}

}

.elvisFacet ul{

	display: inline;
}

.elvisFacet li{

	display: inline-block;
	padding: 2px;
	background-color: white;
	margin: 3px;
	border-radius: 5px;
}

.elvisFacet a 
{
	background-color: #FFFFFF;
	color: #424242;
	text-decoration: none;
	display: inline-block;
	border-style: solid;
	margin-bottom: 2px;
	-moz-border-radius: 9px;
	border-radius: 9px;
	border: none;
	text-align: left;
	font-size: 12px;
}

.elvisFacet .label{

	position: relative;
	top: 0.15em;
	left: 6px;
}

.elvisFacet .count
{
	background-color: #97A8C7;
	color: #FFFFFF;
	float: right;
	display: inline-block;
	height: 0px;
	width: 0px;
	top: -1px;
	-moz-border-radius: 9px;
	border-radius: 9px;
	border: none;
	padding:3px;
	font-size: 11px;
	text-align: center;
	margin-left: 6px;
	margin-right: -1px;
	visibility: hidden;
}

.elvisFacet a:hover,
.elvisFacet .selected a {
	text-decoration: underline;
}

.elvisFacet a:hover .count, .elvisFacet .selected .count {
	background-color: #FFFFFF;
	color: #97A8C7;
}

.elvisColumnTree {
	height: 115px;
	overflow-y: hidden;
	overflow-x: scroll;
	width: 100%;
	background: #fafafa;
	position: relative;
	border: thin solid #999;
	border-left: 0px;
	border-right: 0px;
	font-size: 11px;
	font-family: Arial;
}
div.elvisColumnTreeList {
	height: 100px;
	display: inline-block;
	position: relative;
	margin-right: -1px;
	width: 200px;
	border: thin solid #999;
	border-top: 0px;
	border-bottom: 0px;
	overflow-x: hidden;
	overflow-y: scroll;
}
.elvisColumnTreeList ul {
	margin: 0;
	padding: 0;
}
.elvisColumnTreeList li {
	background-image: url('../images/folder.png');
	background-position: 3px center;
	background-repeat: no-repeat;
	padding: 3px 3px 3px 22px;
	height: 1.3em;
	line-height: 1.4em;
	overflow-y: hidden;
	cursor: default;
}
.elvisColumnTreeList li.container {
	background: url('../images/box.png') left no-repeat;
}
.elvisColumnTreeList li.selected {
	background-color: #3875D7;
	color: #FFF;
}



#elvisPreviewOverlay
{
	position: fixed;
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
	background: #000000;
	background: rgba(0, 0, 0, 0.85);
	border: 0 none;
	z-index: 4999;
}
#elvisPreview
{
	position: fixed;
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
	z-index: 5000;
}
#elvisPreviewClose {
	overflow: hidden;
	background-image: url("../images/nav_close.png");
	background-repeat: no-repeat;
	background-position: center;
	height: 60px;
	width: 60px;
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 5020;
	text-decoration: none;
}
#elvisPreviewPrev, #elvisPreviewNext {
	background-repeat: no-repeat;
	background-position: center;
	position: fixed;
	width: 60px;
	top: 60px;
	bottom: 60px;
	overflow: hidden;
	z-index: 5018;
	text-decoration: none;
}
#elvisPreviewPrev {
	left: 0px;
	background-image: url("../images/nav_left.png");
	opacity: 0.2;
}
#elvisPreviewPrev:hover {
	opacity: 1;
}
#elvisPreviewNext {
	right: 0px;
	background-image: url("../images/nav_right.png");
	opacity: 0.2;
}
#elvisPreviewNext:hover {
	opacity: 1;
}
#elvisPreviewWrapper
{
	position: absolute;
	display: table;
	width: 100%;
	height: 100%;
	overflow: hidden; 
}
#elvisPreviewCell
{
	display: table-cell;
	width: 100%;
	height: 100%;
	vertical-align: middle;
}
#elvisPreviewBox 
{
	display: block;
	max-width: 100%;
	max-height: 100%;
	text-align: center;
}
#elvisPreviewObject
{
	display: inline-block;
	z-index: 5004;
	overflow-x: hidden;
	overflow-y: auto;
}
.elvisPreviewImage
{
}
.elvisPreviewVideo
{
}
.elvisPreviewText
{
	max-width: 810px;
	border: none;
	background: #FAFAFA;
	color: #000000;
	text-align: left;
	/*
	-moz-word-wrap: break-word;
	word-wrap: break-word;
	padding: 30px;
	*/
}
#elvisPreviewObject.elvisPreviewNotAvailable {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
.elvisPreviewNotAvailable div
{
	background: url("../images/document_generic.png") no-repeat center top;
	padding-top: 140px;
	color: #EEEEEE;
}



/*.elvisThrobber
{
	background-image: url("../images/ajax-loader.gif");
	background-repeat: no-repeat;
	background-position: center;
}*/



.elvisCopyright {
	position: absolute;
	bottom: 2px;
	right: 2px;
	font-size: 10px;
}
.elvisCopyright a, .elvisCopyright a:visited, .elvisCopyright a:active {
	color: #3399CC;
	font-weight: bold;
	text-decoration:none;
}
.elvisCopyright a:hover {
	text-decoration:underline;
}