.wall_menu {
	text-align: center;
}

.wall_menu table {
	margin: 0px;
	padding: 0px;
	text-align: center;
	margin: auto;
	width: 98%;
}

.wall_menu table td {
	width: 11%;
	margin: 0px;
	padding: 0px;
	padding-top: 35px;
	list-style-type: none;
	text-align: left;
	cursor: pointer;
}

.wall_menu .submenu {
	position: absolute;
}

.wall_menu table td a {
	color: #FFF;
	display: inline-block;
	padding: 4px 7px 4px 7px;
	text-decoration: none;
	text-shadow: black 0.1em 0.1em 0.1em;
	border: solid 1px transparent;
}

.wall_menu table td a:hover, .wall_menu table td a.selected, .wall_menu table td a.selected:hover {
	color: #000;
	display: inline-block;
	padding: 4px 7px 4px 7px;
	text-decoration: none;
	text-shadow: none;
	background-color: #ffffff;
	border: solid 1px #000;
}

.wall_menu table td:hover a.main_link {
	color: #000;
	display: inline-block;
	padding: 4px 7px 4px 7px;
	text-decoration: none;
	text-shadow: none;
	background-color: #ddf3f8;
	border: solid 1px #1c91ab;
	z-index: 9999;
	border-radius: 5px 5px 0px 0px;
	-moz-box-shadow: 0px 0px 5px #ffffff;
	-webkit-box-shadow: 0px 0px 5px #ffffff;
	box-shadow: 0px 0px 5px #ffffff;
}

.wall_menu table td a.main_link_simple {
	display: block;
	text-align: center;
}

.wall_menu table td:hover a.main_link_simple {
	color: #000;
	display: block;
	padding: 4px 7px 4px 7px;
	text-decoration: none;
	text-shadow: none;
	background-color: #ddf3f8;
	border: solid 1px #1c91ab;
	z-index: 9999;
	text-align: center;
	border-radius: 5px;
	-moz-box-shadow: 0px 0px 5px #ffffff;
	-webkit-box-shadow: 0px 0px 5px #ffffff;
	box-shadow: 0px 0px 5px #ffffff;
}

.wall_menu table td:hover a.main_link .menu_mask {
	background-color: #ddf3f8;
	position: absolute;
	height: 1px;
	margin-top: 19px;
	margin-left: -5px;
	z-index: 999;
}

.wall_menu table td:hover a.main_link .mask1 {position: absolute;width: 57px;margin-left: -7px;}
.wall_menu table td:hover a.main_link .mask2 {position: absolute;width: 72px;margin-left: -7px;}
.wall_menu table td:hover a.main_link .mask3 {position: absolute;width: 56px;margin-left: -7px;}

.wall_menu table td .submenu {
	border: solid 1px #1c91ab;
	background: #ddf3f8;
	text-align: left;
	margin-top: -1px;
	border-radius: 0px 5px 5px 5px;
	box-shadow: 3px 3px 2px rgba(28,145,171,0.3);
	-moz-box-shadow: 3px 3px 2px rgba(28,145,171,0.3);
	-webkit-box-shadow: 3px 3px 2px rgba(28,145,171,0.3);
}

.wall_menu table td .submenu a {
	display: block;
	padding: 5px 7px 5px 7px;
	text-shadow: none;
	color: #000000;
	border: 0px;
}

.wall_menu table td .submenu a:hover {
	display: block;
	padding: 5px 7px 5px 7px;
	text-shadow: none;
	color: #ffffff;
	background-color: #1c91ab;
	border: 0px;
}

.wall_menu table td .submenu a img {
	margin-left: -24px;
}

/*
.menu_link1 {width: 53px; background-image: url(../images/site/link1.png);background-repeat: no-repeat;background-position:top center;}
.menu_link2 {width: 73px;}
.menu_link3 {width: 53px;}
.menu_link4 {width: 70px;}
.menu_link5 {width: 60px;}
.menu_link6 {width: 70px;}
.menu_link7 {width: 57px;}
.menu_link8 {width: 65px;}
.menu_link9 {width: 65px;}
*/

.menu_link1 {background-image: url(../images/site/link1.png);background-repeat: no-repeat;background-position:top center;}
.menu_link2 {background-image: url(../images/site/link2.png);background-repeat: no-repeat;background-position:top center;}
.menu_link3 {background-image: url(../images/site/link3.png);background-repeat: no-repeat;background-position:top center;}
.menu_link4 {background-image: url(../images/site/link4.png);background-repeat: no-repeat;background-position:top center;}
.menu_link5 {background-image: url(../images/site/link5.png);background-repeat: no-repeat;background-position:top center;}
.menu_link6 {background-image: url(../images/site/link6.png);background-repeat: no-repeat;background-position:top center;}
.menu_link7 {background-image: url(../images/site/link7.png);background-repeat: no-repeat;background-position:top center;}
.menu_link8 {background-image: url(../images/site/link8.png);background-repeat: no-repeat;background-position:top center;}
.menu_link9 {background-image: url(../images/site/link9.png);background-repeat: no-repeat;background-position:top center;}


/* for new messages*/
.wall_menu table td a.red {color: red;}
.wall_menu table td:hover a.red {color: #000;}