/* override table width restrictions */
.wy-table-responsive table td, .wy-table-responsive table th {
    /* !important prevents the common CSS stylesheets from
    overriding this as on RTD they are loaded after this stylesheet */
    white-space: normal !important;
}

.wy-nav-content {
    max-width: 1200px !important;
}

html body .wy-table-responsive table td p {
    font-size: 14px;
}

html body .wy-table-responsive table td p.first,
html body .wy-table-responsive table td p {
    margin-bottom: 7px;
}

@media screen and (min-width: 767px) {
    html body .wy-table-responsive table td,
    html body .wy-table-responsive table th {
        white-space: normal;
    }

    html body .wy-table-responsive {
        margin-bottom: 24px;
        max-width: 100%;
        overflow: visible;
    }
}

@media print {
    div.wy-table-responsive {
        overflow: visible !important;
    }

    body, .wy-nav-content-wrap, .wy-grid-for-nav, .wy-nav-content {
        height: auto !important;
        min-height: auto !important;
        position: initial !important;
    }

    div[role=navigation] {
        display: none;
    }

    h3 {
        page-break-before: always;
    }

    /* This adds the ".....12" to the TOC links */
    #prince-toc a::after { content: leader(".") target-counter(attr(href), page); }

    #prince-toc, #prince-toc li {
        list-style: none;
    }

    #prince-toc a {
        color: inherit;
    }

    a.headerlink {
        display: none;
    }

    html, p {
        font-size: 10pt;
    }

    img.logo {
        width: 8cm;
        margin-bottom: 8cm !important;
    }

    p.commit_hash {
        position: absolute;
        left: 3.236em; /* from the theme */
        top: 280mm;
        font-size: 5pt;
    }
}


@page {
    @bottom-center {
        content: "Page " counter(page) " of " counter(pages);
        font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
        font-size: 0.7em;
        margin-bottom: 2em;
    }
    size: a4;
}
/* No page number on the first page */
@page:first {
    @bottom-center {
        content: "";
    }
}
