pre{

white-space: pre-wrap;       /* css-3 */

white-space: -moz-pre-wrap !important;  /* Mozilla, since 1999 */

white-space: -pre-wrap;      /* Opera 4-6 */

white-space: -o-pre-wrap;    /* Opera 7 */

word-wrap: break-word;       /* Internet Explorer 5.5+ */

_white-space: pre;
width: 90%;
}

IMG{border:none;}

a, a:visited{
color:#3d455f;
font-weight:bold;
text-decoration:none;
outline:0px;
}

a:hover{
text-decoration:underline;
}

ul
{
	padding:0;
	margin-right:20px;
}

.feed img,.rssButton
{
    margin-left:5px;    
}
.content ul
{
    list-style: none;
}
.myform
{
    margin:0;
}
.content-item-top h1
{
    padding:0;margin:0;
    font-size:12px;
    font-weight:bold;    
}

/*****************************
**  BODY AND PAGE CONTAINERS *
******************************/

body
{    
background-color:#606078;
margin:0;
padding:0;
font-size: 1em;
font-family: Arial, Helvetica, Verdana, sans-serif;
color:#333333;
}

#wrapper{
width:990px;
margin:auto;
}

#header{
background-image:url(images/gfx-head.png);
background-position:top center;
background-repeat:no-repeat;
height:131px;
}

#menu{
background-color:#000000;
background-image:url(images/gfx-menu.png);
background-repeat:no-repeat;
background-position:top center;
height:47px;

}


#sidepanel{
float:left;
width:303px;
color:#E3FBFB;
font-size:95%;
font-family:"Lucida Grande","Lucida Sans Unicode",Sans-Serif;
}

#main-content
{
width:687px;
float:right;
}

/***************************/
/* SidePanel Configuration */
/***************************/

#sidebar-top
{
    background-image:url(images/gfx-side-top.png);
    background-position:top center;
    background-repeat:no-repeat;
    width:303px;
    height:19px;
}
#sidebar-mid{
    background-image:url(images/gfx-side-mid.png);
    background-position:top center;
    background-repeat:repeat-y;    
    width:303px;
    
}
#sidebar-bot
{
    background-image:url(images/gfx-side-bot.png);
    background-position:top center;
    background-repeat:no-repeat;    
    width:303px;
    height:10px;
}

#inside-sidebar
{    
    padding:5px;
    /* padding for inside widgets for left 17*/
    padding-right:7px;
}


/***********/
/* Widgets */
/***********/

/* doesn't work probably because of override */
#widgetzone
{
    padding:0px;
}

.widget-top
{
    background-image:url(images/gfx-widget-top.png);
    background-position:top center;
    background-repeat:no-repeat;
    width:285px;
    height:21px;
    margin:0;
    line-height:20px;
    padding-top:1px;    
}
.widget-mid
{
    background-image:url(images/gfx-widget-mid.png);
    background-position:top center;
    background-repeat:repeat-y;    
    width:285px;
    margin:0;    
}

.content
{
    margin:0 auto;
    padding:5px 10px 5px 10px;
    font-family:Tahoma;
    font-size:12px;
    color:#46455c;    
}
.content div
{
    text-align: -moz-center; 
}
.widget-bot
{
    background-image:url(images/gfx-widget-bot.png);
    background-position:top center;
    background-repeat:no-repeat;
    width:285px;
    height:9px;
    margin-bottom:20px;
}

.widget a.delete
{
	color:Red;
	font-weight: bold;
	float: left;
	font-size:85%;
	margin-left: 5px;
	z-index: 1;
	margin-right:5px;
	text-decoration: none;
}

.widget a.edit
{
	color: #FFFFCC;
	font-family:Tahoma;
	float:left;
	font-size: 12px;
	font-weight: normal;	
	z-index:1;	
	margin-right:0px;
}
.content ul
{
    margin-top:0;
    margin-bottom:0;    
}
.widget h4
{
    color: #FFFFCC;
	font-family:Tahoma;
	font-size: 12px;
	font-weight:bold;	
	float:right;
	display:inline;
	margin-left:20px;
	z-index:1;	
	margin-right:20px;
    margin-top:0;
    margin-bottom:0;    
}

/********/
/* Menu */
/********/

.apmlfilter
{
    float:left;
    margin-left:10px;
    margin-top:18px;
}

#menu ul
{
    
margin:0px;
margin-top:6px;
padding:0 20px;
list-style:none;
float:right;
padding-bottom:0px;
}

#menu li{
display:inline;
float:left;
padding-left:25px;
padding-right:5px;

margin-top:9px;
text-align:center;
vertical-align:middle;
line-height:22px;

}

#menu li a, #menu li a:visited{
color:#E3FBFB;
display:block;
text-decoration:none;
padding-top:0px;
padding-bottom:0px;
font-weight:bold;
padding-right:10px;
padding-left:10px;
height:24px;
/*border:solid 1px #7a82a5;*/
margin:1px;
}

#menu li a:hover{
background-image:url(images/shadow.png);
background-position:0px 11px;
background-attachment:fixed;
background-repeat:repeat-x;
border:dashed 1px black;
margin:0px;
}
/********/
/* Main */
/********/
#main-content
{    
}
#main-content-top
{
    background-image:url(images/gfx-main-top.png);
    background-position:top center;
    background-repeat:no-repeat;
    width:687px;
    height:19px;
}
#main-content-mid
{
    background-image:url(images/gfx-main-mid.png);
    background-position:top center;
    background-repeat:repeat-y;
    width:687px;
    padding-top:7px;
    min-height:2150px;
}
#main-content-bot
{
    background-image:url(images/gfx-main-bot.png);
    background-position:top center;
    background-repeat:no-repeat;
    width:687px;
    height:13px;
}

.content-item h2,p
{
    margin:0px;
}
/*********/
/* Posts */
/*********/
.content-item
{
    margin:0px;
    padding:0px;    
}
.content-item-top{
    background-image:url(images/gfx-post-top.png);
    background-position:top center;
    background-repeat:no-repeat;    
    font-weight:900;
    color:White;
    font-size:12px;
    padding-right:25px;
    padding-top:3px;
    height:17px;    
}
.content-item-middle-wrapper{
    background-image:url(images/gfx-post-mid.png);
    background-position:top center;
    background-repeat:repeat-y;
    padding:20px;
    font-size:12px;
}
#content-bot,.content-bot{
    background-image:url(images/gfx-post-bot.png);
    background-position:bottom center;
    background-repeat:no-repeat;
    height:7px;
    
}

.meta-post
{
    padding-top:5px;
    padding-right:20px;
    padding-bottom:20px;
    font-size:12px;
    font-weight:normal;
}
.taggedlink,.taggedlink:visited
{    
    height:0px;
    color:White;    
}
/**********/
/* Header */
/**********/
#header h1,#header span
{
    margin:0px;
    display:none;
}

/**********/
/* Rating */
/**********/
.rating
{
    padding-top:10px;
    padding-bottom:10px;
    
}
.rating p
{
    font-size:10px;
    float:right;
    margin-left:50px;
}

.star-rating 
{
    
	position: relative;
	width: 125px;
	height: 40px;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	background-position: left top;
}
.star-rating li {
	display: inline;
}
.star-rating a, .star-rating .current-rating {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -1000em;
	height: 25px;
	line-height: 25px;
	outline: none;
	overflow: hidden;
	border: none;
}
.star-rating a:hover, .star-rating a:active, .star-rating a:focus {
	background-position: left bottom;
}

.star-rating a.one-star {
	width: 20%;
	z-index: 6;
}

.star-rating a.two-stars {
	width: 40%;
	z-index: 5;
}

.star-rating a.three-stars {
	width: 60%;
	z-index: 4;
}
.star-rating a.four-stars {
	width: 80%;
	z-index: 3;
}
.star-rating a.five-stars {
	width: 100%;
	z-index: 2;
}
.star-rating .current-rating {
	z-index: 1;
	background-position: left center;
}

/* smaller star */
.small-star {
	width: 55px;
	height: 10px;
}
.small-star, .small-star a:hover, .small-star a:active, .small-star a:focus, .small-star .current-rating {
	background-image: url(images/stars.png);
	line-height: 10px;
	height: 10px;
}


#page, #contact, #archive, .searchpage, .error404
{
	margin-left:23px;
	margin-right:23px;
	padding:10px;
	padding-top:5px;
	margin-top:10px;    
}

/**************/
/* Book Marks */
/**************/
.bookmarks a
{
    text-decoration:none;
}
.bookmarks a img
{
    width:16px;
    height:16px;
    float:none;
    padding:0;
    margin:0;
    border:0;
}
.sociable-hovers
{
    opacity: .2;
	-moz-opacity: .2;
	filter: alpha(opacity=20);
}
.sociable-hovers:hover
{
    opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=100);
}

.content-item .post-inner {
	position:relative;
    width:687px;/* this is a need for working with IE */
}
.post-inner .date-tab 
{
    
	position:absolute;
	top:-40px;
	left:40px;
	height:36px;
	width:72px;	
	color:White;
	background-image: url(images/date-tab.png);
	background-repeat:no-repeat;
}
.month {
	text-align:center;
	display:block;
	padding:2px 6px 6px 0;
	font-size:11px;
}
.day {
	text-align:center;
	
	display:block;
	padding:0px 6px 0px 0;
	font-size:18px;	
	font-weight:bold;	
	height:16px;
	margin-top:-6px;
}

/*************
* Search Box *
**************/

#searchbox
{
    padding:10px;
    font-family:Tahoma;
}
#searchbutton,#searchfield,.commentForm input,.commentForm select,.button,.txtEmail,#contact input{
background:#8990B0 url(images/gfx-input-bg.gif) repeat-x scroll 0 0;
border:1px solid #495271;
color:#111111;
font-family:Tahoma;
font-size:12px;
line-height:normal;
margin:1px 5px 3px 0;
text-align:right;
vertical-align:middle;
color:#46455C;
}
#searchcomments
{
    vertical-align:middle;
}
#searchbutton,.button
{    
    height:20px;
    padding:0 2px 4px 2px;
    text-align:center !important;
}
#searchbutton:hover
{
    color:White;
}

#searchfield
{
    height:16px;
    width:170px;
}
/**************
* News Letter *
***************/
.txtEmail
{
    direction:ltr;
    text-align:center;
    margin-top:10px;
    margin-right:0px;
}
/***********
* BlogRoll *
************/
#blogroll
{
    text-align:right;
    
}
.xoxo li
{
    margin-right:-10px;
}
.xoxo li ul li
{
    margin-right:10px;
}
.xoxo li ul li a,.xoxo li ul li a:hover
{
    font-size:10px;
    font-weight:normal;
}
.xoxo li a img
{
    margin-left:3px;
    vertical-align:middle;
}

.punitseperator
{
    direction:rtl;
    unicode-bidi:embed;
    display:inline;    
}
.downloadOpml
{
    padding:10px;
    padding-bottom:5px;
    padding-top:10px;
}
/******************
* Recent Comments *
*******************/

.recentcomments-rssimage
{
    margin-right:2px;
    margin-top:10px;    
}

/**************
* Post Paging *
***************/
#postPaging
{
    padding:10px;
    font-size:12px;    
}
#postPaging a
{
    float:right;
}
.prevPosts
{
    float:right;
}
.nextPosts
{
    float:left;
}
/*********
* Footet *
**********/
#footer
{
 padding-left:20px;
 padding-right:20px;
 padding-top:10px;
 padding-bottom:10px;
}
#footer a img
{
    vertical-align:middle;
}
/************
* Post View *
*************/
#postnavigation
{
    padding:10px;
    padding-right:20px;
    font-size:14px;
}
#relatedPosts
{
    padding:10px 20px 10px 10px;
}
#relatedPosts h1,#addcomment
{
    font-size:14px;
    font-weight:bold;
}
#relatedPosts div,#commentlist
{
    font-size:14px;
}
.commentForm label,.commentForm input,#gravatarmsg
{
    font-size:12px;
    margin:3px;
}

#div-comment-top h1
{
    padding:0px;
    margin:0px;
    font-size:12px;
}
#div-commentlist-mid
{
    
    padding:0px;
}
.div-comment-top
{
    background-image:url(images/gfx-comment-top.png);
    background-position:center top;
    background-repeat:no-repeat;
    color:White;
    font-size:12px;
    font-weight:Bold;
    width:439px;
    height:5px;
}
.div-comment-mid
{
    background-image:url(images/gfx-comment-mid.png);
    background-position:center top;
    background-repeat:repeat-y;
    color:White;
    width:439px;
    min-height:55px;    
}
.div-comment-bot
{
    background-image:url(images/gfx-comment-bot.png);
    background-position:center top;
    background-repeat:no-repeat;
    width:439px;
    height:5px;    
    /*margin-bottom:5px;*/
}
#comment-list-finish
{
    clear:both;
}
#status
{
    color:White;    
    padding:30px;
}
.vcard-end
{
    clear:both;
}
.div-commenthead-top
{
    background-image:url(images/gfx-commenthead-top.png);
    background-position:center top;
    background-repeat:no-repeat;
    color:White;
    font-size:12px;
    font-weight:Bold;
    width:221px;
    height:5px;
}
.div-commenthead-mid
{
    background-image:url(images/gfx-commenthead-mid.png);
    background-position:center top;
    background-repeat:repeat-y;
    color:White;
    width:221px;
    min-height:54px;
    
}
.div-commenthead-mid-content
{
    padding: 3px 9px 3px 9px;
}
.gravatar img
{
    float:left;
}
.div-commenthead-bot
{
    background-image:url(images/gfx-commenthead-bot.png);
    background-position:center top;
    background-repeat:no-repeat;
    width:221px;
    height:5px;    
}
.div-commenthead
{
    
    float:right;
}
.div-comment
{
    display:block;
    margin-right:225px;
}
.vcard
{
    padding:6px 10px 0px 4px;
    padding-right:10px;
    
}
.vcard hr
{
    width:350px;
    margin-bottom:0px;
    margin-top:0px;        
}
.comment-text
{
   padding:10px;
   color:Black;
}
.commentForm select
{
    height:19px;
    border:1px solid #495271;
    color:#111111;
    font-family:Arial,sans-serif;
    font-size:11px;
    line-height:normal;
    margin:1px 5px 0 0;
    text-align:left;
    vertical-align:middle;
}
/*
.vcard {
    background:#E3E7CB none repeat scroll 0 0;
    
    padding:0.5em;
}
*/

.commentForm
{
    margin-top:15px;
}
.commentWeb
{
    width:250px;
}
.commentEmail
{
    width:150px;
}

#commentMenu li{
	float:left;
	border:1px solid silver;
	border-bottom: transparent;
	margin:0;
	list-style:none;
	margin-right:5px;
	padding: 3px 8px;	
	cursor:pointer;
	position:relative;
	top: 2px;
	background: #8990B0 url(images/gfx-input-bg.gif) repeat-x scroll 0 0;
}

#commentMenu li.selected{
	background:#CCCEDE;
	border-bottom:1px solid white;
}

#commentPreview{
	display:none;
	clear:both;
	min-height: 150px;
}

.success {
	color: green;
	font-weight: bold;
}

.commentForm .bbcode {
    font-size:10px;
    float:right;
    position:relative;
    top:20px;
    padding: 3px;
    color:#46455C;
}

.bbcode a 
{
    color:#46455C;
    margin: 1px;
    padding: 1px 3px 1px 3px;
    background: #8990B0 url(images/gfx-input-bg.gif) repeat-x scroll 0 0;
    border: 1px solid black;
}

#commentMenu{
	padding: 0;
	margin:0;
	clear:both;
}
.commentAjaxLoader
{
    
    margin:20px 380px 20px 20px;
    border:Solid 1px Black;
    
}
#commentPreview .vcard
{
    padding:5px 10px 0px 0px;
}
#commentCompose
{
    padding:5px 15px 0px 0px;
}
#div-addcomment-top h1
{
    font-size:12px;
    margin:0;
}
#div-addcomment-mid
{
    padding:0px;
}
#div-addcomment-mid-top,#div-addcomment-mid-bot
{
    padding:20px;
}

.commentForm textarea {
	width: 97%;
	height: 150px;
	border:1px solid #434F7E;
	background-color:#CCCEDE;
}
/*************
*   Archive  *
**************/

#archive {
    background-color:#A2A8C3;
    border-color:#363636;
    border:none;
    padding-top:0px;
    margin-top:0px;
}
#archive-middle
{
    padding-top:0px;    
}
#archive h1 {
	margin: 0;
	border-bottom: 1px dashed silver;
	padding-bottom: 9px;
	font-family:Nazanin,Arial;
	font-size:34px;	
}

#archive h2 {
	border-bottom: 1px solid silver;
	padding-bottom: 4px;
	font-size: 14px;
	margin-bottom: 10px;
	margin-top:15px;
}

#archive h2 img {
	margin-right: 3px;
	border:0;
}

#archive ul {
	list-style-type: square;
	margin: 0 10px;
	padding: 10px;
	font-size:14px;
}

#archive ul li {
	margin-right: 20px;
}

#archive table{
	width: 100%;	
	border-collapse: collapse;
	font-size:12px;
}

#archive table td{
	text-align:center;
	border-bottom: 1px solid #D8D8D8;
	padding: 2px 0;
	vertical-align:top;
}
#archive table td, #archive table th{
	text-align:right;
}

#archive .date{
	width: 90px;
	
}

#archive .comments{
	width: 70px;
	text-align: center;
}

#archive .rating{
	width: 70px;
	text-align: center;
}
#archive h2 a img
{
    margin-left:2px;
}

/*************
*   Contact  *
**************/
#contact
{
    padding-top:0px;
    margin-top:0px;
}
#contact-middle
{
    padding-top:0px;
}
#contact h1
{
    font-family:Nazanin,Arial;
    font-size:34px;
    margin:0px;
}
#contact textarea {
	width: 400px;
	height: 150px;
	border:1px solid #434F7E;
	background-color:#CCCEDE;
	margin-right:5px;
}
#contact input
{
    
}
.txtName
{
    width:150px;
}
.Email2
{
    width:150px;
    direction:ltr;
}
.txtSubject
{
    width:300px;
}
/*************
*   Search   *
**************/
.searchpage h1
{
     font-family:Nazanin,Arial;
    font-size:34px;
    margin:0px;
   
}
.field,.checkbox
{
    font-family:Tahoma;
    font-size:12px;
}
#searchpage input#q{
	width: 300px;
	background-color:#CCCEDE;
	border:solid 1px gray;
    margin:0px;
    padding:0 4px 4px 0;    
    vertical-align:middle;	    
}
#searchpage label,#searchpage #comment
{
    vertical-align:middle;
}
#searchpage .button
{
    margin:0 5px 0 5px;
    padding: 0 4px 4px 4px;
}
/*---------*/
#searchpage{
	margin-bottom: 30px;
}

#searchpage input#comment{
	clear: both;
}

.searchresult{
	margin-bottom: 20px;
}

.searchresult a{
	font-weight: bold;
}

.searchresult span.text{
	clear: both;
	display: block;
	margin: 3px 0;
}

.searchresult span.type{
	display: block;
}

.searchresult span.url{
	color: #717483;
}
.searchresult .divurl
{
    direction:ltr;	
	text-align:left;
}
.searchpage ul.paging{
 list-style-type: none;
 margin:0px;
 padding:4px;
 float:left;
}

.searchpage ul.paging li{
 display: inline;
 border: 1px solid gray; 
 margin-right: 2px;
 margin-left: 2px;
 background-color:#CCCEDE;
 
}

.searchpage ul.paging li a{
 padding: 2px 3px;
 text-align:center;
 color:Gray;
}
.searchpage ul.paging li.active{
 background: #7B7F99;
 border: 1px solid black; 
}
.searchpage ul.paging li.active a
{
    color:White;
}


/***********
* Calendar *
************/

.calendar td {
	vertical-align: top;
	background-color: #A2A8C3 !important;	
}

#calendarContainer {
	text-transform: capitalize;
	margin: 0 auto;
}

#default-middle
{
    padding:20px;
}
#default-middle .calendar 
{    
	margin: 0 auto;	
}

.calendar .weekend 
{
    /*6D7592*/
	background-color: #9AA0BD !important;
}

.calendar .other {
	color: #BAC0D7;
}

.calendar a.exist {
	display: block;
	font-weight: bold;
	background-color: #A2A8C3 !important;
}

.calendarTitle
{
    font-size:20px;
    font-family:Nazanin,Courier New;
    font-weight:bold;
    color:#EFE0FF;
}
.calendarTitle td
{
    background-color:#7C84A7 !important;
    text-align:center;
}
#default-middle .calendar th
{
    font-family:Nazanin,Courier New;
    font-weight:bolder;
    background-color:#9AA0BD !important;
    font-size:24px;
    padding-bottom:6px;    
    
}
.calendar th
{
    border-bottom:Solid 2px #6D7592;
}
#default-middle .calendarCellStyle
{
    font-weight:bold;
    font-size:16px;
}

/********
* Pages *
*********/
#page
{
    padding:0px;
    margin:0px;
}
.page-Text
{
    padding:15px 10px 15px 10px;
}


#about_favorite li
{
    font-size:14px;
    font-weight:bold;
    padding:10px 0px 10px 0px;
}
#about_favorite li li
{
    font-size:12px;
    font-weight:normal;
    padding:2px 0px 2px 0px;
}
