/* CSS Document */
<!--

/* @CSS Reset*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img,a img,:link img,:visited img {border:0;}
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}
ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6 {font-size:100%;}
q:before,q:after {content:'';}
input[type=button],input[type=submit],input[type=checkbox] {cursor: pointer;}
a {text-decoration: none; outline: none;}
-moz-focus-inner {border: 1px solid transparent !important;}
/* @end */


/* @group base */
html, body, * { font-family: Verdana; font-size: 11px; }
body { 
	height: 100%;
	background:url(../../../images/bg.jpg) repeat;
}
h2 { font-size: 14px; }

#wrapper {  }
#allwrappstart {
	margin: 0 auto;
	width: 1000px;
	/* min-height: 600px; */
}
/* @end */


/* @group Header */
#header {
	height: 138px;
	width: 100%;
	background: #eee url(../img/buttons/bg-body.jpg) repeat-x left top;
	margin-bottom: 10px;
}
#head_shadow {
	position: absolute;
	height: 138px;
	width: 100%;
	background: url(../img/buttons/bg-main.png) no-repeat top center;
}
#head_top {
	position: relative;
	width: 1000px;
	height: 41px;
	margin: 0 auto;
}

#h_right { float: right; }
#h_right a { color: white; line-height: 41px; text-decoration: none; }
#h_right img { vertical-align: middle; }
#h_sign, #h_register { margin: 0 5px; }
#h_register { margin-right: 15px; }
#h_right a:hover { color: #F4DEC7; }
#h_right a:active { position: relative; top: 1px; }

#head_bottom {
	position: relative;
	width: 1000px;
	height: 97px;
	margin: 0 auto;
}
#h_logo > img {
	margin: 10px 0;
	vertical-align: middle;
}
#h_buttons {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 32px;
	width: 400px;
	padding: 0 30px;
}
#h_buttons > a {
	display: inline-block;
	width: 96px;
	height: 32px;
}

#h_button1 { background: url(../img/buttons/shop_b02.png) no-repeat; }
#h_button2 { background: url(../img/buttons/blog_b02.png) no-repeat; }
#h_button3 { background: url(../img/buttons/almanac_b01.png) no-repeat; }
#h_button4 { background: url(../img/buttons/contact_b02.png) no-repeat; }
#h_button1:hover { background: url(../img/buttons/shop_b01.png) no-repeat; }
#h_button2:hover { background: url(../img/buttons/blog_b01.png) no-repeat; }
#h_button4:hover { background: url(../img/buttons/contact_b01.png) no-repeat; }

#sign_in {
	width: 350px;
}
#signin_form table {
	margin: 0 auto;
}
#signin_form input[type='text'], #signin_form input[type='password'] {
	width: 200px;
	height: 15px;
	line-height: 15px;
}
/* @end */


/* @group Header Title */
#top_header {
	text-align: center;
	color: #89141A;
	font-size: 34px;
		color: #fff;
}
#top_descp {
	font-size: 17px;
}
/* @end */


/* @group Bazi */
#center_cont {
	width: 650px;
	margin: 20px auto;
}
#bazicont {
	width: 450px;
	margin: 0 auto;
	background: white;
}
.header_title {
	position: relative;
	padding: 5px;
	font-size: 18px;
	line-height: 115%;
	text-align: center;
	background: #570E17;
	color: #FFF1BB;
}
.header_descp {
	display: block;
	line-height: 115%;
	font-size: 12px;
	color: white;
	padding-bottom: 2px;
}
#bazi_sign {
	float: left;
}
.branchstem {
	float: left;
	width: 23.75%;
	height: 150px;
	text-align: center;
	padding: 2px;
	background: white;
	border-right: 2px solid #971A1E;
	border-bottom: 2px solid #971A1E;
}
.stemlabel {
	background: #971A1E;
	color: white;
	font-size: 14px;
	line-height: 25px;
	margin-bottom: 10%;
}
.stemimg {
	height: 100px;
	width: 82px;
	margin: auto;
	line-height: 160%;
}
.branchimg {
	height: 100px;
	width: 82px;
	margin: 20% auto;
	line-height: 160%;
}

.bs1 { border-right: none; border-bottom: none; }
.bs2 { border-bottom: none; }
.bs3 { border-right: none; }

#bazi_details {
	width: 450px;
	height: 338px;
	margin: 0 auto;
	background: #570E17;
	border-top: none;
}
#bazi_details div {
	padding: 5px;
	font-size: 15px;
	line-height: 130%;
	background: #570E17;
	color: #FFF1BB;
}

#bazi_detail1 { float: left; }
#bazi_detail2 { float: right; }

#cal {
	display: block;
	width: 135px;
	margin: 30px 100px 0 auto;
	font-size: 15px;
	text-decoration: underline;
	color: #fff;
}

#cal:link, #cal:visited {
	/* color: #971A1E;*/
}
#cal:hover { color: #E14C51; }
#cal:active { position: relative; top: 1px; }
/* @end */


/* @group Bazi Form */
#baziform_cont {
	width: 80%;
	height: 250px;
	padding: 0 10%;
}
#baziform_cont > p {
	margin: 15px 0;
	text-align: center;
	font-size: 15px;
}
#bazi_table {
	margin: 20px auto;
	table-layout: fixed;
}
#bazi_table td {
	font-size: 15px;
	padding: 2px;
}

#bazi_table td:nth-child(1) { width: 105px; }
#bazi_table td:nth-child(2) { width: 200px;white-space: noWrap; }
#bazi_table tr:last-child > td:last-child { text-align: right; padding: 10px 0;}
#bazi_table input[type='submit'] { font-size: 14px; padding: 0 10px; }
#bazi_table input[type='text'], select, option { font-size: 12px; line-height: 125%; }
/* @end */


/* @group Timezone */
#realtime {
	width: 215px;
	height: 60px;
	margin: 50px auto;
}
#realtime .pad_10_ctr > p, #realtime .pad_10_ctr a {
	color: #971A1E;
	font-size: 12pt;
}

#refresh_btn:link, #refresh_btn:visited { text-decoration: none; }
#refresh_btn:hover, #refresh_btn:active { text-decoration: underline; }
/* @end */


/* @group Footer */
#footer {
	height: 50px;
	width: 100%;
	background: #171717;
}
#footer_cont {
	width: 1000px;
	color: white;
	text-align: center;
	line-height: 30px;
	margin: 0 auto;
}
/* @end */


/* @group CSS Formating */
.float_left { float: left; display: block; }
.float_right { float: right; display: block; }

.pad_1_all { padding: 1px; }
.pad_3_all { padding: 3px; }
.pad_5_all { padding: 5px; }
.pad_7_mdl { padding: 7px 0; }
.mar_5_btm { margin-bottom: 5px; }
.mar_20_mdl { margin: 20px 0; }

.bdrdarkred { border: 10px solid #570E17; }
.bdrred { border: 3px solid #971A1E; }
.bdrwhite { border: 3px solid white; }

.bgwhite { background: #FFFFFF; }
.bgred { background: #971A1E; }
.bgdarkred { background: #570E17; }
.bgpink { background: #FFFCDF; }
/* @end */

-->
/* End of CSS Document */