form {
  width: 100%;
  margin: 0 auto;
  overflow: auto;
  float: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 0px 0px;
  background: #fff;
  border: 1px solid #ccc;
}

.black{
  background: #000;
}


/* Give form elements consistent margin, padding and line height */

form ul {
  list-style: none;
  margin: 0;
  padding: 0%;
}

form ul li {
  margin: 0 0 0em 0;
  padding: 5px 15px;
  border-bottom: 1px solid #eaeaea;
  float:left;
  width:100%;
}

 form.black  ul li{
  padding: 15px 15px;
}


.cross ul li:nth-child(even) {
  background: #efefef;
}

form ul li:last-child {
  /*border-bottom: 0px solid #e1e1e1;*/
}

/*form ul li div {
  border-right: 1px solid #e1e1e1;
}
form ul li div:last-child {
  border-right: 0px solid #e1e1e1;
}*/

 /*form * {
 line-height: 1em;
}*/

/* Place a border around focused fields, and hide the inner shadow */

form *:focus {
  border: 1px solid #09F;
  outline: none;
  /*box-shadow:0px 0px 3px #06C;*/
  box-shadow: #f3f3f3 4px 4px  10px inset;
  background:#fff;
  -o-transition:color .3s linear,background .3s linear,border .3s linear;
  -webkit-transition:color .3s linear,background .3s linear,border .3s linear;
  -moz-transition:color .3s linear,background .3s linear,border .3s linear;
  transition:color .3s linear,background .3s linear,border .3s linear;
}


/* Give each fieldset a darker background, dark curved border and plenty of space */

fieldset {
 /* padding: 0px;
  margin: 0 0 30px 0;
  border: 0px solid #aaa;
  border-radius: 3px;
  background:#fff;
  box-shadow:0px 0px 10px #dcdcdc;
  width: 100%;
  overflow:hidden;
  padding: 1% 1%;*/
}


/* Give each fieldset legend a nice curvy green box with white text */

legend {
  color: #252c35;/*454545*/
  background: #efefef;
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-size: 20px;
  text-align: left;
  padding: 0% 1%;
  line-height: 40px;
  margin: 0%;
  width: 100%;
  /*border-bottom: 1px solid #bbb;*/
  border-radius: 0px;
}


/* The field labels */

label,label p,label span{
  display: block;
  float: left;
  clear: both;
  margin: 0%;
}

label {
  /*width: 30%;
  padding:1% 4% 1% 6%;*/
  display:inline-block;
 
}

label p{
  font-size: 15px;
  color:#444;
  padding:0 0 5px 0; 
}

label span{
  font-size: 14px;
  color:#aaa;
  line-height: 18px;
}

.label,.label p,.label span{
  display: block;
  float: left;
  text-align: left;
  clear: both;
  margin: 0%;
}

.label {
  width: 45px;
  min-width: 120px;
  padding: 0 10px;
}

.label p{
  font-size: 18px;
  color:#444;
  padding:0 0 0 0; 
}

.label span{
  font-size: 14px;
  color:#aaa;
}


.licon{
  float: left;
  /*line-height: 30px;*/
  margin:1% 
}

.pics{
  width: 150px;
  border:2px solid #dcdcdc;
  float: left;
  margin:0 10px 0 0 ;
}

/* Style the fields */
input::placeholder{
  color:#ccc;
}

input, textarea {
  display: block;
  margin: 0;
  border: 1px solid #dcdcdc;
  border-radius: 3px;  
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-family:Microsoft JhengHei,STHeiti;/*"Ubuntu"sans-serif*/
}

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    background-color: none!important;
    background-image: none!important;
    color:inherit!important;
}
/* SELECT
-------------------------------------------------------*/
select {
  padding: 6px 10px;
  position: relative;
  margin: 0;
  border-radius:3px;
  font-size:1em;
  color:#999;
  border: 1px solid #dcdcdc;
  float: left;
  /*font-family:Microsoft JhengHei,STHeiti;/*"Ubuntu"sans-serif*/

}

select:focus {
/*  border: 1px solid #09F;
  outline: none;*/
  /*box-shadow:0px 0px 3px #06C;*/
  box-shadow:  0px 0px  0px ;
 /* background:none;
  -o-transition:color .3s linear,background .3s linear,border .3s linear;
  -webkit-transition:color .3s linear,background .3s linear,border .3s linear;
  -moz-transition:color .3s linear,background .3s linear,border .3s linear;
  transition:color .3s linear,background .3s linear,border .3s linear;*/
}



textarea {
  
  font-size: 1em;
  width:100%;
  height:120px;
  clear:none;
  position:relative;
  float:left;
  margin:0% 0 0 0;
  padding:1% 0% 1% 1%;
  color: #666;
  /*  box-shadow: #f3f3f3 4px 4px  10px inset;*/
}
/**/

.input,.select{
  padding: 10px 15px;
}

/*select option:first-child{
  color: green;
}*/


input[type="text"] {
  
  font-size: .95em;
  clear:none;
  position:relative;
  float:left;
  color: #00a0f0;
  /*min-width: 80px;
*/
  /*box-shadow: #f3f3f3 4px 4px  10px inset;*/
}

input[type="text"]:disabled {
  
  font-size:16px;
  clear:none;
  position:relative;
  float:left;
  margin:0% 0 0 0;
  color: #666;
  box-shadow: #f3f3f3 0px 0px  0px inset;
  border:0px solid;
  background: none;
  padding: 0%
}

input[type="text"]:read-only {
  
  font-size:16px;
  clear:none;
  position:relative;
  float:left;
  color: #666;
  box-shadow: #f3f3f3 0px 0px  0px;
  border:0px solid;
  background: none;
  font-size: .95em;
  color: #00a0f0;
}

input[type="file"] {
  
  font-size: .9em;
  clear:none;
  position:relative;
  float:left;
}

input[type="search"] {

  font-size:.9em;
  height: 3em;
  clear:none;
  position:relative;
  
  
}

.black input[type="submit"] {
  background: none;
  border-radius: 50px;
  border:2px solid #ccc;
}

/* CHECKBOX 
------------------------------------------------------------*/

input[type="checkbox"] {
  margin:0% 0 0 0%;
  width:20px;
  height:20px;
  float:left;
  
 
 
}
input[type=checkbox]:checked + label {
  /*color: #f00;*/
  font-style: normal;
}


input[type="radio"] {
  margin:1% 0 0 1%;
  width:26px;
  height:26px;
  padding: 10px;
  border: 2px solid #593131;
  box-shadow: 0 0 .5em rgba(0, 0, 0, 0);
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, 0);
  color: #fff;
  background: #593131;
  float:left;
  
 
 
}
input[type=radio]:checked  {  
   
    color: #f35;  
    font-size: 30px;  
    text-align: center;  
    line-height: 18px;  

}  

/* Submit button
-------------------------------------------------------*/

input[type="submit"] {
  margin: 0px 15px;
  padding: 9px 22px;
  border: 1px solid;
  border-radius: 3px;
  box-shadow: 0px 0px 0px #dcdcdc;
  background: #00AAFF;
  border-color: #00a0f0;
  color: #fff;
  font-size: 15px;
  float:left;
}

input[type="submit"]:hover{
  cursor: pointer;
  background: #0073aa;
}

input[type="submit"]:active {
  background:#0091cd;

}



/* RESET
---------------------------------------------------------*/

input[type="reset"] {
  margin: 0.5% 0 0.5% 2%;
  width: auto;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 10px;
  box-shadow: 0px 0px 2px #dcdcdc;
  color: #333;
  background:#a99788;
  font-size: 1em;
  font-weight: bold;
  float:left;
}

input[type="reset"]:hover, input[type="reset"]:active {
  cursor: pointer;
  background: #40210f;
  color: #FFF;
}

input[type="reset"]:active {
  background:#40210f;

}

/* BUTTON
---------------------------------------------------------*/


input[type="button"] {
  margin: 15px 0;
  padding: 8px 22px;
  border: 1px solid;
  border-radius: 3px;
  box-shadow: 0px 0px 0px #dcdcdc;
  background-color: #fafafa;
  border-color: #ddd;
  color: #333;
  font-size: 15px;
  float:left;
}

input[type="button"]:hover{
  cursor: pointer;
  background: #333;
  color: #fff;
}

input[type="button"]:active {
  background:#333;
  color: #fff;

}

input[type="button"]:disabled,input[type="button"]:disabled:hover {
  margin: 2% 0;
  padding: .4% 1%;
  border: 1px solid #999;
  border-radius: 3px;
  color: #454545;
  background: #dfdfdf;
  font-size: 14px;
  float:left;
  position:relative;
  cursor: default;
}

.button{
  margin:0 0 0 15px; 
}

.button input[type="button"]{
  border-radius: 50px;
  padding: 8px 30px;
  margin: 5px 0;
}
.button.red input[type="button"]{
  background: #cf3d4f;
  color: #fff;
}
.button.red input[type="button"]:hover{
  background: #c30d23;
  color: #fff;
}
.button.green input[type="button"]:hover{
  background: #00a29a;
  color: #fff;
}

input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.custom-file-upload {
  border: 1px solid #ccc;
  border-radius: 3px;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
  clear: none;
  background:#fff; 
  margin: 0 10px;
}
.custom-file-upload:hover{
  cursor: pointer;
  background: #13ae67;
  color: #fff;
}

.delbtn:hover{
  cursor: pointer;
  background: #bf0d47!important;
  color: #fff;
}

.addbtn{
  background:#00a0f0;
  padding: 10px 10px;
  margin: 0 10px 0 0px;
  border: 1px solid;
  border-radius: 3px;
  color: #fff;
}

.addbtn:hover{
  background:#337ab7; 
  border-color: #337ab7;
  color: #fff;
}
/* Header/footer boxes 

.wideBox {
  clear: both;
  text-align: center;
  margin: 70px;
  padding: 10px;
  background: #ebedf2;
  border: 1px solid #333;
  line-height: 80%;
}

.wideBox h1 {
  font-weight: bold;
  margin: 20px;
  color: #666;
  font-size: 1em;
}*/


/* Validator error boxes 

.error {
  background-color: #fffe36;
  border: 1px solid #e1e16d;
  font-size: .8em;
  color: #000;
  padding: .3em;
  margin-left: 5px;
  border-radius: 5px; 
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
  -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
}
*/



/*消息列表*/

/*
.edit{color:#333;}
.edit:hover{color:#1E90FF;}

.del{/*color#881505;color:#333;}
.del:hover {color:#F35;}


.min,.middle,.tinny,.full{
  padding:.8% 1%;

}*/
/*
.min{ width:13%; }
.middle{  width:62%; }
	

.tinny{

width:8%;
float:left;
position:relative;
margin:1% 0 0 1%;

}*/
/*
.full{

width:98%;
 padding:1%;



}*/

.now{
	margin:2% 0 0 0;
	border:4px solid #f2f2f2;
	border-radius:5px;
	box-shadow:2px 2px 4px #999;


}

/*推薦商品*/
/*.now2{
	margin:.2% 1% 0 0;
	border:4px solid #f2f2f2;
	border-radius:5px;
	box-shadow:2px 2px 4px #999;
	float:left;
	width:120px;
	height:84px;
}*/

/* 刪除/匯出EXCEL
------------------------------------------------*/

.tools {
  float:right;
  /*background: #f00;*/
  width: 490px;
    position: absolute;
    right: 30px;
    top: 10px;
}
.tools a{
  float: left;
  padding: 6px 20px;
  margin: 0 10px 0 0;
  border: 1px solid #ccc;
  border-radius: 50px;
}

.tools div a{
 color: #999;
}





.tools div:first-child a{
  color: #fff;
}
.tools div:first-child(2) a:hover{
  color: #fff;
  background: #f39800;
}


.tools div:nth-child(3) a:hover{
  color: #fff;
  background: #f34;
}
.tools input[type="submit"] {
  margin: 0% 0;
  padding: 6px 22px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-shadow: 0px 0px 0px #dcdcdc;
  color: #999;
  background:#f5f5f5;
  font-size: 15px;
  float:left;
  font-weight: normal;
}

.tools input[type="submit"]:hover{
  cursor: pointer;
  background: #0073aa;
  color:#fff;
}

.tools input[type="submit"]:active {
  background:#0091cd;
   margin: 2.1% 0;

}

.con-search .min,.con-search .middle,.con-search .tinny,.con-search .full{
  padding:.5% 1%;
}

.margin-right{
  margin:0 3% 0 0% ;
}




form table *:focus {
  border: 1px solid #09F;
  outline: none;
  box-shadow:0px 0px 0px #06C;
  /*background:none;*/
 
}


/*TABLE樣式*/

.tables{
  padding: 10px 25px 15px 25px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}



/*LINK樣式*/

.link{
  padding: 12px 16px;/*6px 16px*/
  box-shadow: 0px 1px 2px 0 rgba(0, 0, 0, 0.2);
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.add{
  background: #00AAFF;
  border-color: #00a0f0;
  color: #fff;
}
.add:hover{
  background: #00a0f0;
  color: #fff;
}
.add:active{
  background: #286090;
  color: #fff;
}

.back{
  background: #dfdfdf;
  border-color:#ededed;
  color: #454545;
}
.back:hover{
  background: #dcdcdc;
  color: #454545;
}
.back:active{
  background: #dcdcdc;
  color: #454545;
}

.del{
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.del:hover{
  color: #fff;
  background-color: #ac2925;
  border-color: #761c19
}

.option{
  color: #fff;
  background-color: #efefef;
  border-color: #ccc;
}
.option:hover{
  color: #fff;
  background-color: #ccc;
  border-color: #ccc;
}


.green  { background: ;}
.blue   { background: ;}
.yellow { background: ;}
.red    { background: ;}


 /*table tbody tr td{
    display: block
  }*/




/*------------------------------------------*/
.rwd-table {
            background: #fff;
            overflow: hidden;
        }

            /*.rwd-table tr:nth-of-type(2n) {
                background: #eee;
            }

            .rwd-table th, .rwd-table td {
                margin: 0.5em 1em;
            }*/

     

.seamin{
  min-width: 300px;
}


.regular-checkbox {
    display: none;
}

.regular-checkbox + label {
    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

.regular-checkbox + label:hover {
    background-color: #ccc;
    cursor: pointer;
}

.regular-checkbox + label:active, .regular-checkbox:checked + label:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.regular-checkbox:checked + label {
    background-color: #565656;
    border: 1px solid #adb8c0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #99a1a7;
    line-height: 26px;
}

.regular-checkbox:checked + label:after {
    content: '\2714';
    font-size: 14px;
    position: absolute;
    top: 0px;
    left: 3px;
    color: #fff;
}


.big-checkbox + label {
    padding: 13px;
}

.big-checkbox:checked + label:after {
    font-size: 17px;
    left: 6px;
}


@media only screen and (max-width: 1500px){
  .input, .select {
    padding: 10px 6px;
  }
}