﻿/*  
Theme Name: David Mozafari
Description: Designed by <a href="http://emohammad.ir/">EMohammad</a> :)
Version: 1.0 
Author: EMohammad
Author EMail: emohammad.geek@gmail.com
*/
body{
	font:11px tahoma;
	background:#fff url(images/bg.png);
	text-align:center;
	direction:rtl
}
#wrapper{
	width:930px;
	margin:auto;
}
#set-bar{
	width:930px;
	height:100px;
	background:#eaeaea;
	border-bottom:4px solid #37B3DF;
	border-left:0 solid #37B3DF;
	border-right:0 solid #37B3DF;
	border-bottom-right-radius:10px;    
	border-bottom-left-radius:10px;    
	-moz-border-radius-bottomright:10px;    
	-moz-border-radius-bottomleft:10px;    
	-webkit-border-bottom-right-radius:10px;    
	-webkit-border-bottom-left-radius:10px;
	-khtml-border-bottom-right-radius: 10px;
	-khtml-border-bottom-left-radius: 10px;
	-moz-box-shadow: 0 5px 8px #8e8366;
	-webkit-box-shadow: 0 5px 8px #8e8366;
	-khtml-box-shadow: 0 5px 8px #8e8366;
}
#header{
	width:350px;
	height:62px;
	float:right;
	background:url(images/header.png) no-repeat;
	margin:15px 20px 0 0;
}
.switch-box{

width:130px;
float:left
}
.btn-slide{
	text-align:center
}
ul.styleswitch{
	padding:10px;
	border-bottom:1px solid #333;
	border-left:1px solid #333;
	border-right:1px solid #333;
	border-bottom-right-radius:5px;    
	border-bottom-left-radius:5px;    
	-moz-border-radius-bottomright:5px;    
	-moz-border-radius-bottomleft:5px;    
	-webkit-border-bottom-right-radius:5px;    
	-webkit-border-bottom-left-radius:5px;
	-khtml-border-bottom-right-radius:5px;
	-khtml-border-bottom-left-radius:5px;
	-moz-box-shadow: 0 3px 3px #DFDFDF;
	-webkit-box-shadow: 0 3px 3px #DFDFDF;
	-khtml-box-shadow: 0 3px 3px #DFDFDF;
}
.styleswitch{
	display: none;
}
.styleswitch li{
	float:left;
	margin:4px;
	border:2px solid #eaeaea
}
.styleswitch li:hover{
	border:2px solid #00557f
}
#search-box{
	width:260px;
	float:left;
	margin:25px 10px 0 15px;
}
.search-input{
	width:190px;
	float:right;
	padding:4px;
	color:#8f8466;
	background:#CFCBC2;
	font:11px tahoma;
	text-align:right;
	direction:rtl;
	border:1px solid #333;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-khtml-border-radius: 5px;
	box-shadow: 0 1px 3px #333;
	-moz-box-shadow: 0 1px 3px #333;
	-webkit-box-shadow: 0 1px 3px #333;
	-khtml-box-shadow: 0 1px 3px #333;
}
.search-btn{
	padding:3px;
	float:left;
	font:11px tahoma;
	color:#fff;
	cursor:pointer;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-khtml-border-radius: 5px;
	background:#2e2b24;
	border:1px solid #333;	
}
.search-btn:hover{
	background-color:#c15216;
	border:1px solid #6F2700;
}
#nav{
	width:930px;
	height:30px;
	text-align:right;
	margin:20px 20px 0 0
}
#nav ul li{
	font:12px tahoma;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-khtml-border-radius: 5px;
	background:#2e2b24;
	text-shadow:2px 3px 0 #333;
	border:1px solid #333;
	float:right;
	margin:0 3px;
}
#nav ul li:hover{
	background-color:#c15216;
	border:1px solid #6F2700;
}
#nav ul li a{
	color:#FFF;
	text-shadow:1px 1px 0 #333;
	display:block;
	padding:5px 20px;
	
}
#rss{
	width:120px;
	height:60px;
	float:left;
	margin-top:-8px;
	margin-left:20px;
	background:url(images/rss.png) no-repeat
}
.feedb{
	float:right;
	margin-right:10px;
	margin-top:25px;
	color:#ff8317;
	font:bold 17px tahoma;
}
.feedb:hover{
	color:#fff;
}
#content-columns {
	width: 930px;
	margin: 0 auto;
	padding-bottom:40px;
	background: #eeebe2;
	border-bottom:3px solid #9F4700;
	border-top:4px solid #37B3DF;
	border-left:0 solid #37B3DF;
	border-right:0 solid #37B3DF;
	border-top-right-radius:10px;    
	border-top-left-radius:10px;    
	-moz-border-radius-topright:10px;    
	-moz-border-radius-topleft:10px;    
	-webkit-border-top-right-radius:10px;    
	-webkit-border-top-left-radius:10px;
	-khtml-border-top-right-radius: 10px;
	-khtml-border-top-left-radius: 10px;
	-moz-box-shadow: 0 -5px 8px #8e8366;
	-webkit-box-shadow: 0 -5px 8px #8e8366;
	-khtml-box-shadow: 0 -5px 8px #8e8366;
}
#rightbar{
	width:300px;
	float:right;
	margin:10px 10px 0 0;
}
#leftbar{
	width:600px;
	float:left;
	margin:10px 9px 0 9px;
}
#content{
	width:600px;
	float:left;
	padding-bottom:15px;
	border:1px solid #fff;
	background:#fff url(images/bg-content.gif) 0 0 repeat-x;
	border-radius:8px;	
	-moz-border-radius:8px;    
	-webkit-border-radius:8px;    
	-khtml-border-radius: 8px;
	box-shadow: 0 1px 3px #AFAFAF;
	-moz-box-shadow: 0 1px 3px #AFAFAF;
	-webkit-box-shadow: 0 1px 3px #AFAFAF;
	-khtml-box-shadow: 0 1px 3px #AFAFAF;
}
.line{
	width:500px;
	height:22px;
	margin:auto;
	margin-top:10px;
	background:url(images/line.png) no-repeat;
}
.post{
	text-align:right
}
.post h1{
	padding:20px 20px 10px 15px;
	cursor:pointer;
	font:bold 13px tahoma;
	color:#FFAC7F;
	display:block;
		
}
.post h1 a{
	font:bold 13px tahoma;
	color:#FFAC7F;
	display:block;
}
.post h1:hover a{
	color:#c15216;
}
.post-info{
	font:11px tahoma;
	color:#3F3F3F;
	margin:0 5px 5px 0;
	direction:rtl
}
.post-info a{
	font:bold 11px tahoma;
	color:#3fbce5
}
.post-tag{
	margin:20px 0;
}
.post-tag a{
	padding:5px;
	margin:2px;
	background:#DFDFDF;
	color:#2F2F2F;
	border-radius:6px;	
	-moz-border-radius:6px;    
	-webkit-border-radius:6px;    
	-khtml-border-radius:6px;
}
.post-tag a:hover{
	background:#2F2F2F;
	color:#DFDFDF;
}
.entry blockquote {
	background: #f4fdff url(images/blockquote.gif) right top no-repeat;
	border-bottom: 3px solid #e2faff;
	border-top: 3px solid #e2faff;
	margin: 10px 25px;
	padding: 10px 40px 10px 10px;
	color: #797979;
	font-size: 12px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.entry{
	padding:0 5px 5px 5px;
}
.entry img.alignleft, div.alignleft {
float:left;
margin:0 0.5em 0.5em 0;
}
.entry img.alignright, div.alignright {
float:right;
margin:0 0 0.5em 0.5em;
}
.entry img.aligncentered, .entry div.aligncentered, .entry img.aligncenter, .entry div.aligncenter {
text-align:center;
margin:0px auto;
}

.entry div.wp-caption {
padding:2px;
background-color:#F3F3F3;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
text-align:center;
border:1px solid #DDD;
}
.entry div.wp-caption p.wp-caption-text {
margin:0;
padding:3px 0px 0 0px;
color:#000;
font-size:11px;
}
.more-link{
	width:100px;
	float:right;
	font:bold 13px tahoma;
	color:#ffb910;
	margin:5px;
	padding:3px;
	background:#daf5ff
}
.tmeme{
	margin:5px;
	padding:3px;
	width:100px;
	float:left
}
.binary-thumb img{
	width:100px;
	height:100px;
	border:3px solid #19A4CF;
	float:left
}
.page_numbers {
	font: 12px Tahoma;
	color: #666;
	margin: 15px auto 20px auto;
	width: auto;
}
.page_numbers a {
	color: #a6a6a6;
	background-color: #ededed;
	border: 1px solid #e5e5e5;
	padding: 3px 5px;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.page_numbers a:hover {
	color: #fff;
	background-color: #3eddff;
	border: 1px solid #34ccec;
}
#warnbox{
	width:390px;
	margin:auto ;
	padding:5px;
	height:60px;
	margin-top:30px !important;
	margin-bottom:30px !important;
	background:#F8F7F6;
	border:1px solid #E0EBEF;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
#warnimg{
	width:48px;
	height:48px;
	margin:5px;
	float:right;
	background:url(images/warn.png) no-repeat;
}
#warntitle{
	width:320px;
	margin-right:55px;
	margin-top:15px;
	text-align:right;
	direction:rtl;
	position:absolute;
}
.oddcomment {
	width:570px;
	margin:10px;
	padding:5px;
	height:auto;
	text-align:right;
	background:#f4f4f4;
	border:1px solid #DFDFDF;
	border-radius:8px;	
	-moz-border-radius:8px;    
	-webkit-border-radius:8px;    
	-khtml-border-radius: 8px;
}
.authcomment{
	width:570px;
	margin:10px;
	padding:5px;
	text-align:right;
	background:#ffffec;
	border:1px dashed #e9e926;
	border-radius:8px;	
	-moz-border-radius:8px;    
	-webkit-border-radius:8px;    
	-khtml-border-radius: 8px;
}
.comment-childs{
	margin:10px;
	padding:5px;
	text-align:right;
	background:#ffffec;
	border:1px dashed #e9e926;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
}
.avatar img{
	width:55px;
	height:55px;
	padding:2px;
	float:right;
	margin:6px;
	background:#fff;
	border:1px solid #FFAC7F;
	border-radius:2px;	
	-moz-border-radius:2px;    
	-webkit-border-radius:2px;    
	-khtml-border-radius: 2px;
}
.avatar img:hover{
	border:1px solid #c15216;
}
.cm-info{
	width:480px;
	float:right;
	text-align:right;
	padding-right:10px;
}
.cm-info .author{
	font:bold 11px tahoma;
	color:#c15216;
	margin-top:5px;
}
.cm-info .date{
	font:bold 11px tahoma;
	color:#3BC0EF;
	margin-top:5px;
}
#cmform {
	width:570px;
	margin:10px;
	padding:5px;
	background:#fff;
	color: #757575;
	border: 1px solid #eee;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-khtml-border-radius: 8px;
}
#commentform h2{
	font:bold 13px tahoma;
	padding:5px;
}
#commentform form {
	padding: 8px;
	text-align:right;
}
#commentform input#author, #commentform input#email, #commentform input#url {
	background-color: #fcfcfc;
	border: 1px solid #e4e4e4;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
	width: 220px;
	padding: 5px;
	margin: 5px;
	float:right;
	color: #505050;
	font: 12px Tahoma;	
}
.fcm{
	clear:both
}
#commentform input#email, #commentform input#url {
	direction: ltr;
}
#commentform input#author:focus, #commentform input#email:focus, #commentform input#url:focus, #commentform textarea#comment:focus {
	background-color: #f8feff;
	border: 1px solid #96e5ff;
}
#commentform textarea#comment {
	background: #fcfcfc ;
	border: 1px solid #e4e4e4;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	padding: 5px;
	margin: 5px;
	margin-right:130px !important;
	width: 70%;
	color: #505050;
	font: 12px Tahoma;
}
#commentform input#submit {
	background-color: #2e2b24;
	padding: 3px 12px;
	margin: 8px 150px 0 0;
	color: #fff;
	font: bold 12px tahoma;
	border: none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	cursor: pointer;
}
#commentform input#submit:hover{
	background-color: #c15216;
}
#commentform input#submit:focus {
	background-color: #ddd;
	color: #555;
}
#commentform label {
	margin-top:8px;
	margin-right: 3px;
	width:135px;
	float:right;
	clear:left;
	text-align:right;
}
#commentform label span {
	font-size: 10px;
}
.tabing {
	background: transparent;
	margin-bottom: 15px;
	margin:10px 0;
}
.htabs {
	overflow: hidden;
	padding: 5px;
}
.htabs li h2 a {
	font-size: 12px;
	font-weight: normal;
	padding: 5px;
	background-color: #f9f9f9;
	border: none;
	color: #cacaca;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.htabs h2 a:hover, .htabs h2 a:focus {
	color: #515151;
	background-color: #fff;
}
ul.htabs li {
	float: right;
	padding: 5px;
}
.tabs {
	margin-top: 2px;
	overflow: hidden;
}
.menu h3{
	font:bold 13px Tahoma;
	text-align:right;
	display:block;
	color:#4F4F4F;
	padding:4px 15px 4px 4px ;
	text-shadow:0 1px 1px #fff;
}
.mbox{
	background: #fff;
	border-top:3px solid #DFDFDF;
	border-bottom:3px solid #DFDFDF;
	border-left:1px solid #DFDFDF;
	border-right:1px solid #DFDFDF;
	width:298px;
	margin-bottom:5px;
	padding:10px 0 ;
	border-top-right-radius:10px;    
	border-top-left-radius:10px;    
	-moz-border-radius-topright:10px;    
	-moz-border-radius-topleft:10px;    
	-webkit-border-top-right-radius:10px;    
	-webkit-border-top-left-radius:10px;
	-khtml-border-top-right-radius:10px;
	-khtml-border-top-left-radius:10px;
	border-bottom-right-radius:10px;    
	border-bottom-left-radius:10px;    
	-moz-border-radius-bottomright:10px;    
	-moz-border-radius-bottomleft:10px;    
	-webkit-border-bottom-right-radius:10px;    
	-webkit-border-bottom-left-radius:10px;
	-khtml-border-bottom-right-radius:10px;
	-khtml-border-bottom-left-radius:10px;	
}
.mbox ul li{
	display:block;
	text-align:right;
	padding:6px;
	border-bottom:1px solid #eee;
	cursor:pointer;
}
.mbox ul li:hover{
	background:#EFE5E0;
}
.mbox ul li a{
	font:11px tahoma;
	color:#9F4700;
}
#twitter-box{
	width:296px;
	margin-top:50px;
	background:#fff;
	background:-webkit-gradient(linear,left top,left bottom,from(#CFF2FF),to(#DFF7FF));
	background:-moz-linear-gradient(top,#CFF2FF,#DFF7FF);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CFF2FF',endColorstr='#DFF7FF');
	border:2px solid #fff;
	border-radius:12px;
	-moz-border-radius:12px;
	-webkit-border-radius:12px;
	-khtml-border-radius: 12px;
	box-shadow: 0 2px 2px #AFEAFF;
	-moz-box-shadow: 0 2px 2px #AFEAFF;
	-webkit-box-shadow: 0 2px 2px #AFEAFF;
	-khtml-box-shadow: 0 2px 2px #AFEAFF;
}
#twlogo{
	width:129px;
	height:111px;
	background:url(images/tw.png) no-repeat;
	position:absolute;
	float:right;
	margin-right:150px;
	margin-top:-80px
}
#twtitle{
	width:61px;
	height:25px;
	background:url(images/tw-title.png) no-repeat;
	position:relative;
	float:right;
	top:-10px;
	right:10px
}
#twflow{
	font:bold 11px tahoma;
	color:#1F1F1F
}
#twflow a{
	color:#c15216
}
#tw-text{
	padding:30px 10px 10px 10px;
	text-align:right;
}
.twitts{
	font:bold 14px tahoma;
	position:relative;
	text-align:right;
	top:22px;
	right:12px;
	color:#c15216;
}
.tweets{
	line-height:170%;
	width:280px;
}
.tweets li{
	font-weight:bold;
	color:#00557F;
	padding-bottom:5px;
	border-bottom:1px dotted #fff;
}
.tweets li a{
	font-weight:normal
}
#footerbox{
	width:930px;
	background:#1f1b1b;	
}
.fbox{
	width:31%;
	margin:10px 5px;
	float:right;
}
.fbox h3{
	font:bold 14px Tahoma;
	text-align:right;
	color:#CFCFCF;
	margin:8px;
	text-shadow:0 1px 1px #0F0F0F;	
}
.fbox ul li{
	color:#CFCFCF;
	display:block;
	margin:0 auto;
	text-align:right;
	padding:5px 20px 5px 5px;
	cursor:pointer;
	border-top:1px solid #1F1B1B;
}
.fbox ul li:hover{
	border-top:1px solid #2F2C2C;
	border-left:0px solid #2F2C2C;
	border-right:0px solid #2F2C2C;
	border-radius:6px;
	-moz-border-radius:6px;    
	-webkit-border-radius:6px;    
	-khtml-border-radius: 6px;
}
.fbox ul li:hover a{
	color:#3BC0EF;	
}
.fbox ul li a{
	color:#EFEFEF;
}
.fbox .ctc{
	text-align:right;
	line-height:200%;
}
.fbox  .ctc-tag{
	font:11px tahoma;
	color:#EFEFEF;
	padding:5px;
	margin:2px;
}
.fbox .ctc-tag:hover{
	background:#0F0700;
	color:#3BC0EF;
	border-radius:7px;
	-moz-border-radius:7px;    
	-webkit-border-radius:7px;    
	-khtml-border-radius: 7px;
}
ul li.recentcomments{
	background:url(images/cm.png) right center no-repeat;
}
ul li.recentcomments:hover{
	background:#0F0700 url(images/cmh.png) right center no-repeat;
}
ul li.lastnews{
	background:url(images/news.png) right center no-repeat;
}
ul li.lastnews:hover{
	background:#0F0700 url(images/newsh.png) right center no-repeat;
}
#copyright{
	width:930px;
	height:50px;
	background:#0f0f0f;
	border-top:1px solid #3F3F3F
}
#wplogo{
	width:40px;
	height:40px;
	margin:5px 10px 0 10px;
	float:right;
	background:url(images/wp.png) top center no-repeat
}
#wplogo:hover{
	background:url(images/wp.png) bottom center no-repeat
}
.cp{
	margin:15px 20px 0 0;
	color:#EFEFEF;
	text-align:right;
}
.cp a:hover{
	color:#6FB7DF;
}
::-moz-selection {
	background-color: #3BC0EF;
	color: #fff;
}
::selection {
	background-color: #3BC0EF;
	color: #fff;
}
.clear{
	clear:both
}
a{	
	color:#19A4CF;
	text-decoration:none;
}
a:hover{
	color:#2F2F2F
}
.sociable{
	margin:10px;
}
.sociable ul li{
	display:inline
}
.stat-widget{
	text-align:right;
	font:12px tahoma;
	color:#BFBFBF;
	padding:5px;
}
.stats{
	font:bold 14px tahoma;
	color:#c15216;
}
#web2ico{
	width:16px;
	height:auto;
	float:left;
	margin:10px 0 0 10px;
}
#web2ico img{
	margin-bottom:3px;
}

.form-line{
	clear:both;
	margin:3px auto 
}
.form-line label{
	width:120px;
	padding:3px 5px;
	float:right;
	text-align:right;
	background:#e0e0e0;
	color:#414141;
	border-bottom:1px solid #414141
}
.form-line .field{
	min-width:230px;
	float:right
}
.form-line .field input{
	float:left;
	width:220px;
	padding:3px 5px;
	color: #505050;
	font: 12px Tahoma;
	background-color: #fcfcfc;
	border: 1px solid #e4e4e4;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
}
.form-line .field input:focus{
	background-color: #efe5e0;
	border: 1px solid #c15216;
}
.form-line .field textarea{
	float:left;
	width: 320px;
	height:160px;
	padding:3px 5px;
	color: #505050;
	font: 12px Tahoma;
	background-color: #fcfcfc;
	border: 1px solid #e4e4e4;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
}
.form-line .field textarea:focus{
	background-color: #efe5e0;
	border: 1px solid #c15216;
}

.form-line .field .captcha  input{
	background-color: #fcfcfc;
	border: 1px solid #e4e4e4;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	width: 120px;
	padding: 5px;
	margin: 5px;
	color: #505050;
	font: 12px Tahoma;	
}
.form-line .field  .captcha  input:focus{
	background-color: #efe5e0;
	border: 1px solid #c15216;
}
.form-line .field .wpcf7-submit{
	background-color: #2e2b24;
	width:85px;
	padding: 3px 12px;
	color: #fff;
	font: bold 12px tahoma;
	border: none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	cursor: pointer;
}
.form-line .field  .wpcf7-submit:hover{
	background-color: #c15216;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}
ol, ul {
	list-style: none;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}