/***************************************
/facet browser layout
TODO: separate out border colors


***************************************/

@import "backpack-color-defaults.css";

/***************************************************
* main layout
***************************************************/

#music_player {
	position: absolute;
	top: 3em;
	width: 100%;
	text-align: center;
}

.music_player {
	margin-top: -16px;
	width: 250px;
}

#search {
	width: 100%;
	float: left;
	display: block;
}

#browse {
	float: left;
	display: none;
	margin-top: 20px;
}

#view_bar {
	float: left;
	cursor: default;
}

#facets {
	float: left;
	width: 100%;
	overflow: hidden;
}

#facet_navigation {
	min-height: 1.5em;
	width: 100%;
}

#results {
    clear: both;
}

#mapLayer { 	
	height: 600px;	 
}

#timeLayer {
	height: 600px;
	width: 100%;
}

#overlay {
	position: absolute;
	top: 20%;
	left: 15%;
	width: 70%;
	display: none;
}

#loading {
	position: absolute;
	z-index: 100;
	margin-top: 100px;
	left: 45%;
}

.loading_box {
	height: 3em;
	width: 10em;
	padding-top: 1em;
	border-width: 1px;
	border-style: outset;
	text-align: center;
}

/***************************************************
* view search
***************************************************/

.view_search_category_box {
	float: left;
	padding: 2px 20px 2px 0;
	border-width: 1px 0 0 1px;
	border-style: inset;
	background: url('../img/search_dd_selected.png') no-repeat center 2px;
	font-size: 0.95em;
}

/***************************************************
* main search
***************************************************/

#search_box {
	width: 30em;
	height: 1.7em;
	margin-left: auto;
	margin-right: auto;
	cursor: default;
}

#search_category {
	float: left;
	width: 8em;
	padding-left: 6px;
	border-width: 1px 0 0 1px;
	border-style: inset;
	text-align: left;
	font-size: 0.95em;
	background-image: url('../img/fb_blue_bg.png'); 
	background-repeat: repeat;
}

.search_category_box {
	padding: 3px 0 4px 0;
}

.search_category_arrow {
	padding-left: 14px;
	background-image: url('../img/menu_arrow_down_white.png');
	background-position: right center;
	background-repeat: no-repeat;
}

#search_category_content {
	position: absolute;
	display: none;
	width: 8em;
	text-align: left;
	border-width: 1px;
	border-style: outset;
}	


.search_input {
	float: left;
	border-width: 1px 1px 0 0;
	border-style: inset;
}

#searchAll {
	width: 19em;
	padding: 3px 1.5em 3px 0.5em;
	background: url('../img/fb_search_bg.png') no-repeat center right;
}
	
#searchAll:focus {
	background: url('../img/fb_search_bg_selected.png') no-repeat center right;
}	
	
#view_bar_search_input {
	width: 16em;
	padding: 2px 0 2px 0;
}	
	
.search_input input {
	border: none;
	font-size: .95em;
}


#search_box_content {
	position: absolute;
	z-index: 100;
	width: 30em;
	cursor: default;
}

#view_bar_search_content {
	position: absolute;
	z-index: 100;
	width: 30em;
	cursor: default;
}

.search_results {
	width: 28.1em;
	float: left;
	text-align: left;
}
	
.search_results_info {
	padding: 4px 0 4px 4px;
	font-size: 0.95em;
}
			
.search_result {
	clear: both;
}

.search_result_title_box {
	width: 8em;
	float: left;
}

.search_result_title_box_content {
	padding: 2px 6px 0 0;
	font-size: 0.95em;
	text-align: right;
}

.search_result_value_box {
	width: 20em;
	float: left;
	padding-bottom: 8px;
	border-left-width: 1px;
	border-left-style: solid;
}

.search_result_value_box_content {
	max-height: 7.5em;
	padding: 0 4px 0 0;
	overflow: auto;
	border-top-width: 1px;
	border-top-style: solid;
}


/***************************************************
* view bar
***************************************************/

.view_bar_label {
	float: left;
	padding: 5px 8px 0 8px;
}

#view_bar_search {
	height: 1.75em;
	float: right;
}

.view_bar_item {
	float: left;
	padding: 3px 4px 3px 6px;
	margin-right: 8px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
}

.view_bar_item:hover {
	border-width: 1px 1px 0 1px;
	border-style: outset;
}

.view_bar_item_label {
	float: left;
	padding: 1px 6px 1px 0;
	border-right-width: 1px;
	border-right-style: solid;
	color: #3875D7;
}

/*
.view_bar_item_label:hover {
	text-decoration: underline;
}
*/

.view_bar_item_dd {
	float: left;
	padding: 1px 0 1px 14px;
	background-image: url('../img/menu_arrow_down.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.view_bar_item_dd:hover {
	background-image: url('../img/drop_down_arrow.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.view_bar_item_menu {
	min-width: 12em;
	position: absolute;
	display: none;
	border-width: 1px;
	border-style: outset;
	z-index: 9999;
}

/***************************************************
* facet box
***************************************************/

#facet_content {
	float: left;
	border-left-width: 1px;
	border-left-style: solid;
}

#facet_previous, #facet_next {
	position: absolute;
	width: 25px;
	height: 30px;
	margin-top: 8em;
	display: none;
	background-position: center center;
	background-repeat: no-repeat;
}
	
#facet_previous {	
	left: 15px;
	background-image: url('../img/previous.png');
}

#facet_next {
	right: 15px;
	background-image: url('../img/next.png');
}


/***************************************************
* results
***************************************************/

.constraint_cont {
	position: absolute;
	width: 15em;
	margin-bottom: 25px;
}

#categories {
	float: left;
}

#explore {
	float: left;
	margin-top: 10px;
}

#constraint_content {
	width: 100%;
	float: left;
	margin-top: 5px;
}

#constraint_content_add {
	clear: both;
	width: 100%;
	float: left;
	margin-top: 5px;
	border-top-width: 1px;
	border-top-style: dashed;
}
 
#related_content {
	clear: both;
	width: 100%;
	float: left;
	overflow: hidden;
}

#related_content ul {
	margin: 2px 0 2px -6px;
}

#result_related_content {
	clear: both;
	width: 100%;
	float: left;
}

#extend_content {
	width: 100%;
	float: left;
}

.result_cont {
	position: absolute;
	left: 15em;
	margin-bottom: 25px;
	margin-left: 35px;
	margin-right: 25px;
}

.result_box {
	float: left;
	width: 100%;
	border-width: 1px 1px 1px 1px;
	border-style: solid;
}

.result_box_content {
	clear: both;
	float: left;
	width: 100%;
}

#result_content {
	width: 100%;
	float: left;
}

/***************************************************
* overlay layer
***************************************************/

.overlay {
	background-color: #F2F2F2;
	border-width: 1px;
	border-style: solid;
	border-color: #999;
}

.overlay_header {
	overflow: auto;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #999;
	background-image: url('../img/fb_blue_bg.png'); 
	background-repeat: repeat;
	color: #FFF;
	cursor: default;
}

.overlay_content {
	width: 100%;
	display: table;
}

.overlay_content img {
	margin: 10px 0 10px 0;
}

.overlay_row {
	display: table-row;
}

.local_view {
	width: 100%;
	display: table-cell;
	text-align: center;
}

.overlay_tabs {
	float: left;
}

.overlay_tab, .overlay_tab_selected {
	float: left;
	padding: 0.4em 0.5em 0.4em 0.5em;
	border-width: 0 1px 0 0;
	border-style: solid;
	border-color: #FFF;
}

.overlay_tab_selected {
	background-color: #999;
	
}

.overlay_buttons {
	float: right;
}

.overlay_button {
	float: left;
	padding: 0.4em 0.5em 0.4em 0.5em;
}

.overlay_previous {
	display: table-cell;
	padding-left: 30px;
	background-image: url('../img/previous.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.overlay_next {
	display: table-cell;
	padding-left: 30px;
	background-image: url('../img/next.png');
	background-position: center center;
	background-repeat: no-repeat;
}

/***************************************************
                results
***************************************************/

.header {
	overflow: auto;
	background-image: url('../img/fb_grey_bg.png');
	background-repeat: repeat;
	border-bottom: 1px solid #AAA;
}

.header_label {
	float: left;
	font-weight: bold;
	font-variant: small-caps;
	font-size: 1.2em;
	padding: 0.05em 8px 0.2em 6px;
}

.result_header {
	height: 1.75em;
	border-bottom: 1px solid #ddd;
}       

.result_header_label {
	padding: 0.2em 6px 0.2em 6px;
	border-top: 1px solid #f2f2f2;
	font-weight: bold;
}

.related_header_label {
	margin-top: 4px;
	padding: 0.2em 6px 0.2em 6px;
	border-bottom: 1px solid #ddd;
	font-weight: bold;
}

.related_group_label {
	padding: 4px 0 0 6px;
}

#related_content a {
}

/***************************************************
* result header button
***************************************************/

.result_header_buttons {
	float: left;
}

.result_header_label {
	float: left;
	padding: 0.25em 6px 0.15em 6px;
	border-top: 1px solid #e6e6e6;
	
}

.result_header_button {
	float: left;
	cursor: default;
	margin: 0 24px 0 0;
	border-right: 1px solid #FFF;
}

.result_header_button_value {
	float: left;
	padding: 0.25em 20px 0.15em 6px;
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-top: 1px solid #e6e6e6;
	background-image: url('../img/menu_arrow_down.png');
	background-position: 96% center;
	background-repeat: no-repeat;
}

.result_header_button_value:hover {	
	border-width: 1px 1px 0 1px;
	border-style: inset;
}

.result_header_button_content {
	position: absolute;
	z-index: 100;
	display: none;
	width: 10em;
	text-align: left;
	border-width: 1px;
	border-style: outset;
	cursor: default;
}

/***************************************************
* result view links
***************************************************/

.view_links {
	float: right;
}

.view_links_label {
	float: left;
	padding: 0.25em 6px 0.15em 0;
}

.view_link {
	float: left;
	border-width: 0 1px 0 1px;
	border-style: solid;
	padding: 0.25em 8px 0.15em 8px;
	cursor: default;
}

.selected_view_link {
	border-width: 1px 1px 0 1px;
	border-style: inset;
}

/***************************************************
* categories
***************************************************/

.category_box {
	cursor: default;
	margin: 2px 0 2px 0;
}

.category, .category_selected {
	clear: both;
	padding: 3px 0 3px 8px;
}

.category_selected {
	background-image: url('../img/fb_grey_select_bg.png');
	background-repeat: repeat;
}

.category_closed, .category_open, 
.category_selected_closed, .category_selected_open {
	float: left;
	padding-right: 16px;
	background-position: 6px center;
	background-repeat: no-repeat;
} 

.category_closed { background-image: url('../img/menu_arrow_right.png') }
.category_open { background-image: url('../img/menu_arrow_down.png') }
.category_selected_closed { background-image: url('../img/menu_arrow_right.png') }
.category_selected_open { background-image: url('../img/menu_arrow_down.png') } 


/***************************************************
* map content
***************************************************/

.marker {
	height: 12em;
}

.marker_title {
	margin-bottom: 10px;
	border-bottom: 1px solid #ddd;
	font-weight: bold;
}

/***************************************************
* autocompletion search results
***************************************************/

.search_result_column {
	float: left;
	text-align: left;
	width: 20em;
}

.search_result_content {
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-collapse: collapse;
}

.search_result_values {
	height: 11em;
	overflow: auto;
}

.search_result_row {
	cursor: default;
}

.search_result_value {
	padding: 0.2em 4px 0.2em 6px;
	font-size: .95em;
}

.search_result_value_big {
	padding: 0.4em 4px 0.4em 6px;
	font-size: .95em;
}

.search_result_header {
	padding: 0.2em 4px 0.2em 6px;
	text-align: center;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	background-image: url('../img/fb_grey_bg.png');
}

/***************************************************
* thumbnail Results
***************************************************/



.result_group_options {
	float: right;
	padding: 8px 6px 1px 6px;
}

.header_info {
	position: absolute;
	display: none;
	padding: 4px;
	margin-top: -1.5em;
	border-width: 1px;
	border-style: solid;
}

.expand_result_more {
	margin: 6px 0 0 36px;
	cursor: default;
}

/***************************************************
* result thumbnails
***************************************************/

.thumbnail_group {
	margin: 2px 0 2px 0;
	cursor: default;
	overflow: hidden;
}

.thumbnail_group_header {
	border-width: 0 0 1px 0;
	border-style: solid;
}

.thumbnail_group_label {
	padding: 8px 0 1px 6px;
	font-size: 1em;
	font-weight: bold;
}

.thumbnail_subgroup_header {
}

.thumbnail_subgroup_label {
	padding: 2px 0 2px 0;
	cursor: default;
}

.thumbnail_subgroup_label:hover {
	text-decoration: underline;
}

.thumbnail_subgroup_arrow_right, .thumbnail_subgroup_arrow_down {
	padding: 2px 0 2px 16px;
	background-position: 8px center;
	background-repeat: no-repeat;
}

.thumbnail_subgroup_arrow_right {
	background-image: url('../img/menu_arrow_right.png');
}
.thumbnail_subgroup_arrow_down {
	background-image: url('../img/menu_arrow_down.png');
}

.thumbnail_group_content, .expand_result_group {
	float: left;
	clear: both;
	padding: 3px 0 3px 6px;
}

.thumbnail_box {
	float: left;
	height: 12.2em;
	width: 12em;
	margin: 3px 3px 0 3px;
	padding: 8px;
	text-align: center;
}

.thumbnail_img_box {
	height: 10em;
}

.thumbnail_title {
	padding: 1px 0 2px 0;
	font-size: 0.95em;
	cursor: pointer;
}

.thumbnail_title:hover {
	text-decoration: underline;
}

.thumbnail_subtitle {
	font-size: 0.9em;
}

.thumbnail_scroll {
	clear: both;
	text-align: center;
	padding-top: 6px;
}

.thumbnail_scroll_stats {
	padding: 0 5px 0 5px;
}

/***************************************************
* scroll buttons
***************************************************/

.scroll_next_button, .scroll_next_button_inactive, 
.scroll_previous_button, .scroll_previous_button_inactive {
	padding: 4px 20px 0 0;
	background-repeat: no-repeat;
	background-position: center top;
}

.scroll_next_button {
	background-image: url('../img/next_small.png');
}
.scroll_next_button_inactive {
	background-image: url('../img/next_small_inactive.png');
}
.scroll_previous_button {
	background-image: url('../img/previous_small.png');
}
.scroll_previous_button_inactive {
	background-image: url('../img/previous_small_inactive.png');
}

/***************************************************
* result table
***************************************************/

#result_table {
	width: 100%;
	cursor: default;
	font-size: .95em;
	margin-bottom: 8px;
}

.result_table_row {
	border-width: 1px;
	border-style: solid;
}
		
.result_table_row_odd {
	border-width: 1px;
	border-style: solid;
}

.result_table_header {
	border-width: 1px 0 1px 0;
	border-style: solid;
	border-collapse: collapse;
	text-align: left;
}

.result_table_cell, .result_table_count {
	border-width: 1px;
	border-style: solid;
	padding: 3px 0 3px 8px;
	max-width: 15em;
	border-collapse: collapse;
}

.result_table_count {
	text-align: right;
	padding: 3px 16px 3px 0;
	width: 4em;
}

.result_table_header {
	border-width: 1px;
	border-style: solid;
	padding: 3px 0 3px 8px;
	font-weight: bold;
}


/***************************************************
             instance table view
***************************************************/

.instance_row_content table tr td {
	padding: 0 5px 0 5px;
	border-width: 1px;
	border-style: solid;
}

.td_left {
	padding-right: 10px;
}

.td_right {
	text-align: right;
	padding-left: 10px;
}

/***************************************************
*
***************************************************/

.constraints {
	clear: both;
	float: left;
}

.constraint {
	float: left;
	padding: 2px 6px 2px 6px;
	margin: 0 6px 6px 8px;
	border-width: 1px;
	border-style: solid;
}

.constraint_label {
	padding-bottom: 3px;
}

.constraint_delete {
	float: right;
	padding: 4px 10px 0 0;
	background-image: url('../img/fb_close.png');
	background-repeat: no-repeat;
	background-position: left center;
}



/***************************************************
                    facet
***************************************************/

.facet_nav, .facet_nav_more, .facet_nav_less {
	float: left;
	height: 12.5em;
	width: 18px;
	border-width: 1px;
	border-style: outset;
}
	
.facet_nav_more	{
	float: right;
	background-image: url('../img/fb_more.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.facet_nav_more:hover {
	background-image: url('../img/fb_more_active.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.facet_nav_less	{
	background-image: url('../img/fb_less.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.facet_nav_less:hover {
	background-image: url('../img/fb_less_active.png');
	background-position: center center;
	background-repeat: no-repeat;
}

.facet_box {
	float: left;
	min-width: 200px;
	text-align: left;
}

.facet {
	border-width: 1px 1px 0 0;
	border-style: solid;
}

.facet_header {
	padding: 2px 4px 2px 6px;
	text-align: center;
	font-weight: bold;
	background-image: url('../img/fb_grey_bg.png');
	font-size: .95em;
}

.facet_controls {
	float: right;
	margin-top: -1.1em;
}

.facet_del {
	padding-left: 14px;
	background-image: url('../img/fb_close.png');
	background-repeat: no-repeat;
	background-position: center center;
}

.facet_search_toggle {
	padding-left: 14px;
	background-image: url('../img/fb_search_bg_small.png');
	background-repeat: no-repeat;
	background-position: center center;
}

.facet_values_box {
	
}

.facet_values {
	height: 10.5em;
	overflow: auto;
	padding: 0 0 4px 0;
}

.facet_content_nav {
	margin: 1px 0 1px 0;
	border-width:  0 1px 1px 0;
	border-style: solid;
	border-width: 1px;
	border-style: solid;
	
	text-align: center;
	font-size: 0.9em;
}

/***************************************************
               facet flat list
***************************************************/

.facet_value_row, .facet_value_row_selected {
	display: table;
	padding: 0.2em 2px 0.2em 6px;
	cursor: default;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	font-size: .95em;
}

.facet_value_row_content {
	display: table-row;
}

.facet_list, .facet_tree {
}


.facet_value {
	display: table-cell;
	width: 100%;
	padding-right: 4px;
	overflow: hidden;
}

.facet_value_count, .facet_value_count_selected {
	display: table-cell;
	text-align: right;
	padding: 0 2px 1px 2px;
	margin: auto 0;
}

.facet_search {
	display: none;
	padding-left: 2px;
	border-bottom: 1px solid #CCC;
}

.facet_search input {
	border: none;
	padding-left: 14px;
	background:url('../img/fb_search_bg_small.png') no-repeat center left #fff;
	font-size: .9em;
}

.facet_search input:focus {
	background:url('../img/fb_search_bg_small_selected.png') no-repeat center left #fff;
}

/***************************************************
               facet tree
***************************************************/

.tree_arrow_right, .tree_arrow_down, .tree_leaf {
	display: table-cell;
	padding-left: 16px;
	background-position: center left;
	background-repeat: no-repeat;
	cursor: default;
}

.tree_arrow_down {
	background-image: url('../img/arrow_down.png');
}

.tree_arrow_right {
	background-image: url('../img/arrow_right.png');
}

.tree_leaf {
	background-image: url('../img/tree_leaf.png');
}

/***************************************************
* drop down
***************************************************/

.drop_down_row, .drop_down_row_selected {
	overflow: hidden;
	border-bottom: 1px solid #FFF;
}

.drop_down_parent, .drop_down_leaf, .drop_down_option {
	padding: 0.4em 8px 0.4em 8px;
	font-size: .95em;
}

.drop_down_option {
	padding-left: 24px;
}

.drop_down_selected {
	background-image: url('../img/option_selected.png');
	background-position: 8px center;
	background-repeat: no-repeat;
}

/*
.drop_down_parent {
	background-image: url('../img/menu_arrow_right.png');
	background-position: 97% center;
	background-repeat: no-repeat;
}
*/


/***************************************************
* loading message
***************************************************/

.loading_txt {
	padding-left: 5px;
}

/***************************************************
                     status
***************************************************/

.hidden {
	visibility: hidden;
}
.visisble {
	visibility: visible;
}

.status {
}



/***************************************************
                 opening page
***************************************************/

.opening {
	clear:  both;
	padding: 10px;
}

.type_layer {
	clear: both;
	float: left;
	padding: 20px 5px 5px 0;
	border-bottom: 1px solid #ddd;
}

.key_image {
	float: left;
	border: 4px solid #CCC;
}

.properties{
	float: left;
	padding-left: 20px;
}

.property_layer {
	padding: 3px 0  3px 0;
}

.type_row {
	padding-bottom: 5px;
}

.type {
	font-size: 150%;
	font-weight: bold;
}

.property {
	font-weight: bold;
	text-transform: lowercase;
}

.right {
	float: right;
}

.center {
	text-align: center;
}

/***************************************************
* shadow
***************************************************/

.shadow_box {
	margin-left: -5px;
}

/*.shadow_lbox {
	background:url('../img/shadows/shadow_tl.png')  top left  no-repeat;
}
*/

.shadow_lbox {
	float: left;
	padding-left: 6px;
	/*background:url('../img/shadows/shadow_tl.png')  top left  no-repeat;*/
	background:url('../img/shadows/shadow_left.png')  bottom left  repeat-y;
}
/*
.shadow_rbox {
	padding-left: 8px;
	background:url('../img/shadows/shadow_tl.png')  top left  no-repeat;
}
*/
.shadow_tr {
	height: 8px;
	padding-left: 8px;
	background:url('../img/shadows/shadow_tl.png')  top left  no-repeat;
}

.shadow_rbox {
	float: left;
	padding-right: 6px;
	background:url('../img/shadows/shadow_right.png')  bottom right  repeat-y;
}

.shadow_bbox {
	clear: both;
}

.shadow_bl {
	float: left;
	width: 6px;
	height: 8px;
	background:url('../img/shadows/shadow_bl.png') bottom left no-repeat;
}

.shadow_b {
	float: left;
	background:url('../img/shadows/shadow_bottom.png') bottom left repeat-x;
	height: 8px;
	width: 28em;
}

.shadow_br {
	float: left;
	width: 6px;
	height: 8px;
	background:url('../img/shadows/shadow_br.png') bottom right no-repeat;
}

