﻿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 {
	font-family: tahoma;
	font-size: 11px;
	margin: 0px;
	padding: 0px;
}

.bodybg {
	background: url("1387/images/bg.gif") repeat-x top #ffffff;
}

a {
	color: #000000;
	text-decoration: none;
}

a img {
	border: 0px;
}
.topleft a:visited, .topleft a:link 
{
	font-size: 11px;
	color: #999999;
	text-decoration: none;
	vertical-align: top;
}
.topleft span, .topleft
{
	vertical-align:top;
	color: #999999;
	text-align:right;
	padding-bottom:0px;
	height: 20px;
	font-size: 11px;
	padding-right:5px;
}
.topleft img
{
	vertical-align:text-bottom;
}
.footermenu
{
	width: 368px;
	background-image: url('1387/footer1-1.gif');
	vertical-align:middle;
	color:#004A00;
	font-size: 11px;
	text-align: center;
}
.footermenu a:visited, .footermenu a:link
{
	color:olive;
	text-decoration:none;
}
.footermenu a:hover
{
	color:#55552B;
	text-decoration:none;
	font-weight:bold;
}
.sideborders
{
	border-right:1px black solid;
	border-left:1px black solid;
}

.headbotleft
{
	height: 56px;
	background-image: url('1387/Header2-3.jpg');
}

/* Menu */

.navbar{
	text-align:center;
	width: 994px;
	margin-right: auto;
	margin-left: auto;
	background-image: url('1387/navigation_main.png');
	height: 32px;
	font-size: 10px;
	border-top: 2px #658C48 solid;
	border-bottom: 2px #658C48 solid;
}
div .navi {
	float: right;
	text-align: center;
	background: url("1387/nav_link.png");
	background-position: 0 -32px;
	border-left: 1px solid #003300;
	width: 80px;
	height: 32px;
	margin: 0;
	padding: 0;
}
div .extra
{
	float:right;
	width:10px;
	/*width: 46px;*/
	background: url("1387/nav_link.png");
	background-position: 0 0;
	height: 32px;
}
.navbar a {
	display: block;
	width: 100%;
	color: #DFE9DA;
	text-decoration: none;
	text-align: center;
	background: url("1387/nav_link.png");
	background-position: 0 0;
	height: 22px;
	margin: 0;
	padding-top: 8px;
}
.navbar a:hover { 
	background-image: none; 
	text-decoration:none;
}


.navbar a:visited { 
	color:#FFFFFF; 
}

.navbar a:link { 
	color:#FFFFFF; 
	text-decoration:none;
}

.containermain {
	padding-right: 5px;
	padding-left: 5px;
	border-right: 1px #000000 solid;
	border-left: 1px #000000 solid;
	direction: rtl;
	background-color:white;
	text-align:right;
}
.containerbottom {
	background:url('1387/c1-6.gif');
	background-repeat:repeat-x;
	width:100%;
	vertical-align:top;
}
.containertop 
{
	background-repeat:repeat-x;
	height:25px;
	text-align:right;
	font-family: Tahoma;
	font-size: 10px;
	direction:rtl;
	font-weight:bold;
}
.green {
	background:url('1387/c1-5.gif');
	color: #004800;
}

span.tabbut {
	color:   #578308;
	margin-left:   2px;
	padding-left:  2px;
	padding-right: 2px;
	background-color:   white;
}

.tablink {
	color:    #578308;
	font-family: Tahoma;
	font-size:   10px;
	text-decoration:   none;
}

/******* GENERAL LAYOUT ********/
/* This div encloses the whole Mavara application */
DIV#mavara-main {
	background: white;
	height: 100%;
	width:  994px;
	margin: 0px auto;
	padding-right: 0px;
	padding-left:  0px;
}

.daneshnamehtopline {width: 100%;}

/* This is the header */
DIV#mavara-top {
	background-repeat: no-repeat;
	color:   #578308;
	height:   50px;
	padding-right: 0px;
	font-size: 10px;
	width:   988px;
}

DIV#mavara-top-menu {
	background-color: #004F00;
	color: #E3F4E4;
	height: 12px;
	text-align: right;
	padding-right: 10px;
	padding-bottom: 2px;
	font-family: Tahoma;
	font-size: 10px;
}

.mavaratopmenu {
	color:    #004E82;
	font-family: Tahoma;
	font-size:   9px;
	text-decoration: none;
}

.mavaratopmenu2 {
	color:    black;
	font-family: Tahoma;
	font-size:   10px;
	text-decoration: none;
}

DIV#usermenu {
	background-color: white;
	color:   black;
	margin-bottom:  5px;
	padding-right: 10px;
	padding-bottom: 2px;
	font-family: Tahoma;
	font-size:   10px;
}

/* This is the middle */
DIV#mavara-mid {
	height:   auto;
	text-align:right;

}

/* The three columns */
TD#leftcolumn {
	padding-left:  0px;
	padding-right: 0px;
	vertical-align: top;
	background:   white;
	width:   200px;
}

TD#rightcolumn {
	padding-left:   0px;
	vertical-align: top;
	background:   white;
	width:   0px;
}

TD#centercolumn {
	padding-right: 5px;
	background:   white;
	vertical-align:  top;
	width:   80%;
}

/* And this is what lies inside the centercolumn */
DIV#mavara-center {
	margin-left:   0;
	margin-right:  0;
	padding-left:  0;
	padding-right: 0;
}

div#debugconsole {
	position:    absolute;
	background-color:   #eeddcc;
	top:     0px;
	left:   20px;
	right: 310px;
	height: auto;
	width:  auto;
	z-index: 1;
	padding: 5px;
	font-size: 12px;
}

span.on-option {color: #00C000;}
span.off-option {color: #005000;}

/*mail box */
span.qtlo {background:#DBEBC1 url(img/icons/qt_lo_1.gif) repeat-x center left;}
span.qtm  {background:#F9E9B5 url(img/icons/qt_m_1.gif)  repeat-x center left;}
span.qthi {background:#FFC1C1 url(img/icons/qt_hi_1.gif) repeat-x center left;}


div.box-title table {
    width: 100%;
}

/* And this is the data */
div.box-data2 {
	background-image:url('1387/images/Roshd2CBG.gif');
	background-repeat:repeat-x;
	height:24px;
	text-align:right;
	padding:3px 5px 3px 3px;
	font-family: Tahoma;
	font-size: 11px;
	direction:rtl;
	font-weight:bold;
	border:1px #e1e1e1 solid;
}
div.box-data2 form * {
    padding: 0px;
    margin: 0px;
    
    font-size: 11px;
    vertical-align: middle;
}
div.box-data2 form input[type=text] {
    padding: 4px;
    margin: 0px;
    border:1px #a1a1a1 solid;
    height: 14px;
}
div.box-data2 form select {
    padding: 0px;
    margin: 0px;
    border:1px #a1a1a1 solid;
    height: 22px;
}
div.box-data2 form img {
    height: 22px;
    padding: 0px;
    margin: 1px;
}
/* Menus */
/* Separators are used to separate menu areas in the application menu and user created menus*/
div.separator {
	color:   black;
	font-family: Tahoma;
	font-size:   12px;
	margin: 6px 2px 2px 2px;
	width:   90%;
}

.linkmenu, .rsslink {
	font-family: Tahoma;
	font-size: 12px;
	margin-left: 12px;
	color: #5D5D5D;
	text-decoration: none;
}

.linkmenu:active, .rsslink:active {
	color:  black;
}

.linkmenu:hover, .rsslink:hover {
	color: #000000;
}
/* style for rss lists in modules or in daneshnameh */
.rsslist {
  background-color: #ffffff;
  margin: 0;
  margin-right: 12px;
  padding: 1px;
  border: 1px solid #dadac9;
}
.rssitem { padding: 1px 6px 1px 6px; border-top: 1px dashed #dadac9;}
.rssitem:first-child {border-top: 0;}
.rssdate {color: #999999;  font-style: italic;}


/* Links to extend/collapse menus */
.separator {
	font-family: Tahoma;
	font-size: 12px;
	color: #4F7500;
	text-decoration: none;
}
.separator:active {
	color: #666633;
}
.separator:hover {
	color: #336600;
}

/* Links to collapse menus for example the main menu can be completely collapsed*/
.flip, .flip:active, .flip:hover {
	font-family: Tahoma;
	font-size:   12px;
	color:   black;
	text-decoration:   none;
}

span.user-box-text {
	color: black;
}

/* When modules display a list of items each item is enclosed in a cell with the following style */
TD.module {
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	text-align:   left;
	padding-top:3px;
}

/* Links in modules */
.linkmodule {
	font-family: Tahoma;
	font-size: 11px;
	color: #5D5D5D;
	text-decoration: none;
}

.linkmodule:active {
	color:   #5D5D5D;
}

.linkmodule:hover {
	color:   #000000;
}

/* Now the boxes for the rest of Mavara (non-modules */
div.cbox {
	background:    white;
	margin: 4px 4px 0px 4px;
	border:   0px solid #8CACBB;
	padding-bottom:   10px;
	overflow:   hidden;
	width:   99%;
}

/* Boxes are divided in title and data, this is the title */
div.cbox-title {
	background-color: #EBF7C4;
	color: #254A00;
	border-bottom: 1px solid #2B4F31;
	font-family: Tahoma;
	font-size: 12px;
	overflow: hidden;
	text-align: center;
	padding: 2px 0px 4px 0px;
	margin-bottom: 0px;
	width: 100%;
}

/* When there's a link in a cbox-title */
.cboxtlink, .cboxtlink:active, .cboxtlink:hover {
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	text-decoration:   none;
}
/* And this is the data */
div.cbox-data {
	overflow:    hidden;
	background:   white;
	margin-left:   5px;
	margin-right:   5px;
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	width:   99%;
}

/* Some boxes are identified by an ID, for example the  boxes in the main application menu, we set display to
   none to make the menu appear collapsed initially, change this to 'block' if you want it to be extended fully */

/* Banners of type text (textadds) are displayed as links using the following style */
.bannertext, .bannertext:active, .bannertext:hover {
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	text-decoration:   none;
}

/* Some boxes uses thumbnails this is the image style */
div.imagerank {
	margin: 10px 5px;
}

/* A simple box is just a div with a border around and some margin 
 * used for example in the admin screen */
div.simplebox {
	margin: 5px 1px;
	padding:   2px;
	color:   black;
	border:   1px solid #2B4F31;
	background:   white;
	width:   98%;
	font-family: Tahoma;
	font-size:   10px;
}

/* Prevent forms from generating unwanted padding or margins */
FORM {
	margin:    0px;
	padding:   0px;
}

/* General form elements */
input, textarea, select {
	color:    #000000;
	font-family: Tahoma;
}

input {
	text-indent: 2px;
}

/* General tables */
/* These styles apply to tables used to display common listings such as the daneshnameh page listing, last changes,
   listings in admin screens, etc. */

/* Cells where nothing is specified */
TD {
	color:    Black;
	font-family: Tahoma;
	font-size:   12px;
}

/* Cells in forms without background color (inside a div for example) */
TD.form {
	color:    Black;
	font-family: Tahoma;
	font-size:   10px;
	vertical-align:   top;
	text-align:   left;
}

TD.formbor {
	border:    1px solid #2B4F31;
	color:   Black;
	font-family: Tahoma;
	font-size:   10px;
	vertical-align:   top;
	text-align:   left;
}
/* Cells in forms using a background color */
TD.formcolor, td.galform, td.editblogform, td.editfgalform, TD.comform, td.forumform {
	border: 1px solid #336600;
	color: black;
	font-family: Tahoma;
	background: #F9F9F9;
	font-size: 10px;
	vertical-align: top;
	text-align: left;
}

/* The table */
table.listgallery, table.creategalform, TABLE.normal, table.gallerylisting, table.bloglist,
	table.editblogform, table.editfgalform,table.listfgal, table.listfiles, table.listarticles,
	table.forumstable, table.forumformtable, table.viewthread {
	padding:    0px;
	margin:   0px;
	border-collapse:   collapse;
	width:   100%;
}
/* forums */
.scrollable-table-area{
		 width : 100%;
}
.hint_body{
	font-family: Tahoma;
	font-size:   10px;
	color:   	 blue;
}
.hint_title{
	font-family: Tahoma;
	font-size:   10px;
	color:   	 white;
}
table.comment{
		padding: 0px;
		margin:  0px;
		border-collapse: collapse;
		width: 100%;
 		border: 2px solid;
}
td.odd_comment{
	border: 1px solid #336600;
	border-collapse: collapse;
	font-family: Tahoma;
	font-size: 12px;
	color: black;
	background-color: #F9F9F9;
	vertical-align: top;
}
.error{
	font-family: Tahoma;
	font-size:   12px;
	color:   red;
	font-weight: bold;
}
td.even_comment{
	border: 1px solid #336600;
	font-family: Tahoma;
	font-size: 12px;
	background-color: transparent;
	color: black;
	vertical-align: top;
}
span.last_post{
	font-family: Tahoma;
	font-size:   10px;
	color:   blue;
}

a.last_post,a.last_post:hover,a.last_post:visited {
	font-family: Tahoma;
	font-size:   10px;
	color:   #336699;
	text-decoration: none;
}
a.topic,a.topic:hover,a.topic:visited {
	font-family: Tahoma;
	font-size:   10px;
	color:   #FFFFB7;
	text-decoration: none;
}


TABLE.normalnoborder {	width: 97%;}

/* Table headings */
TD.heading, td.gallistheading, td.listgalheading, td.bloglistheading, td.listfgalheading, td.listfilesheading, td.listartheading,
	td.forumheading, td.thead {
	font-family: Tahoma, Verdana, Arial;
	color: black;
	font-size: 12px;
	background: url('1387/images/Roshd2CBG.gif') repeat-x top #E7e7e7;
	border: 1px solid #919191;
	padding-left: 2px;
	padding-right: 5px;
	padding-bottom:4px;
}

TD.button {
	font-family: Tahoma, Verdana, Arial;
	color: black;
	font-size: 10px;
	background-color: #BBD08A;
	border: 1px solid #285100;
	padding-left: 2px;
	padding-right: 5px;
	text-align: center;
	vertical-align: middle;
}

/* Links to view an object from a table listing objects can be generalized to this link */
a.tablename, a.galname, a.imagename, a.blogname, a.fgalname, a.artname, a.forumname {
	font-weight: bold;
	font-size:   10px;
	letter-spacing: 1px;
	color:   black;
	text-decoration: none;
}

a.tablename:hover, a.galname:hover, a.imagename:hover, a.blogname:hover, a.fgalname:hover, a.artname:hover, a.forumname:hover {
	text-decoration: underline;
}

a.forumnameread {
	font-size:    12px;
	letter-spacing:   1px;
	color:   black;
	text-decoration:   none;
}

a.forumnameread:hover {
	text-decoration: underline;
}

/* Links in table headings */
.tableheading, .gallistheading, .listgalheading, .bloglistheading, .llisfgalheading, .llistfileslink, .llistart, .lforumheading {
	font-family: Tahoma, Verdana;
	color:   black;
	font-size:   10px;
	text-decoration:   none;
}

.tableheading:hover, gallistheading:hover, .listgalheading:hover, .bloglistheading:hover, .llisfgalheading:hover, .llistfileslink:hover, .llistart:hover, .lforumheading:hover {
	font-family: Tahoma, Verdana;
	color:   black;
	font-size:   10px;
	text-decoration: none;
}

/* When a find button is provided for a listing the table form is displayed in a table with the following style */
table.findtable {
	width:    97%;
	margin-bottom:   1px;
	padding-bottom: 10px;
}

td.findtable {
	font-family: Tahoma, Verdana;
	font-size:   11px;
}

/* Odd rows in several listings */
TD.odd, td.gallistnameodd, td.gallistdescriptionodd, td.gallistcreatedodd, td.gallistlastModifodd, td.gallistuserodd, td.gallistimagesodd, td.gallisthitsodd, td.gallistactionsodd, td.listgalidodd, td.listgalnameodd, td.listgalcreatedodd, td.listgalhitsodd, td.listgaluserodd, td.listgalfilesizeodd, td.bloglistnameodd, td.bloglistdescriptionodd, td.bloglistcreatedodd, td.bloglistlastModifodd, td.bloglistuserodd, td.bloglistpublicodd, td.bloglistpostsodd, td.bloglistvisitsodd, td.bloglistactivityodd, td.bloglistactionsodd, td.listfgalnameodd, td.listfgaldescriptionodd, td.listfgalcreatedodd, td.listfgallastModifodd, td.listfgaluserodd, td.listfgalfilesodd, td.listfgalvisitsodd, td.listfgalactionsodd, td.listfilesnameodd, td.listfilesdescriptionodd, td.listfilesidodd, td.listfilesfilenameodd, td.listfilesfilesizeodd, td.listfilescreatedodd, td.listfilesdlsodd, td.listfilesnameodd, td.listfilesuserodd, td.listfilesactionsodd, td.listarttitleodd, td.listarttopicodd, td.listartpublishDateodd, td.listartauthorodd, td.listartreadsodd, td.listarthasimageodd, td.listartuseimageodd, td.listartactionsodd, td.listartsizeodd, td.forumstableodd, td.forumstableinfoodd, td.topictitleodd, td.topicrepliesodd, td.topicreadsodd, td.topicscoreodd, td.topiclastpostodd, td.topicauthorodd {
	border: 1px solid #919191;
	border-collapse: collapse;
	font-size: 12px;
	color: black;
	background-color: #F9F9F9;
	vertical-align: top;
	text-align: left;
}

/* Even rows in several listings */
TD.even, td.gallistnameeven, td.gallistdescriptioneven, td.gallistcreatedeven, td.gallistlastModifeven, td.gallistusereven, td.gallistimageseven, td.gallisthitseven, td.gallistactionseven, td.listgalideven, td.listgalnameeven, td.listgalcreatedeven, td.listgalhitseven, td.listgalusereven, td.listgalfilesizeeven, td.bloglistnameeven, td.bloglistdescriptioneven, td.bloglistcreatedeven, td.bloglistlastModifeven, td.bloglistusereven, td.bloglistpubliceven, td.bloglistpostseven, td.bloglistvisitseven, td.bloglistactivityeven, td.bloglistactionseven, td.listfgalnameeven, td.listfgaldescriptioneven, td.listfgalcreatedeven, td.listfgallastModifeven, td.listfgalusereven, td.listfgalfileseven, td.listfgalvisitseven, td.listfgalactionseven, td.listfilesnameeven, td.listfilesdescriptioneven, td.listfilesideven, td.listfilesfilenameeven, td.listfilesfilesizeeven, td.listfilescreatedeven, td.listfilesdlseven, td.listfilesnameeven, td.listfilesusereven, td.listfilesactionseven, td.listarttitleeven, td.listarttopiceven, td.listartpublishDateeven, td.listartauthoreven, td.listartreadseven, td.listarthasimageeven, td.listartuseimageeven, td.listartactionseven, td.listartsizeeven, td.forumstableeven, td.forumstableinfoeven, td.topictitleeven, td.topicreplieseven, td.topicreadseven, td.topicscoreeven, td.topiclastposteven, td.topicauthoreven {
	border: 1px solid #919191;
	font-size: 12px;
	background-color: transparent;
	color: black;
	vertical-align: top;
	text-align: left;
}
TD.third {
	border: 1px solid #919191;
	font-size: 11px;
        font-weight: bold;
	color: #313131;
	background-color: #CFE9FF;
	vertical-align: top;
	text-align: left;
	padding:3px;
}

/* Titles */
/* When the page title is a link this is the style */
.pagetitle, .forumspagetitle {
	font-family: Tahoma;
	font-size: 18px;
	color: #666666;
}

a.pagetitle, a.forumspagetitle {
	font-family:Tahoma;
	font-size:    18px;
	text-decoration:   none;
	color:   #666666;
}

a.pagetitle:hover, a.forumspagetitle:hover {
	color:   black;
}

/* Non-linking titles (three levels) */
H1 {
	font-size: 18px;
	font-family: Tahoma;
	color: black;
}

H2 {
	font-size: 16px;
	font-family: Tahoma;
	color:  black;
}

H3 {
	font-size: 14px;
	font-family: Tahoma;
	color:   black;
}

/* Links where no special link style apply (usually with the general application background) */
.link, .gallink, .bloglink, .fgallink, .trailer, .opencomlink, .commentslink, .admlink, .forumbutlink {
	font-family: Tahoma;
	font-size:   10px;
	color:   #004E82;
	text-decoration: underline;
}

.link:hover, .gallink:hover, .bloglink:hover, .fgallink:hover, .trailer:hover, .opencomlink:hover, .commentslink:hover, .admlink:hover, .forumbutlink:hover {
	font-family: Tahoma;
	font-size: 10px;
	color: #004E82;
	text-decoration: underline;
}

/* Search results display a date using the following style*/
div.searchdate {
	font-family: Tahoma;
	font-size: 10px;
	color: #333333;
}

/* Pagination for listings */
.mini {
	font-family: Tahoma;
	font-size: 9px;
	color: Black;
}

/* prev & next buttons in pagination */
.prevnext, .galprevnext, .blogprevnext, .fgalprevnext, .artprevnext, .forumprevnext {
	font-family: Tahoma;
	font-size: 12px;
	color: black;
	text-decoration: none;
}

.prevnext:active, .galprevnext:active, .blogprevnext:active, .fgalprevnext:active, .artprevnext:active, .forumprevnext:active {
	font-family: Tahoma;
	font-size:   12px;
	color:   black;
	text-decoration: none;
}

.prevnext:hover, .galprevnext:hover, .blogprevnext:hover, .fgalprevnext:hover, .artprevnext:hover, .forumprevnext:hover {
	font-family: Tahoma;
	font-size: 12px;
	color: black;
	text-decoration: underline;
}

/* Warning background/color */
span.warn {	color: red;}

/***** THE DANESHNAMEH *****/
div.titlebar {
	background: #EBF7C4;
	color: black;
	border: 1px solid #336600;
	padding: 1px;
	margin: 1px 1px;
	clear: both;
}

/* The bar where the actions for a page are displayed */
DIV#page-bar {
	margin-left: 5px;
}

/* Daneshnameh action buttons (the buttons displayed at the end of each page to edit/print/remove/etc a page */
div.button2 {
	font-family: Tahoma;
	font-size:   10px;
	color:   #578308;
	background:   white;
	border:   1px solid white;
	margin:   0.0ex 0px;
}

/* When a cached version of an external link is displayed */
div.cache {
	background:    #EFEFEF;
	border:   1px solid black;
	padding:   0.1em;
	margin:   0.1ex 0px;
	width:   100%;
}

div.cachedpage {
	border:    1px solid black;
	padding:   0.1em;
	margin:   0.1ex 0px;
	width:   100%;
}

/* When an external link is cached a small link to the cached version (cache) is displayed using this style */
.daneshnamehcache {
	font-family: Tahoma;
	font-size:   9px;
	color:   #578308;
	text-decoration:   none;
}

.daneshnamehcache:active {
	font-family: Tahoma;
	font-size:   9px;
	color:   #578308;
	text-decoration:   none;
}

.daneshnamehcache:hover {
	font-family: Tahoma;
	font-size:   9px;
	color:   #578308;
	text-decoration:   none;
}

table.daneshnamehtable {
	border-collapse: collapse;
}

td.daneshnamehcell {
	border-collapse: collapse;
	border: 1px solid #336600;
	background-color: #F9F9F9;
}

/* Text in daneshnameh pages is displayed using the following style */
div.daneshnamehtext {
	background:    white;
	font-family: Tahoma;
	font-size:   12px;
	border:   0px solid white;
	padding: 3px 4px 1px 4px;
	margin: 0px 1px 5px 1px;
	width:   100%;
	clear:   both;
}

a.daneshnamehexternallink {
	color: #004E82;
	text-decoration: underline;
    background: url(1387/external.png) center left no-repeat;
    padding-right: 10px;
}

/* Links to daneshnameh pages */
.daneshnameh {
	color:    #004E82;
	text-decoration:   underline;
}

.daneshnameh:hover {
	color:    #004E82;
	text-decoration:   underline;
}

/* Date displayed for last modification date of pages */
p.editdate {
	color:    black;
	font-size:   smaller;
	margin-bottom:   -1ex;
	font-family: Tahoma;
}

/* The edit-help used to display the daneshnameh syntax when editing a page */
div.daneshnameh-edithelp {
	background:    white;
	border:   1px solid black;
	font-size:   smaller;
	padding:   6pt;
}

/**** IMAGE GALLERIES ****/
TABLE.galtable {
	border-collapse: collapse;
}

/* You can set a different background color for odd and even rows in the thumbnails table */
/* Thumbnails in odd rows are shown inside oddthumb tds */
TD.oddthumb {
	background: transparent;
	border: 1px solid #336600;
	border-collapse: collapse;
}
TD.eventhumb {
	background: #F9F9F9;
	border: 1px solid #336600;
	border-collapse: collapse;
}

/* Container for thumbnails */
div.thumbnails {
	border:    1px solid white;
	margin-top:   10px;
	margin-bottom:   10px;
}

/* Thumbnails images */
img.athumb {
	border: 1px solid white;
}

.caption {
	color: black;
}

/* No records found text  (displayed in the table when no records */
p.norecords {
	font-weight: bold;
}

/* Browsing an image */
div.imagetitle {
	font-weight:    bold;
	font-size:   18px;
	font-family: Tahoma;
	color:   #2B4F31;
}

div.gallerylink {
}

div.showimage {
	text-align:    center;
	margin-top:   5px;
	margin-bottom:   5px;
}

/******** WEBLOGS *********/

/* The header of a weblog post */
div.posthead {
	background-color:    white;
	font-family: Tahoma;
	font-size:   13px;
	color:   black;
	font-weight:   bold;
	overflow:   hidden;
	border:   1px solid white;	
	border-bottom:   0px;
	text-align:   center;
	padding-left:   0px;
	padding-right:   0px;
	margin-bottom:   0px;
}

/* The font used in the heading of the weblog */
span.posthead {
	font-family: Tahoma;
	font-size:   13px;
	font-weight:   bold;
	color:   #578308;
}

/* Links in the weblog post heading (edit/remove) */
/* When there's a link in a cbox-title */
.blogt {
	font-family: Tahoma;
	font-size:   11px;
	color:   white;
	text-decoration:   none;
}

.blogt:active {
	font-family: Tahoma;
	font-size:   11px;
	color:   white;
	text-decoration:   none;
}

.blogt:hover {
	font-family: Tahoma;
	font-size:   11px;
	color:   white;
	text-decoration:   underline;
}

/* The post body */
div.postbody {
	overflow:    hidden;
	background:   white;
	border:   1px solid white;
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	padding-left:   5px;
	padding-top:   5px;
	padding-bottom:   2px;
	margin-bottom:   10px;
}

/* The weblog title */
div.blogtitle {
	font-family: Tahoma;
	color:   black;
	font-weight:   bold;
	font-size:   18px;
	background-color:   #D0E7FD;
	padding-left:   2px;
	padding-right:   5px;
	margin-top:   10px;
	border:   1px solid #2B4F31;
	border-bottom:   0px;
}

/* The weblog information */
div.bloginfo {
	background:    white;
	border:   1px solid #2B4F31;
	padding: 0.5em 0.8em;
	margin-bottom:   10px;
	font-family: Tahoma;
	font-size:   11px;
	clear:   both;
}

/* Weblog description */
div.blogdesc {
	background:    white;
	border:   1px solid #2B4F31;
	padding: 0.5em 0.8em;
	margin-bottom:   10px;
	font-family: Tahoma;
	font-size:   11px;
	clear:   both;
}

/* Links to post/edit/rss feed for the webelog are contained inside this div */
div.blogtools {
	background:    white;
	border:   1px solid #2B4F31;
	padding: 0.5em 0.8em;
	margin-bottom:   10px;
	font-family: Tahoma;
	font-size:   10px;
	clear:   both;
}

/******* CMS ********/

/* The article title bar */
div.articletitle {
	font-family: Tahoma;
	color:   #578308;
	font-size:   11px;
	font-weight:   bold;
	background-color:   white;
	border:   1px solid white;
	border-bottom:   0px;
	padding: 0.5em 0.8em;
	margin-top:   5px;
	clear:   both;
}

/* The article heading */
div.articleheading {
	background:    white;
	border:   1px solid white;	
	padding: 0.5em 0.8em;
	border-bottom:   0px;
	font-family: Tahoma;
	font-size:   10px;
	clear:   both;
}

div.articletrailer {
	background:    white;
	border:   1px solid white;
	margin-bottom:   20px;
	font-family: Tahoma;
	font-size:   10px;
	clear:   both;
}

/* Text in the article heading */
div.articleheadingtext {
	font-family: Tahoma;
	font-size:   10px;
	display: inline;
}

/* The body */
div.articlebody {
	background:    white;
	border:   1px solid white;
	padding: 0.5em 0.8em;
	margin:   10px 0px;
	font-family: Tahoma;
	font-size:   10px;
	clear:   both;
}

/* The article title */
span.titlea {
	font-family: Tahoma;
	font-size:   18px;
	font-weight:   bold;
}

/* The author, date and number of reads */
span.titleb {
	font-family: Tahoma;
	font-size:   10px;
}

/* The trailer */
span.trailer {
	font-family: Tahoma;
	font-size:   10px;
	font-weight:   bold;
}

/****** CALENDAR *******/

/* LINKS TO DAYS IN THE CALENDAR */
.day, .day:hover{
	font-family: Tahoma;
	font-size:   9px;
	text-decoration:   none;
	color:   black;
}

/* LINKS FOR TODAY */
.today {
	font-family: Tahoma;
	font-size:   9px;
	text-decoration:   none;
	color:   black;
	font-weight:   bold;
	text-decoration:   none;
}

.today:hover {
	font-family: Tahoma;
	font-size:   9px;
	color:   black;
	text-decoration:   none;
	font-weight:   bold;
}

/* Links to change month, year or go to today */
.nav, .nav:hover {
	font-family: Tahoma;
	font-size:   9px;
	text-decoration:   none;
	color:   black;
	font-weight:   bold;
}

.changedate {
	font-family: Tahoma;
	font-size:   8px;
	color:   black;
	font-weight:   bold;
}

.date {
	font-family: Tahoma;
	font-size:   9px;
	color:   black;
	font-weight:   bold;
}

/****** COMMENTS ********/

/* The whole comment area when it is visible and when it is not */
#comzone {
	display:    none;
	margin: 5px 1px;
	padding-left:   2px;
	padding-right:   2px;
}

#comzoneopen {
	display:    block;
	margin: 5px 1px;
	padding-left:   2px;
	padding-right:   2px;
}

/* The comment title */
span.commentstitle {
	font-weight:    bold;
	font-size:   12px;
	font-family: Tahoma;
	width:   98%;
}

/***** CHAT ******/
table.chatroom {
	border-color:    #5A4A39;
	border-style:   solid;
	border-width:   2px;
	width:   97%;
}

td.chatchannels {
	font-family: Tahoma;
	background:   #B5C6DE;
	font-size:   11px;
	color:   white;
}

td.chatarea {
	padding-left:    0px;
	margin-left:   0px;
	font-family: Tahoma;
	font-size:   11px;
	color:   black;
	background:   #FFFFFF;
}

table.chatform {
	border-color:    #00639C;
	border-style:   solid;
	border-width:   2px;
	width:   97%;
	border-top:   0px;
}

td.tdchatform {
	color:    Black;
	font-family: Tahoma;
	background:   #EFEFEF;
	font-size:   11px;
	vertical-align:   top;
	text-align:   left;
}

span.chnormal {
	color:    black;
	font-family: Tahoma;
	font-size:   11px;
}

span.chuser {
	color:    black;
	font-family: Tahoma;
	font-size:   11px;
	font-weight:   bold;
}

/******** POLLS *******/
div.pollresults {
	background:    white;
	border:   1px solid black;
	width:   98%;
	margin-top:   5px;
	font-family: Tahoma;
	font-size:   14px;
	padding-left:   5px;
}

table.pollresults {
	width: 97%;
}

td.pollr {
	font-family: Tahoma;
	font-size:   11px;
	color:   black;
}
/* MODULES */

/****** FORUMS ***/

/* Title for the forums page */
div.forumspagetitle {
	margin-top:    10px;
	margin-bottom:   40px;
}

table.threads {
	width: 97%;
}

td.viewthreadl {
	border:    1px solid #2B4F31;
	border-collapse:   collapse;
	font-family: Tahoma;
	font-size:   11px;
	background-color:   #EFEFEF;
	height:   10px;
	vertical-align:   top;
}

td.viewthreadr {
	border:    1px solid #2B4F31;
	border-collapse:   collapse;
	font-family: Tahoma;
	font-size:   11px;
	background-color:   #EFEFEF;
	height:   10px;
	vertical-align:   top;
}

/* Cells for the threads table */
td.threadsevenl {
	border:    1px solid #2B4F31;
	border-collapse:   collapse;
	font-family: Tahoma;
	font-size:   12px;
	background-color:   #EFEFEF;
	vertical-align:   top;
}

td.threadsevenr {
	border:    1px solid #2B4F31;
	border-collapse:   collapse;
	font-family: Tahoma;
	font-size:   13px;
	background-color:   #EFEFEF;
	vertical-align:   top;
}

td.threadsoddl {
	border:    1px solid #2B4F31;
	border-collapse:   collapse;
	font-family: Tahoma;
	font-size:   12px;
	background-color:   #DDDDDD;
	vertical-align:   top;
}

td.threadsoddr {
	border:    1px solid #2B4F31;
	border-collapse:   collapse;
	font-family: Tahoma;
	font-size:   13px;
	background-color:   #DDDDDD;
	vertical-align:   top;
}

td.threadseparator {
	border:    1px solid #2B4F31;
	border-collapse:   collapse;
	background-color:   #EEEEEE;
	height:   5px;
}

#forumpost {
	display: none;
}

#forumpostopen {
	display: block;
}

div.forumtoolbar {
	background: #3C7700;
	width: 98%;
	margin-bottom: 20px;
	border: 0px;
}

td.forumtoolbar {
	font-family: Tahoma;
	color:   white;
	font-size:   11px;
	font-weight:   bold;
	text-decoration:   none;
	vertical-align:   bottom;
}

.toolbarlink {
	font-family: Tahoma;
	color:   white;
	font-size:   11px;
	font-weight:   bold;
	text-decoration:   none;
}

.toolbarlink:active {
	font-family: Tahoma;
	color:   white;
	font-size:   11px;
	font-weight:   bold;
	text-decoration:   none;
}

.toolbarlink:hover {
	font-family: Tahoma;
	color:   #00FFFF;
	font-size:   11px;
	font-weight:   bold;
	text-decoration:   none;
}

/* Links to vote */
.forumvotelink {
	font-family: Tahoma;
	font-size:   12px;
	color:   black;
}

.forumvotelink:active {
	font-family: Tahoma;
	font-size:   12px;
	color:   black;
}

.forumvotelink:hover {
	font-family: Tahoma;
	font-size:   12px;
	color:   black;
}
/***** CATEGORIES *********/
table.tcategpath {
	margin-bottom:    40px;
	border-color:   white;
	border-style:   solid;
	border-width:   1px;
	width:   97%;
	border-collapse:   collapse;
}

/* Table containing the category path */
td.tdcategpath {
	font-family: Tahoma;
	color:   #578308;
	font-size:   12px;
	font-weight: bold;
	background-color:   white;
	padding-left:   2px;
	margin:   0px;
	border-spacing: 0px;
	padding-right:  5px;
}

/* Links to up/top categories */
.categpath {
	font-family: Tahoma;
	font-size:   12px;
	color:  #578308;
	text-decoration: none;
}

.categpath:active {
	font-family: Tahoma;
	font-size:   12px;
	color:   #578308;
	text-decoration: none;
}

.categpath:hover {
	font-family: Tahoma;
	font-size: 12px;
	color: #578308;
	text-decoration: none;
}

/* Table with the subcategories */
table.subcats {
	padding-top:    20px;
	padding-bottom: 20px;
	width:   97%;
	border-spacing: 0px;
	padding-right:  0px;
	margin-bottom:  10px;
	border:white 1px solid;
	background:   white;
	border-collapse:   collapse;
}

td.tdsubcat {
	width:    25%;
	background: white;
}

/* Links to subcategories */
.categlink {
	font-family: Tahoma;
	font-size:   11px;
	color:   #578308;
	text-decoration:   none;
	font-weight:   bold;
}

.categlink:active {
	font-family: Tahoma;
	font-size:   11px;
	color:   #578308;
	text-decoration:   none;
	font-weight:   bold;
}

.categlink:hover {
	font-family: Tahoma;
	font-size:   11px;
	color:   #578308;
	text-decoration:   underline;
	font-weight:   bold;
}

table.catobjects {
	border: 1px solid #005100;
	width: 97%;
	border-spacing: 0px;
	padding-right: 0px;
	margin-bottom: 10px;
	border-collapse: collapse;
}

td.categobjectsnameeven, td.categobjectsnameodd {
	font-family: Tahoma;
	font-size:   11px;
	color:   black;
}

td.categobjectsdataeven, td.categobjectsdataodd {
	font-family: Tahoma;
	font-size: 11px;
	background-color: #F5FBE3;
	color: black;
}

.catname {
	font-family: Tahoma;
	font-size:   11px;
	color:   #004E82;
	text-decoration:   none;
}

.catname:active {
	font-family: Tahoma;
	font-size:   11px;
	color:   #004E82;
	text-decoration:   none;
}

.catname:hover {
	font-family: Tahoma;
	font-size:   11px;
	color:   #004E82;
	text-decoration:   underline;
}

/****** FAQS *******/
/* The list of questions */
div.faqlistquestions {
	background:    #FFFFFF;
	color:   black;
	font-family: Tahoma;
	font-size:   11px;
	border:   1px solid black;
	padding-top:   5px;
	padding-bottom:   5px;
}

/* Container for question-answer block */
div.faqqa {
	background:    #FFFFFF;
	color:   black;
	font-family: Tahoma;
	font-size:   12px;
	border:   1px solid black;
	margin-bottom:   20px;
	padding-top:   5px;
	padding-bottom:   5px;
	padding-left:   5px;
}

/* The question */
div.faqquestion {
	margin-bottom:    5px;
	font-family: Tahoma;
	font-size:   12px;
	background:   #D0E7FD;
	color:   white;
}

/* The answer */
div.faqanswer {
	font-family: Tahoma;
	font-size:   12px;
	width:   97%;
}

/************************************ QUIZZES ************************************/
div.questionblock {
	border:    1px solid black;
	background:   white;
	margin-bottom:   10px;
}

div.quizquestion {
	font-family: Tahoma;
	font-size:   12px;
	margin-bottom:   5px;
}

div.quizoptions {
	font-family: Tahoma;
	font-size:   12px;
}

div.quizdescription {
	font-family: Tahoma;
	font-size:   12px;
	border:   1px solid black;
	background:   white;
	margin-bottom:   10px;
}

div.quizanswer {
	font-family: Tahoma;
	font-size:   12px;
	border:   1px solid black;
	background:   white;
	margin-bottom:   10px;
}

/******* SHOUTBOX *******/
div.shoutboxmsg {
	font-family: Tahoma;
	font-size:   12px;
	border:   1px solid black;
	background:   white;
	margin-bottom:   0px;
	padding-left:   2px;
	padding-top:   1px;
	padding-bottom:   1px;
}

div.shoutboxmodmsg {
	font-family: Tahoma;
	font-size:   10px;
	margin-bottom:   4px;
	padding-left:   2px;
	padding-top:   1px;
	padding-bottom:   1px;
}

textarea.tshoutbox {
	background-color:    white;
	border:   #5e5d63 1px solid;
	color:   #000000;
	font-family: Tahoma;
	font-size:   10px;
}

.daneshnameh-table {
	border-color:    gray;
	border-style:   solid;
	border-width:   1px;
	width:   90%;
}

.daneshnameh-tr-a td {
	background:    #ddd;
	border:   none;
}

.daneshnameh-tr-b td {
	background:    #efefef;
	border:   none;
}

div.code {
	font-size:    90%;
	padding:   5px;
	border: #CCCCCC 1px solid;
	background-color:   #F4F4F4;
	font-family: Tahoma, courier;
}

pre {
	font-size:    14px;
	font-family: Tahoma, courier;
}

hr {
	width:    100%;
	height:   1px;
	background-color:   #aaaaaa;
	border-width:   0px;
	padding:   0px;
	color:   #aaaaaa;
}

/******** DANESHNAMEH TOCS ********/
div.tocnav {
	font-family: Tahoma;
	font-size:   9px;
	background:   #EBF7C4;
	border:   1px solid #2B4F31;
	color:   black;
	padding:   4px;
	margin-bottom:   2px;
}

.tocnavlink {
	color:    black;
	text-decoration:   underline;
	font-family: Tahoma;
	font-size:   10px;
}

.tocnavlink:hover {
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	text-decoration:   underline;
}

/******** DIRECTORY ********/
/* The list of categories */
div.dircategs {
	border:    0.5px solid white;
	padding-bottom:   5px;
	padding-top:   5px;
	padding-left:   5px;
}

/* Links to categories */
.dirlink {
	font-family: Tahoma;
	font-size:   12px;
	color:   black;
	text-decoration:   underline;
	font-weight:   bold;
}

.dirlink:hover {
	color:   #636363;
}

/* Links to subcategories */
.dirsublink {
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	text-decoration:   underline;
}

.dirsublink:hover {
	color:   #636363;
}

/* The list of sites in any category */
div.dirlistsites {
	background-color:    white;
	padding-left:   5px;
	padding-top:   5px;
	padding-bottom:   10px;
	border:   0.5px solid white;
	margin-top:   10px;
	width:   100%;
}

/* each site in the list of sites */
div.dirsite {
	background-color: #F2FADA;
	margin-bottom: 10px;
	margin-right: 5px;
}

span.dirsitedesc {
}

span.dirsitetrail {
	font-size: 10px;
}

span.dirsitecats {
}

/* Links to sites */
.dirsitelink {
	font-family: Tahoma;
	font-size:   12px;
	color:   black;
	text-decoration:   underline;
}

.dirsitelink:hover {
	color:   #636363;
}

/* Related categories */
div.dirrelated {
	background-color:    White;
	margin-top:   10px;
	border:   0.5px solid white;
	padding-top:   5px;
	padding-bottom:   5px;
	padding-left:   5px;
}

/* Footer with stats for the directory */
td.dirfooter {
	font-size: 9px;
}

div.dirfooter {
	margin-top:    10px;
	border:   0.5px solid white;
}

/******** MESSAGES *********/
/* Links for priority colors */
td.prio1 {
	border:    1px solid #8CACBB;
	font-family: Tahoma;
	font-size:   11px;
	padding-left:   2px;
	background-color:   #F7F9CA;
}

td.prio2 {
	border:    1px solid #8CACBB;
	font-family: Tahoma;
	font-size:   11px;
	padding-left:   2px;
	background-color:   #F7F9EA;
}

td.prio3 {
	border:    1px solid #8CACBB;
	font-family: Tahoma;
	font-size:   11px;
	padding-left:   2px;
	background-color:   #EEF6FF;
}

td.prio4 {
	border:    1px solid #8CACBB;
	font-family: Tahoma;
	font-size:   11px;
	padding-left:   2px;
	background-color:   #F7F9FD;
}

td.prio5 {
	border:    1px solid #8CACBB;
	font-family: Tahoma;
	font-size:   11px;
	padding-left:   2px;
	background-color:   #F7F9FF;
}

/* Div containing links to flag/unflag messages when reading a message */
div.messureadflag {
	background-color:    #CCCCCC;
	padding-left:   5px;
}

/* Header when reading a message */
div.messureadhead {
	background-color:    #DEDEDE;
	margin-top:   2px;
}

/* Message body when reading */
div.messureadbody {
	margin-top:    5px;
	background-color:   #DEDEDE;
}

/* Links to read emails (the subject in the mailbox listing) */
.readlink {
	font-family: Tahoma;
	font-size:   10px;
	color:   black;
	text-decoration:   underline;
}

.readlink:hover {
	font-family: Tahoma;
	font-size:   10px;
	color:   #636363;
	text-decoration:   underline;
}

/* calendar styles */
#calendar
{
width:100%;
}

.Cal0, .Cal1, .Cal2 {
	border-top:    1px dashed #cccccc;
	color:   #425262;
	font-size:   10px;
	padding-right:   0px;
}

.Cal0:before {
	content: "? ";
}

.Cal1:before {
	content:    "+ ";
	background-color:   #FFCC77;
}

.Cal2:before {
	content:    "X ";
	background-color:   #eeeeaa;
}
/* misc cal styles */
.caltitle {
	font-weight:    bold;
	color:   #425262;
}

.caltab {
	padding-left:    10px;
	padding-right:   10px;
	border:   1px solid #666666;
	border-bottom:   2px solid #aeaeae;
	margin-right:   6px;
}

a.caltab {
	text-decoration:    none;
	font-weight:   bold;
	font-size:   11px;
	background-color:   #dedede;
	color:   #004E82;
}

a.caltab:hover {
	background-color:    #efefef;
	border-bottom:   2px solid #dedede;
}

.caltabon {
	padding-left:    10px;
	padding-right:   10px;
	background-color:   #ffffff;
	border:   1px solid #666666;

	border-bottom:   2px solid #FFFFFF;
	margin-right:   6px;
}

a.caltabon {
	text-decoration:    none;
	font-weight:   bold;
	font-size:   11px;
	color:   #004E82;
}

a.caltabon:hover {
	background-color: transparent;
}

div#tab, div#tabcal, div#tabnav {
	margin-top:    10px;
	margin-left:   30px;
}

div#tab {
	margin-bottom: 1px;
}

div.tabcal, div.tabnav {
	padding:    10px;
	background-color:   #ffffff;
	border:   1px solid #666666;
	border-bottom:   1px solid #aeaeae;
	font-size:   11px;
}

/* checkboxes background is required for rollover display */
.calcheckbox {
	background-color: #ffffff;
}

.caltoggle {
	font-size:    9px;
	margin-bottom:   7px;
}

/* style of the popup background in case of transparent styles */
#opaque {
	background-color: #ffffff;
}

.calfocus {
	font-size:    9px;
	background-color:   transparent;
}

.calfocus a {
	text-decoration:    none;
	color:   #004E82;
}

.calfocuson {
	font-size:    9px;
	background-color:   #f3e498;
}

.calfocuson a {
	text-decoration:    none;
	color:   #004E82;
}

.Caldaneshnameh {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
	margin-top:   0;
}

.Caldaneshnameh a {
	color: #443F39;
}

.Caldaneshnameh:before {
	content:    "w";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Calblog {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calblog a {
	color: #443039;
}

.Calblog:before {
	content:    "b";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Calgal {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calgal a {
	color: #303F49;
}

.Calgal:before {
	content:    "i";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Calart {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calart a {
	color: #304F30;
}

.Calart:before {
	content:    "a";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Calforum {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calforum a {
	color: #304F30;
}

.Calforum:before {
	content:    "o";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Caldir {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Caldir a {
	color: #304F30;
}

.Caldir:before {
	content:    "d";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Calfgal {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calfgal a {
	color: #304F30;
}

.Calfgal:before {
	content:    "f";
	font-family: Tahoma,    monospace;
	background-color:   #ffffff;
}

.Calfaq {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calfaq a {
	color: #304F30;
}

.Calfaq:before {
	content:    "q";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Calquiz {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calquiz a {
	color: #304F30;
}

.Calquiz:before {
	content:    "z";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Caltrack {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Caltrack a {
	color: #304F30;
}

.Caltrack:before {
	content:    "t";
	font-family: Tahoma, monospace;
	background-color:   #ffffff;
}

.Calsurv {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calsurv a {
	color: #304F30;
}

.Calsurv:before {
	content:    "s";
	font-family: Tahoma,    monospace;
	background-color:   #ffffff;
}

.Calnl {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calnl a {
	color: #304F30;
}

.Calnl:before {
	content:    "n";
	font-family: Tahoma,    monospace;
	background-color:   #ffffff;
}

.Caleph {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Caleph a {
	color: #304F30;
}

.Caleph:before {
	content:    "e";
	font-family: Tahoma,    monospace;
	background-color:   #ffffff;
}

.Calchart {
	border-top:    1px dashed #cccccc;
	font-size:   10px;
	padding-left:   3px;
	padding-right:   3px;
}

.Calchart a {
	color: #304F30;
}

.Calchart:before {
	content:    "c";
	font-family: Tahoma,    monospace;
	background-color:   #ffffff;
}

.calweb {
	font-weight:    bold;
	font-size:   10px;
	text-decoration:   none;
	padding-left:   3px;
	padding-right:   3px;
	color:   #336699;
}

.calweb:hover {
	color: #996633;
}

.calprio1 {
	background-color: #DAE0E0;
}

.calprio2 {
	background-color: #DADCDC;
}

.calprio3 {
	background-color: #DAD0D0;
}

.calprio4 {
	background-color: #DACACA;
}

.calprio5 {
	background-color: #DAC0D0;
}

.calprio6 {
	background-color: #DABABA;
}

.calprio7 {
	background-color: #DAB0B0;
}

.calprio8 {
	background-color: #DAAAAA;
}

.calprio9 {
	background-color: #DA9A9A;
}

.calprio1 a, .calprio2 a, .calprio3 a, .calprio4 a, .calprio5 a, .calprio6 a, .calprio7 a, .calprio8 a, .calprio9 a {
	color: #000000;
}

#opaque {
	background-color: #ffffff;
}
div.tabrow {
	margin-left: 29px;
	background-color: #efefef;
	border: 1px solid #787878;
	border-bottom: 0;
	font-size: 11px;
}
td.middle {
	vertical-align: middle; 
}
.daterow {
	margin-left: 10px;
}
.mininotes {
	font-size: 80%;
	color:#666666;
}
.opaque
{
	background-color: #ffffff;
	width: auto;
	border: 1px solid #666666;
	padding: 1px; 
}
.opaque .box-title,
.opaque, .box-data 
{
	width: auto;
}
.calcontent {
	min-height: 60px;
}
.viewmodeon {
	padding-left:   0px;
	padding-right:   0px;
}
.viewmodeoff {
	padding-left:   0px;
	padding-right:   0px;
}
a.viewmodeon img {
	margin: 0;
padding: 0;
}
a.viewmodeoff img {
	margin: 0;
padding: 0;
}
#caltable {
	width: 100%;
}

/*
 * help zone
 */

div#edithelpzone {
	display: none;
}

div#attzone {
	display:    none;
	margin-top:   10px;
}

div#attzoneopen {
	display:    block;
	margin-top:   10px;
}

.highlight {
	background-color:    #FFAAAA;
	color:   #000000;
}

/*
 * Caption in tables.
 * Currently in Attachments and comments only.
 */
caption {
	font-family: Tahoma;
	font-size:   11px;
	font-weight:   bold;
	text-align:   right;
}

/* trees */
div.tree {
	text-align:    left;
	padding-left:   1.5em;
}
/* Root of tree (outer div) */
div.tree#top {
	border:    1px outset #00E000;
	padding:   10px 1.5em 20px 1.5em;
}

/* Daneshnameh editpage textarea */
textarea.daneshnamehedit {
	font-family: Tahoma;
	width: 100%;
}
/* help links style */
a.mavarahelp, a.mavarahelp:visited {
	color:    inherit;
	border:   inherit;
	background-color:   inherit;
	font-size:   inherit;
	font-weight:   inherit;
	margin:   inherit;
	padding:   inherit;
	text-decoration:   inherit;
}

a.mavarahelp:hover {
	color:    #224466;
	border:   inherit;
	background-color:   inherit;
	font-size:   inherit;
	font-weight:   inherit;
	margin:   inherit;
	padding:   inherit;
	cursor:   help;
	text-decoration:   inherit;
}

/* MavaraIntegrator: By default copy rules dialog not shown */
div#rules-copy-panel {
    display: none;
}

/* format tables on admin pages */
TABLE.admin { width: 100%; }

.daneshnameh {
	color: #0044bb;
}

.notexistdaneshnamehlink {
	color: #ff0000;
}

.daneshnameh:hover {
	color: #003164;
}

#floatingmenu {
	position: absolute; 
	height: 120px; 
	width: 200px; 
	Z-INDEX: 33; 
	TOP: 189px; 
	/*margin-right: 580;*/
}
input.button{
	background-image: url('../img/icons/button1F.gif');
	height: 20px;
	width : 100px;
	border: 0;
	color: white;
	font-family: Tahoma;
	font-size:   12px;
/*	background-color = 'transparent'	*/
}
input.text-box{
	background-image: url('../img/icons/button29.gif');
	height: 20px;
	width : 80px;
	border:0;
	color:    white;
	font-family: Tahoma;
	font-size:   12px;
/*	background-color = 'transparent'	*/
}

.MenuItem
{
	COLOR: #000000;
	FONT-SIZE: 12px;
	FONT-FAMILY: Tahoma;
	TEXT-DECORATION: None;
}

a.MenuItemLink {
	COLOR: #000000;
	FONT-SIZE: 12px;
	FONT-FAMILY: Tahoma;
	TEXT-DECORATION: None;
	margin: 0px;
	padding: 0px;
}

a.MenuItemLink:link {
	COLOR: #000000;
	FONT-FAMILY: Tahoma;
	TEXT-DECORATION: None;
}

a.MenuItemLink:visited {
	COLOR: #000000;
	FONT-FAMILY: Tahoma, Arial;
	TEXT-DECORATION: None;
}

a.MenuItemLink:hover {
	COLOR: #0000ff;
	FONT-FAMILY: Tahoma, Arial;
	TEXT-DECORATION: None;
}

a.myMenuItem {
	COLOR: #0000ff;
	FONT-SIZE: 12px;
	FONT-FAMILY: Tahoma, Arial;
	margin: 0px;
	padding: 0px;
}

a.myMenuItem:link {
	COLOR: #0000ff;
	FONT-FAMILY: Tahoma, Arial;
}

a.myMenuItem:visited {
	COLOR: #0000ff;
	FONT-FAMILY: Tahoma, Arial;
}

a.myMenuItem:hover {
	COLOR: #0000ff;
	FONT-FAMILY: Tahoma, Arial;
}

a.myMenuItemNE {
	COLOR: #ff0000;
	FONT-SIZE: 12px;
	FONT-FAMILY: Tahoma, Arial;
	margin: 0px;
	padding: 0px;
}

a.myMenuItemNE:link {
	COLOR: #ff0000;
	FONT-FAMILY: Tahoma, Arial;
}

a.myMenuItemNE:visited {
	COLOR: #ff0000;
	FONT-FAMILY: Tahoma, Arial;
}

a.myMenuItemNE:hover {
	COLOR: #ff0000;
	FONT-FAMILY: Tahoma, Arial;
}

.myMenu {
	position: absolute;
	visibility: hidden;
	z-index: 5;
}	

/* wiki diff styles */
.diff div{border-top: 1px solid black}
.diffheader{background-color:#a9b8c2; font-weight: bold;}
.diffadded {background-color:#ccffcc;}
.diffdeleted {background-color:#ffcccc;}
.diffbody{background-color:#F2F4F5}
.diffchar {color: red;}


.block {
	display: inline-block; *
	display: inline; *
	vertical-align: middle;
	zoom: 1;
}

.hidden
{
    display: none;
}

.header{
	height: 100px;
	min-width: 996px;
	background: url("1387/images/bg100admin.gif") repeat-x;
}
.logo{
	float: right;
	width: 396px;
	padding-top: 0px;
	padding-right: 66px; 
	height: 100px;
	background: url("1387/images/logo-bg.gif") no-repeat right;
	direction: rtl;
	text-align: right;
}
.slider-container {
	float: left;
	width: 300px;
	height: 100px;
	text-align: left;
	font-size: 0px;
}
.wrapper {
	width: 996px;
	margin: 0 auto;
}
.nav{
	height: 23px;
	min-width: 996px;
	background: url("1387/images/bg23admin.gif") repeat-x;
}
.navdate{
	height: 12px;
	padding: 5px;
	color: #DDDDDD;
	width: 450px;
	float: right;
	direction: rtl;
	text-align: right;
}
.navdate a {
	color: #DDDDDD;
}
.navdate a:HOVER{
	color: #666666;
}
.navdots{
	height: 22px;
	padding: 0px;
	float: left;
	width: 450px;
	text-align: left;
	background: url("1387/images/navdots-bg.gif") no-repeat top left;
}

.navdots ul {
	list-style: none;
}

.navdots ul li{
	float: left;
	width: 20px;
}

.navdots ul li a{
	width: 22px;
	height: 22px;
	float: left;
	background: url("1387/images/bullets.gif") no-repeat center;
	background-position: 0px 0px;
	cursor: pointer;
	direction: rtl;
	text-align: right;
}
.navdots ul li a.active ,
.navdots ul li a:HOVER{
	background-position: 0px -22px;
}

.navdotsimg{
	position: relative;
	top: -6px;
	float: left;
	z-index: 20000;
}

.body {
	min-width: 996px;
}

.body-container {
	border-right: 1px solid #cccccc;
	border-left: 1px solid #cccccc;
	width: 988px;
	background-color: white;
	padding: 3px;
}
.pan-holder {
	width: 988px;
}
.footer{
	background: #4d4d4d;
	border-top: 2px solid #99cc67;
	min-width: 996px;
	min-height: 180px;
	height: auto;
}

.services {
	width: 970px;
	float: right;
	padding: 13px;
}

.services .footer-menu{
	width: 776px;
	float: right;
	text-align: right;
}
.services .footer-menu h2 {
	padding-bottom: 10px;
	color: #DDDDDD;
	font-size: 11px;
	direction: rtl;
	text-align: right;
	font-weight: bold;
}

.services .footer-menu ul {
	width: 776px;
	list-style: none;
}
.services .footer-menu ul li {
	width: 184px;
	height: 25px;
	padding: 1px 5px;
	float: right;
}

.services .footer-menu ul li a {
	padding: 6px 10px 6px 0px;
	height: 13px;
	float: right;
	color: #a9a9a9;
	background: url("1387/images/arrow.gif") no-repeat center right;
	direction: rtl;
	text-align: right;
}

.services .footer-menu ul li a:HOVER {
	color: #D9D9D9;
}

.services .footer-left {
	width: 180px;
	float: left;
	color: #a9a9a9;
	padding: 7px;
}

.services .footer-left h2{
	padding-bottom: 10px;
	color: #DDDDDD;
	font-size: 11px;
	font-weight: bold;
	direction: rtl;
	text-align: right;
}

.services .footer-left .main-links{
	list-style: none;
}

.services .footer-left .main-links li {
	width: 150px;
	padding: 2px 30px 2px 0px;
	float: right;
}
.services .footer-left .main-links li a {
	padding: 6px;
	height: 13px;
	float: right;
	color: #a9a9a9;
	direction: rtl;
	text-align: right;
}

.services .footer-left .main-links li a:HOVER {
	color: #D9D9D9;
}
.services .footer-left .main-links li.home {
	border-bottom: 1px solid #666666;
	background: url("1387/images/icons/home.gif") no-repeat center right;
}
.services .footer-left .main-links li.about {
	border-bottom: 1px solid #666666;
	background: url("1387/images/icons/aboutus.gif") no-repeat center right;
	
}
.services .footer-left .main-links li.contact {
	border-bottom: 1px solid #666666;
	background: url("1387/images/icons/contactus.gif") no-repeat center right;
	
}
.services .footer-left .main-links li.sitemap {
	background: url("1387/images/icons/sitemap.gif") no-repeat center right;
}
.copyright{
	border-top: 1px solid #666666;
	background: #3d3d3d;
	min-width: 996px;
}

.copyright-container {
	padding: 8px;
	color: #787878;
	line-height: 14px;
	text-align: center;
	direction: rtl;
}

.loading {
	background:url("1387/images/loading.gif") center no-repeat;
	width: 100%;
	height: 50px;
	float: right;
	margin: 0px auto;
}
/*
 * jQuery Nivo Slider v2.3
 * http://nivo.dev7studios.com
 *
 * Copyright 2010, Gilbert Pellegrom
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * 
 * March 2010
 */
 
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:60;
	display:none;
}
/* The slices in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:50;
	height:100px;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#A9A9A9;
	color:#fff;
	opacity:0.8; /* Overridden by captionOpacity setting */
	width:100%;
	z-index:89;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:30%;
	z-index:99;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
	position:relative;
	z-index:99;
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}
#slider {
	position:relative;
    width:250px;
    height:100px;
	background:url(1387/images/loading.gif) no-repeat 50% 50%;
}
#slider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
	border: 0px;
}
#slider a {
	border:0;
	display:block;
}

.nivo-controlNav {
	position:absolute;
	left:60px;
	bottom:-20px;
}
.nivo-controlNav a {
	display:block;
	width:22px;
	height:22px;
	background:url(1387/images/bullets.gif) no-repeat;
	text-indent:-9999px;
	border:0;
	margin-right:3px;
	float:left;
	font-size: 0px;
}
.nivo-controlNav a.active {
	background-position:0 -22px;
}
.nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(1387/images/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
}
a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
	font-size: 0px;
}
a.nivo-prevNav {
	left:15px;
	font-size: 0px;
}

.nivo-caption {
    text-shadow:none;
    font-family: Helvetica, Arial, sans-serif;
	direction: rtl;
	text-align:right;
}
.nivo-caption a { 
    color: #efe9d1;
    text-decoration:underline;
}

/*====================*/
/*=== Other Styles ===*/
/*====================*/
.clear {
	clear:both;
}

.Roshd2Main {
	padding: 4px;
	direction: rtl;
	background-color: white;
	border: 1px #e1e1e1 solid;
}

.Roshd2Top 
{
	background-image:url('1387/images/Roshd2CBG.gif');
	background-repeat:repeat-x;
	height:30px;
	text-align:right;
	padding-right:5px;
	font-family: Tahoma;
	font-size: 11px;
	direction:rtl;
	font-weight:bold;
	border:1px #e1e1e1 solid;
}

