/*
    site-wide styles
*/
body {
    color: #333333;
    font-size: 10pt;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5 url('/images/background.png') repeat-x;
    padding: 0;
    margin: 0;
}
a:link, a:visited {
    color: #4477bb;
}
a:active, a:hover {
    color: #ffcc00;
}
img {
    border: 1px solid #000000;
}
table {
    width: 100%;
    border: 1px solid #000000;
    border-collapse: collapse;
}
th {
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    background: #4477bb;
    padding: .1em 1em;
    border: 1px solid #000000;
}
td {
    text-align: left;
    padding: .1em 1em;
    border-left: 1px solid #000000;
}

/*
    site layout
*/
#container {
    width: 740px;
    background: #ffffff;
    border: 2px solid #cccccc;
    padding: 5px;
    margin: 10px auto;
}
#header {
    height: 85px;
    color: #cccccc;
    background: #333333;
}
#header img {
    float: left;
    width: 220px;
    height: 80px;
    border: 0;
}
#header #menu {
    float: right;
    list-style-type: none;
    font-size: 12px;
    padding: 0;
    margin: 0;
}
#header #menu li {
    float: left;
    display: inline;
    margin-top: 60px;
}
#header #menu li a {
    color: #ffffff;
    text-decoration: none;
    padding: 59px 20px 5px 20px;
    margin-top: 80px;
    margin-right: 1px;
    border-bottom: 5px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}
#header #menu li a:hover {
    background: #444444;
    border-color: #4477bb;
}
#header #menu li a.active {
    background: #444444;
    border-color: #ffcc00;
}

#bar {
    height: 1.7em;
    font-size: .9em;
    background: #4477bb;
    margin: 4px 0;
}
#bar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#bar li {
    float: left;
    display: inline;
    margin: .3em .5em;
}
#bar a {
    color: #ffffff;
    text-decoration: none;
    padding: .2em 1em;
    border: 1px solid transparent;
}
#bar a:hover {
    color: #ffcc00;
    border: 1px solid #ffcc00;
}



/*
    content
*/
#content {
    padding: 0 1em 3em 1em;
}
#content .box {
}
#content .box h2 {
    color: #ffffff;
    font-size: 1.1em;
    background: #333333;
    padding: 5px;
    margin: 10px 0;
}
#content .box h3 a {
    color: #ffcc00;
}
#content td.money {
    text-align: right;
}

#content .error {
    color: #cc0000;
}




/*
    specific design
*/
#invoice #print-header { }
#invoice #print-header dd { padding: 0; margin: 0; }
#invoice .box { float: left; width: 50%; }
#invoice .box h2 { color: #000000; background: transparent; padding: 0; margin: .5em 0; }
#invoice .box dl.no-padding dd { padding: 0; margin: 0; }
#invoice table, #invoice th, #invoice td { border: none; border-collapse: collapse; padding: 0; margin: 0; }
#invoice th, #invoice td { vertical-align: top; border-right: 1px solid #000000; padding: .2em .5em; background: #ffffff; color: #000000; }
#invoice table { width: 100%; }
#invoice table .desc { width: 58%; text-align: left; border-left: 1px solid #000000; }
#invoice table .num { width: 14%; text-align: right; }
#invoice th.desc, #invoice th.num { text-align: center; border-top: 1px solid #000000; border-bottom: 1px solid #000000; }


/*
    forms
*/
form {
    padding: 0;
    margin: 0;
}
form hr {
    clear: left;
    height: 1px;
    color: #eeeeee;
    line-height: 1px;
    padding: 0;
    margin: 0;
    background: #eeeeee;
    border: 0;
}
form br {
    clear: left;
}
form label, form input {
    float: left;
    display: block;
    margin: 3px 0;
}
form label {
    width: 10em;
    font-weight: bold;
}
form input {
    width: 20em;
    padding: 0 .5em;
    background: #fbfbfb url('/images/textarea.png') repeat-x;
    border: 1px solid #999999;
}
form textarea {
    width: 40em;
    height: 20em;
    padding: 0 .5em;
    margin: 3px 0;
    background: #fbfbfb url('/images/textarea.png') repeat-x;
    border: 1px solid #999999;
}
form input#submit {
    width: auto;
    margin-top: 1em;
    margin-left: 11em;
}
form input.hidden {
    padding: 0;
    margin: 0;
    border: 0;
}

/*
form div.label { float: left; font-weight: bold; padding-top: 3px; }
form div.field { margin-left: 10em; }
form hr { height: 1px; color: #eeeeee; line-height: 1px; padding: 0; margin: 3px 0; background: #eeeeee; border: 0; }
*html form hr { margin: 0; }
form input { width: 40em; font-size: 1em; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; background: #eeeeee; }
form textarea { width: 40em; height: 20em; font-size: 1em; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; background: #eeeeee; }
form input.file { width: 40em; }
form input.error { color: #990000; background: #ffdddd; border: 1px solid #990000; }
form input.submit { width: auto; margin-top: 1em; }
form input.hidden { padding: 0; margin: 0; border: 0; }
form input.checkbox { width: 2em; border: 0; background-color: transparent; }
*/
.display-hide {
    display: none;
}


#footer {
    width: 740px;
    color: #666666;
    font-size: .8em;
    text-align: right;
    margin: 0 auto;
}

