﻿/*
Theme Name: deCoder
Theme URI: http://webdemar.com/wordpress/wordpress-theme-decoder-09/
Description: قالب رمادي غامق بشريط أزرق ، تصميم <a href="http://webdemar.com">webdemar</a>  تعريب <a href="http://kaizen.ws">عبدالعزيز الهميلي</a> [maxdes3@gmail.com] .
Version: 0.9.1
Author: webdemar
Author URI: http://webdemar.com
Translations: <a href="http://kaizen.ws">عبدالعزيز الهميلي</a> .
Tags: black, dark, blue, two-columns, fixed-width, right-sidebar, threaded-comments, sticky-post
*/

/*
	- GENERAL
	- BASIC LAYOUT
	- HEADINGS
	- HEADER
	- CONTENT
		+ CONTENT LEFT
		+ CONTENT RIGHT
	- BASIC CSS ELEMENTS
	- FORMS
		+ GENERAL
		+ SEARCHFORM
		+ COMMENTFORM
	- FOOTER
	- USEFUL
		+ WORDPRESS CSS
		+ WIDGETS CSS

/*	##################################
   	GENERAL
	################################## */
	
body {
	margin: 0px;
	padding: 0px;
	background: #ECECEC url(img/bg-body-blue.png) repeat-x left top;
	color: #000;
	font-family: tahoma, Arial, sans-serif;
	font-size: 11px;
	direction:rtl;
}

#menu{
	width:972px;
	background: url(img/bg-menu.png) repeat-x;
	border-left:2px solid #F13000;
	border-right:2px solid #F13000;
}

a {
	color: #c00;
}

p {
	margin: 0 0 20px 0;
	padding: 0px;
	line-height: 22px;
}

img {
	border: none;
}

/*	##################################
   	BASIC LAYOUT
	################################## */
	
#page {
	width: 980px;
	margin: 0 auto;
}
	
#header {
	position: relative;
	height: 180px;
	background: url(img/bg-header.jpg) no-repeat left top;
	z-index: 2; /* IE z-index bug */
	border-left:2px solid #D7D7D7;
	border-right:2px solid #D7D7D7;
}

#content {
	background: url(img/bg-content.gif) repeat-y right top;
	z-index: 1; /* IE z-index bug */
	background-color: #ffffff;
	border-left:2px solid #D7D7D7;
	border-right:2px solid #D7D7D7;

}

#content-left {
	float: left;
	width: 630px;
	padding: 40px 0;
}

#content-right {
	float: right;
	width: 290px;
}

/*	##################################
   	HEADINGS
	################################## */
	
h1#blog-title {
	float: right;
	margin: 33px 20px 0 10px;
	padding: 0px;
	font-weight: bold;
	font-size: 25pt;
	font-family: "Tahoma",arial;
}

h1#blog-title a {
	color: #000000;
	text-decoration: none;
}

h1#blog-title a:hover {
	text-decoration: underline;
}

h2#blog-description {
	float: right;
	margin: 67px 10px 0 0;
	padding: 0px;
	color: #c00;
	font-size: 11px;
	font-weight: normal;
}

h2#category-title {
	margin: -10px 0 30px 0;
		font-size: 19pt;
	font-family:Arial, sans-serif;
	font-weight:bolder;

}

h3.post-title {
	margin: 0 0 12px 0;
	padding: 0px;
	color: #006990;
	font-size: 22pt;
	font-family:Tahoma, sans-serif;
	font-weight:bolder;
}

h3.post-title a {
	color: #FF740B;
	text-decoration: none;
	border-bottom: 1px dotted #FFB780;
}

h3.post-title a:hover {
	border-bottom: none;
}

h4.sidebar-title {
	margin: 0 0 10px 0;
	padding: 0px;
	color: #FF740B;
	font-size: 16pt;
	font-family:Arial, sans-serif;
}

h4.content-title {
	margin: 0 0 20px 0;
	padding: 0px;
	color: #c00;
	font-size: 14px;
}

/*	##################################
   	HEADER
	################################## */

#rss {
	position: absolute;
	right: 0px;
	bottom: 40px;
	line-height: normal;
	padding-right: 10px;
}

#rss a {
	display: block;
	padding: 0 30px 0 0;
	background: url(img/bg-rss.png) no-repeat right center;
	line-height: 40px;
	text-align: left;
	text-decoration: none;
	color: #c00;
}

#rss a:hover {
	text-decoration: underline;
}

/* For menu styles please edit /lib/superfish.css */

/*	##################################
   	CONTENT
	################################## */
	
/** CONTENT LEFT */

.box-left, .post, .page {
	margin: 0 0 40px 0;
}

.sticky {
	padding: 20px;
	background: #ffffff;
	border: 1px solid #3a3a3a;
}

.tags {
	padding: 0 20px 0 0;
	background: url(img/bg-tags.gif) no-repeat right center;
}
	
.meta {
	padding: 10px 0 0 0;
	background: url(img/bg-meta.gif) repeat-x right top;
	color: #f8dec7;
	border-top: 1px dotted #5d5d5d;
	clear: both;
	float:left;
}

.meta-date {
	
	float:left;
	color: #c00;
	padding: 0 20px 2px 5px;
	background: url(img/bg-meta-date.gif) no-repeat right center;
}

.meta-categories {
	padding: 0 20px 2px 15px;
	background: url(img/bg-meta-categories.gif) no-repeat right center;
}

.meta-comments {
	padding: 0 20px 2px 15px;
	background: url(img/bg-meta-comments.gif) no-repeat right center;
}

.box-left ul, ol, .post ul, ol, .page ul, ol {
	margin: 0 0 20px 0;
	line-height: 22px;
}

.box-left ul, .post ul, .page ul {
	padding: 0 0 0 20px;
	list-style: none;
}

.box-left ul li, .post ul li, .page ul li {
	margin: 0px;
	padding: 0 20px 0 0px;
	background: url(img/bg-list-item-content.png) no-repeat right center;
}

/** CONTENT RIGHT */

.box-right {
	margin: 0px;
	padding: 20px 20px 25px 20px;
	background: url(img/bg-box-right.gif) repeat-x right bottom;
}

.box-right ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.box-right li {
	margin: 0px;
	padding: 5px 10px 5px 0px;
	background: url(img/bg-list-item-sidebar-blue.gif) no-repeat right 10px;
}

.box-right li a {
	color: #c00;
	padding: 5px 0;
	text-decoration: none;
}

.box-right li ul {
	padding: 5px 0 0 0;
}

/*	##################################
   	BASIC CSS ELEMENTS
	################################## */
	
hr {
	height: 1px;
	margin: 20px 0;
	background: #3a3a3a;
	border: none;
}
	
table {
	width: 100%;
	margin: 0 0 20px 0;
}

th, td {
	padding: 5px 10px;
}

th {
	background: #006990;
	color: #fff;
}

tr.even {
	background: #ffffff;
}

pre {
	margin: 0 0 20px 0;
	padding: 20px;
	background: #ffffff;
	line-height: 22px;
	border: 1px solid #3a3a3a;
	font-family: tahoma, Arial, sans-serif;
	overflow-x: scroll;
	overflow-y: visible;
}

blockquote {
	padding: 0 20px 0 10px;
	border-right: 5px solid #ffffff;
}

/*	##################################
   	FORMS
	################################## */
	
/** GENERAL */

fieldset {
	margin: 0 0 40px 0;
	padding: 0 40px 40px 40px;
	background: #ffffff;
	border: none;
}

legend {
	color: #006990;
	font-size: 14px;
}

label {
	display: block;
	margin: 0 0 5px 0;
}
	
input, textarea {
	width: 50%;
	height: 23px;
	margin: 0 0 20px 0;
	padding: 7px 5px 0 5px;
	color: #5d5d5d;
	background: #fff url(img/bg-form-input.png) repeat-x left top;
	border: none;
	font-family: Tahoma;
}

textarea {
	width: 80%;
	height: 150px;
}

select {
	margin: 0 0 20px 0;
}

input.radio, input.checkbox {
	width: auto;
	height: auto;
	margin: 0px;
	padding: 0px;
	background: #fff;
}

input.submit, input.button {
	width: auto;
	height: 30px;
	margin: 0px;
	padding: 0 20px;
	background: url(img/bg-form-submit-blue.png) no-repeat left top;
	border: none;
	color: #fff;
}
	
/** SEARCHFORM */

#content #searchform {
	width: 250px;
}
	
#searchform #search {
	float: right;
	width: 200px;
	height: 23px;
	padding: 7px 5px 0 5px;
	color: #5d5d5d;
}

#searchform #search-submit {
	float: left;
	width: 35px;
	height: 30px;
	margin: 0px;
	padding: 0px;
}

/** COMMENTFORM */

#comments, #trackbacks {
	margin: 40px 0 0 0;
}


#trackbacks {
	margin: 20px 0 0 0;
}


.comment {
	padding: 0 40px 40px 40px;
	background: #ffffff;
}


#trackbacks ul {
	margin: 0 0 40px 0;
	padding: 40px 40px 30px 40px;
	background: #ffffff;
	list-style: none;
}


#trackbacks li {
	margin: 0 0 10px 0;
	padding: 0 0 0 20px;
	line-height: 22px;
	background: url(img/bg-list-item-content.png) no-repeat 0px 4px;
}

.first {
	padding: 40px;
}


#response {
	margin: 60px 0 0 0;
}

#response fieldset {
	padding: 40px;
}


.comment-left, #commentform-left {
	float: left;
	width: 120px;
	height: 120px;
	background: url(img/bg-commentform-left.gif) no-repeat right top;
}

.comment-right, #commentform-right {
	float: left;
	width: 430px;
	min-height: 120px;
}

#respond{ width: 480px; background: #E4E4E4;}
.comment-text {
	padding: 20px;
	background: #fff url(img/bg-form-input.png) repeat-x left top;
	color: #5d5d5d;
	line-height: 22px;
}


#respond textarea {
	width: 420px;
	height: 100px;
	margin: 0px 10px;
	padding: 5px;
}


#respond label {padding-right:10px;	display: block;
	line-height: 20px;
}


#respond input.text {	width: 300px;
	height: 20px;
	margin: 0px 10px;
	padding: 5px; border-left:1px solid #0000;
}


#respond input.submit {	float: right;
	height: 30px;
	margin: 20px 10px 10px 0;
	padding: 0 20px;
}


.comment-author {
	margin: 0px;
	padding: 5px 0;
	color: #006990;
	font-size: 14px;
}


.comment-author a {
	color: #006990;
	text-decoration: none;
}


.comment-author a:hover {
	text-decoration: underline;
}

/** COMMENTS IN WP 2.7 */

#commentfieldset {
	padding: 20px 40px;
}

.commentlist ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.commentlist li {
	width: 580px;
	border: 1px dotted #ff5006;
	margin: 20px 0 0 0;
	padding: 20px 20px 1px 0px;
	background: #ffff;
	list-style: none;
}

.commentlist .avatar {
	float: right;
	margin: 0 20px 10px 20px;
}

.commentlist li a {
	color: #f8dec7;
}

.commentlist li p {
	margin: 0 0px 20px 20px;
}

.commentlist .comment-meta {
	margin: 0 0 20px 0;
}

.commentlist .comment-author a {
	
	padding: 0 0 5px 0;
	color: #c00;
	font-weight: bold;
}


.commentlist ul.children {
	margin: 0px;
	padding: 0px;
}

.commentlist .children li {
	margin: 20px 0 0 0;
	padding: 20px 20px 20px 0px;
	background: none;
	border: 1px solid #3a3a3a;
	border-right: none;
}

#cancel-comment-reply {
	margin: 5px 0 20px 0;
}

#cancel-comment-reply a {
	color: #6a6a6a;
}

.commentlist li.depth-1, .commentlist li.depth-3, .commentlist li.depth-5 {
	background: #ffff
;
}

.commentlist li.depth-2, .commentlist li.depth-4, .commentlist li.depth-6 {
	background: #3a3a3a;
}

/*	##################################
   	FOOTER
	################################## */
	

#footer-wrap {
	width: 976px; 
	border-left:2px solid #F13000;
	border-right:2px solid #F13000;
background: url(img/bg-footer-wrap-blue.png) repeat-x left top;
}


#footer {
	width: 960px;
	margin: 0 auto;
}



#footer p {

	margin: 0px;
	padding: 0px;
	line-height: 40px;
}

#legal {
	float: left;
	width: 450px;
}

#webdemar {
	float: right;
	width: 450px;
	text-align: right;
}

#webdemar a{
	text-decoration: none;
}

/*	##################################
   	USEFUL
	################################## */

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

.clear {
	clear: both;
}

/** WORDPRESS CSS */

.aligncenter,
div.aligncenter {
   	display: block;
   	margin: 0 auto;
}

.aligncenter {
	margin-bottom: 20px!important;
}

.alignleft {
   	float: left;
   	margin: 0 20px 20px 0;
}

.alignright {
   	float: right;
   	margin: 0 0 20px 20px;
}

.wp-caption {
	margin-bottom: 20px;
	padding-top: 4px;
   	border: 1px solid #3a3a3a;
   	text-align: center;
   	background-color: #ffffff;
}

.wp-caption img {
   	float: none;
   	margin: 0px;
   	padding: 0px;
   	border: none;
}

.wp-caption p.wp-caption-text {
   	padding: 0px;
  	margin: 0px;
}

/** WIDGETS CSS */

#calendar_wrap table {
	width: 100%;
}

#calendar_wrap td {
	text-align: center;
}

#wp-calendar caption {
	margin: 0 0 10px 0;
	padding: 2px;
	background: #3a3a3a;
}
