/*******************
Created By:	Creativeworks Studio Limited
URL: 		http://www.creativeworks.com.hk
Date:		8 Aug 2008
*******************/

html { height: 100%; }
body { 
	margin: 0px; 
	line-height: 1.4;
	font: 12px "Lucida Grande", "Lucida Sans Unicode", Verdana, Tahoma;
	color: #333;
	/*background: #fff url(../img/bg.jpg) left 30px repeat-x;*/
}

a { 
	outline: none; 
	color: #333; 
	text-decoration: none; 
	border-bottom: 1px dotted #333; 
}

a:hover { border-bottom: 1px solid #333; }
a.img_link { border: none;}

input { background-color: #eee; border: 1px solid #7f9db9; padding: 2px;}
input:focus { background-color: #fff; }
img { border: none; }

input.hidden{
	display: none;
}

.even_row{
	background-color: #fcf9d2;
}

.cat1{
	background-color: #f60;
}

.cat2{
	background-color: #e21a22;
}

.cat3{
	background-color: #360;
}

.cat4{
	background-color: #639;
}

div.clear_div { clear: both;}

div#header {
	height: 35px;
	background: url(../img/header_bar.jpg) top left repeat-x;
	/*border-bottom: 1px solid #b34928;*/
}

div#header #wrapper {
	width: 970px;
	margin: 0 auto;
	font-size: 13px;
	line-height: 35px;
	color: #fff;
}

div#header #wrapper a { 
	border-color: #fff; 
	color: #fff; 
	padding: 3px; 
	*padding:3px 3px 0 3px;
}

div#header #wrapper a:hover { 
	color: #fff; 
	background-color: #fc8d5c; border: none;
}

div#header #wrapper #user_info {
	float: left;
}

div#header #wrapper #user_info span { font-weight: bold; }

div#header #wrapper #login_form {
	float: right;
}
div#header #wrapper #login_form div, div#nav_bar #search_bar div { 
	float: left;
	padding-left: 10px;
}
div#header #wrapper #login_form div.input input, div#nav_bar #search_bar div.input input { 
	height: 16px; 
	width: 150px; 
	line-height: 16px;
	*margin-top: 7px;
} 
div#header #wrapper #login_form label {
	padding: 10px;
	*padding: 0 10px;
	*display: block;
	*float: left;
	*margin-top: 2px;
	_margin-top: 0;
	
}

div#header #wrapper #login_form div.submit, div#nav_bar #search_bar div.submit{
	margin-top: 7px;
	*margin-top: 8px;
}

div#header #wrapper #login_form div.submit a, div#nav_bar #search_bar div.submit a {
	padding:0;
	padding-left: 5px;
	font-size: 12px;
	color: #000;
	cursor: pointer;
	height:21px; 
	display: block; 
	line-height: 21px; 
	border-bottom: none;
	background: transparent url(../img/submit_login_left.gif) top left no-repeat;
	_display:inline-block;
}
div#header #wrapper #login_form div.submit a span, div#nav_bar #search_bar div.submit a span { 
	display: block; 
	padding: 0 13px 0 8px;
	height: 21px;
	background: transparent url(../img/submit_login_right.gif) top right no-repeat;
	_display: inline-block;
}

div#header #wrapper #login_form div.submit a:hover, div#nav_bar #search_bar div.submit a:hover {
	color: #930;
}

div#alert_message, div#flash_message{
	color: #fff;
	height: 35px;
	line-height: 35px;
	margin-bottom: 5px;
	padding-left: 10px;
	font-size: 14px;
	font-weight: bold;
}

div#alert_message{
	background: url(../img/alert_message_bg.png) top left no-repeat;
}

div#flash_message{
	background: url(../img/message_bg.png) top left no-repeat;
}

div#outter_wrapper{
	background: url(../img/middle_bg.jpg) top left repeat-x;
}

div#container { 
	width:1000px; 
	margin: 0 auto;
	padding-bottom: 30px;
}

div#nav_wrapper { 
	height: 150px; 
}

div#nav_wrapper #logo { 
	display: block; 
	height: 113px; 
	width: 257px;
	margin-top: 1px;
	background: url(../img/logo.jpg) top left no-repeat;
	float: left; 
}
div#nav_wrapper #logo span { display: none;}

div#nav_wrapper #logo a {	border: none;}

div#nav_wrapper #banner {
	height: 90px;
	padding-top: 10px;
	margin-right: 15px;
	_margin-right: 0;
}

div#nav_wrapper #banner a{
	padding-bottom: 0;
	border-bottom: none;
}

div#nav_bar{
	height: 35px;
	clear:both;
	width: 970px;
	margin: 0 auto;
}

div#nav_bar #search_bar{
	height: 35px;
	line-height: 35px;
	float: left;
}
div#nav_bar #search_bar div.select{
	padding-left: 0;
	*margin-top: 7px;
}

div#nav_bar #search_bar select{
	border: 1px solid #7f9db9;
	padding: 1px;
	width: 100px;
}

div#nav_bar #search_bar div.input input{
	width: 250px;
	background-color: #fff;
}

div#nav_bar #search_bar div.submit a {
	background-image: url(../img/submit_search_left.gif);
}

div#nav_bar #search_bar div.submit a span {
	background-image: url(../img/submit_search_right.gif);
}

div#nav { 
	height: 35px; 
	float: right; 
	margin-top: 1px;
}
div#nav ul {list-style: none;}
div#nav ul li { 
	padding-left: 2px; 
	height: 35px; 
	display: block; 
	float: left; 
}
div#nav ul li a { 
	font-weight: bold; 
	font-size: 14px; 
	padding-left: 14px; 
	height:35px; 
	display: block; 
	line-height: 35px; 
	border-bottom: none; 
	background: #fff url(../img/nav_top_bg.png) 1px 1px no-repeat;
	_display:inline-block; 
}
div#nav ul li a span { 
	display: block; 
	padding: 0 30px 0 16px; 
	background: #fff url(../img/nav_top_bg.png) 0 1px repeat-x;
}

div#nav ul li a:hover, div#nav ul li a.selected{
	background: #fff url(../img/nav_top_hl.jpg) top left repeat-x;
}	
div#nav ul li.selected a{
	background: #fff url(../img/nav_top_bg_selected.png) 1px 1px no-repeat;
}

div#nav ul li a:hover span, div#nav ul li a.selected span{
	background: #fff url(../img/nav_top_hl.jpg) top left repeat-x;
}

div#nav ul li.selected a span{
	background: #fff url(../img/nav_top_bg_selected.png) 0px 1px repeat-x;
}

div#content_wrapper { 
	background-color: #fff; 
	padding: 20px 15px 10px 15px;
}

div#main {
	float: left;
	width: 670px;
}

div#main .header{
	font-size: 14px;
	/*font-weight: bold;*/
	padding: 3px 0;
	color: #D44537;
	width: 647px;
	height: 46px;
}

div#main .header span{
	display: none;
}

div#main .header .controls{
	margin-top: 15px;
	text-align: right;
}

div#main .header .controls a{
	color: #f60;
	border-bottom: none;
}

div#sidebar {
	float: right;
	width: 300px;
}

div#sidebar .header{
	height: 35px;
	width: 300px;
}

div#sidebar .header span{
	display: none;
}
#sidebar .content{
	padding: 15px 20px;
	*position: relative;
	*height: 1%;
	margin-bottom: 15px;
}

html>body #sidebar .content{
	height: auto;
}

#sidebar .info{
	padding: 10px 0;
	font-size: 16px;
	font-weight: bold;
}

div#footer {
	height: 60px;
	background: url(../img/footer_bg.png) top left repeat-x;
}

div#footer .footer_wrapper{
	width: 960px;
	margin: 0 auto;
	height: 60px;
	/*overflow: hidden;*/
}

div#footer .cws_project{
	float: left;
	height: 60px;
	width: 186px;
	background: url(../img/a_creativeworks_project.png) top left no-repeat;
	overflow: hidden;
}

div#footer .cws_project a{
	padding: 0;
	border: none;
	border-bottom: none;
	display: inline-block;
	height: 60px;
	width: 186px;
}

div#footer .cws_project a span {
	display: none;
}

div#footer .cws_project img{
	height: 60px;
	width: 186px;
	margin: 0;
}

div#footer .links_copyright{
	float: right;
	text-align: right;
}

div#footer #foot_links{
	height: 20px;
	line-height: 20px;
	margin-top: 10px;
	font-size: 13px;
	color: #fff;
}

div#footer #foot_links a{
	color: #fff;
	border-color: #fff;
	padding-bottom: 3px;
	font-weight: bold;
}

div#footer #foot_links a.rss{
	padding-left: 20px;
	display: inline-block;
	background: url(../img/icon_rss.jpg) center left no-repeat;
	border: none;
}

div#footer #rss_pane{
	position: relative;
	/*width: 80px;*/
	height: 60px;
	float: right;
	top: -120px;
	border: 1px solid #ff7e00;
	border-bottom: none;
	background-color: #fffddf;
	display: none;
}

div#footer #rss_pane div{
	height: 25px;
	padding: 0 10px;
	line-height: 25px;
	
}

/*
div#footer #foot_links a.rss span{
	border-bottom: 1px dotted #fff;
	padding-bottom: 1px;
}
*/

div#footer #foot_links span{
	display: inline-block;
	padding: 0 15px;
}

div#footer #copyright{
	font-size: 11px;
	height: 30px;
	line-height: 30px;
	color: #ffec96;
}

div#footer #copyright a{
	color: #ffec96;
	border-color: #ffec96;
}

#google_ad, #sidebar_ad{
	width: 300px;
	/*height: 250px;*/
	margin-top: 15px;
}

#sidebar_ad{
	/*margin-top: 15px;*/
	height: 120px;
}

#sidebar_ad a{
	border-bottom: none;
}

#bottom_nav{
	clear:both;
	padding-top: 20px;
}

#paginator {
	/*clear: both;*/
	width: 500px;
	float: left;
}

#paginator #page_nav{
	height: 39px;
	line-height: 39px;
	padding-left: 9px;
	background: url(../img/paginate_left.gif) top left no-repeat;
	float: left;
}

#paginator span.border{
	padding-right:9px;
	display: inline-block;
	height: 39px;
	background: url(../img/paginate_right.png) top right no-repeat;
}

#page_nav .prev {
	float: left;
	padding-left: 5px;
}

#page_nav .next {
	float: left;
	text-align: right;
	padding-right: 5px;
}

#page_nav .prev div.disabled, #page_nav .prev a, #page_nav .next div.disabled, #page_nav .next a{
	height: 17px;
	width: 17px;
	display: inline-block;
	margin-top: 12px;
	border: none;
}

#page_nav .prev div.disabled, #page_nav .prev a {
	margin-right: 10px;
}

#page_nav .next div.disabled, #page_nav .next a{
	margin-left: 10px;
}

#page_nav .prev div.disabled{
	background: url(../img/arrow_left_disabled.gif) top left no-repeat;
}

#page_nav .next div.disabled{
	background: url(../img/arrow_right_disabled.gif) top left no-repeat;
}

#page_nav .prev a{
	background: url(../img/arrow_left.gif) top left no-repeat;
}

#page_nav .next a{
	background: url(../img/arrow_right.gif) top left no-repeat;
}

#page_nav .numbers {
	float: left;
}

#page_nav .numbers span{
	padding: 0 5px;
	color: #063;
}

#page_nav .numbers span.current{
	font-weight: bold;
}

#page_nav .numbers span a{
	color: #063;
}

#page_nav .prev div.disabled span, #page_nav .next div.disabled span , #page_nav .prev a span, #page_nav .next a span {
	display: none;
}

#page_nav .counter{
	clear: both;
	text-align: center;
	color: #666;
	font-size: 11px;
	padding: 5px 0;
}

.button, .button_small, .button_popup{
	padding: 10px 0;
	border-bottom: none;
}

.button a, .button_small a, .button_popup a{
	display: block;
	_display: inline-block;
	float: left;
	color: #930;
	border-bottom: none;
	padding-left: 38px;
	cursor: pointer;
}

.button a {
	height: 40px;
	padding: 5px 0;
	padding-left: 44px;
	color: #069;
}

.button a:hover, .button_small a:hover, .button_popup a:hover{
	_border-bottom: none;
}

.button a span, .button_small a span, .button_popup a span{
	display: block;
	_display: inline-block;
	width: 83px;
	height: 35px;
	line-height: 35px;
	font-size: 13px;
	font-weight: bold;
	border-bottom: none;
}

.button a span {
	border-bottom: 1px dotted #069;
	width: auto;
	padding: 0;
	line-height: 1.4;
	height: 20px;
	padding-top: 8px;
}

.button a:hover span {
	border-bottom: 1px solid #069;
}

.button .second{
	margin-left: 10px;
}

.button_popup{
	margin-left: 80px;
}

.button_small a, .button_popup a{
	display: block;
	_display: inline-block;
	padding-left: 9px;
	background: url(../img/btn_left.png) top left no-repeat;
	height: 35px;
	line-height: 35px;
}

.button_popup a{
	background: url(../img/btn_left_popup.gif) top left no-repeat;
}

.button_small a span, .button_popup a span{
	padding-left: 6px;
	padding-right: 15px;
	height: 35px;
	line-height: 35px;
	width: auto;
	background: url(../img/btn_right.png) top right no-repeat;
}

.button_popup a span{
	background: url(../img/btn_right_popup.gif) top right no-repeat;
}
#main form {
	padding-left: 8px;
}

#main .input{
	padding: 8px 0;
	clear:both;
}
#main .linkoptions{
		float: left;
	width: 350px;
	height: 100px;
/*	background-color: #f2f;*/
}

#main .input input{
	width: 350px;
	height: 20px;
	background-color: #fff;
}

#main #referForm .input input {
	width: 200px;
}


#main #referForm .error{
	color: #f00;
	margin-left: 80px;
}

#main .text input.date {
	width: 75px;
}

#main label{
	float: left;
	display: inline-block;
	width: 80px;
}

#main textarea {
	width: 350px;
	height: 135px;
	border: 1px solid #7f9db9;
}

#main .subtitle{
	height: 25px;
	line-height: 25px;
	color: #390;
	padding: 3px 8px;
	font-size: 15px;
}

/* subnav */
/*
#sidebar .subnav{
	height: 35px;
	background: url(../img/btn_left.png) top left no-repeat;
	padding-left: 9px;
	display: inline-block;
}

#sidebar .subnav ul{
	list-style: none;
	background: url(../img/btn_right.png) top right no-repeat;
	padding-right: 15px;
	padding-left: 6px;
}

#sidebar .subnav ul li {
	display: inline-block;
	height: 35px;
	line-height: 35px;
}

#sidebar .subnav ul li a{
	border: none;
	padding: 0 8px;
	color: #600;
}

#sidebar .subnav ul li a:hover{
	background-color: #FF9F38;
	color: #fff;
}
*/
#sidebar .subnav{
	width: 260px;
	padding: 0 20px;
}

.button a.user_info {
	background: url(../img/icon_info.png) center left no-repeat;
}

.button a.my_coupons {
	background: url(../img/icon_my_coupon.png) center left no-repeat;
}

.button a.all_users{
	background: url(../img/icon_all_members.png) center left no-repeat;
}
.button a.add_user{
	background: url(../img/icon_add_member.png) center left no-repeat;
}
.button a.all_clients{
	background: url(../img/icon_all_shops.png) center left no-repeat;
}
.button a.all_coupons{
	background: url(../img/icon_all_coupons.png) center left no-repeat;
}
.button a.add_coupon{
	background: url(../img/icon_add_coupon.png) center left no-repeat;
}

/* subnav */

#main p.desc{
	margin: 25px 5px;
	line-height: 1.4;
	font-size: 16px;
	font-weight: bold;
}

#main form .input label {
	color: #390;
}

#sidebar #tag_cloud{
	width: 300px;
	/*border: 1px solid black;*/
	/*margin-left: 4px;*/
	margin-top: 10px;
	text-align: justify;
}

#sidebar #tag_cloud a{
	font-size: 92%;
	border: none;
	padding: 0 3px;
	line-height; 1.6em;
	display: inline-block;
}

#sidebar #tag_cloud a.size0{
	font-size: 110%;
	color: #999;
	line-height: 1.5em;
}

#sidebar #tag_cloud a.size1{
	font-size: 120%;
	color: #998176;
	line-height: 1.4em;
}
#sidebar #tag_cloud a.size2{
	font-size: 130%;
	color: #997360;
	line-height: 1.3em;
}
#sidebar #tag_cloud a.size3{
	font-size: 140%;
	color: #996146;
	line-height: 1.2em;
}
#sidebar #tag_cloud a.size4{
	font-size: 150%;
	color: #994921;
	line-height: 1.1em;
}
#sidebar #tag_cloud a.size5{
	font-size: 160%;
	color: #930;
	line-height: 1.0em;
}

#sidebar #tag_cloud a:hover{
	color: #fff;
	background-color: #930;
}

.captcha {
	margin-left: 80px;
}

.captcha  img{
	border: 1px solid #7F9DB9;
}

#main #reload_captcha  a{
	margin-left: 80px;
}

#main form .button_small{
	margin-left: 80px;
}

#main .error-message{
	color: #f00;
	margin-left: 80px;
}

#main #ring{
	width: 670px;
	height: 436px;
	background: url(../img/ring.jpg) top center no-repeat;
}

#main #ring span{
	display: none;
}

#TB_ajaxContent div#main {
	width: auto;
}

#TB_ajaxContent div#main .coupon_title {
	font-size: 16px;
	color: #930;
	padding: 8px;
	margin: 10px 0;
}

#TB_ajaxContent div#main .note{
	font-size: 13px;
	color: #333;
}

#TB_ajaxContent div#main .text input{
	width: 250px;
}

.loading{
	float: right;
	margin-top: 3px;
}

#loading{
	background-color: #f00;
	padding: 5px;
	color: #fff;
	position: fixed;
	z-index: 2;
	top: 0;
	left: 0;
	_position: absolute;
	_top: expression(eval(document.compatMode &&
        document.compatMode=='CSS1Compat') ?
        documentElement.scrollTop :
        document.body.scrollTop +
        (document.body.clientHeight
        -this.clientHeight));
}

#main #share {
	margin: 10px;
	margin-left: 20px;
	line-height: 16px;
}

#main #share a{
	padding-left: 15px;
	background: url(../img/facebook_icon.png) center left no-repeat;
}

#main #coupon #share{
	float: left;
}
/******** generic styles ********/


