#container_thumbs {
	width: auto;
}

dl.gallery
{
	border: 1px solid #747474;
	background-color: #ddd;
	width: 110px;
	text-align: center;
	padding: 15px;
	float: right;
	margin: 5px;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;
}

.gallery dt { font-weight: bold; }

.gallery dt img
{
	border: 1px solid #747474;
	width: 110px;
}

.gallery dd
{
	margin: 0;
	padding: 0;
	font-size: 0.9em;
	color: #5d5d5d;
}

.profileThumb img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.profileThumb {
	text-align: center;
}


#likes {
	z-index: 5000;
}

#resource-body {
	margin-top: 10px;
}

.smallt {
	font-size: 85%;
}
.comments_formP {
	border: 1px solid black;
	padding: 5px;
	background: #ddd;		
	position: absolute;
	z-index: 1010;
	width: 420px;
	margin-left: 50px;
	height: auto;
	color: black;
}


#comments_form {
	border: 1px solid black;
	padding: 5px;
	background: #ddd;		
	width: 430px;
	margin-left: 50px;
	height: auto;
	color: black;
	z-index: 1000;
	position: absolute;
}

#comments_list {
	z-index: 1000;
}

#flash_notice {
	color: green;
	margin-left: 10px;
}

.linkh {
	font-size: 85%;
	display: none;
	color: black;
}
.linkv {
	font-size: 85%;
}

.linkv:hover {
	color: black;
}
.linkh:hover {
	color: black;
}


table.propertiesTable
{ 
	border-collapse: collapse;
	border-spacing: 0px; 
	margin-top: 20px;
}

#propertiesTable tr td {
	border-bottom: 1px #666 dotted;
	text-align: left;
	font-size: .9em;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 8px;
	padding-right: 0px;
	vertical-align: top; 
	width: auto;
}

#propertiesTable th {
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 8px;
	padding-right: 0px;
	border-bottom: 1px #666 dotted;
}

.structurethumbs {
	margin-top: 20px;
}

.structurethumbs td{
	margin: 0px;
	padding: 2px;
	vertical-align: top;
	width: 130px;
}

.structurethumbs td a {
	border: 0px;
	text-decoration: none;
}

.keywords, .match {
	color: #990033;
}

#search_results li {
	padding-bottom: 10px;
}

#map_divz {
	width: 835px;
	height: 600px;
}
#map_divh {
	margin-top: 0px;
	width: 420px;
	height: 560px;
}
#droppic img {
	display: block;
	margin-left: auto;
	margin-right: 15px;
	}

/* USER PAGE */

#user_left .ajaxful-rating-wrapper {
float: right;}

div.ajaxful-rating-wrapper ul{
	margin-right: auto;
	margin-left: auto;
}

.small-center {
	font-size: 75%; 
	text-align: center;
	width: 100%;
	display: block;
}

#user_left {
	border: 0px dotted black;
	padding: 30px 0px 50px 40px;
	width: 400px;
	font-size: 12px;
	color: #6f7870;
	line-height: 18px;
	float: left;
}


#user_right {
	border: 0px dotted black;
	float: right;
	width: 445px;
	margin: 30px 30px 50px 0px;
	font-size: 14px;
}
#content_page {
	padding: 10px 50px 0px 50px;
	line-height: 18px;
}

/* FACET PAGE */
#facet_left {
	border: 0px dotted black;
	padding: 30px 50px 50px 40px;
	width: 220px;
	font-size: 14px;
	color: #6f7870;
	line-height: 18px;
	float: left;
}
#facet_right {
	border: 0px dotted black;
	float: right;
	width: 550px;
	margin: 30px 50px 50px 0px;
	font-size: 12px;
}

#facet_right_browse {
	border: 0px dotted black;
	float: right;
	width: 500px;
	margin: 30px 50px 50px 0px;
	font-size: 12px;
}


#facet_left li {
	font-size: 14px;
}

.facet {
	margin-bottom: 12px;
	clear: both;	
}

.facet ul {
	margin: 0;
	padding: 0px;
	list-style-type: none;
}

.facet li {
	display: block;
	padding: 0px 0 0px 15px;
	margin: 0px;	
	font-size: 12px;
	
}

.facet h3 {
	margin: 0px;
	padding: 2px 2px 2px 0px;
	font-size: 14px;
}

.facet a {
	}


.facetHits {
	font-size: 0.8em; 
	text-decoration: none;
}

.facnav {
	float: left;
	margin-right: 15px;
}

.facnav img {margin-right: 5px;}

.castleItem {
	border: 1px solid #666;
	padding: 5px;
	margin-top: 10px;
	margin-left: 15px;
	background: #ddd;
	width: 400px;
	height: auto;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;	
}


.castleItem img {
	margin-right: 10px;
	float: right;
	z-index: 1000;
}

.categories ul {
	padding-left: 20px;
	list-style-type: none;
	font-weight: normal;

}

.categories ul li {
	font-size: 12px;
}

.facnav {
	float: left;
	margin-right: 15px;
}
.facnav img {margin-right: 5px;}
/*  end facets */

.addbutton {
	text-align: center;
	margin-top: 10px;
	font-size: 90%;
}



#imglist {
	z-index: 3000;
	display: inline;
	float: right;
	width: 200px;
	margin-right: 0px;
	margin-left: auto;
	margin-top: 0px;
	padding: 0px;
	border: 0px solid black;
}

#imglist img {
	margin-left: 4px;
}

#imglist ul {
	margin: 0px;
}

#imglist li
{
display: inline;
list-style-type: none;
padding-right: 2px;
float: right;
z-index: 1;
}

.qtip-wrapper {
	opacity: 0.9;
	color: #ccc;
}

.qtip-content {
	opacity: 0.9;
	color: #ccc;
}


#map {
	margin-top: 20px;
	margin-bottom: 20px;	
}


.titleh3 {
	float: left;
	width: 535px;	
	display: inline;
	margin: 0px;
	font-family: "Copperplate Gothic Light", "Copperplate", "Tahoma", "Arial";
	font-size: 26px;
	color: #555;
	font-weight: 400;
	line-height: 26px;
	border: 0px solid #959c96;
}

.jse  {
	font-size: 18px;
	margin-left: 8px;	
}

#content_title_content {
	border-top: 1px solid #959c96;
	border-bottom: 1px solid #959c96;
	width: 835px;
	padding: 4px 0 2px 10px;
	margin: 0 0 0 40px;
	text-shadow: 2px 2px 2px #ddd;
}


.roundbox {
	width: 100%;
	border: 0px solid #ccc;
	background-color: #fff;
	padding: 0px;
	margin: 0px;	
}

.roundbox_title {
	border-top: 2px solid #666;
	border-right: 2px solid #666;
	border-left: 2px solid #666;
	border-bottom: 0px solid #666;
	background-color: #666;
	padding: 1px 1px 0px 12px;
	font-size: 12px;
	line-height: 16px;
	color: #ccc;
	font-weight: bold;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
}

.roundbox_title a{
	color: #f8f8f8;
}

.roundbox_text {
	border: 2px solid #666;
	padding: 10px;
	margin: 0px; ;
	-moz-border-radius-bottomleft:10px;
	-moz-border-radius-bottomright:10px;
	-webkit-border-bottom-left-radius:10px;
	-webkit-border-bottom-right-radius:10px;
	font-size: 0.9em;
}


#donation {
	font-size: 0.85em;
	text-align: right;
	margin-top: 12px;
	}

#content a:hover {
	color: black;
}

table.profile_table
{ 
width: 562px;
background-color: #f7f7f7;
border-collapse: collapse;
border-spacing: 0px; 
margin-top: 20px;}

.profile_table td { 
border-bottom: 1px #666 dotted;
text-align: left;
font-size: .9em;
background-color: #fdfdfd;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 8px;
padding-right: 0px;
vertical-align: top; 
width: auto;
}

.table_title {
	font-weight: bold;
	white-space: nowrap;
}


td.tdkamon {
	width: 100px;
	padding-left: 10px;
	padding-top: 10px;
	text-align: center;
	background-color: #fff;
	vertical-align: top; 
	margin-bottom: 5px;
	border: 0px;
}

.tags ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.tags ul li {
	font-size: .9em;
}

.castleItem a {
	color: #666;
}

/* nav things */
#user_tabs_container
{
margin-left: 40px;
padding: 0;
height: 20px;
}

#user_tabs ul
{
margin: 0px;
padding: 0px 0px;
display: block;
}

#user_tabs li
{
margin-right: 1px;
padding: 0;
list-style: none;
float: left;
}

#user_tabs a, #user_tabs li.extend
{
margin: 0px;
display: block;
border-right: 1px solid #333;
border-left: 1px solid #333;
border-top: 2px solid #eee;
border-bottom: 1px solid #333;
padding: 1px 6px;
text-decoration: none;
background: #fff;
font: normal 12px verdana, serif;
color: #555;
-webkit-border-bottom-left-radius:8px;
-webkit-border-bottom-right-radius:8px;
-moz-border-radius-bottomleft:8px;
-moz-border-radius-bottomright:8px;
}

#user_tabs a:hover, #user_tabs a#current
{
padding: 1px 6px;
background: #ddd;
border-right: 1px solid #333;
border-left: 1px solid #333;
border-top: 2px solid #ddd;
border-bottom: 1px solid #333;
color: #333;
}
#user_tabs li#active
{
border-right: 2px solid #828282;
border-bottom: 2px solid #828282;
}

#views {
	border-spacing: 0px; 
	border: 2px solid #959c96;	
	border-collapse:collapse;
}


#views td {
	margin: 0px;
	padding: 0px;
	border: 0px;
	line-height: 0px;	
}

#views td a img {
	border: 3px solid #fff;
	padding: 0px;
	margin: 0px;
}
#views td a:hover img {
	border: 3px solid #666;
}
#views td img.current {
	border: 3px solid black;
}

#views {
	border-spacing: 0px; 
	border-collapse:collapse;
}


#viewsk td {
	margin: 0px;
	padding: 0px;
	border: 0px;
	line-height: 0px;	
}

#viewsk td a img {
	border: 3px solid #fff;
	padding: 0px;
	margin: 0px;
}
#viewsk td a:hover img {
	border: 3px solid #b0c4de;	
}
#viewsk td img.current {
	border: 3px solid black;
}

.center_pic {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#profile_pic {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#castlepic {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}


.next-prev {
	margin-top: 10px;
	text-align: right; 
	font-weight: bold; 
}
#map{
	margin-top: 5px;
	padding: 0px;
	line-height: 0px;
}
#map2{
	margin-top: 20px;
	margin-bottom: 10px;
	padding: 0px;
	line-height: 0px;
}
#map_div {
	margin-top: 30px;
	width: 475px;
	height: 600px;
}

/* auto complete stuff */
div.auto_complete {
	width: 350px;
	background: #fff;
}
div.auto_complete ul {
	border:1px solid #888;
	margin:0;
	padding:0;
	width:100%;
	list-style-type:none;
	}
div.auto_complete ul li {
	margin:0;
	padding:3px;
	color: black;
}
div.auto_complete ul li.selected { 
	background-color: #ffb;
}
div.auto_complete ul strong.highlight {
	color: #800;
	margin:0;
	padding:0;
}
.imgicon {
	margin: 2px;
}

dd {
	margin-bottom: 10px;
}

.LTwrapper {
	font-size: 0.9em;
	width: 750px;
}

.LTprovided {
		clear: both;
}

.LTitem {
		width: 125px;
		float: left;
		margin: 10px;
		height: 180px;
		line-height: 1.1em;
}

.LTitem img {
display: block;}

#top100table {
}

#top100table tbody tr td {
	padding: 3px 8px;
	border-bottom: 1px solid #eee;
}

#top100table tbody tr.selected td {
	background-color: #eee;
	padding: 0px 8px;
	border: 0px;
}	

/* auto complete stuff for Jquery */

.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/* 
	if width will be 100% horizontal scrollbar will apear 
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/* 
	it is very important, if line-height not setted or setted 
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url('/images/design/activity4.gif') right center no-repeat;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #666;
	color: white;
}

/* jquery UI stuff */

/*demo page css*/
.fg-button {
	outline: 0;
	margin: 0 4px 0 0;
	padding: .4em 1em;
	text-decoration:none !important;
	cursor:pointer;
	position: relative;
	text-align: center;
	zoom: 1;}

.fg-button .ui-icon {
	position: absolute;
	top: 50%;
	margin-top: -8px;
	left: 50%;
	margin-left: -8px;}

a.fg-button {
	font: 80% "Trebuchet MS", sans-serif;}

	/* remove extra button width in IE */
button.fg-button {
	width:auto;
	overflow:visible;}
.fg-button-icon-left { padding-left: 2.1em; }
.fg-button-icon-right { padding-right: 2.1em; }
.fg-button-icon-left .ui-icon {
	right: auto;
	left: .2em;
	margin-left: 0;}
.fg-button-icon-right .ui-icon {
	left: auto;
	right: .2em;
	margin-left: 0; }
	
/* tag facets */
#taglinks {
}

#tagpics {
}


ul#tagcontainer {
	border: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
}

#tagcontainer li
{
	display: block;
	float: left;
	text-align: center;
	padding: 2px 2px;
	margin: 0px;
}

#tagcontainer a
{
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 1.0em;
}

#tagpicst {
}

#tagpicst td {
	font-size: 0.9em;
	padding: 5px;
	margin: 0;
	text-align: center;
	width: 110px;
}

#lang {
	position: absolute;
	top:  31px;
	right: 185px;
}
	.mapthumb{border: 2px solid #ddd;}
	
	#side_bar {
		border: 1px solid #ccc; 
		position: absolute; 
		width: 225px;
		background: #ddd;
		padding: 10px;
		}

	#side_bar img {
		border: 2px solid #bbb;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-top: 10px;
		margin-bottom: 10px;
	}
		
	#side_bar .tagtext {
		display: block;
		padding-top: 5px;
	}
		
	#side_bar div {
		visibility: hidden; 
		position: absolute; 
		left: 0px; 
		top: 0px;
	}
	
	#navlist li a:link {text-decoration: none;}
	
	#navlist li {
	display: inline;
	/* for IE5 and IE6 */
	}

	#navlist
	{
	width: 100%;
	/* to display the list horizontaly */
	margin: 0 0 0 0em;
	padding: 0;
	}

	#navlist li a
	{
	width: 99.99%;
	/* extend the sensible area to the maximum with IE5 */
	display: block;
	border-bottom: 1px #eee solid;
	text-align: center;
	text-decoration: none;
	}

	#navlist a:hover { 
		background-color: #b0c4de;
		text-decoration: none;
		 }

.hoverclass {
background-color: #b0c4de;
font-color: red;
text-decoration: none;
visibility: visible;
}