/*
    Theme Name: Johan Sandberg
    Theme URI: http://www.johansandberg.com/
    Description: CMS theme for Wordpress
    Version: 1.0
    Author: Geoff Parker
    Date: September 21st, 2008
*/

/*reset margins and padding*/

* {
    margin: 0;
    padding: 0;
}

/*typography*/

p {
    font-size: 1.1em;
    margin-bottom: 0.7em;
    line-height: 1.2em;
}

img {
    border: none;
}

img.size-thumbnail {
    float: left;
    display: block;
    margin-right: 10px;
    margin-bottom: 10px;
    height: 59px;
    width: 90px;
}

a {
    color: #333333;
    outline: none;
    text-decoration: none;
}

a:hover {
    color: #999;
    text-decoration: none;
}

br.clear {
    clear: both;
}

h1 {
    font-weight: normal;
    font-size: 2em;
    line-height: 1.35em;
}

h2 {
    font-weight: normal;
    font-size: 1.6em;
    line-height: 1.4em;
    margin-bottom: 0.5em;
}

h3 {
    font-weight: normal;
    font-size: 1.4em;
    line-height: 1.4em;
    margin-bottom: 0.5em;
}

h4 {
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.4em;
    margin-bottom: 0.5em;
}

h5 {
    font-weight: normal;
    font-size: 1em;
    line-height: 1.4em;
    margin-bottom: 0.5em;
}

h1, h2, h3, h4, h5 {
    color: #333;
}

ul, ol {
    margin: 1em 0 1em 1.5em;
}

/*general*/

html, body {
    height: 100%;
}

body {
    background: #fff;
    font-size: 62.5%;
    font-family: Georgia, serif;
    color: #333;
    margin: 0;
    padding: 0;
}

#wrap {
    width: 960px;
    background: #fff;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -2em auto;
}

#main {
    padding: 8em 0 6em 0;
}

#content {
    width: 700px;
    float: left;
}

#splash {
    text-align: center;
    position: absolute;
    overflow: visible;
    visibility: visible;
    height: 1px;
    width: 100%;
    top: 50%;
}

#splash div {
    margin: -300px auto 0px auto;
    width: 700px;
    position: relative;
    overflow: visible;
    text-align: center;
    z-index: 2;
}

#splash img {
    display: block;
    border: none;
    margin-bottom: 4em;
}

#splash img.replacement {
    display: inline;
    border: none;
    margin-bottom: 0;
}

#portfolio_nav {
    float: right;
    text-align: right;
    font-size: 1.8em;
}

#portfolio {
    margin-bottom: 0.5em;
}

#portfolio p {
    float: left;
    margin: 0;
}

#portfolio img {
    display: block;
    border: none;
}

/*menu*/

#menu {
    width: 200px;
    margin-left: 800px;
    position: fixed;
}

#menu ul {
    margin: 0;
}

#menu li {
    list-style: none;
}

#menu ul ul li {
    font-size: 1em;
}

#menu li a {
    font-size: 2em;
    text-decoration: none;
    line-height: 1.35em;
}

#menu li a:hover {
    color: #999 !important;
    text-decoration: none;
}

#menu .page_item ul {
    display: none;
}

#menu .current_page_item ul, #menu .current_page_parent ul {
    display: block;
}

#menu .current_page_item li, #menu .current_page_parent ul li {
    list-style: none;
}

#menu .current_page_item li a {
    font-size: 1.1em;
    line-height: 1.2em;
    color: #333;
}

#menu li.current_page_item > a, #menu li.current_page_ancestor > a {
    color: #999;
}

#menu .current_page_parent ul li a {
    font-size: 1.1em;
    line-height: 1.2em;
}

#menu li.page_item {
    color: #fff;
}

#menu li.current_page_item {
    color: #333;
}

#menu li.current_page_item li {
    margin-left: 0em;
}

#menu li.current_page_parent .page_item {
    margin-left: 0em;
}

#menu li.current_page_parent ul {
    margin-left: 1em;
}

#menu li.current_page_item ul {
    margin-left: 1em;
}

#menu ul ul {
    margin: 0.4em 0;
}

/*portfoilo*/

.post {
    margin-bottom: 1em;
}

/*footer*/

#footer {
    height: 2em;
    background: #eee;
}

#footer p {
    font-size: 1em;
    padding: 0 0.5em;
    line-height: 1.8em;
    margin: 0;
}
