body {
	margin:0;
	padding:0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:12px;
	background:#e7e7e7; 
	color:#787878;
}

#page {
	width:915px;
	padding:0;
	margin:auto;
	display:block;
	border-top:#000000 4px solid;
	overflow:hidden;
}

#content {
	padding:0;
	margin:0;
	float:left;
	display:inline;
	position:relative;
	width:915px;
}

#content_inner {
	display:block;
	height:610px;
}

#content-index {
	padding:0;
	margin:0;
	float:left;
	display:inline;
	position:relative;
	width:915px;
	height:800px;
}

#header {
	width:915px;
	height:150px;
	display: block;
	background:url(img/edijs-majors.gif) no-repeat left center;
}

#header a {
	display:block;
	width:150px;
	height:150px;
}

#menu {
	display:block;
	float:left;
	clear:left;
	width:93px;
	border-top:#000000 4px solid;
	position: absolute;
	top:0;
	left:0;

}

#menu .pages {
	display:block;
	float:left;
	width:93px;
	padding:0;
	margin:0;
}

#menu .pages li {
	display:block;
	padding:0;
	margin:0;
	width:93px;
	height:50px;
	float:left;
	border-bottom:#a7a7a7 1px dotted;
}

#menu .pages li a {
	display:block;
	float:left;
	width:93px;
	height:50px;
}

#menu .pages .par-blogu {
	background: url(img/par-blogu.gif) no-repeat left center;
}

#menu .pages .rss-icon {
	background:url(img/rss-feed.gif) no-repeat left center;
}

#menu #nav {
	display:block;
	float:left;
	width:93px;
	padding:0;
	margin:55px 0 0 0;
}

#menu #nav .back {
		display:block;
		float:left;
	}
	
		#menu #nav .back a {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/oldposts-a.gif) no-repeat left center;
			border-bottom:#ababab 1px dotted;
		}
		
		#menu #nav .back a:hover {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/oldposts-a-hover.gif) no-repeat left center;
		}
	
	#menu #nav .next {
		display:block;
		float:left;
	}
	
		#menu #nav .next a {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/newposts-a.gif) no-repeat left center;
			border-bottom:#ababab 1px dotted;
		}
		
		#menu #nav .next a:hover {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/newposts-a-hover.gif) no-repeat left center;
		}






#post-nav {
  display:block;
  float:left;
  width:93px;
  padding:0;
  margin:55px 0 0 0;
  border-top:#c2c2c2 1px solid;
}
	
	#post-nav .back {
		display:block;
		float:left;
		width:93px;
		height:50px;
		background:url(img/button/oldpost.gif) no-repeat left center;
		border-bottom:#ababab 1px dotted;
	}
	
		#post-nav .back a {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/oldpost-li.gif) no-repeat 75px 0;
		}
		
		#post-nav .back a:hover {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/oldpost-li.gif) no-repeat 73px 0;
		}
	
	#post-nav .next {
		display:block;
		float:left;
		width:93px;
		height:50px;
		background:url(img/button/nextpost.gif) no-repeat left center;
		border-bottom:#ababab 1px dotted;
	}
	
		#post-nav .next a {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/nextpost-li.gif) no-repeat 75px 0;
		}
		
		#post-nav .next a:hover {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/nextpost-li.gif) no-repeat 73px 0;
		}

/* */

#nav {
		border-top:#c2c2c2 1px solid;
	}
	
	#nav img {
		border:none;
	}
	
		#nav .nextpostslink {
			display:block;
			float:left;
			width:93px;
			height:49px;
			border-bottom:#ababab 1px dotted;
			background:url(img/button/oldpost-li.gif) no-repeat 75px 0;
		}
		
		#nav .nextpostslink:hover {
			display:block;
			float:left;
			width:93px;
			height:49px;
			border-bottom:#ababab 1px dotted;
			background:url(img/button/oldpost-li.gif) no-repeat 73px 0;
		}

	
		#nav .previouspostslink {
			display:block;
			float:left;
			width:93px;
			height:49px;
			background:url(img/button/nextpost-li.gif) no-repeat 75px 0;
			border-bottom:#ababab 1px dotted;
		}
		
		#nav .previouspostslink:hover {
			display:block;
			float:left;
			width:93px;
			height:50px;
			background:url(img/button/nextpost-li.gif) no-repeat 73px 0;
		}


.pagebox {
	width:580px;
	display:block;
	float:right;
	margin:0 0 0 90px;
}

.aboutbox {
	display:block;
	float:left;
	width:245px;
	background:url(img/button/hr.gif) no-repeat left top;
}

.aboutfoto {
	float: right;
	display:block;
	width:245px;
	background:url(img/button/hr.gif) no-repeat left top;
}

.aboutlinks {
	float:left;
	display:block;
	padding:0;
	margin:0;
	width:245px;
	background:url(img/button/hr.gif) no-repeat left top;
}

.aboutlinks ul {
	display:block;
	float:left;
	padding:0;
	margin:0;
	list-style:none;
	font-size:12px;
	color:#676767;
}

.aboutlinks ul li {
	padding:0;
	margin:0;
	font-style:italic;
	line-height:24px;
	font-size:14px;
}

.aboutlinks ul li a {
	color:#676767;
	text-decoration:underline;
	padding:0;
	margin:0;
}

.aboutlinks ul li a:hover {
	color:#000;
}

.aboutbox h2, .aboutfoto h2 {
	font-weight:normal;
	font-size:18px;
	line-height:21px;
	font-style:italic;
	padding:15px 0 15px 0;
	margin:0;
	float:left;
	clear:left;
	width:245px;
}

.aboutlinks h2 {
	font-weight:normal;
	font-size:18px;
	line-height:21px;
	font-style:italic;
	padding:15px 0 11px 0;
	margin:0;
	float:left;
	clear:left;
	width:245px;
}

.aboutbox p {
	font-size:14px;
	line-height:19px;
	padding:0;
	margin:0;
	color:#676767;
	display:block;
	float:left;
}

.pagebox .firstline {
	display:block;
	float:right;
	width:580px;
	padding:0 0 35px 0;
	margin:0;
}

#singlepost-box {
	width:490px;
	display:block;
	float: right;
	margin:0 0 0 90px;
	padding:0 90px 0 0;
	background:url(img/button/hr.gif) no-repeat left top;
}
	
#singlepost-box h2 {
	float:left;
	width:490px;
	font-size:28px;
	line-height:32px;
	font-weight:normal;
	font-style:italic;
	padding:0;
	margin:15px 0 0 0;
}

#singlepost-box .entry {
	float:left;
	width:490px;
	padding:0;
	margin:35px 0 0 0;
}

#singlepost-box .entry p {
	padding:0;
	margin:10px 0 0 0;
	font-size:14px;
	line-height:19px;
	overflow:hidden;
	display:block;
}

#first-line-box {
	display:block;
	float:right;
	width:670px;
	padding:0;
	margin:0;
}
	
	#first-line-box .post {
		display:block;
		float:left;
		width:245px;
		height:264px;
		margin:0 0 0 90px;
		position:relative;
		background:url(img/button/hr.gif) no-repeat left top;
		white-space: normal;
	}
	
	#first-line-box .post .back, #second-line-box .post .back {
		display:none;
		width:245px;
		height:190px;
	}
	
	#first-line-box .post .front, #second-line-box .post .front {
		display: block;
		width:245px;
		height:190px;
	}
	
	#first-line-box .post h2, #second-line-box .post h2 {
		height:85px;
		width:245px;
		display:block;
		padding:15px 0 0 0;
		margin:0;
		float:left;
		overflow:hidden;
	}
	
	#first-line-box .post h2 a, #second-line-box .post h2 a {
		color:#787878;
		font-size:18px;
		line-height:21px;
		font-style:italic;
		font-weight:normal;
		text-decoration:none;
	}
	
	#first-line-box .post h2 a:hover, #second-line-box .post h2 a:hover {
		color:#000;
		text-decoration:underline;
	}
	
	#first-line-box .post .back .entry, #second-line-box .post .back .entry {
		display:block;
		float:left;
		clear:left;
		padding:0;
		margin:0;
		width:245px;
		height:189px;
		overflow:hidden;
		font-size:14px;
		line-height:19px;
		color:#676767;
	}
	
	#first-line-box .post .back .entry p, #second-line-box .post .back .entry p {
		padding:0;
		margin:0;
	}
	

#second-line-box {
	display:block;
	float:right;
	width:1005px;
	height:264px;
	margin:82px 0 0 -90px;
}

	#second-line-box .post {
			display:block;
			float:right;
			width:245px;
			height:264px;
			margin:0 0 0 90px;
			background:url(img/button/hr.gif) no-repeat left top;
			white-space: normal;
	}

#footer {
	display:block;
	float:left;
	width:915px;
	padding:0 0 30px 0;
	margin:80px 0 0 0;
	background:url(img/button/footer-bg.gif) no-repeat left top;
}

#footer p {
	padding:0;
	margin:15px 0 0 0;
	font-style:italic;
}

.more-link {
	display:block;
	float:left;
	margin:10px 0 0 0;
	clear:left;
	width:245px;
	color:#676767;
	font-style:italic;
}

.more-link:hover {
	color:#000;
}

.sekoman {
	display:block;
	float:left;
	width:490px;
	margin:60px 0 0 0;
}

.sekomanpage, .rakstimanpage {
	display:block;
	float:right;
	width:245px;
	padding:0;
	margin:0;
}



.sekoman img, .sekomanpage img {
	border:none;
	padding:0;
	margin:0;
	border-top:#a7a7a7 1px dotted;
	border-bottom:#a7a7a7 1px dotted;
}

.rakstimanpage img  {
	border:none;
	border-bottom:#a7a7a7 1px dotted;
	padding:0;
	margin:0;
}

#respond {
	display:block;
	float:left;
	margin:70px 0 0 0;
	padding:0;
	background:url(img/button/hr.gif) no-repeat left top;
}

	#respond a {
		text-decoration:underline;
		color:#787878;
	}
	
	#respond a:hover {
		text-decoration:none;
	}

#respond h3 {
	font-size:24px;
	font-weight:normal;
	font-style:italic;
	padding:0;
	margin:15px 0 0 0;
	padding:0 0 40px 0;
	float:left;
}

#respond p {
	float:left;
	clear:left;
}



.commentlist {
	display:block;
	float:left;
	clear:left;
	padding:4px 0 0 0;
	margin:0;
	background:url(img/button/hr.gif) no-repeat left top;
}

.commentlist li {
	padding:20px 0 20px 0;
	margin:0;
	width:490px;
	display:block;
	float:left;
	clear:left;
	color:#787878;
	font-size:14px;
	font-style:italic;
	background:url(img/commentbg.gif) no-repeat left bottom;
}

.commentlist li p {
	float:left;
	padding:0;
	margin:0 0 0 10px;
	width:480px;
}

.name {
	float:left;
	display:block;
	padding:0 0 5px 0;
	width:490px;
}

.commentlist li a {
	text-decoration:underline;
	color:#787878;
}

.commentlist li a:hover {
	color:#000;
}

textarea {
	display:block;
	background:#e7e7e7;
	border:1px solid #999;
	padding:5px;
}

form                       { width:380px;padding:0 0 90px 0;margin:auto; }
.slider                    { clear:both;position:relative;margin:0 0 10px; }
label                      { cursor:pointer;display:block;}
label span 				   { color:#b60000;}
input[type="text"]         { width:300px;border:1px solid #999;padding:5px; background:#e7e7e7; }
input[type="text"]:focus   { border-color:#777; }
input[name="zip"]          { width:150px;}

/* submit button */
input[type="submit"]       { cursor:pointer;background:#787878;color:#FFF;border:1px solid #787878;padding:5px; margin:0; display:block; font-size:12px;}
input[type="submit"]:hover,
input[type="submit"]:focus { border-color:#787878;background:#787878; color:#FFF }
input[type="submit"]:active{ margin-top:1px; }

