﻿/*  ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

    Purpose:    Style sheet for printing purposes only...
    Date:       17/12/2015
    Author:     Zenith Investment Partners.  

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||  */

@media print {

    body {
        margin-top: 0mm;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1024px !important;
        font-size:11pt !important;
        -webkit-print-color-adjust: exact;
    }

    #main > div:first-child {
        margin-top: -20px !important;
    }

    #mainNav #mainNavInner.container {
        width: inherit !important;
    }

    #mainNav .navbar {
        width: inherit !important;
    }

    #mainNav #mainNavInner.container {
        margin-top: 0 !important;
    }

    #mainNav #mainNavInner.container {
        padding-top: 0 !important;
    }

    #main .content {
        width: inherit !important;
    }

        #main .content .contentInner {
            width: inherit !important;
            padding: 0 !important;
            margin: 0 auto !important;
        }

    .navbar .brand {
        margin-left: 0 !important;
        margin-top: -2mm !important;
        margin-left: 5mm !important;
    }

    .left-panel a {
        color: #ffffff !important;
    }

    .right-panel {
        margin-top: -25px !important;
    }



    /*
        Default hidden page components.
    ------------------------------------------------------------------*/
    .nav-collapse.collapse#nav,
    .bs-docs-sidebar, .bs-docs-sidebar .nav.bs-docs-sidenav,
    .fsControl,
    #printLnk,
    #footer, #footer #footerInner,
    .no-print, .no-print span {
        display: none !important;
    }

    #mainNav .navbar.container {
        margin-bottom: 0 !important;
    }

    .only-print {
        display: block;
    }

    /*
        Fonts & colours.
    ------------------------------------------------------------------*/
    body {
        color: #333333 !important;
    }

    h1 {
        color: #A40234 !important;
    }

    h2 {
        color: #808C8C !important;
    }

    h3 {
        color: #006999 !important;
    }

    /*
        General defaults.
    ------------------------------------------------------------------*/

    /*  Overide Bootstrap's displaying of URL's.  */
    a[href]:after {
        content: none !important;
    }

    .print-block {
        page-break-inside: avoid;
    }

    .annexure-b-tbls td {
        color: transparent !important;
    }

    .noprint {
        display: none;
    }

    .page-break-after {
        page-break-before: always !important;
    }

    table, .avoid-page-break-inside {
        page-break-inside: avoid !important;
    }

    .general-website-disclaimer {
        page-break-inside: avoid !important;
    }

    .row-fluid .content {
        background-color: #ffffff !important;
    }

    #main .row-fluid {
        background-color: #ffffff !important;
    }

    /*
        Specific overrides. 
    ------------------------------------------------------------------*/
    #stockReportList .navbar {
        display: none !important;
    }

    .general-website-disclaimer-print-hide {
        display: none !important;
    }

    .general-website-disclaimer {
        font-size: 11pt !important;
    }

    table {
        page-break-before: avoid !important;
        page-break-inside: auto !important;
        font-size: 11pt !important;
    }

        table tr {
            page-break-inside: avoid !important;
        }

    /*  Reports.
    ------------------------------------------------------------------*/

    table #tblyDetails .list .tablesorter .tablesorter-default .hasSaveSort .hasStickyHeaders {
        font-size: 11pt !important;
    }

    .left-panel {
        margin-top: 5px !important;
    }

        .left-panel h3 {
            font-size: 15px;
            font-weight: bold;
        }

        .left-panel .fa-arrow-down,
        .left-panel .price-down {
            color: #ffffff !important;
        }

        .left-panel .fa-arrow-up,
        .left-panel .price-up {
            color: #ffffff !important;
        }

    #stockReport .price-down i,
    #stockReport .price-up i {
        color: #ffffff !important;
    }

    .report-heading {
        display: block;
        margin-bottom: 80px;
    }

        .report-heading span,
        .report-heading h1 {
            font-size: 30px;
            font-weight: bold;
            padding: 2px 10px 5px;
            -moz-border-radius: 10px 10px 0 0;
            -webkit-border-radius: 10px 10px 0 0;
            border-radius: 10px 10px 0 0;
        }

        .report-heading .heading-spacer {
            margin-bottom: 4px;
        }
    /*  Stock Profiles overrides.
    ------------------------------------------------------------------*/
    #stockReport .report-heading {
        margin-bottom: 16px !important;
    }

        #stockReport .report-heading span {
            color: #FFFFFF !important;
            background-color: #666666 !important;
        }

    #stockReport .left-panel {
        background-color: #666666 !important;
    }

    #stockReport .report-heading .heading-spacer {
        margin-bottom: 5px;
    }

    #stockReport .left-panel h2,
    #stockReport .left-panel h3,
    #stockReport .left-panel dt,
    #stockReport .left-panel dd,
    #stockReport .left-panel dd span,
    #stockReport .left-panel a,
    #stockReport .left-panel address {
        color: #FFFFFF !important;
    }

    #stockReport.web-report .left-panel h3 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #stockReport .report-heading {
        border-bottom: 2px solid #666666 !important;
    }

    .custom-chart .cells > div {
        width: 146px;
    }
    /*  Morning Report overrides.
    ------------------------------------------------------------------*/
    #mainNav .navbar.container {
        /*margin-left: 47px !important;*/
    }

    #morningReport .report-heading {
        margin-top: 15px !important;
        border-bottom: 2px solid #666666 !important;
    }

    #morningReport .report-as-at-date {
        margin-top: -30px !important;
    }

    #morningReport .report-heading h1 {
        color: #FFFFFF !important;
        background-color: #666666 !important;
        display: inline;
    }

    #morningReport .report-heading {
        margin-bottom: 0;
    }

    #morningReport > .first-row .span6:first-child h2 {
        margin-top: 12px !important;
        margin-bottom: 14px !important;
    }

    #morningReport h2 {
        color: #A40234 !important;
    }

    /*  Reports Headings.
    ------------------------------------------------------------------*/
    #stockReport .side-pannelheading-two {
        margin-bottom: 0 !important;
    }

    .report-heading .heading-spacer {
        margin-bottom: 6px !important;
    }

    .web-report h1 {
        color: #000000 !important;
    }

    .web-report h2 {
        margin-top: 43px;
    }

    .web-report h3 {
        color: #A40234 !important;
    }

        .web-report h4,
        .web-report h3.child-heading {
            color: #075673 !important;
        }

    .as-at-date {
        color: #FFFFFF !important;
    }

    table.dataTable thead {
        border-bottom: 1px solid #333333 !important;
    }

    table.dataTable tbody tr td, #tblSurveyDetails8Col tbody tr td {
        color: #000 !important;
    }

        table.dataTable tbody tr td.headingGroup, #tblSurveyDetails8Col tbody tr td.headingGroup {
            color: #000 !important;
        }

    .print {
        display: block;
    }

        .print.download-img, img.print {
            width: 70px;
        }

    div.FixedHeader_Cloned.fixedHeader.FixedHeader_Header {
        display: none !important;
    }
}
/*  Print END  */
@page {
    margin-left: 15mm;
    margin-top: 10mm;
    margin-right: 10mm;
    margin-bottom: 15mm;
}

.zip-table thead tr {
    background-color: #035575 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

    .zip-table thead tr th {
        color: #ffffff !important;
    }

.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
    background-color: #ffffff !important;
}

.table-striped tbody > tr:nth-child(even) > td,
.table-striped tbody > tr:nth-child(even) > th {
    background-color: #e0e3f0 !important;
}

.zip-table thead tr.no-background {
    background-color: inherit !important;
    background: none !important;
}

#stockReportList .stripe {
    background-color: #e0e3f0 !important;
}

/*  Consensus.
    ------------------------------------------------------------------*/
.report-heading.headline {
    margin-bottom: 36px !important;
}

/*.custom-chart {
        margin-top: -10px !important;
    }*/
.custom-chart div.sell,
.custom-chart div.underperform,
.custom-chart div.hold,
.custom-chart div.buy,
.custom-chart div.strong-buy {
    background: #666666 !important;
    color: #FFFFFF !important;
}

    .custom-chart div.sell.active {
        background: #CD0617 !important;
    }

    .custom-chart div.underperform.active {
        background: #F97600 !important;
    }

    .custom-chart div.hold.active {
        background: #FD6B07 !important;
    }

    .custom-chart div.buy.active {
        background: #8BC911 !important;
    }

    .custom-chart div.strong-buy.active {
        background: #1C9611 !important;
    }