/*
Theme Name: CSS Ray
Theme URI: http://cssray.com/
Description: This is a WP theme designed espesially for cssray.com
Version: 1.0
Author: Vahid Reza Kamali
Author URI: http://cssray.com/
*/


* {margin:0; padding:0;}
html, body{height:100%;} 
body {
	font-size: 62.5%;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	background: #f0eee9 url('images/nav-bg.gif') repeat-x top left;
	color: #333;
	text-align: center;
	}
ul, ol {list-style-type: none;}
.hidden {display: none;}
.clear {clear: both;}

hr {display: none;}
a:active {outline: none;}
a:focus {-moz-outline-style: none;}
a img {border: none;}
a {
	text-decoration: none;
	color: #63586d;
	}
a:hover {
	color: #857692;
	}

h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color:#6e6e6d;
	}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color:#6e6e6d;
	}
h1 { font-size: 1.3em;}
h2 { font-size: 1.3em;}
h3 { font-size: 1.3em;}
h4 { font-size: 1.1em;}
h5 { font-size: 1.0em;}
h6 { font-size: 0.9em;}

/* ############## Clearfix ############## */
.clearfix:after {
    content:"."; 
    display:block; 
    height:0; 
    clear:both; 
    visibility:hidden;
}
.clearfix {display:inline-block;}
/* mac hide \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide */

#outer {
	min-height:100%;
	height:auto;
	background: url('images/bg.jpg') repeat-y center top;
	}
#inner {
	background: url('images/bg-top.jpg') no-repeat center top;
	}
#page {
	text-align: left;
	width: 930px;
	margin: 0 auto;
	}
#nav {
	font-size: 1.2em;
	font-family: Arial, Helvetica, sans-serif;
	height: 42px;
	margin-bottom: 15px;
}
#nav ul {
	float: left;
	height: 42px;
}
#nav ul li {
	float: left;
	height: 42px;
	}
#nav ul li a {
	float: left;
	height: 42px;
	padding: 0 10px;
	line-height: 42px;
	color:#9c999e;
	}
#nav ul li.current_page_item a {
	color: #bfbdba;
	font-weight: bold;
	}
#searchform {
	margin-top: 6px;
	}
#searchform input.text {
	color: #a09da2;
	font-size: 1.0em;
	font-family:Arial, Helvetica, sans-serif;
	width: 228px;
	height: 16px;
	padding: 5px 5px 5px 30px;
	border:none;
	background: url('images/search.png') no-repeat left top;
	}

#header {
	font-size: 1.1em;
	height: 107px;
	font-family: Arial, Helvetica, sans-serif;
	margin-bottom: 18px;
	}
#logo {
	position: relative;
	left: -18px;
	height: 107px;
	float: left;
	}
#rss {
	line-height: 20px;
	height: 52px;
	float: right;
	margin-top: 25px;
	padding-right: 40px;
	text-align: right;
	background: url('images/rss.gif') no-repeat right top;
	color: #81817f;
	font-size: 1.1em;
	font-weight: bold;
	}
	
.content {
	font-size: 1.1em;
	}
.brown-box {
	color: #54544c;
	margin-bottom: 15px;
	padding: 15px;
	min-height: 1px;
	}
.brown-box a {
	color: #969688;
	font-weight: bold;
}

div.brown-box {
	background: #e8e7e2 url('images/brown-box-bg.gif') repeat-x left bottom;
	margin-right: 25px !important;
	}
ul.brown-box {
	background-color: #edeceb;
	margin-bottom: 0;
	border: 1px solid #e4e3e2;
	}
#col1 {
	float: left;
	width: 645px;
	padding-bottom: 40px;
	}
.post {
	margin-right: 25px !important;
	font-size: 1.1em;
	text-align: justify;
	border: 1px solid #e9e8e8;
	background-color: #fdfcfb;
	padding: 15px 28px 30px 29px;
	margin-bottom: 30px;
	/* **** */
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	}
.post h2 {
	font-size: 1.4em;
	margin-bottom: 10px;
	}
#col1 .entry {
	line-height: 1.4em;
	}
		
.entry .yapb-border img {
	border: 1px solid #ccc;
	}

.css-box {
	float:left;
	width: 300px;
	height: 256px;
	margin-bottom: 14px;
	margin-right: 14px;
	font-size: 1.1em;
	background: #edebe8 url('images/css-box.jpg') no-repeat left top;
	}
.css-box-inner {
	width: 280px;
	float:left;
	padding: 5px 10px;
	}
.css-box h2, .css-box h2 a {
	font-size: 1.05em;
	}
.css-box h2 {
	margin-bottom: 5px;
	}
.ratingtext {
	font-size: 0.9em;
	color: #8d8b90;
	}
/*
ratingstars {
	width: 95px;
	}
*/

#col2 {
	padding-bottom: 40px;
	width: 250px;
	float: right;
	font-size: 1.1em;
	}
#col2 a {color: #54544c;}
#col2 ul ul {
	background-color: #edeceb;
	border: 1px solid #e4e3e2;
	padding: 15px;
	}
#col2 ul ul ul {padding:0;background:none;}
#col2 ul h4 {
	padding: 15px;
	}
#col2 ul.tags li a {
	font-weight: bold;
	color:#6e6e6d;
	}
#col2 ul.tags {
	margin-bottom: 15px;
	}
#col2 ul.tags li {
	font-family: Georgia, "Times New Roman", Times, serif;
	background-color: #edeceb;
	border: 1px solid #e4e3e2;
	padding: 15px;
	}
	
ul.cat {
	margin-bottom: 15px;
	}
.cat li.categories ul li {
	padding-bottom: 4px;
	float:left;
	width: 50%;
	}
.cat li.categories ul li a {
	float:left;
	padding-left: 11px;
	background: url('images/bullet.gif') no-repeat left center;
	}
li.categories ul:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
li.categories ul {
	display: inline-block;
}
html[xmlns] li.categories ul {
	display: block;
}
* html li.categories ul {
	height: 1%;
}

/* color */
.color li.categories ul li, .color li.categories ul li a {
	display: block;
	float: left;
	}
.color li.categories ul li {
	margin-right: 4px;
	width: 18px;
	height: 18px;
	}
.color li.categories ul li a {
	width: 18px;
	height: 18px;
	text-indent: -10000px;
	}
.color li.categories ul li.cat-item-14 a {
	background: #d61916 url('images/brown.gif') no-repeat center center;
	}
	
#footer {
	font-size: 1.1em;
	margin: 0 auto;
	clear: both;
	}
#footer p {
	padding: 20px 0;
	text-align: center;
	}

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

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

.entry ul li:before {
	content: "\00BB \0020";
	}

.entry {
	padding-top: 20px;
	}
.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}
.entry form {
	text-align:center;
	}
.entry p a:visited {
	color: #b85b5a;
	}
.entry a img {
	border: 1px solid #e9e8e8;
	}
.metadata {
	color: #7c7685;
	min-height: 0;
	margin-left: 300px;
	}
.metadata div {
	padding-bottom: 7px;
	}
.wp-pagenavi {
	clear: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.0em;
	}
.stumble {
	background: url('images/stumble.png') no-repeat left center;
	padding-left:18px;
	min-height: 14px;
	}
/* ######################################### */
/* ######################################### */
	
.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
	border: 1px solid #ddd;
}

.even, .alt {

	border-left: 1px solid #ddd;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}
.sticky h2 {
	padding-top: 10px;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.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: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}


small, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}
/* End Typography & Colors */


/*	Begin Headers */

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}


h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
.alignright {
	float: right;
	}
.alignleft {
	float: left;
	}
/* End Images */



/* Begin Lists*/
.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

ol li {
	list-style: decimal outside;
	}

select {
	width: 130px;
	}

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

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

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

.commentlist li {
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

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

#commentform p {
	margin: 5px 0;
	}

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

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

	
.screen-reader-text {
     position: absolute;
     left: -1000em;
}


.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
}

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

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

