/*样式重置*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
  padding: 0;
  margin: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,img { 
  border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
  font-weight: normal;
  font-style: normal;
}
ol,ul {
  list-style: none;
}
caption,th {
  text-align: left;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
  font-size: 100%;
}
q:before,q:after {
  content:'';
}
abbr,acronym {
  border: 0;
}	
/*弹出框*/
body {
	position: relative;
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue",Helvetica,'Microsoft Yahei',tahoma,Georgia,Arial,sans-serif;
	font-size: 14px;
	line-height: 1.428571429;
}

button {
	-webkit-appearance: none;
	cursor: auto;
	box-shadow: none;
	outline: none;
}
body .hidden {
	display: none;
}
a {
	text-decoration: none;
}
#overwarp {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 97;
	width: 100%;
	height: 100%;
	background: url(overwarp.png) repeat;
}
.dialog-box {
	width: 30%;
	height: 506px;
	display: block;
	position: relative;
	margin: auto;
	position: fixed;
	top: -200%;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #FFF;
	border: 1px solid #000;
	border-radius: 4px;
	box-shadow: 0 0 20px #888;
	overflow: hidden;
	z-index: 1098;
}

.dialog-box > .dialog-header {
	background-color: #E6E9ED;
	color: #828282;
	font-size: 1.6em;
	text-align: left;
	padding: .6em 1em;
	text-shadow:0 1px 0 #fff;

	border-bottom: 1px solid rgb(180,180,180);
}
.dialog-box > .dialog-header span {
	font-size: .8em;
}
.dialog-box > .dialog-content {
	background-color: rgb(250,250,250);

	display: block;
	padding: 1.5em 1.5em 0;
}

.dialog-box > .dialog-content  > .input-group > input {
	display: block;
	width: 100%;
	outline: none;
	margin: 1em 0;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color: #Fff;
	border-color: #B8B8B8;
	border-width: 1px;
	border-style: solid;
	border-radius: 4px;
	display: block;
	color: #666;
	font-size: 1em;
	width: 100%;
	padding: .7em 0;
	text-indent: .5em;
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2), inset 0 1px 1px rgba(0, 0, 0, 0.1);
	-webkit-appearance: none;
}
.dialog-box > .dialog-content  > .input-group > .input-inline {
	margin: 1em auto;
}
.dialog-box > .dialog-content  > .input-group > .input-inline input {
	display: block;
	width: 100%;
	-webkit-appearance: none;
	border-color: #B8B8B8;
	border-width: 1px;
	border-style: solid;	
	margin: 0;
	outline: none;
	padding: .7em 0;
	text-indent: .5em;
}
.dialog-box > .dialog-content  > .input-group > .input-inline input.first {
	border-radius: 4px 4px 0 0;
	border-bottom:1px solid #B8B8B8;
}

.dialog-box > .dialog-content  > .input-group > .input-inline input.last {
	border-radius:0 0 4px 4px ;
}
.dialog-box > .dialog-content  > .input-group > .input-inline input.second {
	border-top-width: 0; 
	border-bottom-width: 0; 
}
.dialog-box > .dialog-content  > .button-group {
	margin: 1.4em 0 1.6em;
	position: relative;
}
.dialog-box > .dialog-content  > .button-group > button {
	padding: .7em 0 .7em;
	font: normal 1.4em "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
	color: #FFF;
	display: block;
	width: 100%;
	cursor: pointer;	
	line-height: 1;
	text-align: center;	
}
button.first {
	margin-bottom: .7em;
}
button.cupid-green {
	background-color: #7FBF4D;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#7FBF4D), to(#63A62F));
	background-image: -webkit-linear-gradient(top, #7FBF4D, #63A62F);
	background-image: -moz-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: -ms-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: -o-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: linear-gradient(top, #7fbf4d, #63a62f);
	border: 1px solid #63A62F;
	border-bottom: 1px solid #5B992B;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 0 0 #96CA6D;
	-moz-box-shadow: inset 0 1px 0 0 #96ca6d;
	-ms-box-shadow: inset 0 1px 0 0 #96ca6d;
	-o-box-shadow: inset 0 1px 0 0 #96ca6d;
	box-shadow: inset 0 1px 0 0 #96CA6D;	
	text-shadow: 0 -1px 0 #4C9021;
}
button.cupid-red {
	background-color: #EE432E;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#DB5F50), to(#C3311C));
	background-image: -webkit-linear-gradient(top, #DB5F50, #C3311C);
	background-image: -moz-linear-gradient(top, #DB5F50, #C3311C);
	background-image: -ms-linear-gradient(top, #DB5F50, #C3311C);
	background-image: -o-linear-gradient(top, #DB5F50, #C3311C);
	background-image: linear-gradient(top, #DB5F50, #C3311C);
	border: 1px solid #951100;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px rgba(51, 51, 51, 0.39);
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
	-ms-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
	-o-box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px #333333;
	box-shadow: inset 0px 0px 0px 1px rgba(255, 115, 100, 0.4), 0 1px 3px rgba(51, 51, 51, 0.39);

	text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.8);
}

button.cupid-green:active {
	background-color: #70AE3F;
	background-image: -webkit-linear-gradient(top, #70AE3F, #4D9714);
	background-image: -webkit-linear-gradient(top, #70AE3F, #4D9714);
	background-image: -moz-linear-gradient(top, #70AE3F, #4D9714);
	background-image: -ms-linear-gradient(top, #70AE3F, #4D9714);
	background-image: -o-linear-gradient(top, #70AE3F, #4D9714);
	background-image: linear-gradient(top, #70AE3F, #4D9714);	
}
button.cupid-red:active {
	background-image: -webkit-linear-gradient(top, #BA4536, #BF2A14);
	background-image: -webkit-linear-gradient(top, #BA4536, #BF2A14);
	background-image: -moz-linear-gradient(top, #BA4536, #BF2A14);
	background-image: -ms-linear-gradient(top, #BA4536, #BF2A14);
	background-image: -o-linear-gradient(top, #BA4536, #BF2A14);
	background-image: linear-gradient(top, #BA4536, #BF2A14);		
}
.dialog-box > .dialog-content > .product-name {
	margin: 0 auto;
	border: 1px solid #B8B8B8;
	padding: 8px 8px;
	display: block;
	overflow: hidden;
	position: relative;
	z-index: 1;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;

	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	background-color: #F9F9F9;
	background-image: -moz-linear-gradient(top, #fefefe, #f2f2f2);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FEFEFE), to(#F2F2F2));
	background-image: -webkit-linear-gradient(top, #FEFEFE, #F2F2F2);
	background-image: -o-linear-gradient(top, #fefefe, #f2f2f2);
	background-image: linear-gradient(to bottom, #FEFEFE, #F2F2F2);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe', endColorstr='#fff2f2f2', GradientType=0);	
}

.dialog-box > .dialog-content  > .textarea {
	width: 97%;
	display: block;
	outline: none;
	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	background-color: #fff;

	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe', endColorstr='#fff2f2f2', GradientType=0);
	border-color: #B8B8B8;
	border-radius: 4px;
	margin: .8em auto .5em;
	padding: .5em;
	color: #000;


	resize:none;
}

.dialog-box > .dialog-content  > .textarea:focus,
.dialog-box > .dialog-content input:focus {
	border-color: #999;
}
.dialog-box > .dialog-content input:focus.error::-webkit-input-placeholder{ 
	/* WebKit browsers */
    color:    red;
    text-shadow:0 1px 0 #fff;
    opacity: .8;
}
.dialog-box > .dialog-content input:focus.error:-moz-placeholder ,
.dialog-box > .dialog-content input:focus.error::-moz-placeholder  { 
	/* Firefox browsers */
    color:    red;
    text-shadow:0 1px 0 #fff;
    opacity: .8;
}
.dialog-box > .dialog-content input:focus.error:-ms-input-placeholder {
	color:    red;
    text-shadow:0 1px 0 #fff;
    opacity: .8;
}
.dialog-box > .dialog-footer {
	background-color: #F5F5F5;
	padding:.8em 1em .6em;
	border-top: 1px solid #DDD;
	-webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
	-webkit-box-shadow: inset 0 1px 0 #FFF;
	-moz-box-shadow: inset 0 1px 0 #ffffff;
	box-shadow: inset 0 1px 0 #FFF;
	zoom: 1;
	display: block;
} 
.dialog-box > .dialog-footer p{
	font-size: 13px;
	line-height: 1.4em;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: center;
	color: #A9A9A9;
	text-shadow:0 2px 0 #fff;
}
.close-dialog-box {
	position: absolute;
	width: 20px;
	height: 46px;
	line-height: 46px;
	font-size: 1.6em;
	color: #ABABAB;
	display: block;
	text-align: center;
	z-index: 9;
	top: 0;
	right: 12px;
	text-shadow: 0 2px 0 #FFF;
}
#tipsMsg {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30%;
	text-align: right;
}


#upload-wrapper {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
#upload-wrapper h3 {
	padding: 0px 0px 10px 0px;
	margin: 0px 0px 20px 0px;
	margin-top: -30px;
	border-bottom: 1px dotted #DDD;
}
#upload-wrapper input[type=file] {
	padding: 6px;
	width: 80%;
	background: #FFF;
	border-radius: 4px;
	outline: none;
	border: 1px solid #B8B8B8;
}
#upload-wrapper #submit-btn {
	border: none;
	padding:7px 12px;
	background-color: #7FBF4D;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#7FBF4D), to(#63A62F));
	background-image: -webkit-linear-gradient(top, #7FBF4D, #63A62F);
	background-image: -moz-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: -ms-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: -o-linear-gradient(top, #7fbf4d, #63a62f);
	background-image: linear-gradient(top, #7fbf4d, #63a62f);
	border: 1px solid #63A62F;
	border-bottom: 1px solid #5B992B;
	border-radius: 4px;
	color: #FFF;
	cursor: pointer;
	outline: none;
}
#output{
	padding: 5px;
	font-size: 12px;
}

/* prograss bar */
#progressbox {
	border: 1px solid #BEBEBE;
	padding: 1px; 
	position:relative;
	border-radius: 3px;
	margin-top: 10px;
	display:none;
	text-align:left;
}
#progressbar {
	height:22px;
	background-color: #68BC4F;
	width:1%;
}
#statustxt {
	top:2px;
	left:50%;
	margin-left: -16px;
	position:absolute;
	display:inline-block;
	color: #FFFFFF;
}

















