/* Ellery Courier web edition */

body {
    margin: 0;
    background: #e9e6df;
    color: #1f1f1f;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 17px;
    line-height: 1.55;
}

a { color: #164a7a; }
a:visited { color: #5a2d6e; }
a:hover { color: #0b2b4a; }
a:focus-visible, input:focus-visible, button:focus-visible {
    outline: 3px solid #b8590b;
    outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

.skipnav {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    padding: 8px 12px;
}
.skipnav:focus { left: 8px; top: 8px; }

#sheet {
    max-width: 960px;
    margin: 0 auto;
    background: #fffef9;
    border-left: 1px solid #cfcabe;
    border-right: 1px solid #cfcabe;
    min-height: 100vh;
}

/* top of the page */
#nameplate {
    text-align: center;
    padding: 18px 16px 10px;
    border-bottom: 4px double #1f1f1f;
    margin: 0 20px;
}
.np_since, .np_town {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.np_title {
    display: inline-block;
    margin: 8px 0 6px;
}
.np_title img { display: block; }

#menubar {
    list-style: none;
    margin: 0 20px;
    padding: 6px 0;
    text-align: center;
    border-bottom: 1px solid #1f1f1f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}
#menubar li { display: inline-block; margin: 2px 10px; }
#menubar a { text-decoration: none; }
#menubar a:hover, #menubar a.here_now { text-decoration: underline; }
#menubar a.here_now { font-weight: bold; color: #111; }

#mainstory { padding: 10px 28px 30px; }

#bottomline {
    margin: 0 20px;
    padding: 12px 0 24px;
    border-top: 1px solid #1f1f1f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #4a4a4a;
    text-align: center;
}
#bottomline p { margin: 4px 0; }

h1, h2, h3 { line-height: 1.2; }
h1 { font-size: 32px; margin: 18px 0 8px; }
h2 { font-size: 24px; margin: 22px 0 6px; }
h3 { font-size: 19px; margin: 18px 0 4px; }

.kicker {
    margin: 18px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
}
.byline { margin: 0 0 10px; font-style: italic; color: #444; }

/* front page */
.two_up { display: flex; gap: 32px; }
.two_up .lead_col { flex: 2; }
.two_up .side_col {
    flex: 1;
    border-left: 1px solid #cfcabe;
    padding-left: 20px;
}
.side_col ul { padding-left: 18px; }
.side_col li { margin-bottom: 6px; }

.more_link { font-family: Arial, Helvetica, sans-serif; font-size: 15px; }

/* this week and back issues */
.newsitem {
    border-top: 1px solid #cfcabe;
    padding-top: 4px;
    margin-top: 22px;
}
.newsitem:first-of-type { border-top: 0; }
.issue_info {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #4a4a4a;
    margin-top: 0;
}
.issue_nav {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    border-top: 1px solid #cfcabe;
    padding-top: 10px;
    margin-top: 28px;
}

.pic_box { margin: 12px 0 14px; }
.pic_box img { display: block; border: 1px solid #bdb7aa; background: #dcd8cf; }
.pic_box figcaption {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}

.notice_col p { margin: 8px 0; }

table.prices { border-collapse: collapse; margin: 8px 0; }
table.prices th, table.prices td {
    border: 1px solid #cfcabe;
    padding: 3px 12px;
    text-align: left;
}
table.prices th { background: #f1eee6; }

/* back issues list and search */
.decade_list h2 { border-bottom: 1px solid #cfcabe; }
.decade_list ul { padding-left: 18px; }
.decade_list li { margin: 4px 0; }

#lookfor {
    margin: 14px 0 6px;
    padding: 12px 14px;
    background: #f1eee6;
    border: 1px solid #cfcabe;
}
#lookfor label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}
#lookfor input[type=search] {
    font: inherit;
    padding: 5px 7px;
    width: 60%;
    max-width: 380px;
    border: 1px solid #77736b;
}
#lookfor button {
    font: inherit;
    padding: 5px 14px;
    border: 1px solid #164a7a;
    background: #164a7a;
    color: #fff;
    cursor: pointer;
}
#lookfor .srch_tip { margin: 6px 0 0; font-size: 14px; color: #4a4a4a; }

#foundcount { font-weight: bold; margin: 14px 0 6px; }
#foundlist { list-style: none; padding: 0; margin: 0; }
#foundlist li { padding: 8px 0; border-bottom: 1px solid #e3dfd5; }
#foundlist .when {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #4a4a4a;
}
#foundlist .bit { display: block; font-size: 15px; }
#foundlist mark { background: #f6e3a1; color: inherit; }

/* hanson files */
.joblist { padding-left: 18px; }
.joblist li { margin: 5px 0; }
.contact_scan { margin: 18px 0 26px; }
.contact_scan img { display: block; background: #f4f2ed; border: 1px solid #bdb7aa; }
.contact_scan figcaption {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin-top: 6px;
}

.small_print { font-size: 14px; color: #4a4a4a; }

@media (max-width: 700px) {
    body { font-size: 16px; }
    #nameplate { margin: 0 10px; padding: 12px 6px 8px; }
    .np_since, .np_town { font-size: 12px; }
    #menubar { margin: 0 10px; }
    #menubar li { margin: 2px 6px; }
    #mainstory { padding: 6px 14px 24px; }
    #bottomline { margin: 0 10px; }
    h1 { font-size: 26px; }
    h2 { font-size: 21px; }
    .two_up { display: block; }
    .two_up .side_col { border-left: 0; padding-left: 0; border-top: 1px solid #cfcabe; }
    #lookfor input[type=search] { width: 100%; max-width: none; box-sizing: border-box; margin-bottom: 6px; }
}

.offscreen {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
