/* 
    Document   : a
    Created on : Oct 13, 2011, 5:02:59 PM
    Author     : Michael Burrows for Affinitech
    Description:
        Purpose of the stylesheet follows.
*/

* {
    margin: 0;
    outline: none;
    padding: 0;
}

img, fieldset {
    border: none;
}

body {
    background: #fff;
    color: #000;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.5em;
    margin: 4px 3px 1px;
}

a {
    color: #69c;
}

fieldset {
    margin: 0 0.4em 0.6em 0.4em;
}

form {
    padding: 0 0.5em;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0 0.4em 0.6em 0.4em;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.3em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}

fieldset p {
    margin: 0 0 0.6em 0;
}

input, select, textarea {
    display: block;
    margin: 4px 0 10px 0;
    padding: 4px;
}

input[type=email],
input[type=password],
input[type=text],
select[multiple=multiple],
textarea {
    padding: 2px;
    width: 220px;
}

textarea {
    height: 120px;
    width: 440px;
}

input[type=submit] {
    background-color: #69c;
    border: 2px solid #000;
    color: #fff;
    cursor: pointer;
    font-size: 1.0em;
    font-weight: bold;
    margin: 8px 0;
    padding: 6px 14px;
}

input[type=submit]:hover {
    background-color: #58b;
}

input[type=checkbox] {
    display: inline;
    margin:0 10px 10px 10px;
}

table {
    border-bottom: 1px solid #69c;
    border-right: 1px solid #69c;
}

table.list {
    margin-bottom: 12px;
}

table th {
    background-color: #efefef;
}

table td,
table th {
    border-left: 1px solid #69c;
    border-top: 1px solid #69c;
    padding: 2px 6px;
}

table td.highlighted {
    background-color: #ff3;
}

table td.options a {
    margin-right: 8px;
}

table input[type=email],
table input[type=password],
table input[type=text] {
    padding: 2px;
    width: 70px;
}

td.nowrap {
    white-space: nowrap !important;
}

ol, ul {
    margin: 0 0.4em 0.6em 2.6em;
}

div.cleardiv,
div.clear {
    clear: both;
}

#container {
    background-color: #fff;
    min-width: 320px;
    max-width: 100%;
}

#header {
    line-height: 0;
    padding: 0 2px;
}

#toolbar {
    background-color: #69c;
    min-height: 1.9em;
    margin: 0 0 15px 0;
    padding: 2px;
    position: relative;
}

#toolbar a {
    border-right: 1px solid #fff;
    color: #fff;
    display: inline-block;
    padding: 3px 8px;
    text-decoration: none;
}

#toolbar a:hover {
    text-decoration: underline;
}

#toolbar a.last {
    border: none;
}

#toolbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

#toolbar ul li {
    float: left;
}

#toolbar ul li ul {
    background-color: #69c;
    display: none;
    position: absolute;
    z-index: 100;
}

#toolbar ul li ul li {
    float: none;
}

#toolbar ul li:hover ul {
    display: block;
}

#messages {
    font-size: 0.9em;
    line-height: 0.9em;
}

#messages p {
    margin: 0.5em 1.0em;
}

#messages p.success {
    color: #090;
}

#messages p.error {
    background-color: #FFEBE8;
    background-image: url(../img/icons/outputmsg_error.gif);
    background-position: 4px center;
    background-repeat: no-repeat;
    padding: 4px 4px 4px 24px;
}

#pagination {
    cursor: pointer;
    float: left;
    list-style: none;
    margin: 2px;
    padding: 4px 0;
    position: relative;
}

#pagination li {
    float: left;
    margin: 0 2px;
}

#pagination .today {
    font-weight: normal;
    line-height: 0.5em;
    margin: 0;
    padding: 0 4px;
}

#date-picker {
    border: 1px solid #333;
    font-size: 0.7em;
    margin: 0;
    padding: 1px;
    width: 80px;
}

a.button-cancel {
    background-color: #999;
    border: 2px solid #000;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.0em;
    font-weight: bold;
    min-width: 63px;
    margin: 8px 0;
    padding: 4px 12px;
    text-align: center;
    text-decoration: none;
}

a.button-cancel:hover {
    background-color: #888;
}

p.footer {
    font-size: 0.8em;
    text-align: right;
}

table#multiple-tasks {
    font-size: 0.8em;
}

table#multiple-tasks th {
    width: 30px;
}

table#multiple-tasks .area,
table#multiple-tasks .action {
    max-width: 250px;
    width: auto;
}

.print-break {
    page-break-after: always;
}

@page {
    size: portrait;
}

@media print {
    @page {
        size: portrait;
        margin: 13mm 12mm 13mm 20mm;
    }
    
    body {
        margin: 0;
    }
    
    html,
    body {
        font-size: 8pt !important;
        line-height: 1.1em;
    }
    h3 {
        /*page-break-before: left;*/
    }
    .no-print {
        display: none;
    }
    #header {
        display: none;
    }
    #toolbar {
        display: none;
    }
    table {
        border-bottom: 1px solid #000;
        border-right: 1px solid #000;
    }
    table tr {
        page-break-after: auto !important;
        page-break-before: auto !important;
    }
    table td,
    table tr td,
    table th,
    table tr th {
        page-break-after: auto;
        page-break-before: auto;
    }
    table td,
    table th {
        border-left: 1px solid #000;
        border-top: 1px solid #000;
        padding: 1px 3px !important;
    }
    table.tablesorter,
    table.tablesorter th,
    table.tablesorter tr,
    table.tablesorter td {
        background: none !important;
    }
    table.tablesorter .odd,
    table.tablesorter .header,
    table.tablesorter .headerSortDown,
    table.tablesorter .tablesorter-header,
    table.tablesorter .tablesorter-headerSortDown {
        background: none;
    }
    table td.highlighted {
        background-color: #ff3 !important;
    }
    p.footer {
        display: none;
    }
    div.page-break {
        page-break-after: right;
    }
}