/* Copyright (c) Jason Kirtland */

body {
    margin-top: 0;
    background: #F3C056 url(/i/body-bg.png) repeat;
}

.main {
    background-color: #F8F4ED;
    min-height: 50em;
}

a, a:link {
    color: #2069ae;
    text-decoration: none;
}
a:visited, a:hover, a:active {
    color: #3f7ab1;
}
a:hover {
    text-decoration: underline;
}

a.out:after, .out_:after {
    content: "»";
    padding-left: 0.15em;
    color: red;
}

#header, #footer {
    color: #7f7f7f;
    font-size: 0.8em;
}
#header {
    background: #e3a41f url(/i/bg3-lg-b.png) repeat-x left bottom;
    margin-top: 12px;
    background-color: #E3A41F;
    border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    height: 68px;
}
#header p, #footer p {
    padding: 8px;
    margin: 0;
}

#header img {
    float: left;
    margin: 2px 8px 0 2px;
}

#footer {
    margin-bottom: 6px;
    background-color: #E3A41F;
    background: #E3A41F url(/i/bg3-lg-t.png) repeat-x left top;
    border-radius: 0 0 8px 8px;
    -moz-border-radius: 0 0 8px 8px;
    -webkit-border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
}

#header ul {
    margin: 0 0 0 258px;
    padding: 3px 0;
    border-bottom: 1px solid #F3C056;
}

#header ul a, #header ul a:link, #header ul a:visited {
    border: 1px solid #7f7f7f;
    border-radius: 8px 2px 0 0;
    -moz-border-radius: 8px 2px 0 0;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 2px;
    padding: 1px 0.5em;
    color: #4f4f4f;
    background-color: #f8f4ed;
    text-decoration: none;
    background-image: url(/i/x-bling-sm.png);
    background-repeat: no-repeat;
}

#header ul a:hover, #header ul a:active, #header ul a:focus {
    border: 1px solid #7f7f7f;
    background-color: #7f7f7f;
    color: #fff;
}

body.about #header a.about,
  body.blog #header ul a.blog,
  body.projects #header ul a.projects,
  body.consulting #header ul a.consulting,
  body.talks #header ul a.talks,
  body.bookshelf #header ul a.bookshelf {
    background-color: #F3C056;
    border-color: #F3C66A;
    color: #3f3f3f;
}

body.about #header a.about:hover,
  body.blog #header ul a.blog:hover,
  body.projects #header ul a.projects:hover,
  body.consulting #header ul a.consulting:hover,
  body.talks #header ul a.talks:hover,
  body.bookshelf #header ul a.bookshelf:hover {
    border-color: #7f7f7f;
}

#header li {
    padding-right: 1px;
    display: inline;
}

.disco ul.b > li > a > img {
    float: right;
    margin-bottom: 1em;
    padding-left: 0.5em;
}
.disco ul.b > li {
    clear: right;
    list-style-type: none;
    margin: 0 0 1em 0;
    padding: 0;
    border: solid #eec673;
    border-width: 0 0 1px 2px;
    min-height: 84px;
}
.disco ul.b li li {
    list-style-type: disc;
    margin-bottom: 0.5em;
}
.disco ul.b li div {
    margin: 0.75em 2.5em;
}
.disco ul.b li p {
    display: inline;
    font-size: 0.9em;
}
.disco ul.b li div > br {
    margin-bottom: 1em;
}

.disco h3 { color: #332507; clear: both; }

h2.breakout, h3.breakout {
    border: solid #eec673 0;
    border-bottom-width: 2px;
}

.disco br.clear { clear: both }

.bling {
    background-image: url(/i/x-bling.png);
    background-repeat: no-repeat;
}

.disco blockquote.note {
    border: solid #e2c62b 1px;
    border-color: #e2c62b #cdb42c #cdb42c #e2c62b;
    padding: 0 0.5em 0.25em 0.5em;
    -moz-border-radius: 8px 0 0 0;
    background-color: #f7da29;
    margin-top: 2em;
}
.disco blockquote.note p {
    margin: 0;
}
.disco blockquote.note .callout {
    margin: -1em 0 0.5em 2em;
    background-color: white;
    width: 15em;
    text-align: center;
    font-weight: bold;
    background-color: #f7da29;
    border: solid #B7A32E 1px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}