@charset "utf-8";
/* atomic Energy High School CSS Document (Norooz) */
html,body{
	font-family:Tahoma;
	font-size:9pt;
	margin:0;
	padding:0;
	background:url(../images/bg.gif);
}
.left{
	float:left;
}
.right{
	float:right;
}
.clear{
	clear:both;
}
#headerbg{
	background:url(../images/headerbg.gif) repeat-x;
	width:100%;
}
#header{
	background:url(../images/header.jpg) no-repeat;
	width:989px;
	height:169px;
	margin:0 auto;
}
.search{
	background:url(../images/searchbg.gif) no-repeat;
	position:relative;
	top:0;
	left:0;
	width:161px;
	height:23px;
	padding:5px;
}
.search .image{
	margin-top:3px;
}
.search .inpt{
	float:right;
	color:#012d50;
	text-align:right;
	direction:rtl;
	padding-right:2px;
	margin-left:2px !important;
	margin-left:0px;
	font-family:tahoma;
	width:135px;
	height:16px;
	border:1px solid #fff;
	border-radius:3px;
 	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-khtml-border-radius:3px;
}
.topbanner{
	width:977px;
	margin:0 auto;
}
.pageback{
	background:url(../images/trans.png);
	width:989px;
	margin:0 auto -8px auto;
}
#page{
	width:975px;
	background:#fff;
	margin:8px auto;
	height:auto;
}
#page #content{
	float:right;
	width:696px;
	padding-top:6px;
}
#page .sidebar{
	float:left;
	width:278px;
	margin-top:6px;
	border-right:1px dotted #9f9f9f;
}
#page .center{
	width:540px;
	text-align:right;
	direction:rtl;
}
.mottobox{
	width:100%;
	text-align:center;
}
.mottobox img{
	border:none;
	margin-bottom:5px;
}
.sidebox{
	width:260px;
	background:#eaeaea;
	margin:0 auto 5px auto;
	padding:5px;
	direction:rtl;
	line-height:16pt;
}
.sidebox .title{
	width:70%;
	background:#b4314d;
	height:25px;
	color:#fff;
	direction:rtl;
	text-align:right;
	padding-right:10px;
	margin-right:-5px;
	line-height:16pt;
}
.sidebox label{ 
	text-align:right;
	float:right;
	display:block;
	width:70px;
	clear:both;
}
.sidebox input[type=text]{
	border:1px solid #d8d8d8;
	background:#d8d8d8;
	width:184px;
	height:18px;
	font-size:9pt;
	color:#666;
	text-align:right;
	direction:rtl;
	padding:2px;
	font-family:tahoma;
}
.sidebox input[type=text]:focus{
	border:1px solid #cacaca;
}
.sidebox textarea{
	border:1px solid #d8d8d8;
	background:#d8d8d8;
	width:184px;
	height:70px;
	font-size:9pt;
	color:#666;
	text-align:right;
	direction:rtl;
	padding:2px;
	font-family:tahoma;
	overflow:auto;
}
.sidebox textarea:focus{
	border:1px solid #cacaca;
}
.sidebox input[type=submit]{
	float:left;
    display:block;
    background:#649c15;
    border:1px solid #649c15;
    text-decoration:none;
	font-family:tahoma;
    color:#fff;
    cursor:pointer;
    padding:3px 10px;
}
.sidebox input[type=submit]:hover{
	background:#b4314d;
	color:#fff;
	border:1px solid #b4314d;
}
.poll{
	margin:10px auto;
	font-size:8pt;
}
.poll .wrapper{
	width:200px;
	background:#d8d8d8;
	margin-bottom:8px;
}
.poll .bar{
	height:10px;
	background:#649c15;
}
.news{
	width:510px;
	padding:10px 5px;
}
.news.internal{
	width:805px;
}
.news img{
	float:right;
	width:120px;
	height: 90px;
	margin:5px;
	padding:2px;
	border:1px solid #ccc;
}
.news .title{
	text-align:right;
	direction:rtl;
	margin:5px;
	font-weight:bold;
}
.news .title a{
	color:#204411;
	text-decoration:none;
}
.news .title a:hover{
	text-decoration:underline;
}
.news .txt{
	min-height:60px;
	text-align:justify;
	direction:rtl;
	line-height:15pt;
	margin:5px;
}
/* News Rotator Style */
.newswrapper{
	width:538px;
	height:210px;
	border:1px solid #d8d8d8;
	margin-bottom:5px;
}
.glidecontentwrapper{
	position:relative; /* Do not change this value */
	width:538px;
	height:180px; /* Set height to be able to contain height of largest content shown*/
	direction:rtl;
	overflow:hidden;
}
.glidecontent{ /*style for each glide content DIV within wrapper.*/
	position:absolute; /* Do not change this value */
	background:#fff;
	padding:10px;
	visibility:hidden;
}
.glidecontenttoggler{ /*style for DIV used to contain toggler links. */
	float:left;
	width:70px;
	text-align:center; /*How to align pagination links:"left", "center", or "right"*/
}
.glidecontenttoggler a{ /*style for every navigational link within toggler */
	display:-moz-inline-box;
	display:inline-block;
	color:#fff;
	background:#649c15;
	padding:3px 5px;
	text-decoration:none;
}
.glidecontenttoggler a:hover{
	background:#b4314d;
	color:#fff;
}
.pagetitle,.page_title{
	background:#b4314d url(../images/egg.jpg) right no-repeat;
	width:70%;
	height:25px;
	color:#fff;
	padding-right:25px;
	direction:rtl;
	text-align:right;
	line-height:15pt;
	font-weight:700;
}
.pagecontent{
	float:right;
	width:965px;
	padding-top:6px;
}
.pagecontent .pageleft{
	width:805px;
	direction:rtl;
	text-align:right;
}
.page_txt{
	color:#333;
	font-size:9pt;
	line-height:15pt;
	direction:rtl;
	text-align:justify;
	margin:20px;
}
.olampiad{
	float:right;
	width:100%;
	margin-top:15px;
}
.olampiad .box{
	float:right;
	width:230px;
	margin-right:20px;
	margin-bottom:20px;
}
.olampiad .pic{
	float:right;
	width:50px;
	height:50px;
	margin:2px;
	padding:2px;
	border:1px solid #ccc;
}
.olampiad .txt{
	float:right;
}
.olampiad .txttitle{
	text-align:right;
	direction:rtl;
	margin:5px;
	font-weight:bold;
	color:#204411;
}
.olampiad .abstract{
	color:#666;
	text-align:justify;
	direction:rtl;
	line-height:15pt;
	margin:5px;
}
.pagefooter{
	width:100%;
	height:94px;
	background:#649c15 url(../images/pagefoot.jpg) center no-repeat;
}
.pagefooter_p{
	width:100%;
	height:94px;
	background:#649c15 url(../images/pagefoot_p.jpg) center no-repeat;
}
.footerbox{
	width:100%;
	height:80px;
	background:#649c15;
}
.copyright{
	width:790px;
	height:20px;
	background:url(../images/footerback.jpg) right no-repeat;
	margin:0 auto;
	padding-right:200px;
	padding-top:10px;
	color:#fff;
	font-size:7pt;
	text-align:right;
}
.copyright a{
	text-decoration:none;
	font-weight:bold;
	color:#fff;
}
.copyright a:hover{
	text-decoration:underline;
}
/* For Formated Page */
.smallbox{
	width:295px !important;
	width:290px;
	border:1px solid #eaeaea;
}
.smallbox .head{
	background:#b4314d url(../images/egg.jpg) right no-repeat;
	width:70%;
	height:25px;
	color:#fff;
	padding-right:25px;
	direction:rtl;
	text-align:right;
	line-height:15pt;
	font-weight:700;
}
.smallbox .content{
	font:9pt Tahoma;
	line-height:15pt;
	direction:rtl;
	text-align:justify;
	color:#333;
	padding:8px;
}
.smallbox .content a{
	text-decoration:underline;
	color:#333;
}
.smallbox .content a:hover{
	text-decoration:none;
}
.smallbox .footer{
	display:none;
}
.bigbox{
	width:510px;
	border:1px solid #eaeaea;
}
.bigbox .title{
	background:#b4314d url(../images/egg.jpg) right no-repeat;
	width:70%;
	height:25px;
	color:#fff;
	padding-right:25px;
	direction:rtl;
	text-align:right;
	line-height:15pt;
	font-weight:700;
}
.bigbox .content{
	line-height:15pt;
	direction:rtl;
	text-align:justify;
	color:#333;
	margin:8px;
}
.bigbox .content a{
	text-decoration:underline;
	color:#333;
}
.bigbox .content a:hover{
	text-decoration:none;
}
/*******Menu*********/
.menu, .menu li ul{
	float:right;
	list-style:none;
	margin:0;
	padding:0;
	width:160px; /*WIDTH OF MAIN MENU ITEMS*/
	z-index:1000;
	margin-right:-7px;
}
.menu li{
	position:relative;
	width:100%;
}
.menu li a{
	background:#649c15;
	font-size:8pt;
	color:#fff;
	display:block;
	width:150px;
	height:20px;
	padding-right:10px;
	padding-top:5px;
	margin-bottom:2px;
	text-decoration:none;
	text-align:right;
	direction:rtl;
	line-height:10pt;
}
.menu li img{
	border:none;
	float:right;
	margin-left:5px;
	margin-top:5px;
}
.menu li a:hover, .menu li .selected{
	background:#b4314d url(../images/arrow.png) no-repeat left center;
	height:20px;
	color:#fff;
}
.menu li a:visited, .menu li a:active{
	color:#fff;
}
.menu li ul{ /*SUB MENU STYLE*/
	position:absolute;
	width:152px; /*WIDTH OF SUB MENU ITEMS*/
	left:-152px;
	top:0;
	display:none;
	background:#fff;
	border:1px solid #fff;
}
.menu li ul li{
	float:right;
}
.menu li ul a{
	width:147px; /*WIDTH OF SUB MENU ITEMS - 10px padding-left for A elements */
	padding:3px 5px 2px 0;
}
.menu .arrowdiv{
	position:absolute;
	left:0;
	background:transparent url(../images/arrow.png) no-repeat left 2px;
}
/* CSS Hacks for Google Chrome*/
@media screen and (-webkit-min-device-pixel-ratio:0){
.pagefooter{background:#649c15 url(../images/chpagefoot.jpg) center no-repeat;}
.pagefooter_p{background:#649c15 url(../images/chpagefoot_p.jpg) center no-repeat;}
}
/* CSS Hacks for IE7*/
html>body .pagefooter{ *background:#649c15 url(../images/chpagefoot.jpg) center no-repeat; }
html>body .pagefooter_p{ *background:#649c15 url(../images/chpagefoot_p.jpg) center no-repeat; }