/* Styles for the individual notes pages.

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

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

#content .text-content { margin: 0 auto; }

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

#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-pages .thumbnails img {
    -webkit-transition: border .25s;
    border: 1px solid #e5e5e5;
    box-shadow: -2px 2px 5px #d9d9d9;
    box-sizing: content-box;
    display: inline-block;
    transition: border .25s;
}

#related-pages .thumbnails a:hover img { border: 1px solid #820c09; }


/* classes generated by mathematica
   ================================== */
#content .text-content .notehead {
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 0.75em;
    padding-left: 1rem;
    position: relative;
}
#content .text-content .notehead:before {
    background: #000;
    content: '';
    height: 6px;
    left: 0;
    position: absolute;
    top: .5rem;
    width: 6px;
}

#content .text-content .notehead img { display: none; }

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

/* names index tooltips
   ========================================================================== */

.names-index-modal {
    background: rgba(0, 0, 0, .5);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999998;
}

.names-index-link {
    color: #951500;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.names-index-link:hover { color: #dd1100; }

.names-index-tooltip {
    bottom: auto;
    cursor: default;
    display: none;
    left: 0;
    margin: auto;
    padding-top: .5rem;
    position: absolute;
    right: auto;
    top: 1.25rem;
    white-space: normal;
    z-index: 999999;
}

html:not(.__600):not(.__320) .names-index-tooltip:before {
    background: url('/nks/img/names-index-down.png') no-repeat;
    content: '';
    display: block;
    height: 11px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: -.1rem;
    width: 21px;
    z-index: 999999;
}

.names-index-box {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .5);
    color: #000;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0;
    padding: .5rem 1rem .9rem;
    text-align: left;
    width: 300px;
}

html.__600 .names-index-box,
html.__320 .names-index-box { width: 100%; }

.names-index-close {
    color: #a9a9a9 !important;
    cursor: pointer;
    display: none;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    top: .5rem;
    width: 30px;
    z-index: 9999999;
}

.names-index-close:hover { color: #dd1100 !important; }

html.__600 .names-index-close,
html.__320 .names-index-close { display: block; }

.names-index-tooltip .term,
.names-index-tooltip .indent {
    display: inline-block;
    width: 100%;
    word-wrap: break-word;
}

.names-index-tooltip .term {
    line-height: 1.5;
    padding: .25rem 1rem .25rem 0;
    position: relative;
}

.names-index-tooltip .indent {
    font-size: .875rem;
    line-height: 1.3;
    padding-left: 1rem;
}

/* ==========================================================================
   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; }

    #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 {}