/* Styles for the book pages.

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

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

#main { overflow-x: initial; }

#main.ios { overflow-x: auto !important; }

/*#content.ribbon-top { padding-top: 25px; }*/

.image-version #content {
    display: inline-block;
    min-width: 100%;
}

#content .text-content .clipboard-input + .capimg-wrapper > img.blockimg,
#content .text-content .clipboard-input + .capimg-wrapper > img.inlineimg,
#content .text-content .clipboard-input + .capimg-wrapper > img.capimg { display: none; }

.clipboard-cell { min-width: 0; }

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

#content .xlarge > img {
    display: block;
    margin: auto;
}

#related-notes .cols-2 {
    column-count: 2;
    column-fill: balance;
    column-gap: 2rem;
    column-rule: 1px solid #95150030;
}

#related-notes .cols-2.no-rule { column-rule: none; }

#related-notes ul.show-thumbnails li:nth-child(2n) a { margin-left: 0rem; }

#related-notes li:nth-child(2n) > span { margin-left: 0rem; }

/* 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: 1.05em;
    line-height: 1.7;
    margin-bottom: 0;
    text-align: justify;
}

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

#content .text-content .text-chapter-heading {
    font-size: 2.85em;
    letter-spacing: -0.04rem;
    line-height: 1.1;
    margin-bottom: 1.4em;
    margin-top: 1em;
    max-width: 500px;
}

#content .text-content .text-section-heading {
    font-family: "Gill Sans Nova", "Gill Sans", Arial, sans-serif;
    font-size: 1.25em;
    font-weight: 400;
    margin: 1.75em 0 0.75em 0;
}

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

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

#content .text-content .text * { text-indent: initial; }

#content .text-content .textnoindent {}

#content .text-content .inlinehead {
    font-family: "Gill Sans Nova", "Gill Sans", Arial, sans-serif;
    font-size: 1.1em;
    font-weight: 500;
}

#content .text-content .caphr {
    background: #d9d9d9;
    border: none;
    display: block;
    height: 1px;
    margin: 1.25em 0;
    width: 100%;
}

#content .text-content .captext {
    color: #7d7d7d;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 0.8em;
    line-height: 1.3;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

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

/* Footer
   ================================== */

.footer-popover {
    display: inline-block;
    position: absolute;
    background: #fff;
    padding: 10px 15px;
}

#footer .clipboard-cell { padding: 0.7rem 0; }

#footer .clipboard-table {
    display: block;
    min-height: initial;
}

#footer .clipboard-num {
    font-family: "PT Serif", Georgia, serif;
    color: #951500;
    font-size: 16px;
}

#footer .clipboard-num:hover { color: #ff002f; }

#footer .clipboard-hover {
    border: none !important;
    background: none !important;
}

#footer .clipboard-container { position: initial; }

#exportable-images h2 {
    color: #454545;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* ==========================================================================
   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) {
    #content .text-content .caphr { margin: 1.5em 0; }

    #related-notes  .cols-1__600 {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

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

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

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

@media print {
}