@import url("init.css");

body { font-family: Arial; font-size: 13px; line-height: 120%; color: #222; }

h1 { font-size: 18px; font-weight: normal; margin: 10px 0; color: #004798; }
h2 { font-size: 16px; font-weight: normal; margin: 10px 0; color: #004798; }
h2 a { float: right; font-size: 12px; background: transparent url(/gfx/add.png) no-repeat 0 0; padding-left: 20px }
h3 { font-size: 14px; margin: 10px 0; color: #004798; }

fieldset {  margin: 10px 0; padding: 10px; border: #DDD 1px solid; }
fieldset span.label,
fieldset label { display: block; width: 150px; float: left; }
fieldset div { margin: 5px 0; clear: both; }
p.controls,
div.controls { margin-left: 150px; }
label.simple { float: none; display: inline; }
button { padding: 5px 3px; }
span.light { color: #aaa; }
form label { cursor: pointer; }
input, select, textarea { font: 100%/150% Arial,Helvetica,sans-serif; padding: 2px; }
p.note { margin-left: 150px; color: #777; }

#wrapper { padding: 0 25px;}
#content { padding: 10px; }

#clear #wrapper { margin: 0 auto; width: 500px; padding: 0; }

body.company-20 #menu { background-color: #F97306; }
body.company-20 #menu li.tab a.current,
body.company-20 #menu li.tab a:hover { color: #F97306; }

#menu { background-color: #004798; overflow: auto; color: #fff; padding: 10px 10px 0 10px; position: relative; }
#menu ul { list-style: none; margin-top: 25px; }
#menu ul li { display: block; float: left; }
#menu ul li.right { float: right; margin: 0 0 0 5px; }
#menu li.tab a { color: #fff; text-decoration: none; display: block; padding: 5px 10px; margin: 0 5px 0 0; }
#menu li.tab a.current,
#menu li.tab a:hover { color: #004798; text-decoration: none; background-color: #fff; }

#submenu { padding: 10px 10px 0 10px; }
#submenu ul { margin: 0; padding: 0; list-style: none; }
#submenu ul li { display: inline; margin: 0 5px 0 0; }
#submenu a { text-decoration: underline; }
#submenu a:hover { text-decoration: none; }
#submenu a.current { text-decoration: none; font-weight: bold;}

table { margin: 0 0 10px 0; }
table th { text-align: left; color: #666; }
table th { padding: 5px; border-bottom: 1px solid #AAA; }
table td { padding: 5px; border-bottom: 1px solid #DDDFDE; }
table .even { background-color: #F3F4F4; }
table .odd {}

table.pager-list td { border: none; }

a { color: #002664; text-decoration: none; }
a:hover { text-decoration: underline; }

div.error { background-color: #CC0000; color: #FFFFFF; padding: 5px 10px; font-size: 110%; }
div.errors { border: 1px solid #c00; margin: 0; padding: 0 20px; }
div.errors p { margin: 0.5em 0; }
div.errors ul { margin: 0 0 0.5em 1.5em; }

ul { list-style: disc; }
ul { margin: 10px 0; }
ul.none { list-style: none; }

span.status1 { font-weight: bold; padding: 2px 3px; background-color: #0C0; color: #fff; }

/* Date Picker */

table.jCalendar {
    border: 1px solid #000;
    background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
    background: #333;
    color: #fff;
    font-weight: bold;
    padding: 3px 5px;
}

table.jCalendar td {
    background: #ccc;
    color: #000;
    padding: 3px 5px;
    text-align: center;
}
table.jCalendar td.other-month {
    background: #ddd;
    color: #aaa;
}
table.jCalendar td.today {
    background: #666;
    color: #fff;
}
table.jCalendar td.selected {
    background: #f66;
    color: #fff;
}
table.jCalendar td.selected.dp-hover {
    background: #f33;
    color: #fff;
}
table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
    background: #fff;
    color: #000;
}
table.jCalendar tr.selectedWeek td {
    background: #f66;
    color: #fff;
}
table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
    background: #bbb;
    color: #888;
}
table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
    background: #bbb;
    color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

/* located in demo.css and creates a little calendar icon
 * instead of a text link for "Choose date"
 */
a.dp-choose-date {
    display: none;
}

div.dp-popup {
    position: relative;
    background: #ccc;
    font-size: 10px;
    font-family: arial, sans-serif;
    padding: 2px;
    width: 171px;
    line-height: 1.2em;
}
div#dp-popup {
    position: absolute;
    z-index: 199;
}
div.dp-popup h2 {
    font-size: 12px;
    text-align: center;
    margin: 2px 0;
    padding: 0;
}
a#dp-close {
    font-size: 11px;
    padding: 4px 0;
    text-align: center;
    display: block;
}
a#dp-close:hover {
    text-decoration: underline;
}
div.dp-popup a {
    color: #000;
    text-decoration: none;
    padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 100px;
}
div.dp-popup div.dp-nav-prev a {
    float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
    cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
    cursor: default;
}
div.dp-popup div.dp-nav-next {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 100px;
}
div.dp-popup div.dp-nav-next a {
    float: right;
}
div.dp-popup a.disabled {
    cursor: default;
    color: #aaa;
}
div.dp-popup td {
    cursor: pointer;
}
div.dp-popup td.disabled {
    cursor: default;
}

.clear { clear: both; }
.red { color: #c00; }
.filter-box { display: none; }
.filter-box button { padding: 0; }
