/*  
Theme Name: Mahavamsa
Theme URI: http://bawantha.com
Description: Mahavamsa WordPress Theme by Bawantha
Version: 1.2
Author: Bawantha
Author URI: http://bawantha.com
*/
* {padding: 0em;margin: 0em;}

body {   background: #000 url(images/bg.jpg) repeat fixed;
         padding: 25px 0px 25px 0px;
	font-size: small;
	font-family:"georgia", "times new roman", serif;
	color: #333333;
	font-size:0.8em;
}
p {line-height: 1.6em;margin: 0 0 0.5em;text-align: justify;}
a {color: #B96D00;text-decoration: none;}
/* border-bottom:#B96D00 1px dashed; */
a:hover {text-decoration: none;border-bottom:#B96D00 1px solid;}
h1,h2 {font-family:Georgia, Verdana, Arial, Serif;}
h3,h4,h5,h6 
{
	font-family:"georgia", "times new roman", serif;
}
h3,h4,h5
{
	display: inline;
	font-weight: bold;
	background-repeat: no-repeat;
	background-position: right;
}
h3
{
	font-size: 1.5em;
	padding-right: 34px;
	background-image: url(images/db1.jpg);
}
h4
{
	font-size: 1.3em;
	padding-right: 28px;
	background-image: url(images/db2.gif);
}
h3 span
{
	font-weight: normal;
	font-size:90%;
	color:#59070b;
}
h5 
{
	font-size:1.1em;
         padding-right: 22px;
	background-image: url(images/db3.jpg);
}
h6 
{
         margin: 1.0em;
         padding: 7px;
         font-size:0.84em;
         font-weight: normal;
         color:#666;
	background:#fdfcf6;
         border: solid 1px #888;
         text-align:justify;
}
h6 span
{
	font-size:1.1em;
	color:#000;
}
.contentarea
{
	padding-top: 1.0em;
}
dl 
{
	margin:1em 0px;
}
dt 
{
	font-weight:bold;
}
dd 
{
	margin:0.5em 1em;
	padding:0;
}
img
{
	border: solid 1px #dcdcdc;
	padding:3px;
}
img.left
{
	position: relative;
	float: left;
	margin: 0em 1.8em 1.4em 0em;
}
img.right
{
	position: relative;
	float: right;
	margin: 0.4em 0em 1.8em 1.8em;
}
img.profile
{
	position: relative;
	float: left;
	margin: 0.5em;
	padding:3px;
}
img.left2
{
	position: relative;
	float: left;
	margin: 0.2em 1em 0.6em 0.2em;
         padding: 3px;
}
ul, ol 
{
	margin:1em;
	padding:0;
}
li 
{
	margin:0 1em;
	padding:0.15em;
}
#contentarea ul li 
{
	list-style-image: url(images/db3.jpg);
}
blockquote 
{
    margin:1em;
    padding:0 0 0 40px;  
    color:#666;
    background:url(images/blockquote.gif) no-repeat left top;
}
.quote 
{
    margin:1em;
    padding:0 0 0 40px;  
    color:#666;
    font-size: 0.9em;
    font-weight:normal;
}
fieldset 
{
	border:none;
}
.divider1
{
	position: relative;
	background: #fff url(images/border2.gif) repeat-x;
	height: 14px;
	margin: 2.0em 0em 1em 0em;
	clear: both;
}
.divider3
{
	position: relative;
	background: #fff;
         	border-bottom: solid 3px #eaeaea;
	margin: 1.4em 0em 1.5em 0em;
	clear: both;
}
.post 
{
	border-bottom: solid 1px #eaeaea;
	margin: 0em 0;	
} 
/* priginal margin value: 2em 0; */
.post h4 a 
{
	text-decoration:none;
	color:#141;	
	border:none;
}

.post .details
{
	position: relative;
	top: -1.5em;
	font-size: 0.84em;
	color: #787878;
	margin:0;
	padding:0;
}
.post .details .user 
{
	background:url(images/user.png) no-repeat left center;
	padding-left:15px;
}
.post .details .date 
{
	background:url(images/date.gif) no-repeat left center;
	padding-left:15px;
	margin:0 0 0 0.6em;
}
#outer .post ul.controls
{
	clear: both;
	margin:0;
	padding:1em 0;
	background:#fcfcfc;
	color: #787878;
}

.post ul.controls li
{
	display: inline;
	font-size: 0.86em;
	margin:0;
	padding: 0em 1.0em 0em 15px;
}
.post ul.controls li.comments
{
	background: url(images/icon-comments.gif) no-repeat left center;
}

.post ul.controls li.more
{
	background: url(images/icon-more.gif) no-repeat left center;
}

.box
{
	background: #FDFCF6 url(images/boxbg.gif) repeat-x;
	padding: 1.5em;
	border-top: solid 1px #E1D2BD;
	border-bottom: solid 1px #E1D2BD;
	margin-bottom: 1.0em;
	text-align:left;
}
.credit
{
    color:#59070b;
    font-size: 1em;
    font-weight:normal;
    text-align:right;
}

ul.linklist
{
	list-style: none;
}

ul.linklist li
{
	line-height: 2.0em;
}

#outer
{
	z-index: 2;
	position: relative;
	/*
		The width value below controls the overall width of the design. By default it's set to 82%
		(so it'll take up 82% of the browser window's width). You can set it to a different percentage
		value (70%, 90%, etc.) or even a pixel value (760px, 800px, etc.) to enforce a fixed width.
	*/
	width: 82%;
	border: solid 7px #bc932c;
	background-color: #fff;
	margin: 0 auto;
}

#header
{
	position: relative;
	width: 100%;
	height: 120px;
	background: #37210f url(images/topbg.gif) repeat-x;
	margin-bottom: 2px;
}

#headercontent
{
	position: absolute;
	bottom: 0em;
	padding: 0em 2.0em 1.3em 2.0em;
}
#adminlinks
{  
         margin-right:20px;
       	 float: right;
}   

#headercontent h1
{
	font-weight: normal;
	font-size: 2.5em;
}
#headercontent h1 a:link, #headercontent h1 a:visited
{
	color:#fff;
	text-decoration:none;
	border:none;
}
#headercontent h1 a:hover, #headercontent h1 a:active
{
	text-decoration:none;
	color:#9F9030;
	border:none;
}
#headercontent h2
{
	font-size: 1.0em;
	font-weight: normal;
	color: #aaa;
}

#search
{
	position: absolute;
	top: 4em;
	right: 2.0em;
	padding-right: 0.0em;
	color:#aaa;
}

#search input.text
{
	margin-right: 0.5em;
	vertical-align: middle;
	border: solid 1px #f0f0f0;
	padding: 0.1em;
	width: 10.0em;
	background:#fff url(images/button_bg.gif) repeat-x top;
}

.paginate
{   
         font-size: 0.85em;
         font-weight: bold;
         padding: 0.6em;
         text-align: center;
         background: #fcfbf4;
}

#search input.submit
{
	background: #8f4008;
	border: solid 1px #9F9030;
	font-weight: bold;
	padding: 0.25em;
	font-size: 0.8em;
	color: #F2F3DE;
	vertical-align: middle;
}

#headerpic
{
	position: relative;
	height: 109px;
	background: #fff url(images/hdrpic2.jpg) no-repeat left;
	margin-bottom: 2px;
}
.imgdesc {font-size:0.84em;line-height: 1.3em;margin: 1.0em;padding: 7px;font-weight: normal;color:#666;background:#fdfcf6;border: solid 1px #888;text-align:justify;}

#menu
{
	position: relative;
	background: #9c7e2c url(images/menubg.gif) repeat-x top left;
	height: 3.5em;
	padding: 0 1.0em;
	margin: 0 0 2px;
}

#menu ul
{
	padding:1em 0 0 0;
	margin:0;
}

#menu ul li
{
	position: relative;
	display: inline;
	padding:0;
	margin:0;
}

#menu ul li a:link, #menu ul li a:visited
{
	color: #fff;
	padding: 0.5em 1.0em 0.9em 1.0em;
	text-decoration: none;	
	border:none;
}

#menu ul li a:hover, #menu ul li a:active, #menu ul li.current_page_item a
{
	background: #917814 url(images/menuactive.gif) repeat-x top left;	
	border:none;
}

#menubottom
{
	background: #fff url(images/border1.gif) repeat-x;
	height: 14px;
	margin-bottom: 0.5em;
}

#content
{
	padding: 0 2.0em;
}

#primarycontainer
{
	float: left;
	margin-right: -20.0em;
         width: 100%;
}

#primarycontent-home
{
	margin: 0.8em 22em 0 0;
         margin-left:270px;
}
#primarycontent
{
	margin: 1.5em 22em 0 0;
         padding-right:4px;
}

#sidebar
{
	margin: 0;
	float: right;
	width: 20.0em;
}
#sidebar ul
{
	list-style:none;
	margin:0.5em 0 0;	
}
#sidebar li 
{
	margin:1em 0;
	padding:0.5em;
}
#sidebar li li 
{
	margin:0;
	padding:0.5em;
	background:none;
}
#sidebar li li li
{
	margin:0;
	padding:0.5em 0 0 1em;
}
#sidebar ul.feeds li 
{
	background:url(images/feed.png) no-repeat left center;
	margin:1em 0;
	padding:0 1.5em;	
}
#footer
{
	position: relative;
	height: 2.2em;
	clear: both;
	padding-top: 5.0em;
	background: #fff url(images/border2.gif) repeat-x 0 2.5em;
	font-size: 0.86em;
}

#footer .left
{
	position: absolute;
	left: 2em;
	bottom: 1.2em;
}

#footer .right
{
	position: absolute;
	right: 2.0em;
	bottom: 1.2em;
}

/*comments and their styles*/
#comments, #respond{
	margin: 2em 0 0 5px;
}
#commentform 
{
	margin:10px;
	padding:10px;
}
#outer .commentlist {
	margin: 0;
	padding: 0;
}
.commentlist li 
{
	list-style:none;
	margin: 2em 0;
	padding: 0.5em;			
	border-bottom:#ddd 1px dashed;
	background:#fcfcfc url(images/border2.gif) repeat-x top;
}
.commentlist li p 
{
    margin:0 1em;
}
.commentlist li .cmtinfo 
{
	font-family:Trebuchet MS,Verdana, Tahoma, Serif;
	font-size:0.9em;		
	padding:5px;
	margin-bottom: 10px;
	position:relative;	
}
.commentlist li .cmtinfo em 
{
	margin:0;
	padding:0 1em;
	text-align:right;
	font-style:normal;			
	color:#999;	
}
.commentlist li cite 
{
	font-style:normal;
	font-weight:bold;
}

.commentlist li.alt
{
	background:#fcfcf9 url(images/border2.gif) repeat-x top;
}

textarea{
	width: 90%;
	padding:5px;
	height: 20em;
	border: 1px solid #ccc;	
	background:#f9f9f9 url(images/button_bg.gif) repeat-x top;
	font:1em Verdana, Arial, Serif;
}
#outer input.text 
{
	background:#f9f9f9 url(images/button_bg.gif) repeat-x top;
	border:#ccc 1px solid;
	padding:2px;
	font:1em Verdana, Arial, Serif;
}
.post h5 em
{
	font-style:normal;
	float:right;
	font-weight:normal;
}
#header, #content, #sidebar, #footer, .widget {
    overflow: hidden;
}
.splinks
{
         color:#000;  
         background:#fff;
	font-weight: normal;
	font-size: 1.2em;
         border:#bc932c 2px solid;
         padding: 1px 5px 3px 5px;
	margin-left: 30px;
}
.splinks a:link, .splinks a:visited
{
	text-decoration: none;
         color:#000;
}
.splinks a:hover, .splinks a:active
{
	text-decoration: none;
         background: #bc932c;
         color:#fff;
}

#normalcontent2
{
	margin-top: -2.0em;
}
#normalcontent
{
	margin: 0px;
}

/* post formatting */

.hdrbox {
        font-size: 0.86em;
        font-weight: bold;
        border: 1px solid #37210f;
        padding: 5px; 
} 

.hdrbox a {
        color: #bc932c;
        text-decoration: none;
}

/* Begin wp-tags*/
img.centered {display: block;margin-left: auto;margin-right: auto;}
img.alignright {padding: 4px;margin: 0 0 2px 7px;display: inline;}
img.alignleft {padding: 4px;margin: 0 7px 2px 0;display: inline;}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.aligncenter,div.aligncenter {
         display: block;
         margin-left: auto;
         margin-right: auto;
}
.alignright {
         float: right;
}
.alignleft {
         float: left
}
.wp-caption {
         border: 1px solid #ddd;
         text-align: center; 
         background-color: #f3f3f3;
         padding-top: 4px;
         margin: 8px;
}
.wp-caption img {
         margin: 0;padding: 2;
         border: 0 none;
}

.wp-caption p.wp-caption-text {
        color:#333; 
        text-align:left;
        font-size:11px;
        line-height: 17px; 
        padding: 0 4px 5px; 
        margin: 0;
}

/* End wp-tags */

.btmnav {clear:both;margin:20px auto;width:400px;height:20px;border:1px solid #bc932c;padding:5px;text-align:center;}

/* Featured Articles formatting "leftcol" */

.feature {
	background-color: #F4F4EC;
	padding:15px;
	border: 1px solid #ccc;
	}
.feature p, #rightcol p { margin:0;	}
#leftcol img, #rightcol img {padding:1px;border:1px solid #999;}
#leftcol .feature {margin-bottom:15px;}

.title, a.title  {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size:1.1em;
	font-weight:bold;
	color: #840000;
	letter-spacing:normal;
	}

#leftcol {
	width:250px;
	padding-right:14px;
margin-top:10px;
	float:left;
	}

/* Formating of the Leadstory stuff in the tabbed section */

.inline li {display:inline;list-style-type:none;}

#blogposts {margin:0;}
#blogposts ul {margin:0;}
#blogposts li {list-style-type:none;padding:3px;border:1px solid #999;background-color: #F4F4EC;margin-bottom:10px;margin-left:0;width:242px;}
.center {text-align: center;color:#888;margin-top:10px;text-decoration:none;font-size:0.87em;}
