/** Generic element styles **/
html {
  height: 100%;
}

body {
  background: #D3D7CF url("background.gif") top repeat-x;
  font-family: Arial,Helvetica,sans-serif,sans;
  margin: 0;
  padding: 0;
  height: 100%;
}
h1 {
  color: #204A87;
  font-size: 160%;
  font-weight: normal;
}
h2 {
  color: #204A87;
  font-size: 120%;
  font-weight: normal;
  margin: 1.5em 0 1em 0;
}
h3 {
  font-weight: bold;
  font-size: 110%;
  margin: 1.5em 0 -0.5em 0;
}
h4 {
  font-weight: bold;
  font-size: 90%;
  margin: 0.5em 0 -1em 0;
}
p,td,th,li {
  font-size: 90%;
  line-height: 140%;
}
a {
  color: #204A87;
}
a:visited {
  color: #555753;
}
h2 a:visited, h3 a:visited {
  color: #204A87;
}
pre {
  font-family: "Courier New", Courier, monospace;
  background: white;
  padding: 2%;
  overflow: hidden;
  font-size: 85%;
  line-height: 150%;
}
code {
  font-size: 120%;
  background-color: #E1E3DE;
  padding: 0.1em 0.25em;
}
blockquote {
  margin: 1em;
  padding: 1px 1em;
  background-color: #E1E3DE;
  font-style: italic;
}
blockquote p {
  font-size: 100%;
}
dt {
  padding-left: 1em;
  font-style: italic;
}
ul {
  padding: 0 2em;
}
ul.devided li {
  padding-bottom: 0.5em;
}
img {
  border: none;
}
img.left {
  float: left;
  margin-right: 1em;
  margin-bottom: 0.5em;
}
img.right {
  float: right;
  margin-left: 1em;
  padding-bottom: 0.5em;
}
img.stretch {
  width:100%;
}

input, textarea {
  font-size: 100%;
  width: 100%;
}
button {
  font-size: 100%;
}


/* Framework */
#content {
  padding: 1em 3em 1em 3em;
  max-width: 600px;
}
#breadcrumb {
  font-size: 85%;
  background: #D3D7CF url("background_3.png");
  min-height: 24px;
  padding: 8px;
}
#breadcrumb a {
  float: left;
  display: block;
  background: white 8px center url(/style/iphone/arrow-back.png) no-repeat;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 8px 4px 24px;
  margin-right: 8px;
  font-weight: bold;
  color: black;
}
#footer {
  margin: 1em 3em;
  max-width: 600px;
  border-top: 1px dotted #555753;
  clear: both;
}

/** error pages **/
#error {
  background-image: none;
}
#error #framework {
  margin-right: 0;
}
#error #background {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100px;
  width: 800px;
  overflow: hidden;
  background: transparent url(background-error2.png) no-repeat;
}

/** Utility classes **/
.alert {
  color: #e00;
}
.datepost {
  font-size: 80%;
  font-weight: normal;
  color: #888A85;
  margin-top: -1em;
  display: none;
}
.summary {
  font-weight: bold;
  font-size: 100%;
  line-height: 140%;
}
.articlelist {
  list-style: none;
  padding: 0;
  margin: 0 0 1em 0;
}
p.summ {
  margin: 1em 0 -0.5em 0;
  font-size: 100%;
}
p.meta {
  font-size: 100%;
}
a.tag {
  padding-right: 0.5em;
}
.button {
  padding: 0.5em 0;
}
.button a {
  background: right center url("arrow_small.png") no-repeat;
  background-color: white;
  min-height: 32px;
  padding: 8px 38px 8px 16px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
.button a:hover {
  color: white;
  background-color: #555753;
  background-image: url("arrow_small_inv.png");
}
/* portfolio meta */
table.meta {
  border-collapse: collapse;
}
table.meta td, table.meta th {
  vertical-align: top;
}
table.meta th {
  font-weight: normal;
  text-align: left;
  width: 175px;
  padding-right: 0.5em;
}

.clear:after {
  content: ".";  
  display: block; 
  height:  0;  
  clear: both; 
  visibility:  hidden;
}
h2.subtitle {
  margin: -0.6em 0 0.75em 0;
  color: #555753;
  font-weight: normal;
}

.taglist {
  list-style: none;
  margin: 0;
  padding: 0 1em;
}
.taglist li {
  display: inline;
  padding: 0 10px 0 0;
  vertical-align: middle;
  text-transform: lowercase;
}
.taglist a {
  text-decoration: none;
  white-space: nowrap;
}
.taglist a:hover {
  text-decoration: underline;
}
.taglist li span {
  display: none;
}
.taglist li.smallest {
  font-size: 80%;
}
.taglist li.smaller {
  font-size: 100%;
}
.taglist li.small {
  font-size: 140%;
}
.taglist li.medium {
  font-size: 180%;
}
.taglist li.large {
  font-size: 220%;
}
.taglist li.larger {
  font-size: 260%;
}

/* other pages */
#nav li p, #article li p {
  font-size: 100%;
}
#tags A {
  color: #555753;
}

/* Table of contents */
.toc {
  padding: 25px;
  background-color:#C3C7C0;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;  
}
.toc h2 {
  color: #555753;
  font-size: 120%;
  margin: 0 0 0.5em 0;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc ul li.level1 {
  margin: 4px 0 0 0;
  padding: 0 0 0 18px;
  background: transparent 4px center url(arrow_toc.png) no-repeat;
}
.toc ul li.level2 {
  margin: 2px 0 0 0;
  padding: 0 0 0 32px;
  background: transparent 20px center url(dash_toc.png) no-repeat;
}

/* Image gallery */
div.gallery {
  padding: 25px;
  background-color:#C3C7C0;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
div.gallery .thumb {
  width: 50px;
  height: 50px;
  padding: 2px;
  margin: 0 10px 10px 0;
  float: left;
}
div.gallery .thumb:hover {
  background-color: #204A87;
}
div.gallery .selected {
  background-color: #555753;
}
div.gallery .image {
  min-height: 300px;
  background: transparent center url(loading-animated.gif) no-repeat;
  text-align: center;
  vertical-align: middle;
}
div.gallery .image img {
  display: inline-block;
  vertical-align: middle;
}
div.gallery ul {
  list-style: none;
  margin: 0 0 5px 0;
  padding: 0;
}
div.gallery ul li {
  display: inline;
  padding: 0 6px 0 0;
}
div.gallery img {
  border: none;
  /*border: 1px solid #555753;*/
}
div.gallery .selected {
  text-align: center;
  cursor: pointer;
}
div.gallery .label {
  display: block;
  text-align: left;
  color: #30312f;
  margin: 0 0 10px 0;
  padding: 0 0 0 20px;
  background: 3px 4px url(arrow-portfolio.png) no-repeat;
  
}
div.slideshow {
  position: absolute;
  background: transparent url(background-slideshow.png);
  background: black;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
}
div.slideshow .controls {
  text-align: center;
  margin: 20px 0 10px 0;
}
div.slideshow .container {
  margin: 0 20px 20px 20px;
  text-align: center;
  overflow: auto; 
}
div.slideshow .container img {
  border: 1px solid black;
}


div.showcase {
  padding: 25px;
  background-color:#C3C7C0;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;  
}
div.showcase h2 {
  color: #555753;
  margin: 0 0 0.5em 0;
  font-weight: bold;
}
div.showcase h3 {
  font-weight: bold;
}
div.showcase h3 a {

}
div.showcase h3 a:hover {
  text-decoration: underline;
}
div.showcase .visual {
  text-align: center;
}
div.showcase .visual img {
  display: block;
}

/* Flickr gallery */
#flickr_badge_uber_wrapper {
  max-width: 550px;
  margin: 0 0 0.5em 0;
}
#flickr_badge_uber_wrapper h2 {
  margin: 0 0 10px 0;
}
#flickr_footer {
  margin-top: 10px;
  clear: both;
  font-size: 80%;
}
#flickr_www {
  color: #3993FF;
  text-decoration: none;
}
#flickr_badge_uber_wrapper .more {
  height: 63px;
  width: 61px;
  margin: 0 10px 10px 0;
  float: left;
  padding: 6px 7px;
  background: white;
}
#flickr_badge_uber_wrapper .more a {
  display: block;
  height: 65px;
  width: 65px;
  text-decoration: none;
  font-size: 85%;
}
#flickr_badge_uber_wrapper .flickr_badge_image {
  float: left;
  width: 75px;
  height: 75px;
  overflow: hidden;
  padding: 0 10px 10px 0;
}

/* tweets */
#twitter {
  margin-bottom: 1.5em;
  max-width: 550px;
}
#twitter h2 {
  margin: 0 0 0.5em 0;
}
#twitter p.footer {
  margin: 0;
}
#twitter p.footer img {
  vertical-align: top;
}
#TweetFeed {
  background: transparent top right url(tweet_bird.png) no-repeat;
  padding-top: 36px;
  margin-top: -36px;
}
#TweetFeed .tweet{
  padding: 10px 10px 10px 25px;
  margin: 0 0 0.7em -17px;
  background: transparent top left url(bg_tweet.png) no-repeat;
  font-size: 90%;
}
#TweetFeed .tweet .date_posted{
  font-size: 85%;
  color: #204A87;
}

/*  Recepten */
span.nr {
  display: inline-block;
  padding: 0px 3px;
  min-width: 12px;
  margin-right: 10px;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  background-color: #898c87;
  color: #D3D7CF;
  font-size: 80%;
  text-align: center;
}
ol.preperation {
  
}
ol.preperation li {
  margin: 0 0 1em 0;
}
div.ingredients {
  padding: 15px 15px 0 15px;
  background-color:#C3C7C0;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  clear: both;
}
.ingredients ul {
  margin: 0;
  padding: 0 0 15px 0;
  list-style: none;
}
.ingredients h4 {
  margin: 0;
}
.ingredients ul li {
  display: block;
  float: left;
  width: 260px;
  padding: 0 10px 0 15px;
  margin: 0;
  background: left 5px url(dash_toc.png) no-repeat;
}

/*  Routes */
#bikeroute {
  padding: 15px;
  background-color:#C3C7C0;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
#bikeroute .header {
  margin: 0 0 10px 0;
  font-size: 140%;
  font-weight: bold;
}
#bikeroute .header .start {
  background: center right url(icon_start.png) no-repeat;
  padding-right: 32px;
  width: 12px;
  float: left;
}
#bikeroute .header .road {
  background: 19px 23px url(route_schaal.png) no-repeat;
  height: 30px;
}
#bikeroute .header .finish {
  background: center left url(icon_finish.png) no-repeat;
  padding-left: 26px;
  float: right;
  width: 129px;
}
.map_coords {
  font-size: 80%;
  padding: 3px 5px;
  background-color: white;
  left: 80px !important;
  top: 7px !important;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}