@charset "utf-8";
/* CSS Document */

.CMMessageBox {
  background-color:#fff;
  display:none;
  width:350px;
  padding:15px;
  text-align:left;
  border:2px solid #333;
  font-family: Arial, "微軟正黑體", "新細明體";
  z-index: 10001;
  opacity:0.8;
  -moz-border-radius:6px;
  -moz-box-shadow: 0 0 50px #ccc;
  -webkit-border-radius:6px;
  -webkit-box-shadow: 0 0 50px #ccc;
}

.CMMessageBox .boxHeader {
  background:url(../templates/images/info.png) 0 50% no-repeat;
  margin:0px;
  padding:10px 0 10px 45px;
  border-bottom:1px solid #333;
  font-size:20px;
}

.CMMessageBox .boxContent {
  padding : 10px;
  height: 100px;
  overflow-y: auto;
}

.CMMessageBox .boxFooter { font-weight: bold;
  text-align: center;
}

.CMMessageBox .CMButton {
  height: 25px;
  line-height: 25px;
  background-repeat: repeat-x;
  background-position: 0 center;
  background-image: url('../templates/images/bg_button.png');
  cursor: pointer;
  padding: 0px 5px;
  border: 1px solid #BBB;
  -moz-border-radius: 5px; 
  -webkit-border-radius: 5px;
}

.messageStackWarning, .messageStackSuccess, .messageStackError {
  line-height: 25px;
  padding-left: 20px;
  background-repeat: no-repeat;
  background-position: 0 center;
}

.messageStackWarning {
  background-image: url('../templates/images/ms_ico_warning.png');
}

.messageStackSuccess {
  background-image: url('../templates/images/ms_ico_success.png');
}

.messageStackError {
  background-image: url('../templates/images/ms_ico_error.png');
}

#ajaxMessageBox, #loadingBox { z-index: 10002; }

#loadingBox {
  width: 320px;
}

#loadingBox .boxContent {
  height: 30px;
}

#loadingBox .close {
  display: none;
}

.scrollableBanner {
	overflow: hidden;
	position: relative;
}

.scrollableBanner .items {
  position: absolute;
  width: 20000em;
}

.scrollableBanner .itemsEntry, .scrollableBanner .navigateEntry {
  float: left;
}

/*.scrollableBanner, .scrollableBanner .itemsEntry img {
	width: 366px;
	height: 166px;
}*/

.scrollableBanner .navigate {
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.scrollableBanner .navigateEntry {
  cursor: pointer;
  color: #FFF;
  border: 0px;
  background-color: #000;
  filter: alpha(opacity=70);
  opacity: 0.7;
  width: 20px;
  height: 20px;
  line-height: 20px;
  margin-left: 5px;
  text-align: center;
  overflow: hidden;
}

.scrollableBanner .navigate .selected {
  background-color: #8D9A0E;
}

.scrollableBanner .navigate .navigatePrev {
  margin-left: 0px;
}

.baseForm {
  opacity : 1;
}

.baseForm .boxContent {
  height: auto;
}

.baseForm .formSection {
  margin-bottom: 10px;
}

.baseForm .formLabel, .baseForm .formValue {
  float: left;
}

.baseForm .formLabel {
  width: 30%;
  text-align: right;
}

.baseForm .formValue {
  width: 65%;
}

.baseForm input.error { border: 1px solid red; }
.baseForm label.error {
  background: url('../templates/images/validate_unchecked.gif') no-repeat;
  padding-left: 16px;
  margin-left: .3em;
  font-size: 13px;
  color: red;
}
.baseForm input.valid { border: 1px solid green; }
.baseForm label.valid {
  background: url('../templates/images/validate_checked.gif') no-repeat;
  display: block;
  width: 16px;
  height: 16px;
}

.baseForm .date {
	text-align:center;
	-moz-box-shadow:0 0 10px #eee inset;
	-webkit-box-shadow:0 0 10px #eee inset;
}

#customersForm {
  width: 500px;
}

#ordersForm { width: 700px; }
#ordersForm td { border: 1px solid #666; line-height: 35px; padding-left: 5px; padding-right: 5px; }
#ordersForm tr.headerRows td, #ordersForm td.headerCols { font-weight: bold; background-color: #666; color: #FFF; }
#ordersForm td.totalCols { border-right: 0px; font-weight: bold; }
#ordersForm label { cursor: pointer; }
#ordersForm .ordersLogin, #ordersForm .ordersRegister { float: left; width: 47%; padding: 5px; }
#ordersForm .ordersRegister { border-left: 1px solid #666; padding-left: 15px; }
#ordersForm .formButton { text-align: center; }
#ordersForm .formHr { background-color: #666; height: 1px; margin-top: 20px; margin-bottom: 20px; }
#ordersForm .ordersPayment, #ordersForm .ordersProducts, #ordersForm .ordersInfo { margin-bottom: 20px; }
#ordersForm .sectionHeadline { font-weight: bold; }
#ordersForm .sectionContent { padding: 5px; }
#ordersForm .paymentDesc  { height: 100px; overflow: auto; border: 1px solid #666; }


.clearfloat {
	font-size: 0px;
	line-height: 0px;
	clear: both;
	height: 0px;
}

/* calendar root element */
#calroot {
	/* place on top of other elements. set a higher value if nessessary */
	z-index:10002;
	
	margin-top:-1px;
	width:198px;
	padding:2px;
	background-color:#fff;
	font-size:11px;
	border:1px solid #ccc;
	
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	
	-moz-box-shadow: 0 0 15px #666;
	-webkit-box-shadow: 0 0 15px #666;	
}

/* head. contains title, prev/next month controls and possible month/year selectors */
#calhead {	
	padding:2px 0;
	height:22px;
} 

#caltitle {
	font-size:14px;
	color:#0150D1;	
	float:left;
	text-align:center;
	width:155px;
	line-height:20px;
	text-shadow:0 1px 0 #ddd;
}

#calnext, #calprev {
	display:block;
	width:20px;
	height:20px;
	background:transparent url(prev.gif) no-repeat scroll center center;
	float:left;
	cursor:pointer;
}

#calnext {
	background-image:url(next.gif);
	float:right;
}

#calprev.caldisabled, #calnext.caldisabled {
	visibility:hidden;	
}

/* year/month selector */
#caltitle select {
	font-size:10px;	
}

/* names of the days */
#caldays {
	height:14px;
	border-bottom:1px solid #ddd;
}

#caldays span {
	display:block;
	float:left;
	width:28px;
	text-align:center;
}

/* container for weeks */
#calweeks {
	background-color:#fff;
	margin-top:4px;
}

/* single week */
.calweek {
	clear:left;
	height:22px;
}

/* single day */
.calweek a {
	display:block;
	float:left;
	width:27px;
	height:20px;
	text-decoration:none;
	font-size:11px;
	margin-left:1px;
	text-align:center;
	line-height:20px;
	color:#666;
	-moz-border-radius:3px;
	-webkit-border-radius:3px; 		
} 

/* different states */
.calweek a:hover, .calfocus {
	background-color:#ddd;
}

/* sunday */
a.calsun {
	color:red;		
}

/* offmonth day */
a.caloff {
	color:#ccc;		
}

a.caloff:hover {
	background-color:rgb(245, 245, 250);		
}


/* unselecteble day */
a.caldisabled {
	background-color:#efefef !important;
	color:#ccc	!important;
	cursor:default;
}

/* current day */
#calcurrent {
	background-color:#498CE2;
	color:#fff;
}

/* today */
#caltoday {
	background-color:#333;
	color:#fff;
}

.errorMessage{
display: inline;
margin-left:5px;
}