body {
margin-top: 0px;

font-size:100%;
font-family: arial,verdana,tahoma;
color : black ;
/*background-image  : url('graphics/skyslice1.jpg');*/
/*background:#F7F7F7;*/
}

fieldset {
position:relative;
margin-top:50px;
color: black;
background:#ffffff;
padding-top:20px;
}
legend {
 position:absolute;
 top:-10px;
 color:white;
 border:1px solid #000; 
 padding:2px 5px;
}
h1,h2,h3,h4,h5,h6
{
font-family:arial,verdana,tahoma,autumn,arial,serif;
/*color: #000000;*/
color:#0000FF;
}

div.main
{
border-top: #0000ff 1px solid;
border-left: #0000ff 1px solid;
border-right: #0000ff 1px solid;
border-bottom: #0000ff 1px solid;
position:absolute;
top:60px;
left:50%;
margin-left:-300px;
width:800px;
height:1250px;
background-color:#ffffff;
font-family: arial,verdana,tahoma;
font-size:12px;
font-weight:bold;
color:#0000FF;
text-align:left;
}
div.mainpfa
{
border-top: #000000 1px solid;
border-left: #000000 1px solid;
border-right: #000000 1px solid;
border-bottom: #000000 1px solid;
position:absolute;
top:50px;
left:50%;
margin-left:-300px;
width:800px;
height:1250px;
background-color:#D3D3D3;
font-family: arial,verdana,tahoma;
font-size:12px;
font-weight:bold;
text-align:left;
padding:0px;
}
div.printmain
{
border-top: #000000 1px solid;
border-left: #000000 1px solid;
border-right: #000000 1px solid;
border-bottom: #000000 1px solid;
position:absolute;
top:130px;
left:50%;
margin-left:-400px;
width:800px;
height:970px;
background-color:#D3D3D3;
font-family: arial,verdana,tahoma;
font-size:10pt;
font-weight:bold;
text-align:left;
padding:0px;
}
div.declaration
{
border-top: #0000ff 0px solid;
border-left: #0000ff 0px solid;
position:absolute;
top:500px;
left: 50%;
width:400px;
background-color:#D3D3D3;
font-family: arial,verdana,tahoma;
font-size:10px;
font-weight:bold;
text-align:left;
padding:0px;
}
div.printdeclaration
{
border-top: #0000ff 0px solid;
border-left: #0000ff 0px solid;
position:absolute;
top:250px;
left: 50%;
width:400px;
background-color:#D3D3D3;
font-family: arial,verdana,tahoma;
font-size:10pt;
font-weight:bold;
text-align:left;
padding:0px;
}
div.declarationview
{
border-top: #0000ff 0px solid;
border-left: #0000ff 0px solid;
position:absolute;
top:266px;
left: 50%;
width:400px;
background-color:#D3D3D3;
font-family: arial,verdana,tahoma;
font-size:10pt;
font-weight:bold;
text-align:left;
padding:0px;
}
div.goods
{
border: #000000 1px solid;
position:absolute;
top:500px;
left: -1px;
width:400px;
background-color:#ffffff;
font-family: arial,verdana,tahoma;
font-size:10px;
font-weight:bold;
text-align:left;
padding:0px;
}
div.printgoods
{
border-top: #000000 0px solid;
position:absolute;
top:250px;
right: 50%;
width:400px;
background-color:#ffffff;
font-family: arial,verdana,tahoma;
font-size:10px;
font-weight:bold;
text-align:left;
padding:0px;
}
div.debit
{
border: #000000 1px solid;
position:absolute;
top:1210px;
left: -1px;
width:800px;
/*height:375px;*/
background-color:#ffffff;
font-family: arial,verdana,tahoma;
font-size:8pt;
font-weight:bold;
text-align:left;
padding:0px;
}

div.header
{
/*background-image  : url('graphics/image2.jpg');*/
border: red 0px solid;
width:1000px;

font-family: arial,verdana,tahoma;
text-align:left;
color:#0000FF;
font-size:36px;
}
div.printheader
{
width:800px;
font-family: arial,verdana,tahoma;
font-size:26pt;
font-weight: bold;
text-align:center;
padding:0px;
}

div.navigation
{
/*background:#A40001;*/
border: #ff0000 0px solid;
position:absolute;
padding:0px;
top:60px;
margin-left:-500px;
left:50%;
width:200px;
height: 2000px;
text-align:center;
font-family:arial,verdana,tahoma,autumn,arial,serif;
font-size:12px;
font-weight: bold;
color: #000000;
}
div.navbottom
{
/*background:#A40001;*/
border: #ff0000 0px solid;
position:absolute;
padding:0px;
top:600px;
margin-left:-500px;
left:50%;
width:200px;
text-align:center;
font-family:arial,verdana,tahoma,autumn,arial,serif;
font-size:10px;
color:#0000FF;

}

p.redhead
{
font-family: arial,verdana;
font-size:12px;
color:#FF0000;
text-align:left;
}
p.error
{
font-family: arial,verdana;
font-size:8pt;
color:#FF0000;
text-align:center;
}
p.cccerror
{
font-family: arial,verdana;
font-size:8pt;
color:#FF0000;
text-align:left;
}
p.cccerrorsuccess
{
font-family: arial,verdana;
font-size:8pt;
color:#99CC00;
text-align:left;
}
table.header
{
/*background-image  : url('graphics/image2.jpg');*/
width:1000px;
font-family: arial,verdana,tahoma;
text-align:left;
color:#0000FF;
font-size:30px;
}

table.custable
{
    font-family: arial;
width: 800px;
border: #ffffff 0px solid;
font-size:12px;
}
table.custable th
{
color: red;
text-align: left;
font-size:10px;
font-weight: bold;
}
table.custable td
{

font-size:12px;
}
table.custableviewagreements
{
font-family: arial;
width: 800px;
border: #ffffff 0px solid;
font-size:12px;
}
table.custableviewagreements th
{
color: red;
text-align: left;
font-size:10px;
font-weight: bold;
}
table.custableviewagreements td
{

font-size:9px;
}

table.custabledebit
{
width: 800px;
border: #ffffff 0px solid;
font-size:10px;
}
table.custabledebit th
{
color: red;
text-align: left;
font-size:10px;
font-weight: bold;
}
table.custabledebit td
{
font-size:10px;
}

table.custableview
{
background:#ffffff;
width: 800px;
border: #ffffff 0px solid;
font-size:8pt;
text-align: left;
}
table.custableview th
{
color: red;

font-weight: bold;
}
table.custableview td
{
}

table.cashtable
{
height: 320px;
width: 400px;
border: #ffffff 1px solid;
font-size:10px;
}
table.cashtable th
{
vertical-align:text-top;
color: red;
text-align: left;
font-size:10px;
font-weight: bold;
}
table.cashtable td
{

font-size:10px;
}
table.cashtableview
{
background:#ffffff;
vertical-align: top;
height: 450px;
width: 400px;
border: #ffffff 0px solid;
font-size:8pt;
text-align: left;
}
table.cashtableview th
{
color: red;
font-weight: bold;
}
table.cashtableview td
{
}
table.custable2
{
width: 800px;
border: #ffffff 0px solid;
}
table.custable2 td
{
width:25%;
font-size:10px;
}
table.custable2 th
{
color: red;
text-align: left;
font-size:10px;
font-weight: bold;
}
table.custable2view
{
    background:#ffffff;
width: 800px;
border: #ffffff 1px solid;
font-size:8pt;
}
table.custable2view th
{
color: red;
text-align: left;
font-weight: bold;
}
table.custable2view td
{
width:25%;
}
table.goodstable
{
height: 380px;
width: 400px;
border: #ffffff 1px solid;
font-size:10px;

}
table.goodstable th
{
vertical-align:text-top;
color: red;
text-align: left;
font-size:10px;
font-weight: bold;
}
table.goodstable td
{
vertical-align:text-top;
font-size:10px;
}
table.goodstableview
{
background:#ffffff;
vertical-align: top;
height: 400px;
width: 400px;
border: #ffffff 0px solid;
font-size:8pt;
text-align: left;
}

table.goodstableview th
{
color: red;
font-weight: bold;
}
table.goodstableview td
{

}

table.custdecl
{
height: 380px;
width: 400px;
border: #ffffff 1px solid;
font-size:10px;
}
table.custdecl th
{
color: red;
text-align: left;
font-size:12px;
font-weight: bold;
}
table.custdecl td
{
font-size:10px;
}

table.signature
{
height: 3px;
width: 400px;
border: #ffffff 1px solid;
font-size:10px;
}
table.signature th
{
color: red;
text-align: left;
font-size:10px;
font-weight: bold;
}
table.signature tr
{
height: 14pt;
}
table.signature td
{
height: 20pt;
font-size:10px;
}
table.top
{
color:#ff0000;
font-size: 16px;
font-weight: bold
}
table.top td
{
}
table. th
{
background:#EFDEDD;
}
table.navlink td
{
/*background-image  : url('graphics/button1.jpg');*/
}
a.pagenav:link
{
font-size: 10px;
color: blue;
text-decoration:none;
}
a.pagenav:visited
{
font-size: 10px;
color: blue;
text-decoration:none;
}
a.pagenav:hover
{
font-size: 10px;
color: red;
text-decoration:none;
}
a.pagenav:active
{
font-size: 10px;
color: red;
text-decoration:none;
}

a.navlink
{
padding-left: 5px;
display:block;
background:blue;
font-size: 12px;
color: white;
text-decoration:none;
}
a.navlink:link
{
background:blue;
text-decoration:none;
}
a.navlink:visited
{
background:blue;
text-decoration:none;
}
a.navlink:hover
{
background:#D3DCE9;
text-decoration:none;
}
a.navlink:active
{
background:#D3DCE9;
text-decoration:none;
color:blue;
}

a.select:link
{
color: blue;
text-decoration:none;
}
a.select:visited
{
color: blue;
text-decoration:none;
}
a.select:hover
{
color: blue;
text-decoration:none;
}
a.select:active
{
color: blue;
text-decoration:none;
}


a:link
{
color: white;
text-decoration:none;
}
a:visited
{
color: white;
text-decoration:none;
}
a:hover
{
color: white;
text-decoration:underline;
}
a:active
{
color: white;
text-decoration:none;
}

a.navlink2
{
padding-left: 5px;
display:block;
background:silver;
font-size: 12px;
color: silver;
text-decoration:none;
}
div.alert
{
border: #ff0000 1px solid;
background: #ffffff;
font-size:10px;
text-align: left;
color: red;
position:absolute;
padding:0px;
top:60px;
margin-left:510px;
left:50%;
width:200px;
}
input.readonly
{
background: #D3D3D3;
}
input.readonly1
{
background: #ffffff;
}
input.error
{
background: #F8C8C8;
}
input
{
height: 14pt; 
font-size:10px;
background: #fffff0;
}
/*.no-print   { display:none; }*/
.page-break { page-break-before: always; }

/*print specification*/
table.pcustable
{
width: 800px;
border: #ffffff 0px solid;
font-size:10px;
}
table.pcustable th
{
color: red;
text-align: left;
font-size:10pt;
font-weight: bold;
}
table.pcustable td
{
font-size:10pt;
}
table.pcashtable
{
vertical-align:text-top;
border-right: #ffffff 1px solid;
border-top: #ffffff 1px solid;
border-bottom: #ffffff 0px solid;
width: 400px;
font-size:10pt;
}
table.pcashtable th
{
vertical-align:text-top;
color: red;
text-align: left;
font-size:10pt;
font-weight: bold;
}
table.pcashtable td
{
vertical-align:text-top;
font-size:10pt;
}

table.pcustable2
{
width: 800px;
border: #ffffff 0px solid;
}
table.pcustable2 td
{
width:25%;
font-size:8pt;
}
table.pcustable2 th
{
color: red;
text-align: left;
font-size:8pt;
font-weight: bold;
}

table.pgoodstable
{
height: 380px;
width: 400px;
border-right: #ffffff 1px solid;
border-top: #ffffff 1px solid;
border-bottom: #ffffff 0px solid;
font-size:10pt;
}
table.pgoodstable th
{
color: red;
text-align: left;
font-size:10pt;
font-weight: bold;
}
table.pgoodstable td
{
vertical-align:text-top;
font-size:10pt;
}
table.pcustdecl
{
border-left: #ffffff 1px solid;
border-top: #ffffff 1px solid;
border-bottom: #ffffff 1px solid;

height: 380px;
width: 400px;
font-size:10px;
}
table.pcustdecl th
{
color: red;
text-align: left;
font-size:12px;
font-weight: bold;
}
table.pcustdecl td
{
vertical-align:text-top;
font-size:8pt;
}

table.psignature
{
border-left: #ffffff 1px solid;
border-top: #ffffff 1px solid;
border-bottom: #ffffff 0px solid;
height: 316px;
width: 400px;
font-size:10pt;
}
table.psignature th
{
color: red;
text-align: left;
font-size:10pt;
font-weight: bold;
}
table.psignature tr
{
height: 14pt;
}
table.psignature td
{
vertical-align:text-top;
height: 20pt;
font-size:10pt;
}

/*for agreement number at top of page */
table.printtop td 
{
color: red;
font-size:14pt;
}
/*for agreement text at top of page */
p.agreement  
{
color: black;
font-size:8pt;
}
table.pfatable
{
border: #ffffff 0px solid;
font-size:8pt;
}
table.pfatable th
{
background: #ECE7E7;
color: black;
text-align: left;
font-size:8pt;
font-weight: bold;
}
table.pfatable tr
{
height: 14pt;
}
table.pfatable td
{
font-size:8pt;
}
table
{
font-size:12pt;
}
form.small_button
{
margin: 0; 
text-align: center;
} 
.small_button
{
height:16px;
font-size:10px;
}
table.filelist
{

background-color:#ffffff;
font-family: verdana,tahoma,autumn, arial, serif;
font-size:12px;
color:#000000;
text-align:left;
}

table.filelist th
{
font-size:12px;
color:#0000ff;
}
table.filelist td
{
font-size:12px;
color:#000000;
}