
body , table {
  font-size: 13px;
}

a:hover {
  background-color: #ffbbbb;
}

h1 {
  border-bottom: solid 2px #000000;
  font-size: 15px;
}

h2 {
  font-size: 13px;
}

img {
  border: none;
}

form {
  display: inline;
}

div.version {
  text-align: right;
}

div.description {
  margin: 20px 0px;
}

/* breadcrumb */

div.breadcrumb {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  border-bottom: solid 1px #000066;
  padding: 10px;
  background-image: url('images/breadcrumb_background.png');
  color: #ffffff;
}

div.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
}
div.breadcrumb a:hover {
  background-color: transparent;
  color: #ffbbbb;
  text-decoration: underline;
}

div.breadcrumb a.this {
  color: #ffffff;
  text-decoration: underline;
}

div.breadcrumb div.quicksearch {
  float: right;
  padding-right: 20px;
}

div.breadcrumb div.quicksearch select.quicksearch_result {
  visibility: hidden;
}

div.breadcrumb_spacer {
  height: 40px;
}

fieldset.search {
  display: inline;
  border: solid 1px #bbbbbb;
  background-color: #eeeeee;
}

div.menu {
  margin: 20px 0px;
}

div.menu a.edit {
  padding: 10px;
  border: solid 1px #ff0000;
  color: #ff0000;
  text-decoration: none;
}

div.menu a.index {
  padding: 10px;
  border: solid 1px #008800;
  color: #008800;
  text-decoration: none;
}

div.page span.this {
  border: solid 1px #000000;
  padding: 2px 5px;
  background-color: #000000;
  color: #ffffff;
  font-weight: bold;
}

div.page {
  margin: 20px 0px 10px;
}

div.page a {
  border: solid 1px #000000;
  padding: 2px 5px;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

input.index_id {
  text-align: center;
}

input.number {
  text-align: right;
}

select.construction_id {
  width: 350px;
}

input.button {
  margin-top: 20px;
  padding: 10px;
}

.center {
  text-align: center;
}

.mini {
  font-size: 12px;
}

td.sum {
  color: #008800;
}

table.border {
  border-top: solid 1px #000000;
  border-left: solid 1px #000000;
}

table.border td {
  border-right: solid 1px #000000;
  border-bottom: solid 1px #000000;
}

td.name {
  width: 100px;
  text-align: center;
}

td.input {
  width: 600px;
  color: #444444;
}

td.selected {
  background-color: #ffdddd;
}

table.customer td.customer_name {
  width: 160px;
  text-align: center;
  vertical-align: top;
}

table.customer td.icons {
  vertical-align: top;
}

table.customer_construction tr.status1 ,
table.construction tr.status1 ,
table.royalty tr.status1 {
  background-color: #ffeeee;
}

table.customer_construction tr.status2 ,
table.construction tr.status2 ,
table.royalty tr.status2 {
  background-color: #ffffdd;
}

table.customer_construction tr.status3 ,
table.construction tr.status3 ,
table.royalty tr.status3 {
  background-color: #eeffee;
}

table.customer_construction {
  border-top: solid 1px #000000;
  border-left: solid 1px #000000;
}

table.customer_construction td {
  border-right: solid 1px #000000;
  border-bottom: solid 1px #000000;
}

table.customer_construction td.construction ,
table.construction td.construction ,
table.contractor_month_detail td.construction ,
table.receive td.construction {
  width: 110px;
  font-weight: bold;
  text-align: center;
}

table.construction td.customer_name ,
table.contractor_month_detail td.customer_name {
  width: 140px;
  text-align: center;
}

table.construction td.planner_name ,
table.receive td.planner_name ,
table.contractor_month_detail td.planner_name {
  width: 100px;
  text-align: center;
}

table.customer_construction td.construction_price ,
table.construction td.construction_price {
  width: 100px;
  padding-right: 10px;
  background-image: url('images/price.gif');
  background-position: 0px 50%;
  background-repeat: no-repeat;
  text-align: right;
}

table.customer_construction td.construction_receive ,
table.construction td.construction_receive {
  width: 100px;
  padding-right: 10px;
  background-image: url('images/receive.gif');
  background-position: 0px 50%;
  background-repeat: no-repeat;
  text-align: right;
}

table.customer_construction td.construction_cost ,
table.construction td.construction_cost {
  width: 100px;
  padding-right: 10px;
  background-image: url('images/cost.gif');
  background-position: 0px 50%;
  background-repeat: no-repeat;
  text-align: right;
}

table.customer_construction td.construction_profit ,
table.construction td.construction_profit {
  width: 100px;
  padding-right: 10px;
  background-image: url('images/profit.gif');
  background-position: 0px 50%;
  background-repeat: no-repeat;
  text-align: right;
}

table.customer_construction td.construction_percent ,
table.construction td.construction_percent {
  width: 60px;
  padding-right: 10px;
  background-image: url('images/percent.gif');
  background-position: 0px 50%;
  background-repeat: no-repeat;
  text-align: right;
}

div.addnew_construction {
  text-align: right;
}

table.construction_receive td.receive_title ,
table.construction_cost td.contractor_name {
  width: 150px;
  text-align: center;
}

table.construction_receive td.receive_date ,
table.construction_cost td.cost_date {
  width: 70px;
  text-align: center;
}

table.construction_receive td.receive_amount ,
table.construction_cost td.cost_amount {
  text-align: right;
}

table.construction_input_receive td.receive_title ,
table.construction_input_cost td.contractor {
  width: 150px;
  text-align: center;
}

table.construction_input_receive td.receive_date ,
table.construction_input_receive td.receive_amount ,
table.construction_input_cost td.cost_date ,
table.construction_input_cost td.cost_amount {
  width: 80px;
  text-align: center;
}

table.contractor td.contractor_name {
  width: 150px;
  overflow: hidden;
}

table.contractor td.contractor_sort1 {
  background-color: #ffeeee;
}

table.contractor td.contractor_sort2 {
  background-color: #eeffee;
}

table.contractor td.contractor_sort3 {
  background-color: #ffffdd;
}

table.contractor td.contractor_sort4 {
  background-color: #eeeeff;
}

table.contractor td.contractor_sort9 {
  background-color: #eeeeee;
}

table.contractor td.cost_date ,
table.contractor_detail td.cost_date {
  width: 60px;
  text-align: center;
}

table.contractor td.cost_amount ,
table.contractor_detail td.cost_amount {
  text-align: right;
}

table.contractor td.cost_amount a ,
table.contractor_detail td.cost_amount a {
  display: block;
}

table.contractor_detail td.cost_year {
  width: 50px;
  text-align: center;
}

table.contractor_month_detail td.cost_amount {
  width: 120px;
  padding-right: 10px;
  text-align: right;
}

tr.month {
  background-color: #dddddd;
  text-align: center;
}

td.no {
  width: 20px;
  text-align: center;
}

table.total td.number {
  width: 120px;
  font-weight: bold;
}

table.receive td.receive_date {
  width: 120px;
  text-align: center;
}

table.receive td.customer_name {
  width: 160px;
  text-align: center;
}

table.receive td.receive_amount {
  width: 120px;
  text-align: right;
}

table.receive_input td.customer_name {
  text-align: center;
}

img.icon {
  width: 16px;
  height: 16px;
}

div.caution {
  margin: 10px;
  color: #ff0000;
}

div.nothing {
  margin: 10px;
  color: #880000;
}

span.date {
  color: #ff0000;
  font-weight: bold;
}

span#last_backup_date {
  color: #ff0000;
  font-weight: bold;
}


/* royalty */

table.royalty td.partner_name {
  width: 200px;
}

table.royalty td.royalty_price ,
table.royalty td.receive_price {
  width: 100px;
  text-align: right;
}

table.royalty td.receive_date {
  width: 120px;
  text-align: center;
}

/* o */

@media print {

  img.icon ,
  div.breadcrumb ,
  div.breadcrumb_spacer ,
  div.menu ,
  div.page ,
  fieldset.search ,
  div.addnew_construction ,
  div.edit_receive ,
  td.icons {
    display: none;
  }

  a {
    color: #000000;
    text-decoration: none;
  }

  table.royalty {
    border: none;
  }

  table.royalty td {
    border-right: none;
    border-bottom: solid 1px #000000;
  }

  table.royalty td.partner_name {
    width: 300px;
    background-color: #ffffff;
    text-align: center;
  }

  table.royalty td.royalty_price ,
  table.royalty td.receive_price ,
  table.royalty td.receive_date {
    width: 150px;
    padding-right: 50px;
    background-color: #ffffff;
    text-align: right;
  }

}


