/* custom css */
/*
	Based on Simple Dark by Chris Reynolds (hello@chrisreynolds.io)
	https://gist.github.com/jazzsequence/5162736
	
	Based on Simple by Jason Schuller/Circa75
	https://github.com/circa75/dropplets/tree/master/templates/simple
*/


@import url(../style.css); /* call the parent css */
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono|Source+Sans+Pro:400,400italic|Oswald&subset=latin,latin-ext);

/* Typography
***********************************************************************/

body {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #404040;
	text-rendering: optimizeLegibility;
}

::selection {
	background-color: #f3ac59;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Oswald', 'Garamond', 'Georgia', sans-serif ; 
    font-weight: 400;
	color: #303030;
}
h1 {
	font-size: 34px;
}
h2 {
	font-size: 28px;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 20px;
}
h5 {
	font-size: 16px;
}
h6 {
	font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
}
*+h1, *+h, *+h3, *+h4, *+h5, *+h6 {
	margin-top: 1em;
}

ul, ol {
    margin-left: 40px;
    margin-bottom: 20px;
}
ul ul, ul ol, ol ol, ol ul {
	margin-bottom: 0;
}
ul li {
    list-style: disc;
}

ol li {
    list-style: decimal;
}

p {
	margin: 0 0 20px;
}
.post p {
	max-width: 100%;
	font-size: 16px;
	position: relative;
}
p + p {
	text-indent: 0;
}

i, em { 
    font-style: italic; 
}
b, strong { 
    font-weight: bold; 
}
span.clear {
  display: block;
  clear: both;
}
span.big {
  font-size: 1.5em;
}
span.big sup {
  font-size: 0.5em;
}
sup {
  vertical-align: super;
  font-size: 0.75em;
  line-height: 0.75em;
}
sup a {
  text-decoration: none;
  border-bottom: none;
}
sub {
  vertical-align: sub;
  font-size: 0.75em;
}


a {
	text-decoration: none;
    transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
}
article a {
	color: #000;
	border-bottom-color: #f3ac59;
	border-bottom-width: 1px;
	border-bottom-style: solid;
}

a img {
	border: none;
}

a:hover, a:active,
.post p a:hover, .post p a:active {
	color: #fc4913;
	border-bottom-color: #fc4913;
}

small {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 12px;
}

code {
	color: #000;
    font-family: "Ubuntu Mono", Courier, monospace;
}

code, pre {
	font-size: 14px;
}

pre code {
	border: none;
	padding: 0;
	border-radius: 0;
	font-size: 12px;
}

pre {
	max-width: 80%;
	white-space: pre-wrap;
	padding: 15px;
	margin: 0 0 20px;
	border: 1px dashed #bf370f;
	border-radius: 7px
}

.left { text-align: left }
.right { text-align: right }

hr {
	width: 90%;
	margin: 1.5em auto;
	border-style: none;
	border-bottom: 2px solid #777;
}

#disqus_thread {
	margin: 1em;
	padding-top: 0.5em;
	clear: both;
}

#dp-dropplets-icon {
  display: none;
}

/* Meta
***********************************************************************/

.meta {
	color: #303030;
	text-align: right
}
.meta a, .meta a:hover{
	color: #303030;
}
.meta ul {
	border: none;
	float: right;
}
.meta ul li {
    list-style: none;
}

/* This is the dot at the end of the meta list*/

/* Buttons 
***********************************************************************/
ul.actions {
  width: 100%;
  max-width: 100%;
  clear: both;
  margin: 0;
  text-align: right;
}
ul.actions li {
	width: auto;
    display: inline-block;
    margin-top: 3px;
    list-style: none;
    vertical-align: top;
}
li + li .button {
	margin-left: 5px;
}
.button {
	border: 1px solid #ddd;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	border-radius: 3px;
	display: inline-block;
	font-size: 13px;
	line-height: 24px;
	font-weight: 300;
	text-align: center;
	margin-bottom: 10px;
	padding: 8px 10px;
	white-space: nowrap;
	position: relative;
	transition-property: color, border-color;
    transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;
}
.button:hover, .button:focus,
header .meta .button:hover, header .meta .button:focus {
	color: #ff4a14;
	border-color: #ff4a14;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
.button:active {
	color: #ff4a14;
	border-color: #ff4a14;
	border-bottom-width: 1px;
	margin-top: 3px;
	margin-bottom: 9px;
}


/*
 * Specific button locations
 */

/* The header intro buttons */
.actions.intro-buttons {
	text-align: left;
}
.intro-buttons .button {
	background-color: inherit;
}
article .button {
	background-color: #ffffff;
	color: #555;
}
article:not(.single) ul.actions li {
/*	float: right;*/
}
article.single .button:after {
	border: none;
	display: none;
}


/* Intro 
***********************************************************************/
header {
	background: #111; /* Old browsers */
	/*background-image: url("./dark_wood.png");*/
	color: #eee;
}

header h1, 
header h2, 
header h3, 
header h4, 
header h5, 
header h6 {
    font-weight: 400;
	color: #ff4a14;
	margin-bottom: 5px;
}

header .meta {
    font-size: 14px;
    line-height: 19px;
    font-weight: 300;
    color: #ccc;
}

header .meta ul {
    border: none;
    width: 100%;
    position: relative;
}

header .meta ul li {
    list-style: none;
}

header .meta ul li span {
    color: #ebebeb;
}

header a {
    color: #b3b3b1;
}

header .meta a:hover {
    color: #ff4a14;
}

header .thumbnail {
    background-color: #fbfbfb;
    border: 1px solid #ebebeb;
    border-radius: 0%;
    width: 60px;
    height: 60px;
    padding: 5px;
    float: right;
    margin-right: -21px;
}

/*header .post ul {*/
/*	margin-left: 0px;*/
/*}*/

/*header .post li {*/
/*	width: auto;*/
/*	margin-right: 5px;*/
/*	margin-top: 3px;*/
/*    display: inline;*/
/*    float: left;*/
/*    border: 1px solid #ebebeb;*/
/*    list-style: none;*/
/*	color: #ebebeb;*/
/*	font-size: 14px;*/
/*    line-height: 20px;*/
/*    border-radius: 0px;*/
/*    float: left;*/
/*    padding: 8px 15px 9px;*/
/*}*/

header .post a {
	color: #ebebeb;
}
header .actions {
	text-align: right;
}
/* General article
***********************************************************************/
article:nth-child(odd) {
	background-color: #fffbf1;
}
.intro.single {
	text-align: center;
}
/*
 * Table of Contents styles
 */
#toc {
	border: 1px solid #f3ac59;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
	padding: 1.5em;
	float: right;
	max-width: 40%;
}
#toc ul {
	margin: 0px;
	max-width: 100%;
}
#toc li {
	list-style-position: inside;
}
@media (min-width: 980px) {
#toc {
/*	margin-right: -10%;*/
}
}
@media (max-width: 640px) {
#toc {
	float: none;
	margin-left: 0;
	max-width: 100%;
}
}

/* Feature
***********************************************************************/

.feature {
	background: url("./squairy_light.png") #ffffff repeat;
}

.feature .post {
	background-color: #ffffff;
}

.feature .thumbnail {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 0%;
    width: 60px;
    height: 60px;
    padding: 5px;
    float: right;
    margin-right: -21px;
}

.fullwidth {
  width: 1140px;
  margin-right: -40px; /* .row width 1140 - .row.one-quarter width 245 - .row.one-quarter margin-right 40 - .row.three-quarters width 815 */
  margin-bottom: 20px; /* same as p */
  float: right;
  display: block;
  overflow: visible;
  clear: both;
  height:auto;
}
@media (max-width: 1160px) {
    .fullwidth {
      width: 960px;
      margin-right: -40px; /* .row width 960 - .row.one-quarter width 200 - .row.one-quarter margin-right 40 - .row.three-quarters width 680 */
    }
}
@media (max-width: 980px) {
    .fullwidth {
      width: 780px;
      margin-right: -40px; /* .row width 780 - .row.one-quarter width 155 - .row.one-quarter margin-right 40 - .row.three-quarters width 545 */
    }
}
@media (max-width: 820px) {
    .fullwidth {
      width: 100%;
      margin-right: 0px;
      width: 100vw;
      margin-right: -5vw;
    }
}
@media (max-width: 640px) {
}

div.noscript {
  color: #500;
  background-color: #FDD;
  border-radius: 10px;
  border-color: #500;
  border-width: 1px;
  border-style: solid;
  padding: 10px;
}

/* Aside
***********************************************************************/

article.aside {
    width: 100%;
    border-bottom: 1px solid #f1f1f1;
    padding: 30px 0 10px 0;
}

.aside .thumbnail{
	display: none;
}

.aside .meta ul li:last-child {
	display: none;
}

.aside h2 {
	display: none;
}

.aside .meta ul {
	border: none;
	width: 100%;
	float: right;
	margin-right: 14px;
	padding: 0px 0 0px;
	position: relative;
}

.aside .post-intro {
	float: left;
	clear: none;
}
.aside .actions {
	display: none;
	float: left;
	clear: none;
}
.aside .actions li {
	
}
@media (max-width: 640px) {
	article, header {
		padding-bottom: 20px;
		padding-top: 20px;
	}
	article .meta {
		display: block;
	}
	article .meta ul {
		margin-left: 0;
	}
	article .meta li {
		display: inline-block;
	}
	article .meta li + li::before {
		content: " | "
	}
}
@media (max-width: 480px) {
    
    /* Articles */
    .post ul.actions li {
        text-align: center;
        margin: 0;
        width: 100%;
    }
    .post .button,
    header .post .button {
        display: block;
        float: none;
        box-sizing: border-box;
    }
    .tocbutton::after {
    	content: " "attr(title);
    	display: inline !important;
    }
    header .post ul.actions li {
    	width: auto;
    }
	li + li .button {
		margin-left: 0;
	}
}
@media print {
  a[href]:after {
    content: " (" attr(href) ") ";
  }
}
