/* 0 BASIC TAGS */
body
{
    background-image: url(images/background.gif);
    background-repeat: repeat;
    background-color: #CCCC99;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.7em;
    color: #000000;
}

table
{
    font-size: 1em;
}

h1, h2, h3, h4
{
    margin: 0;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    color: #DBB94F;
}

h3
{
    margin-top: 1.0em;
    margin-bottom: 1.12em;
    font-size: 1.5em;
    font-weight: bold;
    color: Black;
}
h4
{
    margin-top: 1.0em;
    margin-bottom: 1.12em;
    font-size: 1.3em;
    font-weight: bold;
}

p
{
    line-height: 1.4em;
}

hr
{
    border: 0;
    border-top: 1px solid blue;
    height: 1px;
}

a
{
    text-decoration: none;
    color: #b19338;
}

a:link
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-style: normal;
    text-decoration: underline;
    color: #b19338;
}

a:hover
{
    color: #DBB94F;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-decoration: underline;
}

img
{
    border-width: 0;
}

/* Mult-line textbox controls */
.messagebox
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

/* text boxes, dropdowns, etc */
.textBox, .dropDown, .fileUpload
{
    border: solid 1px #505050;
    background-color: #ece9d8;
}

/* regular input buttons */
.button
{
    background-color: #014e6d;
    color: #DEBD4A;
    border: solid 1px black;
    font-size: 10px;
    cursor: pointer;
    height: 24px;
}

/* the bold button for new order */
.buttonBold
{
    background-color: #014e6d;
    color: #DEBD4A;
    border: solid 1px black;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    height: 29px;
}

.clearer
{
    clear: both;
}

/* 1 HEADER */

h1
{
    position: absolute;
    left: 37px;
    top: 12px;
    font-size: 18px;
}

h2
{
    position: absolute;
    left: 37px;
    top: 45px;
    font-size: 11px;
}

.header
{
    background-image: url(Images/header.gif);
    background-repeat: no-repeat;
    position: relative;
    width: 789px;
    height: 76px;
    margin: 0 auto 15px auto;
}

.menua
{
    position: absolute;
    right: 37px;
    top: 13px;
    text-transform: uppercase;
    font-size: 10px;
}

.nav
{
    position: absolute;
    right: 37px;
    top: 50px;
    text-transform: uppercase;
    font-size: 10px;
    color: #DBB94F;
}

.nav2
{
    right: 244px;
    padding-bottom: 8px;
    vertical-align: top;
    top: 52px;
    height: 1px;
    width: 217px;
    text-align: left;
    position: absolute;
    text-transform: uppercase;
    font-size: 10px;
}

/* Order number in header */
.ordernumberlabel
{
    color: #DBB94F;
}

/* 2 PAGE */

/* The main containing element for the page */
.main
{
    margin: 0px auto;
    width: 800px;
    border: solid 2px #CCCC99;
    background-color: #CCCC99;
    padding: 5px 0 5px 0;
}

.page
{
    position: relative;
    background-repeat: repeat-y;
    text-align: left;
    width: 800px;
    padding: 0px 0px;
    padding-top: 1px; /* Weird Mozilla Bug */
    padding-bottom: 10px; /* Weird Mozilla Bug */
    min-height:300px;
    height:auto !important;
    height:300px; 
}

#sidebar
{
    float: left;
    width: 215px;
    padding: 0 5px 0 50px; 
}

/* calendar? */
dl
{
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid #DBB94F;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    position: relative;
}

dt
{
    position: absolute;
    left: 0;
}

dd
{
    margin-left: 150px;
    height: 2.0em;
}

#searchBar
{
    top: 0px; left: 250px;
    text-align: center;
    height: 50px;
    padding: 0 5px 0 0;
}

#newButtonBar
{
    position: absolute; right: 35px; top: 0px;    
    width: 80px;
}

/* the order list grid container */
#grdMain
{
margin-left: auto; margin-right: auto; width: 800px;    
}


/* 3 FOOTER */

.footerbg
{
    width: auto;

    text-align: center;
    vertical-align: bottom;
}

.footer
{
    background-image: url(images/footer.gif);
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    width: 770px;
    text-align: center;
    font-size: 10px;
    color: #ffffff;
    height: 55px;
}

.menub
{
    margin: 8px auto 2px auto;
    text-transform: uppercase;
    font-size: 10px;
}

.menub a:visited
{
}

/* Grid properties */
.gridFooter
{
    background-color: #0b587b;
    font-weight: bold;
    color: White;
}

.gridRow
{
    background-color: white;
}

.gridRowAlt
{
    background-color: #ece9d8;
    color: #284775;
}

.gridHeader
{
    color: #DBB94F;
    background-color: #014e6d;
    font-weight: bold;
}

.gridItem
{
    white-space: nowrap;
}

.gridEmpty
{
    text-align: center;
    width: 600px;
    white-space: nowrap;
    background-color: White;
    color: Black;
    vertical-align: bottom;
    border: solid 1px #E0E0E0;
}


/* Order Form */

#OrderView
{
    min-height: 250px;
    border: solid 2px #014e6d;
    width: 658px;
}

#QuoteView
{
    min-height: 250px;
    border: solid 2px #416050;
    width: 658px;
}

td .fldCaption
{
    text-align: right;
    padding: 5px 0px 5px 0px;
    height: 22px;
    vertical-align: top;
    width: 100px;
    margin: 0;
}

td .fldControl
{
    padding-left: 5px;
    vertical-align: middle;
    height: 22px;
    white-space: nowrap;
}

td .spacer
{
    width: 55px;
}

/* tab-specific overrides for the order form */

#OrderTab .fldCaption
{
    padding-top: 6px;
    height: 27px;
}

#OrderTab .fldControl
{
    height: 27px;
}

#LoanTab .fldCaption
{
    width: 135px;
}

#LenderTab .fldControl
{
    width: 260px;
}

#LenderTab .spacer
{
    width: 0px;
}
