/* Project: Shrinkpictures  Version: 1.00.022 */

/* Project: Shrinkpictures  Version: 1.00.021 */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: small;
  color: #000;
  margin: 8px;
}
img { border: 0; max-width: 100%; height: auto; }
/* Page: header on top (logo, name, menu), content below */
body { margin: 0; }
#container { max-width: 1440px; margin: 0 auto; }
.sp-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6em 1.5em; padding: 0.6em 1.2em; border-bottom: 1px solid #ccc; }
.sp-brand { display: flex; align-items: center; gap: 0.7em; }
.sp-brand-text strong { display: block; color: #903; font-size: x-large; line-height: 1.1; }
.sp-brand-text small { display: block; color: #666; font-size: x-small; font-weight: normal; }
.sp-logo { display: block; width: 52px; height: 52px; }
.navlist { display: flex; flex-wrap: wrap; gap: 0.3em 1.4em; text-transform: uppercase; font-size: x-small; letter-spacing: 0.06em; }
#main { padding: 1.2em; min-width: 0; overflow-wrap: break-word; }
#foot { text-align: center; font-size: x-small; color: #666; padding: 0.5em 0 0.7em; border-top: 1px solid #ccc; margin-top: 1.2em; }
#foot p { margin: 0.2em 0; }
.sp-footlinks a { color: #666; text-decoration: underline; }
.sp-footlinks a:hover, .sp-footlinks a:focus { color: #903; }
#mainE { padding: 1.5em; }
#social { float: right; padding: 1.5em; }
a { text-decoration: none; font-weight: bold; color: #903; }
.adv { margin-left: 14px; margin-right: 14px; padding: 0.5em; }
.f { margin-left: 36px; margin-right: 36px; padding: 0.5em; }
.newsh { font-weight: 600; font-size: 1.2em; color: #903; }
h1 { font-size: medium; margin-left: 0; }
h2 { text-align: center; font-size: xx-large; color: #903; margin: 0.3em 0; }
h3 { margin-left: 0; font-size: 1.2em; color: #666; }
.nb { font-weight: lighter; }
.xs { font-size: x-small; }
input.SB { color: #FFF; font-weight: 600; background-color: #903; border: 0; padding: 0.4em 1em; cursor: pointer; }
.pc { text-align: center; }
.cga { float: right; width: 320px; max-width: 50%; margin-left: 16px; margin-bottom: 16px; }
.bpd { background: #EEE; border: 1px dashed #903; text-align: center; }
/* Status and tables (admin + node check) */
.status { padding: 0.5em; border: 1px solid #ccc; }
.ok { color: #060; }
.err { color: #903; }
.warn { color: #a60; }
.tblwrap { overflow-x: auto; }
.info { color: #666; }
.stale { border-left: 4px solid #a60; padding-left: 0.6em; opacity: 0.8; }
details.dbg { margin-bottom: 0.6em; border-bottom: 1px solid #ccc; padding-bottom: 0.4em; }
details.dbg summary { cursor: pointer; padding: 0.3em 0; }
.tbl { border-collapse: collapse; margin-bottom: 1em; }
.tbl td, .tbl th { border: 1px solid #ccc; padding: 0.3em 0.7em; text-align: left; }
code { word-break: break-all; }
/* Resize form */
[hidden] { display: none !important; }
.ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
kbd { border: 1px solid #999; border-radius: 3px; padding: 0 0.35em; font-size: x-small; background: #FFF; }
.sp-lede { color: #666; margin: 0 0 1em; }
.sp-cards { list-style: none; margin: 1.5em 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14em, 1fr)); gap: 0.8em; }
.sp-cards a { display: block; height: 100%; border: 1px solid #ccc; border-radius: 8px; padding: 0.9em 1em; background: #FFF; color: #000; font-weight: normal; }
.sp-cards a:hover, .sp-cards a:focus { border-color: #903; }
.sp-cards .ico { display: block; color: #903; margin-bottom: 0.5em; }
.sp-cards strong { display: block; margin-bottom: 0.3em; }
.sp-cards span { display: block; color: #666; font-size: x-small; line-height: 1.5; }
.sp-go { display: flex; align-items: center; justify-content: center; gap: 0.5em; width: 100%; border: 0; border-radius: 6px; background: #903; color: #FFF; font: inherit; font-weight: 600; padding: 0.9em 1em; cursor: pointer; }
.sp-go:hover { background: #7a0029; }
.sp-go:disabled { background: #999; cursor: default; }
/* Tablets and phones: one column, picture on top and kept in view while the options are changed */
@media (max-width: 760px) {
  #main { padding: 0.8em 0.6em; }
  .sp-head { padding: 0.5em 0.8em; }
}
/* Reading pages: privacy, about, questions and the how-to guides */
.sp-prose { max-width: 46em; margin: 0 auto; line-height: 1.6; }
.sp-prose h1 { font-size: 1.7em; color: #903; margin: 0.2em 0 0.4em; }
.sp-prose h2 { text-align: left; font-size: 1.25em; color: #333; margin: 1.6em 0 0.4em; }
.sp-prose h3 { font-size: 1.05em; margin: 1.2em 0 0.3em; }
.sp-prose .sp-lede { font-size: 1.1em; color: #444; }
.sp-prose ol, .sp-prose ul { padding-left: 1.4em; }
.sp-prose li { margin: 0.3em 0; }
.sp-prose table { border-collapse: collapse; width: 100%; margin: 0.8em 0; font-size: small; }
.sp-prose th, .sp-prose td { border: 1px solid #ccc; padding: 0.4em 0.6em; text-align: left; vertical-align: top; }
.sp-prose th { background: #f3f3f3; }
.sp-prose .sp-updated { color: #666; font-size: small; }
.sp-prose .sp-note { border-left: 4px solid #903; background: #faf4f6; padding: 0.5em 0.9em; margin: 1em 0; }
.sp-prose dt { font-weight: 600; margin-top: 1em; }
.sp-prose dd { margin: 0.2em 0 0 0; }
.sp-crumbs { font-size: small; margin: 0 0 0.6em; }
.sp-crumbs a { text-decoration: underline; }
.sp-cta { margin: 1.6em 0; }
.sp-cta a { display: inline-block; background: #903; color: #FFF; padding: 0.6em 1.2em; border-radius: 6px; font-weight: 600; text-decoration: none; }
.sp-cta a:hover, .sp-cta a:focus { background: #700; }
.sp-related { margin-top: 2em; padding-top: 0.8em; border-top: 1px solid #ccc; }
.sp-prose .sp-cards { margin: 1em 0; }
.sp-prose td code { white-space: nowrap; }
.sp-prose .sp-cards { padding: 0; }
/* How-to screenshots and the Examples page */
.sp-shot { margin: 1em 0; }
.sp-shot img { display: block; max-width: 100%; height: auto; border: 1px solid #ccc; border-radius: 6px; }
.sp-shot figcaption { font-size: small; color: #666; margin-top: 0.3em; }
.sp-prose.sp-wide { max-width: 1200px; }
.sp-ex-group { margin: 1.2em 0 2em; }
.sp-ex-row { display: flex; flex-wrap: wrap; gap: 1.2em; align-items: flex-start; }
.sp-ex-card { width: fit-content; margin: 0; padding: 0.6em; border: 1px solid #ccc; border-radius: 8px; background: #FFF; min-width: 14em; max-width: 100%; }
.sp-ex-card img { display: block; max-width: 100%; height: auto; background: #eee; }
.sp-ex-card figcaption { max-width: 22em; margin-top: 0.5em; font-size: small; line-height: 1.45; }
.sp-ex-card figcaption strong { display: block; font-size: 1.05em; }
.sp-ex-card figcaption span { display: block; margin-top: 0.25em; color: #555; }
.sp-ex-card figcaption .ok { color: #060; font-size: 1.05em; font-weight: 600; }
.sp-ex-card:target { border-color: #903; box-shadow: 0 0 0 2px #903; }
/* Contact page. The spam filter's hidden fields are hidden here, not with an inline style (the content security policy refuses those). */
.se-wrap { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 0 !important; width: 0 !important; overflow: hidden !important; opacity: 0 !important; z-index: -1 !important; }
.sp-contactform { max-width: 36em; }
.sp-contactform label { display: block; margin: 0.8em 0 0.25em; font-weight: 600; }
.sp-contactform input[type="text"], .sp-contactform input[type="email"], .sp-contactform textarea { width: 100%; box-sizing: border-box; padding: 0.5em; font: inherit; border: 1px solid #999; border-radius: 4px; background: #FFF; }
.sp-contactform input:focus, .sp-contactform textarea:focus { outline: 2px solid #903; outline-offset: 1px; }
.sp-contactform .err { display: block; margin-top: 0.25em; }
.sp-contact .status { padding: 0.6em 0.9em; border-radius: 6px; }
.sp-contact .status.ok { background: #eef7ee; font-size: 1.1em; font-weight: 600; }
.sp-contact .status.err { background: #faf0f3; }
@media (max-width: 760px) {
  .sp-contactform input[type="text"], .sp-contactform input[type="email"], .sp-contactform textarea { font-size: 16px; }
}
/* Skip link: first thing a keyboard visitor tabs to */
.sp-skip { position: absolute; left: 0.5em; top: -4em; background: #903; color: #FFF; padding: 0.5em 0.9em; border-radius: 0 0 6px 6px; z-index: 10; font-weight: 700; }
.sp-skip:focus { top: 0; }
