%# BEGIN BPS TAGGED BLOCK {{{
%#
%# COPYRIGHT:
%#
%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
%#                                          <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%#
%#
%# LICENSE:
%#
%# This work is made available to you under the terms of Version 2 of
%# the GNU General Public License. A copy of that license should have
%# been provided with this software, but in any event can be snarfed
%# from www.gnu.org.
%#
%# This work is distributed in the hope that it will be useful, but
%# WITHOUT ANY WARRANTY; without even the implied warranty of
%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
%# General Public License for more details.
%#
%# You should have received a copy of the GNU General Public License
%# along with this program; if not, write to the Free Software
%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
%# 02110-1301 or visit their web page on the internet at
%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
%#
%#
%# CONTRIBUTION SUBMISSION POLICY:
%#
%# (The following paragraph is not intended to limit the rights granted
%# to you to modify and distribute this software under the terms of
%# the GNU General Public License and is only of importance to you if
%# you choose to contribute your changes and enhancements to the
%# community by submitting them to Best Practical Solutions, LLC.)
%#
%# By intentionally submitting any modifications, corrections or
%# derivatives to this work, or any other work intended for use with
%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
%# you are the copyright holder for those contributions and you grant
%# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
%# royalty-free, perpetual, license to use, copy, create derivative
%# works based on those contributions, and sublicense and distribute
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
* {
    float: none;
    position: static;
    background: transparent !important;
    overflow: visible !important;
}

body {
    margin: 0;
    padding: 0;
    font-size: 10pt;
    background: white !important;
}

div#body {
    margin: 0;
    margin-top: 0;
    padding: 0;
    border-style: none;
}

div#header h1 {
    margin-bottom: 1em;
    position: static;
    height: auto;
    width: auto;
    overflow: visible;
    color: black !important;
    padding: 0 !important;
}

#header {
    padding: 0 !important;
}

#quickbar,
#nav,
#page-menu,
#main-navigation,
#page-navigation,
.titlebox-title .widget,
.ticket-info-links .titlebox-title .right,
.ticket-info-links .titlebox-content .create,
.history .titlebox .titlebox-title .right,
.ticket-transaction .metadata .actions,
.ticket-transaction .content .downloadattachment,
#comp-Search-Results #body .refresh,
.search-result-actions,
#comp-Search-Chart #body div,
#comp-Search-Chart #body form,
#footer,
#topactions,
#logo,
form,
div.summary + br
{
    display: none;
}

/* Hide "Click to load" and "Loading" message. Loaded history is #id > .history */
#deferred_ticket_history > .titlebox, #delayed_ticket_history > .titlebox {
    display: none;
}

a:link, a:visited {
    font-weight: bold !important;
}

div.ticket-transaction .metadata .type {
    display: none;
}

div.titlebox-title .left {
    border: 0 !important;
    color: black !important;
    margin: 0 !important;
    padding-left: 0 !important;
}

.titlebox.rolled-up .titlebox-title .left:after {
    content: " (<&|/l&>collapsed</&>)";
    font-weight: normal;
}

div.titlebox-content {
    border: 0 !important;
    padding-top: 0.5em !important;
}

/* outer Ticket Metadata titlebox gets no padding, but inside ones do below */
.summary .titlebox-content {
    padding: 0 !important;
}

div.summary .ticket-summary div.titlebox-content {
    padding: 0.5em 1em 1em 1em !important;
}

div.titlebox-title .left * {
    color: black !important;
}

div.messagebody a[href]:after {
    text-decoration: underline !important;
    content: " (" attr(href) ") ";
}

.messagebody {
    orphans: 2;
    widows: 2;
}

div.titlebox-title {
    page-break-after: avoid;
    border: 0 !important;
}

#ticket-history, div.ticket-transaction {
    border: 0 !important;
}

div.ticket-transaction {
    page-break-inside: avoid;
}

/* hide "Ticket metadata" */
div.summary > div > div.titlebox > div.titlebox-title {
    display: none !important;
}

.value {
    font-weight: bold !important;
}

.label, .label a, .labeltop, .labeltop a {
    font-weight: normal !important;
}

div.titlebox {
    margin-bottom: 0;
}

/* for web2 and ballard*/

div.titlebox {
    border: 0 !important;
}

div.history .titlebox-title {
    padding: 0 !important;
    margin: 0 !important;
}

/* for web2 */

#page-action-menu {
    display: none;
}

/* form elements */
input, select, option {
    background: white !important;
    border: 1px solid #666 !important;
}

option {
    border: none !important;
}

option[selected] {
    font-weight: bold !important;
}

