/*=================================*/
/* Phile Template Theme
/* By: PhileCMS Community
/* https://github.com/PhileCMS/Phile
/* Adapted for Pelican by Borromini,
 * although most modifications happened
 * in the templates to match existing
 * elements selectors in the CSS file
/*=================================*/

/* Reset Styles
/*---------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

body {
	line-height: 1;
	color: black;
	background: white;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	margin-bottom: 1em;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
	border-bottom: 1px solid #424242;
}

th {
	background: #424242;
	color: #ebebeb;
	font-weight: bold;
	padding-left: 0.3em;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

/* HTML5 tags */
header, section, footer, 
aside, nav, article, figure {
	display: block;
}

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button {
	cursor: pointer;
}

/* make buttons play nice in IE:
www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {
	width: auto;
	overflow: visible;
}

/* Sharper Thumbnails */
img {
	-ms-interpolation-mode: bicubic;
}

hr {
	margin: 1em 0;
	border: none;
	height: 1px;
	width: 100%;
	background: rgba(0,0,0,0.15);
}

/* Input Styles
/*---------------------------------------------*/
input,
textarea,
select {
	padding: 5px;
	font: 400 1em Verdana, Sans-serif;
	color: #666;
	background: #fff;
	border: 1px solid #999;
	margin: 0 0 1em 0;
}

input:focus,
textarea:focus,
select:focus {
	color: #000;
	background: #fff;
	border: 1px solid #666;
}

/* Main Styles
/*---------------------------------------------*/
body {
	font: 14px/1.8em Lucida, sans-serif;
	color: #444;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a, a:visited {
        color: #0b0b61;
        text-decoration: none;
        -webkit-transition: all 0.2s linear;
        -moz-transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
        -o-transition: all 0.2s linear;
        transition: all 0.2s linear;
}

a:hover, a:active {
        color: #000;
        text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
	line-height: 1.2em;
	margin-bottom: 0.6em;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.7em;
}

h3 {
	font-size: 1.4em;
	margin-top: 2em;
}

h4 {
	font-size: 1.2em;
	margin-top: 2em;
}

p {
	margin-bottom: 1em;
}

ol, ul {
	padding-left: 30px;
	margin-bottom: 1em;
}

b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

u {
	text-decoration: underline;
}

abbr, acronym {
	cursor: help;
	border-bottom: 0.1em dotted;
}

td, td img {
	vertical-align: top;
}

sub {
	vertical-align: sub;
	font-size: smaller;
}

sup {
	vertical-align: super;
	font-size: smaller;
}

code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
        padding: 2px;
        background: #f2f2f2;
}

p code, li code {
        margin: 0;
        border: 1px solid #f2f2f2;
}

pre {
	line-height: 1.2;
	margin-bottom: 1em;
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    padding: 2px;
    background: #f2f2f2;
}

/* This code compensates for removing tomorrow-night.css */
/* We're commenting this out as well
pre code {			
	display: block;
}
*/

blockquote {
	font-style: italic;
	margin: 0 0 1em 15px;
	padding-left: 10px;
	border-left: 5px solid #ddd;
}

/* Structure Styles
/*---------------------------------------------*/
.inner {
	width: 100%;
	max-width: 850px;
	margin: 0 auto;
}

@media only screen and (max-width : 767px) {
	.inner {
		padding: 0 1em;
	}
}

#header {
        background-image: -ms-linear-gradient(bottom left, #0B0B3B 0%, #08088A 100%);
        background-image: -moz-linear-gradient(bottom left, #0B0B3B 0%, #08088A 100%);
        background-image: -o-linear-gradient(bottom left, #0B0B3B 0%, #08088A 100%);
        background-image: -webkit-gradient(linear, left bottom, right top, color-stop(0, #0B0B3B), color-stop(1, #08088A));
        background-image: -webkit-linear-gradient(bottom left, #0B0B3B 0%, #08088A 100%);
        background-image: linear-gradient(to top right, #0B0B3B 0%, #08088A 100%);

        padding: 50px 0;
        margin-bottom: 80px;
        color: #afe1da;
}
#header a { color: #bdbdbd; }
#header h1 a,
#header a:hover { color: #fff; }
#header h1 {
	font-weight: bold;
	margin: 0;
	float: left;
}
#header .nav {
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
}
#header .nav li { display: inline; }
#header .nav a {
	font-weight: bold;
	margin-left: 20px;
}

#header .nav a.active {
	color: white;
}

a.btn {
	color: white;
	font-weight: bold;
	padding: 0.4em 1em;
	background: #333;
	border-radius: 4px;
	border: none;
	outline: 0;
}

a.btn:hover {
	background: #0b0b61;
}

article {
	padding-bottom: 1.5em;
	margin-bottom: 1em;
	border-bottom: 1px solid rgba(0,0,0,0.15);
}

article:last-child {
	padding: 50 0 0 0;
	margin: 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

article h3 {
	margin-top: 0;
}

#footer {
        color: #474747;                 /* orig #6e6e6e */
        font-size: 90%;
}

#footer a {
        color: #848484; 
}
#footer a:hover { color: #000000; }     /* orig #2e2e2e */

/* Misc Styles
/*---------------------------------------------*/
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}
