/*
Theme Name: Swiss BMX v2.0
Theme URI: http://www.swissbmx.ch
Description: Swiss BMX Freestyle theme
Version: 2.0
Author: Manuel Hitz
Author URI: http://plothole.net
Tags:
*/

/* LAYOUT */

body {
    text-align: center; /* fucking IE */
}
#page {
    text-align: left; /* fucking IE */
    width: 916px;
    margin-left: auto;
    margin-right: auto;
}
#content,
#footer {
    margin-left: 7px;
    margin-right: 7px;
}
#posts {
    width: 672px;
    padding: 20px;
    float: left;
}
#sidebar {
    width: 170px;
    padding: 10px;
    float: right;
}
#footer {
    clear: both;
}
#nav {
    margin-top: -4px; /* why? */
}
.page_item {
}
.current_page_item {
}

/* STYLE */

/*
    light brown : e9b088
    dark brown : 281000
*/

body, table {
    font-family: Helvetica, sans-serif;
    font-size: .9em;
    margin: 0;
    padding: 0;
    line-height: 130%;
}
body {
    background: black url(./img/background.png) repeat-y 50% 0;
}
ol, ul, li {
    list-style: disc;
}
ol, ul {
	margin: 10px;
}
li {
	margin-left: 10px;
}
h1, h2 {
	margin-bottom: 10px;
	margin-top: 20px;
}
p {
    margin-top: 10px;
    margin-bottom: 10px;
}
a {
    color: black;
}
a img {
    border: 0;
}
strong {
	font-weight: bold;
}
blockquote {
	font-style: italic;
}
#page {
}
#content {
    margin-top: 20px;
}
#header {
}
#footer {
    text-align: center;
    margin-top: 10px;
    border-top: 1px solid black;
    padding: 10px;
    font-size: .8em;
}
#footer p {
    margin: 0;
}

/* navigation/menu */

#nav ul {
    background: white url(./img/menu.png) no-repeat;
    margin: 0;
    padding: 0;
    height: 41px;
    padding-top: 10px;
}
#nav li {
    list-style: none;
    display: inline;
    margin-left: 15px;
}
#nav li.page_item a {
    padding: 5px;
    text-decoration: none;
    color: #e9b088;
}
#nav li.page_item a:hover {
    background: #e9b088;
    color: black;
}

/* sidebar */

#sidebar {
    color: black;
    background: #e9b088;
    margin-bottom: 10px;
}
#sidebar table,
#sidebar a {
    color: black;
}
#sidebar .sectionTitle {
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}
#sidebar #search,
#sidebar #calendar,
#sidebar #archives,
#sidebar #bookmarks {
    margin-bottom: 40px;
}

/* search form */

#sidebar #search input#s {
    width: 100px;
}

/* event & post calendar */

#sidebar #calendar table {
    text-align: center;
    width: 100%;
}
#sidebar #calendar th {
    border-bottom: 1px solid white;
}
#sidebar #calendar ul.ec3_events {
    padding: 10px;
    list-style: none;
}
#sidebar #calendar li.ec3_list {
    list-style: none;
    color: black;
    margin-bottom: 10px;
}
#sidebar #calendar li.ec3_list ul {
    padding: 0;
    margin: 0;
    display: inline;
}
#sidebar #calendar li.ec3_list li {
    list-style: none;
    display: inline;
    margin-right: 5px;
}
#sidebar #calendar a.eventday {
    color: #ed1c24 !important;
}

/* archives list */

#sidebar #archives ul {
    margin: 0;
    padding: 0;
}
#sidebar #archives li {
    list-style: none;
    display: inline;
    margin-right: 5px;
}

/* links/bookmarks */

#sidebar #bookmarks h2 {
    font-size: 1em;
    font-weight: normal;
    padding: 0;
    margin: 0;
    margin-bottom: 3px;
}
#sidebar #bookmarks ul {
    margin: 0;
    padding: 0;
    padding-left: 20px;
    margin-bottom: 20px;
}
#sidebar #bookmarks li {
    margin-bottom: 3px;
}

/* posts */

#posts,
#posts .post {
    margin-bottom: 50px;
}
#posts .post .title a {
    color: #281000;
    text-decoration: none;
}
#posts .post .title {
    font-size: 1.5em;
    margin-bottom: 10px;
}
#posts .post .date,
#posts .post .meta {
    font-size: .8em;
}
#posts h1 {
    font-size: 1.5em;
    margin-top: 40px;
    color: #281000;
    font-weight: normal;
}
#posts h2 {
    font-size: 1em;
    color: #281000;
    font-weight: bold;
}
#posts td {
	padding: 10px;
}

/* next/previous/more links */

#postNavigPrev {
    float: left;
}
#postNavigNext {
    float: right;
}
#postNavigPrev a,
#postNavigNext a {
    color: #281000;
    text-decoration: none;
    font-size: 1.5em;
}
#posts .moreLink a {
    text-decoration: none;
    background: #e9b088;
    color: black;
    padding-left: 4px;
    padding-right: 4px;
}

/* fairtilizer player */

#sidebar iframe {
    margin-bottom: 20px;
}

/* --------------------------------------------------------------

   Default styles for Images

   I've duplicated these styles here from images.css in
   order to get Thematic through the auto-checker at the
   official WordPress Themes directory.

   When the directory can hunt though css files linked
   through @import the styles below will no longer be
   neccesary and will be removed.

   Cheers. --Ian Stewart

-------------------------------------------------------------- */
.entry-content img {
    margin: 0 0 18px 0;
    max-width:100%;
}
.alignleft,
img.alignleft {
    float: left;
    margin-right:20px;
}
.alignright,
img.alignright {
    display: block;
    float: right;
    margin-left:20px;
}
.aligncenter,
img.aligncenter {
    margin-left:auto;
    margin-right:auto;
    display: block;
    clear: both;
}
.wp-caption {
    text-align: center;
    margin-bottom:18px;
}
.wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
}
.wp-caption p.wp-caption-text {
    margin: 0;
    padding:5px;
}
.gallery img {
    margin:0;
}
.wp-smiley { /* Prevent the smileys from breaking line-height */
    max-height:12px;
    margin:0 !important;
}