* {
margin : 0;
}
td {
vertical-align : top;
}
div {
direction : rtl;
}
body {
margin : 0;
padding : 0;
height : 100%;
font-family : Tahoma;
direction : rtl;
background-color : #d4cda5;
font-size : 8pt;
}
a, a:visited {
text-decoration: none;
color:#8c6c15 ;
}
a:hover {
color:#ead8a9;
}
a img  {
border: none;
}
input, select, textarea, label, option  {
font-family: tahoma;
}

#search {
position: absolute;
right: 100px; top: 0;
/* background: #898255; */
max-width: 500px;
z-index: 1000;
-moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
}
#search input {font: 11px Tahoma;}

.container {
margin-top : 0;
padding-top : 5px;
margin-left : auto;
margin-right : auto;
margin-bottom : 0;
background-image : url('images/topbg.gif');
background-color : #d5cea6;
background-repeat : repeat-x;
height : 800px;
}


#menu {padding: 0; margin: 0;}
#menu ul {list-style: none; margin: 10px 0 0 100px;}
#menu ul li {float: left; position: relative;}
#menu ul li a {float: left; display : inline; background : url("images/tableft6.gif") no-repeat left top; padding : 0 0 0 4px; text-decoration : none; color: #fff;}
#menu ul li a span {display : block; float: left; background : url("images/tabright6.gif") no-repeat right top; padding : 5px 15px 4px 6px;}
#menu a:hover {background-position : 0% -42px; border : none; cursor: pointer;}
#menu a:hover span {background-position : 100% -42px; border : none;}
#menu ul li ul {display: none; }
#menu ul li:hover ul {display: block; position: absolute; top: 11px; right: 0; /* background: url(images/transpBlack90.png) repeat; */ background: rgb(0, 0, 0); /* The Fallback */ background: rgba(0, 0, 0, 0.9); padding: 15px; -webkit-box-shadow: 0 0 3px #000;-moz-box-shadow: 0 0 3px #000;}
#menu ul li:hover ul li {float: right;}
#menu ul li:hover ul li a {display: block; background: transparent; padding: 7px 5px;}
#menu ul li:hover ul a:hover {color: #bcd;}
#menu ul li ul a {display: block;}
#menu ul li.mashahir:hover ul {width: 530px; right:-100px;}
#menu ul li.mashahir:hover ul a {display: inline; background: transparent url(images/bullet2.png) no-repeat center right; padding-right: 15px; float: none;}



.login {
font-size : 8pt;
color : #e0d9af;
text-align : left;
height : 20px;
margin : 0;
}
.login a, .login a:visited {
color : #f2eabd;
font-size : 8pt;
}
.login a:hover {
border : none;
color : #fffced;
}
.logo {
background-image : url(images/menubar.png);
background-repeat : repeat-x;
height : 73px;
padding : 3px;
padding-right : 0;
padding-left : 0;
width : 100%;
}
.logo a:hover {
border : none;
}
#contents {
display : block;
}
#threemenus {
display : block;
}
#threemenus .sp {
float : right;
margin : 8px;
margin-left : 2px;
}

div#leftnav {
float : left;
background-image : url(images/left-bg.gif);
background-repeat : repeat-y;
width : 170px;
margin : 0;
}
.leftnavhead {
width : 170px;
height : 45px;
background-image : url(images/left-topbg.gif);
background-repeat : no-repeat;
}
.area5 {
padding-right : 17px;
padding-left:6px;
font-size : 8pt;
color : white;
text-align: justify;
}
.area5 h3 {
margin-bottom: 8px;
}
.area5 p {
margin-bottom: 8px;
}
.area5 a, .area5 a:visited {
color: #000;
}
.area5 a:hover {
color: #c7af1c;
}
.area7 {
text-align: center;
width: 230px;
padding-top: 4px;
}
.area8 {
text-align: justify;
padding-top: 4px;
padding-right: 4px;
}
.news {
padding-right: 3px;
padding-left : 3px;
}
.news h3 {
font-family : verdana;
font-size : 13pt;
font-weight : bold;
}
.newsbody {
font-size : 9pt;
text-align : justify;
}
.newstop {
background : url(images/newstop.png) no-repeat top right;
width : 488px;
height : 48px;
padding : 0;
}
.newscolumn {
background:url(images/newsbg.png) repeat-y top right;
width: 475px;
padding-left:3px;
padding-right:10px;
}
.newsbody hr {
margin-top : 5px;
color : white;
}
.potw_image img {
border: 1px solid black;
}

#logo {background-image : url(images/menubar.png); background-repeat : repeat-x; height : 73px; padding : 3px; padding-right : 0; padding-left : 0; width : 100%;}

#logo h1 a {display: block; text-decoration: none; line-height: 0; font-size: 0; background: url(images/logo.png) no-repeat; width: 171px; height: 56px; overflow: hidden; margin-right: 10px;}

#contents {
display : block;
}
#threemenus {
display : block;
}
#threemenus .sp {
float : right;
margin : 8px;
margin-left : 2px;
}

div#leftnav {
float : left;
background-image : url(images/left-bg.gif);
background-repeat : repeat-y;
width : 170px;
margin : 0;
}
.leftnavhead {
width : 170px;
height : 45px;
background-image : url(images/left-topbg.gif);
background-repeat : no-repeat;
}
.menu5 {
padding-right : 17px;
font-size : 8pt;
color : white;
}
.freearea {
margin-right : 4px;
margin-top : 4px;
}

.area2 {
width : 50%;
}
.area3 {
width : 50%;
padding-right: 4px;
}

#bottwo .widget {
min-height: 140px;
}

.generalmenu {
padding : 4px;
}
.generalmenu h3 {
font-size: 13px;
font-weight: bold;
margin-bottom:2px;
}
.fborder {
border : 1px dotted #5d5a4c;
background-color : #e7e1be;
text-align : right;
padding : 2px;
}
.fcaption {
background-color : black;
padding:5px;
font-weight : bold;
color : white;
}
.fcaption a, .fcaption:visited {
color : #c4daed;
}
.forumheader {
background-color : #666665;
color : white;
font-family : tahoma;
font-size : 8pt;
padding:5px;
vertical-align : top;
}
.forumheader2 {
height: 50px;

}
.forumdesc {
padding-right: 40px;
background-image: url(images/forum-feather.png);
background-position: right center;
background-repeat: no-repeat;
background-color: #fefbef;
}

.forumdesc a, .forumdesc a:visited  {
font-size: 9pt;
font-weight: bold;
color: #000000;
padding-right: 10px;
background-image: url(images/tick.png);
background-repeat: no-repeat;
background-position: right center;
}
.forumdesc a:hover {
padding-right: 10px;
background-image: url(images/linkhover.png);
background-repeat: no-repeat;
background-position: right center;
} 

.forumheader3 {
background-color : #cfc9a9;
padding: 3px;
}
.forumheader3 table {
direction: rtl;
text-align: right;

}
.indent {
background-color : #aca99b;
margin : 8px;
border : none;
border-right : 5px solid black;
padding : 5px;
font-style : italic;
font-size : 8pt;
}
.smalltext {
font-size : 7pt;
color : #156188;
}
.mediumtext {
direction: rtl;
}
.tbox {
font-size : 9pt;
}
.finfobar {
background-color : #888888;
}
.zbody {
font-family : tahoma;
font-size : 10pt;
line-height : 150%;
padding-top : 8pt;
}
.loginc_div {
font-size: 9px;
}

.title {
font-size: 13px;
font-weight: bold;
}
.loginc_div input,  .loginc_div label{
font-size: 8px;
}

.loginc_div input [type=text] {
width: 50px;
}

/*DASTANAK*/
.dastanak_title {
text-align: center;
font-size: 10px;
font-weight: bold;
font-family: tahoma;
}
.dastanak_content {
text-align: justify;
}
/*DASTANAK[end]*/
/*custom author list*/
.authortitle {
font-family: verdana;
font-size: 15px;
padding: 4px;
color: #383416;
text-align: center;
margin-bottom: 4px;
font-weight: bold;
}
.authorbio  {
text-align: center;
}
.authorbio a, .authorbio a:visited{
color: #70661e;
}
.authorbio a:hover {
color: #cfb00b;
background-color: black;
}
/*custom author list[end]*/
.freearea li{
list-style-image: url(images/bullet2.png);
margin-bottom: 8px;
list-style-type: outside;
margin-right: 40px;
}
.freearea li a  , .freearea li a:visited{
color: #8b7138;
}
.freearea li a:hover {
border: none;
border-bottom: 1px dotted #8b7138;
}
p.MsoNormal {
font-size: 10pt;
line-height: 150%;
text-align: justify;
direction: rtl;
}
.content_title {
text-align: center;
font-size: 36px;
font-weight: bold;
font-family: "B Mitra", verdana;
}
.table_text {
font-size: 10pt;
line-height: 150%;
text-align: justify;
direction: rtl;
margin-bottom: 8px;
}

.table_text br {
display: block;
margin:5px;
}

.forumheader a, .forumheader a:visited {
color: black;	
}
.forumheader a:hover {
color: white;
}
.forumheader3 hr {
margin:4px;
}


/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

a.squarebutton{
background: transparent url('images/square-green-left.gif') no-repeat top left; 
display: block;
float: right;
font: normal 12px tahoma, Arial; /* Change 12px as desired */
line-height: 15px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 23px) */
height: 23px; /* Height of button background height */
padding-left: 9px; /* Width of left menu image */
text-align: right; 
text-decoration: none;
}

a:link.squarebutton, a:visited.squarebutton, a:active.squarebutton{
color: #494949; /*button text color*/
}

a.squarebutton span{
background: transparent url('images/square-green-right.gif') no-repeat top right;
display: block;
padding: 4px 9px 4px 0; /*Set 9px below to match value of 'padding-left' value above*/
}

a.squarebutton:hover{ /* Hover state CSS */
background-position: bottom left;
}

a.squarebutton:hover span{ /* Hover state CSS */
background-position: bottom right;
color: black;
}

.buttonwrapper{
display: inline;
/* Container you can use to surround a CSS button to clear float */
overflow: hidden; /*See: http://www.quirksmode.org/css/clearing.html */
width: 100%;
}


.widget {
background: #E6E1C6;
-moz-border-radius: 8px; -webkit-border-radius: 8px; -khtml-border-radius: 8px; border-radius: 8px;
margin: 3px;
}

.widget a, .widget a:visited {
color : #826e03;
font-size: 11px;
}
.widget a:hover, .widget a:focus {
text-decoration : none;
border : none;
color : #cfb00b;
}

.book-intro img {float: right; margin-left: 10px;}
.book-intro div.generalmenu {overflow: auto;}
.book-intro div.generalmenu div {padding: 5px;}



/* print stylesheet */
@media print {
#header, #leftnav, .authorTable, #leftnav, #top {display: none;}

#content {width: 100%; margin: 0; float: none; font-size: 1.2em;}

a:link, a:visited { background: transparent; font-weight: 700; text-decoration: underline;color:#333; }
a:link[href^="http://"]:after, a[href^="http://"]:visited:after { content: " (" attr(href) ") "; font-size: 90%; }
a[href^="http://"] {color:#000; }
a img { border: none; }

code { font: 10pt Courier, monospace; direction: ltr; text-align: left; }
blockquote { margin: 1.3em; padding: 1em;  font-size: 10pt; }
hr { background-color: #ccc; }
}