/*  
Theme Name: Pgdesigning
Theme URI: http://pgdesigning.com
Description: 'Theme for my BLOG'
Version: 1.0
Author: Priyantha Gunawardena
Author URI: http://www.pgdesigning.com/
*/
a {
	text-decoration: none;
	color: #559AD3;
	cursor:pointer;
}

a:hover {
	text-decoration: underline;
	cursor:pointer;
}

body {
	margin-top: 0px;
	color:#603811;
	font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif;
	text-align:center;
	background:url(img/mainbg.jpg) top center;
	background-repeat:repeat-x;
	background-color:#BFD5E1; 
}

#wrap {
	width:960px;
	margin:0 auto;
	text-align:left;
	font-size:13px;
}


/* Header */

#wrap #header{
	height:252px;
}
#header h2 {
	font-size: 30px;
	color: #fff;
	padding-top: 25px;
	font-weight: normal;
}

#header h2 a {
	color: #fff;
}

#header h2 a:hover {
	color: #ADE166;
	text-decoration: none;
}

#header p {
	padding-top: 1px;
	color: #fff;
	font-size: 13px;
	color: #8F8F8F;
}

#header #hd_left{
	width:418px;
	height:252px;
	float:left
}

#hd_left #sl_img{
	height: 252px;
}

#sl_img_l{
	float:left;
	position:relative;
}
#sl_img_m{
	position:relative;
	float:left;
}

#sl_img_m_t{
margin-bottom:0px;
width: 357px;
height:185px;
background: url(img/sl_img_bg.jpg) no-repeat;

}
#sl_img_m_b{
	padding:0;
	margin-top:0;
	margin-bottom:0;
}

#sl_img_r{
	float:left;
	position:relative;
}

#header #hd_right{
	width:542px;
	height:252px;
	float:left
}
	#hd_right #hd_right_t{
		width:542px;
		height:194px;
	}
	#hd_right_t #hd_right_t_l{
		float:left;
		width:328px;
		height:194px;
	}
	#hd_right_t #hd_right_t_r{
		float:left;
		/*size is fix up to teh max right margine*/
		width:214px;
		height:194px;
	}
	
	
	#hd_right #hd_right_b{
		width:542px;
		height:58px;
	}
	
/*Menu Designing*/

#hd_right #hd_right_b #menu {
	width: 542px;
	padding-top: 18px;
	height: 40px;
	font-size: 14px;
	position: relative;
	font-size:16px;
	letter-spacing: 2px;
}

#menu ul {
	/*width: 100%;*/
	float: right;
}

#menu li {
	display: block;
	float: left;
	margin-left: 10px;
}

#menu li a {
	line-height: 40px;
	display: block;
	color: #6195B2;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
}

#menu li.current_page_item, #menu li.current_page_item a {
	background: #6195B2;
	color: #fff;
}

#menu li a:hover {
	background: #6195B2;
	color: #fff;
	display:block;
}

/*End Menu Styling*/

/*Log inn*/
#login {
	/* float: right; */
	position: absolute;
	right: 0px;
	top: 15px;
	font-size: 11px;
	color: #8F8F8F;
	/* padding-top: 15px; */
}

/* Page Description */

#page_desc {
	width: 100%;
	height: 3.1em;
	font-size: 14px;
	padding-bottom: 10px;
}

#page_desc #text {
	padding-left: 20px;
	height: 3.1em;
	float: left;
	width: 499px;
	background: #fff;
}

#page_desc p {
	padding: 12px 0px;
}

/* Search */

#search_top {
	float: right;
	width: 330px;
	height: 3.1em;
	background: #fff;
}

#search_top form {
	margin-top: 0.65em;
	position: relative;
}

#search_top input.sfield {
	background: #fff;
	border: #B8C7DA 1px solid;
	width: 200px;
	height: 21px;
	font-size: 13px;
	padding: 3px 2px 0 3px;
}

#search_top input.sbutton {
	position: absolute;
	top: 0;
	left: 213px;
}

/* Content */

#content_wrap {
	background: url(img/content_bg.gif) repeat-y;
	padding: 0 10px;
	width: 940px;
	margin-top: 5px;
}

#content {
	width: 525px;
	float: left;
	padding: 10px;
}

#content h2 {
	font-size: 15px;
}

#content p {
	font-size: 13px;
	line-height: 20px;
	padding: 10px 0;
	width:100%
}
#content span {
	font-size: 13px;
	line-height: 20px;
}

#content ul, #content ol {
	padding: 0.5em 2.5em;
	font-size: 13px;
}

#content ul li {
	background: url(img/bullet.gif) no-repeat 0 13px;
	line-height: 20px;
	padding-left: 18px;
	list-style: none;
}

#content ol {
	margin-left: 1.4em;
}

#content ol li {
	background: none;
	padding-left: 7px;
	line-height: 20px;
}

#content blockquote  {
	background: #F9F9F9;
	border: #EEEEEE 1px solid;
	color: #737373;
	padding: 0 10px;
	text-align:center;
	width: 150px;
}

#content span.post_link  {
	background: #F9F9F9;
	border: #EEEEEE 1px solid;
	color: #737373;
	padding: 10px;
	text-align:center;
	width: 60%;
	display: block;
	margin-top: 10px;
}

sup{
	vertical-align:super;
	font-size: 11px;
}

.cv_head{
	border:#cccccc 1px solid;
	font-weight:bold;
	background-color:#E6E6E6;
	padding:10px;
}
.cv_body{
	margin-top: 10px;
	margin-bottom: 10px;
	border:#F2F2F2 1px solid;
	background-color:#FAFAFA;
	padding:10px;
}
.cv_body ul{
	list-style:none;
}

.cv_body ul li{
	padding:5px 0;
}

#content .post_body {
float:left;
width: 100%;
}
#content P .post_body{
float:left;
width: 100%;
}

/* Caption */

#caption {
	width: 525px;
	float:left;
	border-bottom:#999999 1px solid;
}

#caption h2 {
	float: left;
	line-height: 40px;
}

#m_post {
	width: 200px;
	float: right;
	height: 31px;
	position: relative;
	background: url(img/caption_m_posts.gif) no-repeat 130px 8px;
}

#m_post span {
	display: none;
}

#m_post .o_entries a {
	position: absolute;
	right: 53px;
	top: 8px;
	display: block;
	width: 17px;
	height: 15px;
	background: url(img/caption_o_entries.gif) no-repeat;
}

#m_post .r_entries a {
	position: absolute;
	right: 21px;
	top: 8px;
	display: block;
	width: 17px;
	height: 15px;
	background: url(img/caption_r_entries.gif) no-repeat;
}

#m_post a:hover {
	background-position: 0 -15px;
	text-decoration: none;
}

#m_post a:hover span {
	display: block;
	font-size: 11px;
	color: #2E2E2E;
	position: absolute;
	top: 0;
}

#m_post .o_entries a:hover span {
	left: -100px;
}

#m_post .r_entries a:hover span {
	left: -130px;
}

/* Post */
/*
.post {
	margin-top: 15px;
	padding: 5px 10px 10px 10px;
	width: 530px;
}
*/

#content .post {
	margin-top: 0px;
	float:left;
	width: 525px;
}

.page_post h2 {
	color: #A52A2A;
	float:left;
}

.page_post h2 {
padding-top: 10px;
}

.page_post h2 a {
	color: #A52A2A;
}

.page_post p a {
	text-decoration: none;
}

.page_post p a:hover {
	text-decoration: none;
	color: #A52A2A;
}

.post_details {
	padding: 0 15px 20px;
	border-bottom:#CCCCCC 2px solid;
	float:left;
	width:495px;
}

.post_details p {
	padding: 5px 0;
   margin-top: 1px;
	font-size: 12px !important;
}

.post_details p a {
	text-decoration: none;
}

.post_details p a:hover {
	text-decoration: underline;
}


/* More Posts */

#more_posts {
	font-size: 12px;
	float:left;
	line-height: 30px;
	font-weight:bold;
}
.more_posts {
	padding-left: 20px;
	width: 50px;
}

/* Comments */

.comments_caption {
	width: 100%;
	background: #fff;
	margin-top: 15px;
}

.comments_caption h2 {
	padding-left: 15px;
	line-height: 2em;
}

.comment_wrap {
	background: #fff;
	margin-top: 15px;
}

.comment_wrap p {
	font-size: 13px !important;
}

.comment_wrap_head {
	padding: 0 15px;
}

.comment_wrap_head p {
	padding: 7px 0 !important;
}

.comment_wrap_head span {
	color: #898989;
	padding-left: 5px;
}

.comment_wrap_post {
	padding: 5px 0;
	border-top: #EEEEEE 1px solid;
}

.comment_wrap_post p {
	padding: 10px 15px !important;
}

#leave_a_comment_wrap {
	width: 100%;
	margin-top: 15px;
}

.leave_a_comment {
	width: 10em;
	text-align: center;
	float: left;
}

.leave_a_comment h2 {
	line-height: 30px;
}

.trackback_rss {
	float: right;
	padding-right: 15px;
	padding-top: 8px;
	width: 250px;
}

.trackback_rss p {
	padding: 0 !important;
	font-size: 11px !important;
}

#comment_form {
	background: #fff;
	padding: 11px 0;
	clear: both;
}

#content form {
	background: #FAFAFA;
	width: 445px;
	border: #EDEDED 1px solid;
	padding: 15px 0 15px 15px;
	margin: 0 auto;
}

#content form p {
	padding: 0px 0 5px 0;
	line-height: 20px;
}

#content input {
	border: #EEEEEE 1px solid;
	background: #fff;
	padding: 5px;
	font-size: 15px;
	font-family: Georgia;
}

#content input.data {
	width: 184px;
}

#content textarea {
	border: #EEEEEE 1px solid;
	width: 415px;
	height: 170px;
	padding: 3px;
	font-size: 15px;
	font-family: Georgia;
}

#content input.sbutton {
	margin-top: 3px;
}

/* Sidebar */

#sidebar {
	width: 385px;
	float: left;
	margin-left:10px;
}

#sidebar h2 {
	font-size: 13px;
	color: #75A546;
	padding: 10px 0;
	line-height: 18px;
}

#sidebar p, #sidebar li {
	font-size: 12px;
}

#sidebar p {
	padding: 10px 0;
	line-height: 20px;
}

#sidebar ul {
	list-style: none;
}

#sidebar ul ul {
	padding: 10px 0;
	list-style: none;
}

#sidebar ul ul ul {
	padding: 0;
}

#sidebar ul li ul li{
	background: url(img/bullet.gif) no-repeat 1px 9px;
	padding-left: 15px;
	line-height: 16px;
	margin-bottom:5px;
}

#sidebar #sidebar_t{
	width:100%;
	/*height: 173px;*/
	background-color:#FFFFFF;
	border-bottom:#BFD5E1 10px solid;
	
}

#sidebar #sidebar_b{
	width:100%;
	float:left;
	border-bottom:#BFD5E1 10px solid;
}
#sidebar_b #sidebar_b_l{
padding:10px;
float:left;
width: 170px;
}
#sidebar_b #sidebar_b_r{
margin-left:10px;
padding:10px;
float:left;
width: 165px;

}
#sidebar #sidebar_b1{
	width:100%;
	background-color:#FFFFFF;
	float:left;
	border-bottom:#BFD5E1 10px solid;
}

#flickr_images{
	background-color:#FFFFFF;
	float:left;
	width: 365px;
	padding:0 10px 10px 10px;
}
#flickr_images ul{
	list-style:none;
}

#flickr_images ul li{
	display:block;
	float: left;
	padding: 5px;
}

#flickr_images ul li a img{
	padding: 3px;
	background:#559AD3;
}
#flickr_images ul li a:hover img{
	background:#BFD5E1;
}


/* Widgets */

.textwidget {
	line-height: 20px;
	padding: 10px 0;
}

/*
Calendar styling
*/
#calendar_wrap{
	width:153px;
	background-color:#AFE168;
	font-size:10px;
	padding: 5px;
	border:#75DA67 1px solid; 
}

#wp-calendar {
	width: 100%
}

#wp-calendar caption {
	font-weight:bold;
	width:154px;
	line-height:20px;
	background-color:#75DA67;
	border:#35A528 1px solid;
}

#wp-calendar td {
   margin: 0;
	text-align:center;
	padding: 4px;
}

#wp-calendar thead {
	line-height: 20px;
}

#wp-calendar th {
	text-align:center;
}

#wp-calendar td#today {
   border:#00CC66 1px solid;
   font-weight:bold;
}

/*Footer designing*/
#footer{
	height:25px;
	padding: 20px 0 10px 60px;
	background:url(img/wp_logo.jpg) #6195B2 10px 10px no-repeat;
	text-align:left;
	vertical-align:middle;
	color:#fff;
	margin: 0pt auto;
	width: 880px;
}

#footer span{
 color:#BFD5E1;
}


/* Fix */

#menu:after,
#menu ul:after,
#content_wrap:after,
#footer:after,
#leave_a_comment_wrap:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clear{
	clear: both;
	float: none;
}

/* My Blog Styling*/
.my_blog{
	padding: 5px;
	margin-top: 10px;
}
.my_blog h2{
	border-top: #BFD6E3 1px dashed; 	
}

/*Advertisements*/
.text_add h3{
	padding:10px 0;
}
.text_add ul{
	padding:10px 0;
}
.text_add ul li{
	margin-bottom:5px;
}
.text_add ul li a{
	font-size:11px;
}
