/*
Theme Name: Kaveh's blog
Theme URI: http://bazargan.org
Description: A personal blog of Kaveh Bazargan
Author: Dayakar
Author URI: http://bazargan.org
Template: k2-1.1-revision-1049-2010-03-19
*/

/* Basic Typography */

h1, .blog-title, h2, h3, h4, h5, h6 {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, Arial, Sans-Serif;
	}

/*- Page Structure */

body {
	background: #BDBDBD;
	}

#page {
	text-align: left;
	margin: 8px auto;
	padding-top: 4px;
	width: 780px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	}

#header {
	height: 130px;
	width: 770px;
	background:#F0F0F0 url('images/kaveh-photo.png') no-repeat;
	background-position: 8px 5px;
	margin: 0px auto;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
	}	

.blog-title {
	padding: 12px 40px 0px 101px;
	}

.blog-title a,
#header .description {
	text-decoration: none;
	color: #000;
	}

.blog-title a { text-shadow:#A4A4A4 2px 2px 5px; }

#header .description { /* Description in header */
	margin: 0px 0px 0px 102px;
	}

.post-content h3 {
	margin-top: 0px;
	}

.post-content p, .post p { overflow: visible !important; }	

.homelink { position: absolute; width: 80px; height: 90px;
	margin: 0px 0px 0px 30px; padding: 0px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	}

.hideline { width: 220px; height: 4px; background: #F0F0F0; margin-top: 68px; margin-left: 550px; position: absolute; } /*header bottom line*/

/* Main Menu in Header */
.menu { margin: 0 15px; }
.menu li { 
	border: 1px solid #ddd;
	border-bottom: none;
	margin-right: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
}

.menu li li { border: none; margin-right: 0px;}

.menu li.current_page_ancestor a,
.menu li.current_page_item a {
	margin-bottom: -1px;
	margin-left: 0px;
	border-bottom: 1px solid #fff;	
	}

.menu > ul > li > a { /* Top Menu */
	color: #000;
	margin-left: 0px;
	border: 1px solid #fff;
	border-bottom: none;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	}

.menu > ul > li.has_children > a:after { /* Dropdown indicators */
	background: url('images/arrows.png') no-repeat left top;
	}

.menu > ul > li.has_children:hover > a:after { /* Dropdown indicators */
	background: url('images/arrows.png') no-repeat left bottom;
	}

.menu > ul > li > ul { /* Child Menus */
	margin-left: 0px;
	}

.wrapper {
	padding: 0 4px 10px 20px;
	}

#widgets-sidebar-1 {
	background-color: #F0F0F0;
	padding: 0px 10px 10px 10px; 	
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px; 
	-moz-border-radius-bottomright: 8px; 
	-webkit-border-bottom-left-radius: 8px; 
	-webkit-border-bottom-right-radius: 8px;
	border-right:1px solid #ddd;
	border-bottom:1px solid #ddd;
	border-left:1px solid #ddd;
	}

.post-header {
	margin-top: 5px;
	padding-top: 0px;
	border-top: 1px solid #A4A4A4;
	border-bottom: 1px solid #D8D8D8;
	background-color: #F0F0F0; 
	}

.post-title, h3 { /* H3 is entry headlines. H4 is comments and replyform headlines */
	font-size: 1.8em;
	padding-left: 2px;
	text-shadow:#fff 1px 1px 0;
	}

.post-title {
	margin-right: 2px;
	}

.post-title, .post-title a, .post-title a:visited,
h3, h3 a, h3 a:visited {
	color: #27d;
	}

.post-title, .post-title a, .post-title a:hover, .post-title a:visited,
h3, h3 a, h3 a:hover, h3 a:visited {
	text-decoration: none;
	}

.post-header .post-meta {
	min-height: 12px;
	}

.post-meta {
	line-height: 1em;
	padding-left: 2px;
	}

.post-meta a,
.comment-meta a
	{
	color: #27d;
	}

.post-meta a:hover,
.comment-meta a:hover
	{
	color: #777;
	text-decoration: none;
	text-shadow:gray 0 1px 1px;
	}

.post-content {
	line-height: 1.4em;
	overflow: hidden;
	}

.post-content p {
	margin: 6px 0 11px 0;
	}

.post-content a:visited {
	color: #27d;
	}

/* Search Widget, incl. Livesearch */

.widget_search {
	margin-top: 0px !important;
	}

h4 {
	border-top:1px solid #ddd;
	padding-top: 2px;
	font-size: 1.5em;
	}

.widgets h4 { /* Widget Titles */
	padding-bottom: 2px;
	border-bottom: 1px solid #ddd;
	border-top: none;
	}

.comments { padding-right: 5px; }

/* Primary Contents */

.post {
	padding: 0px 5px 0px 0px;
	margin: 0px;
	}

.page {
	padding: 0px 5px 0px 0px;
	}

pre {font-size: 1.2em;}
tt {font-size: 1.2em;}

#rollingarchives,
.navigation {
	height: 0px;
}

.navigation .nav-previous, .nav-next {
	display: none;
	}

#primary {
	padding: 0px;
	}

.post-content .alignleft,
img[align="left"] {
	margin: 3px 8px 4px 0;
	border: 1px solid #D8D8D8;
	padding: 3px;
	width: 100px; height: 100px;
	}

.post-content a[rel~="attachment"] img,
.gallery a img {
	background-color: #FFF;
	border: 1px solid #D8D8D8;
	padding: 3px;
	text-align: center;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	}

.post-content a[rel~="attachment"] img:hover,
.gallery a img:hover {
	padding: 3px;
	border: 1px solid #D8D8D8;
	}
	

.post-content .wp-post-image {
	margin: 9px 8px 15px 0;
	border: 1px solid #D8D8D8;
	padding: 3px;
	/*width: 100px; height: 100px;*/
}

body.page #content .post-title {
	margin-left: 2px;
	text-align: left;
	line-height: 145%;
	}

.page-head h1 {
	font-size: 2em;
	text-align: left;
	border-top: 1px solid #A4A4A4;
	border-bottom: 1px solid #D8D8D8;
	background-color:#F0F0F0;
	padding: 3px 5px;
	margin: 0 0 10px 0;
	width: 505px;
	}

/*Category styling*/
.secondary ul li {
	line-height: 1.1em;
	}

ul li.cat-item {
padding: .1em 0;
}

ul li.cat-item a {
color:#182B78;
font-size:120%;
font-weight:bold;
padding: .1em .2em;
}

ul ul.children li a {
color:#0066CC;
font-size:100%;
font-weight: normal;
}

ul ul.children li.current-cat a,
ul ul.children li.current-cat a:hover { /*Style for highlighting current category*/
color: #fff;
background-color:#0066CC;
text-decoration: none;
}

ul ul.children ul.children li a,
ul ul.children li.current-cat ul.children li a {
font-size:100%;
font-weight: normal;
background-color:transparent;
color:#0066CC;
}

.cat-item a:hover,
ul ul.children li.current-cat-parent ul.children li.cat-item a:hover {
text-decoration: underline;
background: transparent;
}

ul ul.children li.current-cat-parent ul.children li.current-cat a,
ul ul.children li.current-cat-parent ul.children li.current-cat a:hover { /*Style for highlighting current category*/
color: #fff;
background-color:#0066CC;
text-decoration: none;
}
/*Category styling*/

/*rolling archives*/
body.smartposition #rollingarchivesbg {
	display: none;
	}

body.smartposition #rollingarchives { display: none; }

body.smartposition #widgets-sidebar-1 div.widget_search:first-child #searchform,
body.smartposition #widgets-sidebar-2 div.widget_search:first-child #searchform { display: none; }

.widget_categories h4 { /*to hide category heading*/
	display: none;
	}

.home-item-img { /*post icon images*/
	float: left;
	width: 100px;
	/*height: 100px;*/
	border: 1px solid #D8D8D8; 
	margin: 3px 8px 4px 0px;
	padding: 3px;
	}

#commentlist li .comment-content {
	font-size: 1.1em;
	text-align: left;
	line-height: 1.3em;
	}

.comment-head {
	border-top: 2px solid #ddd; 
	border-bottom: 1px solid #ddd; 
	padding: 3px 0px;
	}

#commentlist li .comment-content {
	font-size: 1.1em;
	text-align: left;
	line-height: 1.3em;
	}

#commentlist .comment {
	padding: 0px 10px;
	}

.comment-content p,
.comment-content ul,
.comment-content ol,
.comment-content div,
.comment-content blockquote {
	margin: 5px 0;
	}

.byuser {
	#background: #f6f7f8;
	background: none;
	}

.bypostauthor {
	#background: #eee;
	background: none;
	}

.byuser .comment-head {
	background: #f6f7f8;
	border-top: 2px solid #BDBDBD; 
	border-bottom: 1px solid #ddd; 
	padding: 3px 2px;
	}

.bypostauthor .comment-head {
	background: #eee;
	border-top: 2px solid #BDBDBD; 
	border-bottom: 1px solid #ddd; 
	padding: 3px 2px;
	}

.comments form #submit {
	float: left;
	margin-top: 5px;
	}

.footerfeedlinks, .footerpoweredby {
	display: none;
	}

/*WP-Postviews*/
#postviews {
	color: #777;
	float: right;
	padding: 0px 2px 0px 0px;
	}
	
/*Contact form*/
.screenReader { left: -9999px; position: absolute; top: -9999px; }
.thanks { background: #F2F3F6; border: 1px solid #7E8AA2; padding:10px; margin-bottom: 15px; margin-top: 30px; width: 432px; font-size: 12px;}

/*****Forms*****/
ol.forms { float: left; list-style: none; margin: 0; width: 100%; }
ol.forms li { 
	clear: both; 
	float: left; 
	margin-bottom: 18px; 
	position: relative;
	width: 100%;
}
ol.forms label {
	cursor: pointer;
	display: block;
	float: left;
	font-size: 1.2em;
	font-family: "Lucida Grande","Lucida Sans","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif;
	font-weight: normal;
	letter-spacing: 0px;
	padding-right: 20px;
	width: 70px;
}
ol.forms input, ol.forms textarea {
	border: 1px solid #7E8AA2;
	border-radius: 3px;
	font: inherit;
	-moz-border-radius: 3px;
	padding: 2px;
	-webkit-border-radius: 3px;
	width: 214px;
}
ol.forms textarea { height: 270px; width: 322px; }
ol.forms input:focus, ol.forms textarea:focus { background-color: #f2f3f6; border-color: #66FF00; }
.error { color: #f00; }
ol.forms li .error { font-size: 10px; margin-left: 20px; }
ol.forms li.textarea .error {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width: 65px;
}
ol.forms li.screenReader { margin-bottom: 0; }
ol.forms li.buttons button {
	/*background: #ff9800;*/
	background: #BDBDBD;
	border: none;
	color: #000;
	cursor: pointer;
	font: 16px/16px "Avenir LT Std", Helvetica, Arial, sans-serif;
	overflow: hidden;
	padding: 6px 3px 3px 3px;
	text-transform: uppercase;
	width: auto;
	margin-left: 51px;
}
ol.forms li.buttons button:hover { color: #222; }
ol.forms li.buttons button:active { left: -1px; position: relative; top: -1px; }
ol.forms li.buttons, ol.forms li.inline { float: right; width: 460px; }
ol.forms li.inline input { width: auto; margin-left: 51px;}
ol.forms li.inline label { display: inline; float: none; width: auto; }
/*Contact form*/

/*NextGen thumbnail gallery */
.post-content div.ngg-gallery-thumbnail, 
.post-content div.ngg-gallery-thumbnail-box {
	margin: 0px;
	}
/*NextGen thumbnail gallery */	

.more-link span {
	font-size: 15px;
	margin:0px;
	}

.wp-pagenavi {
	margin: 10px 0px 0px;
	}

.wp-pagenavi a, .wp-pagenavi a:link {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	font-weight: bold;
	background-color: #FFFFFF;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	}
	
.wp-pagenavi a:visited {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-pagenavi a:hover {	
	border: 1px solid #b41;
	color: #b41;
	background-color: #ddd;
}
.wp-pagenavi a:active {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-pagenavi span.pages {
	padding: 2px 4px 2px 0px; 
	margin: 2px 2px 2px 2px;
	color: #999;
/*
	color: #000000;
	border: 1px solid #000000;
*/
	background-color: #FFFFFF;
	}

.pages {
	font-weight: bold; 
	font-size: 110%;
	}

.wp-pagenavi span.current {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	font-weight: bold;
	border: 1px solid #333;
	color: #333;
	background-color: #F0F0F0;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	}

.wp-pagenavi span.extend {
	padding: 2px 4px 2px 4px; 
	margin: 2px;	
	border: 1px solid #333;
	color: #333;
	background-color: #FFFFFF;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	}
/*facebook plugin*/
div#olussierfsp_likebutton-3.widget.widget_olussierfsp_likebutton { margin-top: 5px; height: 50px; border-bottom: 1px solid #000; border-top: 2px solid #000; }	

.post-content span.vvqbox { padding-bottom: 50px;}

/*Party 2011*/
.wpcf7-list-item { display: block; }
#post-1370 span#postviews { display: none; }
