html, * {
    margin: 0 auto;
    padding: 0;
}

body {
    background-image: url('/media/images/bg-gradient.png');
    background-repeat: repeat-x;
    background-color: #23364E;
    margin: 0 auto;
    padding: 0;
    font-size: 0.75em;
    font-family: "Trebuchet MS", Verdana, Arial;
}

/**
 page elements
 **/
a {
    color: #426692;
}

a:hover {
    color: #23364E;
}

h1 {
    font-size: 3.0em;
    padding-left: 30px;
}

h1 a {
    color: #C3A279;
    font-family: Georgia, "Times New Roman", Times, serif;
    text-decoration: none;
}

h1 a:hover {
    color: #C3A279;
    border-bottom: 1px solid #C3A279;
}

h2 {
    color: #944267;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.65em;
    font-weight: normal;
    padding: 0 0 0 10px;
}

h3 {
    padding: 20px 10px 0px 10px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    font-weight: normal;
    color: #283E59;
    font-size: 1.1em;
}

ul, ol {
    margin: 0 0 0 45px;
    padding: 0;
}

p {
    font-family: "Trebuchet MS", Verdana, Arial;
    padding: 5px 10px;
    line-height: 1.6em;
}

code {
    display: block;
    background-color: #E0CFB8;
    border: 1px solid #C9AC83;
    border-bottom: 3px solid #C9AC83;
    border-right: 3px solid #C9AC83;
    margin: 10px;
    padding: 10px;
}

/**
 common classes
 **/
.clear {
    clear: both;
}

.bold {
    font-weight: bold;
}

/**
 page wrapper
 **/
div#wrap {
    width: 900px;
    margin: 20px auto 0 auto;
    padding: 0;
}

a {
	text-decoration:underline;
}

/**
 header logo
 **/
div#logo {
    width: 275px;
    float: left;
    padding-left: 5px;
}

/**
 top navigation
 **/
div#nav {
    float: right;
    padding: 5px 0 0 0;
	margin: 0 10px 0 0;
}

div#nav ul {
    list-style: none;
    list-style-type: none;
    padding: 0;
    margin: 0 0 0 20px;
    position: relative;
}

div#nav ul li {
    display: inline;
}

div#nav ul li a {
    display: block;
    float: left;
    padding: 12px 20px 0 20px;
    color: #ffffff;
    height: 28px;
    font-family: "Trebuchet MS", Verdana, Arial;
    font-weight: normal;
    font-size: 0.9em;
    text-decoration: none;
    margin: 0 2px;
    background-color: #23364E;
    border-top: 1px solid #4972A2;
    border-right: 1px solid #131D2A;
}

div#nav ul li.selected a {
    background-image: url('/media/images/bgselected.jpg');
    background-repeat: repeat-x;
    background-position: top left;
    color: #333333;
    margin: 0 3px;
}

div#nav ul li a:hover {
    text-decoration: underline;
}

div#nav ul li.selected a:hover {
    text-decoration: none;
}

/**
 page container
 **/
div#page {
    background-color: #ffffff;
    border: 5px solid #3F618C;
    border-top: none;
    padding: 10px 0 20px 0;
}

/**
 main, left, content
 **/
div#main-content {
    min-height: 400px;
    margin: 10px 50px 10px 50px;
}

div.brown-box {
    background-color: #C9A983;
    border: 1px solid #B0844F;
    margin: 10px 15px;
    color: #ffffff;
}

div.brown-box a {
    color: #ffffff;
    font-weight: bold;
}

/**
 footer
 **/
div.footer {
    background-image: url('/media/images/footer-left.gif');
    background-repeat: no-repeat;
    background-position: top left;
    background-color: #3F618C;
    margin-top: 30px;
}

div.footer-level-2 {
    background-image: url('/media/images/footer-right.gif');
    background-repeat: no-repeat;
    background-position: top right;
}

div.footer p {
    text-align: center;
    padding: 15px 0;
}

div.footer p a {
    padding: 4px;
    color: #ffffff;
    font-family: "Trebuchet MS", Verdana, Arial;
    font-size: 0.8em;
    text-decoration: none;
    margin: 0 10px;
    background-color: #345074;
}

.autocomplete-w1 { background:url(img/shadow.png) no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
.autocomplete { border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }
.autocomplete .selected { background:#F0F0F0; }
.autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }
.autocomplete strong { font-weight:normal; color:#3399FF; }


/**
 page end - below footer
 **/
div.page-end {
    background-color: #253952;
    border-top: 1px solid #4F79B0;
    background-image: url('/media/images/page-end-fade.jpg');
    background-repeat: repeat-x;
    padding: 5px 0 10px 0;
}

div.page-end p {
    color: #ffffff;
    text-align: center;
    font-size: 0.7em;
    font-family: "Trebuchet MS", Verdana, Arial;
}

div.page-end a {
    font-family: "Trebuchet MS", Verdana, Arial;
    color: #ffffff;
    font-weight: normal;
    border-bottom: 1px solid #ffffff;
    text-decoration: none;
}

div.page-end a:hover {
    background-color: transparent;
}

.info, .success, .warning, .error, .validation {
    border: 1px solid;
    margin: 10px 0px;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.info {
    color: #00529B;
    background-color: #BDE5F8;
    background-image: url('/media/images/icons/info.png');
}

.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    background-image: url('/media/images/icons/success.png');
}

.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    background-image: url('/media/images/icons/warning.png');
}

.error {
    color: #D8000C;
    background-color: #FFBABA;
    background-image: url('/media/images/icons/error.png');
}

table.notifications {
    margin-left: 1px;
	border-style: none;
}

table.notifications td {
    vertical-align: baseline;
	padding: 2px;
	border-style: none;
}

table.notificationsAdd {
    margin-left: 1px;
}

table.notificationsAdd td {
	padding: 4px;
}

