.box-automata{
	font-size:95%;
	position:absolute;
	top:110px;
	padding: 7px;
	right:202px;
	width:82px
}

.box-biologydevelop{
	font-size:95%;
	position:absolute;
	width:160px;
	top:181px;
	right:670px;
}

.box-summerschool {
    font-size: 90%;
    position: absolute;
    right: 654px;
    top: 594px;
    width: 76px;
	
}



.linkbox-rahnama{
	height:0px;
}

.linkbox-rahnama a{
	background:url(../images/firstpage22-icons/rahnama.png) center top no-repeat;
	opacity:1;
	filter:alpha(opacity=100);
	position:absolute;
	width:85px;
	height:39px;
	top:85px;
	right:40px;

}

.linkbox-rahnama a:hover{
	opacity:0.6;
	filter:alpha(opacity=60);
}

.linkbox-baygani{

	height:0px;

}

.linkbox-baygani a{

	background:url(../images/firstpage22-icons/baygani.png) center top no-repeat;
	opacity:1;
	filter:alpha(opacity=100);
	position:absolute;
	width:85px;
	height:39px;
	top:124px;
	right:42px;
}

.linkbox-baygani a:hover{

	opacity:0.6;
	filter:alpha(opacity=60);
}

.linkbox-tamas-ba-ma{

	height:0px;
}

.linkbox-tamas-ba-ma a{

	background:url(../images/firstpage22-icons/tamas-ba-ma.png) center top no-repeat;
	opacity:1;
	filter:alpha(opacity=100);
	position:absolute;
	width:85px;
	height:35px;
	top:168px;
	right:47px;
}

.linkbox-tamas-ba-ma a:hover{
	opacity:0.6;
	filter:alpha(opacity=60);
}
.linkbox-hamayeshha a{

	background:url(../images/firstpage22-icons/hamayeshha.png) center top no-repeat;
	opacity:1;
	filter:alpha(opacity=100);
	position:absolute;
	width:85px;
	height:35px;
	top:205px;
	right:51px;
}

.linkbox-hamayeshha a:hover{
	opacity:0.6;
	filter:alpha(opacity=60);
}

.linkbox-automaton{
	height:0px;

}

.linkbox-automaton a{

    height: 116px;
    position: absolute;
    right: 292px;
    top: 113px;
    width: 121px;
	
}
.linkbox-summerschool{
	height:0px;

}

.linkbox-summerschool a{

    height: 126px;
    position: absolute;
    right: 731px;
    top: 587px;
    width: 97px;
	
}

body {
  direction:rtl;
  margin: 0;
  padding: 0;
}

#page {
   background: url("../images/firstpage22-gozaresh.jpg") no-repeat scroll center top transparent;
   margin: 50px auto 0;
   width: 978px;
   height:780px;
   position:relative;
   font-size:90%;
   color: #ccc;

}
#header {
    position: relative;
    top: 51px;
    height: 103px;
    margin:16px;
    width:935px;
    z-index:1;
}

body {
  font-size: 82%;
  font-family: Tahoma,Helvetica, Arial, Verdana, sans-serif;
  line-height: 120%;
  color: #555555;
  background-color: white;

}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}




a:link {text-decoration:none; color: #D54E21;}
a:visited {text-decoration:none; color: #D54E21;}
a:hover {text-decoration:none;color: #2583AD;}
a:active {text-decoration:none; color: #D54E21;}



}
#search-theme-form {
  float: right;
  padding: 0.5em 0.5em 0 0.5em;
}
#search .form-text {
  width: 16em;
}
#edit-search-theme-form-1-wrapper label {
  display: none;
}
#block-search-0{
  position:relative;
  top:20px;
  right:-120px;
}


#primarymenu #left-button{
float: left;
width: 100px;
height: 40px;
}
#primarymenu #right-button{
float: right;
width: 100px;
height: 40px;
}
#primarymenu {
  height:40px;
  position: relative;
  top: 67px;
  z-index:2;
    background: #444444;
    -moz-border-radius: 6px 6px 6px 6px;
    -moz-box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -2px rgba(0, 0, 0, 0.1) inset;
    background: -moz-linear-gradient(center bottom , #333333 0pt, #777777 100%) repeat scroll 0 0 transparent;
}
#primarymenu #menu-body{
  float:left;
  height: 40px;
  padding: 0px;
  border-left:1px solid #666666; 
  border-right:1px solid #444444;
}

#primarymenu ul.menu{
  height: 40px;
  padding: 0px;
  margin:0px;
}

#primarymenu li.expanded ul.menu{
  margin: 0px;
  padding: 0px;
  width: 180px;
  height: 0px;
  border: 0px;	
  position: absolute;
}

#primarymenu li, #primarymenu li.expanded{
  list-style: none outside none;
  padding: 8px 0 0 0;
  float: left;
  margin: 0px;
  border-left:1px solid #444444; 
  border-right:1px solid #666666;
  height: 32px;
}

#primarymenu a {
  color:#fff;
  font-size:100%;
  padding: 1px 18px;
}

#primarymenu li:hover{
  background: #d54e21;
}
 

#primarymenu li ul.menu li a{
  font-size: 80%;
  float:right;
  width: 140px;
}

#primarymenu li ul.menu li{
  display:none;
  padding-top:2px;
  height:25px;
}

#primarymenu li:hover ul.menu li.first{
  border-top: 1px black solid;
}

#primarymenu li:hover ul.menu li.last{
  border-bottom: 1px black solid;
  -moz-border-radius: 0px 0px 5px 5px;
  -moz-box-shadow: 0 3px rgba(0, 0, 0, 0.1), 0 -3px rgba(0, 0, 0, 0.9) inset;
  padding-bottom: 3px;
}

#primarymenu li:hover ul.menu li{
  float: none;
  display:block;
  border-right: 1px black solid;
  border-left: 1px black solid;
  background: #000000;
  filter:alpha(opacity=90);
  background: rgba(0,0,0,0.9);
  position: relative;
  top: 10px;
}


#primarymenu li ul.menu li:hover{
  background: #111111;
  border-bottom: 1px #333333 solid;
  border-top: 1px #000000 solid;
}
.messages {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 0.3em;
  margin-bottom: 1em;
}


/* footer */

#footer-container{
  background-color: #333333;
  width:100%;
  border-top:1px solid #777;
}
#footer {
  padding: 30px 30px 10px;
  width:947px;
  margin: 0 auto;
  font-size: 0.8em;
}
#footer h2{
  color:#ffffff;
}
#footer a{
  color:#999999;
}
#footer a:hover{
  color:gold;
}
#footer-region #block-block-2{
  width:50%;
  float:left;
  margin-top:-50px;
}
#footer-region #block-block-1{
  clear:both;
  width:100%;
  margin-top: 10px;
  margin-right: -10px;
}
#footer-region .block{
width:150px;
float:right;
margin: 10px;
}
#footer-region li{
  display:block;
}
#footer-message {
  padding: 10px 20px;
  display:block;
  float:right;
  border:2px solid red;
  color: white;
} 
#footer-message a {
  color: #777777;
  font-weight:bold;
}
#footer-message a:hover {
  color: gold;
}
#firefox-box{
  width:100%;
}

.node h2{
float:right;
}


/*system-menue*/
ul.links {
    padding: 0;
}
ul.links.inline {
    display: inline;
}
ul.links li {
    display:inline;
    list-style-type: none;
    padding: 0 0.5em;
}
.block ul {
    margin: 0;
    padding: 0 0 0.25em 1em;
}
img {
    border: 0 none;
}
.clear-block {
  
  display: none;
  clear:both;
}
/* upper_footer*/
#upper_footer{
}
#upper_footer_region{
}
#upper_footer_region .block-block{
  color:#ddd;
  background:#6f6666;
  border-top: 1px solid #444;
  height:28px;
  padding-top:6px;
}
#upper_footer_region .block-block p{
  width:947px;
  margin:0 auto;
}



