/*
Colors :
- #40403F
- #4D4D4C
- #7F7F7E
- #E5E5E3
- #F0F0F0
*/

/* Imports */

@import url("pygment.css");


/* Layout */

article,
figcaption,
figure,
footer,
header,
nav,
section,
time {
  display: block;
}

html {
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: Calibri, Verdana, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 140%;
  text-align: left;
  color: #4D4D4C;
  padding: 0;
  min-width: 740px;
}

header {
  background-color: #40403F;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  background-image: url('http://www.writer-at-ethnography.com/images/blog-header.jpg');
  height: 210px;
  padding: 10px 1em 0 1em;
}

.wrapper {
  display: table;
  width: 100%;
}

.content {
  display: table-cell;
  border-left: 1px solid #d6d6d6;
  border-right: 1px dotted #D6D6D6;
  padding: 0 20px 1em 20px;
}

.sidebar {
  display: table-cell;
  width: 25%;
  border-right: 1px solid #d6d6d6;
  padding: 0 10px 1em 10px;
}

.sidebar nav ul {
  list-style-type: none;
  padding-left: 10px;
}

.sidebar nav li {
  clear: both;
}

footer {
  border-top: 1px dotted #D6D6D6;
  line-height: 30px;
  padding: 0 1em;
  font-size: 0.8em;
}


/* Header */

header a {
  color: #E5E5E3;
  border-bottom: none;
}

header a.title {
  font-size: 1.2em;
  font-weight: bold;
  padding-left: 8px;
  vertical-align: text-top;
}

header .feeds {
  float: right;
  text-align: right;
  width: 25%;
  height: 41px;
  padding-top: 9px;
}

header .feeds a {
  display: block;
  float: right;
  padding-right: 5px;
  width: 40px;
}

header .feeds a:hover,
header .feeds a:active {
  border-bottom: none;
}

header .pages {
  float: none;
}

header .pages a {
  font-size: 1em;
  padding-left: 8px;
}


/* Sidebar */


/* Titles */

h1, h2, h3, h4, h5, h6 {
    font-family: Calibri, Verdana, Helvetica, Arial, sans-serif;
    font-weight: 400;
    text-shadow: 0.1em 0.1em 0.1em #EFEFEF;
    line-height: 125%;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
  padding: 0.7em 0 0.3em;
}

h1 a {
  color: inherit;
  border-bottom: none;
}


/* Texts */

p {
  margin: 0.8em 0 0.5em;
}

a {
  text-decoration: none;
  border-bottom: 1px dotted #4D4D4C;
  color: #4D4D4C;
}

a:hover, a:active {
  text-decoration: none;
  border-bottom: 1px dotted #4271AE;
  color: #4271AE;
}

.literal {
  font-size: 0.9em;
  border: 1px solid #F0F0F0;
  padding: 0px 5px;
}

pre {
  font-family: 'Source Code Pro',monospace;
  background: none repeat scroll 0 0 #F0F0F0;
  border-radius: 2px;
  font-size: 0.9em;
  font-style: normal;
  letter-spacing: 0.015em;
  line-height: 130%;
  padding: 0.7em;
  white-space: pre-wrap;
  word-wrap: break-word;
}

hr {
  margin: 40px 5% 60px 5%;
  color: #d6d6d6;
  box-shadow: 0.1em 0.1em 0.1em #EFEFEF;
  border-radius: 5px;
}

/* Forms */
#contactform {
}

/* Article */

article.summary {
  margin-bottom: 40px;
  clear: both;
}

article.summary > div {
  margin-left: 28%;
}

article.full .metadata,
article.summary .metadata {
  padding: 1%;  
  border: 1px dotted #EFEFEF;
  box-shadow: 0.1em 0.1em 0.1em #EFEFEF;
  font-style: italic;
  font-size: 70%;
}

article.full .metadata {
  width: 25%;
  float: right;
  margin: 0 0 2% 1%;
}

article.summary .metadata {
  width: 23%;
  float: left;
  margin: 0 1% 2% 0 ;
}

.metadata p {
  margin: 0;
}

/* Listings */

ol.archive li {
  margin: 8px 0;
}

ol.archive li time,
ol.archive li .tags
 {
  line-height: 140%;
  font-size: 0.8em;
  margin: 0;
}


/* Social */

.social {
  list-style-type: none;
  padding-left: 10px;
}

.social li {
  clear: both;
}

.social a {}

.social i { 
  float: left;
  margin-right: 3px;
  padding-top: 4px;
}
.social a[href*='twitter.com'] + i:before {content: url('../images/icons/twitter-18px.png'); }
.social a[href*='academia.edu'] + i:before {content: url('../images/icons/academia-18px.png'); }
.social a[href*='goodreads.com'] + i:before {content: url('../images/icons/goodreads-18px.png'); }
.social a[href*='linkedin.com'] + i:before {content: url('../images/icons/linkedin-18px.png'); }
.social a[href*='github.com'] + i:before {content: url('../images/icons/github-18px.png'); }
.social a[href*='google.com'] + i:before {content: url('../images/icons/google-18px.png'); }
.social a[href*='delicious.com'] + i:before {content: url('../images/icons/delicious-18px.png'); }
.social a[href*='digg.com'] + i:before {content: url('../images/icons/digg-18px.png'); }
.social a[href*='facebook.com'] + i:before {content: url('../images/icons/facebook-18px.png'); }
.social a[href*='xing.com'] + i:before {content: url('../images/icons/xing-18px.png'); }
.social a[href*='stackoverflow.com'] + i:before {content: url('../images/icons/stackoverfow-18px.png'); }
.social a[href*='rss.xml'] + i:before {content: url('../images/icons/feed-18px.png'); }
.social a[href*='atom.xml'] + i:before {content: url('../images/icons/feed-18px.png'); }

/* Pagination */

.pagination {
  width: 100px;
  margin: 1em auto;
}

/* Responsive */

@media (min-width: 1280px) {
  body {
    margin: 0 16%;
  }
}

@media (max-width: 1280px) {
  body {
    margin: 0 12%;
  }
}

@media (max-width: 979px) {
  body {
    margin: 0 4%;
  }
}

p.literature {
	padding-left: 3em;
	text-indent: -3em;
}

img {
	width: 100%;
	height: auto;
}

img#cclogo {
	width: 88px;
	height: 31px;
}

figure {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
}

figure.right {
	float: right;
	width: 50%;
	padding: 0;
	margin: 0.8em 0 0 1em;
}

figure.left {
	float: left;
	width: 50%;
	padding: 0;
	margin: 0.8em 1em 0 0;
}

figcaption {
	font-size: 75%;
	line-height: 0.9;
}

.embed-vimeo { 
	position: relative;
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%;
} 
	
.embed-vimeo iframe, .embed-vimeo object, .embed-vimeo embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%; 
	height: 100%;
}

ul.tagcloud {
  list-style: none;
  padding: 0 10px 0 10px;
  margin: 0;
  width: 100%;
  line-height: 120%;
}

ul.tagcloud li {
    display: inline-block;
}

li.tag-1 {
    font-size: 90%;
    font-weight: bold;
}

li.tag-2 {
    font-size: 90%;
}

li.tag-3 {
    font-size: 85%;
}

li.tag-4 {
    font-size: 80%;
}

ul.tagcloud .list-group-item <span>.badge {
    background-color: grey;
    color: white;
}
