a {
	color: #387cd7;
}

#content #doclist .more {
			background: url('../images/design_berni/more.gif') no-repeat 0 0;
		}
		
#doclist p.date {
	color: #4cbe00;
	font: 14px "Garamond", georgia, serif;
}
		
#logo { border: 0; }

.insTable tr.insFirstRow td {
	background: #fff;
	color: #387cd7;
	border: 1px solid #387cd7;
}

	#wrapper {
		background: url('../images/design_berni/wrapper.gif') repeat-x 0 0;
	}
		#header {
			border-bottom: 2px solid #387cd7;
		}
				#header li {
					border-left: 1px solid #86b1e8;
				}
				
				#header li.active, #header li:hover, #header li.hover {
					background: url('../images/design/topmenuright.gif') no-repeat 100% 0;
				}
				
					#header li.active a, #header li:hover a, #header li.hover a {						
						background: url('../images/design/topmenuleft.gif') no-repeat 0 0;
					}
					
					#header li.active a, #header li.hover a, #header li:hover a {
						color: #387cd7;
					}
			
				#mainmenu li.active a, #newsmenu li.active a {
					color: #387cd7;
				}
				
		#contentwrap {
			background: url('../images/design_berni/contentwrap.jpg') repeat-x 0 0;		
		}
		
			#contentwrapbg {				
				background: transparent url('../images/design_berni/contentbottom.jpg') no-repeat 0 100%;
			}
			
			#contenttop {
				background: url('../images/design_berni/contentbg.png') repeat-x 0 0;
				padding-top: 12px;
			}
			*html #contenttop{
                background: url('../images/design_berni/contentbg.jpg') repeat-x 0 0;}
                    
			#sitepath { margin: 0; color: #9c506a}
			
				h1 {
					border-bottom: 1px solid #ffbfd5;
				}
				
					h1 span {
						color: #ba004f;
						font: 30px "Garamond", georgia, serif;
						background: transparent;
						padding: 0;
					}
					
				h2, h3 {
					color: #ba004f;
					font: 20px "Garamond", georgia, serif;
				}
				
				h3 { font-size: 16px; }
				
				#meta-links {
					border: 0;
				}
				
					#meta-links a {
						color: #9c506a;
					}
				
					#meta-links #print a {
						background: url('../images/design_berni/print.gif') no-repeat 0 50%;
					}
					
					#meta-links #comments a {
						background: url('../images/design_berni/comments.gif') no-repeat 0 50%;
					}
					
					#meta-links #send_friend a {
						background: url('../images/design_berni/sendfriend.gif') no-repeat 0 50%;
					}
					
				.pic {
					border-right: 2px solid #4cbe00;
				}
					
				#back, #back-cornered, #back-cornered-right {
					background: url('../images/design_berni/back.gif') no-repeat 0 2px;
				}
				
				#sidebar {
					padding-top: 0;
					margin-top: 20px;
					background: url('../images/design_berni/sidebar.png') 0 0 no-repeat;					
				}
				*html #sidebar{
                    background: url(../images/design_berni/sidebar.jpg) 0 0 no-repeat}
				#sidebar ul {
					background: url('../images/design_berni/leftul.gif') repeat-x 0 0;
				}
				
				#sidebar ul li.active, #sitemap li {
					background:transparent url('../images/design_berni/lefta.jpg') no-repeat 32px 0;
					padding: 18px 0 0;
				}
				#sidebar li.active li.active {
					padding: 9px 0 0;
				}			
				
					#sidebar li a, #sitemap li a {
						background: url('../images/design_berni/left.gif') no-repeat 13px 5px;
						color: #676767;
						text-decoration: none;
						border: 0 !important;
					}
					
					#sidebar li.active a, #sitemap li a {
						background: transparent no-repeat 13px 5px;
						color: #ba004f;	
						padding-bottom: 19px;
					}
					
						#sidebar li.active li a, #sitemap li li a {
							background: url('../images/design_berni/left.gif') no-repeat 30px 5px;
							color: #676767;
						}
						
						#sitemap li li a {
							background: url('../images/design_berni/left.gif') no-repeat 30px 5px;
						}
						
						#sitemap li li li a {
							background: url('../images/design_berni/left.gif') no-repeat 45px 5px;
						}
						
						#sidebar li.active li.active a {
							background: url('../images/design_berni/left.gif') no-repeat 30px 5px;
							color: #676767;
						}
						
							#sidebar li.active li.active li a {
								background: url('../images/design_berni/left.gif') no-repeat 46px 5px;
								color: #676767;
							}
					#sidebar li a:hover, #sidebar li.active li a:hover, #sidebar li.active li.active li a:hover { 
						color:#ba004f;
						background-image: url('../images/design_berni/lefth.gif');
					}
					
					#sidebar li.active a:hover { background-image: none; }
					
			#sidebar .additional-stuff {
				background: url('../images/design_berni/additional.jpg') no-repeat 0 0;
			}
			
			#sidebar .additional-stuff ul { background: #fff; }
			
			#sidebar h4 {
				color: #000;
				font: italic 24px/24px "Garamond", georgia, serif;
				padding: 11px 5px 25px;
			}
					
				#sidebar .additional-stuff li {
					color: #a7a7a7;
					border: 0;
				}
				
				#sidebar .additional-stuff li a { background: none; }
				
				#sidebar #files li a {
					background: url('../images/design_berni/files.gif') no-repeat 0 6px;
				}
				
			#footer li a, #footer p a {
				color: #575757;
			}
		
#sitepath a {
	color: #9c506a;
	font-style: italic;
}

/* Dokumentu saraksts */

	#doclist h2, #doclist h2 a {
		color: #ce0058;
	}
#pager {
	background: transparent;
}

	#pager a {
		background: transparent;
		color: #575757;
		font: normal 14px arial, sans-serif;
	}
	
	#pager a:hover {
		color: #d5226e;		
	}
	
	#pager a.pcurrent {
		background: url('../images/design_berni/pager.gif') repeat-x 0 0;
		color: #fff;
		font-weight: normal;
	}
	
/* Galerijas */
#contentwrapbg.forum {
	background: url('../images/design_berni/contentbottompart.jpg') no-repeat 0 100%;
}

	.galleries h2, .galleries h2 a {
		color: #3b1740;
		background: url('../images/design_berni/gallery-newest-heading.gif') repeat-x 0 0;
	}
	
		#newest li, #categories li {
			background: url('../images/design_berni/gallery-newest.jpg') repeat-x 0 0;
		}
		
		#gallery #newest li { background: url('../images/design_berni/gallery-thumb.jpg') repeat-x 0 0; }
		
			#photocount, #comment-count {
				color: #838383;
			}			
	
		#categories li {
			background: url('../images/design_berni/gallery-category.gif') no-repeat 50% 0;
		}		
			#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 {
				border: 1px solid #bcbcbc;
				background: #fff;
			}
		
			#categories h2, #categories h2 a {				
				color: #3b1740;
			}
			
			.expanded h2 a:hover, #categories li:hover h2, #categories li:hover h2 a, #categories li h2 a:hover,
			#categories li.hover h2, #categories li.hover h2 a {
				color: #e11e32;
			}

			#image-back, #image-fw {
				background: url('../images/design_berni/galnavback.gif') no-repeat 0 0;
			}
			
			#image-fw {
				background: url('../images/design_berni/galnavfw.gif') no-repeat 0 0;
			}
			
			#gallery .comments, #video .comments {
				background: url('../images/design_berni/comment-count.gif') no-repeat 0 0;
			}
			
			#gallery .pictures {
				background: #e11e32 url('../images/design_berni/picture-count.gif') repeat-y 0 0;
			}
			
		#video-size, #video ul#video-size-change a, #comment-sort p, #comment-sort a {
			color: #838383;
		}
		
			#video ul#video-size-change a {
				background: url('../images/design_berni/video-size-large.gif') no-repeat 0 4px;
				color: #d16c00;
			}				
			
			#video ul#video-size-change li.active a, #comment-sort li.active a {
				color: #ba004f;
			}
						
			#video li#medium a { background-image: url('../images/design_berni/video-size-medium.gif'); }
			#video li#small a { background-image: url('../images/design_berni/video-size-small.gif'); }
			
		#video-wrap {
			border-left: 3px solid #e11e32;
		}
			
		.error {
			color: #c70000;
		}		
		
		.formwrap form {						
			border: 0;
			background: url('../images/design_berni/form.png') no-repeat 0 0;
			width: 570px;
		}
				.formwrap input {				
					background: url('../images/design_berni/inputbg.gif') repeat 0 100%;
				}
				
				#tip span, #symb-counter {
					color: #9c959d;
				}
				
				#tip span.mandatory {
					color: #ffa800;
				}
			
			#corner {
				background: url('../images/design_berni/regformcorner.gif');
			}
			
			.formwrap .form-submit {
				position: absolute;
				bottom: 4px;
				right: auto;
				left: 50%;
				margin: 0;
				margin-left: -65px;
				width: 131px;
				height: 23px;
				padding: 15px 0 0;				
				color: #fff;
				font: normal 20px "Garamond", georgia, serif;
				background: url('../images/design_berni/form-submit.png');
			}		

			.formwrap .form-submit input#submitform {			
				padding: 0;
				margin: 0;
				color: #fff;
				font: italic normal 20px "Garamond", georgia, serif;
				text-align: center;
				width: 120px;
			}
			
	/* Notikumi */
	
	#events h2 {
		color: #e11e32;		
	}
		
		#events h2 a {
			color: #3b1740;
		}

			#search a {
				color: #3b1740;
			}			
			
		#search.formwrap input#submitform {
			background: url('../images/design_berni/searchformsubmit.jpg') no-repeat 0 100%;
		}
		

			#search-results h2 a {
				color: #3b1740;
			}
			
				#search-results h2 a strong {
					background: #e11e32;
				}				
			
			#search-results .date, #filter {
				color: #969595;
			}
			
		#filter-by li.active a {
			color: #3b1740;
		}
		
	#content.forum, .forum #content {
		background: #fff url('../images/design_berni/forumcontentbg.jpg') repeat-x 0 0;
	}
	
	.forum #content li, #content.forum li, #comments li {	
		border-top: 1px solid #cacaca;
	}
		.forum .new {
			color: #e11e32;
		}
		
		.forum #content .date, #comments .date {
			color: #969595;
		}

	
		#forumsearchinput {
			background: url('../images/design_berni/forum-input.gif') no-repeat 0 0;
			font: normal 12px tahoma, sans-serif;
			color: #000;		
		}
		
		#forumsearchsubmit {
			background: url('../images/design_berni/forum-search.gif') no-repeat 0 0;
		}		
		
	.forum #addq {
		background: url('../images/design_berni/forumadd.jpg') no-repeat 0 0;
	}
	
	
/* Sākumlapa */

#introright {
	background: url('../images/design_berni/introrightbg.gif') repeat-x 0 100%;
}

	#introright h2, #introleft h3, #misc h3 {
		color: #1f65a7;
	}

	#uzruna a, #plans a {
		color: #3b1740;
		background: url('../images/design_berni/speech-video.gif') no-repeat 100% 50%;
	}
	
	#plans a {
		background: url('../images/design_berni/read.gif') no-repeat 100% 50%;
	}

		#introleft #epasts {
			color: #a1a1a1;
			background: url('../images/design_berni/enews.gif') no-repeat 0 0;
		}
		
		#enews-submit {
			background: url('../images/design_berni/enews-submit.gif') no-repeat 0 0;
		}
		
#startcontent {
	border: 1px solid #c9c9c9;	
	border-top: 2px solid #2E6AA9;
	background: url('../images/design_berni/startcontent.gif') repeat-x 0 100%;
}

	#pagecontent {
		background: url(../images/design_berni/contentbottom.jpg) no-repeat -268px 100%;
		border-right: 1px solid #c9c9c9;
	}
	
	#bgfixtop {
		background: url('../images/design_berni/mainmenu.gif');
	}
	
	#pagecontent #doclist li {
		color: #000;
		border-bottom: 1px solid #ddd;
	}
		
		#pagecontent .more {
			color: #3b1740;
			background: url('../images/design_berni/readmore.gif') no-repeat 100% 50%;
		}		
	
	#pagecontent .pic { border-left-color: #fff; }

#startsidebar {
	background: url('../images/design_berni/mainmenu.gif') repeat-x 0 0;
}

	#sidebarmenu {
		border-top: 2px solid #c9c9c9;		
		background: #fff url('../images/design_berni/sidebarbottom.gif') repeat-x 0 100%;
		border-bottom: 1px solid #c9c9c9;
	}
	
		#sidebarmenupics {
			border-bottom: 3px solid #e11e32;
		}
	
		#sidebarmenu img {
			border: 1px solid #ddd;		
		}
		
		#sidebarmenu li {	
			border-top: 1px solid #e6e6e6;
		}
		
		#sidebarmenu li:hover, #sidebarmenu li.hover {
			background: #3e1b43 url('../images/design_berni/sidebarmenubg.gif') repeat-x 0 0;
		}
		
			#sidebarmenu li a {
				color: #3b1740;
				background: url('../images/design_berni/sidebarmenubullet.gif') no-repeat 6px 50%;
			}
			
			#sidebarmenu li a:hover, #sidebarmenu li:hover a {
				background: url('../images/design_berni/sidebarmenubulletsel.gif') no-repeat 6px 50%;
			}
			
	#picture {
		border-bottom: 1px solid #c9c9c9;
	}
			
		#picture li a {
			background: url('../images/design_berni/pager.gif') repeat-x 0 0;
		}
		
		#misc li#switch {
			background: url('../images/design_berni/switch.gif') no-repeat 0 8px;
		}
	
		#misc a {
			background: url('../images/design_berni/redbutton.gif') no-repeat 0 0;
		}		
		

	#send-friend {
		/*background: #f8f8f8 url('../images/design_berni/regformbg.gif') repeat-x 0 100%;*/
		border-left: 3px solid #d16c00;
	}
	
		#send-friend h2 {
			color: #d16c00;
		}
		
			#popup .formwrap .form-submit {
				position: absolute;
				bottom: 4px;
				right: auto;
				left: 40%;
				margin: 0;
				margin-left: 0px;
				width: 131px;
				height: 23px;
				padding: 15px 0 0;				
				color: #fff;
				font: normal 20px "Garamond", georgia, serif;
				background: url('../images/design_berni/form-submit.jpg') 0 0 no-repeat;
			}
			*html #popup .formwrap .form-submit {
			     bottom: -2px;}

			#popup .formwrap .form-submit input#submitform {			
				padding: 0;
				margin: 0;
				color: #fff;
				font: italic normal 20px "Garamond", georgia, serif;
				text-align: center;
				width: 120px;
			}
			
			#popup #corner { display: none; }
		
#back {
	/*bottom: 118px;*/
	bottom: -110px;
	width: 59px;
	height: 57px;
	background: url('../images/design_berni/back.png') no-repeat 0 100%;
	text-indent: -9999px;
}
*html #back{
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/design_berni/back.png',sizingMethod='crop');
    background:none}
    
#commentform {
	padding-bottom: 50px;
}

#comments-form {
	padding-bottom: 10px;
	background: url('../images/design_berni/form.png') no-repeat 0 100%;
}

#comments-form h3, #send-friend  h2 {
	font: italic 24px/24px "Garamond", georgia, serif;
	color: #000;
}

#comments li b, #comments li .date, #comment-sort p, #comment-sort a {
	font: bold 14px "Garamond", georgia, serif !important;
	color: #d5226e;
}

#comment-sort a { color: #4cbe00; text-decoration: none; }

#comment-sort p { color: #000; }

#comments li .date { color: #4cbe00; }

.symb-counter {
	right: 163px;
}

#send-friend {
	background: url('../images/design_berni/form.jpg') no-repeat 0 100%;
	border: 0;
	width: 590px;
	height: 316px;
}

