/* @override 
	http://www.atj.com/css/common.css
	http://stat.atj.com/css/common.css
*/

/**/
ul.error li {
    list-style: none;    
}

/* links */
a:focus, a:hover {
    color: #2e81ff;
    text-decoration: none;
}
a {
    color: #0852e8;
    text-decoration: underline;
}


ul.msg {list-style-type:none;}
.success, .error {font-size:1.2em;}

h2 {font-weight:bold;margin-top:1em;}
h3 {font-weight:bold;}
h4 {
    margin-bottom: 1em;    
}

/* slightly enhanced, universal clearfix hack */
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */


/*--------- Page Numbers ------------*/
.pages {
    font: 1em Arial, Helvetica, sans-serif;
    padding: 0.5em 0 1.5em 1em;
    margin: 1em 0;
    clear: left;
}

.pages a, .pages span {
    display: block;
    float: left;
    padding: 0.2em 0.4em;
    margin: 0 0.1em 0.2em 0;
    border: 1px solid #fff;
}

.pages span.current {
    border: 1px solid #275da1;
    font-weight: bold;
    background: #275da1;
    color: #fff;
}

.pages a:link,.pages a:visited {
    border: 1px solid #275da1;
    text-decoration: none;
}
.pages a.nextprev {
    font-weight: bold;
}

.pages span.nextprev,.pages span.stat {
    border: 1px solid #ddd;
    color: #999;
}

* html .pages a.nextprev,.pages span.nextprev,.pages span.stat {
    padding: 0.25em 0.5em 0.2em 0.5em;
}

div.nextprev {font-size: 14px;font-weight: bold;text-align: right;color: #6B9F1F;border-top: 1px solid #f3f3f3;padding: 5px;}
div.nextprev span.prev {float: left;}


/* form */
.x-form fieldset {  
    float: left;  
    clear: left;  
    width: 100%;  
    margin: 0 0 1em 0;  
    padding: 0; 
    border-style: none;
} 
.x-form legend {  
    margin-left: 1em;  
    color: #000;  
    font-weight: bold; 
} 
.x-form fieldset ol {  
    padding: 1em 1em 0 1em;  
    margin: 0;
    list-style: none; 
} 
.x-form fieldset li {  
    float: left;  
    clear: left;  
    width: 100%;  
    padding-bottom: 1em;
}
.ie6 .x-form fieldset li, 
.ie7 .x-form fieldset li {
    padding-bottom: 0;
}
.x-form fieldset.submit {  
    margin: 0;
    float: none;  
    width: auto;  
    padding-left: 7em;
}
.x-form fieldset label {  
    display: block;
    float: left;  
    width: 5em;  
    margin-right: 1em; 
    text-align: left;
}
.x-form fieldset p.instruct {
    margin: 0;
}
.x-form fieldset span.instruct {
    margin-left: 0.5em;
    color: #666;
}
.x-form .error {
    font-size: 1em;
}

input.text, input.file, textarea.textarea, select.select{
    margin:0;
    font-size:100%;
    color:#333;
}
input.text, textarea.textarea, .ff3 select.select {
    border-top:1px solid #7c7c7c;
    border-left:1px solid #c3c3c3;
    border-right:1px solid #c3c3c3;
    border-bottom:1px solid #ddd;
    background:#fff url(http://s.wangpubao.com/img/aitongji/fieldbg.gif) repeat-x top;
}
input.text, input.file{
    padding:2px 0 2px 0;
}

/* button */
.x-button{
    position: relative;
    float:left;
    z-index:1;
    padding:0px;
    height:22px;
}
.x-button div {
    margin: 0 !important;
    padding: 0 !important;
}
.x-button .x-button-y {
    margin:0px;
    padding:3px 10px 3px 12px;/* @noflip */
    background:transparent url(http://s.wangpubao.com/img/aitongji/x-button-blue.png) top left no-repeat;
    border:0px;
    height:22px;
    color:white;
    font-size:12px;
    font-weight:bold;
    position:relative;
    cursor:pointer;
    float:left;
}
.x-button.gray .x-button-y {
    background:transparent url(http://s.wangpubao.com/img/aitongji/x-button-gray.png) top left no-repeat;
}
.x-button.yellow .x-button-y {
    background:transparent url(http://s.wangpubao.com/img/aitongji/a-button-yellow.png) top left no-repeat;
}

.ie6 .x-button .x-button-y,
.ie7 .x-button .x-button-y{padding:4px 3px 2px 5px;}
.ff2 .x-button .x-button-y{padding:3px 6px 3px 8px;}
.ff3 .x-button .x-button-y{padding:2px 6px 4px 8px;}
.ie6 .x-button-y {
    background:transparent;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/x-button-blue.png", sizingMethod="crop");
}
.ie6 .gray .x-button-y {
    background:transparent;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/x-button-gray.png", sizingMethod="crop");
}
.ie6 .yellow .x-button-y {
    background:transparent;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/a-button-yellow.png", sizingMethod="crop");
}
.x-button .x-button-r{/* @noflip */
    right:0px;
    top:0px;
    background:transparent url(http://s.wangpubao.com/img/aitongji/x-button-blue.png) -248px 0px no-repeat;
    width:2px;
    height:27px;
    position:absolute;
}
.x-button.gray .x-button-r{/* @noflip */
    background:transparent url(http://s.wangpubao.com/img/aitongji/x-button-gray.png) -248px 0px no-repeat;
}
.x-button.yellow .x-button-r{/* @noflip */
    background:transparent url(http://s.wangpubao.com/img/aitongji/a-button-yellow.png) -248px 0px no-repeat;
}
.x-button .x-button-rw{
    width:2px;
    height:22px;
    overflow:hidden;
    position:relative;/* @noflip */
    float:left;
}
.ie6 .x-button .x-button-r{
    background:transparent;
    width:250px;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/x-button-blue.png", sizingMethod="crop");
}
.ie6 .x-button.gray .x-button-r{
    background:transparent;
    width:250px;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/x-button-gray.png", sizingMethod="crop");
}
.ie6 .x-button.yellow .x-button-r{
    background:transparent;
    width:250px;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/a-button-yellow.png", sizingMethod="crop");
}

/* @group buttons */
.a-button {
    display: block;
    margin: 0;
    padding: 0;
    border:0px;
    height:22px;
    color:white;
    font-size:12px;
    font-weight:bold;
    position:relative;
    cursor:pointer;
    float:left;
    background-color: transparent;
}
a.a-button {
    text-decoration: none;
}
a.a-button:focus, a.a-button:hover {
    color: #fff;
    text-decoration: underline;
}
.a-button .a-button-l {
    display: block;
    position: relative;
    padding: 0 10px 0 12px;
    background:transparent url(http://s.wangpubao.com/img/aitongji/a-button-yellow.png) top left no-repeat;
    float: left;
    line-height: 22px;
    height: 22px;
}
.a-button .a-button-rw{
    width:2px;
    height:22px;
    overflow:hidden;
    position:relative;/* @noflip */
    float:left;
}
.a-button .a-button-r {
    display: block;
    background:transparent url(http://s.wangpubao.com/img/aitongji/a-button-yellow.png) -248px 0px no-repeat;
    right:0px;
    top:0px;
    width:2px;
    height:27px;
    position:absolute;
}
.ie6 .a-button-r,
.ie6 .gray .a-button-l {
    width: 250px;
}
.ie6 .a-button-r,
.ie6 .a-button-l {
    background:transparent;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/a-button-yellow.png", sizingMethod="crop");
}

.a-button.gray .a-button-l {
    background:transparent url(/img/a-button-gray.png) top left no-repeat;
}
.a-button.gray .a-button-r {
    background:transparent url(/img/a-button-gray.png) top right no-repeat;
}
.ie6 .gray .a-button-l,
.ie6 .gray .a-button-r {
    background:transparent;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://s.wangpubao.com/img/aitongji/a-button-gray.png", sizingMethod="crop");
}

/* @end */

/* table layout */
table.layout-tbl {
    margin: 0px;
    border-collapse: collapse;
    width: 100%;
    border: 0 none;
}
td.layout-tbl-col {
    padding: 0;
    margin: 0;
    vertical-align: top;
}

.listdiv {
    padding: 5px;
    background-color: #edf7e2;
    margin-bottom: 15px;
}

.listable {
    border-collapse: collapse;
    width: 100%;
}

.listable thead {
    color: #fff;
    text-align: left;    
    background-color: #81C06C;
}

.listable tbody {
    color: #333;
    /* background-color: #d9ffcc; */
    background-color: #d3ebc9;
}

.listable th, .listable td {
    padding: 4px 6px;
    border: 2px solid #fff;
}

.listable tr.odd {
    background-color: #f5fff2;
}

.listable tr.red {
    background-color: red;
}

/* */
li.product-type, li.confirm {
    display: block;
    float: left;
    width: 285px;
    margin-right: 20px;
    list-style: none;
	background-color: #eafff4;
	border: 4px solid #66778b;
}

li.product-type.disabled {
	background-color: #dfdfdf;
	border: 4px solid #7f7f7f;
}

#products ul li.product-type.disabled h3 {
	color: #666;
	background-color: #bfbfbf;
}

li.product-type label {
	font-size: 1.3em;
	font-weight: bold;
}
li.product-type ol {
    margin: 15px 20px;
}
li.product-type h3,
li.confirm h3 {
	color: #000;
	font-size: 1.6em;
	padding: 7px 10px;
    background-color: #aedcec;
    margin-bottom: 0;
}
li.product {
	margin-bottom: 18px;
    display: block;
    list-style: none;
}
.disabled li.product {
	color: #666;
}
li.product p {
	color: #666;
	margin: 5px 0;
	padding-left: 20px;
}
span.money {
	color: #ed750d;
	font: bold 1.3em Georgia, "Times New Roman", Times, serif;
}
.disabled span.money {
	color: #999;
}
div#products, div#upgrade_confirm {
	float: left;
	margin-bottom: 20px;
}
form#upgrade_form div.submit {
	float: left;
	padding: 20px 0 50px 300px;
	clear: both;
	width: 360px;
	border-top: 4px solid #eee;
}

#upgrade_form {
	margin-top: 2em;
}

div#account_balance {
	clear: both;
}
li.confirm {
	background-color: #f8fee8;
	border-color: #d4a160;
}
li.confirm h3 {
    background-color: #ffe88c;
}
li.confirm div {
	margin: 15px 20px;
}
li.confirm h5 {
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 5px;
}
#upgrade_info {
	float: left;
	padding-bottom: 2em;
}


/* counter editor */
td#preview_col {
    width: 380px;
    text-align: right;
}
#counter_preview {
    margin-right: 20px;
    position: relative;
    z-index: 5;
}
#upload_progress {
    position: absolute;
    right: -70px;
    top: 50px;
    z-index: 6;
}
#upload_notes {
	margin-top: 10px;
}
#upload_notes ul {
	margin: 0;
	color: #747474;
    list-style: none;
}
#counter_tab {
    position: relative;
    float: left;
}
#counter_tab ul {
    padding: 0;
    margin: 0;
}
#counter_tab li {
    float: left;
    list-style-type: none;
}
#counter_tab li a {
    display: block;
    float: left;
    height: 25px;
    margin-right: 2px;
    font-size: 1.2em;
    padding: 5px 10px 0;
    background-color: #f5f5f5;
}

#counter_tab li a.current {
	color: #333;
    background-color: #eaeaea;
    border-right: 1px solid #a3a3a3;
    text-decoration: none;
}
#counter_options, .counter-options {
    padding: 10px;
    background-color: #eaeaea;
    clear: both;
	border-right: 1px solid #a3a3a3;
	border-bottom: 1px solid #a3a3a3;
}

#counter_options fieldset {
	border: 1px solid #b5b5b5;
}

#counter_options legend {
	margin: 0 10px;
}
#counter_options fieldset ol {
	margin: 5px 10px 10px;
	list-style-type: none;
}
#counter_options fieldset li {
	margin-bottom: 10px;
}
#counter_toggle {
	margin: 10px 0;
}

#counter_font {
	margin: 10px 0;
	float: none;
}

#counter_animate {
	margin: 10px 0;
	clear: both;
	float: none;
}
#counter_animate {
	clear: both;
}
#font_color_picker {
	clear: both;
	margin-bottom: 10px;
}
#font_color_picker label {
	float: left;
}
#color_picker {
	float: left;
	width: 16px;
	height: 16px;
	background-color: blue;
}
#counter_location label {
	margin-right: 10px;
}
#counter_location p {
	color: #747474;
	margin: 5px 0;	
}
#counter_form {
    padding: 1em;
}
#counter_form label {
    display: block;
    float: left;
    width: 5em;
}
#counter_form div.x-field {
    width: 100%;
    float: left;
    clear: both;
	margin: 0 0 1em 0;
}
#counter_form_div {
    margin-top: 10px;
}
#counter_submit #btn_preview {
    margin-left: 10px;
}
.counter {
    text-align: center;
    margin-top: 10px;
}
.counter p {
    color: #747474;
	text-align:left;
	margin: 0 10px 8px 10px;
}

#preview_popup {
    position: absolute;
    left: 50%;
    width: 300px;
    height: 250px;
    padding: 20px;
    margin-left: -150px;
    background-color: #fff;
    text-align: center;
    z-index: 101;
}
#preview_popup #preview_close {
    position: absolute;
    right: -12px;
    top: -12px;
    cursor: pointer;
}
#preview_popup #img_loading {
    margin-top: 100px;
}

