@charset "utf-8";
/***********************************************************************
 * @author    : Jack Xiang
 * @date      : Feb , 2010
 * @project   : www.reallyenglish.com.cn upgrade
 * @purpose   : common css for all index pages
 * @version   : v2
 ***********************************************************************/

body {
	margin: 0;
	padding: 0;
	text-align: center;
	color: #000000;
	line-height: 18px;
	font-size: 14px;
	font-family: Trebuchet MS, SimSun, 宋体, Helvetica, Verdana, Arial, Sans-serif;
	background: #fff none repeat scroll 0 0;
}

/*links*/
a{
	outline:none;
}
a:link {
	
	color:#17384E;
	text-decoration:none;
}
a:visited {
	color:#333333;
	text-decoration:none;
}
a:hover, a:active, a:focus {
	color:#0080d9;
	text-decoration:none;
}
a.textLink:link {
	color:#0080d9;
	text-decoration:underline;
}
a.textLink:visited {
	color:#4caaff;
	text-decoration:underline;
}
a.textLink:hover, a.textLink:active, a.textLink:focus {
	color:#000000;
	text-decoration:none;
}
.anchor {
	display:none;
}
.label {
	color: #fff;
	font-size: 15px;
	line-height: 22px;
	text-align: center
	
}

ul.divlink{
	list-style-position:outside;
	margin-left:18px;
	padding:0;
	
}

ul.divlink li {
	list-style-image:url(../images/common/link_icon.png);
	
}
ul.divlink li a{
	color:#999999;
}
ul.divlink li a:hover{
	color:#1C4764;
}
.mainPage #container {
	width: 950px;
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #000000;
	text-align: left;
	position:relative;
	
}

/*for topbar*/
#topbar {
	height:146px;
	padding: 0px;
	margin-top: 2px;
	background:#FFF url(../images/common/banner.jpg) no-repeat
}
#topbar #relogo{
	margin: 20px;
	height: 82px;
	width:82px;
	float: left;
	border: none
}
#topbar #quickbar {
	float:left;
	width: 950px;
	height: 22px;
	background:#990000 url(../images/common/topLinksPattern.png) no-repeat;
	
}
#quickbar ul.hMenu{
	list-style:none;
	margin:0;
	padding:0;
}
#quickbar ul.hMenu li{
	float:left;
}
#quickbar ul.hMenu li a{
	display:block;
	width:129px;
	height:22px;text-align:center;
	border-left:1px solid #000; color:#fff
}
#quickbar ul.hMenu li a:hover{
	background-color:#6D0101
}

#topbar .quickLink{
	height:22px;  float:right;
}


#topbar #current_site{
	padding:0;
	float:left;
	text-align:center;
	height:22px;
	width:142px
}
#topbar #site_links{
	padding: 20px 0 0 0;
	height: 102px;
	float: right;
	
}
#topbar #site_links ul {
	width:155px;
	list-style: none;
	margin: 0;
	padding: 0;
	
}
#topbar #site_links ul li{
	height:26px;
	width:155px;
	text-align: right;
	
}
#topbar #site_links a{
	width:143px;
	display: block;
	padding-right: 12px;
	color: #fff
}

#topbar #site_links a:link, #topbar #site_links a:visited{
	color: #fff
}
#topbar #site_links a:hover{
	background: url(../images/common/site_link_over_bg.gif) no-repeat;
	color: #fff
}
#topbar #site_links .tinyCube{
    background: url(../images/common/tiny_cube.png) no-repeat 90% 50%;
}
.contactUsIcon{
	background: url(../images/common/envelope.gif) no-repeat 98% 50%;
}

#mainContent {
	padding: 0;
	position:relative;
	width: 950px;
	margin: 0px;
	background: #fff url(../images/common/mainBckgrnd.png) repeat-y 189px
}

#menu-container {
	padding:0;
	width:950px;
	height: 57px;
	background: url(../images/menubg.png) repeat-x;

}

/****** drop down main menu ********/
/*** base sectin ****/
ul.topmenu, ul.topmenu li, ul.topmenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.topmenu {
	position: relative;
	z-index: 597;
	float: left;
	margin-left: 1px
}
/* creates a horizontal list as the main menu */
ul.topmenu li {
	float: left;
	line-height: 13px;
	/*zoom: 1;*/
}
ul.topmenu li.hover, ul.topmenu li:hover {
	position: relative;
	z-index: 599;
	cursor: default;
	vertical-align:bottom; /*fix extra gaps when IE<7*/
}
ul.topmenu ul {
	visibility: hidden;
	position: absolute;
	top: 100%;	
	z-index: 598;
	width: 100%;
}
ul.topmenu ul li {
	float: none;
	height:auto;
	margin:0;
	padding:0;
	border:none;
	
}
ul.topmenu ul ul {
	top: 1px;
	left: 99%;
}
ul.topmenu li:hover > ul {
	visibility: visible;
}
/** theme for them main menu **/
ul.topmenu * {
	margin:0px;
	padding:0px;
}
ul.topmenu {
	font-weight:bold;
	font-size:12px;
	width:100%;
}
ul.topmenu a {
	
}
ul.topmenu a:hover {
	
	background: #193349;
}
ul.topmenu a:link, ul.topmenu a:visited {
	
	text-decoration: none;
}

ul.topmenu a:active {
	
	color: #ffa500;
}
ul.topmenu li.main {
	width:188px;
	height:24px;
	margin-right:2px;	
	color:#fff;
	
}
ul.topmenu li a{
	background: url(../images/menuupbg.png) no-repeat;
	width:184px;
	height:20px;
	padding:5px 2px 1px 2px;
	display:block;
	float:none;
	font-size:15px;
	text-align:center
}
ul.topmenu ul li{
	margin:0;
	padding:0;
	vertical-align:bottom;
}

ul.topmenu li a:link, ul.topmenu li a:visited{
	color: #000
}
ul.topmenu li a:hover {
	color: #000;
	background:url(../images/menuoverbg.png) no-repeat;
}
ul.topmenu ul li a:link, ul.topmenu ul li a:hover, ul.topmenu ul li a:visited{
	vertical-align:bottom;
	color: #fff
}
ul.topmenu ul li a:hover{
	background: #607081
}
ul.topmenu ul {
	width:188px;	
	top:23px;
}

ul.topmenu ul li a{
	height:auto;
	width:178px;
	padding: 5px 0 7px 10px;
	margin:0 0 0 0;
	font-size:13px;
	font-weight:normal;
	border-top: solid #62BBC5 2px;
	color:#fff;
	background:#193349;
	float:none;
	text-align:left
}

ul.topmenu ul *.submenu{
	top:0px;
	background:#193349 url(../images/arrow.gif) no-repeat 95% 50%;
	
}
ul.topmenu ul *.submenu:hover {
	background: #607081 url(../images/arrow.gif) no-repeat 95% 50%;
	cursor:default
}
ul.topmenu ul *.submenu:active {
	color:#fff
}
ul.topmenu #selected {
	background: url(../images/menuselbg.png) no-repeat;
	width:156px;
	font-size:14px;
	padding:4px 2px 0px 30px
}
/* the end of drop down main menu */


/* adverts on the right column */
.advert{
	margin:10px 0 10px 0;
	padding:0;
	width:247px;
	float:right;
	
}

.advert-fixed{
	
	min-height:396px;
	background: url(../images/advert/say_bg.png) no-repeat
}

.advert-title{
	float:left;
	padding:25px 25px 15px 15px;
	font-size:30px; 
	font-family: Times New Roman; 
	font-weight: bold; 
	font-style: Italic; 
	color:#790000; 
	text-shadow:#666666 5px 5px 5px;; 
	text-align:center
}
.advert-content{
	float:left;
	padding:5px 35px 10px 15px;
	
}

.advert-top{
	height:22px;
	
}

.advert-main{
	padding:2px 20px 2px 20px;
	
}

.advert-bottom{
	height:30px;
	
}

.adGrayWhiteTop{
	background: url(../images/advert/gw_top.png) no-repeat
}

.adGrayWhiteMiddle{
	background: url(../images/advert/gw_middle.png) repeat-y
}

.adGrayWhiteBtm{
	background: url(../images/advert/gw_btm.png) no-repeat
}

.advert #peTop{
	height:158px;
	background: url(../images/advert/PE_ad_top.png) no-repeat
}
.advert #peMiddle{
	height:126px;
	background: url(../images/advert/gb_middle.png) repeat-y
}
.advert #peBottom{
	height:66px;
	background: url(../images/advert/PE_ad_btm.png) no-repeat
}
.advert #CollinsWM{
	height:358px;
	background: url(../images/advert/Collins_WM.png) no-repeat;
}

.advert #CollinsWM a:hover, a:active, a:focus {
	color:#fff;
}

.advert #quickLinksTop{
	height:60px;
	background: url(../images/advert/quick_link_top.png) no-repeat
}
.adRedMiddle{
	background: url(../images/advert/gr_middle.png) repeat-y
}
.advert #quickLinksBottom{
	height:40px;
	background: url(../images/advert/quick_link_btm.png) no-repeat
}
ul.quickLinks{
	list-style:none;
	margin:0;
	padding:0;
}

ul.quickLinks a{
 display:block;
 width:200px;
 height:35px;
 padding-top:15px;
 text-align:center;
 background: url(../images/common/quickLink_btn_up.png) no-repeat
}
ul.quickLinks a:hover{
 background: url(../images/common/quickLink_btn_over.png) no-repeat
}

/* footer */
div #footer {
	background:#fff url(../images/bottomline.gif) no-repeat 0 30px;
	clear:both;
	margin: 30px 0px 10px 0px;
	height: 160px;
	padding-top: 5px;
}
div #footer #footmenu {
	text-align:center;
}
div #footer #copyright {
	text-align:right;
	width:942px;
	float:left;
	margin: 0;
	padding: 20px 10px 10px 0;
}

