article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
a:hover,a:active{outline:0;}
sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
sup{top:-0.5em;}
sub{bottom:-0.25em;}
img{height:auto;border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;}
button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
button,input{*overflow:visible;line-height:normal;}
button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
textarea{overflow:auto;vertical-align:top;}
body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333333;background-color:#ffffff;}
a{color:#0088cc;text-decoration:none;}
a:hover{color:#005580;text-decoration:underline;}
p{margin:0 0 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;}p small{font-size:11px;color:#999999;}
h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility;}
h1{font-size:30px;line-height:36px;}
h2{font-size:24px;line-height:36px;}
h3{line-height:27px;font-size:18px;}
h4,h5,h6{line-height:18px;}
h4{font-size:14px;}h4 small{font-size:12px;}
h5{font-size:12px;}
ul,ol{padding:0;margin:0 0 9px 25px;}
ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
ul{list-style:disc;}
ol{list-style:decimal;}
li{line-height:18px;}
strong{font-weight:bold;}
em{font-style:italic;}
code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;}
pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;white-space:pre;white-space:pre-wrap;word-break:break-all;word-wrap:break-word;}pre.prettyprint{margin-bottom:18px;}
pre code{padding:0;color:inherit;background-color:transparent;border:0;}
label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px;}
input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
label{display:block;margin-bottom:5px;color:#333333;}
input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
label input,label textarea,label select{display:block;}
input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;}

html:before {
    /* This is the gradient bar across the top of the screen */
    content: '';
    display: block;
    height: 10px;
    width: 100%;
    background: linear-gradient(to right, rgb(250, 125, 175) 0%,#7db9e8 100%);
    margin-bottom: 10px;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    top: 0;
    right: 0;
}

body {
    display: block;
    text-align: left;
    margin-left: auto !important;
    margin-right: auto;
    max-width: 1000px;
    /* iPhone X notch support, per https://webkit.org/blog/7929/designing-websites-for-iphone-x/ */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    /* end iPhone X notch support */
}

h1, h2, h3, a.fn-link {
    font-family: "arial rounded mt bold", "helvetica neue", helvetica, arial;
}

h1 {
    margin-bottom: 10px;
}

a {
    color: #296dcc;
}

h2 a {
    color: inherit;
}

.previous-year {
    color: #555;
}

p.previous-year-preamble {
    font-style: italic;
}

a:hover, a.fn-link, a.fn-return {
    color: #cc3370;
}

a.fn-link {
    color: #fff;
    background-color: #296dcc;
    border-radius: 2px;
    height: 1em;
    margin: 0 1px;
    padding: 0 0.25em;
}

a.fn-link:hover {
    text-decoration: none;
}

nav {
    float: left;
    margin-left: 20px;
    width: 300px;
}

nav h2 {
    font-size: 1.2em;
    line-height: 1.2em;
    margin-bottom: 0.5em;
    margin-top: 1em;
}

article {
    float: left;
    margin-bottom: 40px;
    margin-left: 20px;
    width: 620px;
}

article p {
    text-align: justify;

    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-last: always;
    -webkit-hyphenate-limit-zone: 8%;

    -moz-hyphens: auto;
    -moz-hyphenate-limit-chars: 6 3 3;
    -moz-hyphenate-limit-lines: 2;
    -moz-hyphenate-limit-last: always;
    -moz-hyphenate-limit-zone: 8%;

    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: 6 3 3;
    -ms-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-last: always;
    -ms-hyphenate-limit-zone: 8%;

    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    hyphenate-limit-zone: 8%;
}

article h1 a {
    color: #333;
    text-decoration: none;
}

code {
    color: #333;
}

h1#narrow-title {
    display: none;
}

.slightly-rounded {
	border-radius: 5px;
}

.rounded {
    border-radius: 10px;
}

.drop-shadow {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}

figure {
    display: inline-block;
    width: min-content;
}

figcaption {
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

.inline-image {
    max-width: 300px;
}

img.small-inline-image {
    max-width: 200px;
}

.float-image-left {
    float: left;
    margin: 0 10px 10px 10px;
}

.float-image-right {
    float: right;
    margin: 0 10px 10px 10px;
}

.full-width-image {
    max-width: 100%;
    margin: 10px 0;
    width: max-content;
}

.full-width-image img {
    max-width: 100%;
}

/* Make anchors scroll to reasonable places */
a[name]:not([href]) {
    margin-top: -1em;
    position: absolute;
    display: inline-block;
}

/* Notification sign-up */
.hidden {
    display: none;
}

#notify-subscribe-container {
    text-align: center;
}

#notify-subscribe {
    background: rgba(145, 175, 225, 0.25);
    border-radius: 10px;
    margin: 20px auto;
    max-width: 400px;
    text-align: left;
    padding: 20px;
}

#notify-subscribe p {
    -webkit-hyphens: none;
    hyphens: none;
}

#notify-subscribe img {
    float: right;
    margin-left: 20px;
    margin-top: 10px;
}

#notify-form {
    margin-bottom: -10px;
    margin-top: 20px;
}

#notify-subscribe input[type="email"] {
    width: auto;
}

#notify-subscribe input[type="submit"] {
    background: rgba(145, 175, 225, 0.5);
    border: 1px solid rgb(145, 175, 225);
    color: #555;
    box-shadow: none;
    padding: 4px 10px;
}

@media only screen and (max-width: 1024px) {
    h1#narrow-title {
        display: block;
        margin: 0 20px; /* same left/right margins as `article` */
    }

    article {
        width: auto;
        margin: 0 20px 20px 20px;
    }

    .inline-image {
        max-width: 200px;
    }

    .full-width-image, .full-width-image img {
        max-width: 100%;
        width: auto;
    }

    nav {
        display: block;
        box-sizing: border-box;
        margin: 0;
        padding: 0 20px 20px 20px;
        width: 100%;
    }

    nav .float-image-right {
        margin-right: 0;
    }

    nav a[name="sidebar-title"] {
        display: block;
    }
}

@media only screen and (any-pointer: coarse),
       only screen and (max-width: 1024px) {
    /* Spread things out so Google Search Console doesn't complain about the links on the name-ideas page being too close together */
    li {
        margin-bottom: 0.5em;
    }
}
