/*
 * kx.css_t
 * ~~~~~~~~
 *
 * Sphinx stylesheet for KaarPux kx_doc theme.
 *
 * KaarPux: http://kaarpux.kaarposoft.dk
 * Copyright (C) 2015: Henrik Kaare Poulsen
 * License: http://kaarpux.kaarposoft.dk/license.html
 *
 */


/* ============================================================ */
/*           RESET                                              */
/* ============================================================ */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/


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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* ============================================================ */
/*           BODY                                               */
/* ============================================================ */

body {
	padding: 0;
	background-color: #F8F8F8;
	font-family: "DejaVu Serif", serif;
}

p {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}


/* ============================================================ */
/*           HEADER                                             */
/* ============================================================ */

div.header {
	display: block;
	padding: 0.5em 0.5em;
	background-color: #333333;
	color: #EEEEEE;
	font-family: "DejaVu Sans", sans-serif;
	font-weight: bold;
}

div.header div.headertitle a {
	font-size: 280%;
	text-decoration: none;
}

div.header div.headertitle a:link {
	color: #EEEEEE;
}

div.header div.headertitle a:visited {
	color: #EEEEEE;
}

/* PermaLink */
a.headerlink {
	visibility: hidden;
}
h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink {
	visibility: visible;
}

/* ============================================================ */
/*           RELATED                                            */
/* ============================================================ */

div.related {
	display: block;
	overflow: hidden;
	padding: 0.5em 0.5em;
	border-bottom: 1px solid #111111;
	background-color: #AAAAAA;
	color: #111111;
	font-family: "DejaVu Sans", sans-serif;
}

div.related ul {
	list-style: none; 
	float: left;
}

div.related ul li {
	float: left;
}

div.related div.rel {
	float: right;
}

div.related div.rel span:after { /* TODO: Not working? */ 
	content: " | "; 
	font-weight: bold;
}


/* ============================================================ */
/*           FOOTER                                             */
/* ============================================================ */

div.navfooter {
	display: block;
	overflow: hidden;
	padding: 0.5em 0.5em;
	background-color: #333333;
	border-top: 1px solid #111111;
	color: #EEEEEE;
	font-family: "DejaVu Sans", sans-serif;
}

div.navfooter a:visited {
	color: #EEEEEE;
}


div.navfooter ul {
	list-style: none; 
}

div.navfooter ul li.prev {
	float: left;
	text-align: left;
	width: 33%;
}

div.navfooter ul li.copyright {
	float: left;
	text-align: center;
	width: 34%;
}

div.navfooter ul li.next {
	float: left;
	text-align: right;
	width: 33%;
}


/* ============================================================ */
/*           SIDEBAR / TOC                                      */
/* ============================================================ */

div.sidebar {
	font-family: "DejaVu Sans", sans-serif;
	width: 30em;
	float: right;
	padding: 0.5em;
	border-left: 1em solid #F8F8F8;
	border-bottom: 1em solid #F8F8F8;
	color: #222222;
	background-color: #EEEEEE;
}

div.sidebar ul {
  list-style-type: none;
}

div.sidebar a, div.header a {
  text-decoration: none;
}

div.sidebar a:hover, div.header a:hover {
  text-decoration: underline;
}

div.sidebar h3 {
  color: #0c29c2;
  text-transform: uppercase;
  margin: 1ex 0 1ex 0;
  font-size: 130%;
  letter-spacing: .1em;
}

div.sidebar h3 a {
  color: #0c29c2;
}

div.sidebar li.toctree-l1 a {
  display: block;
  padding: 1px;
  border: 1px solid #dddddd;
  background-color: #eeeeec;
  margin-bottom: .4em;
  padding-left: 3px;
  color: #2e3436;
}

div.sidebar li.toctree-l2 a {
  background-color: transparent;
  border: none;
  margin-left: 1em;
  border-bottom: 1px solid #dddddd;
}

div.sidebar li.toctree-l3 a {
  background-color: transparent;
  border: none;
  margin-left: 2em;
  border-bottom: 1px solid #dddddd;
}

div.sidebar li.toctree-l2:last-child a {
  border-bottom: none;
}

div.sidebar li.toctree-l1.current a {
  border-right: 6px solid #fcaf3e;
}

div.sidebar li.toctree-l1.current li.toctree-l2 a {
  border-right: none;
}

div.sidebar li.toctree-l1.current li.toctree-l2.current a {
  border-right: 3px solid #febf4e;
}

div.sidebar li.toctree-l1.current li.toctree-l2.current li.toctree-l3 a {
  border-right: none;
}

div.sidebar li.toctree-l1.current li.toctree-l2.current li.toctree-l3.current a {
  border-right: 2px solid #ffcf5e;
}

div.news2 div.section {
  margin-top: 1em;
}

/* ============================================================ */
/*           CONTENT                                            */
/* ============================================================ */

div.content {
	font-family: "DejaVu Serif", serif;
	padding: 0.5em 0.5em;
	background-color: #F8F8F8;
	color: #080808;
	line-height: 1.4em;
}

div.clearer {
	clear: both;
}


/* ============================================================ */
/*           LINKS                                              */
/* ============================================================ */

a:link {
	color: #0d95da;
}

a:visited {
	color: #530dda;
}

a:active {
	color: #927c09;
}

a:hover{
	color: #927c09;
}


/* ============================================================ */
/*           HEADERS                                            */
/* ============================================================ */

h1 {
	font-family: "DejaVu Sans", sans-serif;
	font-weight: bold;
	color: #0c29c2;
	letter-spacing: 0.05em;
	margin: 1ex 0 1ex 0;
	font-size: 200%;
	line-height: 1.1em;
}

h2 {
	font-family: "DejaVu Sans", sans-serif;
	font-weight: bold;
	color: #0c29c2;
	letter-spacing: 0.05em;
	margin: 3ex 0 1ex 0;
	font-size: 160%;
	line-height: 1.1em;
}

h3 {
	font-family: "DejaVu Sans", sans-serif;
	font-weight: bold;
	color: #0c29c2;
	letter-spacing: 0.05em;
	margin: 3ex 0 1ex 0;
	font-size: 130%;
	line-height: 1.1em;
}

h4 {
	font-family: "DejaVu Sans", sans-serif;
	font-weight: bold;
	color: #0c29c2;
	letter-spacing: 0.05em;
	margin: 3ex 0 1ex 0;
	font-size: 110%;
	line-height: 1.1em;
}


/* ============================================================ */
/*           LISTS                                              */
/* ============================================================ */

div.news ul {
	list-style: disc;
}

div.news ul li{
	margin-left: 2em;
}

div.document ul {
	list-style: disc;
}

div.document ul li{
	margin-left: 3em;
}

div.document ol {
	list-style: decimal;
}

div.document ol li {
	margin-left: 3em;
}

div.document dl {
	margin-top: 1em;
}

div.document dt {
	font-weight: bold;
	font-family: "DejaVu Sans", sans-serif;
}

div.document dd {
  margin-left: 1.2em;
  margin-top: .4em;
  margin-bottom: 1em;
}


/* ============================================================ */
/*           TABLES                                             */
/* ============================================================ */

table {
	margin: 1em;
	border-top: 1px solid #AAAAFF;
	border-right: 1px solid #AAAAFF;
	border-collapse: collapse;

}

th {
	font-weight: bold;
}

td, th {
	border-left: 1px solid #AAAAFF;
	border-bottom: 1px solid #AAAAFF;
	border-collapse:collapse;
	padding: 0.3em 1em;
}


/* ============================================================ */
/*           CODE                                               */
/* ============================================================ */

.program {
	font-weight: bold;
}

.command,
.guilabel,
code {
	color: #228822;
	font-family: "DejaVu Sans Mono", monospace;
}

.highlight  {
	margin: 0.3em;
	margin-left: 0em;
	padding: 0.3em;
	color: #228822;
	background_color: #AA8888;
	font-family: "DejaVu Sans Mono", monospace;
	border: 1px solid #88CC88;
}


/* ============================================================ */
/*           NOTE / IMPORTANT                                   */
/* ============================================================ */

div.note {
	margin: 0.5em 0em !important;
	padding: 0.5em 0.75em;
	border-style: solid;
	border-width: 1px 1px 1px 4px;
	background-color: #DDDDDD;
	color: #333333;
	border-color: #888888;
}

div.important {
	margin: 0.5em 0em !important;
	padding: 0.5em 0.75em;
	border-style: solid;
	border-width: 1px 1px 1px 4px;
	background-color: #EEE8E8;
	color: #552222;
	border-color: #AA9999;
}

div.warning {
	margin: 0.5em 0em !important;
	padding: 0.5em 0.75em;
	border-style: solid;
	border-width: 1px 1px 1px 4px;
	background-color: #FFEEEE;
	color: #CC2222;
	border-color: #DD2222;
}

p.admonition-title {
	font-family: "DejaVu Sans", sans-serif;
	font-weight: bold;
}

/* ============================================================ */
/*           BLOCKQUOTE                                         */
/* ============================================================ */

blockquote {
	font-family: "DejaVu Sans", sans-serif;
	padding: 0.5em 0.75em;
	border-style: solid;
	border-width: 1px 1px 1px 4px;
	background-color: #DDDDDD;
	color: #333333;
	border-color: #888888;
}

/* ============================================================ */
/*           SMALL DEVICES                                      */
/* ============================================================ */

@media all and (max-width: 60em)  {
	div.sidebar {
		width: 60em;
		float: left;
		clear: both;
	}
}
