/*  
Theme Name: Melissa
Theme URI: http://www.niloodesign.com
Description: اين قالب توسط <a href="http://www.niloodesign.com/">نيلو ديزاين</a> به سفارش آقاي متين فلاح ساخته شده است و هيچ شخصي ديگري حق استفاده از آن را ندارد.
Version: 1.0
Author: Niloodesign
Author URI: http://www.niloodesign.com

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

blockquote {
	margin: 7px 21px 7px 15px;
	padding: 3px 13px 3px 3px;
	background: url(images/quote.gif) no-repeat right 7px;
	border-left: 3px solid #CCC;
	color: #666;
}

blockquote p {
	margin: 0px;
}

code {
	margin: 2px;
	text-align: left;
	direction: ltr;
	display:block;
	padding: 1px 3px 1px 3px;
	background-color: #FFE;
	border: 1px solid #EEE;
}

small {
	font-size: 10px;
}
img
{
border:0;
}

.alignleft {
	float: left;
	padding : 3px;
}

.alignright {
	float: right;
	padding : 3px;
}

.clear
 {
 clear: both
 }

body
{
margin : 0;
font-family: Tahoma,Arial,Helvetica,Georgia,Sans-serif;
font-size: 12px;
text-align: center;
vertical-align: top;
background: #CFCFCF;
color:#111111;
}

h1
{
font-family : Georgia, Sans-serif;
font-size : 24px;
padding : 0 0 10px 0;
}

a:link ,a:visited
{
text-decoration : none;
color : #336699;
}

a:hover
{
text-decoration : none;
color : #1a8bfc;
}

p
{
padding : 10px 0 0 0;
}

#all
{
background: url(images/bg-body.jpg) repeat-y center #CFCFCF;
width: 1092;
margin : 0 auto 0 auto ;
direction: rtl;
}

#wrapper
{
margin : 0 auto 0 auto ;
width : 973px;
text-align : right;
}

#header
{
background: #1B4669;
/*
border-left: 1px solid #d25a0b;
border-right: 1px solid #d25a0b;
*/
float: right;
width : 972px;
height: 120px;
}

/*************** Menu Bar ***********/
#top
{
background: #356AA0 !important;
float: right;
width: 972px;
}

#menubar {
	width : 600px;
	float: right;
	height: 24px;
	padding: 0;
	margin:1px 15px 5px 0;
	display: inline;
	background: transparent;
	font-size: 13px;
}

#menubar li {
	margin-right: 2px;
	float: right;
	display: block;
	height: 24px;
}

#menubar li ul li {
	height: 24px;
	width: 100%;
}

#menubar li a {
	display: block;
	margin-top: 0px;
	padding-left: 10px;
	padding-right: 10px;
	font-weight: bold;
	font-size: 0.75em;
	text-transform: lowercase;
	line-height: 28px;
	color: #f7f7f7;
}

#menubar li a:hover {
	margin-top: -1px;
	padding-bottom: 2px;
	color: #fff;
}

#menubar li.current_page_item a {
	margin-top: -1px;
	padding-bottom: 2px;
	background: #1B4669;
	color: #fff;
}

#menubar li.current_page_item a:hover {
	background: #b54b05;
	color: #fff;
}

#menubar ul {
	display: none;
	z-index: 99;
	position: absolute;
}

#menubar ul li a {
	display: block;
	background: #FFF;
}

#menubar li ul a:hover {
	display: block;
	background: #FFF;
}

#menubar ul a {
	display: block;
}

#menubar ul ul {
	margin-top: -25px;
	display: none;
	margin-left: 199px;
	position: absolute;
}

#menubar li:hover ul ul {
	display: none;
}
#menubar li:hover ul {
	display: block;
}
#menubar ul li:hover ul {
	display: block;
}
#menubar li ul li {
	display: block;
	width: 100%;
}

#menubar li.page_item ul {
	border-top: 1px solid #ddd;
	min-width: 20px;
	margin-right: -30px;
}

#menubar li.page_item a {
	display: block;
}

#menubar li.page_item a:hover {
	display: block;
}

#menubar li.page_item ul li a {
	display: block;
	text-align: right;
	height: 24px;
	line-height: 24px;
	background: #ecebeb;
	padding-left: 10px;
	padding-right: 10px;
	text-transform: lowercase;
	font-size: 0.7em;
	font-weight: bold;
	color: #666;
	border-right: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	border-top: 1px solid #dcdcdc;
	border-left: 1px solid #dcdcdc;
}

#menubar li.page_item ul li a:hover {
	padding-top: 2px;
	display: block;
	text-align: right;
	height: 24px;
	line-height: 24px;
	background: #FFF;
	padding-left: 10px;
	padding-right: 10px;
	text-transform: lowercase;
	font-size: 0.7em;
	font-weight: bold;
	color: #393939;
	border-right: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	border-left: 1px solid #dcdcdc;
}

/*----------- Search Form ---------*/
.search
{
float: left;
margin-top:-7px;
position: relative;
left: 10px;
top: 1px;
}

#search{
margin: 0;
padding: 0;
}

#textinput{
font : tahoma, "Georgia", Times, serif;
height: 17px;
width: 170px;
border: none;
background: url(images/search-box.jpg) no-repeat top center;
padding-bottom: 4px;
margin-left: -4px;
padding-right: 14px;
padding-left: 10px;
font-family: tahoma,arial;
color: #fff;

}

#searchsubmit{
position: relative;
top: 9px;
left: 9px;
}

/*----- Finish Search ------*/

#left-top
{
margin-top: 8px;
width: 794px;
float: left;
margin-left: 8px;
}

#last-news
{
float: right;
width: 493px;
}

.last-news-list
{
background: url(images/last-news.jpg) no-repeat top right;
height: 222px;
width: 493px;
float: right;
}

.last-news-list ul
{
margin-top: 30px;
margin-right: 5px;
margin-left: 5px;
}

.last-news-list ul li
{
line-height: 18px;
background: url(images/rlc.jpg) no-repeat right top;
padding-right: 19px;
}

#ads-left
{
float: left;
width: 293px;
}

#ads-left ul li
{
margin-bottom:5px;
}

/************************/

#news-boxes
{
float: left;
width: 794px;
margin-left: 8px;
margin-top: 2px;
}

#right-boxes
{
float: right;
}

#left-boxes
{
float: left;
}

.box-main
{
width: 393px;
background: url(images/box-center.png) repeat-y center;
margin-bottom: 8px;
}

.box-middle
{
width: 393px;
background: url(images/box-top.png) no-repeat center top;
}

.box-bottom
{
width: 393px;
background: url(images/box-bottom.png) no-repeat center bottom;
padding-bottom: 7px;
}

.box-main h1
{
text-align: center;
padding-top: 5px;
font-size: 12px;
font-family: tahoma;
font-weight:normal;
color: #910F27;
}

.box-content
{
margin-top: 23px;
margin-right: 5px;
margin-left: 5px;
}

.first_content
{
padding-bottom: 5px;
margin-top: -7px;
}

.first_content h2
{
text-align: right;
}
.first_image 
{
float: right;
}

.first_image img
{
padding: 2px;
border: 1px solid #A8D8EB;
margin-left: 4px;
margin-bottom: 4px;
}

.other_content
{
}

.other_content ul li
{
line-height: 19px;
background: url(images/rlt.jpg) no-repeat right top;
padding-right: 15px;
border-bottom: 1px solid #D6F4FF;
}

.see-all
{
float: left;
margin-top: 4px;
}

.archive-page
{
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
}

.archive-page h2
{
background: none !important;
margin: 0 !important;
padding: 0 !important;
}

/*------------------------------------*/

.post-main
{
width: 493px;
background: url(images/single-body-main.png) repeat-y center;
margin-top: 8px !important;
float: right
}

.post-top
{
width: 493px;
background: url(images/single-body-top.png) no-repeat center top;
float: right
}

.post-bottom
{
width: 493px;
background: url(images/single-body-bottom.png) no-repeat center bottom;
float: right
}

.post-main h2
{
margin-top: 9px;
margin-right: 9px;
background: url(images/check.png) no-repeat right top;
padding-right: 35px;
padding-top: 10px;
padding-bottom: 19px;
}

.postmetadata
{
background: url(images/postmetadata.jpg) no-repeat top center;
width: 444px ;
height: 114px ;
margin-bottom: 10px;
margin-right: 24px;
margin-top: 10px;
}

.postmetadata ul li
{
background: url(images/tick.png) no-repeat top right;
padding-right: 18px;
line-height: 23px;
}

.edit
{
font-family: georgia;
font-size: 16px;
text-align: center;
background:#e8f1f7;
padding-bottom: 2px;
font-weight:bold;
border: 1px solid #b7cfe9;
margin-top: 5px;
margin-right: 5px;
margin-left: 5px;
margin-bottom: 5px;
}

.entry
{
padding-right: 7px;
padding-left: 7px;
padding-top: 1px;
padding-bottom: 4px;
line-height: 18px;
}

.entry a
{
color: #111;
}

/*----------------- Navigation - Page Navi -------------*/
#pagenavi
{
height:28px;
margin-top: 5px;
padding : 3px 2px 9px 2px;
background: url(images/navigation.gif) no-repeat top center ;
text-align: center;
}

#pagenavi a:link,#pagenavi a:visited
{
color: #3e97b8;
}

.navigation
{
padding : 3px 2px 18px 2px;
font-size: 14px;
font-weight: bold;
}

.navigation a:link,.navigation a:visited
{
color: #3e97b8;
}

.navigation a 
{
font-weight: bold;
	text-decoration: none;
	font-size: 0.9em;
}

.previous 
{
float: left;
}

.next 
{
float: right;
}

.wp-pagenavi
{
padding-top: 3px;
}

span.pages
{
}

span.current
{
}


/**************** Page Navi ****************/
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active {
background: #e0eefd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
.wp-pagenavi a:hover {
background: #d1e2f6 !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
.wp-pagenavi span.pages {
background: #e0eefd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
color: #3979c2 !IMPORTANT;
}
.wp-pagenavi span.current {
background: #cfe5fd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
.wp-pagenavi span.extend {
background: #e0eefd !IMPORTANT;
border: 1px solid #b7d3f3 !IMPORTANT;
}
/***************** Finish Page Navi ******************/

/*----------- Feed ---------------*/

#email-form
{
width: 170px;
border: 1px solid #c6d934;
background: #f1f7dc;
color: #98af3d;
font-size: 12px;
font-family: tahoma;
text-align: left;
}
/*-------- Finish Feed ---------*/
/*----------- All Sidebar ---------*/

/*----------- Sidebar right ----------*/

.top-sidebar
{
width: 154px;
background: url(images/sidebar-center.png) repeat-y center;
margin-bottom: 8px;
vertical-align: top;
float: right;
}

.middle-sidebar
{
width: 154px;
background: url(images/sidebar-h2.png) no-repeat center top;
float: right;
}

.bottom-sidebar
{
width: 154px;
background: url(images/sidebar-bottom.png) no-repeat center bottom;
padding-bottom: 10px;
float: right;
}

.top-sidebar h2
{
height: 23px;
padding-right: 5px;
padding-top: 6px;
color: #666;
}

#sidebar
{
margin-right: 8px;
margin-top: 8px;
float: right;
}

.textwidget
{
padding: 7px;
}

table#wp-calendar
{
width : 96%;
}

.sidebar {
	margin: 0;
	width: 156px;
	padding: 2px 0 0 0;
}

.sidebar a, .sidebar h2 a:visited {
	color : #48659e;
	text-decoration : none;
}

.sidebar a:hover {
	text-decoration: none;
	color : #ff1e00;
}

.sidebar li {
	list-style-type: none;
	direction: rtl;
	margin: 0;
	padding: 0;
	padding-right: 6px;
	padding-left: 4px;
	padding-bottom: 4px;
	padding-top: 4px;
}

.sidebar li h2 {
	margin: 0;
	background: url(images/arrow_003.gif) no-repeat right;
	background-position: 148px;
	border-right : 0px solid #f1f6fb;
	font-family : Tahoma;
	font-size : 8pt;
	padding : 2px 10px 4px 4px;
	background-color : #c0d3eb;
	color : #204080;
	font-weight : bold;
}

.sidebar li ul {
	margin: 0;
	padding: 3px 5px 5px 0;
	font-size : 8pt;
}

.sidebar li ul li {
	margin: 0;
	padding: 0 12px 0 0;
	line-height: 18px;
	
	font-size : 8pt;
	font-weight : none;
}

.sidebar li ul li ul {
	padding: 0;
}

.sidebar li ul li ul li {
	list-style-type: none;
	padding: 0 20px 0 0;
	line-height: 16px;

	font-size : 8pt;
	font-weight : none;
}

.sidebar li ul ul ul li {
	list-style-type: none;
	padding: 0 14px 0 0;
	line-height: 16px;
	
	font-size : 8pt;
	font-weight : none;
}

.sidebar li ul ul ul ul li {
	list-style-type: none;
	padding: 0 20px 0 0;
	line-height: 16px;
	font-size : 8pt;
	font-weight : none;
}

.sidebar select
{
margin-top: 7px;
margin-right: 10px;
background: #FEFEFE;
width: 130px;
border: 1px solid #BDBCBD;
font-family: tahoma,arial;
}

.caticonspacer
{
margin-right: 2px;
}

#wp-calendar {
	font-size : 9pt;
	margin: 5px 5px 0 5px;
}

.sidebar form
{
margin-right: 7px;
margin-left: 7px;
}

#user_login
{
width: 135px;
}

#user_pass
{
width: 135px;
}

.avatar_container
{
margin-left: 7px;
margin-top: 4px;
}

/**************** SideBar Left ******************/

.top-sidebar-left
{
width: 293px;
background: url(images/sidebar-left-main.jpg) repeat-y center;
margin-bottom: 8px;
float: left;
}

.middle-sidebar-left
{
width: 293px;
background: url(images/sidebar-left-top.jpg) no-repeat center top;
float: left;
}

.bottom-sidebar-left
{
width: 293px;
background: url(images/sidebar-left-bottom.jpg) no-repeat center bottom;
float: left;
padding-bottom: 10px;
}

.top-sidebar-left h2
{
margin-right: 10px;
margin-top: 5px;
margin-bottom: 10px;
color: #666;
}


.sidebar-left {
	margin: 0;
	background-color : #f1f6fb;
	width: 293px;
	padding: 2px 0 0 0;
	color: #666;
}

.sidebar-left a, .sidebar-left h2 a:visited {
	color : #48659e;
	text-decoration : none;
}

.sidebar-left a:hover {
	text-decoration: none;
	color : #ff1e00;
}

.sidebar-left li {
	list-style-type: none;
	direction: rtl;
	margin: 0;
	padding: 0;
	padding-right: 8px;
	padding-left: 6px;
	padding-bottom: 4px;
	padding-top: 4px;
}

.sidebar-left li h2 {
	margin: 0;
	background: url(images/arrow_003.gif) no-repeat right;
	background-position: 148px;
	border-right : 0px solid #f1f6fb;
	font-family : Tahoma;
	font-size : 8pt;
	padding : 2px 10px 4px 4px;
	background-color : #c0d3eb;
	color : #204080;
	font-weight : bold;
}

.sidebar-left li ul {
	margin: 0;
	padding: 3px 5px 5px 0;
	font-size : 8pt;
}

.sidebar-left li ul li {
	margin: 0;
	padding: 0 12px 0 0;
	line-height: 15px;
	background: url(images/ll.gif) no-repeat right 5px;
	font-size : 8pt;
	font-weight : none;
}

.sidebar-left li ul li ul {
	padding: 0;
}

.sidebar-left li ul li ul li {
	list-style-type: none;
	padding: 0 20px 0 0;
	line-height: 14px;
	background: url(images/rl.gif) no-repeat right 7px;
	font-size : 8pt;
	font-weight : none;
}

.sidebar-left li ul ul ul li {
	list-style-type: none;
	padding: 0 14px 0 0;
	line-height: 14px;
	background: url(images/plus.gif) no-repeat right 3px;
	font-size : 8pt;
	font-weight : none;
}

.sidebar-left li ul ul ul ul li {
	list-style-type: none;
	padding: 0 20px 0 0;
	line-height: 14px;
	background: url(images/rl.gif) no-repeat right 7px;
	font-size : 8pt;
	font-weight : none;
}

.sidebar-left select
{
margin-top: 8px;
margin-right: 22px;
background: #F9FFEA;
width: 250px;
border: 1px solid #999;
font-family: tahoma,arial;
}


/*------------------ Finish Sidebars -----------*/

/*------------- Footer -----------*/

#footer
{
background: url(images/footer.jpg) no-repeat bottom center;
clear: both;
width: 100%;
margin: 0 auto 0 auto;
height: 110px;
margin-top: 25px;
}

#footer-txt
{
clear: both;
margin: 0 auto 0 auto !important;
width: 937px;
border-top: 1px solid #999;
padding-top: 3px;
}

.credit {
	clear: both;
	text-align: right;
	float: right;
	color: #999;
	line-height: 1.4em;
}


.credit a {
	font-weight: bold;
	color: #666;
}

.credit a:hover {
	color: #ff9600;
}

/*------------ Finish Footer ----------*/

/* -------------- Comment ----------------*/
#comments-template
{	
	
	margin: 10px 0 0;
	padding: 0 10px 25px 10px;
}

#comments-template ol
{
	margin: 0;
	padding: 0 0 15px;
	list-style-type: none;
}

#comments-template ol li
{
background: #ecf5c8;
border: 1px solid #d6e792;
	margin: 10px 0 0 0;
	line-height: 18px;
	padding: 10px;
	padding-bottom:10px;
	font-size: 11px;
	color: #555;
}

#comments-template ol li p
{
width: 462px;
}

.alt
{
	background : #000;
}

#comments-template h2, #comments-template h3
{
	padding-left: 21px;
	margin-top: 4px;
	margin-bottom: 2px;
	font-family: ,tahoma,Georgia, Sans-serif;
	font-size: 14px;
	color: #555;
}

#comments
{
background: url(images/comments.jpg) no-repeat top right;
padding-right: 20px;
padding-left: 7px;
padding-top: 10px;
padding-bottom: 7px;
}

.commentmetadata
{
height: 23px;
margin: 0;
padding: 0;
background: url(images/comment-h2.jpg) no-repeat right top;
	font-size: 12px;
	padding-left: 3px;
	padding-right: 35px;
	padding-top: 0;
	padding-bottom: 0;
	font-size: 12px;
	color: #7a911e;
}

.commentmetadata a
{
color: #7a911e;
}

#comments-template p.nocomments
{
	padding: 0;
}

#write-comment
{
border: 1px solid #cddff4;
background: #eef4fb;
padding: 3px;
padding-right: 8px;
}

#comments-template textarea
{
	font-family: tahoma,Arial, Helvetica, Georgia;
	font-size: 12px;
}

.comment_author_link
{
max-width: 426px;
}

img.avatar 
{
border: 1px solid #ddd;
padding: 2px;
float:left; 
margin-right:5px;
}


#submit
{
}

#sub-comment
{
float: right;
margin-left: 20px;
}

#author
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
}

#email
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
}

#url
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
}

#comment
{
font-family: tahoma, Arial, Helvetica, Georgia;
border: 1px solid #aac9ed;
color: #555;
background: url(images/comment-bg.png) repeat-x top #fff;
width: 438px;
}

