/************************************************************/
/************************ MAIN TAGS *************************/
/************************************************************/
body,td,th {
	color: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
body {
	background-image: url(../images/main_bg.png);
	margin: 0px 0px 60px 0px;
}
form {
	margin: 0px;
}

/************************************************************/
/*********************** ZAVHIKHI ***************************/
/************************************************************/
div.tab {
	font-size: 1px;
	line-height: 0;
	padding: 0px;
}

/************************************************************/
/*********************** LINKS ******************************/
/************************************************************/
A:link { text-decoration: underline; color: #000;}
A:visited { text-decoration: underline; color: #000;}
A:active { text-decoration: underline; color: #000;}
A:hover { text-decoration: none; color: #000;}

/************************************************************/
/********************** LEVEL1 LAYOUT ***********************/
/************************************************************/
div#level1 {
	background-image: url(../images/main_bg_fade.png);
	background-repeat: repeat-x;
	/*top padding of the whole page
	 * must be in form: 40 +- 3*k (to match the background) */
	padding-top: 42px;	
}
/* some problems with mozilla, now maybe solved... */
html>body div#level1 {
	padding-top: 41px;
}
table#frame {
	margin: 0px auto 0px auto;
	width: 713px;
	border: 0;
}

/************************************************************/
/************************** HEAD ****************************/
/************************************************************/
table#head_top {
	/*background: #FFF;*/
	height: 14px;	
}
	table#head_top td#t {
		background-image: url(../images/head_t.png);
		background-repeat: repeat-x;
		width: 683px;	
	}
	table#head_top td#tl {
		background-image: url(../images/head_tl.png);
		background-repeat: no-repeat;
		width: 15px;	
	}
	table#head_top td#tr {
		background-image: url(../images/head_tr.png);
		background-repeat: no-repeat;
		width: 15px;	
	}

table#head_main {
	background: #FFF;
	height: 93px;
}
	table#head_main td#l, table#head_main td#r {
		background-image: url(../images/head_l.png);
		background-repeat: repeat-y;
		width: 4px;	
	} table#head_main td#r {
		background-image: url(../images/head_r.png);
	}	
	table#head_main td#center_left, table#head_main td#center_right  {
		background-image: url(../images/head_b.png);
		background-repeat: repeat-x;
		background-position: bottom;
		width: 207px;	
		vertical-align: top;
	} table#head_main td#center_right {
		background-image: url(../images/head_b.png);
		width: 498px;	
	}
	/** logo **/
	table#head_main td#center_left div#logo {
		width: 136px;
		height: 50px;
		margin-top: 16px;
		margin-left: 22px;
	}
	/** banner **/
	table#head_main td#center_right div#banner {
		width: 468px;
		height: 60px;
		margin: 7px 10px auto auto;
		border: 1px solid #5F7278;
	}


/************************************************************/
/************************** BODY ****************************/
/************************************************************/
/** body layout **/
table#body_level1 {
	background: #FFF;
}
	table#body_level1 td#body_l, table#body_level1 td#body_r  {
		background-image: url(../images/body_l.png);
		background-repeat: repeat-y;
		vertical-align: top;
		width: 4px;
	} table#body_level1 td#body_r {
		background-image: url(../images/body_r.png);
	}
	table#body_level1 td#body_leftpane {
		background-image: url(../images/menus_bg.png);
		background-repeat: repeat-y;
		width: 178px;
		vertical-align: top;
	}
	table#body_level1 td#body_contentpane {
		width: 527px;
		vertical-align: top;
	}
/** foot **/
table#frame td#body_b {
	font-size: 1px;
	background-image: url(../images/body_b.png);
	height: 12px;
}
/** copyright logo **/
table#frame td#body_b div#copyright_logo {
	width: 61px;
	height: 74px;
	position: absolute;
	margin-left: -12px;
	margin-top: -12px;
}
html>body table#frame td#body_b div#copyright_logo {
	margin-top: -18px;
}


/************************************************************/
/*************** TOP FLOATING FRAMES ************************/
/************************************************************/
table#float_bg {
	background-image: url(../images/float_bg.png);
	background-repeat: repeat-x;
	height: 122px;
	width: 527px;
}
	/** main settings for floats **/
	table#float_bg div#float_left, table#float_bg div#float_center, table#float_bg div#float_right {
		background-image: url(../images/float_middleleft.png);
		background-repeat: repeat-y;
		width: 177px;
	}	table#float_bg div#float_center {
		background-image: url(../images/float_middlecenter.png);
		width: 173px;
	}	table#float_bg div#float_right {
		background-image: url(../images/float_middleright.png);
	}
	/** top settings for floats **/
	table#float_bg div#float_topleft, table#float_bg div#float_topcenter, table#float_bg div#float_topright {
		background-image: url(../images/float_topleft.png);
		background-repeat: no-repeat;
		height: 19px;
		color: #5F7278;
		font-size: 9px;
		font-weight: bold;
		text-transform: uppercase;
		padding: 4px 0px 0px 10px;
	}	table#float_bg div#float_topcenter {
		background-image: url(../images/float_topcenter.png);
		padding: 4px 0px 0px 6px;
	}	table#float_bg div#float_topright {
		background-image: url(../images/float_topright.png);
		padding: 4px 0px 0px 6px;
	}
	/** middle settings for floats **/
	table#float_bg div#float_mainleft, table#float_bg div#float_maincenter, table#float_bg div#float_mainright {
		height: 89px;
	} table#float_bg div#float_mainleft {
		background-image: url(../images/float_bottomleft_patch.png);
		background-repeat: no-repeat;
		background-position: left bottom;
	}
	/** bottom settings for floats **/
	table#float_bg div#float_bottomleft, table#float_bg div#float_bottomright, table#float_bg div#float_bottomcenter {
		background-image: url(../images/float_bottomleft.png);
		background-repeat: no-repeat;
		height: 10px;
		font-size: 1px;
	}	table#float_bg div#float_bottomright {
		background-image: url(../images/float_bottomright.png);
	}	table#float_bg div#float_bottomcenter {
		background-image: url(../images/float_bottomcenter.png);
	}
	/** item settings for floats **/
	table#float_bg div.float_itemleft, table#float_bg div.float_itemcenter, 
	table#float_bg div.float_item1right, table#float_bg div.float_item2right, 
	table#float_bg div.float_item2left, table#float_bg div.float_item3left {
		background-color: #F3F4F5;
		color: #5F7278;
		font-size: 9px;
		font-weight: bold;
		margin: 0px 2px 3px 5px;
		padding: 1px 1px 1px 4px;
	} table#float_bg div.float_item2left {
		margin: 0px 2px 0px 5px;
	} table#float_bg div.float_item3left {
		margin: 0px 2px 5px 5px;
		padding: 0px 1px 1px 15px;
		font-weight: normal;
		background-image: url(../images/item2arrow.png);
		background-repeat: no-repeat;
		background-position: left;
	}	table#float_bg div.float_itemcenter {
		margin: 0px 2px 3px 1px;
		padding: 1px 1px 1px 4px;
	}	table#float_bg div.float_item1right {
		margin: 0px 4px 0px 1px;
		padding: 1px 1px 0px 4px;
	} table#float_bg div.float_item2right {
		margin: 0px 4px 3px 1px;
		padding: 0px 1px 1px 15px;
		font-weight: normal;
		background-image: url(../images/item2arrow.png);
		background-repeat: no-repeat;
		background-position: left;
	}
	/** item button **/
	table#float_bg div.float_button {
		margin: 0px 2px 0px 5px;
		padding: 0px 0px 0px 4px;
		text-align: center;
	}
	
/************************************************************/
/********************** LEFT PANE ***************************/
/************************************************************/
div.leftpane {
	width: 175px;
	background-image: url(../images/leftpane_bg.png);
	background-repeat: repeat-y;
	margin-left: 3px;
}
	div.leftpane div.leftpane_top {
		background-image: url(../images/leftpane_top.png);
		background-repeat: no-repeat;
		text-transform: uppercase;
		font-size: 11px;
		font-weight: bold;
		height: 19px;
		color: #5F7278;
		padding: 4px 0px 0px 10px;
	}
	div.leftpane div.leftpane_bottom {
		background-image: url(../images/leftpane_bottom.png);
		background-repeat: no-repeat;
		height: 10px;
		font-size: 1px;
	}
	div.leftpane div.leftpane_item {
		font-size: 10px;
		background-color: #F3F4F5;
		margin: 6px 3px 0px 5px;
		padding: 1px 2px 1px 3px;
	}
	div.leftpane div.leftpane_item div.poll_itembg {
		background-color: #DDE1E2;
		width: 120px;
		height: 10px;
		font-size: 1px;
		margin-top: 2px;
	}
	div.leftpane div.leftpane_item div.poll_itembg div.poll_itemproc {
		background-color: #5F7278;
		height: 10px;
	}
	div.leftpane div.leftpane_button {
		text-align:center;
		margin: 8px 3px 0px 5px;
		padding: 1px 2px 1px 3px;
	}
	

/************************************************************/
/******************** FORM SETTINGS *************************/
/************************************************************/
input.textbox, select.combobox {
	font-size: 9px;
	height: 13px;
	background-color: #FFFFFF;
	margin: 0px;
	border: 1px solid #5F7278;
	width: 160px;
} select.combobox {
	height: 16px;
} 
textarea.textarea {
	font-size: 11px;
	height: 60px;
	padding: 1px;
	background-color: #FFFFFF;
	margin: 0px;
	border: 1px solid #5F7278;
	width: 160px;
}
input.textboxError {
	font-size: 9px;
	height: 13px;
	background-color: #FFFFFF;
	margin: 0px;
	border: 1px solid #5F7278;
	width: 160px;
	border: 1px solid red;
}
input.checkbox {
	background-color: #FFFFFF;
	margin: 0px;
	border: 1px solid #5F7278;
}
span.Error
{
	background-color: #FFFFFF;
	margin: 0px;
	border: 1px solid red;
}

/************************************************************/
/********************** MENU LAYOUT *************************/
/************************************************************/
table#menus {
	width: 178px;
}
	table#menus td#menus_top {
		background-image: url(../images/menus_aston.jpg);
		background-position: bottom;
		background-repeat: no-repeat;
		background-color: #DEE2E3;
		height: 114px;
	}

/************************************************************/
/********************** VALIDATION **************************/
/************************************************************/
div#valid_xhtml, div#valid_css, div#powerPhp, div#powerMysql {
	text-align: left;
	margin: 15px 2px 2px 2px;
	border: 0px;
}

/************************************************************/
/********************** MENU ITEMS **************************/
/************************************************************/
div.menu_title {
	text-transform: uppercase;
	font-size: 10px;
	font-weight: bold;
	color: #000;
	background-color: #D2D8D9;
	padding: 2px 0px 2px 8px;
	margin: 3px 3px 0px 6px;
}
div.menu_item {
	text-transform: lowercase;
	font-size: 9px;
	font-weight: bold;
	color: #5F7278;
	background-color: #DDE1E2;
	padding: 1px 0px 1px 24px;
	margin: 2px 3px 0px 6px;
	background-image: url(../images/menus_arrow.png);
	background-position: left;
	background-repeat: no-repeat;
}
div.menu_hr {
	background-color: #BDC6C8;
	margin: 2px 3px 10px 6px;
	font-size: 1px; 
	height: 1px;
}

/************************************************************/
/********************** MENU LINKS **************************/
/************************************************************/
a.menus:visited {
	color: #5F7278;
	text-decoration: none;
}
a.menus:link {
	color: #5F7278;
	text-decoration: none;
}
a.menus:hover {
	color: #000;
	text-decoration: none;
}
a.menus:active {
	color: #5F7278;
	text-decoration: none;
} 

/************************************************************/
/******************** HEADLINE NEWS *************************/
/************************************************************/
div.headline {
	width: 515px;
	margin: 10px auto 10px auto;
}
	div.headline div.headline_title_bg {
		background-image: url(../images/headline_title_bg.png);
		background-repeat: repeat-x;
	}
	div.headline div.headline_title, div.headline div.headline_date {
		color: #5F7278;
		font-size: 11px;
		font-weight: bold;
		text-transform: uppercase;
		float: left;
		background-color: #fff;
		padding: 0px 3px 1px 0px;
	}	div.headline div.headline_date {
		float: right;
		padding: 0px 0px 1px 3px;
	}
	div.headline div.headline_main, td.headline_main {
		clear: both;
		background-color: #F3F4F5;
		color: #000;
		font-size: 10px;
		padding: 5px;
		text-align: justify;
	}
	img.headline_img {
		border: 1px solid #5F7278;
		margin: 2px 1px 2px 4px;
		float: right;
	}


/************************************************************/
/********************* BOTTOM PANE **************************/
/************************************************************/
div#bottompane {
	position: absolute;
	margin-left: 188px;
	margin-top: -163px;
	width: 518px;
	height: 162px;
	background-image: url(../images/bottompane_bg.png);
	background-repeat: repeat-y;
}
/* position fix for mozilla */
html>body div#bottompane {
	margin-top: -168px;
}
	div#bottompane div#bottompane_top {
		background-image: url(../images/bottompane_top.png);
		background-repeat: no-repeat;
		height: 19px;
		color: #5F7278;
		font-size: 10px;
		font-weight: bold;
		text-transform: uppercase;
		padding: 3px 0px 0px 5px;
	}
	table#bottompane_main {
		width: 516px;
		margin-left: 1px;
	}
	div#bottompane div.bottompane_text1 {
		color: #000;
		font-size: 9px;
		font-weight: bold;
		text-transform: lowercase;
		background-color: #F3F4F5;
		padding: 1px 1px 0px 3px;
	}
	div#bottompane div.bottompane_text2 {
		color: #5F7278;
		font-size: 18px;
		background-color: #F3F4F5;
		padding: 0px 1px 1px 3px;
	}
	div#bottompane span.bottompane_text3 {
		color: #5F7278;
		font-size: 12px;
		background-color: #F3F4F5;
		padding: 0px 1px 1px 3px;
	}
	div#bottompane .bottompane_text4, div#bottompane .bottompane_text4b {
		color: #5F7278;
		font-size: 10px;
		background-color: #F3F4F5;
		padding: 0px 1px 1px 1px;
	}
	div#bottompane .bottompane_text4b {
		font-weight: bold;
	}
	div#bottompane img#bottompane_avatar {
		margin: 0px 2px 0px 6px;
	}
	div#bottompane tr.bottompane_data  {
		background-color: #F3F4F5; 
		margin-bottom: 5px; 
		padding-bottom: 0px;
		vertical-align: top;
	}
	div#bottompane div.bottompane_bottom  {
		background-image: url(../images/bottompane_bottom.png);
		background-repeat: no-repeat;
		margin-top: -0px;
		height: 5px;
		width: 518px;
		font-size: 1px;
	}	html>body div#bottompane div.bottompane_bottom  {
		margin-top: -2px;
	}
	

/************************************************************/
/********************** PAGER **************************/
/************************************************************/
A:link.pager1 { text-decoration: underline; color: #000;}
A:visited.pager1 { text-decoration: underline; color: #000;}
A:active.pager1 { text-decoration: underline; color: #000;}
A:hover.pager1 { text-decoration: none; color: #000;}

A:link.pager_page_selected { text-decoration: none; font-weight: bold; color: #000; }
A:visited.pager_page_selected { text-decoration: none; font-weight: bold; color: #000; }
A:active.pager_page_selected { text-decoration: none; font-weight: bold; color: #000; }
A:hover.pager_page_selected { text-decoration: none; font-weight: bold; color: #000; }
