/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/


/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}

td {
	padding-left:  .5em;
	padding-right: 0.95em;
/* 	border: 1px solid #dedede; */
	border-bottom: dotted 1px lightgray;
	font-size: 90%;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
/*   max-width: 100%; */
}


/* Links
-------------------------------------------------- */
a {
  color: #505050;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #2573c5;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "Source Sans Pro", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.0em;
  line-height: 1.5em;
  padding: 1.5em;
  max-width: 50em;
  background: #fff;
  color: #222;
}


/* Header
-------------------------------------------------- */
.header {
  border-bottom: 1px dotted #b8b8b8;
  margin-bottom: 1.5em;
}
.logo {
  display: block;
  margin-bottom: 1.5em;
}
.logo img {
  width: 2em;
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #222;
}
.menu a:hover {
  color: #2573c5;
  text-decoration: none;
}
.menu .active {
  color: #2573c5;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .35em 0;
  border-top: 1px solid #bbb;
/*   font-weight: 600; */
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #bbbbbb;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #212121;
  background: #f4f4f4;
  white-space: nowrap;
  border: 1px solid #bbbbbb;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}

@media screen and (min-width: 40em) {
  body {
    padding: 3em;
  }
  .logo {
    float: left;
  }
  .menu {
    float: right;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Headings
-------------------------------------------------- */
h1 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 400;
  margin-bottom: .5em;
}
h2 {
  font-size: 1.8em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: gray;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .25em;
  margin-top: 1.0em;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: gray;
}
h6 {
  font-size: 0.85em;
  font-weight: normal;
  margin-top: 0em;
  margin-bottom: 0.5em;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}




/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 1.5em;
  border-bottom: 1px dotted #b8b8b8;
}
.main hr {
  margin: 1.5em 0;
  height: 1px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 0.5em;
}

.main ul {
	list-style: circle;
}

.main a {
  border-bottom: 2px solid #ddd;
}
.main a:hover {
  border-color: #2573c5;
}

.main img {
	float: left;
	padding-right: 15px;
	padding-bottom: 20px;
	max-width: 100%;
	height: auto;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

.smaller {
	font-size: .75em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: #2573c5;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
/*     float: left; */
    width: 90%;
/*     margin-left: 5%; */
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}


/* Weekly teaser
-------------------------------------------------- */
.weekly {
  list-style: none;
}
.weekly li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .weekly li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .weekly li:first-child {
    margin-left: 0;
  }
}





/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 6em;
  font-size: .65em;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  color: #2573c5;
  padding-left: .25em;
}


/* Code
-------------------------------------------------- */
code {
	font-family: Monaco, ProFont, "Bitstream Vera Sans Mono", "American Typewriter", "Andale Mono", monospace;
	font-size: 0.8em; /* 1.09em for Courier */
	background-color: #f7f7f9;
	border: 1px solid #e1e1e8;	
	padding: 2px 4px;
	color: #2573c5;	
}
pre {
		margin-bottom: 1.5em;
}

hr.dotted  {
  border:none;
  border-top:1px dotted #ccc;
  color:#fff;
  background-color:#fff;
  height:1px;
  width:80%;
  margin: 10px 0 15px 0;
}



blockquote {
  background: #f9f9f9;
  border-left: 2px dotted #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}
