/*  
Theme Name: webnevis 2.0
Theme URI: http://webnevis.net
Description: payam.salami@gmail.com <br> www.webnevis.net
Version: 1.0
Author: payam
Author URI: http://webnevis.net
*/


/* page elements */

html{
	overflow: -moz-scrollbars-vertical;
}
a,a:visited{
	color:#5196a6;
	text-decoration:none;
	border:none;
}
a:hover{
	border-bottom:1px dotted #5196a6;
}
body{
	margin:0;
	padding:0;
	background:url('images/bg.gif') #f7f6f6 repeat-x top;
	font-family:tahoma,arial;
	font-size:12px;
	color:#000;
	line-height:150%;
	text-align:right;
	direction:rtl;
}
input,select,textarea{
	padding:4px;
	border:1px solid #c8c8c8;
	font-family:tahoma,arial;
}
#page{
	margin:0 auto;
	width:975px;
}
#content{
}

/* header */ 
#top{
	height:30px;
	margin-top:10px;
}
#top a,#top a:visited{
	text-decoration:none;
	border:none;
	color:#33707e;
}
#top-right{
	float:right;
	width:200px;
	text-align:right;
}
#top-left{
	width:400px;
	float:left;
	margin-top:2px;
	text-align:left;
}
#topmenu li {
	list-style:none;
	display:inline;
	padding:2px 2px;
	color:#33707e;
}
#header{
	height:120px;
	margin-bottom:20px;
}
#logo{
	width:350px;
	height:120px;
	float:right;
	background:url('images/logo.gif') no-repeat center bottom;
}


/* search form */
#search-form{
	float:left;
}
#search {
	height:25px;
	padding:42px 0 0 20px;
	border:0;
}
#search input {
	background:#e7e7e7 url('images/textbox-bg.gif') repeat-x top;
	border: 1px solid #317b90;
	float: left;
	padding:8px 40px 8px 0px;
	width:255px;
	text-align:right;
}
#search input.btn {
	background:none;
	border:0;
	margin:9px 0 0 -30px;
	padding:0;
	width:auto;
}


/* posts & sidebar*/
#posts{
	float:right;
	width:660px;
	text-align:justify;
}

#sidebar{
	float:left;
	width:300px;
}

#sidebar a,#sidebar a:visited{
	color:#767676;
	text-decoration:none;
	display:block;
	text-shadow:#ccc 1px 0px;
}
#sidebar a:hover{
	text-decoration:none;
	color:#5aa9bf;
	border:none;
	text-shadow:#3a97b1 1px 0px;
}
 
#footer{
	clear:both;
	margin:0;
	padding:10px;
	height:380px;
	background:#999 url('images/footer-bg.gif') repeat-x center top;
	border-top:6px solid #aaa;
	color:#515151;
	direction:rtl;
}
#footer-content{
	width:975px;
	margin:0 auto;
}
/* footer */ 
#footer a,#footer a:hover{
	color:#515151;
	border:none;
}
#footer-posts{
	float:right;
	width:320px;
	height:350px;
	margin:0 10px 0 0;
}
#footer-comments{
	float:right;
	width:300px;
	margin:0 20px  0px;
	height:350px;
}
#footer-left{
	float:left;
	width:270px;
	height:350px;
	margin:0 0 0 5px;
	padding:0px 4px;
	color:#515151;
	background:url('images/footer-logo.gif') no-repeat center bottom;
	line-height:170%;
}

#footer-posts ul a,#footer-posts ul a:visited{
	display:block;
	padding:5px 18px 5px 0px;
	background:url('images/post.gif') no-repeat right;
}
#footer-posts ul a:hover{
	padding:4px 17px 4px 0px;
	background:#aeaeae url('images/post.gif') no-repeat right;
	color:#e7e7e7;
	border:1px solid #9c9c9c;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
}
#footer-comments ul li{
	padding:5px 22px 5px 0px;
	background:url('images/comment.gif') no-repeat right top;
}
#footer-comments ul li:hover{
	padding:4px 21px 4px 0px;
	background:#aeaeae url('images/comment.gif') no-repeat right top;
	color:#e7e7e7;
	border:1px solid #9c9c9c;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
}
#copyright{
	padding:2px 0 0 0;
	color:#606060;
	font-size:10px;
}
#copyright a,#copyright a:hover{
	color:#606060;
}
.footer-title{
	font-weight:bold;
	font-family:arial,tahoma;
	font-size:18px;
	color:#FFFFFF;
}



/* box */

.box-border{
	border:1px solid #c8c8c8;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	padding:1px;
	background:#fff;
	margin:5px 0px;
	text-align:right;
	direction:rtl;
}
.box{
	background:#fff url('images/box-bg.gif') repeat-x center top;
	padding:8px;
}
.padding{
	padding:5px 0px 15px 0px;
}
.line{
	background:url('images/line.gif') repeat-x;
	height:2px;
	margin:4px auto;
}
.box ul{
	margin:0;
	padding:0;
	list-style:none;
}
.box ul li{
	margin:0;
	border-bottom:1px solid #e7e7e7;
}
.box ul li a{
	display:block;
	padding:5px 15px 5px 0;
	background:url('images/li.gif') no-repeat right 12px;
}
.box ul li a:hover{
	padding:5px 15px 5px 0;
	background:#fafafa url('images/li.gif') no-repeat right -7px;
}
 
/* posts */
h2.post-title{
	text-shadow:#b2d2db 2px 1px,#;
}
.post-meta{
	border:1px solid #e3e3e3;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	background:#fbfbfb;
	padding:5px;
	margin:10px 0px;
	font-size:11px;
	color:#707070;
	line-height:200%;
}
a.more-link,a.more-link:visited{
	background:#e3f1f4;
	padding:5px;
	border:none;
	-moz-box-shadow:2px 2px 2px #e9e9e9;
}
a.more-link:hover{
	color:#396e7a;
}

.post-author{
	width:450px;
	float:right;
	padding-right:25px;
	background:#fbfbfb url('images/author.gif') no-repeat right center;
}
.post-comments{
	float:left;
	width:80px;
	padding-left:20px;
	text-align:left;
	background:url('images/comments.gif') no-repeat left;
}
.post-date{
	font-size:11px;
	color:#707070;
	padding:5px 25px 5px 0;
	background:url('images/date.png') no-repeat right;
}
.post-tags{
	padding-right:18px;
	margin-right:7px;
	background:#fbfbfb url('images/tag.gif') no-repeat right center;
}
hr{
	color:#e3e3e3;
	margin:0px 0 10px 0;
}



/* page navigation */ 

.page-navigation{
	padding:10px;
	border:1px solid #c8c8c8;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	background:#f5f5f5;
}
.comments-navigation{
	border:none;
	background:none;
}
.page-navigation a,.page-navigation a:visited{
	color:#666666;
	font-weight:bold;
	font-size:12px;
	padding:7px;
}
.page-navigation a:hover{
	background-color:#fff;
	color:#87c6d9;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	border:none;
}
.alignleft{
	float:left;
	width:300px;
	text-align:left;
}
.alignright{
	float:right;
	width:300px;
	text-align:right;
}
.clear{
	clear:both;
}

/* comments */

form{
	margin: 0px;
	padding: 0px;
}

#commentform{
	background-color:#f9f9f9;
	border:1px solid #c8c8c8;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	color: #666666;
	list-style: none;
	margin: 0px 0px 10px 0px;
	padding:10px 10px 0px 10px;
}

#commentform input#submit{
	background-color:#efefef;
	border:1px solid #c8c8c8;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	color:#666;
	font-size:13px;
	padding:3px 0px;
	width:100px;
}
#commentform input#submit:hover{
	border-color:#666;
	cursor:pointer;
	background:#ccc;
}

#commentform input,#commentform textarea {
	background-color:#FFFFFF;
	border:1px solid #c8c8c8;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	color:#666666;
	font-size:13px;
	padding:4px;
	margin:4px;
	width:300px;
}
#commentform input:focus,#commentform textarea:focus{
	background-color:#f5f5f5;
	border-color:#aaa;
}

.comment-date{
	background:url(images/time.gif) no-repeat center right;
	color:#636363;
	font-family:Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin:0;
	padding-right:20px;
	text-align:right;
}
.comment-author{
	color:#666;
	font-family:Tahoma,arial;
	font-size:11px;
	font-weight:normal;
	margin:0px;
	padding:0px;
}
.commentlist{
	color:#626262;
	margin:0px;
	padding:0px;
	text-align:right;
}
.commentlist li {
	background-color:#f9f9f9;
	border:1px solid #c8c8c8;
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	-webkit-border-radius:5px;
	color: #666666;
	list-style: none;
	margin:0px 0px 10px 0px;
	padding:10px;
	text-align: justify;
}

.commentlist li:hover{
	background-color:#fff;
}


/* other */

h1,h2,h3{
	padding:0;
	margin:5px;
	font-size:18px;
	font-weight:bold;
	font-family:arial,tahoma;
	color:#666666;
}
h1{
	font-size:20px;
	margin:15px 5px;
}

img{
	border:none;
}
li{
	margin:0;
	padding:0;
	list-style:none;
}
ul{
	padding:0;
	margin:0;
	list-style:none;
}
.small{
	font-size:9px;
}


/*  widget  */
.box-title{
	-moz-box-shadow:2px 2px 2px #e9e9e9;
	-webkit-box-shadow:2px 2px 2px #e9e9e9;
    box-shadow:2px 2px 2px #e9e9e9;
}
.widget h2{
	background:#f7f7f7;
	padding:8px 5px 8px 0px;
	margin:5px auto;
	color:#666;
	font-family:Arial;
	font-size:18px;
	font-weight:bold;
	text-shadow:#c6c6c6 0px 2px;
}
.widget_text{
	margin:0;
	padding:0;
}
.widget{
	margin:20px 0;
}
.widget_tag_cloud a,.widget_tag_cloud a{
	padding:7px;
	display:inline;
	text-decoration:none;
	white-space:nowrap;
	float:right;
}
#wp-calendar{
	text-align:center;
	margin:auto;
	padding-bottom:10px;
}