/*

!!! Important !!!

To hide component on print view prefer
to override BasePanel.isPrintable() to
return 'false'. It will add 'no-print'
class on component.

Note : Component.setRenderBodyOnly(true)
will not add correspondent class.

*/

* {
    float: none !important;
    background: none !important;
}

body {
    margin: .1in;
    font-size: 10pt;
    color: #333;
}

form * {
    text-align: left;
    padding-left: 0 !important;
    margin-left: 0 !important;
    border: none !important;
}

h1 {
    font-size: 14pt;
    padding: 5px 0 5px 0;
    margin: 0;
}

h2 {
    font-size: 13pt;
    padding: 5px 0 5px 0;
    margin: 0;
}

h3 {
    font-size: 12pt;
    padding: 5px 0 5px 0;
    margin: 0;
}

p {
    line-height: 1.5em;
    padding: 5px;
    margin: 5px;
}

li {
    line-height: 1.4em;
}

form input, form p {
    margin: 10px;
}

form input {
    font-size: 12pt;
    color: #000080;
}

form label {
    vertical-align: middle;
}

div.formpair label {
    white-space: nowrap;
    clear: both;
}

form input[type="checkbox"] {
    opacity: 1 !important;
}

form textarea {
    overflow: auto;
    resize: none;
    height: auto;
}

table.entities tr th:first-child {
    display: none;
}

table.entities tr th.actions,
table.entities tr td.actions {
    display: none;
}

.fu {
    background-color: transparent;
}

.no-print *,
.no-print,
input[type="submit"],
.formbuttons,
.AbstractHeaderPanel,
.FooterPanel,
.BreadcrumbTrailPanel,
.bar,
.tabs-menu,
.feedbackPanel,
.PageFeedbackPanel {
    display: none;
}
/* -------- print width --------- */

/* A4 */
@media print and (max-width: 8.27in) {
    img, image {
        max-width: 8in;
    }
}

/* A3 */
@media print and (max-width: 11.69in) {
    img, image {
        max-width: 11in;
    }
}

/* A2 */
@media print and (max-width: 16.53in) {
    img, image {
        max-width: 16in;
    }
}

/* A1 */
@media print and (max-width: 23.39in) {
    img, image {
        max-width: 23in;
    }
}

/* A0 */
@media print and (max-width: 33.11in) {
    img, image {
        max-width: 33in;
    }
}

/* ----------------- height ---------------- */

/* A4 */
@media print and (max-height: 8.27in) {
    img, image {
        max-height: 8in;
    }
}

/* A3 */
@media print and (max-height: 11.69in) {
    img, image {
        max-height: 11in;
    }
}

/* A2 */
@media print and (max-height: 16.53in) {
    img, image {
        max-height: 16in;
    }
}

/* A1 */
@media print and (max-height: 23.39in) {
    img, image {
        max-height: 23in;
    }
}

/* A0 */
@media print and (max-height: 33.11in) {
    img, image {
        max-height: 33in;
    }
}


img, image {
    width: 100%;
    overflow: hidden;
}
