/* Styles for the book pages.

   developer:   marionm
   requires:    /nks/css/shared.en.css
   ========================================================================== */

/* ==========================================================================
   page specific styles
   ========================================================================== */

#content .versions {
    font-size: 1.125rem;
    padding-bottom: 0;
}

#content .versions .view-image-thumb {
    -webkit-transition: border .25s;
    border: 1px solid #e5e5e5;
    box-shadow: -2px 2px 5px #d9d9d9;
    box-sizing: content-box;
    display: inline-block;
    float: right;
    line-height: 0;
    margin: 0 0 0 2rem;
    transition: border .25s;
}

#content .versions .view-text { text-transform: uppercase; }

#content .small,
#content .medium,
#content .large,
#content .xlarge {
    display: none;
    margin: 0 auto;
}

/* image version of page
   ========================================================================== */

html.image-version #content .xlarge { display: block; }

html.image-version #content .versions { display: none; }

html.image-version #content .text-content {
    left: -999999999999px;
    position: absolute;
    top: -999999999999px;
}

/* text version of page
   ========================================================================== */

html.text-version #content .text-content {
    left: 0;
    margin: 0 auto;
    position: static;
    top: 0;
}

#content .text-content p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 1em;
    text-align: justify;
}

#content .text-content a { color: #951500; }

#content .text-content a:active,
#content .text-content a:hover { color: #000; }

/* classes generated by mathematica
   ================================== */

#content .text-content .text-chapter-heading {
    font-size: 2em;
    line-height: 1;
    margin-bottom: 2em;
}

#content .text-content .text-section-heading {
    font-size: 1.5em;
    line-height: 1;
    margin: 2em 0;
}

#content .text-content > *:first-child.text-section-heading { margin-top: 0; }

#content .text-content .text-caption-heading {
    border-top: 1px solid #a9a9a9;
    font-size: 1em;
    line-height: 1;
    margin: 2em 0 1em;
    padding-top: 1em;
    text-transform: uppercase;
}

#content .text-content .text { text-indent: 1.5em; }

#content .text-content .textnoindent {}

#content .text-content .inlinehead { font-weight: 700; }

#content .text-content .captionhead {
    border-top: 1px solid #a9a9a9;
    color: #454545;
    font-size: .875rem;
    margin-bottom: .75rem;
    padding-top: .75rem;
    text-transform: uppercase;
}

#content .text-content .captions {
    color: #000;
    font-size: .875rem;
    margin-bottom: 1rem;
}

#content .text-content .captions:last-of-type { margin-bottom: 0; }

/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {}

/* styles for medium screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {}

/* styles for small screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
    html.text-version #content .text-content { padding: 2rem !important; }

    html.image-version #content .small,
    html.image-version #content .medium,
    html.image-version #content .large,
    html.image-version #content .xlarge,
    html.image-version #content .view-image { display: none !important; }

    html.image-version #content .versions { display: block; }

    html.image-version #content .text-content {
        left: 0;
        padding: 2rem;
        position: static;
        top: 0;
    }
}

/* styles for minimum supported screen width (320px)
   ========================================================================== */

@media all and (max-width: 320px) {}

/* printer styles
   ========================================================================== */

@media print {}