  body { padding: 0px; margin: 0px }
.KYinputtableOuter { max-width:100%; margin:auto; border:0px solid #999; }
.KYinputtableOuter table {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: #fff;
  border-collapse: collapse;
  display: block;
  overflow: auto;
}

/*thead*/
.KYinputtableOuter  thead {
  position: relative;
  overflow: visible;
}

.KYinputtableOuter  thead th {
  background-color: #fff;
  height: 32px;
  padding: 3px 15px 0;
  font-size: 13px;
  vertical-align: top;
  position: relative;
  box-shadow: 0 1px 0px 1px #999;
  border: 1px solid black;
}
.KYinputtableOuter  thead th p { margin: 5px 0; font-weight: normal; }

/* -n+x ·Î ÇÏ¸é Ã³À½ºÎÅÍ x°³ÀÇ ´ë»ó. Áï °¡Àå ¿ÞÂÊ 3°³ÀÇ ÄÃ·³À» ¼±ÅÃ Tourcode B±îÁö.. Javascript¿¡¼­µµ µ¿ÀÏÇÑ ¹üÀ§ Àû¿ëÇØ¾ßÇÔ */
/*.KYinputtableOuter  thead th:nth-child(-n+3) { 
  position: relative;
  background-color: #fff;
  z-index: 99;
  border: 1px solid #999;
  box-shadow: 0 1px 1px 1px #999;
  min-width: 20px;
}*/

.KYinputtableOuter  thead tr {/*Ã¹ ½ì*/
  position: relative;
}
.KYinputtableOuter  tbody { border-top: 1px solid #999;}
.KYinputtableOuter  tbody td {
  background-color: #fff;
  /*min-width: 120px;*/
  border: 1px solid #999;
  padding: 0 0px;
  min-width: 20px;
  font-size: 13px;
  box-shadow: 0 1px 0px 1px #999;
  text-align:center;
}

/* -n+x ·Î ÇÏ¸é Ã³À½ºÎÅÍ x°³ÀÇ ´ë»ó. Áï °¡Àå ¿ÞÂÊ 3°³ÀÇ ÄÃ·³À» ¼±ÅÃ Tourcode B±îÁö .. Javascript¿¡¼­µµ µ¿ÀÏÇÑ ¹üÀ§ Àû¿ëÇØ¾ßÇÔ */
/*.KYinputtableOuter tbody tr td:nth-child(-n+3) {  
  position: relative;
  height: 40px;
  border: 1px solid #999;
  background-color: #fff;
  box-shadow: 0 0px 1px 1px #999;
}*/
.tableOuter {
    max-width: 100%;
    overflow: auto;
 }
.KYinputtableOuter p { margin: 5px 0; }
.redcolor { color: #f10; }
.KYinputtableOuter thead th.blueHead 
{
	background-color: #3b3bFF;
	color: #fff;
	text-align:center;
}
.KYinputtableOuter thead th.greyHead 
{
	background-color: #F6F6F6;
	text-align:center;
}
.KYinputtableOuter thead th.lightBlueBox, .KYinputtableOuter tbody td.lightBlueBox {
	background: #dfdfFF;
	border-color: #999;
	text-align:center;
}

.KYinputtableOuter select{
	width:inherit;
}

.KYinputtableOuter tbody td.greyField 
{
	background-color: #F6F6F6;
	text-align:center;
}