/*********************************
	
	Theme Name: Perlimpinpin
	Author: Leo Russell
	Author URI: http://www.clockwork-robot.fr 
	Version: 1.0
	
*********************************/

/*********************************

	01. GENERAL
	02. LAYOUT
	03. HEADER
	04. NAVIGATION
	05. SECTIONS
	06. COLUMNS
	07. TABLES
	08. FOOTER
	09. ACCORDION TOGGLE
	10. CODE HIGHLIGHTER

*********************************/

/*********************************
	01. GENERAL
*********************************/
html, body,
div, span,
applet, object, iframe,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

html, body {
	margin: auto;
}

body {
	font-family: 'Alegreya Sans', sans-serif;
	color: inherit;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
	margin: 2em 0 1em 0;
	font-weight: 100;
	line-height: 1.5em;
	font-family: 'Lora', sans-serif;
}

a, a:link, a:visited {
	color: #6A5576;
	-webkit-transition: all 0.3s ease-in-out;
	   -moz-transition: all 0.3s ease-in-out;
	     -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

a:hover {
	text-decoration: none;
	-webkit-transition: all 0.3s ease-in-out;
	   -moz-transition: all 0.3s ease-in-out;
	     -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

a:active {
	-webkit-transition: all 0.3s ease-in-out;
	   -moz-transition: all 0.3s ease-in-out;
	     -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
} 

header {
	margin-bottom: 1em;
}

header h1, header h2, header h3, header h4, header h5, header h6 {
	margin: 0;
}

footer {
	padding: 3em 3em 6em 3em;
	clear: both;
}

pre {
	font-family: 'Cousine', monospace;
	margin-bottom: 2em;
}

ol, ul {
	list-style: none;
}

th, td {
	margin: none;
	padding: none;
}

br {
	line-height: 10px;
}

hr {
	margin-top: 1em;
	border-bottom: 1px dotted #000;
	border-top: none;
	border-left: none;
	border-right: none;
}

.monospace {
	font-family: 'Cousine', monospace;
	font-size: 0.8em;
}

.center {
	text-align: center;
}

/*********************************
	02. LAYOUT
*********************************/

#wrapper {
}

/*********************************
	03. HEADER
*********************************/

#header {
	margin: 0;
	text-align: center;
	background: rgba(63,41,77,0.8);
}

/*********************************
	04. NAVIGATION
*********************************/

#menu {
	width: 100%;
	-webkit-transition: all 0.3s ease-in-out;
	   -moz-transition: all 0.3s ease-in-out;
	     -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

#menu header h1 {
	font-family: 'Comfortaa', cursive;
	font-size: 2.5em;
	-webkit-transition: all 0.3s ease-in-out;
	   -moz-transition: all 0.3s ease-in-out;
	     -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

#menu header h1 a {
	color: #fff;
}

#menu header {
	display: inline-block;
	float: left;
	margin: 0.5em 0em 0em 5em;
}

#nav {
	display: inline-block;
	margin-left: 10em;
}

#navigation {
	list-style: none;
	font-size: 1.4em;
	text-align: center;
	float: right;
}

#navigation li {
	display: inline-block;
	padding: 1.25em 0;
	position: relative;
}

#navigation li a {
	padding: 0 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 0.8em;
	text-decoration: none;
	font-weight: bold;
}

#navigation li a:hover, #navigation li a.active {
	text-decoration: none;
	color: #A287B0;
	-webkit-transition: all 0.3s ease-in-out;
	   -moz-transition: all 0.3s ease-in-out;
	     -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

.navigation.open {
	-webkit-transform: rotate(-180deg);
	   -moz-transform: rotate(-180deg);
		-ms-transform: rotate(-180deg);
		 -o-transform: rotate(-180deg);
			transform: rotate(-180deg);
	-webkit-transition: -webkit-transform 250ms ease-out 0s;	
	   -moz-transition: -moz-transform 250ms ease-out 0s;
		 -o-transition: -o-transform 250ms ease-out 0s;
			transition: transform 250ms ease-out 0s;	
}

* html #menu #navigation li a {
	display: inline-block;
}

#menu #navigation li a:link, #menu #navigation li a:visited {
}

#menu #navigation li a.active {
	opacity: 1;
	filter: alpha(opacity=100);
	color: #A287B0;
}

#menu #navigation li a.selected {
	opacity: 1;
	filter: alpha(opacity=100);
}

#menu #navigation li a:hover {
	-webkit-transition: all 0.3s ease-in-out;	
	   -moz-transition: all 0.3s ease-in-out;
		 -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

#menu #navigation li ul {
	position: absolute;
	opacity: 1;
	filter: alpha(opacity=100);
	margin-top: -0.85em;
	background: rgba(63,41,77,0.8);
	padding: 1.15em;
}

#menu #navigation li ul li {
	display: list-item;
	float: none;
	opacity: 1;
	filter: alpha(opacity=100);
	margin: 0;
	padding: 0.5em 0em;
	border-top: 1px solid #fff;
}

#menu #navigation li ul li:first-child {
	border: none;
	padding: 0 0 0.5em 0;
}

#menu #navigation li ul li ul {
	top: 0em;
}

#menu #navigation li ul li a {
	margin: 0;
	line-height: 1;
	display: block;
}

/*********************************
	05. CONTENT
*********************************/

.header {
	text-align: center;
	padding: 5em 6em;
	margin-bottom: 5em;
	border-bottom: 1px solid #ddd;
}

.header h1 {
	font-size: 3em;
	font-weight: 100;
	margin-bottom: 0;
	color: #6F428C;
}

.content {
	padding: 0em 6em;
	padding-bottom: 4em;
}

.content p {
	font-size: 1.25em;
	margin-bottom: 2em;
	text-align: justify;
}

.content p.center {
	text-align: center;
}

.content h2 {
	font-size: 1.5em;
	margin-top: 3em;
	padding-left: 4em;
}

.content .header h2 {
	padding: 0;
	margin: 0;
	font-size: 1.5em;
}

.note, .warning {
	padding: 1px;
	margin-bottom: 1.5em;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
}

.note {
	background: #A3D280;
}

.warning {
	background: #D36D6D;
}

.note p, .warning p {
	padding: 1em;
	border: 1px solid #fff;
	margin-bottom: 0;
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
			border-radius: 3px;
}

.previous, .next {
	margin-top: 2em;
	font-size: 1em;
	padding: 0 5em;
}

.previouscontent:before {
	content: '«';
	padding-right: 1em;
}

.nextcontent:after {
	content: '»';
	padding-left: 1em;
}

.next p {
	text-align: right;
}

/*********************************
	06. TOOLBOXES
*********************************/

.menutoolbox {
	display: inline-block;
}

#toolbox1, #toolbox2, #toolbox3, #toolbox4 {
	width: 150px;
	height: 150px;
	border-radius: 75px;
	border: 20px solid #645667;
	background: #9F8DAB;
	display: inline-block;
	margin-top: 3em;
	-webkit-transition: all 0.3s ease-in-out;	
	   -moz-transition: all 0.3s ease-in-out;
		 -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

#toolbox1:hover, #toolbox2:hover, #toolbox3:hover, #toolbox4:hover {
	border: 20px solid #9F8DAB;
	background: #645667;
	-webkit-transition: all 0.3s ease-in-out;	
	   -moz-transition: all 0.3s ease-in-out;
		 -o-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;
}

#toolbox1 {
	margin-left: 0;
}

.toolbox {
	font-size: 2em;
	margin-top: 1em;
	display: block;
	color: #fff;
}

.path {
	display: inline-block;
	width: 10em;
	text-align: left;
	vertical-align: top;
	margin: 5em -0.5em -5em -0.5em;
}

.path svg {
	display: inline-block;
	width: 100%;
	height: 100px;
}

.svgpath {
	stroke-dasharray: 5;
}

.toolboxtitle {
	font-size: 1em !important;
	display: block;
	color: #6F428C;
	margin-top: 2em;
	text-transform: uppercase;
	font-weight: bold;
	font-family: 'Alegreya Sans', sans-serif;
}

.toolboxdesc {
	text-align: justify;
	margin-top: 1em;
	font-size: 1em !important;
}

.examples {
	display: block;
	font-size: 1.25em;
}

/*********************************
	07. WHO AM I
*********************************/

.whoamiimg {
	width: 500px;
	height: 500px;
	-webkit-border-radius: 250px;
	   -moz-border-radius: 250px;
			border-radius: 250px;
	margin: 10px;
    border: 4px solid #fff;
    box-shadow: 0px 0px 24px #000;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); 
    filter: gray;
    -webkit-filter: grayscale(100%);
    transition: all 0.3s;
}

.whoamiimg:hover {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
	-webkit-filter: grayscale(0%);
	transition: all 0.3s;
}

/*********************************
	07. COLUMNS
*********************************/

.one-half {
	width: 48%;
}

.one-third {
	width: 30.66%;
}

.two-third {
	width: 65.33%;
}

.one-fourth {
	width: 22%;
}

.three-fourth {
	width: 74%;
}

.one-fifth {
	width: 16.8%;
}

.two-fifth {
	width: 37.6%;
}

.three-fifth {
	width: 58.4%;
}

.four-fifth {
	width: 67.2%;
}

.one-sixth {
	width: 13.33%;
}

.five-sixth {
	width: 82.67%;
}

.one-half, .one-third, .two-third, .three-fourth, .one-fourth, .one-fifth, .two-fifth, .three-fifth, .four-fifth, .one-sixth, .five-sixth {
	position: relative;
	margin-right: 4%;
	float: left;
}

.last {
	margin-right: 0 !important;
	clear: right;
}

/*********************************
	08. FOOTER
*********************************/

#footer {
	background: #000;
	margin: auto;
	text-align: center;
	padding: 6em 3em;
	color: #fff;
	font-size: 1em;
}

.copyright {
}

.copyright p {
	text-align: center;
}

/*********************************
	09. CODE HIGHLIGHTER
*********************************/

.sh_acid {
	background: none;
	padding: 0;
	margin: 0;
	border: 0 none;
}

.sh_acid .sh_sourceCode {
	background-color: #30202D;
	color: #AE98AC;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_keyword {
	color: #bb7977;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_type {
	color: #8080c0;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_string {
	color: #47B359;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_regexp {
	color: #a68500;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_specialchar {
	color: #f0f;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_comment {
	color: #D78E46;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_number {
	color: #800080;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_preproc {
	color: #0080c0;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_symbol {
	color: #ff0080;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_function {
	color: #DA88A4;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_cbracket {
	color: #ff0080;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_url {
	color: #a68500;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_date {
	color: #bb7977;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_time {
	color: #bb7977;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_file {
	color: #bb7977;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_ip {
	color: #a68500;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_name {
	color: #a68500;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_variable {
	color: #7492A1;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_oldfile {
	color: #f0f;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_newfile {
	color: #a68500;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_difflines {
	color: #bb7977;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_selector {
	color: #0080c0;
	font-weight: normal;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_property {
	color: #bb7977;
	font-weight: bold;
	font-style: normal;
}

.sh_acid .sh_sourceCode .sh_value {
	color: #a68500;
	font-weight: normal;
	font-style: normal;
}

.snippet-wrap {
	position: relative;
}

*: first-child+html .snippet-wrap {
	display: inline-block;
}

* html .snippet-wrap {
	display: inline-block;
}

.snippet-reveal {
	text-decoration: underline;
}

.snippet-wrap .snippet-menu, .snippet-wrap .snippet-hide {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: .9em;
	z-index: 1;
	background-color: transparent;
}

.snippet-wrap .snippet-hide {
	top: auto;
	bottom: 10px;
}

*:first-child+html .snippet-wrap .snippet-hide {
	bottom: 25px;
}

* html .snippet-wrap .snippet-hide {
	bottom: 25px;
}

.snippet-wrap .snippet-menu pre, .snippet-wrap .snippet-hide pre {
	background-color: transparent;
	margin: 0;
	padding: 0;
}

.snippet-wrap .snippet-menu a, .snippet-wrap .snippet-hide a {
	padding: 0 5px;
	text-decoration: underline;
}

.snippet-wrap pre.sh_sourceCode {
	line-height: 1.8em;
	overflow: auto;
	position: relative;
	max-height: 650px;
}

.snippet-wrap pre.snippet-textonly {
	padding: 2em;
}

*: first-child+html .snippet-wrap pre.snippet-formatted {
	padding: 2em 1em;
}

* html .snippet-wrap pre.snippet-formatted {
	padding: 2em 1em;
}

.snippet-reveal pre.sh_sourceCode {
	padding: .5em 1em;
	text-align: right;
}

.snippet-wrap .snippet-num li {
}

.snippet-wrap .snippet-no-num {
	list-style: none;
	padding: .6em 1em;
	margin: 0;
}

.snippet-wrap .snippet-no-num li {
	list-style: none;
	padding-left: 0;
}

.snippet-wrap .snippet-num {
	margin: 1em 0 1em 1em;
	padding-left: 3em;
}

.snippet-wrap .snippet-num li {
	list-style: decimal-leading-zero outside none;
}

.snippet-wrap .snippet-no-num li.box {
	padding: 0 6px;
	margin-left: -6px;
}

.snippet-wrap .snippet-num li.box {
	border: 1px solid;
	list-style-position: inside;
	margin-left: -3em;
	padding-left: 6px;
}

*:first-child+html .snippet-wrap .snippet-num li.box {
	margin-left: -2.4em;
}

* html .snippet-wrap .snippet-num li.box {
	margin-left: -2.4em;
}

.snippet-wrap li.box-top {
	border-width: 1px 1px 0 !important;
}

.snippet-wrap li.box-bot {
	border-width: 0 1px 1px !important;
}

.snippet-wrap li.box-mid {
	border-width: 0 1px !important;
}

.snippet-wrap .snippet-num li .box-sp {
	width: 18px;
	display: inline-block;
}

*:first-child+html .snippet-wrap .snippet-num li .box-sp {
	width: 27px;
}

* html .snippet-wrap .snippet-num li .box-sp {
	width: 27px;
}

.snippet-wrap .snippet-no-num li.box {
	border: 1px solid;
}

.snippet-wrap .snippet-no-num li .box-sp {
	display: none;
}

/*********************************
	11. SCROLL UP
*********************************/

#scrollUp {
    background-image: url("../img/top.png");
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
}
