/** Admin layout **/

body.pagelayout-admin.has_dock {
    margin-left: 30px;
}
.pagelayout-admin #page {
    width: 100%;
    margin: 0 auto;
    position: relative;
    max-width: 1664px;
}
.pagelayout-admin #page-footer {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}
.pagelayout-admin #page-header #custommenu {
    display: none;
}
.pagelayout-admin .navbar {
    background-color: #FFF;
    height: 20px;
    margin: 0;
    padding: 5px 0;
}
.pagelayout-admin #page-footer {
    text-align: center;
    height: auto;
}
.pagelayout-admin  #page-footer .logininfo,
.pagelayout-admin  #page-footer .homelink {
    margin: 1em 0 0;
    padding: 0;
    text-align: center;
}
.pagelayout-admin #page-content {
    background: #FFF url([[pix:theme|top_bg]]) repeat-x center top;
    float: none;
    overflow: visible;
    width: auto;
    padding-top: 1em;
}
.pagelayout-admin #report-main-content {
    float: left;
    width: 100%;
}
.pagelayout-admin #report-main-content .region-content {
    margin-left: 210px;
    overflow: visible;
    padding-bottom: 20px;
}
.pagelayout-admin #report-main-content .region-content table.generaltable {
    background-color: #FFF;
    width: 98%;
    margin: 0 auto;
    padding: 0;
}
.pagelayout-admin #report-region-wrap {
    width: 0;
    float: right;
    position: relative;
    left: -100%;
}
.pagelayout-admin #report-region-pre {
    width: 200px;
    margin-left: 5px;
}

/** CONTENT ONLY **/
.pagelayout-admin.content-only #report-main-content .region-content {
    margin-left: 10px;
}
.pagelayout-admin.content-only #report-region-pre {
    width: 0;
}

/** Correct for right to left languages **/
.dir-rtl.pagelayout-admin #report-main-content .region-content {
    margin-left: 0;
    margin-right: 210px;
}
.dir-rtl.pagelayout-admin #report-region-wrap {
    left:0;
}

/** Stabalise IE6 behaviour on the report layout **/
.ie6.pagelayout-admin #report-main-content {
    float: none;
    width: auto;
}
.ie6.pagelayout-admin #report-region-wrap {
    float: none;
    width: 200px;
    left: auto;
    position: absolute;
    top: 0;
}
.ie6.pagelayout-admin #report-region-pre,
.ie6.pagelayout-admin #report-region-pre .block {
    width: 100%;
}

@media print {
    .pagelayout-admin .region-content {margin-left: 0px !important;}
    .pagelayout-admin #report-region-pre {width: 0px !important;}
    .pagelayout-admin .region-content table.generaltable {font-size:70% !important;}
    .pagelayout-admin #report-region-pre,
    .pagelayout-admin #page-header,
    .pagelayout-admin #page-footer,
    .pagelayout-admin #dock { display: none;}
}
