
/*
 
	Theme Name: Tarigh Festival.
	Filename: style.css
	Website: http://www.tarigh.ir/
	Author: Amir Jafari

 ------------------------------------------------------------------------------ */


body {
	font-size: 62.5%;
	font-family: Tahoma, Georgia;
	background: url('bg.jpg') #eed8a0 repeat-x fixed center top;
	margin: 0px;
	padding: 0px;
	_text-align: center;
}

a {
	text-decoration: none;
	color: #ce7819;
}

a:hover {
	text-decoration: underline;
}

input, select, textarea, button, .Buttons, .TextBox {
	font: 1.1em tahoma;
	border: 1px solid #ccc;
	padding: 3px;
	margin: 2px 0 2px 0;
}

#wrapper {
	width: 1000px;
	margin: 0px auto;
	position: relative;
	/*border-right: 1px solid #bc8843;
	border-left: 1px solid #bc8843;*/
}

#header {
	width: 1000px;
	height: 231px;
	background: url('header.jpg') no-repeat;
	position: relative;
}

#header #cDate {
	position: absolute;
	left: 5px;
	bottom: 4px;
	color: #8F6023;
	font-size: 11px;
}

#header #Languages {
	position: absolute;
	right: 5px;
	bottom: 4px;
}

#header #Languages a {
	color: #8F6023;
	font-size: 11px;
}

#header #Languages a:hover {
	color: black;
}

/*

	Side Bar

 ------------------------------------------------------------------------------ */

#sidebar {
	float: right;
	direction: rtl;
	z-index: 1000;
}

#sidebar ul.main {
	direction: rtl;
	list-style: none;
	margin: 0px;
	padding: 5px 0px 10px 0px;
	_padding-bottom: 0px;
	width: 71px;
	z-index: 1000;
}

#sidebar ul.main li.main {
	background: #a9ab15;
	margin: 5px 18px 5px 5px;
	_margin-right: 5px;
	width: 95px;
	_width: 85px;
	height: 25px;
	line-height: 25px;
	text-align: right;
	padding: 0 5px;
	-moz-border-radius: 3px;
	z-index: 1000;
	position: relative;
}

#sidebar ul.main li.main a {
	font-size: 1.2em;
	text-decoration: none;
	color: #ffffff;
	display: block;
}

#sidebar ul.main li.main a:hover {
	border-right: 3px solid #000;
}

#sidebar ul.main li.main:hover ul.sub {
	display: block;
}


/* ---- Submenu -- */

#sidebar ul.main li.main ul.sub {
	/*display: none;*/
	list-style: none;
	z-index: 1000;
	background: url('submenu_bg.gif') repeat-y right top;
	margin: -25px 95px 0px 0px;
	_margin-right: 0px;
	!margin-right: 0px;
	padding: 3px 10px 3px 0px;
	width: 95px;
	position: absolute;
	_padding: 0px;
	_right: 95px;
}

#sidebar ul.main li.main ul.sub li {
	background: #a9ab15;
	margin: 5px;
	width: 95px;
	height: 25px;
	margin-right: 20px;
	line-height: 25px;
	text-align: right;
	padding-left: 10px;
	-moz-border-radius: 3px;
	_margin-right: 25px;
}

#sidebar .side-block {
	width: 70px;
	text-align: center;
}

#sidebar .side-block a {
	font-size: 1.1em;
	font-weight: bold;
}

/*

	Sidebar Block

 ------------------------------------------------------------------------------ */

.block {
	width: 141px;
	margin-top: 20px;
}

.block_top {
	height: 31px;
	background: transparent url('block_top.gif') no-repeat center top;
}

.block_bottom {
	height: 31px;
	background: transparent url('block_bottom.gif') no-repeat center top;
}

.block_content {
	background: transparent url('block_content.gif') repeat-y center top;
}

.block_content a {
	color: #fff;
}

.block h2 {
	margin: 0px 0px 5px 0px;
	font-size: 1.1em;
	color: #000;
}

.block .other {
	padding: 10px;
	text-align: center;
}

/*

	Content

 ------------------------------------------------------------------------------ */

#content {
	float: right;
	width: 854px;
	margin: 20px 5px 0px 0px;
	_margin-right: 0px;
	z-index: 1;
}

#content .newsitem {
	background: #fbf1db;
	width: 400px;
	_width: 390px;
	float: right;
	padding: 5px;
	margin: 0px 15px 15px 0px;
	overflow: auto;
	_margin-right: 10px;
}

#content .index {
	height: 130px;
}

#content .newsitem h1 {
	font-size: 1.2em;
	direction: rtl;
	text-align: right;
	background: url('bullet.gif') transparent no-repeat scroll right center;
	padding-right: 13px;
	color: #ce7819;
	margin: 0px;
}

#content .newsitem h1 a {
	text-decoration: none;
	color: #ce7819;
}

#content .newsitem h1 a:hover {
	text-decoration: underline;
}

#content .newsitem p {
	direction: rtl;
	font-size: 1.1em;
	text-align: justify;
	margin: 5px 13px 5px 5px;
}

#content .newsitem img {
	border: 0px;
	float: right;
	padding: 5px 0px 5px 5px;
}

#content #slideshow {
	border: 5px solid #bc8843;
	float: right;
	margin: 0px 15px 15px 0px;
	_margin-right: 0px;
}

#content .first {
	height: 260px;
	overflow: hidden;
}

#content .postsitem, #content .pages {
	overflow: none !important;
	width: 96%;
	_width: 94%;
}

#content .postsitem img#newsPic {
	float: left;
	width: 350px;
	margin: 0px 15px 15px 15px;
	border: 5px solid #bc8843;
}

#content table {
	direction: rtl;
	font: 1.1em tahoma;
}

#content #ContactTBL textarea {
	width: 300px;
}

.page-path {
	direction: rtl;
	font-size: 11px;
	margin: 0 15px 15px 0;
}

.marquee {
	font-size: 12px;
	margin-bottom: 10px;
	direction: rtl;
	text-align: right;
	margin-right: 15px;
}

.PollTBL img{
	margin: 0px !important;
	padding: 0px !important;
	border: 0px !important;
	float: none !important;
}

.news_code {
	direction: rtl;
	text-align: left;
}

.Comments img {
	width: 67px !important;
	border: 0px !important;
	float: none !important;
}

td img {
	padding: 0 !important;
}

#CommentsDiv {
	background: #fbf1db;
	width: 96%;
	float: right;
	padding: 5px;
	margin: 0;
	margin: 0 15px 0 0;
}

#newsSlider-holder {
	float: right;
	margin-right: 15px;
	_margin-right: 10px;
}
#newsSlider, #newsSlider ul, #newsSlider ul li {
	width: 410px;
	height: 270px;
}
#newsSlider {
	overflow: hidden;
}
#newsSlider ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#newsSlider ul li div {
	margin: 0 !important;
}

#newsSlider ul li {
	margin-bottom: -2px;
}

.bottom_ads {
	text-align: center;
}

.paginate {
	text-align: center;
	clear: both;
}

.paginate a {
	display: inline-block;
	padding: 3px 5px;
	border: 1px solid;
}

.paginate b {
	display: inline-block;
}

