table {
    width: 100%;
    padding:0;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
	margin-bottom: 5px;	
	border: 0px #ccc inset;
 }
  table tr {
    display: block;
    margin: 8px 0;
    line-height:45px;
	border:1px #ccc solid;
	text-align: left;
  }
  table tr:nth-child(1){
    display: block;
    margin: 10px 0 0 0;	
	font-weight:bold;
    font-size:160%;
	color:#069;
	border:0px #ccc solid;
  }  

  table tr:nth-last-child(2) {
    margin: 0px;
    line-height:22px;
	border:0px #ccc solid;
	text-align: center;
  }
  table tr:nth-last-child(1) {
    margin: 0 0 5px 0;
    line-height:22px;
	border:0px #ccc solid;
	text-align: right;	
  }
 table input[type="submit"],input[type="button"]{
	padding: 0;
	line-height:25px;
    text-align: center;
    width:110px;
 }	 

   table td {
    display: block;
    padding:0;
	border:0px #ccc inset;
  }  
table td input{
	width: calc(100% - 115px);
	border-bottom:1px #999 solid;
  } 
table td input:invalid{border-bottom:1px #0CC solid;}  
table td input,table td input:invalid{
	border-radius:0px;
	border-top: 0px #ccc solid;border-left:0px #ccc solid;border-right:0px #ccc solid;	
	}
table input[type="radio"]{
	width:25px;	 
	padding: 0;
	line-height:25px;
    text-align: left;
 }		
table td textarea{
	width: calc(100% - 115px);
	border:1px #999 solid;
}
table td textarea:invalid{
	border:1px #0CC solid;
} 
   table td:before {
      content: attr(data-label);
      float: left;
	  color: #666;
      width:90px;
      padding-left:5px;
    }

/*記住帳號*/
  table tr td .Remember{
    margin: 0px;
    line-height:50px;
	border:0px #ccc solid;
	text-align: left;
	
  }
  table tr td.Remember input{
	width: calc(35px);
	border-bottom:1px #999 solid;
  } 
@media screen and (max-width: 768px) {
    table thead {
      display: none;
    }

}