/*

Author: Daryl Cook
URL:    http://darylcook.com
Email:  hello@darylcook.com

Based on Kirby Starterkit by Bastian Allgeier & Sascha Lack: http://getkirby.com and Baseblog by Sascha Lack: http://baseblog.sashtown.de/

*/


/* 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;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
  margin-bottom: 0.5em;
}

}
article figure {
  margin-bottom: 1.5em;
}
  article figcaption {
    margin-top: .25em;
        margin-bottom: 1.5em;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 0.8em;
    color: #93a1a1;
  }

#profile img {
    border-radius: 75px;
    float: left;
    margin: 0px 10px 0px 10px;
    max-height: 150px;
    max-width: 150px;
    border: 1px solid #999;
}

/* Links
-------------------------------------------------- */
a {
  color: #476B6B;
  text-decoration: none;
}


.transparent a:link {
	zoom: 1;
	filter: alpha(opacity=30);
	opacity: 0.3;
}
.transparent a:hover {
	zoom: 1;
	filter: alpha(opacity=70);
	opacity: 0.7;
}

article footer a.button {
	color: #cb4b16;
	    border-bottom: none;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 400;
   font-size: 0.75em;
   text-transform: uppercase;
}

article footer a.button:hover {
    border-bottom: none;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-weight: 400;
   font-size: 0.75em;
   text-transform: uppercase;
   background-color: #eee8d5;
        border-radius: 5px;
  margin-bottom: 2px;
  margin-top: 2px;
  padding-bottom: 8px;
  padding-top: 8px;
}


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


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.15em;
  line-height: 1.5em;
  padding: 1.5em;
  max-width: 45em;
  background: #fdf6e3;
  color: #657b83;
  font-family: 'Merriweather', serif;
  font-weight: 300;
  
}


	


/* Header
-------------------------------------------------- */
.header {
  border-bottom: 3px solid #eee8d5;
  margin-bottom: 2.5em;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.8em;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo {
  display: block;
  margin-bottom: 0.1em;
}
.logo img {
  width: 93px;
}
  

/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #222;
}
.menu a:hover {
  color: #cb4b16;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 2px;
  margin-top: 2px;
  padding-bottom: 8px;
  padding-top: 8px;
  background-color: #eee8d5;
}
.menu .active {
  color: #b58900;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  color: #cb4b16;
  padding: .35em 0;
  border-top: 1px solid #93a1a1;
}

.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 #222;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  background: #222;
  white-space: nowrap;
}
.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 {
    color: #cb4b16;
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}



/* Headings
-------------------------------------------------- */
h1 {
  font-size: 1.4em;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.25em;
  margin-bottom: .5em;
  color: #073642;
  
}
h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.1em;
  line-height: 1.25em;
  margin-bottom: 0.5em;

  
}
h3 {

  font-family: 'Merriweather', serif;
  font-size: 0.8em;
  letter-spacing: 1px;
  line-height: 1.5em;
  margin-bottom: .5em;
}
h4 {
  font-family: 'Merriweather', serif;
  font-size: 0.7em;
  letter-spacing: 1px;
  line-height: 1.5em;
  margin-bottom: .5em;

}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
  
}


/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 0em;
}

.main hr {
  margin: 1em 0;
  height: 2px;
  width: 30%;
  background: #eee8d5;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}
.main a {
	color: #b58900;
}

.main a:hover {
  color: #b58900;
  border-bottom: 2px solid #cb4b16;
}

main article ul {
    list-style: square;
    font-size: 0.8em;
	padding-left:10px;
	margin:0.6em 0 1.0em 0;

}

main article li {
    line-height: 1.8em;
    margin:0 0 0.2em 12px; 
    padding:0 0 0 12px;
}

span.breaker {
    color: #586e75;
    display: block;
    margin-bottom: 10px;
    margin-top: 20px;
    text-align: center;
}


.meta {
	font-family: 'Source Sans Pro', sans-serif;
  	font-size: 0.8em;
    padding: 0;
    color: #93a1a1;
}

.tags {
 
    margin-right: .25em;
    padding: 0;
    text-transform: lowercase;
	display: inline-block;
}

.tags a {
	color: #93a1a1;
}

.tags a:hover {
 	color: #cb4b16;
    border-bottom: none;
    background-color: #eee8d5;
    border-radius: 5px;
  	margin-bottom: 2px;
  	margin-top: 2px;
  	padding-bottom: 8px;
  	padding-top: 8px;
}

pre, code {
    color: #586e75;
    font-family: Monaco,Courier,monospace;
    font-size: 13px;
    line-height: 1.8;
    padding: 2px;
    text-align: left;
}

/*
 :::  Results
-------------------------------------------------- */

main .results > li {
 list-style: none inside none;
    line-height: 1.5em;
  	} 	

main .results a {
	color: #b58900;
}

main .results a:hover {
  color: #b58900;
  border-bottom: 2px solid #cb4b16;
}

main .results >li .tags a {
	color: #93a1a1;
}

main .results > li .tags a:hover {
 	color: #cb4b16;
    border-bottom: none;
    background-color: #eee8d5;
	border-radius: 5px;	
  	margin-bottom: 2px;
  	margin-top: 2px;
  	padding-bottom: 8px;
  	padding-top: 8px;
}

/*
 :::  Results' heading
-------------------------------------------------- */

result .h1 {
	font-family: 'Merriweather', serif;
	font-weight: 700;
	color: #073642;
}
  
.result mark {
    background: inherit;
    color: #b58900;
  }


/*
 :::  Article
-------------------------------------------------- */


article {
  margin-bottom: 1em;
}
  article header {
    margin-bottom: 0;
    padding-bottom: .5em;
    
  }
  article footer {
    margin-top: 0.25em;
  }
  article p {
    font-size: 0.8em;
    margin-bottom: 1.25em;
  }

article h1 a {
	font-family: 'Merriweather', serif;
	font-weight: 700;
	color: #073642;
}

article h1 a:hover {
 color: #b58900;
    border-bottom: none;
}

article a {
	color: #b58900;
	}
	
article	a:hover {
 border-bottom: 2px solid #cb4b16;
	
}


.footnotes {
    font-size: 0.75em;
    }

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


/*
 :::  Blockquotes
-------------------------------------------------- */
blockquote {
  
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding: .5em 1em;
  background-color:#eee8d5;
  font-size: .85em;
  line-height: 1.5em;
  border-radius: 5px;
  padding-bottom: 8px;
  padding-top: 8px;
}
  blockquote p:last-of-type {
    margin-bottom: 0;
  }


/* Pagination
-------------------------------------------------- */

.pagination {
  margin: 1em 0 2em;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 0.75em;
  text-transform: uppercase;
	}
.pagination a {
	color: #cb4b16;
	}
.pagination a:hover {
   background-color: #eee8d5;
     border-radius: 5px;
  margin-bottom: 2px;
  margin-top: 2px;
  padding-bottom: 8px;
  padding-top: 8px;
	}
  .pagination .prev {
    float: left;
	}
  .pagination .next {
    float: right;
  	}
  

  


/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.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: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}




/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 6em;
  font-size: .7em;
  border-top: 3px solid #eee8d5;
  
}

.copyright {
  float: right;
  color: #93a1a1;
  font-size: .8em;
}


.colophon img {
  width: 1.5em;
}

.footer a:hover {
  text-decoration: none;
}
.footer a {
  color: #cb4b16;
}

.colophon li {

	list-style-type: none; 
	    line-height: 1.6em;
	      font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 400;
	}

.colophon {
  float: left;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
.colophon a b {
  color: red;
  padding-left: .25em;
}

/*.colophon li {
	float: left;
	margin: 0 15px;		
	width: calc (100% - 40px) / 3);
	list-style-type: none; 
	} */

.colophon img {
  width: 1.5em;
}
