TD, TH {
padding:3px;
vertical-align:top;
text-align:left;
font-size:12px;
}

TH {
font-weight:bold;
color: #333;
}

THEAD TH {
text-align:center;
background-color:#eee;
}

#doc {
width:auto;
padding-top:80px;
padding-bottom:70px;
position:relative;
}

#doc EM {
font-size:11px;
color:#666;
}

#doc H3 {
font-size:17px;
text-align:center;
margin:15px 0 10px 0;
line-height:normal;
}

#doc SPAN {
color:#999;
}

#doc H3 SPAN {
display:block;
font-size:12px;
}

#doc H6 {
font-weight:bold;
margin-bottom:10px;
}

.bonus {
display:none;
margin-top:10px;
border:1px solid #666;
}

TABLE#details {
}

#details_end {
padding-bottom:8px;
}

TABLE#fin {
margin-bottom:15px;
}

TABLE#order TD, TABLE#order TH, TABLE#fin TD {
border:1px solid #333;
}

TABLE#order TD, TABLE#order TH, TABLE#order TD.center {
text-align:center;
}

TABLE#fin TD, TABLE#order TD {
text-align:right;
}

TABLE#order TBODY TH, TABLE#order TBODY TH STRONG {
font-weight:normal;
text-align:left;
color:#333;
}


TABLE#fin TH {
text-align:right;
}

#slogan {
position:absolute;
right:0;
top:9px;
}

#logo_print {
position:absolute;
top:0;
left:0;
}

#print {
position:absolute;
cursor:pointer;
right:0;
bottom:0;
}


@media print {
BODY#light {
margin:0;
padding-left:1cm;
padding-top:1cm;
}

#doc {
padding-bottom:10px;
}

#print {
display:none;
}

.bonus {
display:block;
}

}




#bill_form {
float:left;
position:relative;
}

#bill_form DT, #bill_form DD {
margin:5px;
}

#bill_form DT, #bill_form DD.dt {
width:120px;
text-align:right;
}

#bill_form INPUT, #bill_form SELECT {
border:1px solid white;;
background-color:#eee;
padding:2px;
float:left;
color:#999;
}

#bill_form INPUT:focus, #bill_form SELECT:focus {
background-color:white;
border:1px inset #999;
color:#333;
}

#bill_form SELECT {
width:auto;
padding-left:0;
}

#bill_form INPUT.num {
width:50px;
}

#bill_form INPUT.name {
width:250px;
}

#bill_form INPUT.contract, #bill_form INPUT.contract_date {
width:100px;
float:none;
}

#bill_form FIELDSET {
margin-bottom:15px;
position:relative;
display:block;
}

#bill_form BUTTON {
position:absolute;
right:5px;
bottom:5px;
}

#bill_form DL.but DD {
width:255px; 
text-align:right;
}

#bill_form .not_talon {
display:none;
}

#bill_form EM, #bill_form STRONG {
background-color:white;
}
