@font-face {
    font-family: "Chunk Five";
    src: url(Chunkfive.otf);
}

/* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */
@font-face {
    font-family: "Museo Sans";
    src: url(MuseoSans_500.otf);
}

* {
    margin: 0;
    padding: 0;
}

img {
    border: none;
}

body {
    font-size: 13px;

    font-family: "Verdana", sans-serif;
    line-height: 1.5;
    background: #EEE url(jeremyday-bg-pale.png) fixed 0 0;
}

#home-link {
    position: absolute;
    top: 0;
    left: 0;
}

#top {
    position: relative;
    padding: 1px 0;
    height: 173px;
    background: #CC004C url(jeremyday-bg.gif) fixed 0 0;
}

h1 {
    font-size: 6em;
    margin: 0.667em 10px 0;

    font-family: "Chunk Five", "Clarendon BT", "Clarendon", sans-serif;
    color: #FFF;
    text-shadow: #000 1px 1px 3px;
}

h1 img {
    display: block;
}

#tabs {
    position: absolute;
    top: 125px;
    left: 0;
    width: 100%;
    height: 50px;
}

#tabs ul {
    float: right;
}

#tabs li {
    float: left;

    list-style-type: none;
    font-family: "Chunk Five", "Clarendon", "Clarendon BT", serif;
    color: #EEE;
    text-align: center;
}

#tabs li#tab-home {
    background: url(jeremyday-bg-dark.png) left top fixed;
}

#tabs li#tab-projects {
    color: #333;
    background: url(wares-180.jpeg) 50% 50% no-repeat;
}

#tabs li#tab-whores {
    background: url(wares-whores-180.jpeg) 50% 50% no-repeat;
}

#tabs li#tab-1999 {
    color: #333;
    background: url(link-1999.png) left bottom no-repeat;
}


#tabs li a,
#tabs li b {
    font-size: 16px;
    display: block;
    width: 100px;
    height: 16px;
    padding: 17px;
    line-height: 1;

    color: inherit;
    text-decoration: none;
}


#tabs li.active b {
    background: #EEE url(jeremyday-bg-pale.png) left top fixed;
    color: #333;
}

#tabs li a {
    background: url(tab.png) left bottom no-repeat;
}

#tabs li#tab-home a {
    background: transparent;
}

#tabs li a:hover,
#tabs li a:active {
    color: #CC004C;
    text-decoration: underline;
}

.tabs-overlay {
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 536px;
    /* 4 * 134px */
    height: 50px;
}

.tabs-overlay a {
    display: block;
    position: absolute;
    width: 134px;
    height: 50px;
}

p {
    margin: 0.616em 10px;
    max-width: 460px;
}

.clear {
    clear: both;
}

#trail {
    margin: 0;
    width: 220px;
    padding: 0.333em 10px;
    background-color: #CC004C;
    color: #FF88CC;
}

#trail a {
    color: #FFF;
}

.content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.content-clear {
    display: none;
}


/*
* Front page basic layout
*/

.tws-col {
    width: 240px;
    order: 1;
}

.main-col {
    width: 560px;
    order: 2;
}

.appearances-col {
    width: 160px;
    order: 3;
}

@media (min-width: 1060px) {
    .main-col {
        width: 640px;
    }
}

@media (min-width: 1140px) {
    .appearances-col {
        width: 240px;
    }
}

@media (min-width: 1220px) {
    .appearances-col {
        margin-left: 80px;
    }
}

@media (min-width: 1300px) {
    .content {
        justify-content: space-evenly;
    }
}

/* Weekly Strip */

#tws li,
.tws-year li {
    font-size: 0.85em;
    float: left;

    list-style-type: none;
}

#tws li {
    clear: both;
    width: 100%;
}

.tws-year li {
    width: 240px;
}

#tws li a,
.tws-year li a {
    display: block;
    float: left;
    width: 220px;
    padding: 0.5em 10px;

    color: inherit;
    text-decoration: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

#tws li a:hover,
.tws-year li a:hover {
    z-index: 10;

    background-color: #FFF;
    -moz-box-shadow: #000 2px 2px 5px;
    -webkit-box-shadow: #000 2px 2px 5px;
}

#tws li a:active,
.tws-year li a:active {
    background-color: #FFF;
    -moz-box-shadow: #000 1px 1px 3px;
    -webkit-box-shadow: #000 1px 1px 3px;
}

#tws li a:hover b,
.tws-year li a:hover b {
    color: #CC004C;
    text-decoration: underline;
}

#tws li img,
.tws-year li img {
    display: block;
    float: left;
    margin-right: 10px;
}

#tws li b,
#tws li time,
.tws-year li b,
.tws-year li time {
    display: block;
}

#tws li time,
.tws-year li time {
    font-size: 11px;
}

/* Main */

#main a:link {
    color: #CC004C;
    text-decoration: none;
    border-bottom: 1px solid #FF6699;
}

#main a:visited {
    color: #660011;
    text-decoration: none;
    border-bottom: 1px solid #FF448F;
}

#main a:hover {
    color: #CC004C;
    background-color: #FFF;
    border-bottom: 1px solid #CC004C;
}



#main p {
    margin: 0.616em 10px 1.23em;
    max-width: 620px;
}

.picture.captioned {
    position: relative;
}

.picture.left {
    float: left;
    margin: 0 20px 0 10px;
}

.picture.right {
    float: right;
    margin: 0 10px 0 20px;
}

.picture small {
    font-size: 1em;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    -moz-transform: rotate(-90deg) translate(100%, 0) translate(0, 1em);
    -moz-transform-origin: right bottom;
    -webkit-transform: translate(100%, 0) translate(1em, 0) rotate(-90deg);
    -webkit-transform-origin: left bottom;

    color: #999;
    font-variant: small-caps;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.picture a {
    color: inherit;
    text-decoration: none;
}

#main .picture a {
    border: none;
}

.picture a img {
    display: block;
}

.picture a:hover small {
    color: #CC004C;
    text-decoration: underline;
}

.entry h3 {
    margin: 1.23em 10px 0.616em;
    width: 540px;
    color: #CC004C;
}

.entry-info {
    display: block;
    float: left;
    margin: 0.25em 10px;
    width: 60px;

    font-family: "Museo Sans", sans-serif;
}

.entry-info img {
    display: block;
    width: 60px;
    height: 60px;
}

.entry-info small {
    display: block;
    font-size: 0.85em;
    margin: 10px 0 10px 0;

    text-align: center;
    color: #999;
}

.entry-info span.weekday {
    display: block;
    font-size: 1em;

    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.entry-info span.day {
    display: block;
    font-size: 3em;

    text-align: center;
    line-height: 1;
}

.entry-info span.month {
    display: block;
    font-size: 0.85em;

    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.entry-content {
    position: relative;
    margin: 0 0 1.23em;
    padding: 0 10px 0 90px;
}

.entry-footer {
    clear: both;
    margin: 1.23em 0;
    padding: 0 0 0 80px;
}


h4 {
    font-size: 1em;
    float: left;
    width: 50px;
    margin: 0.616em 0 0 -70px;

    font-weight: normal;
    color: #999;
}

.entry-footer {
    clear: both;
}


/* Twitter */

.appearances-tweets {
    background-color: #FFF;
}

ul.links {
    padding: 0.25em 0;
}

.links li {
    list-style-type: none;
}

.links li img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

#cleanskies li {
    font-size: 0.85em;
    list-style-type: none;
}

#cleanskies li img {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin: 0 5px 0 0;
}

.links li a,
#cleanskies li a {
    display: block;

    color: inherit;
    text-decoration: none;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.links li a {
    padding: 0.25em 10px;
}

.links li b {
    font-weight: normal;
}

#cleanskies li a {
    padding: 0.5em 10px;
}

.links li a:hover,
#cleanskies li a:hover {
    background-color: #FFF;
    -moz-box-shadow: #000 2px 2px 5px;
    -webkit-box-shadow: #000 2px 2px 5px;
}

.links li a:active,
#cleanskies li a:active {
    -moz-box-shadow: #000 1px 1px 3px;
    -webkit-box-shadow: #000 1px 1px 3px;
}

.links li a:hover b,
#cleanskies li a:hover b {
    color: #CC004C;
    text-decoration: underline;
}

/*
* Projects page
*/

#keywords {
    width: 160px;
    float: left;
}

#keywords li {
    margin: 0.67em 10px 0.67em 30px;
}

h2 {
    font-size: 1.38em;
    /* Often this will be 18px */
    clear: both;
    padding: 0.89em 10px 0;

    font-family: "Museo Sans", sans-serif;
    text-transform: lowercase;
    line-height: 1.333;
    font-weight: normal;
    color: #CC004C;
    background-color: #FC3;
}

h2.loading {
    background-image: url(ajax-loader.gif);
    background-position: right 18px;
    background-repeat: no-repeat;
}

#links {
    width: 800px;
    float: left;
}

#links ul {
    margin: 0.67em 0;
}

#links li {
    list-style-type: none;
}

#links a {
    display: block;
    min-height: 70px;

    color: inherit;
    text-decoration: inherit;
}

#links a:hover {
    background-color: #FFF;
    -moz-box-shadow: #000 1px 1px 5px;
    -webkit-box-shadow: #000 1px 1px 5px;
}

#links a:active {
    background-color: #FFF;
    -moz-box-shadow: #000 1px 1px 3px;
    -webkit-box-shadow: #000 1px 1px 3px;
}

h3 {
    font-size: 1.38em;
    margin: 0 10px;
    width: 620px;

    font-family: "Museo Sans", sans-serif;
    font-weight: normal;
    text-transform: lowercase;
}

#links h3 {
    margin: 0 10px 0 170px;
}

a:hover h3 {
    color: #CC004C;
    text-decoration: underline;
}

h3 img {
    display: block;
    float: left;
    margin: 0 10px 0 -160px;
    max-width: 140px;
    width: 140px;
}

#links li p {
    margin: 0 10px 0.67em 170px;
}

.pagination {
    padding: 0.333em 10px 0.333em 170px;
    clear: both;
    background-color: #DDD;
}

#powered-by {
    width: 960px;
    margin: 20px auto 0;
    color: #FFF;
}

#powered-by p {
    width: 220px;
    margin: 0 0 0 720px;
    padding: 0.33em 10px;

    text-align: center;
    background: #444 url(jeremyday-bg-dark.png);
}

#powered-by a {
    color: #FFF;
}

/** Time for the weekly strip */

#strip {
    width: 800px;
    min-height: 1200px;
    float: left;

    background-color: #FFF;
}

#strip img {
    display: block;
    z-index: 100;
}

#strip-nav {
    width: 160px;
    float: left;
}

#strip-prev-next {
    margin: 0;
}

#strip-prev-next .clear {
    clear: both;
    margin: 0 0 1.23em 0;
}

#strip-prev-next a {
    font-size: 0.85em;
    display: block;
    float: left;
    width: 80px;
    overflow: hidden;
    position: relative;

    text-decoration: none;
}

#strip-prev-next a img {
    display: block;
    width: 80px;
    height: 80px;
}

#strip-prev-next a:hover {
    z-index: 1;
    -moz-box-shadow: #000 2px 2px 5px;
    -webkit-box-shadow: #000 2px 2px 5px;
}

#strip-prev-next a:active {
    -moz-box-shadow: #000 1px 1px 3px;
    -webkit-box-shadow: #000 1px 1px 3px;
}

#strip-prev-next a span {
    display: block;
    position: absolute;
    top: 0;
    padding: 20px 10px;
    height: 40px;
    width: 60px;
    z-index: 10;

    opacity: 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFF;
}

#strip-prev-next a.prev span {
    text-align: right;
}

#strip-prev-next a.prev:hover span {
    background: url(prev-hover.png) left 50% no-repeat;
    text-align: right;
    opacity: 1;
}

#strip-prev-next a.next:hover span {
    background: url(next-hover.png) left 50% no-repeat;
    opacity: 1;
}

#strip-jumps:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    margin: 0 0 2em 0;
    overflow: hidden;
}

#strip-jumps li {
    display: block;
    float: left;
    margin: 0;
    width: 80px;
    height: 80px;
    position: relative;

    list-style-type: none;
}

#strip-jumps a {
    display: block;
    color: inherit;
    text-decoration: none;
}

#strip-jumps a:hover {
    color: #CC004C;
    background-color: #FFF;
    -moz-box-shadow: #000 2px 2px 5px;
    -webkit-box-shadow: #000 2px 2px 5px;
}

#strip-jumps a:active {
    color: #CC004C;
    background-color: #FFF;
    -moz-box-shadow: #000 1px 1px 3px;
    -webkit-box-shadow: #000 1px 1px 3px;
}

#strip-jumps li img {
    display: block;
    float: left;
    margin: 0 10px 0 0;
    width: 80px;
    height: 80px;
}

#strip-jumps b {
    font-size: 1.23em;
    display: block;
    position: absolute;
    left: 10px;
    top: 30px;
    width: 60px;

    font-family: "Chunk Five", "Clarendon BT", "Clarendon", serif;
    font-weight: bold;
    text-align: center;
    color: #FFF;
    text-shadow: #000 1px 1px 2px;
}

#strip-jumps a:hover b {
    text-decoration: underline;
    color: #CC004C;
}

#strip-link-to-this li {
    margin: 0.3em 0 0.6em;
    list-style-type: none;
}

.tws-month {
    float: left;
    width: 240px;
}

#tws-jumps p {
    float: left;
    width: 60px;
    height: 20px;
    margin: 0;
    padding: 60px 10px 0px;

    color: #CC004C;
    font-family: "Museo Sans", sans-serif;
    text-transform: lowercase;
    text-align: center;
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
}

#tws-2003-august,
#tws-2004-june,
#tws-2004-october,
#tws-2005-november {
    clear: left;
}

.quiet {
    font-size: .85em;
    color: #888;
}

#content .quiet a:link,
#content .quiet a:visited {
    color: #888;
}

#content .quiet a:hover,
#content .quiet a:active {
    color: #CC004C;
}

.accesibility {
    display: none;
}
