html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

.clear {
	clear: both;
	font-size: 1px;
	line-height: 0em;
	height: 0;
	margin: 0;
	padding: 0;
}

.hidden, legend, .gallery-vote span, .switchpic span {
	display: none !important;
	overflow: hidden;
	visibility: hidden;
}

.taleft { text-align: left; }
.taright { text-align: left; }
.tacenter { text-align: center; }

.nowrap { white-space: nowrap; }

html, body {
	width: 100%;
	height: 100%;
	background: #fff;
}

body {
	font: normal 13px/16px tahoma, verdana, sans-serif;
	color: #53666F;
	text-align: center;
}

#wrapper {
	width: 990px;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	position: relative;	
	margin: 0 auto;
	padding: 27px 0 0;
	text-align: left;
}

	#top {		
		background: #0D9102;
		margin: 0 0 7px;
		padding: 0 0 30px;
		height: 79px;
	}
	
		#logo, #logo img {
			float: left;
			display: block;
			padding: 30px 0 0 3px;			
			border: 0;
			text-decoration: none;
		}
		
		#logo.tv-logo {
			padding: 25px 0 0 5px;
		}
		
		#logo img { padding: 0; }
		
		#banner-120-60, #banner-468-60 {
			float: right;
			display: inline;
			height: 60px;
			background: #fff;
			margin: 7px 2px 7px 2px;
			border: 2px solid #fff;
		}
		
		#banner-400-80 { text-align: center; }

		#orange #banner-120-60, #orange #banner-468-60 { border-color: #FCA40C; }
		
		#langmenu {
			position: absolute;
			top: 113px;
			left: 44px;
		}
		
		#mainmenu {
			position: absolute;
			left: 186px;
			top: 105px;
		}
		
			#langmenu li, #mainmenu li {
				float: left;
				display: inline;
				margin: 0 6px 0 0;
				padding: 0 0 0 7px;
				border-left: 1px solid #fff;
				background: transparent;
				text-transform: uppercase;
			}
			
			#langmenu li.first { border: 0; }
			
				#langmenu a {
					display: block;					
					color: #fff;
					text-decoration: none;
					font-size: 11px;
					line-height: 13px;
				}
				
				#langmenu li.active a { font-weight: bold; }
				
				#langmenu a:hover { text-decoration: underline; }
				
			#mainmenu li {
				width: 111px;
				margin: 0;
				padding: 0;
				border: 0;
				text-align: center;
				background: transparent;
			}
			
			#mainmenu li.active { background: url('http://i.liepajniekiem.lv/images/design/top-navigation-active.gif') no-repeat 0 0; }
			
				#mainmenu a {
					color: #fff;
					font: bold 14px/31px tahoma, sans-serif;					
					text-decoration: none;
				}
				
				#mainmenu a:hover { text-decoration: underline; }
				
				#mainmenu .active a {
					color: #53666F;
					text-decoration: none;
				}
				
		#contentwrap {
			float: left;
			width: 811px;	
			padding: 0 0 15px;		
		}
		
		#content {
			float: right;
			width: 620px;
			overflow: hidden;
			padding: 0 3px;			
		}
		
			#location {
				padding: 6px;
				margin: 0 0 10px;
				border: 1px solid #C5E0C5;
				line-height: 13px;
			}
			
			#location a {
				font: normal 11px/11px tahoma, sans-serif;
				color: #53666F;
				text-decoration: none;
				background: url('http://i.liepajniekiem.lv/images/design/location-icon.gif') no-repeat 0 6px;
				padding: 0 0 0 11px;
				margin: 0 0 0 2px;
			}
			
			#location a.first {
				padding: 0;
				margin: 0;
				background: none;
			}
			
			#location a:hover {
				text-decoration: underline;
				color: #037405;
			}
		
		#leftbar {
			float: left;
			width: 185px;
		}
		
			.box {
				border: 1px solid #0B9000;
				margin: 0 0 7px;
				padding: 0 0 7px;
			}
			
			#rightbar .box { border: 0; }
			
			.box h3, #ad h6 {
				background: #0B9000;
				font: bold 13px/16px tahoma, sans-serif;
				padding: 4px 7px;
				color: #fff;
			}
			
			.box ul {
				margin: 0;
				padding: 3px 0 0;
				list-style: none;
			}			
			
				.box li {
					margin: 0;
					padding: 2px 0 3px;
					background: transparent;
				}
					.box li a {
						padding: 0 5px 0 15px;
						color: #011A91;
						text-decoration: none;
					}		
					
					.box #addmenu li a {
						background: url('http://i.liepajniekiem.lv/images/design/triangle2.gif') no-repeat 5px 50%;
					}

					.box #addmenu li.textual-ads {
						padding: 10px 0 3px;
					}

					.box #addmenu li.textual-ads a {
						display: block;
						background: url('http://i.liepajniekiem.lv/images/design/triangle2.gif') no-repeat 5px 8px;
						color: #fc0d10;
						font-weight: bold;
						text-decoration: underline;
					}
					
					.box ul ul, .box ul li.first-level.active ul ul { display: none; }
					.box ul li.first-level.active ul, .box ul li.first-level.active li.second-level.active ul { display: block; }
					
					.box li.active a, .box li.active li.active a, .box li.active li.active li.active a { font-weight: bold; }					
					.box li.first-level a, .box li.active li.second-level a { padding: 0; }					
					.box li.first-level a.expander { padding: 0 0 0 4px; }
					.box li.first-level a.expander:hover { background: #eee; }			
					.box li a:hover { text-decoration: underline; }
					
					.box li li {
						padding: 3px 0 2px 0;
						margin: 0;
						background: #eee;
					}
					
					.box li.active li.second-level { padding: 2px 0 0; }
					
					#rightbar .box li { padding: 1px; }
					
					#rightbar .box li li { background: #eee url('http://i.liepajniekiem.lv/images/design/triangle2.gif') no-repeat 10px 10px; }
					
					#rightbar .box ul ul { padding: 4px 0 0; }
					
						.box li.active li a {
							color: #53666F;
							font-weight: normal;
							padding: 0 0 0 20px;
							font-size: 12px;		
						}
						
						.box li.active li.second-level a.expander { margin: 0 0 0 14px; }
					
							.box li li li {
								background: #fff;
								padding: 5px 0 0 25px;
								margin: 0;
							}
							
							.box li.active li.active li a {
								font: normal 11px/13px tahoma, sans-serif;
								background: url('http://i.liepajniekiem.lv/images/design/triangle.gif') no-repeat 0 8px;
								padding: 0 0 0 10px;
							}
							
				.box form, .box p {
					padding: 0 16px 4px;
					font-size: 11px;
				}
				
				.box p { padding: 2px 16px; }
				
					.box form li { padding: 10px 0 0; }
					
					.box input.textfield, #sidecontent-3 select, #companyName {
						width: 140px;
						border: 1px solid #E1E1E1;
						padding: 4px;
						color: #53666F;
						font: normal 11px tahoma, sans-serif;
					}
					
					.box label { font-size: 13px;}
				
				#remember { float: left; }
				.button { float: right; }
				.auth { text-align: right; }
				
					.box p a, p.button a, #authorisation li a {
						color: #011A91;
						text-decoration: none;
						font-size: 13px;
					}
					
					#authorisation .auth a {
						margin: 0 15px 0 0;
						padding: 0 25px 0 0;
						background: url('http://i.liepajniekiem.lv/images/design/login-button.gif') no-repeat 100% 100%;
					}
					
					p.button a, #authorisation .auth a, #authorisation li.button a {
						color: #FE3419;
						font-size: 13px;
					}
					
					#authorisation p a { font-size: 11px; }
					
					#authorisation form { width: 151px; }
					
					#authorisation li {
						margin: 0;
						padding: 6px 0 0;
					}
					
					#authorisation li.button { margin: 0; }
					
					#authorisation li.button a {
						padding: 0 5px 0 0;
					}
					
					#authorisation li a {
						color: #011A91;
					}
					
					.box p a:hover, p.button a:hover, #authorisation a:hover { text-decoration: underline; }
					
				#leftbar li h3, #rightbar h3, #events h2 {
					position: relative;
					border-bottom: 1px solid #109306;
					padding: 7px;
					margin: 0 0 6px;
					color: #0B9000;
					font: bold 12px/16px tahoma, sans-serif;				
				}

					#leftbar li#house-ad h3, #leftbar li#house-ad h3 a {
						color: #fe3419;
						padding-bottom: 4px;
					}
					
					#leftbar li#house-ad img {
						display: block;
						margin: 0 auto 10px;
					}
					
					#leftbar li#house-ad, #leftbar li#house-ad input {
						color: #53666f;
						font: normal 11px/13px tahoma, arial, sans-serif;
					}
					
					#leftbar li#house-ad input {
						text-align: right;
						padding: 0 3px;
						width: 37px;
						border: 1px solid #cdcdcd;
						height: 13px;
					}
					
					#leftbar li#house-ad dt {
						clear: left;
						float: left;						
						width: 109px;
						height: 18px;
						padding: 0 3px 0 7px;
					}
					
					#leftbar li#house-ad dd {
						float: left;
						width: 58px;
						overflow: hidden;								
						padding-right: 7px;
						text-align: right;
						white-space: nowrap;
						height: 18px;
					}
					
					#leftbar li#house-ad dl .maksajums {
						background: #d1eacf;
						color: #000;
					}
					
					#leftbar li#house-ad p {
						padding: 9px 7px;
						line-height: 15px;
						background: url('http://i.liepajniekiem.lv/images/design/house-bg.gif') repeat-x 0 0;
					}
					
					#leftbar li#house-ad a {
						color: #011a91;
					}
				
				#rightbar h3 { padding: 4px 7px 7px; }
				
					#leftbar h3 a, #rightbar h3 a {
						color: #0B9000;
						font: bold 12px/16px tahoma, sans-serif;
						text-decoration: none;
					}
					
					#leftbar h3 a:hover, #rightbar h3 a:hover { text-decoration: underline; }
					
					#leftbar h3 a.expander, #rightbar h3 a.expander {
						position: absolute;
						right: 7px;
						top: 8px;
					}
					
					#rightbar h3 a.expander { top: 5px; }
				
				#sidecontent-2 form, #vote-results { margin: 0 8px; }
					
					#sidecontent-2 li {
						padding: 0;
						margin: 0;
						background: transparent;
					}
					
					#sidecontent-2 p {
						font-weight: bold;
						margin: 0 0 10px;
					}
					
					#sidecontent-2 p.button { font-weight: normal; }
					
					#vote-results dt {
						clear: left;
						float: left;
						display: block;
						width: 35px;
					}
					
					#vote-results dd {
						float: left;
						display: block;	
						width: 134px;					
					}
					
					#vote-results .button { margin: 10px 0; }
					
				#sidecontent-3 { padding: 0 7px 0 0; }
				
					.important {
						font-size: 9px;
						color: #FF0000;
						text-align: center;
						margin: 0 0 2px;
					}
					
					#sidecontent-3 select, #companyName {
						width: 160px;
						margin: 0 0 6px 7px;
					}
					
					#sidecontent-3 select { width: 170px; }
					
					#sidecontent ol {
						list-style: none;
						margin: 0;
						padding: 0;
					}
					
					#sidecontent li {
						background: transparent;
						margin: 0;
						padding: 0;
					}
					
				#sidecontent-4 li, #sidecontent-8 li, #sidecontent-113 li, #sidecontent-9 li{
					text-align: center;
					color: #53666F;
					font-size: 11px;
					margin: 10px 0 0;
					padding: 0;
					background: transparent;
				}
				
				#sidecontent-8 li, #sidecontent-9 li{
					text-align: left;
				}
				
					.gallery-desc a, #sidecontent-8 li a, #sidecontent-9 li a{
						color: #011A91;
						font-size: 12px;
						text-decoration: none;
						background: url('http://i.liepajniekiem.lv/images/design/gallery.gif') no-repeat 0 6px;
						padding: 0 0 0 12px;
					}
					
					#sidecontent-8 li a, #sidecontent-9 li a{
						background: transparent;
						padding: 0;
					}
					
					#sidecontent-4 a.comments, #galleries a.comments, #sidecontent-8 a.comments, #sidecontent-113 a.comments, #sidecontent-9 a.comments {
						padding: 0;
						background: transparent;
					}
					
					#sidecontent-4 a:hover, #sidecontent-8 a:hover, #sidecontent-113 a:hover, #sidecontent-9 a:hover{ text-decoration: underline; }
					
				#sidecontent-5 li {
					background: url('http://i.liepajniekiem.lv/images/design/forum-news-icon.gif') no-repeat 0 6px;
					margin: 6px 20px 0 7px;
					padding: 0 0 0 12px;
				}
				
					#sidecontent-5 a {
						color: #011A91;
						font-weight: bold;
						text-decoration: none;
					}	
	
					#sidecontent-5 a:hover { text-decoration: underline; }			
		
		#rightbar {
			float: right;
			width: 175px;
			padding: 0 0 15px;
		}
		
			#addmenu {
					padding: 5px 0 0;
			}
				
				#addmenu li {
					padding: 0;
					margin: 0;
				}
		
			.banners li {
				margin: 3px 0 0;
				padding: 0;
				background: transparent;
				text-align: center;
			}
			
			#sidecontent-7 {
				padding: 0 7px;
			}
			
				#sidecontent-7 img {
					float: right;
				}
				
				#sidecontent-7 p {
					clear: both;
					line-height: 26px;
				}
				
				#sidecontent-7 li {
					margin: 0;
					padding: 0;
					background: transparent;
				}
				
			#rightbar th {
				font-weight: bold;
				width: 53px;
				padding: 3px 0 3px 7px;
			}

			#rightbar td { padding: 3px 0; }
			
			#sidecontent-8, #sidecontent-9{
				padding: 0 7px;
			}
			
			#webcam {
				padding: 0 7px;
			}
			
				#webcam img { float: right; }
				
				#webcam a {									
					line-height: 48px;					
					color: #011A91;
					font-weight: bold;
					text-decoration: none;
				}
				
				#webcam a:hover { text-decoration: underline; }
				
				#webcamlink {					
					background: url('http://i.liepajniekiem.lv/images/design/triangle2.gif') no-repeat 0 50%;
					padding: 0 0 0 10px;
				}
		
		#footer {
			clear: both;
			position: relative;
			margin: 3px 0 0 0;
			padding: 11px 5px 20px 5px;
			border-top: 1px solid #dfdfdf;
			font-size: 11px;
			height: 72px;
			text-align: center;	
		}
		
			#counter {
				position: absolute;
				right: 0;
				bottom: 30px;
			}
			
			#footer-info {
				position: absolute;
				top: 3px;
				left: 0;
			}
			
				#footer p {
					line-height: 13px;
					margin: 10px 0 0;
					text-align: left;
				}
				
					#footer p img { vertical-align: bottom; }
			
			#footer ul {
				display:table;
				white-space: nowrap;
				margin: 0 auto;
				padding: 0;
			}
			
				#footer li {
					padding: 0;
					margin: 0 10px 0 0;
					display: table-cell;
				}
				
					#footer li a, #topmenu li a {
						display: block;
						margin: 0 10px;
						color: #53666F;
						text-decoration: none;
					}
					
					#footer li a:hover, #topmenu li a:hover {
						color: #037405;
						text-decoration: underline;
					}
		
		#topmenu {
			position: absolute;
			top: 0;
			left: 0;
			z-index: 999;
			padding: 5px 7px 0 15px;
			font-size: 11px;
			width: 968px;
		}
		
			#date, #names {
				float: left;
			}
			
			#names {
				padding: 0 0 0 23px;
				background: url('http://i.liepajniekiem.lv/images/design/namedays-icon.gif') no-repeat 12px 50%;
			}
			
			#topmenu div, #topmenu form, #topmenu li {
				float: right;
				margin: 0;
				padding: 0;
				background: transparent;
			}
			
			#topmenu li { float: left; }
			
				#topmenu li a {
					float: none;
					margin: 1px 8px 0 7px;
				}
				
				#topmenu a {
					float: right;
					margin: 0 3px;
				}
					
			#topmenu form, #forum-search { width: 171px; }
			
			#forum-search {
				position: absolute;
				right: 0;
				top: 0;
			}
				
				#topmenu input, #forum-search input {
					margin: 0;
					padding: 0;
					border: 0;
					float: left;
				}
				
				#topmenu input.search-input, #forum-search input.search-input, #map-search input.search-input {
					border: 1px solid #E1E1E1;					
					padding: 1px;
					width: 150px;
					height: 13px;
					line-height: 13px;
					font: normal 11px tahoma, sans-serif;
					color: #53666F;
				}
				
				
	/* Sākumlapa */
	
	#start-page-article {		
		margin: 6px 8px;
		text-align: justify;
	}
	
		#start-page-article h1, #start-page-article h1 a,
		#start-page-blocks h3, #start-page-blocks h3 a,
		#news h1 a, #news h1, 
		#morenews h3, #morenews h3 a {
			color: #011A91;
			font: bold 12px/16px tahoma, sans-serif;
			text-decoration: none;
			margin: 0 0 6px;
		}

		#vote-results-inner h3 { margin: 6px 0; }
		
		#news h1, #news h1 a, #morenews h3, #morenews h3 a {
			clear: both;
		}
		
			#start-page-article h1 a.comments, #news .comments, #morenews .comments {
				font-weight: normal;
				color: #53666F;
			}
			
			#start-page-article h1 a:hover,
			#start-page-blocks h3 a:hover, #start-page-blocks h2 a:hover,
			#news h1 a:hover, #morenews h3 a:hover {
				text-decoration: underline;
			}
			
		#start-page-article img, #start-page-blocks img, #news img.newspic {
			clear: left;
			float: left;
			display: inline;
			margin: 0 10px 10px 0;
		}
		
		.article { margin: 0 0 5px; }
		.article p {
			margin: 0 0 10px;
		}
		
		.read-more {
			clear: both;
			background: url('http://i.liepajniekiem.lv/images/design/triangle2.gif') no-repeat 0 50%;
			padding: 0 0 0 10px;
			color: #011A91;
			text-decoration: none;
		}
		
		.read-more:hover { text-decoration: underline; }
	
	#banner-400-80 {
		margin: 4px 0 0;
	}
	
	#start-page-blocks li {
		clear: left;
		overflow: hidden;
		
		position: relative;
		margin: 12px 0 0 8px;
		padding: 0 0 8px;
		background: none;
	}
	
	#start-page-blocks li#comments { background: #F4FFF3; }
	
		#sitemap h1, #start-page-blocks li h2, #news h3, #galleries h1, #gallery h1, #search h1, #companies h1, #add-ad h1, #calendar h1, #forum h1, #user-registration h1, #rss-options h1, #vote-results-inner h3 { 			
			padding: 0 0 5px 7px;
			margin: 0 0 8px;
			border-bottom: 2px solid #0C9101;
			color: #0B9000;
			background: #fff;
			font: bold 12px/16px tahoma, sans-serif;
		}

		#vote-results-inner h3 { margin: 10px 0; }
		
			#start-page-blocks li h2 a {
				color: #0B9000;
				font: bold 12px/16px tahoma, sans-serif;
				text-decoration: none; 
			}
		
		#start-page-blocks li .expander {
			position: absolute;
			right: 3px;
			top: 5px;
		}
		
		#start-page-blocks ul {
			padding: 5px 0 0;
			overflow: hidden;
		}
		
		#start-page-blocks li li {
			margin: 0 8px 5px 16px;
			padding: 0 0 0 7px;
			background: url('http://i.liepajniekiem.lv/images/design/triangle3.gif') no-repeat 0 6px;
			border: 0;
		}
		
			#start-page-blocks li li a {
				color: #011A91;
				text-decoration: none;
			}
			
			#start-page-blocks li li a:hover { text-decoration: underline; }
			
			#start-page-blocks li li a.comments { color: #53666F; }
			
	/* Ziņas */
	
	#news h1, .date, #start-page-article h1 { float: left; }
	
	.date, #morenews span {
		margin: 0 5px;
		padding: 4px 0 0;
		color: #53666F;
		font: bold 9px tahoma, sans-serif;
	}
	
		#news li {
			margin: 7px;
			padding: 0;
			background: none;
		}
		
	#morenews, ul#news {
		margin: 0;
		padding: 0;
	}
	
	#news  { margin: 0 5px; }
	
	#news li a { color: #011A91; }
	
	#morenews li, #news ul li {
		margin: 3px 8px;
		padding: 0 0 0 11px;
		clear: both;
		background: url('http://i.liepajniekiem.lv/images/design/triangle2.gif') no-repeat 0 7px;
	}
	
		#morenews span { margin: 0; }
		
		#news h1, #news h1 a { margin: 0; }
		
		#news ul.categories, #news ul.vote, #start-page-article ul.categories, #start-page-article ul.vote {
				float: left;
				margin: 0;
				padding: 2px 0 6px;
				list-style: none;
				width: auto;
		}
		
		#news ul.vote, #start-page-article ul.vote {			
			float: right;
		}
			
			#news ul li ul li, #news ul.categories li, #news ul.vote li,
			#start-page-article ul.categories li, #start-page-article ul.vote li {
				clear: none;
				float: left;
				display: inline;
				margin: 0 2px 0 0;
				padding: 0;
				background: none;
			}
			
				#news ul li ul li a, #news ul.categories a, #news ul.vote li a,
				#start-page-article ul.categories li a, #start-page-article ul.vote li a {
					display: block;
					background: #A9B2B7;
					color: #fff;
					font: normal 9px/9px tahoma, sans-serif;
					padding: 1px;
					text-decoration: none;
				}
				
				#news ul.categories a:hover, #news ul.vote li a:hover,
				#start-page-article ul.categories a:hover, #start-page-article ul.vote a:hover {
					background: #53666F;
				}
				
		#news ul#meta-info {
			margin: 0;
			padding: 10px 0 5px;
			height: 16px;
			list-style: none;
		}
		
			#news ul#meta-info li {
				clear: none;
				float: left;		
				margin: 0;
				padding: 0;		
				background: none;		
				line-height: 20px;
				height: 20px;
			}
		
			#news ul#meta-info li#print,
			#news ul#meta-info li#addgallery
			{
				float: right;
				border: 0;
			}
			
				#meta-info #link {
					margin: 0 0 0 12px;
					padding: 0 0 0 14px;
					background: url('http://i.liepajniekiem.lv/images/design/linkin.gif') no-repeat 0 50%;
					color: #815002;
					font: normal 12px/16px arial, sans-serif;
				}
			
				#news ul#meta-info li#print a,
				#news ul#meta-info li#addgallery a,
				#news ul#meta-info li#draugiem-say a,
				#news ul#meta-info li#facebook-share a,
				#news ul#meta-info li#twitter-say a,
				.addgallery,
				#print {
					margin: 0 0 0 10px;
					padding: 0 22px 0 0;
					background: url('http://i.liepajniekiem.lv/images/design/print.gif') no-repeat 100% 50%;
					color: #FE3419;
					text-decoration: none;
					text-align: right;		
				}
				
				#news ul#meta-info li#draugiem-say a, #news ul#meta-info li#twitter-say a, #news ul#meta-info li#facebook-share a {
					padding: 0 0 0 22px;
				}
				
				#news ul#meta-info li#print a:hover,
				#news ul#meta-info li#draugiem-say a:hover,
				#news ul#meta-info li#twitter-say a:hover,
				#news ul#meta-info li#addgallery a:hover,.addgallery:hover, #print:hover { text-decoration: underline; }
				
				#news ul#meta-info li#addgallery a, .addgallery {					
					background: url('http://i.liepajniekiem.lv/images/design/addgallery.gif') no-repeat 100% 50%;
				}
				
				#news ul#meta-info li#draugiem-say a {
					background: url('http://i.liepajniekiem.lv/images/design/draugiem-say.png') no-repeat 0 50%;
				}
				#news ul#meta-info li#twitter-say a {
					background: url('http://i.liepajniekiem.lv/images/design/twitter-say.png') no-repeat 0 50%;
				}
				#news ul#meta-info li#facebook-share a {
					background: 0;
				}
				
	
	#video, #audio {
		clear: both;
		margin: 5px auto;
		text-align: center;
	}
	
	#audio {
		margin: 5px 0;
		text-align: center;
	}
	
	#news ul li { padding: 0 0 0 7px; }
	
	#add-comment {
		position: relative;
		width: 364px;
		margin: 10px auto 8px;
		padding: 10px 5px;
		border: 1px solid #E1E1E1;
	}	
		
		#add-comment li {
			float: left;
			display: inline !important;
			margin: 0 5px 10px !important;
			padding: 0 !important;
			border: 0 !important;
			width: auto !important;
			height: auto !important;
			background: transparent;
			font-size: 11px;
		}
		
		#forum #add-comment li { clear: none; }
		
		#galleries #add-comment li { text-align: left; }
		
			#add-comment label {
				font: bold 11px tahoma;
			}
			
			#add-comment input, #add-comment textarea, #user-registration textarea {
				border: 1px solid #E1E1E1;
				padding: 2px;
				width: 120px;
				font-size: 11px;
			}
			
			
			
			#add-events {
		position: relative;
		width: 550px;
		margin: 10px auto 8px;
		padding: 10px 5px;
		border: 1px solid #E1E1E1;
		}
			
		#add-events td {
			float: left;
			display: inline !important;
			margin: 0 5px 10px !important;
			padding: 0 !important;
			border: 0 !important;
			width: 111px;
			height: auto !important;
			background: transparent;
			font-size: 11px;
		}
			
		#add-events label {
				font: bold 11px tahoma;
		}
			
		#add-events input {
				border: 1px solid #E1E1E1;
				padding: 2px;
				width: 400px;
				font-size: 11px;
		}
		
		#add-event li.events-submit {
			float: right;
			margin: 0 5px !important;
		}
		
			.events-submit a {
				color: #FE3419 !important;
				font-size: 13px;
				border: none;
				padding: 0 22px 0 0;
				margin: 0 0 0 5px;
				width: auto;
				background: url('http://i.liepajniekiem.lv/images/design/clear.gif') no-repeat 100% 50%;
			}
			
			
			
			
			
			#add-comment textarea {
				width: 347px;
				height: 75px;
				overflow: auto;
			}
		
		#symb-counter {
			position: absolute;
			top: 38px;
			right: 10px;
			margin: 0 5px 10px !important;
		}
		
		#add-comment li.comment-submit {
			float: right;
			margin: 0 5px !important;
		}
		
			.comment-submit a {
				color: #FE3419 !important;
				font-size: 13px;
				border: none;
				padding: 0 22px 0 0;
				margin: 0 0 0 5px;
				width: auto;
				background: url('http://i.liepajniekiem.lv/images/design/clear.gif') no-repeat 100% 50%;
			}
			
		#ad {
			float: right;
			margin: 5px 0 5px 5px;
			border: 1px solid #0B9000;						
		}
		
			#ad h6 { font-size: 11px;}
			
			#ad img, #ad object {
				padding: 2px 0;
				background: #005D38;
				display: block;
			}
			
	/* Galerijas */
	
	#news ul#galleries, #galleries ul {
		margin: 0;
		padding: 7px 28px 0;
		list-style: none;
	}
	
		#news ul#galleries li, #galleries li {
			clear: none;			
			float: left;
			display: inline;
			width: 165px;
			height: 193px;
			font-size: 11px;
			padding: 0;
			margin: 0 10px 10px 0;			
			text-align: center;
			background: none;
		}
		
		.gal-cont {
			position: relative;
			background: #F2F2F2 url('http://i.liepajniekiem.lv/images/design/gallery-bottom-right-corner.gif') no-repeat 100% 100%;
			padding: 14px 4px 10px;
		}
		
		#gallery li {
			padding: 10px 4px;
			height: auto;
		}
		
			.tr {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				background: #fff url('http://i.liepajniekiem.lv/images/design/gallery-top.gif') no-repeat 100% 0;
				height: 4px;
				font-size: 1px;
			}
			
			.tl, .bl {
				position: absolute;
				left: 0;
				width: 4px;
				height: 3px;
				font-size: 1px;
				background: url('http://i.liepajniekiem.lv/images/design/gallery-top-corner.gif');
			}
			
			.tl { top: 4px; }
			
			.bl {
				bottom: 0;
				background: url('http://i.liepajniekiem.lv/images/design/gallery-bottom-left-corner.gif');
			}
			
		#galleries h1 { position: relative; }
			
		.addgallery {
			font-weight: normal;
			position: absolute;
			top: 0;
			right: 2px;
		}
		
		#gallery p { margin: 8px 0 0; }
		
		#gallery p a.comments {
			background: url('http://i.liepajniekiem.lv/images/design/gallery.gif') no-repeat 0 6px;
			padding: 0 0 0 12px;
			color: #53666F;
		}
		
		#gallery-desc { margin: 10px 0 0; }
		
		#gallery-sort {
			margin: 10px 3px 5px;			
			text-align: right;
			font-size: 11px;
		}
		
		#gallery-sort a {
			color: #0D9102;
			margin: 0 0 0 15px;
		}
			
	/* Komentāri */
	
	#comments, #news ul#comments {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	
		#comments li, #news ul#comments li {
			float: none;
			display: block;
			width: auto;
			height: auto;		
			margin: 0;
			padding: 10px 0;
			background: none;
			border-top: 1px dashed #0D9102;
			text-align: left;
		}
		
		#comments li.first, #news ul#comments li.first { border: 0; }
		
		.author {
			float: left;
			font: bold 11px tahoma, sans-serif;
			background: url('http://i.liepajniekiem.lv/images/design/people.gif') no-repeat 0 50%;
			padding: 0 0 0 11px;
			margin: 0 !important;
		}
		
		.author.registered, #thread p a {
			padding: 0 0 0 36px;
			margin: 0 !important;
			background: url('http://i.liepajniekiem.lv/images/design/registered.gif') no-repeat 0 50%;
		}
		
		#galleries .author.registered{
			float: none;
			background-position: 100% 100%;
			color: #53666F;
			padding: 0 36px 0 0;
		}
		
		#comments .author a { color: #53666F; }
		
		#comments .date {
			float: right;
			font: normal 11px tahoma, sans-serif;
			padding: 0;
			margin: 0 !important;
		}
		
		#comments .date a {
			color: #53666f;
			font-weight: bold;
		}
		
		.comment {
			clear: both;
			padding: 10px 0 0;
			margin: 0 !important;
		}
		
		.gallery-vote { padding: 0 0 0 12px; margin: 0 !important; }
		
		.gallery-vote a {
			float: left;
			display: block;
			margin: 4px 0 0;
			width: 9px;
			height: 8px;
			padding: 0;
			background: url('http://i.liepajniekiem.lv/images/design/nvl.gif');			
		}
		
		.gallery-vote a.voter, .gallery-vote a.avvoter, .gallery-vote a.myvoter {
			width: 14px;
			background: url('http://i.liepajniekiem.lv/images/design/nvr.gif');
		}
		
		.gallery-vote a.avvote { background: url('http://i.liepajniekiem.lv/images/design/avl.gif'); }
		.gallery-vote a.avvoter { background: url('http://i.liepajniekiem.lv/images/design/avr.gif'); }
		.gallery-vote a.myvote { background: url('http://i.liepajniekiem.lv/images/design/mvl.gif'); }
		.gallery-vote a.myvoter { background: url('http://i.liepajniekiem.lv/images/design/mvr.gif'); }
		
	#gallery p#picture-count {
		margin: 0 6px 8px 0;
		text-align: right;
		font-weight: bold;
	}
	
	#picture {
		width: 590px;
		margin: 0 auto 10px;
		padding: 5px 5px 10px;
		background: #F2F2F2;
		text-align: center;
		font-size: 11px;
		position: relative;
	}
	
	#picture p { margin: 2px 0 4px; }
	
	#pic2mobile {
		background: url('http://i.liepajniekiem.lv/images/design/tel.gif') no-repeat 0 50%;
		font-size: 12px;
		padding: 0 0 0 12px;
	}
	
	a#draugiem-say{
		background: url('http://i.liepajniekiem.lv/images/design/draugiem-say.png') no-repeat 0 50%;
		font-size: 12px;
		padding: 0 0 0 22px;
	}
	a#twitter-say{
		background: url('http://i.liepajniekiem.lv/images/design/twitter-say.png') no-repeat 0 50%;
		font-size: 20px;
		line-height: 20px;
		height: 20px;
		padding: 0 0 0 22px;
	}
		
	/* Pārslēgi */
	
	.pager {
		margin: 0 8px;
		font-size: 11px;
		text-align: center;
	}
	
	#galleries .pager {
		clear: both;
		margin: 0 8px 10px;
	}
	
		.pager a {
			padding: 0 2px;
			font-weight: bold;
			color: #53666F;
		}
	
		.pager a.active {
			background: #0C9001;
			color: #fff;
		}
		
		.pager a.page {
			font-weight: normal;
			padding: 0;
		}
		
	/* Pievienot ziņu */
	
	#add h1 {
		font: bold 12px/16px tahoma, sans-serif;
		color: #011A91;
		padding: 0 0 3px;
		margin: 0 0 0 6px;
	}
	
		#add form, #add-ad {
			margin: 6px 0 0;			
		}
		
		#add li {
			margin: 0 0 10px 20px;
			background: none;
		}
		
		#add label, #add-ad label {
			position: relative;
			display: block;
			width: 356px;
			font: bold 11px/15px tahoma, sans-serif;
			padding: 3px 0 0;
			color: #53666F;
		}
		
			#add label span {
				font: normal 11px tahoma, sans-serif;
				color: #aaa;
			}
			
			#add label a {
				position: absolute;
				right: 0;
				top: 2px;
				background: #0D9102;
				padding: 2px 6px;
				color: #fff;
				line-height: 11px;
			}
		
		#add input, #add textarea, #add-ad input, #add-ad textarea, #add select {
			display: block;
			border: 1px solid #E1E1E1;
			background: #fff;
			padding: 0 5px;
			width: 346px;
		}
		
		#add select#category {
			padding: 0;
			width: 356px;
			margin-left: 0;
		}
		
		#add textarea, #add-ad textarea {
			padding: 2px 5px;
			height: 84px;
			width: 346px;
			overflow: auto;
		}
		
		#add #thumbnails input {
			width: 131px;
		}
		
		#textelm { position: relative; }
		
		#texttools {
			position: absolute;
			top: 0;
			left: 240px;
		}
		
		#texttools a {
			color: #53666F;
			background: #E1E1E1 url('http://i.liepajniekiem.lv/images/design/texttools.gif') no-repeat 100% 100%;;
			font: bold 12px/16px tahoma, sans-serif;
			padding: 2px 6px;			
		}
		
		#submitnews { width: 356px; }
		#submitnews a {
			float: right;
			margin: 0 0 0 15px;
		}
		

	#addgallery #help-title { top: 195px; }	
	#help-short { top: 238px; }	
	#help-text { top: 362px; }
	#help-keywords { top: 486px; }
	#help-category { top: 535px; }
		
	.help-outer {
		position: absolute;
		top: 190px;
		left: 570px;		
		width: 210px;
		padding: 0 9px 8px 9px;
		background: #fff;
		display: none;
	}
	
	.help-outer.active { display: block; }
	
		.help-inner {
			border-top: 1px solid #e2e2e2;
			border-bottom: 1px solid #e2e2e2;
			background: url('http://i.liepajniekiem.lv/images/design/helpbg.gif') repeat-y 0 0;
			padding: 10px 17px;
			font: normal 11px/18px tahoma, sans-serif;
			height: 1%;
		}
	
		.help-bullet {
			position: absolute;
			top: 18px;
			left: 0;
			width: 10px;
			height: 17px;
			background: url('http://i.liepajniekiem.lv/images/design/helpl.gif');			
		}
	
		.help-r {
			position: absolute;
			bottom: 0;
			right: 0;
			width: 9px;
			height: 129px;
			background: url('http://i.liepajniekiem.lv/images/design/helpr.gif');
		}
		
		.help-b {
			position: absolute;
			bottom: 0;
			right: 9px;
			width: 168px;
			height: 8px;
			font-size: 1px;
			background: url('http://i.liepajniekiem.lv/images/design/helpb.gif');
		}
	
	
		
	/* Pievienot galeriju */
	
	#addgallery {
		border-top: 2px solid #0C9101;
		padding: 5px 0 0;
	}
	
		#addgallery li li {
			float: left;
			display: inline;
			position: relative;
			width: 143px;
			height: 130px;
			line-height: 110px;
			text-align: center;
			vertical-align: middle;
			margin: 0 2px 10px;
			padding: 15px 0 0;
		}
		
		#addgallery li li.switchpic { width: 46px; }
		
		#addgallery li img { vertical-align: middle; }
		
		#upload-photos {
			position: absolute;
			top: 228px;
			right: 195px;
		}
		
		#upload-photos a { color: #FE3419; }
		
			#addgallery li li a {
				position: absolute;
				top: 0;
				right: 0;
				line-height: 15px;
			}
			
			#addgallery li li.switchpic a {			
				display: block;
				width: 46px;
				height: 26px;
				background: url('http://i.liepajniekiem.lv/images/design/switchpic.gif');
				position: static;			
				margin: 44px 0;
			}
			
			.switchpic span {
				display: block;
				width: 46px;
				height: 26px;
			}
			
			#addgallery li li.switchpic a:hover { background: url('http://i.liepajniekiem.lv/images/design/switchpic.gif') repeat 0 -26px; }
		
		#uploading, .progressContainer {
			float: left;
			background: #E7E7E7;
			text-align: center;
			padding: 22px 13px 13px;
			height: 65px;
			width: 200px;
			min-width: 200px;
		}
		
		html > body .progressContainer {
			width: auto;
			min-width: 200px;
		}
		
		#divFileProgress { height: 100px; }
		
			#uploading p, .progressName, .progress, .progressBarStatus {
				line-height: 16px;
				margin: 0 0 10px;
			}
		
			#progress-bar, .progressBarComplete {
				text-align: left;
				background: #e2e2e2;
				height: 0;
				font-size: 1px;
				line-height: 0;
			}
			
				#progress-bar, .progressBarInProgress {
					display: block;
					height: 3px;
					background: #0B9000;
				}
			
	
	#submitgallery {
		clear: both;
		width: 100%;
		height: 51px;
		border-top: 2px solid #0C9101;
		text-align: center;
		margin: 0 0 16px !important;
	}
	
		#submitgallery a {
			position: relative;
			display: block;
			width: 136px;
			height: 31px;			
			padding: 0;
			margin: 10px auto 0;
			background: url('http://i.liepajniekiem.lv/images/design/add.gif') no-repeat 0 0;
			text-decoration: none;
			color: #134310;
			font: normal 14px/31px tahoma, sans-serif;
			z-index: 999;
		}
		
		#submitgallery span {
			position: absolute;
			top: 0;
			left: 0;
			z-index: 1;
			margin: 0 0 0 1px;
			padding: 0;
			color: #fff;
			white-space: nowrap;
			cursor: pointer;
			width: 136px;
			text-align: center;
		}
		
	/* Uzņēmumu katalogs */
	
	#companies p {		
		margin: 0 0 10px 15px;
		font-size: 11px;
	}
	
	#companies #note {
		font-size: 9px;
		margin: 0 0 10px 15px;		
	}
	
	#companies #searched {
		float: none;
		margin: 7px 0 15px 15px;
		font-weight: bold;
	}
	
		#companies #searched strong {
			color: #fff;
			background: #0C9001;
			padding: 2px;
		}
	
	#company-search-results table, #company table {
		border-collapse: collapse;
		table-layout: fixed;
		width: 100%;
	}
	
	
		#company-search-results th {
			border: 1px solid #fff;
			background: #efefef;
			text-align: center;
			font-size: 11px;
			font-weight: bold;
			padding: 4px 0;
			color: #53666f;
		}
		
		#company-search-results td {
			border: 1px solid #fff;
			background: #fafafa;
			text-align: center;
			font-size: 12px;
			padding: 4px 0;
			color: #53666f;
		}
		
	#company {
		margin: 0 5px;
		border-bottom: 1px solid #119307;
	}
	
		#company div { float: left;}	
		#company img { float: right; }
		#company p { margin: 0; }
		
		#company h2 {
			font: bold 13px/16px tahoma, sans-serif;
		}
		
		#company table {
			clear: both;
			margin: 15px 0 0;
		}
		
		#company th { width: 100px; }
		
		#company th, #company td {
			background: #EFEFEF;
			border: 1px solid #FFF;
			color: #53666F;
			font: bold 11px tahoma;
			padding: 4px;
			text-align: right;
			vertical-align: top;	
		}
		
		#company td {
			background: #FAFAFA;
			padding: 4px 0 4px 10px;
			font: normal 11px tahoma;
			text-align: left;			
		}
		
			#company td a {
				color: #011A91;
				font-size: 11px;
			}
			
		#company-search-results tr.paid td {
			background: #F4FFF3;
		}
		
		#company-search-results td.comp_www {
			text-align: center; 
			width: 30px;
		}
			
	#company div {
		margin: 0 0 0 15px;
		display: inline;
	}
	
	#company #company-images {
	 float: none;
	 display: block;
	 text-align: center;
	 margin: 10px 0 15px;
	}
	
	#company #company-images img { float: none; }
	
	
	
	#company div#addinfo { float: none; display: block;}
			
		#addinfo h3 {
			font: bold 11px/16px tahoma, sans-serif;
			margin: 10px 0 5px;
		}
		
		#addinfo p {
			margin: 5px 0;
		}
		
	#back {
		float: left;
		display: block;
		background: url('http://i.liepajniekiem.lv/images/design/back.gif') no-repeat 100% 0;
		color: #FE3419;
		padding: 0 20px 0 0;
		margin: 5px 0 0 10px;
		font-size: 11px;
	}
	
	html > body #back { margin-left: 20px; }
		
	/* Meklē�?ana */
	
	#search {
		margin: 0 8px;
	}
		#notfound {
			margin: 10px 0;
		}
	
		#searched, #pagecount {
			float: left;
			margin: 3px 0 10px;
		}	
		
		#pagecount { float: right; }
		
		#search .pager {
			clear: both;
			margin: 0 0 10px;
		}
		
		#search li {
			border-bottom: 1px dashed #0C9101;
			margin: 15px 0;
		}
		
			#search h2 {
				font: normal 13px/16px tahoma, sans-serif;
				color: #53666F;
				float: left;
				display: inline;
				margin: 0 0 10px 2px;
			}
			
			#search h2 a {
				font-weight: bold;
				color: #53666F;
			}
			
			#search p.date {
				float: right;
				margin: 0;
				padding: 0;
				font: normal 13px/16px tahoma, sans-serif;
			}
			
			#search li p {
				margin: 10px 0 10px 15px;
			}
			
			#search li p.searchpath {
				clear: both;
				margin: 0 0 10px 15px;
			}
			
				.searchpath a {
					color: #011A91;
				}
				
				.searchpath a.active { font-weight: bold; }
	
	/* Sludinājumi */
	
	#ad-search-form {
		padding: 14px 8px 15px;
	}
		
		#ad-search-form input {
			border: 1px solid #E1E1E1;
			width: 290px;
			font-size: 11px;
			padding: 2px;
		}
		
		#ad-search-form a, #add-ad a {
			padding: 0 22px 0 5px;
			color: #FE3419;
			background: url('http://i.liepajniekiem.lv/images/design/search-button.gif') no-repeat 100% 50%;
		}
		
		.note { font-size: 9px; }
		
	#nord-lb {
		border-bottom: 1px dashed #0C9101;
		border-top: 1px dashed #0C9101;
		padding: 12px 18px 15px 14px;
	}
	
		#nord-lb .check {
			width: 20px;
		}
		
		#nord-lb .title {
			color: #54676E;
			font-size: 11px;
			font-weight: bold;
			width: 120px;
		}
		
		#nord-lb .txt {
			border: 1px solid #E1E1E1;
			color: #526261;
			font-size: 11px;
			padding: 2px;
		}
		
		#nord-lb select {
			border: 1px solid #E1E1E1;
			color: #526261;
			font-size: 11px;
			padding: 1px;
			width: 50px;
		}
		
		#nord-lb .btn {
			padding-top: 2px;
		}
		
		#nord-lb .nord-lb-tip {
			color: #12890B;
			font-size: 11px;
			font-weight: bold;
			padding-bottom: 2px;
		}
		
	#ads h3 {
		margin: 10px 5px 0;
		font: bold 11px/16px tahoma;
	}
	
	#add-ad {
		margin: 5px 5px 15px;
		font-size: 11px;
	}

		#add-ad .tip { font-size: 13px; }

	#add-ad .tip table {
		width: 100%;
		margin: 10px 0;
	}	
	
	#add-ad .tip td { text-align: center; }
	
	#add-ad .tip ul {
		margin: 10px;
		list-style: disc;
	}
	
		#add-ad .tip li {
			margin: 4px 10px;
			padding: 0;
			border: 0;
		}

	
		#add-ad select {
			border: 1px solid #E1E1E1;
			font-size: 11px;
			width: 198px;			margin: 0; 

		}
		
		#add-ad a {
			margin: 0; 
			background: url('http://i.liepajniekiem.lv/images/design/add-ad.gif') no-repeat 100% 50%;
			font: normal 13px/16px tahoma;
		}
		
		#add-ad form a {
			background: url('http://i.liepajniekiem.lv/images/design/clear.gif') no-repeat 100% 50%;
			margin: 0 5px;
		}
		
		#add-ad form {
			position: relative;
			margin: 7px;
		}
		
			#add-ad form #left {
				position: absolute;
				top: 3px;
				left: 350px;
				font-weight: bold;
			}
		
			#add-ad form label {
				clear: left;
				float: left;
				display: block;
				width: 120px;
				text-align: right;
				padding: 2px 4px;
			}
			
			#add-ad form #textarea label {
				float: none;
				text-align: left;
				padding: 0;
			}
			
			#add-ad form textarea {
				width: 370px;
				height: 75px;
				overflow: auto;
			}
			
			#add-ad form input, #add-ad form select { float: left; }
			
			#add-ad form input {
				width: 195px;
				line-height: 16px;
				font-size: 11px;
			}
			
			#add-ad form select { width: 207px; }
			
			#add-ad form p { margin: 5px 0; }
			
			#add-ad form p.button {
				clear: both;
				float: none;
				text-align: right;
			}
		
	#ads h2 {
		color: #0B9000;
		font: bold 12px/16px tahoma, sans-serif;
		padding: 5px 0 5px 7px;
		border-bottom: 2px solid #0C9101;
	}
	
	#ads h2#paid-title {
		border: 0;
	}
	
	#ads li {
		margin: 0 4px;
		padding: 12px 5px;
		border-top: 1px dashed #0C9101;
	}
	
	#add-ad #tip {
		font-size: 13px;
		border-top: 1px dashed #0D9102;
		padding: 10px 0;
	}
	
	#add-ad #tip table {
		width: 100%;
		margin: 10px 0;
	}	
	
	#add-ad #tip td { text-align: center; }
	
	#add-ad #tip ul {
		margin: 10px;
		list-style: disc;
	}
	
		#add-ad #tip li {
			margin: 4px 10px;
			padding: 0;
			border: 0;
		}
	
	#ads ul#paid {
		background: #F4FFF3;
		border: 1px solid #0C9101;
		margin: 0 0 10px;
	}
	
	#ads li.first { border: 0; }
	
		#ads li .date {
			font-size: 11px;
			margin: 0 0 5px;
			float: none;
			font-weight: normal;
		}
		
		.mail {
			font-size: 11px;
			padding: 0 0 0 8px;
			background: url('http://i.liepajniekiem.lv/images/design/people.gif') no-repeat 0 6px;
		}
		
		.mail a {
			color: #011A91;
		}
		
		.phone {
			padding: 0 8px;
			font-weight: bold;
		}
		
		.ad-pics {
			float: right;
			text-align: center;
			width: 91px;
		}
		
		.ad-pics p { margin: 5px 0 0; }
		
		.ad-pics img {
			border: 1px solid #0D9002;
		}
		
		.ad-pics a {
			color: #fff;
			padding: 2px 7px;
			margin: 0 2px;
			background: #84BD7B;
			text-decoration: none !important;
			font: normal 11px/11px tahoma, sans-serif;
		}
		
		.ad-pics a.image {
			display: block;
			padding: 0;
			background: #fff;
		}
		
		.ad-pics a.active, .ad-pics a:hover { background: #0D9102; }
		
	/* Afi�?a */
	
	#calendar {
		margin: 10px 4px 0;
	}
	
	#calendar table {
		border: 1px solid #0d9102;
		margin: 7px;
	}
	
		#calendar th {
			background: #0d9102;
			color: #fff;
			padding: 4px;
			text-align: center;
			vertical-align: middle;
			font-weight: normal;
		}
		
		#calendar td {
			color: #53666f;
			padding: 4px;
			text-align: center;
			vertical-align: middle;
		}
		
		#calendar td a { color: #0a0a0a; }
		#calendar td.active { background: #0d9102; }
		#calendar td.active a { color: #fff; }
		
		#calendar select {
			border: 1px solid #E1E1E1;
			width: 90px;
			font-size: 12px;
			margin: 0 7px;
		}
		
	#calendar ul {
		display: block;
		height: 26px;
		background: #0D9102;
		margin: 20px 7px 15px;
		padding: 0 7px;
	}
	
		#calendar li {
			float: left;
			display: inline;			
			margin: 0 0 0 5px;
			padding: 0;
			color: #fff;
			font: normal 12px/26px tahoma, sans-serif;
			background: transparent;
		}
		
		#calendar li a {
			margin: 0 2px 0 0;
			color: #fff;
			font: normal 12px/26px tahoma, sans-serif;
		}

		#calendar .active a { font-weight: bold; }
		
	#events {
		position: relative;
		margin: 0 7px;
	}
	
	#events #print {
		position: absolute;
		top: 8px;
		right: 14px;
		z-index: 2;
	}
	
	html > body #events #print { right: 0; }
	
	#events table {
		border: 0;
		margin: 0;
		width: 100%;
	}
		
		#events .date {
			float: none;
			font-size: 13px;
			border-bottom: 1px solid #109306;
		}
	
		#events .date td {
			border-top: 1px dashed #0D9102;
			font: bold 13px/16px tahoma;
			padding: 7px;
		}
		
		#events .first td { border: 0; }
		
		#events td, #events th {
			text-align: left;
			vertical-align: top;
			padding: 4px;
		}
		
		#events th {
			background: #fff;
			font-weight: bold;
			color: #53666F;
		}
		
			#events td a {
				color: #53666F;
			}
			
	/* Forums */
	
	#forum {
		position: relative;
	}
	
	#forum a {
		color: #f00;
		font-size: 11px;
	}
	
	#forum #add-comment a { font-size: 13px; }
	
	#forum p.important {
		font-size: 11px;
		margin: 0 115px;
	}
	
	#forum p.important a { font: bold 11px/16px tahoma; }
	
	.category {
		clear: both;
		display: block;
		margin: 3px 0;
		padding: 1px;
		border: 1px solid #E1E1E1;
	}
	
	#forum h2, #forum p {
		float: left;		
	}
	
		#forum h2 a {
			display: block;
			color: #011A91;
			font: bold 12px/16px tahoma;
			margin: 0 10px 0 0;
		}
	
	#forum .expander, #forum .date {
		float: right;
	}
	
		#forum .date { font: normal 11px tahoma; }		
		#forum .expander {
			margin: 0 7px 0 0;
			vertical-align: bottom;
		}
	
	#forum li {
		clear: left;
		display: block;
		border-bottom: 1px solid #0C9101;
		padding: 0 0 10px;
		margin: 0 7px 7px;
	}
	
	#forum .category li {
		border: 0;
		padding: 0;
		margin: 0;
	}
	
		#forum dl {
			min-height: 29px;
			border-top: 1px solid #fff;
			
		}
	
		#forum dt, #forum dd {
			float: left;
			display: block;
			width: 52%;
			padding: 8px 5px;
			background: #F7F7F7;
			font: normal 11px/13px tahoma, sans-serif;
		}
		
		#forum .header dt, #forum .header dd {
			background: #fff;
			color: #53666F;
			font-weight: bold;
		}
		
		#forum .even dt, #forum .even dd { background: #f1f1f1; }
		
		#forum dt a { color: #011A91; }
		
		#forum dd.postauthor { width: 17%; }
		
		#forum dd.postauthor a {
			color: #53666F;
		}
		
		#forum dd.posts {
			width: 8%;
			text-align: center;
		}
		
		#forum dd.lastpost {
			width: 16%;
			white-space: nowrap;
			text-align: center;
		}
		
		#forum p.button {
			float: none;
			text-align: right;
		}
		
		#forum p.button a { font-size: 11px; }
		
	#category, #thread {
		margin: 10px 7px;
	}
	
		#category .category { margin: 7px 0; }
	
	#oldposts {
		position: absolute;
		top: 2px;
		right: 3px;
	}
	
	#thread h2 {
		float: none;
		color: #53666F;
		font: bold 11px/16px tahoma;
		padding: 8px 5px;
		margin: 10px 0 0;
		border: 1px solid #E1E1E1;
		border-bottom: 0;
	}
	
	#thread p, #forum p.important { float: none; }
	
	#thread ul {
		border: 1px solid #E1E1E1;
		border-top: 0;
		margin: 0 0 10px;
	}
	
	#thread li {
		border-bottom: 1px solid #fff;
		background: #f7f7f7;		
		padding: 8px 5px;
		margin: 0 1px;
		font-size: 11px;
	}
	
	#thread li.even { background: #f1f1f1; }
	
	#thread p a {
		background-position: 100% 50%;
		padding: 0 36px 0 0;
		color: #53666F;
	}
	
	#thread p.post { margin: 10px 0 0; }
	
	#thread p.post a {
		color: #011A91;
		background: none;
		padding: 0;
	}
	
	.add-thread #symb-counter {
		top: 68px;
	}
	
	#forum p.pager {
		float:	none;
	}
	#forum p.pager a {
		color:	#53666f;
	}
	#forum p.pager a.active {
		color:	#fff;
	}
	
	#add-comment input#tema { width: 280px; }
	
	#webcampage #webcam, #webcam-sidebar {
		float: left;
		width: 168px;
	}
	
	#webcampage #webcam {
		display: inline;
		margin: 0 10px 0 0;
		background: #E1E1E1;
		width: 640px;
		padding: 0;
		text-align: center;
	}
	
	#webcampage #webcam select {
		margin: 5px 0;
		font-size: 9px;
	}

	#webcampage #content {
		width: auto;
		margin: 0 0 15px;
	}

	/*#webcampage #mainmenu a { line-height: 15px; }*/
	
	#vote-results-inner {
		margin: 0 3px;
	}
	
		#vote-question {
			font-weight: bold;
			margin: 0 5px;
		}
		
		#results-list { padding: 10px; }
		
		#results-list li {
			background: transparent;
			margin: 0;
			padding: 0;
			height: 16px;
		}
		
		#results-list span { display: block; }
		
			.answer {
				float: left;
				width: 268px;
			}
			
			.bar-wrapper {
				float: left;
				width: 200px;				
				padding: 0 8px;
				height: 16px;		
			}
			
				.bar-wrapper span {
					height: 13px;
					font-size: 1px;
					background: #0D9102;
				}
			
			.percent {
				float: right;
				width: 110px;
				text-align: right;
			}
			
				.percent-all {
					display: inline !important;
					font-weight: bold;
				}
	#sitemap {
		padding: 0 5px;
	}
				
	#sitemap ul {
		float: left;
		padding: 0 20px;		
		width: 265px;
	}
	
	#sitemap ul ul {
		float: none;
		padding: 0 0 12px;
		width: auto;
	}
	
	#sitemap ul ul ul { padding: 0 8px; }
	
		#sitemap li {
			margin: 0 0 3px;
		}
	
		#sitemap a {
			display: block;
			font: bold 12px/16px tahoma, sans-serif;
			margin: 0 0 3px;
			
		}
		
		#sitemap li li a {
			font-weight: normal;			
			background: url('http://i.liepajniekiem.lv/images/design/sitemap.gif') no-repeat 0 8px;
			padding: 0 0 0 8px;
			margin: 0;
		}
	
	#user-registration {
		padding: 0 5px;
	}
	
	#user-registration form {
		width: 355px;
	}

	#news #user-registration form { width: auto; }	
	
	#rss-options form {
		width: 150px;
		margin: 0 10px;
	}
	
	#user-registration label {
		float: left;
		width: 150px;
		font-weight: bold;
		text-align: right;
		padding: 2px 4px 0 0;
		font-size: 11px;
	}
	
	#user-registration li {
		padding: 0 0 25px;
	}
	
	#news #user-registration ul li { background: transparent; }
	
	#rss-options li {
		margin: 5px 0; 
	}
	
	#user-registration input {
		float: left;
		width: 195px;
		padding: 2px;
		border: 1px solid #E1E1E1;
		margin: 0 0 5px;
	}
	
	#news #user-registration input, #news #user-registration textarea {
		width: 250px;
		font-size: 12px;
	}
	
	#user-registration select { float: left; }
	
	#user-registration li {
		clear: left;
		background: transparent !important;
	}
	
	#user-registration li.button, #rss-options li.button {
		float: none;
		text-align: right;	
		padding: 0 0 10px;
		background: transparent;
	}
	
	#user-registration li.button a, #rss-options li.button a {
		background: url('http://i.liepajniekiem.lv/images/design/add-ad.gif') no-repeat 100% 50%;
		padding: 0 25px 0 0;
		color: #FE3419;
	}	
	
	.tip, #rss-options p {
		border-top: 1px dashed #0D9102;
		margin: 0 4px;
		padding-top: 10px;
	}
	
	#error {
		/*
		padding: 28px 310px 80px 60px;
		*/
	}
	
		#error h1 {
			font: bold 13px/19px tahoma, sans-serif;
			color: #f00;
			margin: 0 0 12px;
		}
		
			#error h1 strong { font-size: 19px; }
			
		#error p { margin: 0 0 15px; }
			
		#error a {
			color: #f00;
			padding: 0 25px 0 0;
			background: url('http://i.liepajniekiem.lv/images/design/clear.gif') no-repeat 100% 50%;
		}
		
	#rss-options {
		padding: 0 5px;
	}

#payment ol {
	float: left;
	width: 50%;	
}

	#add-ad #payment li {
		border-bottom: 1px solid #d6d6d6;
		margin: 0;
		padding: 10px 20px;
	}
	
	#add-ad #payment input {
		width: auto;
		height: auto;
		padding: 0;
		margin: 6px 10px 0 0;
		border: 0;
	}
	
	#add-ad #payment label {
		float: none;
		width: auto;
		text-align: left;
		padding: 0;
		height: 22px;
		font-weight: normal;
	}
	
	#add-ad #payment img {
		vertical-align: middle;
		margin: 0 10px 0 0;
	}
	
	#payment-buy {
		clear: both;
		overflow: hidden;
		background: #0d9102;
		padding: 15px 15px 22px;
	}
	
	#add-ad #payment-buy label {
		height: auto;
		color: #fff;
		font: normal 11px/16px tahoma, sans-serif;
		margin: 0 0 7px;
	}

	* html #add-ad #payment-buy label { margin-left: 18px; }
	
	#add-ad #payment-buy input {
		float: none;
		display: inline;
		height: 18px;		
		margin: 0;
		padding: 3px 5px 0;
		color: #000;
	}
	
	#add-ad #payment-buy input#maks-epasts {
		width: 240px;
	}
	
	#add-ad #payment-buy input#payment-confirm {
		background: #086200;
		color: #fff;
		font: bold 10px tahoma, sans-serif;
		border: 0;
		padding: 0 16px;
		vertical-align: bottom;
		margin: 0 0 0 12px;
		height: 23px;
		text-transform: uppercase;
	}		

	/* Defaultie */
	
	h1, h2, h3, h4, ul, li {
		margin: 0;
		padding: 0;
		font-family: Tahoma;
	}
	
	/* h1 {
		font: bold 13px tahoma, sans-serif;
		color: #FFF;
		background: #0b9000;
		padding: 4px 7px 4px 7px;
	} */
	
	a { color: #011A91; text-decoration: none; }
	a:hover { text-decoration: underline; }
	a img { border: none; }
	label { cursor: pointer; }
	input { font-family: Tahoma; font-size: 12px; color: #53666f; padding: 0; margin: 0; }
	textarea { font-family: Tahoma; font-size: 12px; color: #53666f; padding: 0; margin: 0; }
	select { font-family: Tahoma; font-size: 12px; color: #53666f; padding: 0; margin: 0; }

	table.insTable { margin: 20px 0 0; }
	
	table.myTable tr td, table.insTable tr td, table.insTable tr td {
		border: 1px solid #0C9101;
		color: #53666F;
		font-size: 12px;
		padding: 5px;
	}

	table tr.insFirstRow td {
		background: #0C9101;
		border: 1px solid #0C9101;
		color: #FFF;
		font: bold 12px tahoma, sans-serif;
		padding: 5px;
		text-align: center;
	}
	
	
	#user_galleries {
		display: none;
		margin: 5px 0;
		padding: 10px;
		border: 1px solid #ccc;
		background: #f4f4f4;
	}
	
	#news #user_galleries li {
		margin: 0;
		padding: 0 0 0 10px;
	}
	
	#upload-photos.add_news {
		top: 605px;
	}


.losis {
	display: none;
}

#line_banner_table div {
float: left;
display: inline;
width: 800px;
overflow: hidden;
}

#webcampage #content { width: auto; }

#orange .box, #orange #ad, #orange #leftbar li h3, #orange #rightbar h3, #orange #events h2,
#orange #sitemap h1, #orange #start-page-blocks li h2, #orange #news h3, #orange #galleries h1, #orange #gallery h1, #orange #search h1, #orange #companies h1, #orange #add-ad h1, #orange #calendar h1, #orange #forum h1, #orange #user-registration h1, #orange #rss-options h1, #orange #vote-results-inner h3 { border-color: #fca40c; }

#orange .box h3, #orange #ad h6, #orange #progress-bar, #orange .progressBarInProgress, #orange #top { background: #fca40c; }

#orange #leftbar li h3, #orange #rightbar h3, #orange #events h2,
#orange #leftbar h3 a, #orange #rightbar h3 a,
#orange #sitemap h1, #orange #start-page-blocks li h2, #orange #news h3, #orange #galleries h1, #orange #gallery h1, #orange #search h1, #orange #companies h1, #orange #add-ad h1, #orange #calendar h1, #orange #forum h1, #orange #user-registration h1, #orange #rss-options h1, #orange #vote-results-inner h3,
#orange #start-page-blocks li h2 a, #orange #ads h2, #orange #location a:hover  { color: #fca40c; }

#banner-popup2 {
	position:		fixed;
	z-index: 		100;
	left: 			0;
	top: 			140px;
	display: 		none;
}
#banner-popup2 .close {
	text-align:		right;
}
#banner-popup2 .close a {
	color: 			#118c17;
	font-size:		13px;
	font-family:	Tahoma;
	font-weight:	bold;
	text-decoration: none;
}
#banner-popup2 .pic {
	text-align:		center;
}

#startpage-important-wrap {
	border: 1px solid #001991;
	padding: 5px 0;
	font: normal 11px/15px arial, sans-serif;
	color: #53666f;
	margin: 0 0 4px 0;
	height: 15px;
}

#startpage-important {
	margin: 0 10px;
	overflow: hidden;
}

#startpage-important-wrap :hover, #startpage-important-wrap .hover {
	cursor: pointer;
}

#startpage-important * { margin: 0; }

#startpage-important-content {
	display: inline;
	white-space: nowrap;
}

#start-page-blocks li h2.supported, #start-page-blocks li h2.supported a {
	line-height:	25px;
	height:			25px;
}

#start-page-blocks li h2.supported a{
	float:			left;
}


/* galerijas hoveri */
#gallery .picture-container {
	position:	relative;
}
#gallery .back, #gallery .next {
	position:	absolute;
	top:		0;
	left:		2px;
	width:		250px;
	z-index:	100;
	background:	url(http://i.liepajniekiem.lv/images/design/blank.gif) no-repeat left center;
}
#gallery .next {
	background:	url(http://i.liepajniekiem.lv/images/design/blank.gif) no-repeat right center;
	left:		auto;
	right:		2px;
}
#gallery .back:hover {
	background-image:	url(http://i.liepajniekiem.lv/images/design/gallery-nav-back-transp.png);
}
#gallery .next:hover {
	background-image:	url(http://i.liepajniekiem.lv/images/design/gallery-nav-fwrd-transp.png);
}

/*jaunais meņu*/
#mainmenu {
	top: 107px;
}

#mainmenu li {
	width: auto;
	/*background: url('http://i.liepajniekiem.lv/images/design/mainmenu.png') no-repeat 100% 0;
	padding: 0 9px 0 0; */
	padding: 0;
	background: transparent;
	margin: 0 1px 0 0;
}

#mainmenu li.active {
	/* background: url('http://i.liepajniekiem.lv/images/design/mainmenu.png') no-repeat 100% -29px; */
}

#orange #mainmenu li {
	/* background: url('http://i.liepajniekiem.lv/images/design/mainmenu.png') no-repeat 100% -58px; */
}

#orange #mainmenu li.active {
	/* background: url('http://i.liepajniekiem.lv/images/design/mainmenu.png') no-repeat 100% -87px; */
}

#mainmenu a {
	display: block;
	font: bold 12px/27px arial, sans-serif;
	padding: 2px 19px 0 14px;
	/* background: url('http://i.liepajniekiem.lv/images/design/mainmenu.png') no-repeat 0 0; */
	background: #22A117;
}

#mainmenu .active a {
	/* background-position: 0 -29px; */
	background: #fff;
}

#orange #mainmenu  a {
	/* background-position: 0 -58px; */
	background: #FCA40C;
}

#orange #mainmenu .active a {
	/* background-position: 0 -87px; */
	background: #fff;
	color: #FCA40C;
}

/*jaunais autorizācijas bloks*/
form .submit {
 float: right;
 background: url('http://i.liepajniekiem.lv/images/design/submit.png') no-repeat 100% 0;
 padding: 0 7px 0 0;
}

form .submit input {
 display: block;
 height: 16px;
 text-align: center;
 font: normal 11px/16px arial, sans-serif;
 color: #fff;
 cursor: pointer;
 padding: 0 4px 0 11px;
 background: url('http://i.liepajniekiem.lv/images/design/submit.png') no-repeat 0 0;
 border: 0;
 margin: 0;
}

#authorisation form .submit, #vote_form .submit { margin: 5px 0 0; }

#authorisation form .submit input { width: 41px; }

#vote_form .submit input { width: 160px; }

div.flag-banner {
	height: 	80px;
	margin: 	0 0 4px 0;
}
div.flag-banner div {
	height: 	80px;
	position:	absolute;
	z-index:	50;
	overflow:	hidden;
}

/*foruma fīčas*/
#forum p.scam, #ads p.scam {
	float:	right;
}
#forum p.scam a, #ads p.scam a {
	font-weight: bold;
	background: none;
	padding:	0;
}
#forum a.cite {
	background: none;
	padding:	0;
	color:		#011a91;
}
#forum blackqote {
	padding:	5px;
	margin:		0 0 5px 0;
	background:	#fff;
	display:	block;
}

#smiles-info {
	border: 1px solid #e1e1e1;
	padding: 5px;
	clear: both;
}

#smiles-info a {
	display: block;
	float:	left;
	height:	30px;
	padding: 5px 10px 0 0;
}

/*ziņu ikoniņas*/
#startnews span.icon {
	padding-left:	5px;
}
#startnews span.icon img {
	margin: 0;
}
.start-page-blocks span.icon, #news h1 span.icon {
	padding-right:	5px;
}
.start-page-blocks span.icon img {
	margin: 0;
	clear: none;
	float: none;
}

/*liepājas karte*/
#map-search input.search-input {
	width:		530px;
	padding:	4px;
}

#news #map-search-results li {
	background: none;
	margin: 0;
	padding: 0 0 10px 0;
}

#news #map-search-results p {
	margin: 0;
	padding: 0;
}

#liepajas-karte-big2 {
	width: 610px;
	height: 500px;
	margin: 10px 0;
}


#textual-banner-place .banners li {
	text-align: left;
	padding: 0 7px;
	margin: 7px 0;
}

#textual-banner-place h4 a {
	color: #011A91;
	font: bold 12px/16px tahoma, sans-serif;
	text-decoration: none;
}

/*jaunais login*/
.other-login {
	margin: 5px 0 0 0;
}
.other-login a, #user-registration li.button a.draugiem, #user-registration li.button a.twitter, #user-registration li.button a.facebook {
	display: block;
	width: 18px;
	height: 16px;
	line-height: 16px;
	padding: 0 5px 0 0;
	float: left;
}

.other-login a.draugiem, #user-registration li.button a.draugiem {
	background: url('http://i.liepajniekiem.lv/images/design/draugiem-say.png') no-repeat 0 50%;
}

.other-login a.twitter, #user-registration li.button a.twitter {
	background: url('http://i.liepajniekiem.lv/images/design/twitter-say.png') no-repeat 0 50%;
}

.other-login a.facebook, #user-registration li.button a.facebook {
	background: url('http://i.liepajniekiem.lv/images/design/facebook.png') no-repeat 0 50%;
}

#user-registration li.button .other-login {
	float: left;
}

/* jaunā galeriju pievienošanas forma */
.new-form h1 {
        padding: 0 0 5px 7px;
        margin: 0 0 8px;
        border-bottom: 2px solid #0C9101;
        color: #0B9000;
        background: #fff;
        font: bold 12px/16px tahoma, sans-serif;
}
.new-form .form-container {
        padding: 0 10px;
}
.new-form .input {
        clear: both;
        padding: 0 0 5px 0;
}
.new-form label {
        display: block;
        float: left;
        font: bold 11px/15px tahoma;
        width: 150px;
}
.new-form .input input {
        display: block;
        border: 1px solid #E1E1E1;
        background: #fff;
        padding: 0 5px;
        font-size: 11px;
        width: 250px;
}
.new-form #error {
        margin: 10px 0;
        padding: 10px;
        border: 1px solid #ff0000;
        color: #ff0000;
}
.new-form .error input {
        border-color:   #ff0000;
}
.new-form .error label {
        color: #ff0000;
}
.new-form .checkbox input {
        display: block;
        border: 0;;
        padding: 0;
        width: auto;
}
.new-form .buttons {
        clear: both;
}
.new-form .buttons input {
        display: block;
        border: 1px solid #0D9102;
        background: #22A117;
        padding: 2px 5px;
        font-size: 11px;
        float: right;
        margin: 0 0 0 5px;
        color: #fff;
}
.new-form #pictures-list li {
        float:          left;
        padding:        9px;
        margin:         1px;
        border:         1px solid #e1e1e1;
        width:          176px;
        height:         135px;
        position:       relative;
        background: #fff;
}
.new-form #pictures-list li div.meta {
        padding: 5px 0 0 0;
}
.new-form #pictures-list label {
        width: 55px;
        font-size: 10px;
}
.new-form #pictures-list input {
        font-size: 10px;
        width: 119px;
}
.new-form #pictures-list p {
        line-height: 15px;
        height: 15px;
}
.new-form #pictures-list img {
        display: block;
        margin: 0 auto;
}
.new-form #pictures-list li a.delete{
        position: absolute;
        right: 10px;
}
.new-form .progressBarInProgress {
        display:        block;
        font-size:      1px;
        height:         3px;
        background: #22A117;
        border:         1px solid #0D9102;
}
.new-form .progressBarError {
        background-color: #ff0000;
        border-color: #ff0000;
}

#dzintare #top {
	background: url(/images/design/dzintare/top-background.png) repeat-x bottom left;
}

#dzintare #logo {
	padding: 20px 0 0 16px;
}

#dzintare #mainmenu a {
	background-color: #566783;
}

#dzintare #mainmenu .active a {
	background-color: #fff;
}

#dzintare .box, #dzintare #leftbar li h3, #dzintare #rightbar h3, #dzintare #comments-wrapper h3, #dzintare #news ul#comments li, #dzintare #news h3 {
	border-color: #4F698E;
}

#dzintare .box h3, #dzintare #ad h6, #dzintare .pager a.active{
	background-color: #4F698E;
}

#dzintare #leftbar li h3, #dzintare #rightbar h3, #dzintare #leftbar h3 a, #dzintare #rightbar h3 a, #dzintare #comments-wrapper h3, #dzintare #news h3  {
	color: #4F698E;
}

#dzintare form .submit input,  #dzintare form .submit {
	background-image: url(/images/design/dzintare/submit.png);
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}

html, body {
min-height: 100%;
height: auto !important;
height: 100%
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #fff;}
#TB_window a:visited {color: #fff;}
#TB_window a:hover {color: #fff;}
#TB_window a:active {color: #fff;}
#TB_window a:focus{color: #fff;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: absolute;
	z-index:100;
	top: 0px;
	left: 0px;
	/*background-color:#000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;*/
}

#TB_window {
	position: absolute;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 1px solid #0B9000;
	text-align:left;
}

#TB_window img {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:5px 10px 7px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	border: 1px solid #fff;
	background-color:#0D9102;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: absolute;
	display:none;
	height:100px;
	width:100px;
	z-index:101;
}

#TB_HideSelect{
	z-index:99;
	position:absolute;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}
.ac_input {
	width: 500px;
}
.ac_results {
	width: 200px;
	background: #eee;
	cursor: pointer;
	position: absolute;
	left: 0;
	font-size: 90%;
	z-index: 101;
	text-align:left;
}
.ac_results ul {
	width: 200px;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid #000;
}
.ac_results iframe
{
	display:none;/*sorry for IE5*/
	display/**/:block;/*sorry for IE5*/
	position:absolute;
	top:0;
	left:0;
	z-index:-1;
	filter:mask();
	width:3000px;
	height:3000px;
}
.ac_results li {
	width: 190px;
	padding: 2px 5px;
}
.ac_results a {
	width: 100%;
}
.ac_loading {
	background : url('/jquery/img/indicator.gif') right center no-repeat;
}
.over {
	background: yellow;
}