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 {
	position: relative;
	list-style: none;
}
/*
table {
	border-collapse: separate;
	border-spacing: 0;
	margin: 15px 0 0;
}
*/
caption, th, td {
	text-align: left;
	font-weight: normal;
}

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

blockquote, q {
	quotes: "" "";
}
a{
    outline:none}
.clear {
	clear: both;
	font-size: 1px;
	line-height: 0em;
	height: 0;
	margin: 0;
	padding: 0;
	background: #fff;
}

.hidden, legend, #forumsearch label {
	display: none !important;
	overflow: hidden;
	visibility: hidden;
}

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

.nowrap { white-space: nowrap; }

/* table { border-collapse: collapse; } */

p { margin: 0 0 7px;
    padding:0 }

ul {
	padding: 10px 0;
}

	ul li, #doclist li li{		
		padding: 0 0 0 17px;
		border: 0;
		background: url('../images/design/leftlefta.gif') no-repeat 0 6px;
	}

ol {
	list-style: decimal;
	margin: 10px 25px;
}

#langmenu, #mainmenu, #additionalmenu, #newsmenu, #mainmenu ul, #meta-links, #sidebar ul, #footer ul,
#doclist, .expanded ul, #video ul, .formwrap ol, #events ul, #search-results ul, .forum #content ul, #content.forum ul,
#startsidebar ul, #introleft ul, #introleft ol, #comments, #comment-sort ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

	#langmenu li, #mainmenu li, #additionalmenu li, #newsmenu li, #mainmenu li, #meta-links li, #sidebar li, #footer li,
	#doclist li, .expanded li, #video li, #events li, #search-results li, .forum #content li, #content.forum li,
	#startsidebar li, #introleft li, #comments li, #comment-sort li {
		margin: 0;
		padding: 0;
		background: transparent;
	}

a {
	color: #c70000;
	text-decoration: none;
}

.insTable {
	width:630px !important;
}

.insTable td {
	border-bottom: 1px solid #ddd;
	/*padding: 3px 15px 2px;*/
    padding:4px 0;
    text-align:center
}

/*table td *, table th * { margin: 0; padding: 0; }*/

.insTable tr.insFirstRow td{
	background: #3b1740;
	border-bottom: 1px solid #3b1740;
	color: #fff;
}

html, body {
	width: 100%;
	/* height: 100%; */
}

body {
	font: normal 12px/18px arial, tahoma, verdana, sans-serif;
	color: #000;
	background: #fff;
}

	#wrapper {
		position: relative;
		width: 935px;
		margin: 0 auto;
		/*height: auto !important;*/
		height: 100%;
		/*min-height: 100%;*/
		background: #fff url('../images/design/wrapper.gif') repeat-x 0 0;
	}
	
	#site {
		/*min-height: auto;*/
		/*height: auto;*/
		/* padding: 0 0 109px; */
	}
	
		#container {			
			/*margin: 0 auto;*/				
		}
		
		#container.start {
			width: 935px;
		}
		
		#header {
			border-bottom: 2px solid #2E6AA9;
			height: 213px;
		}
	
			#logo {
				position: absolute;
				top: 34px;
				left: 0;
				border-bottom: 2px solid #2e6aa9;
			}	
			
			#logo, #logo img { display: block; }		
			
			#langmenu {
				position: absolute;
				top: 8px;
				left: 17px;
			}
			
			#additionalmenu {
				position: absolute;
				top: 8px;
				right: 30px;
			}
			
				#header li {
					float: left;
					display: inline;
					margin: 0 0 0 9px;
					padding: 0 1px 0 9px;
					border-left: 1px solid #87718a;
				}
				
				#header li.first { border: 0; }
				
				#header li.active, #header li:hover, #header li.hover {
					background: url('../images/design/topmenuright.gif') no-repeat 100% 0;
				}
				
					#header li a {
						display: block;
						color: #fff;
						font: normal 11px/16px tahoma, arial, verdana, sans-serif;
						text-decoration: underline;
						padding: 0 7px 3px 8px;
					}
					
					#header li a:hover { text-decoration: none; }
					
					#header li.active a, #header li:hover a, #header li.hover a {						
						background: url('../images/design/topmenuleft.gif') no-repeat 0 0;
						text-decoration: none;
					}
					
					#header li.active a, #header li.hover a, #header li:hover a {
						color: #6b2c78;
					}
					
					#langmenu li a {
						text-transform: uppercase;
						font-size: 10px;
						padding: 0 3px 3px 5px;
						background: none;
					}					
					
		#mainmenu, #newsmenu {
			background: #f3f3f3 url('../images/design/mainmenu.gif') repeat-x 0 0;
			margin: 0;
			padding: 0 8px;	
			height: 39px;	
			border: 1px solid #bbb;
			border-bottom: 0;
			overflow: hidden;
		}
		
			#mainmenu ul, #newsmenu ul { height: 39px; overflow: hidden; }
				
			#mainmenu li, #newsmenu li {
				float: left;				
				padding: 3px 0 0 2px;
				background: url('../images/design/mainmenusep.gif') no-repeat 0 0;				
			}
			
			#mainmenu li.active, #mainmenu li.first, #mainmenu li.next,
			#newsmenu li.active, #newsmenu li.first, #newsmenu li.next {
				background: transparent;
				padding: 3px 0 0 2px;
			}
			
				#mainmenu li a, #newsmenu li a {
					display: block;					
					padding: 11px 12px 9px;
					font: bold 12px/16px arial, sans-serif;
					color: #000;
					text-decoration: none;
				}
				
				#mainmenu li a:hover, #newsmenu li a:hover { text-decoration: underline; }
				
				#mainmenu li.active a, #newsmenu li.active a {
					border: 2px solid #c8c8c8;
					padding: 9px 10px;
					border-bottom: 0;
					background: #fff;
					color: #1f65a7;
				}
				
				#mainmenu li#heart a {
					border: 0;
					background: transparent;
				}
				
				#start #mainmenu li.active a, #start #newsmenu li.active a { color: #000; }
				
		#contentwrap {
			margin: 3px 0 0;
			background: url('../images/design/contentwrapbg.gif') repeat-x 0 0;		
			border-right: 1px solid #c9c9c9;
		}
		
			#contentwrapbg {		
				/*position: relative;*/
				width: 934px;
				background: transparent url('../images/design/contentbottom.jpg') no-repeat 0 100%;	
				padding: 0 0 115px;								
			}
		/*	.expanded #contentwrapbg{
                background: transparent url('../images/design/contentexpbg.jpg') no-repeat right top } */
                
			div.expanded  #contentwrapbg{
				background: url('../images/design/contentexpbg.jpg') right bottom no-repeat !important;}
			div.expanded{
				background: url('../images/design/contentexpbg.jpg') right bottom no-repeat !important;
				border: 0;
				width: auto;
				padding: 0;
				/*position: static;*/
			}
			
			.collapsed #contentwrapbg {
				padding: 0;
				background: transparent;
			}
				
			#content, #sidebar {
				float: right;
				width: 638px;
				background: transparent;	
			}
			
			.expanded #content {
				padding-bottom: 80px;
			}
			
			#sidebar {
				display: inline;
				width: 213px;
				margin: 0 21px;							
			}
			
			#content {								
				padding: 0 12px 0 26px;	
				margin: 10px 0 0;
			}
			.opendoc{
                overflow:hidden;
                /*width:634px*/}
			#contenttop {
				position: relative;
				background: #A28FA3 url('../images/design/contentbg.jpg') repeat-x 0 0;
				padding: 14px 12px 0 26px;
				margin: 0 -12px 20px -26px;
			}
			
			.expanded #contenttop {
                padding-left: 0;
                margin-left: 0}
			.forum #contenttop {
                height:84px}
			.galleries #contenttop {
                height:48px}
			
				#sitepath, #sitepath a {
					font: normal 9px/11px arial, sans-serif;
					color: #dcc9df;				
				}
				
				#sitepath { margin: 0 10px 11px 0; }
				
					#sitepath a:hover { text-decoration: underline; }
				
				h1 {
					position: relative;
					bottom: -2px;
					font: normal 18px/23px arial, sans-serif;
					color: #fff;
					border-bottom: 2px solid #e11e32;
					margin: 0 -12px 0px 0;
				}
				
					h1 span {
						background: #c03 url('../images/design/h1.gif') repeat-x 0 0;
						padding: 1px 6px;
					}
					
				h2, h3 {
					font: bold 14px/18px arial, sans-serif;
					color: #3b1740;
					margin: 10px 0 5px;
				}
				
				h3 {
					font: bold 12px/16px arial, sans-serif;
				}
					
				#meta-links {
					position: absolute;
					bottom: 0;
					right: 75px;
					border-left: 3px solid #48264c;
					padding: 3px 7px;
					width:130px;
				}
				
					#meta-links li { zoom: 1; }
				
					#meta-links a {
						display: block;
						font: normal 9px/11px tahoma, sans-serif;
						color: #fff;
						text-decoration: underline;
						padding: 0 0 0 18px;
						margin: 2px 0;
					}
					
					#meta-links a:hover { text-decoration: none; }
					
					#meta-links #print a {
						background: url('../images/design/print.gif') no-repeat 0 50%;
					}
					
					#meta-links #comments a {
						background: url('../images/design/comments.gif') no-repeat 0 50%;
					}
					
					#meta-links #send_friend a {
						background: url('../images/design/sendfriend.gif') no-repeat 0 50%;
					}
					
				#rss {
					position: absolute;
					bottom: 5px;
					right: 12px;
					cursor:pointer;
					background: url('../images/design/rss.png') no-repeat 0 0;
				}
				#rss img {
					visibility: hidden;
				}
				
				.pic {
					float: right;
					display: inline;
					border-right: 2px solid #e11e32;
					padding: 0 5px 0 0;
					margin: 0 0 5px 10px;
				}
				
					.pic img {
						display: block;
						border: 1px solid #cbcbcb;
					}
					
				#pager, #back-cornered, #back-cornered-right {
					position: absolute;					
					left: 280px;
					margin: 23px 0 0;
				}				
				#back{
					/*bottom: 155px;*/
					padding: 0 0 0 35px;
                    /*position:absolute;*/
					background: url('../images/design/back.gif') no-repeat 0 2px;
					position:relative;
					bottom:-80px;
					display: block; /*added as hack to prevent it from hiding somewhere at youth categories */
				}
				.expanded #back {
					left: 20px;
				}
				
				.expanded #pager { left: 15px; }
				
				.expanded .forum #back { left: 40px; }
				
				.expanded #back-cornered-right {
					right: 20px;
				}
				
				#back-cornered, #back-cornered-right {
					background: url('../images/design/back.gif') no-repeat 0 2px;
					padding: 0 0 0 35px;
					bottom: 38px;	
				}
				
				#event #back { left: -5px; }
				
				#back-cornered {
					left: auto;
					right: 25px;
					bottom: 15px;
				}	
				
				#back:hover, #back-cornered:hover { text-decoration: underline; }
				
			#sidebar {
				padding: 20px 0 100px;
			}
			
			.collapsed #sidebar {
				padding: 20px 0 0;
			}
			
				#sidebar ul {
					background: url('../images/design/leftul.gif') repeat-x 0 0;
					padding: 0 0 25px;
					overflow: hidden;
					zoom: 1;
				}
				
				#sidebar ul ul {
					background: #fff;
					padding: 0;
				}
				
				#sidebar li, #sitemap li {
					padding: 9px 0 0;					
				}
				
				#sidebar li ul, #sitemap li ul{
					padding: 0 2px;
				}
				
				#sidebar li ul ul, #sitemap li ul ul{
					padding: 0;
				}
				
				#sitemap li { background: url('../images/design/leftbga.gif') repeat-x 0 0; }
				#sidebar li.active { background: #97839A url('../images/design/leftbga.gif') repeat-x 0 0; }
				#sidebar li.active li.active, #sitemap li li { background: #fff; }
				
					#sidebar li a, #sitemap li a {
						display: block;
						background: url('../images/design/left.gif') no-repeat 13px 5px;
						padding: 0 13px 8px 33px;
						border-bottom: 1px solid #e6e6e6;
						font: normal 11px/13px tahoma, sans-serif;
						color: #3b1740;
						text-decoration: underline;
					}
					
					#sidebar li.active a, #sitemap li a {
						background: url('../images/design/lefta.gif') no-repeat 13px 5px;
						color: #fff;
						font: bold 13px/13px tahoma, sans-serif;
						border: 0;
					}
					
					#sitemap li a {
						text-decoration: none;
					}
					
						#sidebar li.active li a, #sitemap li li a {
							background: url('../images/design/leftleft.gif') no-repeat 30px 5px;
							padding: 0 13px 8px 50px;
							color: #3b1740;
							border-bottom: 1px solid #e6e6e6;
							font: normal 11px/13px tahoma, sans-serif;
						}
						
						#sitemap li li a {
							background: url('../images/design/left.gif') no-repeat 30px 5px;
							padding-left: 45px;
						}
						
						#sitemap li li li a {
							background: url('../images/design/left.gif') no-repeat 45px 5px;
							padding-left: 60px;
						}
						
						#sidebar li.active li.active a {
							background: url('../images/design/leftlefta.gif') no-repeat 30px 5px;
							padding: 0 13px 8px 50px;
							color: #3b1740;
							font-weight: bold;
						}
						
							#sidebar li.active li.active li a {
								background: url('../images/design/leftleft.gif') no-repeat 46px 5px;
								padding: 0 13px 8px 66px;
								color: #3b1740;
								border-bottom: 1px solid #e6e6e6;
								font: normal 11px/13px tahoma, sans-serif;
							}
							
							#sidebar li.active li.active li.active a {
								font-weight: bold;
							}
							
					#sidebar li a:hover { text-decoration: none; }
					#sitemap li a:hover { text-decoration: underline; }
			
				/* #sidebar li, #sitemap li {
					padding: 9px 0 0;					
				}
				
				#sidebar li.active, #sitemap li { background: #97839A url('../images/design/leftbga.gif') repeat-x 0 0; }
				
				#sidebar li.active li.active, #sitemap li li { background: #fff; }
				
					#sidebar li a, #sitemap li a {
						display: block;
						background: url('../images/design/left.gif') no-repeat 15px 5px;
						padding: 0 15px 8px 35px;
						border-bottom: 1px solid #e6e6e6;
						font: normal 11px/13px tahoma, sans-serif;
						color: #3b1740;
						text-decoration: underline;
					}
					
					#sidebar li.active a, #sitemap li a {
						background: url('../images/design/lefta.gif') no-repeat 13px 5px;
						color: #fff;
						font: bold 13px/15px tahoma, sans-serif;
						border: 0;
					}
					
					#sitemap li a {
						text-decoration: none;
					}
					
						#sidebar li.active li a, #sitemap li li a {
							background: url('../images/design/leftleft.gif') no-repeat 30px 5px;
							padding: 0 13px 8px 50px;
							color: #3b1740;
							border-bottom: 1px solid #e6e6e6;
							font: normal 11px/13px tahoma, sans-serif;
						}
						
						#sitemap li li a {
							background: url('../images/design/left.gif') no-repeat 30px 5px;
							padding-left: 45px;
						}
						
						#sitemap li li li a {
							background: url('../images/design/left.gif') no-repeat 45px 5px;
							padding-left: 60px;
						}
						
						#sidebar li.active li.active a {
							background: url('../images/design/leftlefta.gif') no-repeat 30px 5px;
							padding: 0 13px 8px 50px;
							color: #3b1740;
							font-weight: bold;
						}
						
							#sidebar li.active li.active li a {
								background: url('../images/design/leftleft.gif') no-repeat 46px 5px;
								padding: 0 13px 8px 66px;
								color: #3b1740;
								border-bottom: 1px solid #e6e6e6;
								font: normal 11px/13px tahoma, sans-serif;
							}
							
							#sidebar li.active li.active li.active a {
								font-weight: bold;
							}
							
					#sidebar li a:hover { text-decoration: none; }
					#sitemap li a:hover { text-decoration: underline; } */
					
			#sidebar .additional-stuff, #sidebar .additional-stuff ul {
				background: #f1f1f1 url('../images/design/additionalbg.gif') repeat-x 0 100%;
				padding: 0 0 30px;
			}
			
			#sidebar .additional-stuff { padding: 0; }
			
			#sidebar h4 {
				font: bold 18px/22px arial, sans-serif;
				color: #3b1740;
				padding: 11px 15px 8px;
			}
					
				#sidebar .additional-stuff li, #image .download {
					padding: 4px 5px 4px 15px;
					border-top: 1px solid #e6e6e6;
					color: #a7a7a7;
					font: normal 11px tahoma, sans-serif;
				}
				
				#image .download { border: 0; text-align: center; }
				
				#sidebar .additional-stuff li a, #image .download a {
					display: inline;
					font: normal 11px/15px tahoma, sans-serif;
					padding: 0 2px 0 0;
					background: transparent;
				}
				
				#sidebar .additional-stuff li.active {
					background: none;
				}
				
				#sidebar .additional-stuff li.active a {
					color: #000;
					text-decoration: none;
					font-weight: bold;
				}
				
				#sidebar #files li a, #image .download  a {
					padding: 0 0 0 14px;
					background: url('../images/design/files.gif') no-repeat 0 6px;
				}
				
	#footer {
		clear: both;
		/* position: absolute; */
		/* bottom: 0; */
		width: 891px;		
		height: 78px;
		overflow: hidden;
		padding: 15px 22px;
		margin:0;
		border-top: 1px solid #c9c9c9;
	}
	#footer ul {
			padding:0;
            margin:0}
		#footer li {
			float: left;
			display: inline;
			padding: 0 0 0 11px;
			margin: 0 11px 22px 0;
			border-left: 1px solid #cfcfcf;
		}
		
		#footer li.first { border: 0; }
		
			#footer li a {
				display: block;
				font: normal 12px/14px arial, sans-serif;
				color: #1a5190;
				text-decoration: underline; 
			}
			
			#footer a:hover { text-decoration: none; }
			
		#footer address {
			clear: left;
			float: right;
			font: normal 11px/14px arial, sans-serif;
		}
		
		#footer p {
			float: left;
			font: normal 11px/14px arial, sans-serif;
		}
		
			#footer p a {				
				color: #1a5190;
				text-decoration: underline; 
			}
			
/* Dokumentu saraksts */
#pagecontent .doclist {
    float: left;
    width: 47%;
    margin-right:18px;
    padding:0
}
.content p{
    margin:0;
    font-size:11px;
    line-height:14px
}
    #pagecontent .doclist li {
        border-bottom:1px solid #ddd;
    }
    #pagecontent .doclist li.last {
        border-bottom:none;
    }

#doclist li {
	clear: left;
	padding: 15px 5px;
	border-top: 1px solid #ddd;
}

	#doclist li.first {
		border: 0;
		padding: 15px 0;
	}
	
	#doclist p.date, #pagecontent .doclist p.date {
		font: normal 11px/13px tahoma, sans-serif;
		color: #525252;
		margin: 0;
	}
	
	#doclist h2, #doclist h2 a, .doclist h2, .doclist h2 a {
		color: #3b1740;
		margin: 0 0 2px;
	}
	
	#doclist h2 a:hover { text-decoration: underline; }

/*
	.jaunumu-tab td{
        vertical-align:top;
        border-bottom:1px solid #999;
        padding:0 0 10px 0}
    	.jaunumu-tab td.nobrd{
            border-bottom:none}
	.jaunumu-tab p.date {
		font: normal 11px/13px tahoma, sans-serif;
		color: #525252;
		margin: 0;
	}
	
	.jaunumu-tab h2, .jaunumu-tab h2 a {
		color: #3b1740;
		margin: 0 0 2px;
	}
	
	.jaunumu-tab h2 a:hover { text-decoration: underline; }
        
        .jaunumu-tab .more {
			position: relative;
			background: url('../images/design/readmore.gif') no-repeat 0 0 !important;
		}
*/	
#pager {
	background: url('../images/design/pagerbg.gif') repeat-x 0 0;
	font-size: 2px;
	margin: 23px 0 0 5px;
}

	#pager a {
		font: normal 11px/18px tahoma, sans-serif;
		color: #fff;
		text-decoration: none;
		padding: 2px 4px;
		background: #c03 url('../images/design/pager.gif') repeat-x 0 0;
	}
	
	#pager a.pcurrent { font-weight: bold; }
	
	#pager a:hover { text-decoration: underline; }
	
/* Galerijas */

#contentwrap.expanded {
	/*position: relative;*/
	clear: both;
	/*padding: 14px 0 0 20px;*/
	/*margin: 3px 0 5px;*/
	border: none;
}
.forum #contentwrapbg{
    background:none}
#contentwrapbg.forum {
	padding: 0;
	background: url('../images/design/contentbottompart.jpg') no-repeat 0 100%;
}

.expanded #content {
	float: none;	
	width: auto;
	margin: 0;
	padding-left: 0;
    overflow:hidden	
}

.expanded h1, .expanded #sitepath { margin-left: 20px; }

	.galleries h2, .galleries h2 a {
		float: left;
		display: block;
		color: #3b1740;
		font: bold 18px/18px arial, sans-serif;
		background: url('../images/design/gallery-newest-heading.gif') repeat-x 0 0;
		padding: 0;
	}
	
	.galleries h2 {
		display: block;
		padding: 0 0 0 20px;
		margin: 0;
		zoom: 1;
		line-height:110%;
		float:none;
	}
	
	.galleries h2 a{ display: block; zoom: 1; padding: 0; }
	
	#newest, #categories {
		clear: both;
	}
	
	#newest { overflow: hidden; zoom:1}	
	
	#gallery #newest { margin: -10px 0 0 -20px; padding: 0; }
	
	#categories { margin: 14px 10px 0; overflow:hidden; zoom:1 }	

		#newest li, #categories li {
			float: left;
			display: inline;
			background: url('../images/design/gallery-newest.jpg') repeat-x 0 0;
			padding: 17px 21px 34px 18px;
		}
		
		#gallery #newest li { background: url('../images/design/gallery-thumb.jpg') repeat-x 0 0; }
		
		#gallery #newest li { padding-bottom: 20px; }
		
			#photocount, #comment-count {
				color: #838383;
				font: normal 11px/16px tahoma, sans-serif;
				margin: 5px 0 20px;
			}
			
			#comment-count { margin: 5px 200px 4px 0; }
		
/* changes vv */

		#categories li {
			background: url('../images/design/gallery-category.gif') no-repeat -27px 0;
			padding: 9px 40px 40px 26px;
			cursor: hand;
		}
		
            #categories li h2,#categories li h3{
    			height:43px !important;
    			line-height:14px;
    			position:relative
    		}
        		#categories li h2 a,#categories li h3 a{
        			line-height:14px
        		}
        		#categories li h2 span {
                    bottom:0;
                    display:block;
                    left:0;
                    position:absolute;
                    }
	
	
			#categories div, #newest li a {
				display: block;
				border-left: 3px solid transparent;
			}
			#categories div {
                margin-top:8px;
			}
			#newest li a, #categories li div a {
				display: block;
				width: 79px;
				height: 79px;
				padding: 3px 1px;
				font-size: 79px;
				line-height: 79px;
				text-align: center;
				vertical-align: middle;
			}
			
			#categories li div a { 
				width: 137px;
				height: 102px;
				font-size: 12px;
				line-height: 102px;
			}
			
		.oneline li {
			background: url('../images/design/gallery-category-one.gif') no-repeat -27px 0 !important;
			padding: 9px 40px 40px 26px;
		}
		#categories li h3{
            height:17px !important;
            position:static}
			
/* changes */		
	
			#categories li:hover div, #categories li.hover div, #newest li a:hover { border-left: 3px solid #e11e32; }
		
			#newest li img, #categories li img, #image img {
				font-size: 12px;				
			}			
		
			#categories h2, #categories h2 a, #categories h3, #categories h3 a {
				width: 148px;
				/*height: 24px;*/
				float: none;
				background: transparent;
				font: bold 12px/24px arial, sans-serif;
				padding: 0 0 0 2px;
				margin: 0 !important;
				color: #3b1740;
			}
			
			.expanded h2 a:hover, #categories li:hover h2, #categories li:hover h2 a, #categories li h2 a:hover, #categories li h3 a:hover
			#categories li.hover h2, #categories li.hover h2 a {
				color: #e11e32;
			}
			
		#imagewrap {
			background: #eee;
			position: relative;
			padding: 0 28px;
			margin: 0 0 20px;
			width: 578px;
		}
		
			#image {
				background: #fff;
				text-align: center;
			}
			
				#image img { display: inline; }
				
			#image-back, #image-fw {
				position: absolute;
				top: 50%;
				margin-top: -12px;
				display: block;
				width: 13px;
				height: 24px;
				background: url('../images/design/galnavback.gif') no-repeat 0 0;
			}
			
			#image-back { left: 8px; }
			
			#image-fw {
				right: 8px;
				background: url('../images/design/galnavfw.gif') no-repeat 0 0;
			}
			
			#image-back:hover, #image-fw:hover { background-position: 0 100%; }
			
		#gallery #categories, #video #categories { margin: 0 -9px 0 -13px; }	
			
		#gallery #categories li, #video #categories li {
			position: relative;
		}
		
			#gallery .comments, #video .comments {
				position: absolute;
				top: 34px;
				right: 17px;
				width: 20px;
				height: 9px;
				padding: 1px 1px 4px;
				color: #e11e32;
				font: normal 10px/10px arial, sans-serif;
				text-decoration: none;
				text-align: center;
				background: url('../images/design/comment-count.gif') no-repeat 0 0;
			}
			
			#gallery .pictures {
				position: absolute;
				top: 148px;
				right: 22px;
				width: 18px;
				color: #fff;
				padding: 2px;
				font: normal 10px/10px arial, sans-serif;
				text-align: right;
				background: #e11e32 url('../images/design/picture-count.gif') repeat-y 0 0;
			}
			
		#comment-sort {
			float: right;
		}
			
		#video-size, #video ul#video-size-change a, #comment-sort p, #comment-sort a {
			float: left;
			display: block;
			margin: 0 17px 0 0;
			color: #838383;
			font: normal 11px/16px tahoma, sans-serif;
		}
		
		#comment-sort p, #comment-sort a { margin: 0 10px 0 0; }
		
			#video li, #comment-sort li {
				float: left;
				display: inline;
				border: 0 !important;				
			}
			
			#video #comments li, #video .formwrap li  {
				float: none;
				display: block;
			}
			
			#video #categories { margin-left: -10px; }
			
			#video #categories img, #video #categories a { display: block; }

			#comment-sort li { padding: 0 !important; }	
		
			#video li a {
				float: none;								
			}
			
			#video ul#video-size-change a, #comment-sort a {
				padding: 0 0 0 17px;
				background: url('../images/design/video-size-large.gif') no-repeat 0 4px;
				color: #e11e32;
				text-decoration: underline;
			}	
			
			#video ul#video-size-change li.active a, #comment-sort li.active a {
				font-weight: bold;
				color: #3b1740;
				text-decoration: none;
			}
			
			#comment-sort a {
				padding: 0;
				background: none;
			}
			
			#video ul#video-size-change li a:hover { text-decoration: none; }
			
			#video li#medium a { background-image: url('../images/design/video-size-medium.gif'); }
			#video li#small a { background-image: url('../images/design/video-size-small.gif'); }
			
		#video-wrap {
			float: left;
			clear: both;
			margin: 10px 0 20px;
			border-left: 3px solid #e11e32;
			padding: 0 0 0 7px;
		}
		
			#video-content {
				display: -moz-inline-block;						
				border: 1px solid #b4b4b4;
				padding: 2px 2px 0;
				background: #fff;				
			}
			
		.error {
			color: #c70000;
			margin: 10px 0 0;
		}
		
		/** Added **/
		.complete {
			color: #3e9339;
			margin: 10px 0 0;
		}
		
		#registration-info {
			margin: 0 0 0 20px;
			padding: 0 0 15px;
		}
		
		#registration, .formwrap {
			position: relative;
			width: 550px;
			margin: 20px 0 0;
			padding: 0 95px 0 0;
			overflow: hidden;
		}
		
		#content .formwrap { margin-left: -20px; }
		
		.expanded #content .formwrap { margin-left: 0; margin-bottom: 20px !important; }
		.expanded #content #subscribe.formwrap, .expanded #content #contacts.formwrap { margin-bottom: 0 !important; }
		.expanded  #registration-fw { margin-top: -20px !important; }
		
		#forum-comments { width: 453px; }
		.expanded #forum-comments { width: 553px; }
		
		#contacts { margin-top: 0; }
		
		.formwrap h3 {
			color: #000;
			margin: 16px 0 17px;
		}
		
		.formwrap form, .retrieveform {						
			padding: 14px 27px 14px 20px;
			width: 503px;
			border-left: 3px solid #e11e32;
			background: #f8f8f8 url('../images/design/regformbg.gif') repeat-x 0 100%;			
		}
		
		.retrieveform { width: 693px; }
		
		#registration, #registration-fw {
			margin: 0;
			border-left: 3px solid #e11e32;
			background: #fff url('../images/design/regformbg.gif') repeat-x 0 100%;	
		}
		
		#registration-fw {
			padding: 10px 207px 10px 20px;			
			background: #f8f8f8 url('../images/design/regformbg.gif') repeat-x 0 100%;
		}
		
		#registration-fw { width: 403px; }
		.expanded #registration-fw { width: 503px; }
		
		#forgot-pswd {
			float: right;
			margin: 0 105px 15px 0;
		}
		
		#forgot-pswd:hover { text-decoration: underline; }
		
		#registration form {
			padding-bottom: 15px;
			border: 0;
		}
		
			.formwrap li {
				clear: left;
				height: 23px;
				margin: 0 0 13px !important;
				border: 0;
			}
			
			.formwrap li#themes {
				height: auto;
				margin: 0;
			}
			
				.formwrap label, .formwrap li input {
					float: left;
					display: block;
					width: 140px;		
					line-height: 23px;			
				}
				
					.mandatory {						
						color: #ffa800;
					}
					
				.formwrap li input {
					display: block;
					border: 0;
					padding: 3px 5px 5px;
					width: 248px;					
					background: url('../images/design/inputbg.gif') repeat 100% 100%;
					font: normal 12px arial, sans-serif;
				}
				
				.formwrap input#file { width: 326px; }
				
			#tip {
				position: relative;
			}
			
				#tip span, .symb-counter {
					position: absolute;
					bottom: -11px;
					right: 100px;
					color: #9c959d;
					font: normal 9px/11px arial, sans-serif;
				}
				
				#tip span.mandatory {
					position: static;
					color: #ffa800;
				}
				
				#captcha img { margin: 0 0 0 14px; }
			
			#corner {
				position: absolute;
				top: 0;
				right: 0;
				width: 8px;
				height: 8px;
				font-size: 8px;
				background: url('../images/design/regformcorner.gif');
			}
			
			.formwrap input#submitform, input#submitform, .form-submit a {
				width: 95px;
				margin: 30px 0 0;
				border: 0;
				text-align: center;
				cursor: pointer;
				font: bold 13px/13px tahoma, sans-serif;
				color: #fff;
				background: transparent;
			}
			
			.gayform .form-submit input#submitform {
				width: 180px;
				margin: 25px 0 0;
			}
			
			.form-submit a {
				display: block;
				width: 180px;
			}
			
			.formwrap .form-submit {
				position: absolute;
				right: 0;
				bottom: 0;
				padding: 137px 0 0 0;
				height: 79px;
				width: 95px;
				background: url('../images/design/regformsubmit.jpg');
			}
			
			#registration-fw .form-submit, .gayform .form-submit {
				height: 69px;
				width: 180px;
				padding: 0;
				background: url('../images/design/regfw.jpg');
			}
			
			.formwrap input#submitform:hover, .form-submit a:hover { cursor: hand; text-decoration: underline; }
			
	/* Notikumi */
	
	#events {
		position: relative;
		height: auto !important;
		height: 30px;
		min-height: 30px;
	}
	
	#events h2 {
		font: bold 12px/12px arial, sans-serif;
		color: #e11e32;	
		margin: 0 0 5px;
		padding: 0;	
	}
	
		#events h2 span {
			display: block;
			font: bold 24px/24px arial, sans-serif;
		}
		
		#events h2 a {
			color: #3b1740;
			font: bold 14px/18px arial, sans-serif;
		}
		
		#events h2 a:hover { text-decoration: underline; }
		
	#events li {
		padding: 19px 0;
		border-top: 1px solid #ddd;
	}
	
	#events .formwrap li { padding: 0; border: 0; }
	
	#events li.first {
		padding: 0 0 19px;
		border: 0;
	}
	
		#events table, #event table {				
			width: 400px;
		}
	
		#events td, #events th, #event td, #event th {
			padding: 6px 5px 6px 15px;
			border-top: 1px solid #e6e6e6;		
			vertical-align: top;	
		}
		
		#events th, #event th {
			font-weight: bold;
			text-align: right;
			width: 1px;
			padding-left: 0;
		}
		
		#event th { font-size: 11px; }
		
		#event td, #event th { padding: 2px 5px 2px 15px; }
		
		#event th { padding-left: 0; }
		
			#event td a:hover { text-decoration: underline; }
		
	#archive {
		position: absolute;
		top: 0;
		right: 0;
	}
	
	#event .pic {
		float: right;
		border: 0;
	}
	
		#event .pic img { padding: 2px; }
		
	#event-info {
		border-top: 1px solid #ddd;
		padding: 20px 0 0;
		margin: 10px 0 20px;
	}
	
	/* Lapas karte */
	
	#sitemap { margin: 0 0 15px; }
	
	#sitemap .column {
		float: left;
		width: 33%;
	}
		
	#sitemap li {
		display: block;
		display: block;
		margin: 0 62px 0 20px;
		padding-bottom: 25px;
	}
	
		/* #sitemap li a {
		padding-top: 9px;
		background-color: #97839A;
		} */
	
	#sitemap li li {		
		margin: 0;
		padding-bottom: 0;
		width: auto;
	}
	
	#sitemap #back {
		position: static;
	}
	
	/* Meklētājs */
	
	#search { margin-left: -26px; }
	
		#search label { width: 160px; }
		
		#search li div { float: left; margin: 2px 20px 8px 0; }
		
			#search li div label, #notice label {
				width: auto;
				float: none;
				display: inline;
			}
			
			#notice label {
				float: left;
				width: 240px;
				padding: 3px 0 0;
				line-height: 16px;
			}
			
			#search li div div input, #notice input {
				width: auto !important;
				padding: 0;
				display: inline;
				background: none;
			}
			#search li div input[type="hidden"] { display:none; }
			#search a {
				float: left;
				color: #3b1740;
				text-decoration: underline;
			}
			
			#search a:hover { text-decoration: none; }
			
			#search li div span {
				float: left;
				width: 40px;
			}
		
		#search.formwrap .form-submit {
			background: url('../images/design/searchformsubmit.jpg') no-repeat 0 100%;
			height: 165px;
		}
		
		#search.formwrap input#submitform {			
			padding-top: 35px;
		}
		
		#search.formwrap input#clearform {
			position: absolute;
			right: 0;
			bottom: 43px;
			width: 85px;
			font: bold 13px tahoma, sans-serif;
			color: #fff;
			background: transparent;
			padding: 0 0 0 10px;
			margin: 0;
			border: 0;
			text-align: center;
			cursor: pointer;
		}
		
	#search-results {
		margin: 16px 0 0;
	}
	
		#search-results ul { clear: both; }
	
		#search-results li {
			padding: 12px 7px;
			border-top: 1px solid #ddd;
			height: auto !important;
		}
		
		#search-results li.first { border: none; }
		
			#search-results h2 {
				margin-top: 0;
			}
		
			#search-results h2 a {
				color: #3b1740;
			}
			
			#search-results h2 a:hover { text-decoration: underline; }
			
				#search-results h2 a strong {
					background: #e11e32;
					color: #fff;
					padding: 0 2px;
				}
				
			#search-results p {
				margin: 0 0 3px;
			}
				
				#search-results p a {
					text-decoration: underline;
				}
				
			#search-results .date, #filter {
				color: #969595;
				font: normal 11px/16px arial, sans-serif;
			}
			
	#search-info {
		margin: 15px 0;
	}
			
		#search-results #filter-by { clear: none; }
			
		#filter, #filter-by li {
			float: left;
			display: inline;
			border: 0;
			padding: 0;
		}
		
		#search-results p#filter { margin: 0 7px; }
		
		.expanded #search-results p#filter { margin: 0 7px 0 20px; }
		
		#filter-by li a {
			display: block;
			text-decoration: underline;
			font: normal 11px/13px arial, sans-serif;
			margin: 0 7px 0 0;
		}
		
		#filter-by li.active a {
			text-decoration: none;
			color: #3b1740;
			font-weight: bold;
		}
		
	.forum #contenttop {
		background-image: url('../images/design/forumcontentbg.jpg');
	}
	
	.forum #content li, #content.forum li, #comments li {
		height: 18px;		
		min-height: 18px;		
		border-top: 1px solid #cacaca;
		padding: 12px 0 12px 7px;
	}
	
	#comments li { padding: 12px 0 12px 7px !important; }
	
	.forum #category li, .forum #comments li, #comments li {
		height: auto;
	}
	
	.forum #content li.first, #content.forum li.first, #comments li.first { border: 0; }
	
		.forum li h2, .forum li .new {
			float: left;
			margin: 0 17px 0 0;
		}
		
		.forum li .date, .forum li .comments, #comments .date {
			float: right;
			margin: 0 0 0 10px;
		}
		
		.forum h2 a, .forum .comments {
			color: #3b1740;
			font: bold 14px/18px arial, sans-serif;
			text-decoration: underline;
		}
		
		.forum h2 a:hover { text-decoration: none; }
		
		.forum #content #category li h2, .forum #content #category p,
		#content.forum #category li h2, #content.forum #category p {
			float: none;
			margin: 0 0 5px;
		}
		
		.forum #content #comments li .date, #comments .date { float: none; }
		
		.forum #content .date a:hover, .forum #comments a, #comments a { text-decoration: underline; }
		
		.forum .new {
			font: bold 10px/18px arial, sans-serif;
			color: #e11e32;
		}
		
		.forum #content .date, #comments .date {
			font: normal 11px/18px arial, sans-serif;
			color: #969595;
		}
		
		.forum .comments, .forum #comments a:hover, #comments a:hover { text-decoration: none; }
		
		.forum .comments:hover { text-decoration: underline; }
		
	#forumsearch {
		padding: 7px 0 2px;
	}
	
	#forumsearch { margin-left: 20px; }
		
		#forumsearchinput {
			float: left;
			display: block;
			width: 509px;
			height: 23px;
			border: 0;
			margin: 0;
			padding: 5px 10px 0;
			background: url('../images/design/forum-input.gif') no-repeat 0 0;
			font: normal 12px tahoma, sans-serif;
			color: #000;		
		}
		
		#forumsearchsubmit {
			float: left;
			display: block;
			margin: 0 0 0 10px;
			background: url('../images/design/forum-search.gif') no-repeat 0 0;
			width: 98px;
			height: 28px;
			border: 0;
			padding: 0 0 5px;
			font: bold 12px tahoma, sans-serif;
			color: #fff;
		}
		
		#forumsearchsubmit:hover {
			cursor: hand;
			text-decoration: underline;
		}
		
	.forum #back {
		position: static;
		margin: 0 0 0 15px;
	}
	
	.forum #addq {
		display: block;
		width: 171px;
		height: 28px;
		margin: 15px 0 5px 20px;
		background: #c03 url('../images/design/forumadd.jpg') no-repeat 0 0;
		text-align: center;
		color: #fff;
		text-decoration: none;
		font: bold 12px/25px tahoma, sans-serif;
	}
	
	.forum ul#category, .forum ul#comments, .forum ul { margin-left: 13px !important; }
	.forum p  { margin: 0 0 0 20px; }
	.forum #comments p { margin-left: 0; }
	
	/*#comments-form { margin: 20px 0 0 -26px !important; }*/
	#comments-form { margin: 20px 0 0 0px !important; }
	.forum #forum-comments { margin: 20px 0 0 !important; }	
	
		.forum #forum-comments li {
			border: 0;
			height: 23px;
			padding: 0;
			margin: 0 0 13px;
			position: relative;
		}
		
		.forum #forum-comments h3, #comments-form h3 {
			font: normal 18px/24px arial, sans-serif;
			margin: 0 0 10px;
		}
		
	#upload-file {
		float: left;
		display: block;
		padding: 4px 28px 0 9px;
		background: url('../images/design/browse.gif') no-repeat 100% 50%;
		text-decoration: underline;
	}
	
	#upload-file:hover { text-decoration: none; }
		
	.forum #forum-comments li#komentars, #comments-form li#komentars, #komentars {
		height: 85px;
		position: relative;
	}
		
	.forum #forum-comments div#textareawrapper, #comments-form div#textareawrapper, #textareawrapper {
		width: 258px;
		height: 83px;
		padding: 5px;
		background: url('../images/design/forum-textarea.gif') no-repeat 0 0;
		overflow: hidden;		
	}
	
	.forum #forum-comments textarea, #comments-form textarea, #textareawrapper textarea {
		width: 248px;
		height: 73px;
		background: #fff;
		border: 0;
		font: normal 12px arial, sans-serif;	
		overflow: auto;			
	}
	
	#notice input {
		margin: 4px 5px 0 140px;
	}
	
/* Sākumlapa */

#mainmenu li#heart a {
	padding: 4px 12px 0;
}

#introright {
	float: right;
	width: 261px;
	/*height: 235px;*/
	overflow: hidden;
	padding: 0 0 20px;
	background: url('../images/design/introrightbg.gif') repeat-x 0 100%;
}

	#introright h2, #introleft h3, #misc h3 {
		font: normal 18px/26px arial, sans-serif;
		color: #1f65a7;
		margin: 0 0 5px;
	}
	
	#introleft h3 {
		margin: 0 18px 8px;
	}
	
	#plans h2 { margin: 0; line-height: 23px; }
	
	#uzruna, #plans {
		
		padding: 0 9px 9px;
		border-bottom: 1px solid #ddd;
	}
	
	#plans {
		border: 0;
		padding: 5px 9px 9px;		
	}
	
	#uzruna a, #plans a {
		font: normal 11px/20px tahoma, sans-serif;
		color: #3b1740;
		background: url('../images/design/speech-video.gif') no-repeat 100% 50%;
		padding: 0 25px 3px 0;
		text-decoration: underline;
	}
	
	#plans a {
		padding: 0 15px 0 0;
		background: url('../images/design/read.gif') no-repeat 100% 50%;
	}
	
	#introright a:hover { text-decoration: none; }
	
#intro {
	clear: both;
	margin: 18px 0 0;
}

#introleft {
	float: left;
	width: 664px;
	position: relative;
}
/*
	#introscrollerwrap {
		position: relative;
		padding: 20px 16px 20px 20px;
		background: #f5f5f5;
		width: 628px;
		height: 149px;
		overflow: hidden;	
	}
*/
#introscrollerwrap {
    background:#F5F5F5 none repeat scroll 0 0;
    height:149px;
    overflow:hidden;
    padding:0;
    position:relative;
    width:670px;
}

		#introscroll {	
			width: 627px;
			height: 149px;
			overflow: hidden;
			position: relative;	
		}
		
		#introscroll ul { width: 10000px; }
					
		#introscroll li {
			float: left;
		}
		
			#introscroll img {
				border: 1px solid #cbcbcb;
				margin: 0 5px 0 0;
			}
		
		#scrollnavleft, #scrollnavright {
			position: absolute;
			top: 49px;
		}
		
		#scrollnavleft { left: 4px; }		
		#scrollnavright { right: 4px; }
		
	#introleft form {
		position: absolute;
		top: 3px;
		right: 0;
		width: 440px;
	}
	
		#introleft form li {
			float: left; 
		}
		
		#introleft label {
			float: left;
			display: block;
			line-height: 23px;
			width:120px;
			text-align:right
		}
	
		#introleft #epasts {
			float: left;
			width: 183px;
			height: 23px;
			border: 0;
			padding: 4px 10px 0;
			margin: 0 8px 0 10px;
			font: normal 12px arial, sans-serif;
			color: #a1a1a1;
			background: url('../images/design/enews.gif') no-repeat 0 0;
		}
		
		#enews-submit {
			background: url('../images/design/enews-submit.gif') no-repeat 0 0;
			width: 98px;
			height: 28px;
			font: normal 12px tahoma, sans-serif;
			color: #3b1740;
			border: 0;
			padding: 4px 0 8px;
			margin: -1px 0 0;
		}
		
		#enews-submit:hover {
			background-position: 0 -28px;
		}

#startcontent {
	width: 933px;
	border: 1px solid #c9c9c9;	
	border-top: 2px solid #2E6AA9;
	border-bottom: 0;
	background: url('../images/design/startcontent.gif') repeat-x 0 100%;
}

	#pagecontent {
		position: relative;
		float: left;
		width: 665px;
		padding: 0 0 60px;
		background: url(../images/design/contentbottom.jpg) no-repeat -268px 100%;
		border-right: 1px solid #c9c9c9;
	}
    #IE_is_a_LOL{
        overflow:hidden;
        zoom:1;
        }
	#bgfix, #bgfixtop {
		position: absolute;
		bottom: 77px;
		left: 0;
		width: 665px;
		height: 1px;
		font-size: 1px;
		background: #fff;
	}
	
	#startcontent #bgfix { display: none; }
	
	#bgfixtop {
		top: 0;
		left: 665px;
		width: 1px;
		height: 6px;
		background: url('../images/design/mainmenu.gif');
	}
	
	#newsmenu {
		border: 0;
	}
	
	#pagecontent #doclist li, #pagecontent .doclist li {
		clear: none;
		float: left;
		display: inline;
		width: 300px;
		margin: 0 11px;
		padding: 7px 4px;
		color: #000;
		line-height: 20px;
		border: 0;
		border-bottom: 1px solid #ddd;
		background:none
	}
		#pagecontent h2 a {
			font: bold 16px/26px arial, sans-serif;
			text-decoration: underline;
		}
		
		#pagecontent .more, #pagecontent .viewall {
			color: #3b1740;
			font: normal 11px/16px tahoma, sans-serif;
			padding: 0 20px 0 0;
			background: url('../images/design/readmore.gif') no-repeat 100% 50%;
			text-decoration: underline;
		}
		
		#pagecontent .viewall {
			position: absolute;			
			left: 15px;
			bottom: 40px;
		}
		
		#pagecontent a:hover, #pagecontent h2 a:hover { text-decoration: none; }
		
		#content #doclist .more img {
			 /*visibility: hidden;	*/
		} 
		
		#content #doclist .more {
			position: relative;
			top:4px;
			/*background: url('../images/design/more.gif') no-repeat 0 0;*/
		}
		
	#pagecontent #doclist, #misc ul { overflow: hidden; }
	
	#pagecontent #doclist li {
		width: 629px;
		padding-top: 20px;
	}	
	#pagecontent #doclist li.last { border-bottom:1px solid #FFF; }
	
	#pagecontent .pic { border-left-color: #fff; }

#startsidebar {
	float: left;
	width: 267px;
	background: url('../images/design/mainmenu.gif') repeat-x 0 0;
	padding: 6px 0 0;
}

	#sidebarmenu {
		border-top: 2px solid #c9c9c9;
		padding: 11px 0;
		text-align: center;
		background: #fff url('../images/design/sidebarbottom.gif') repeat-x 0 100%;
		border-bottom: 1px solid #c9c9c9;
	}
	
		#sidebarmenupics {
			width: 245px;
			height: 93px;
			padding: 0 0 3px;
			margin: 0 auto 5px;
			border-bottom: 3px solid #e11e32;
			overflow: hidden;
		}
	
		#sidebarmenu img {
			border: 1px solid #ddd;
			padding: 2px;			
		}
		
		#sidebarmenu ul { overflow: hidden; }
		
		#sidebarmenu li {
			float: left;
			display: inline;
			width: 111px;
			margin: 0 11px;			
			border-top: 1px solid #e6e6e6;
		}
		
		#sidebarmenu li.first { border: 0; }
		
		#sidebarmenu li:hover, #sidebarmenu li.hover {
			background: #3e1b43 url('../images/design/sidebarmenubg.gif') repeat-x 0 0;
			margin: 0 11px;
		}
		
			#sidebarmenu li a {
				display: block;
				width: 91px;
				text-align: left;
				color: #3b1740;
				font: normal 11px/20px tahoma, sans-serif;				
				padding: 2px 2px 2px 18px;
				background: url('../images/design/sidebarmenubullet.gif') no-repeat 6px 50%;
				text-decoration: underline;
			}
			
			#sidebarmenu li a:hover, #sidebarmenu li:hover a, #sidebarmenu li.hover a {
				background: url('../images/design/sidebarmenubulletsel.gif') no-repeat 6px 50%;
				color: #fff;
			}
			
	#picture {
		clear: both;
		padding: 15px 12px;
		border-bottom: 1px solid #c9c9c9;
	}
	
		#picture li {
			float: left;
		}
		
		#picture li a {
			display: block;
			background: url('../images/design/pager.gif') repeat-x 0 0;
			color: #fff;
			font: normal 11px/16px tahoma, sans-serif;
			padding: 0 4px;
			margin: 0 1px 0 0;
		}
		
		#picture li.active a { font-weight: bold; }
		
		#picture li a:hover { text-decoration: underline; }
		
		#picture img {
			clear: left;
			display: block;
		}
		
		#pictures {
			clear: both;
			height: 228px;
			overflow: hidden;
		}
		
	#misc {
		padding: 7px 14px 4px 11px;
	}
	
	#misc h3 {
		padding: 0 0 0 12px;
		margin: 0 0 7px;
		border-bottom: 1px solid #e6e6e6;
	}
	
		#misc li {
			float: left;
			display: inline;
			margin: 0 2px;
		}
		
		#misc li#switch {
			width: 26px;
			height: 28px;
			background: url('../images/design/switch.gif') no-repeat 0 8px;
			font: normal 14px/24px tahoma, sans-serif;
			color: #000;
			text-align: center;
			text-indent: -9999px;
		}
		
		#textversion #misc li#switch { text-indent: 0; }
	
		#misc a {
			display: block;
			width: 94px;
			height: 24px;
			padding: 0 3px 4px 1px;
			margin: 0 2px;
			text-align: center;
			font: bold 12px/24px tahoma, sans-serif;
			color: #fff;
			background: #c03 url('../images/design/redbutton.gif') no-repeat 0 0;
		}
		
		#misc a:hover { background-position: 0 -28px; }
		
#start #footer a {
	color: #3b1740;
}

#start #footer p a { font-weight: bold; }

	#popup {
		position: absolute; /* Changed from 'fixed' */
		z-index: 2; /* Added */
		display: none;
		top: 50%;
		left: 50%;
		width: 646px;
		height: 236px;
		margin: -118px 0 0 -323px;
	}
	
	/* Added */
	#popup #close {
		position: absolute;
		width: 12px;
		height: 12px;
		top: 5px;
		right: 100px;
		z-index: 3;
		cursor: pointer;
		text-indent: -9999px;
		background: url('../images/design/close.gif') no-repeat 0 0;
		color: #f00;
	}
	
	#textversion #popup #close {
		text-indent: 0;
		right: 105px;
	}	
	
	#send-friend {
		background: #f8f8f8 url('../images/design/regformbg.gif') repeat-x 0 100%;
		border-left: 3px solid #e11e32;
		padding: 20px 0 13px 27px;
		margin: 0;
		width: 512px;
		height: 228px;
		overflow: visible;
	}
	
		#send2friend-update { margin: 0 0 7px; }
	
		#send-friend form {
			padding: 0;
			border: 0;
			background: none;
			width: auto;
			border: 0;
		}
		
		#send-friend h2 {
			color: #3b1740;
			font: bold 18px/18px arial, sans-serif;
			margin: 0 0 15px;
			padding: 0;
		}
		
		#popup .form-submit{
			background: url('../images/design/inputsubmit.png') no-repeat 0 100%;
			margin: 0 0 15px;
			padding: 0;
			height: 63px;
			right: -104px;
			cursor: pointer; /*Added*/
		}
		
		#popup #corner {
			position: absolute;
			top: 0;
			right: 95px;
			width: 9px;
			height: 261px;
			background: url('../images/design/sendfriend-corner.png') no-repeat 0 0;
		}
		
#subscribe li#themes, #register li#themes {
	height: auto;
}

#themes ul {
	float: left;
	width: 248px;
	padding: 5px 0 0;
}

	#themes ul li {
		height: auto;
		margin: 0 0 10px 2px;
	}

	#themes ul li input {
		width: auto !important;
		padding: 0;
		margin: 0;
		background: transparent;
		vertical-align: bottom;
	}
	
	#themes ul li label {
		line-height: 14px;
		float: none;
		width: auto;
	}
	
/***Added ***/
div#overlay {
	background-color: #000; 
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: none;
}

.forum .date span {
	color: #C70000;
}

.admin {
	color: #C70000;
	font-weight: bold;
	text-decoration: underline;
}
.clearform {
	background: #FFF !important;
	background-image: none !important;
	border: 0 !important;
}
.ajax-loading {
	background-color: red !important;
}

#progress {
	margin: 10px auto;
	width: 200px;
	height: 15px;
	padding: 2px;
	border: 2px solid #dfdfdf;
}
 
#progress .bar {
	width: 0px;
	text-align: center;
	font-size: 10px;
	height: 15px;
	background: #2a2a2f;
	color: #fff;
	font-weight: bold;
}
#loading-notice {
	margin: 10px auto; 
	background: rgb(42, 42, 47) none repeat scroll 0pt 0pt; 
	width: 120px; 
	font-size: 10px; 
	color: #FFFFFF; 
	text-align: center;
}
/***End of Added ***/

#comments { clear: both; }

#logged-in {
	margin: 13px 0 0 20px;
	padding: 0 0 160px;
}

	#logged-in p {
		margin: 0 0 20px;
	}
	
	#logged-in a:hover { text-decoration: underline; }
	
#textversion * {
	background-image: none !important;
}

#textversion .pic { display: none !important; }

#textversion #misc {
	border-bottom: 1px solid #cbcbcb;
}

#textversion #misc a { padding-bottom: 0; }

#textversion .forum #addq { height: auto; }

#textversion .expanded #registration-fw {
	width:323px;
}

#textversion #introleft #epasts, #textversion #forumsearchinput {
	border: 1px solid #a5acb2;
	padding: 2px 0 0;
	height: 18px;
	background: #fff;
}

#textversion #introleft #enews-submit {
	background: auto;
	border: auto;
	padding: 0;
	width: auto;
}

#textversion #header { background: #3b1740; }

#textversion #header #logo {
	position: relative;
	border-top: 1px solid #761d82;
	background: #f9e7f9;
	height: 179px;
}

	#textversion #header h2 {
		position: absolute;
		right: 5px;
		bottom: 7px;
		color: #b186b1;
		font: normal 60px/72px "Times New Roman", arial, sans-serif;
		letter-spacing: -50%;
	}
	
	#textversion #header h1 {
		position: absolute;
		left: 58px;
		top: 107px;
	}
	
	#textversion #header h1, #textversion #header h1 a {
		color: #000;
		font: normal 32px/36px "Trebuchet MS", serif;
		letter-spacing: -40%;
		border: 0;
		text-decoration: none;
	}
	
	#textversion #header h1 a:hover { text-decoration: underline; }
	
	#textversion #header h1 span{
		color: #f00;
		background: none;
		padding: 0;
	}
	
	#textversion #header p {
		position: absolute;
		left: 60px;
		top: 140px;
		color: #666;
		font: normal 11px/15px arial, sans-serif;
		text-transform: uppercase;
		letter-spacing: 5px;
	}
	
#textversion #mainmenu, #textversion #newsmenu {
	border-bottom: 1px solid #bbb;	
}

#textversion #mainmenu, #textversion #newsmenu, #textversion #mainmenu ul, #textversion #newsmenu ul {	
	overflow: visible;
}
	
#textversion #mainmenu li a, #textversion #newsmenu li a {
	margin: 11px 0 9px;
	padding: 0 14px 0 13px;
	border-left: 1px solid #ccc;
}

#textversion #mainmenu li.first a, #textversion #newsmenu li.first a, #textversion #mainmenu li.next a, #textversion #newsmenu li.next a  { border: 0; }

#textversion #mainmenu li.active a, #textversion #newsmenu li.active a {
	margin: 0;
	padding: 9px 12px 10px;
	border: 2px solid #c8c8c8;
	border-bottom: 0;
}

#textversion #sidebarmenu {
	padding-top: 5px;
}

#textversion #sidebarmenupics {
	height: 0;
	padding: 0;
}

#textversion #sidebarmenu li:hover, #textversion #sidebarmenu li.hover { background: #969; }

#textversion #header li.active a, #textversion #header li:hover a, #textversion #header li.hover a {
	background: #fff;
	padding-bottom: 0;
}

#textversion #back, #textversion #back-cornered, #textversion #back-cornered-right { padding: 0 0 0 5px; }

#textversion #logged-in #back { padding: 0; }

#textversion #komentars {
	height: 96px !important;
}

#textversion #komentars .symb-counter {
	bottom: 0;
}

#textversion #content .opendoc ul, #textversion #doclist ul ul {
	list-style: disc;
	padding: 10px 30px;
}

#textversion #content .opendoc li, #textversion #doclist li li{
	padding: 0;
}

#textversion #sidebar li a { padding: 0 15px 8px; }

#textversion #sitemap li a { padding-top: 8px; padding-bottom: 8px; background-color: #97839A; }

#textversion #sitemap li li a { padding-top: 0; background-color: #fff; }

#textversion #startsidebar { padding-top: 0; }
#textversion #sidebarmenu { border-top: 0; }

#textversion #sidebar .additional-stuff li a { padding: 0; }

#textversion #meta-links a {
	padding: 0;
}

#textversion #startsidebar #picture {
	padding: 0;
	height: 14px;
	font-size: 2px;
	line-height: 2px;
}

#textversion .formwrap li input, #textversion .formwrap #textareawrapper {
	background: #fff;
	border: 1px solid #a5acb2;
	width: 250px;
}

#textversion .formwrap .form-submit {
	height: auto;
	padding: 0;
	right: auto;
	left: 303px;
	width: 120px;
}

#textversion #send2friend .form-submit {
	position: absolute;
	right: 20px;
	left: auto;
}

#textversion .formwrap .form-submit input { float: right; }

#textversion #registation .formwrap .form-submit input { float: right; }

#textversion #registration-fw {
	width: 318px;
}

#textversion #registration-fw .form-submit {
	left: 297px;
	top: 25px;
	text-align: right;	
}

#textversion .form-submit a {
	display: inline;	
	color: #C70000;
	font: normal 12px/18px arial, sans-serif;
}

#textversion #introscroll li {
	width: 175px;
	height: 123px;
	border: 1px solid #cbcbcb;
	padding: 12px 13px;
	margin: 0 8px 0 0;
}

	#textversion #introscroll li a {
		color: #3b1740;
		font: normal 11px/11px tahoma, sans-serif;
		text-decoration: underline;
	}
	
#textversion #notice input, #textversion #themes input {
	width: auto !important;
	border: 0 !important;
	background: transparent !important;
}

#textversion #notice { height: 36px; }

#textversion #textareawrapper {
	width: 260px !important;
	padding: 0 !important;
}

#textversion #textareawrapper textarea{
	padding: 5px !important;
	width: 252px !important;
}

.forum #content {
	padding-bottom: 100px;	
}

.forum #pager { left: 35px; }
