@charset "utf-8";
.btn{
  display: inline-block;
  *display: inline;
  zoom: 1;
  padding:1px 3px;
  margin: 0;
  cursor: pointer;/*手指*/
  border: 1px solid #999;
  overflow: visible;
  font: bold 13px arial, helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;/*規定段落中的文本不進行換行*/
  color: #565656;
  background-color: #F1F1F1;
  transition: background-color .2s ease-out;/*改變變換顏色的時間*/
  background-clip: padding-box; /* 屬性規定背景的繪製區域:背景被裁剪到內邊距框*/
  border-radius: 3px;
  /*box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
              0 2px 2px -1px rgba(0, 0, 0, .5),
              0 1px 0 rgba(255, 255, 255, .3) inset;
  text-shadow: 0 1px 0 rgba(255,255,255, .9); 屬性向文本設置陰影*/
  text-transform: capitalize;/*屬性控制文本的大小寫:文本中的每個單詞以大寫字母開頭。*/
 
  vertical-align:bottom;
}
  
.btn:hover{
	background-color: #FAFAFA;
	text-decoration: none;
}


.btn:active{
	background: #e9e9e9;
	position: relative;
	top: 1px;
	text-shadow: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
}

/* Smaller buttons styles */
.btn.small{
  padding: 4px 12px;
}

/* Larger buttons styles */
.btn.large{
  padding: 12px 30px;
  
}

.btn.big{
	width:100%;
	padding:12px 0;
}

/*字體白色+陰影*/
.btn.color{
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
}

/* */

.btn.green{
  background-color: rgb(87,153,59);
  border-color: rgb(87,153,59);
}

.btn.green:hover{
  background-color: #6DAF42;
}

.btn.green:active{
  background: #57a957;
}

/* */

.btn.red{
  background-color: rgb(214,68,51);
  border-color: rgb(214,68,51);
}

.btn.red:hover{
  background-color: #FF3300;
}

.btn.red:active{
  background: #c43c35;
}


/* */

.btn.blue{
  background-color: #296D91;
  border-color: #296D91;
}

.btn.blue:hover{
  background-color: #397DA1;
}

.btn.blue:active{
  background: #1B5F83;
}

/* */

.btn.orange{
  background-color: #F60;
  border-color: #F60;
}

.btn.orange:hover{
	background-color: #F09100;
}

.btn.orange:active{
  background: #F63;
}

/*拍賣競標模式用*/

.btn.mode{
  background-color: rgb(254,192,10);
 
}

.btn.mode:hover{
	background-color: #F90;
	color:#fff;
}

.btn.mode:active{
  background: rgb(254,192,10);
}


.btn[disabled], .btn[disabled]:hover, .btn[disabled]:active,
.green[disabled], .green[disabled]:hover, .green[disabled]:active,
.red[disabled], .red[disabled]:hover, .red[disabled]:active,
.blue[disabled], .blue[disabled]:hover, .blue[disabled]:active
.orange[disabled], .orange[disabled]:hover, .orange[disabled]:active{
	
  border-color: #999;
  background: #ccc;
  cursor: default;
  position: static;
  color: #999;
  /* Usually, !important should be avoided but here it's really needed :) */
  box-shadow: none !important;
  text-shadow: none !important;
}

/*匹配所有第一个子元素 <li> 元素中的所有 <button> 元素*/
.btn-group,
.btn-group li{
  display: inline-block;
  *display: inline;
  zoom: 1;
}

.btn-group{
  font-size: 0; /* Inline block elements gap - fix */
  margin: 0;
  padding: 0;
  padding: 7px;
  border-radius: 7px; 
}

.btn-group li{
  margin-right: -1px; /* Overlap each right button border */
}

.btn-group .button{
  font-size: 13px; /* Set the font size, different from inherited 0 */
  border-radius: 0; 
}

.btn-group .btn:active{
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              5px 0 5px -3px rgba(0, 0, 0, .2) inset,
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;   
}
.btn-group li:first-child .button{
  border-radius: 3px 0 0 3px;
}

.btn-group li:first-child .button:active{
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              -5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}

.btn-group li:last-child .button{
  border-radius: 0 3px 3px 0;
}

.btn-group li:last-child .button:active{
  box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset,
              5px 0 5px -3px rgba(0, 0, 0, .2) inset;
}


/*close css*/
button.close {
  /*  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);*/
    border: 0 none;
    cursor: pointer;
    padding: 0;
}
.close {
    color: #E6E6E6;
	background: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
	position:absolute;
	right:5px;
}
