/**
 * cjohansen.no version 3
 *
 * Christian Johansen, 2008-09-12
 */
html,
body,
* {
    margin: 0;
    padding: 0;
}

html {
    background: url(../images/skulls.png) -5px 0 #000;
    color: #e8ece9;
}

body {
    font-family: Sans, "Bitstream Vera Sans", Helvetica, Calibri, Arial, sans-serif;
    font-size: 100%;
    background: url(../images/gradient.png) 0 -9px repeat-x;
}

#skip {
    position: absolute;
    left: -1000em;
}

#page {
    width: 46.5em;
    margin: 0 auto;
    position: relative;
}

a:link img,
a:visited img,
a:hover img,
a:active img,
img {
    border: none;
}

h1,
h2,
h3 {
    font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Constantia, "Palatino Linotype", Palatino, Georgia, "Times New Roman", Times, serif;
}

h1 {
    font-size: 2em;
    line-height: 2.25em;
}

h2 {
    font-size: 1.5em;
    line-height: 1.5em;
    position: relative;
}

h2.long {
    margin-top: -1em;
}

h3 {
    font-size: 1.2em;
    line-height: 1.25em;
}

h4,
h5,
h6,
p,
ul,
ol,
address,
blockquote,
dl,
table {
    font-style: normal;
    font-size: 0.875em;
    margin: 0 0 0.8571em;
    line-height: 1.7142em;
}

p + ul {
    margin-top: 1em;
}

h4 {
    margin: 0;
}

ul *,
table *,
blockquote * {
    font-size: 1em;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

ul {
    margin-left: 15px;
}

ol {
    margin-left: 24px;
}

ol,
ol li {
    list-style-type: decimal;
}

fieldset,
iframe {
    border: none;
}

blockquote {
/*    margin: -0.8571em 0 0.8571em;*/
    border-left: 0.25em solid #e5e5e5;
    padding: 0.8571em 1.7142em 0.8571em 1.4642em;
    background: #f3f3f3;
}

pre + blockquote,
h2 + blockquote {
    margin-top: 0;
}

blockquote p {
    font-style: italic;
    font-size: 0.8571em;
    line-height: 2em;
    margin: 0;
}

blockquote cite {
    text-align: right;
    display: block;
}

code {
    background: #f3f3f3;
    padding: 0.1em;
    font-size: 12px;
    font-family: monospace, "Consolas", "Bitstream Vera Sans Mono", "Lucida Console", "Courier New", Courier, monospace;
}

a,
a:link,
a:visited,
a code {
    color: #d74922;
    /*color: #c00;  Christmas */
    text-decoration: underline;
}

h1 a:link,
h2 a:link,
h3 a:link,
h4 a:link,
h5 a:link,
h6 a:link,
h1 a:visited,
h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
    color: #000;
    text-decoration: none;
}

.tweet h2 a:link,
.tweet h2 a:visited,
.tweet h3 a:link,
.tweet h3 a:visited {
    color: #d74922;
}

a[href^="http"]:visited {
    color: #ad9607;
}

a[href^="http://www.cjohansen.no"]:visited {
    color: #b2ac00;
}

a:hover,
a:active {
    text-decoration: none;
}

/* Branding */
#branding {
    margin: 0.4em 0 0.6em;
    height: 1.05em;
    font-size: 1.5em;
    line-height: 0.85;
    font-variant: small-caps;
    color: #fff;
    float: left;
}

#branding a,
#branding h1 {
    display: block;
    width: 228px;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    background: url(../images/cjohansen.png);
    /*background: url(../images/cjohansen_christmas.png);*/
}

/* Menu */
#nav {
    float: right;
    margin: 0;
}

#nav li {
    list-style: none;
    float: left;
}

#nav li a {
    font-size: 0.875em;
    line-height: 3.9182em;
    padding: 0 0.8571em;
    float: left;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

#nav .active a:link,
#nav .active a:visited {
    text-decoration: underline;
}

#nav li a:link,
#nav li a:visited {
    text-decoration: none;
}

#nav li a:hover {
    text-decoration: underline;
}

#nav #rss {
    margin: 0.65em 0 0 1.5em;
}

#nav #rss a {
    float: left;
    width: 32px;
    padding: 32px 0 0;
    height: 0;
    overflow: hidden;
    background: url(../images/rss.png);
}

/* Article area */
#content {
    position: relative;
    top: 0.125em;
    clear: both;
    padding: 1.375em 4.375em;
    background: url(../images/grey_shadow.png) 0 0 repeat-x #fff;
    color: #000;
    border: 0.125em solid #ccc;
    border-top: none;
    border-bottom: none;
    overflow: auto;
}

* html #content {
    height: 1%;
}

.frontpage #content {
    padding: 1.375em 4.375em 1.375em;
}

#content strong {
    padding: 0.2em;
}

.image {
    margin: 0 0 1.5em;
}

.image img {
    display: block;
    margin: auto;
}

.right {
    float: right;
    margin-left: 1.5em;
}

.left {
    float: left;
    margin-right: 1.5em;
}

.right img,
.left img {
    margin: 0;
}

p.post-meta {
/*    margin: -2em 0 2em;*/

    line-height: 2em;
    font-size: 0.75em;
    color: #5e5e5e;
}

.post-meta .comments {
    white-space: nowrap;
}

div.post-meta {
    font-size: 0.8571em;
    line-height: 1.75em;
    padding: 1em 3.75em 1em 1.75em;
    margin: 0 -1.75em 1.75em;
    background: #e5e5e5;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

.post-meta p {
    margin: 0;
}

li p {
    margin: 0;
}

li ul,
li ol {
    margin: 0 0 0 1.7142em;
}

/* Syntax highlighting */
pre code {
    display: block;
    padding: 0.5em;
    margin: 0 0 0.8571em;
    background: #000;
    color: #ddd;
    line-height: 1.5;
/*    font-size: 1em;*/
    font-size: 12px;
}

code span {
    font-weight: bold;
}

code .keywords {
    color: #cf6a4c;
}

code .keywords,
code .tag,
code .selectors {
    color: #3f83c9;
}

code .comment {
    color: #999;
}

code .string {
    color: #4e9a06;
}

code .brackets {
    color: #fff;
}

code .symbol,
code .global,
code .attribute,
code .properties,
.ruby .constant {
    color: #c4a000;
}

.ruby .symbol {
    color: #854091;
    color: #900;
}

/* Footer */
#footer {
    position: relative;
    margin: 0;
    clear: both;
    overflow: hidden;
}

#comments {
    padding: 1.5em 0 3em;
    border-top: 0.125em solid #222;
    background: #000;
}

#comments h2,
#comments ol,
#comments form,
#about .content {
    width: 37.5em;
    margin: 0 auto;
}

#comments h2 {
    line-height: 1.5em;
    font-family: Sans, "Bitstream Vera Sans", Helvetica, Calibri, Arial, sans-serif;
    font-size: 1em;
    font-variant: small-caps;
    font-weight: bold;
    margin: -0.75em auto 0.75em;
}

#comments ol {
    font-size: 1em;
    margin-bottom: 1.5em;
}

li.comment {
    position: relative;
    list-style: none;
    margin: 0 0 1.5em;
}

.comment .image {
    position: absolute;
    top: 0;
    left: -3.5em;
}

.comment blockquote {
    background: #111;
    border-left: 0.25em solid #222;
    margin: 0;
    padding: 1em 2em 1em 1.75em;
    font-size: 1em;
    line-height: 2em;
    position: relative;
    top: 1em;
}

#comments pre {
    font-size: 1.25em;
    margin: 0.75em 0;
    background: #060606;
    padding: 0 0.5em 0 1.75em;
    border-left: 0.25em solid #111;
}

#comments code {
    font-size: 12px;
    background: #060606;
    padding: 0.3em;
}

#comments pre code {
    font-size: 1.1em;
    padding: 0.3em 0;
}

.comment p,
.comment .entry-content {
    font-size: 1em;
    line-height: 2em;
    margin: 0;
}

#comments .comment .entry-content ol,
#comments .comment .entry-content ul {
    font-size: 1em;
    line-height: 2em;
    margin: 0 0 1.7142em 1.7142em;
}

#comments .comment .entry-content ul {
    margin-left: 1.4em;
}

#comments .comment .entry-content ul li {
    list-style: disc;
}

.vcard {
    overflow: auto;
    background: #1c1c1c;
    margin: 0 -1.5em 0;
    padding: 0 1.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

* html .vcard {
    height: 1%;
}

.vcard h3,
.vcard p,
form h3,
form label,
.help {
    float: left;
    padding: 0 .5em 0 0;
    margin: 0;
    font-family: Sans, "Bitstream Vera Sans", Helvetica, Calibri, Arial, sans-serif;
    font-size: 0.75em;
    line-height: 2em;
}

.vcard p {
    color: #a8a8a8;
}

.vcard h3 {
    font-weight: bold;
}

.comment .entry-content {
    font-size: 0.75em;
    line-height: 2em;
}

fieldset {
    overflow: auto;
}

* html fieldset {
    height: 1%;
}

form h3 {
    float: none;
    font-weight: bold;
    background: #1c1c1c;
    margin: 0 -2em 2em;
    padding: 0 2em;
    -moz-border-radius: 0.6667em;
    -webkit-border-radius: 0.6667em;
    border-radius: 0.5em;
}

form input,
form textarea {
    float: left;
    font-size: 0.75em;
    margin: 0.125em 0 0;
}

form textarea {
    width: 30em;
    height: 11.5em;
    margin: 0.125em 0 .625em;
    font-size: 1em;
}

form label {
    width: 6.5em;
    clear: left;
    padding-right: 1.5em;
}

.field {
    overflow: auto;
}

.help {
    margin: 1.5em 0 0 0;
    width: 38em;
    overflow: auto;
    float: none;
}

.field .help code {
    background: #222;
}

* html .field {
    height: 1%;
}

.error {
    background: #111;
}

.error * {
    color: #c00;
}

#comment_protect label,
#comment_protect input {
    float: none;
    display: block;
    width: auto;
    margin: 0;
}

#comment_protect input {
    width: 3em;
}

#comments .button {
    position: relative;
    left: 6em;
    overflow: auto;
    margin: -0.125em 0;
}

/* License */
#about {
    padding: 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

#about .email {
    position: absolute;
    right: 0;
}

.frontpage #about,
.search #about {
    border-top: 0.125em solid #222;
    margin-top: -1.625em;
    padding: 0;
}

.frontpage #about .content,
.search #about .content {
    width: 40.5em;
}

#about p {
    margin: 0;
    line-height: 4em;
    position: relative;
    font-size: 0.75em;
}

.license {
    position: relative;
    top: 0.25em;
    padding: 0 1.5em;
}

/* Frontpage / articles */
#main_content {
    float: left;
    width: 24em;
    padding-top: 1.5em;
    margin-left: -1.5em;
}

#main_content h1 {
    margin-top: -0.75em;
}

.article {
    margin: 0 0 3em;
}

.article h2 a:link,
.article h2 a:visited {
    text-decoration: underline;
}

.article h2 a:hover {
    color: #d74922;
    /*color: #c00; /* Christmas */
    text-decoration: none;
}

/* Frontpage / movies */
#aside {
    width: 15em;
    float: right;
    padding-top: 1.5em;
    margin-right: -3em;
}

#aside p,
#aside ol {
    font-size: 0.75em;
    margin: -2em 0 2em;
    line-height: 2em;
}

#aside ol li {
    list-style: none;
}

.all-cat {
    white-space: nowrap;
}

.movie,
.album {
    padding: 0;
    margin: 0 0 1.5em;
    overflow: auto;
}

* html .movie,
* html .album {
    height: 1%;
}

.movie .title,
.album .title {
    font-weight: bold;
}

.movie h3,
.movie p,
.album h3,
.album p,
#aside h2 {
    font-size: 0.75em;
    line-height: 2em;
    font-family: Sans, "Bitstream Vera Sans", Helvetica, Calibri, Arial, sans-serif;
}

.movie h3 a,
.album h3 a {
    padding: 0.38em 0;
}

.genres {
    font-size: 0.75em;
    line-height: 2em;
    margin: -1em 0 1em;
}

h2.subtitle {
    margin: -.5em 0 .5em;
    line-height: 2em;
}

#aside h2 {
    font-weight: bold;
    text-transform: uppercase;
    background: #eee;
    margin: 0 -1em 2em;
    padding: 0 1em;
    overflow: auto;
    -moz-border-radius: 0.75em;
    -webkit-border-radius: 0.75em;
    border-radius: 0.75em;
}

* html #aside h2 {
    height: 1%;
}

#aside .movie p,
#aside .album p {
    margin: 0 0 2em;
}

#aside .movie .published,
#aside .albume .published {
    color: #5e5e5e;
    margin: 0;
}

.movie .image,
.album .image {
    float: right;
    margin: 0 0 0 1.125em;
}

.archive .movie .image,
.search .movie .image,
.archive .album .image,
.search .album .image {
    float: left;
    margin: 0 1.125em 0 0;
}

.search #info { margin: -1.5em 0 1.5em; }

.movie .image img,
.album .image img {
    margin: 0;
}

.more a span,
a.more span {
    display: none;
}

.intro {
    margin: 0;/* 0 1.5em;*/
}

.intro p {
    display: inline;
    font-size: 0.75em;
    line-height: 2em;
}

.project .intro {
    margin: 0;
}

.project .intro p {
    display: block;
    font-size: 0.875em;
    margin: 0 0 1.7142em;
    line-height: 1.7142em;
}

* html .rating-line {
    display: none;
}

#page .movie .rating-line,
#page .album .rating-line {
    width: 72px;
    margin: 4px 0 0;
    background: url(../images/stars.png) 0 0;
}

#page .cover .rating-line {
    width: 96px;
    margin: 6px 0 2px;
    background: url(../images/stars.png) 0 -24px;
}

.rating-line abbr {
    padding-top: 12px;
    overflow: hidden;
    height: 0;
    display: block;
    border: none;
    background: url(../images/stars.png) 0 -12px;
}

.cover .rating-line abbr {
    padding-top: 16px;
    background-position: 0 -40px;
}

.cover p {
    margin: 0;
    font-size: 0.75em;
    line-height: 2em;
}

/* Search */
#search label {
    position: absolute;
    left: -1000em;
}

#search input,
#search fieldset {
    float: left;
    margin-right: .5em;
}

#search .button {
    position: relative;
    top: -.2em;
}

#search {
    overflow: auto;
    padding: 0 0 2.8em;
}

* html #search {
    height: 1%;
}

.paging {
    margin: 0 0 3.4284em;
    overflow: auto;
}

* html .paging {
    height: 1%;
}

.paging li {
    list-style: none;
    float: left;
    margin: 0 0.5em 0 0;
}

.paging a,
.paging span {
    float: left;
    padding: 0 0.75em;
    background: #eee;
}

.paging a:hover {
    background: none;
    color: #000;
}

.paging span {
    background: none;
    font-weight: bold;
    padding: 0 0.5em;
}

#debug {
    color: #222;
}

/* Calendar stuff */
.calendar h2 span {
    float: left;
    width: 40px;
    height: 35px;
    padding: 7px 2px 0 0;
    text-align: center;
    font-size: 0.8em;
    margin: 6px 6px 0 -2px;
    background: url(../images/calendar.png) 0 0 no-repeat;
}

.calendar .intro,
.calendar .post-meta {
    padding-left: 48px;
}

.calendar .image {
    margin-right: -40px;
}

