/* -------------------------------------------------------------- 
  
Theme Name: TWF
Theme URI: twf.ir
Author: Navid Kashani
Author URI: http://navid.kashani.ir/
Version: 1.0
   
-------------------------------------------------------------- */
@import url('styles/twf-reset.css');
@import url('styles/twf.css');
@import url('styles/twf-wordpress.css');
/* Global
=========================== */
body {
	direction: rtl;
	text-align: right;
}
.wrapper {
	width:960px;
	margin: 0;
}
a:link, a:visited, h2 {
	color:#023A67;
}
/* Header
=========================== */
#header {
	background: #000 url('images/header-bg.gif') repeat-x;
}
#logo {
	width: 175px;
	height: 41px;
	text-indent: -9999px;
	overflow: hidden;
	background: transparent url('images/logo.gif') no-repeat;
	position: absolute;
	left: 10px;
	top: 2px;
}
#top-nav {
	background:transparent url(images/header-bg.gif) repeat-x scroll 0 0;
	height:53px;
	width: 815px;
}
#top-nav ul li {
	float:right;
	list-style-type:none;
}
#top-nav ul li a:link, #top-nav ul li a:visited {
	background:transparent url(images/menu.gif) no-repeat scroll -787px -111px;
	display:block;
	height:53px;
	overflow:hidden;
	text-indent:-9999px;
	width:115px;
}
#top-nav ul li a:hover {
	text-decoration:none;
}
#top-nav ul li a:active {
	background-position:0 -61px;
}
#top-nav ul li#home-menu a {
background-position:-784px 0;
}
#top-nav ul li#last-news a {
	background-position:-671px 0;
}
#top-nav ul li#project a {
	background-position:-556px 0;
}
#top-nav ul li#labs a {
background-position:-442px 0;
}
#top-nav ul li#forum a {
background-position:-328px 0;
}
#top-nav ul li#aboutus a {
background-position:-214px 0;
}
#top-nav ul li#contactus a {
background-position:-99px 0;
}
#top-nav ul li#home-menu a:hover {
background-position:-784px -55px;
}
#top-nav ul li#last-news a:hover {
background-position:-670px -55px;
}
#top-nav ul li#project a:hover {
background-position:-556px -55px;
}
#top-nav ul li#labs a:hover {
background-position:-442px -55px;
}
#top-nav ul li#forum a:hover {
background-position:-328px -55px;
}
#top-nav ul li#aboutus a:hover {
background-position:-214px -55px;
}
#top-nav ul li#contactus a:hover {
background-position:-99px -55px;
}
#top-nav ul li#home-menu a.active, #top-nav-menu ul li#home a:active {
background-position:-784px -111px;
}
#top-nav ul li#last-news a.active, #top-nav ul li#last-news a:active {
background-position:-670px -111px;
}
#top-nav ul li#project a.active, #top-nav ul li#project a:active {
background-position:-556px -111px;
}
#top-nav ul li#labs a.active, #top-nav ul li#labs a:active {
background-position:-442px -111px;
}
#top-nav ul li#forum a.active, #top-nav ul li#forum a:active {
background-position:-328px -111px;
}
#top-nav ul li#aboutus a.active, #top-nav ul li#aboutus a:active {
background-position:-214px -111px;
}
#top-nav ul li#contactus a.active, #top-nav ul li#contactus a:active {
background-position:-99px -111px;
}

#headbox {
	height: 298px;
	background: transparent url('images/head-bg.png') repeat-x;
}
#headbox div {
	background: transparent url('images/header.gif') no-repeat right 0;
	height: 100%;
}
/* Home
=========================== */
#home {
	margin: 0 10px 20px 0;
}
#home p {
	font-size:12px;
	text-align:justify;
}
/* Main
=========================== */
#main {
	padding-bottom: 50px;
}
#content {
	padding: 0 20px 0 0;
}
.postmetadata {
	padding: 5px;
	margin: 5px 0;
	background-color: #F5F5F5;
	border-right: 1px solid #B3B3B3;
}
.box{
	background-color:#9F9F9F;
	padding:2px;
}
.box:hover{
	background-color:#ccc;
	padding:2px;
}
.col-8 ul {
	margin:8px 0 0 0;
}
.pariyana{
	height:124px;
	background:url(images/pariyana-thumb.gif) no-repeat;
}
.pixiber{
	height:124px;
	background:url(images/pixiber-thumb.gif) no-repeat;
}
.coming-soon{
	height:124px;
	background:url(images/comig-soon-thumb.gif) no-repeat;
}
/* Sidebar
=========================== */
#sidebar {
	padding-right: 20px;
}
#sidebar h2, #sidebar h3 {
	font-size: 14px;
	border-bottom: 1px solid #ccc;
	padding-right: 5px;
}
#sidebar ul li {
	padding: 0 0 5px 0;
}
#sidebar ul li ul {
	padding: 3px 25px 0 0;
}
#sidebar ul li ul li {
	list-style-type: square;
	padding: 0 0 3px 2px;
}
.sidebar-page ul {
	padding-bottom: 20px;
	text-align: center;
}
.sidebar-page li a {
	display: block;
	background-color: #0860A8;
	margin: 2px 0;
	color: #fff;
	padding: 6px;
}
.sidebar-page li a:hover {
	border: 1px solid #0860A8;
	padding: 5px;
	background-color: #0D81DF;
	text-decoration: none;
}
/* Comment
=========================== */
.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
	border: 1px solid #ddd;
}
.even, .alt {
	border-right: 1px solid #ddd;
}
.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em Tahoma, Arial, Sans-Serif;
}
.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	margin-left: 5px;
}
.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 0 1px 5px;
}
#commentform {
	margin: 5px 0 0 10px;
}
#commentform textarea {
	width: 99%;
	padding: 5px;
}
#respond:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
#commentform #submit {
	margin: 0 auto 5px 30px;
	float: left;
}
.alt {
	padding: 10px;
}
.commentlist {
	padding: 0;
	text-align: justify;
}
.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 10px 10px;
	font-weight: bold;
	list-style: none;
}
.commentlist li ul li { 
	margin-right: 10px;
	margin-left: -5px;
	font-size: 1em;
}
.commentlist p {
	margin: 10px 0 10px 5px;
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}
.children {
	padding: 0;
}
#commentform p {
	margin: 5px 0;
}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}
.commentmetadata {
	margin: 0;
	display: block;
	font-weight: normal;
}
input#url, input#email {
	direction: ltr;
}
/* Footer
=========================== */
#footer {
	background: #000 url('images/footer-bg.jpg') repeat-x;
	height: 34px;
	position: relative;
	padding-top: 17px;
	text-align: center;
}
#footer div {
	width: 265px;
	height: 51px;
	background: transparent url('images/footer.jpg') no-repeat;
	position: absolute;
	left: 0;
	top: 0;
}
#footer p {
	color: #fff;
	font-size: 14px;
}