/*
Theme Name: Cleaker
Theme URI: http://naghies.ir/
Description: An original design by Adam Walker Cleaveland of <a href="http://cleavedesign.com" title="cleave design">cleave design</a>. This theme utlizes XHTML and CSS, some code from Kubrick and beautiful icons from FamFamFam.Reformed By <a href="http://www.naghies.ir/" title="Take OFF Your Scarf!!">Naghies.ir</a>.
Version: 2.0 Persian
Author: Adam Walker Cleaveland
Author URI: http://pomomusings.com/design/
*/

/***** GLOBAL FORMATTING *****/

* {
  padding: 0;
  margin: 0;
}

body {
  background: #809ab1 url(images/bg_blue.gif) repeat-x;
  font-size: 12px;
  color: #000;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

img {
  border:0;
}

a {
  color: #d08128;
  text-decoration: none;
}

a:hover {
  color: #49647d;
  text-decoration: underline;
}

a:visited {
  color: #49647d;
}


/***** STRUCTURE FORMATTING *****/

#wrapper {
  display: block;
  margin: 0 auto;
  width: 900px;
  position: relative;
  background: #fff url(images/contentBg2.gif) repeat-y;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
}

#header {
  width: 900px;
  background: #fff url(images/header.gif) top center no-repeat;
  height: 104px;
  margin-top: 0;
  color: #fff;
}

.title {
  padding: 5px 5px 5px 20px;
  color: #fff;
}

#Nav {
  display: block;
}

#content {
  width: 510px;
  float: left;
  color: #000;
  padding: 20px;
  direction : rtl;
}

#sidebarRight {
  width: 135px;
  float: right;
  color: #000;
  background: #dcddca;
  padding: 20px;
  direction : rtl;
}

* html #sidebarRight {
  width: 135px;
}

#sidebarLeft {
  width: 135px;
  float: right;
  color: #000;
  padding: 20px;
  direction : rtl;
}

* html #sidebarLeft {
  width: 120px;
}

#footer {
  clear: both;
  width: 871px;
  background: #000;
  color: #fff;
  text-align: left;
  height: 33px;
  padding: 8px 8px 12px 21px;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
}

#footer a {
  color: #fff;
}

/***** NAVIGATION BAR FORMATTING *****/

ul#Nav {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 900px;
  float: left;
  background: #49647d url(images/navOnBlue.gif) repeat-x;
  font-family: Tahoma, Lucida, Arial, sans-serif;
  font-size: 14px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

ul#Nav li {
  float: right;
  border-left: 1px solid #fff;
}

ul#Nav li.first {
  border-left: none;
}

ul#Nav a {
  display: block;
  float: left;
  padding: 0 1.45em;
  line-height: 25px;
  text-decoration: none;
  color: #fff;
}

ul#Nav a:hover {
  background: #cf7f26 url(images/navOff.gif) repeat-x;
  text-decoration: none;
}

ul#Nav li.current_page_item a {
  color: #fff;
  background: url(images/navOff.gif) repeat-x;
  text-decoration: none;
}


/***** GENERAL TEXT FORMATTING *****/

.post {
  margin-bottom: 20px;
}

blockquote {
  color: #000;
  margin: 0 30px 20px 30px;
  border-left: 1px solid #515151;
  border-right: 1px solid #515151;
  border-top: 1px solid #515151;
  background:  #e8e9dc;
  padding: 10px 10px 4px 10px;
  font-style: italic;
  font-family: "Lucida Grande", Lucida, Verdana, Arial, Helvetica, sans-serif;
}

/***** MAIN POSTS FORMATTING *****/

p {
  margin-bottom: 15px;
  line-height: 1.6em;
}

p.center {
  text-align: center;
}

.postmeta {
  background: #e4e5d4;
  border: 1px solid #a0abb4;
  padding: 3px;
  font-size: 10px;
}

.small {
  font-size: 10px;
}

h1 {
  font-size: 20px;
  letter-spacing: -0.8px;
  text-align: left;
  font-weight: normal;
  margin-bottom: 8px;
  font-family: Tahoma, "Trebuchet MS", "Lucida Grande", Lucida, Arial, sans-serif;
  text-align:right;
}

h1.title {
  font-size: 52px;
  letter-spacing: -5px;
  font-weight: normal;
  padding: 10px 10px 10px 17px;
   text-align:left;
}

h4 {
  margin: -5px 0 10px 0;
  padding: 0;
  font-weight: normal;
  font-size: 10px;
  color: #424040;
}

/***** LISTS FORMATTING *****/

html>body .post ul {
  margin-left: 0px;
  padding: 0 0 10px 30px;
  list-style-image: url(images/bullet.png);
  padding-left: 30px;
}

html>body .post li {
  margin: 7px 0 8px 10px;
}

.post ol {
  padding: 0 0 0 35px;
  margin: 0;
}

.post ol li {
  margin: 0;
  padding: 0;
  }

/***** SIDEBAR FORMATTING *****/

h2 {
  font-size: 14px;
  letter-spacing: -0.8px;
  text-align: right;
  padding:  2px;
  text-transform: uppercase;
  font-weight: normal;
  color:  #49647d;
  border-bottom: 2px #fff solid;
  margin-bottom: 5px;
  font-family: Tahoma, "Trebuchet MS", "Lucida Grande", Lucida, Arial, sans-serif;
}

* html h2 {
 text-align: right;

}

#searchform {
  display: inline;
  float: right;
  margin: 0 20px 0;
  padding: 10px 0 0;
  text-align: right;
}

* html #searchform {

  text-align: right;
}

#searchform #s {
  width: 160px;
  padding: 4px;
  margin: 0 0 5px 0;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  font-size: 11px;
  font-family: Tahoma;
}

#searchIcon {
  padding: 2px;
  color: #000;
  display: inline;
}

.sidebarIcon ul, .sidebarIcon ol {
  margin: 0 0 1em 0;
  font-size: 11px;
}

.sidebarIcon ul {
  list-style-image: url(images/tag.png);
  list-style-position: inside;
}

.sidebarIcon li {
  margin: 0 0 0.2em 0;
}

.sidebarIcon ul li ul, .sidebarIcon ul li ol, .sidebarIcon ol li ul, .sidebarIcon ol li ol {
  margin: 0.5em 0 0.5em 5px;
}

.sidebar ul, .sidebar ol {
  margin: 0 0 1em 0;
  font-size: 11px;
}

.sidebar ul {
  list-style-type: none;
}

.sidebar li {
  margin: 0 0 0.6em 0;
}

.sidebar ul li ul, .sidebar ul li ol, .sidebar ol li ul, .sidebar ol li ol {
  margin: 0.5em 0 0.5em 5px;
}

#sidebarRight a {
  color: #d8882f;
  text-decoration: none;
}

#sidebarRight a:hover {
  background: none;
  color:  #49647d;
  text-decoration: underline;
}

#sidebarLeft a {
  color: #d8882f;
  text-decoration: none;
}

#sidebarLeft a:hover {
  background: none;
  color:  #49647d;
  text-decoration: underline;
}

#sidebarLeft a:visited {
  color: #49647d;
}

/***** FOOTER FORMATTING *****/

#footer p {
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-align: left;
  letter-spacing: -0.1px;
  margin-bottom: 0px;
}

#footer a {
  color: #afb65b;
  text-decoration: none;
}

#footer a:hover {
  color: #5c7c9a;
  background: none;
}

#icons {
  display: inline;
  margin-top: -30px;
  float: right;
  text-align: right;
}

#footerIcons {
  padding: 2px;
  color: #000;
  display: inline;
  float: right;
}

/***** IMAGE FORMATTING *****/

img.post {
  padding: 5px;
  border: 1px solid #000;
  margin: 10px;
  float: right;
}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  border: 1px solid #000;
}

img.alignright {
  padding: 5px;
  border: 1px solid #000;
  background: #fff;
  margin: 10px;
  display: inline;
}

img.alignleft {
  padding: 5px;
  border: 1px solid #000;
  margin: 8px;
  display: inline;
}

.alignright {
  float: right;
}

.alignleft {
  float: left
}

/***** COMMENTS FORMATTING *****/

#commentform input {
  width: 170px;
  padding: 2px;
  margin: 5px 5px 1px 0;
  border: 1px solid #49647d;
}

#commentform textarea {
  width: 500px;
  padding: 5px;
  margin: 2px;
  border: 1px solid #49647d;
  font-family: Tahoma;
  font-size: 12px;
}

#commentform #submit {
  margin: 0;
  float: right;
  border: 1px solid #49647d;
  font-family: Tahoma;
}

.commentlist li, #commentform input, #commentform textarea {
  font-size: 11px;
}

.commentlist li {
  font-weight: bold;
}

.commentlist cite, .commentlist cite a {
  font-weight: bold;
  font-style: normal;
  font-size: 1.1em;
}

.commentlist p {
  font-weight: normal;
  line-height: 1.5em;
  text-transform: none;
}

#commentform p {
  font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

.commentmetadata {
  font-weight: normal;
  font-size: 10px;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

.alt {
  margin: 0;
  padding: 10px;
}

.commentlist {
  padding: 0;
  text-align: justify;
}

.commentlist li {
  margin: 10px 0 3px;
  padding: 5px 10px 3px;
  list-style: none;
}

.commentlist p {
  margin: 10px 5px 10px 0;
}

#commentform p {
  margin: 5px 0;
}

.nocomments {
  text-align: center;
  margin: 0;
  padding: 0;
}

.commentmetadata {
  margin: 0;
  display: block;
}

.navigation {
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 60px;
}

.postspermonth {
  margin: 5px 0 10px 0;
  list-style: none;
  padding-left: 25px;
}