/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

html { overflow-y: scroll; }

html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	padding: 0;

	background: #f1f1f1;

	font-family: 'Open Sans', "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	font: 16px;
	line-height: 1.6;
	color: #292929;

	-webkit-font-smoothing: antialiased;
}

/* General & 'Reset' Stuff */

.container {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	display: block;
	margin: 0 0 20px 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 1em 0 0 0;
	color: #333;
	font-weight: normal;
}

h3, h4 {
	font-weight: 600;
}

.header-link {
	text-decoration: none;
	color: #BBB;
	margin-left: 0.5em;
	font-size: 0.6em;
	display: none;
}

.header-link:hover {
	color: #292929;
}

h1:hover .header-link,
h2:hover .header-link,
h3:hover .header-link,
h4:hover .header-link {
	display: inline;
}

p {
	margin: .5em 0 1.1em 0;
}

dt {
	font-style: italic;
	margin-top: 20px;
}

ul li {
	list-style: none;
}

ul li:before {
	content: ">>";
	font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
	font-size: 13px;
	color: #666;
	margin-left: -37px;
	margin-right: 10px;
	line-height: 13px;
}
li {
	padding: 0 0 0.3em 0;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
nav li {
	display: inline-block;
}
nav ul li:before {
	content: "";
	display: none;
}

blockquote {
	color: #888;
	padding-left: 10px;
	border-left: 1px dotted #666;
}


h3 + table {
	margin-top: 10px;
}

table {
	width: 100%;
	margin: 0 0 20px 0;
	border-collapse: collapse;
}
	table a {
		text-decoration: none;
	}

th, td {
	vertical-align: top;
	padding: 0.5em 1em;
}

th {
	text-align: left;
	border-bottom: 1px solid #e3e3e3;
}

.horizontal th,
td {
	background: #fff;
	border-bottom: 1px solid #e3e3e3;
}

	td code {
		position: relative;
		top: -2px;
		background: #777;
		font-size: 1em;
	}


.horizontal tr:nth-child(even) th,
tr:nth-child(even) td {
	background: transparent;
}

tr td:first-child {
	border-left: none;
}

table.horizontal {
	border-top: 1px solid #e3e3e3;
}

table.horizontal th {
	font-weight: 400px;
}

/**
 * Links
 */
a {
	color: #0074A2;
	transition-duration: 0.05s;
	transition-property: border, background, color;
	transition-timing-function: ease-in-out;
}
a:hover, a:active {
	color: #2EA2CC;
}
a:focus {
	color: #124964;
}

/**
 * Coding block
 */
code,
pre {
	color: #f1f1f1;
	text-shadow: 0 1px rgba(0,0,0,0.3);
	font-family: Consolas, "Liberation Mono", Courier, monospace;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

/* Inline code */
code {
	padding-left: 0.3em;
	padding-right: 0.3em;
	background: #444;
}
/* Oh I want SASS here */
h3 > code {

    display: inline-block;
    margin-bottom: 0.5em;
    padding-bottom: 0;
    padding-top: 0.1em;

    background: none repeat scroll 0 0 #5C5C5C;

    font-size: 17px;
}



/* Code blocks */
pre code {
	display: block;
	padding: 0.4em 0.5em 0.3em 0.5em;
	margin: .5em 0 1.1em 0;
	overflow: auto;
	border-radius: 0.3em;
	font-size: 1em;
}

/* Forms */
.form-control {
	font-size: 14px;
	line-height: 18px;
	padding: 0.4em 0.5em 0.5em 0.5em;
	border: none;
	box-shadow: none;
}
input[type="search"] {
	-webkit-appearance: none;
}

/* Images */
img {
	max-width: 100%
}

/* Clearfix */

.cf:before, .cf:after {
	content: "";
	display: table;
}

.cf:after {
	clear:both;
}

.cf {
	zoom:1;
}


/* Header, <header>
	 header   - container
	 h1       - project name
	 h2       - project description
*/

header {
	background: #000;
	width: 100%;
	padding: 20px 0 10px 0;
	margin: 0 0 30px 0;
}

header h1 {
	font-size: 17px;
	font-weight: 300;
	color: #f5f5f5;
	margin-top: 10px;
	margin-bottom: 20px;
}

@media (max-width: 970px) {
	header h1 {
		margin-left: 0;
	}
}

@media (max-width: 690px) {
	/* Avoid collision with the language selector */
	header h1 {
		padding-top: 40px;
	}
}

header h1 img {
	vertical-align: middle;
}

header h1 span {
	margin-left: 10px;
}

footer {
	clear: both;
	display: block;
	text-align: center;
	font-size: 10px;
	margin: 20px 10px 40px 10px;
}

.main-nav,
.social-nav {
	position: relative;
}
.main-nav ul,
.social-nav ul {
	list-style: none;
}
.main-nav li,
.social-nav li {
	float: left;
	text-align: center;
	margin: 0;
}
.main-nav li:first-child a {
	padding-left: 0;
}
.main-nav a,
.social-nav a {
	display: block;
	padding: 8px 18px;
	color: #7AD03A;
	font-weight: 300;
	text-decoration: none;
}
.main-nav a:hover {
	color: #b5e853;
}

.main-nav ul li:nth-child(5) a {
	background-color: rgba(122, 208, 58, 0.5);
	color: white;
	border-radius: 5px;
}

.main-nav ul li:nth-child(6) a:hover {
	background-color: rgba(122, 208, 58, 0.75);
	color: white;
	border-radius: 5px;
}

.main-nav .active a {
	/* background: #202020; */ /* Not yet */
	color: #f1f1f1;
}

/* Secondary main-nav */
.social-nav li {
	float: right;
	margin-left: .5em;
}
.social-nav .rounded {
	padding: 0;
	width: 1.8em;
	height: 1.8em;
	line-height: 1.8em;
	font-size: 1.3em;
	border-radius: 3em;
	background: #585858;
	color: #292929;
}
.social-nav .rounded:hover {
	color: #7AD03A;
}

@media (max-width: 770px) {
	.social-nav {
		display: table;
		margin: 0 auto;
		padding-top: 5px;
		min-width: 100px;
	}

	.social-nav li {
		float: none;
		margin: 0 5px;
	}
}

/* Search in header */
.main-nav .search {
	border-radius: 3em;
	width: 200px;
	background: #292929;
	color: #f1f1f1;

	-webkit-transition-duration: 400ms;
	-webkit-transition-property: width, background;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 400ms;
	-moz-transition-property: width, background;
	-moz-transition-timing-function: ease;
	-o-transition-duration: 400ms;
	-o-transition-property: width, background;
	-o-transition-timing-function: ease;
}

.main-nav .search:hover {
	color: #f1f1f1;
}

.main-nav .search:focus {
	width: 180px;
}
.main-nav .btn-search {
	display: none;
}

/**
 * Main Content
 */
body.display-global-parameters {
	overflow-x: hidden;
}

body.display-global-parameters #main_content {
	width: 65%;
	float: left;
}

@media (max-width: 690px) {
	body.display-global-parameters #main_content{
		width: 100%;
	}
}

#main_content {
	width: 100%;
	padding: 0 20px;
	margin: 0 -20px;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

@media (max-width: 970px) {
	#main_content {
		padding: 0; /* parent .container will provide needed spacement */
		margin: 0;
	}
}

#main_content h1 {
	font-size: 30px;
}

#main_content h2 {
	font-size: 28px;
}

#main_content h3 {
	font-size: 24px;
}

#main_content h4 {
	font-size: 18px;
	/*margin-top: .3em;*/
}

#main_content h5 {
	font-size: 12px;
	text-transform: uppercase;
	/*margin: 0 0 .3em 0;*/
}

#main_content h6 {
	font-size: 12px;
	text-transform: uppercase;
	color: #999;
	/*margin: 0 0 .3em 0;*/
}

/**
 * Global Parameters
 */

.global-parameters {
	width: 35%;
	float: right;
	margin: 0 -20px 40px -20px;
	padding: 0 20px;
	color: #888;
	background: #fff;
	font-size: 14px;
	box-sizing: border-box;
	padding-left: 30px
}

@media (max-width: 690px) {
	.global-parameters {
		width: auto;
		margin:0;
		float: none;
		padding-left: 40px;
		padding-right: 40px;
	}
}


.global-parameters h3{
	text-transform: uppercase;
	color: #888;
	font-weight: bold;
	font-size: 16px;
	margin-left: -20px;
}
.global-parameters code {
	background: none;
	display: block;
	font-size: 14px;
	color: #0074A2;
	font-weight: bold;
	text-shadow: none;
	margin-left: -20px;
}

.global-parameters p {
	margin-bottom: 5px;
}

/* Adjust visibility per page */
body.command-line-interface-for-wordpress .global-parameters,
body.configuration .global-parameters{
	display: none;
	background: green;
}

body.configuration .global-parameters{
	display: none;
	background: green;
}


.blog aside.global-parameters {
	display: none;
}

.command-line-interface-for-wordpress #main_content,
.blog #main_content {
	width: 100%;
}


/* Buttons */

.btn {
	display: inline-block;
	background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3));
	padding: 8px 18px;
	border-radius: 50px;
	border: 2px solid rgba(0, 0, 0, 0.7);
	border-bottom: 2px solid rgba(0, 0, 0, 0.7);
	border-top: 2px solid rgba(0, 0, 0, 1);
	color: rgba(255, 255, 255, 0.8);
	font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 13px;
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn:hover {
	background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8));
}

.btn .icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 1px 8px 0 0;
	float: left;
}

.btn-github .icon {
	opacity: 0.6;
	background: url("../img/blacktocat.png") 0 0 no-repeat;
}


/* Blog */

.hentry + .hentry {
	margin-top: 30px;
}

hr,
.hentry {
	border-bottom: 1px solid #FFFFFF;
	position: relative;
}

hr {
	height: 2px;
	border: none;
	margin-bottom: 1em;
}

hr:after,
.hentry:after {
	content: "";
	display: block;
	height: 1px;
	line-height: 1px;
	font-size: 1px;
	background: #CCC;
}

.hentry + .hentry:before {
	content: "&";
	display: block;
	position: absolute;
	background: #f1f1f1;
	left: 50%;
	top: -44px;
	width: 3em;
	text-align: center;
	color: #bbb;
	text-shadow: 1px 0 1px rgba(255, 255, 255, 1);
}

.read-more {
	display: inline-block;
	margin-bottom: 0.5em;
	text-decoration: none;
}

.post-header {
	margin-bottom: 20px;
}

.post-header h2 {
	margin-bottom: 0;
}
.post-header a {
	text-decoration: none;
}

.post-header span {
	color: #666;
}

.post-content {
	padding-bottom: 1em;
}

/* Announcement within posts */
.announcement {
	padding: 0.3em 1em 0.5em 1em;
	margin-bottom: 1em;
}

.breaking {
	background: #eceaeb;
}
.breaking h3 i {
	color: #d84f09;
}

.changes {
	background: #eceaeb;
}

/* Pagination */

.pagination {
	display: block;
	overflow: hidden;
	padding: 1em 0 0.5em 0;
}

.pagination a {
	text-decoration: none;
}

.pagination .prev {
	float: left;
}

.pagination .next {
	float: right;
}

/* Packaging index */
.package {
	border-bottom: 1px solid #fff;
	margin-bottom: 2em;
}
.package th {
	width: 150px;
}

/* i18n menu */
.cf .container {
	position: relative;
}

.cf .container .languages {
	position: absolute;
	top: 0px;
	right: 0px;
	margin-right: 20px;
}


@media screen and (-webkit-min-device-pixel-ratio:0) {
	header h2,
	.main-nav a {
		font-weight: 400;
	}
}

@media (max-width: 690px) {
	.main-nav li:not(:nth-child(5)) a {
		padding-left: 0;
	}

	.main-nav li:nth-child(6) a {
		padding-left: 9px;
		padding-right: 9px;
	}
}
