/* Author : Patrick Sy */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, /*p,*/ blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

:focus {	outline:0;}
body { line-height:1;}
/* ol, ul { list-style:none;} */

table { border-collapse:separate; border-spacing:0;}
caption, th, td { text-align:left; font-weight:normal;}
blockquote:before, blockquote:after, q:before, q:after { content:"";}
blockquote, q { quotes:"" "";}

/*** font styles ***/
a,h1,h2,h3,h4,h5,h6,p,pre,table,th,td,label,li,input,textarea,select,blockquote,code,dt,dd {}
a { text-decoration:none; cursor:pointer; color:#990000;}
a:hover, a:focus { text-decoration:none; color:#4eb009;}
:focus { outline:0;}

h1,h2,h3 {}
p,strong,li,label,pre,table,th,tr,td,tbody,tfoot,thead,blockquote,code  {}
em { font-style:italic;}
strong { font-weight:bold;}
img { vertical-align:top;}
/* ol li { list-style:decimal inside;} */

span.break { display:block; margin-bottom:22px;}
.grey { color:#333;}
.red { color:#f00;}
.blue { color:#006699}
.rel { position:relative;}
.alignLeft { float:left;}
.alignRight { float:right;}
.caps { text-transform:uppercase;}
.abs div { position:absolute;}
.clr { height:0; clear:both; line-height:0px;}

/*** general ***/
body { background:url(../images/bg.jpg) repeat-x #f2f2f2; text-align:center; font-family:Arial; color:#333; font-size:13px; position:relative;}
.wrapper { text-align:left; position:relative;}
#wrap { background:url(../images/footer.png) 0 100% repeat-x;}

#header { background:url(../images/header.jpg) 50% 0 no-repeat; z-index:3; position:relative; width:1024px; margin:0 auto;}
#header .wrapper { padding:17px 0 15px 0;}
	#header .abs { background:url(../images/searchBg.png) repeat-x; position:absolute; top:27px; left:10px; width:1004px; min-height:33px; z-index:4;}
		#logo { top:0; left:0; z-index:7; position:absolute;}
		#search { top:0; right:0; background:url(../images/search.gif) 5px 6px no-repeat; padding:8px 0 0 10px; width:210px; height:25px; overflow:hidden; z-index:8;}
			#search .txt { display:block; width:180px; color:#ccc; font-size:12px; background:none; border:0; margin-bottom:10px;}
			#search input.btn { width:22px; text-indent:-1000px; padding:0; cursor:pointer; position:absolute; top:6px; right:5px}
	#nav { background:#e5e5e5; font-size:12px; z-index:9; width:100%; height:37px;}
		#nav li a, .qmparent { background:url(../images/nvDv.png) 100% 0 no-repeat #e5e5e5; display:block; float:left; padding:12px 42px 0 40px; height:25px; color:#333; text-decoration:none;}
		#nav li a:hover, #nav li a:focus, .qmparent:focus, .qmparent:hover { background-color:#1e1e1e; color:#fff;}
		#nav li ul, .qmmc div { display:block; padding:0; margin:0 0 0 -1px; background:#1e1e1e;}
		#nav li li a, .qmmc div a { color:#fff; padding:11px 15px; display:block; min-width:165px; text-decoration:none}
		#nav li li a:hover, #nav li li a:focus, .qmmc div a:hover, .qmmc div a:focus { background:#3b3b3b;}
	#imgHeader { padding:10px;}

#mBody { background:url(../images/mContent.png) 50% 0 repeat-y; line-height:18px; z-index:2; position:relative; width:1112px; margin:0 auto;}
	#mBody .wrapper { background:url(../images/mTop.jpg) 50% 0 no-repeat; width:1112px;}
	#mBody .base { background:url(../images/mBot.jpg) 50% 100% no-repeat; min-height:520px; padding:6px 64px 45px 64px;}

	.sidebar { width:285px; float:left;}
		#newsletter { background:url(../images/newsletter.png) no-repeat; height:130px; width:210px; margin-left:15px; padding:160px 25px 0 25px}
			#newsletter .txt { width:200px; padding:2px 3px; margin-bottom:5px; color:#999}
			#newsletter input.btn { background:url(../images/btn_member.png); width:174px; height:33px; margin:5px 0 0 15px}
			#newsletter input.btn:hover, #newsletter input.btn:focus { background-position:0 -60px}
	.mContent { padding:20px 0 10px 0;}
	#index { background:url(../images/tableBg.png) no-repeat; width:986px; height:inherit; height:291px;}
		#index td { vertical-align:middle; color:#fff}
			#index h1, #index h2 { font-size:18px;}
			#index a { color:#fff}

	.btn { background:url(../images/btn.png) 0 0 no-repeat; color:#66a4d3; line-height:14px; width:177px; height:21px; font-size:12px; display:block; text-align:center; padding-top:7px; margin:2px auto 0 auto;}
	.btn:hover, .btn:focus { background-position:0 -60px; color:#fff; text-decoration:none}
	input.btn { border:0; margin:0; padding:0; background:0;}
	input.btn:hover, input.btn:focus { cursor:pointer;}

/*** footer ***/
#footer { margin-top:-28px; padding:0 64px; color:#666; height:28px; position:relative; z-index:1;}
	#footer a { color:#666; text-decoration:none;}
	#footer a:hover, #footer a:focus { text-decoration:underline;}

/*** typo ***/
	.mContent h1, .mContent h2 { font-size:26px; font-family:Verdana; line-height:26px;}
	.mContent h2 { color:#605a43;}
	.mContent h3, .mContent h4 { font-size:18px; margin:0;}
	.mContent h4 { color:#605a43;}
	.mContent h5, .mContent h6, .mContent p { font-size:13px; margin:0;}
	.mContent ul { padding-left:30px;}
	.mContent li { font-size:12px; margin-bottom:2px;}
	.mContent blockquote { display:block; text-align:center; font-size:14px; font-family:Tahoma}
	.mContent a {}
	.mContent a:hover, .mContent a:focus { text-decoration:underline;}
