/*
  Theme name:   Anakeen base theme
  Author:       marc@anakeen.com
*/


/* Normalize styles
   ========================================================================= */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

body {
    margin: 0;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}
a, a:visited {
    color: #247fca;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: #FFF;
    background-color: #247fca;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.75em;
    margin: 2.33em 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

p,
pre {
    margin: 1em 0;
}

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

q:before,
q:after {
    content: '';
    content: none;
}

small {
    font-size: 75%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px;
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button,
input {
    line-height: normal;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}

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-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*
* Styling KBD and Menu input
* http://codyburleson.com/2014/11/03/representing-keyboard-and-menu-input-with-html-and-css/
*/
kbd {
    background-color:#f7f7f7;
    border:1px solid #ccc;
    border-radius:3px;
    box-shadow:0 1px 0px rgba(0,0,0,0.2),0 0 0 2px #fff inset;
    color:#333;
    display:inline-block;
    font-family:Arial,Helvetica,sans-serif;
    font-size:11px;
    line-height:1.4;
    margin:0 0.1em;
    padding:0.1em 0.6em;
    text-shadow:0 1px 0 #fff;
    white-space:nowrap
}

kbd.keyboard, kbd.menu {
    border:1px solid #efefef;
    border-radius:0px;
    box-shadow: none;
    color:#666
}

kbd.menu kbd {
    border:none;
    border-radius:0px;
    box-shadow: none
}


a.link-documentation {
    border-bottom: 1ps dotted #247fca;
    background-repeat: no-repeat;
    background-position: 0 center;
    padding: 0 0 0 18px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAFdAAABXQHy1U8XAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAMBQTFRF//////8AgP8Aqv9VgP9AmcwzgOories7j98wh+EtjOYzieQ3h984h+E1jeQ2ieAyiuQ1jOEyi+E1iuI1iuMziuE1ieIziuIzi+E0iuI1ieM0iuM0ieEzieE0iuI1ieI0i+M1iuIziuI0ieI0iuMziuE0iuI0iuI0iuI0iuEziuI1iuI0i+I0iuM1iuE0i+I1iuI0iuI0iuI0iuI0iuM0iuE0iuI0iuIzieI0iuI0iuI0iuI0iuI0iuI0iuI0iuI0FNgHqQAAAD90Uk5TAAECAwQFDA0QERQcICImKTAzTWBkZmhpcHR1dneAg4SIi46PkJKUnaGkpaits7W4usDIydfY4eTm6/D19vj+b3KQdgAAAKpJREFUGNNFj+kSgjAMhCN4H2itCh71PvAAL1QUMe//VqapjPuns990kw0AyVFBfN/16mCU897IWv58iJgBqYGHf3B0KW/+py8GaROUtidRsFohARxCQH5jFaVq24LAAWLEZ7lyI+wDgYcGK+jq3KfGgCIunHnwgCM0VMKVwYSH0toZjBgIXkvFonwjIR8BF9PV+yD2l3W1ZKrTccnYprczh0yO2vqLqTn/C3NsIjD40ffCAAAAAElFTkSuQmCC");
}
a.link-external {
    background-repeat: no-repeat;
    background-position: 0 center;
    padding: 0 0 0 18px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AcGBxYJXmjuzgAAAr1JREFUOMulk09Ik3Ecxp/vu829my86l0vZu5eJndqcFhbbQRFZBB28eVAkEpZ2UCMI/EN6MmNDKiE62E4dukhIIQmBbBBBIBaCRgf/beilQb3YO927d3vfX5c2FerUc/z+Hj7fHw/PF/hP0d+G4+PjfovF0mMymS4CcAP4bhjGlqZpC9FodK3kGx0dPQsYHh6219bWDtbX118Ph8PrXq/XRkQuxtjPdDpdSCaTFzKZzLf9/f3o/Pz84ZmtQ0NDmJ6efrC4uPiZMda/vb0tnn5njJ3Tdf1WIpFYicVijyKRiA0AzCWDIAhXbDbb/ba2tnvt7e1LwWBwYGRkZEtV1bfxeNwgoh8AXjLGNhRFeU5EHwYGBt6XAU6nc+r4+Jji8fjVzs7OmzzPB1taWt74fL6l6upqIxQKobu7G0T0RZblWCqVuiNJUrKcQTQazWqaZgNQICIrz/OoqakZj0QiMSI6nZPX7XaHGWOPGWNi+Qf5fN7ucDhIURQrx3HI5/NIpVIzY2NjPQAuA8DExEQIwEIul3NzHGcCAK4EEEVR7+/v/9rQ0ADDMEBErKKiguN5/tLk5OQUADQ1NTnq6uoks9lsqqyshCAIJwAi2p+bm7vW0dHxShRFFAoF+iO43e4uANjb26tSFAWMMbhcLoiieALw+XyrqqrOzc7Oru/s7AAAdF0HAORyufO9vb3C0dHRoKZpAACPx/PR7/fr5XSy2WxgeXl5ZXV1tZrneavJZGKlphaLxXyxWHxtsVj6dF1HIBBAMBjsamxsfHe6BxvpdDoqCMKTtbU1qKoKs9kMImIArAD6OI5Da2srAoHAC0mSEkTEzlRZ13WbLMu3Dw4OHm5ublbt7u4im83CbrdDkiQ0NzcXvF7vjMvlekpEv/55TLIs+w3DuAvgBgAPgAyABBE9czqdn0q+w8ND/Ld+A7f4EKRM4IcIAAAAAElFTkSuQmCC);
}
a.link-invalid, a.link-invalid > code, a.link-invalid > code {
    pointer-events: none;
    cursor: not-allowed !important;
    border-bottom: 1px dotted #F00 !important;
}
a.link-internal > code, a.link-external > code {
    color: #247fca;
}
a.link-internal:hover > code, a.link-external:hover > code {
    color: #FFF;
    background-color: #247fca;
}


/* Base styles
   ========================================================================= */
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono|Ubuntu|Ubuntu+Condensed);
body {
    font: 13px Ubuntu, "Helvetica Neue", "Trebuchet MS", Arial, sans-serif;
    background-color: #c8c8c8;
    color: #505050;
}


/* --- headings ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    line-height: 1;
    margin: 1em 0 .25em 0;
}

h1 { font-size: 300%; }
h2 { font-size: 180%; }
h3 { font-size: 160%; }
h4 { font-size: 140%; }
h5 { font-size: 120%; }
h6 { font-size: 100%; }

h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
    margin-top: .25em;
}

h1 {
  color : #505050;
  text-shadow : 1px 1px 0px #FFF;
  border-bottom : 1px solid #c8c8c8;
}
h1 > span {
  color : rgba(138, 226, 52, 0.3);
  font-size: 180%;
  display:block;
  text-align:right;
  margin-bottom: -.45em;
}
/* --- lists --------------------------------------------------------------- */
ul, ol {
    list-style-type: square;
    margin: .5em 0 .5em .5em;
    padding: 0 0 0 1em;
}

ol {
    list-style-type: decimal;
}

ul li, ol li {
    margin: .5em 0;
}
/* --- images -------------------------------------------------------------- */
img {
    max-width: 960px;
}

/* --- code and code listings ---------------------------------------------- */
code, pre {
    font-family: Courrier, monospace;
    padding: 0 3px 2px;
    overflow:auto;
    margin: 0;
    padding : 0em;
    background-color: #FFF;
    color: #111111;
}


div.code {
    border:1px solid #c8c8c8;
    border-radius:3px;
    padding : .5em;
    background-color: #FFF;
}

h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
    font-weight: normal;
}

/* --- tables -------------------------------------------------------------- */
table {
    margin-bottom: 1em;
    max-width: 100%;
    width: 100%;
    border: 1px solid #c8c8c8;
}
table tr {
    border-bottom: 1px solid #c8c8c8;
}

th, td {
    border-left: 1px solid #c8c8c8;
    vertical-align: top;
}

/* --------------- figure ----------------------- */
.figure {
    text-align:center;
}
.figure .caption {
    font-style:italic;
}
.figure img {
    box-shadow : 5px 5px 20px rgba(0,0,0,.3);
}
/* Navigation ----------------------- */
.chunk_nav {
    margin : 0;
    padding: 5px;
    opacity: .85;
    background-color: #505050;
    box-shadow : 0px 3px 5px rgba(0,0,0,.3);
    color: #247fca;
    *zoom: 1;
    position: fixed;
    top: 0;
    left:0;
    right:0;
    height:1.2em;
}
.chunk_nav li {
    list-style-type: none;
    margin : 0;
}
.chunk_nav li.index {
    float:left;
    
}
.chunk_nav li.nav {
    float:right;
    font-size : 80%;
}
.chunk_nav a {
    font-weight: bold;
    color: #247fca;
    padding-left: 5px;
    padding-right: 5px;
}
.chunk_nav a:hover {
    color : #FFF;    
    background-color: #505050;
}
.chunk_nav a > .module {
    font-size : 80%;
    padding-left:5px;
    border-left:1px solid #c8c8c8;
}
.chunk_nav li > div.next  {
    border-left:1px solid #c8c8c8;
}
.chunk_nav li > div {
    display : inline;
    color : #505050;
}   


/* TDM page  ----------------------- */
#chunk_toc {
    box-shadow : 5px 5px 5px rgba(0,0,0,.3);
    background-color : rgba(255,255,255,.6);
    border-radius : 0 0 3px 3px;
    padding : 0;
    margin : 0;
    font-size : 80%;
    position:fixed;
    left: .5em;
    top:2.5em;
    display : block;
    max-height: 75%;
    overflow-y: auto;
}
#chunk_toc li {
    display:none;
}
#chunk_toc:hover li {
    display:block;
}
#chunk_toc li:hover {
    background-color : #FFF;
}
#chunk_toc li.title {
    color : #FFFFFF;
    display:block;
    text-align: center;
    background-color : #247fca;
    border-radius : 0 0px 3px 3px;
    padding : 0;
    margin : 0;
    min-width:100px;
}

#chunk_toc li {
    list-style-type: none;
    padding: 0 5px 0 5px;
}
#chunk_toc li.level-1 {
    font-weight: bold;
}
#chunk_toc li > span {
}
#chunk_toc a {
    white-space:nowrap;
}
#chunk_toc a:hover {
    color: #505050;
    background-color:inherit;
}
   



/* TDM ========================================================================= */
.item\:toc ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    -moz-column-count: 2;
    -moz-column-gap: 3em;
    -moz-column-rule: 1px solid #c8c8c8;
    -webkit-column-count: 2;
    -webkit-column-gap: 3em;
    -webkit-column-rule: 1px solid #c8c8c8;
}

.item\:toc .level-1 {
    color :  #c8c8c8;
    font-size : 140%;
    font-weight : bold;
    margin-top : 1em
    margin-bottom : .5em;
    border-bottom : 1px solid #c8c8c8
}
.item\:toc .level-1 span {
    color :  #247fca;
    font-size : 80%;
}
.item\:toc .level-2 {
}

.item\:toc .level-3 {
    margin-left : 1.5em;
    font-size : 80%;
}


@media print {
h1 > span {
  font-size: 80%;
  text-shadow : 0px 0px 0px;
  margin-bottom: 0;
  text-align:left;
  display:inline;
}

#totop, 
.chunk_nav ,
#chunk_toc {
    display : none;
}

}

/* Layout ========================================================================= */

/* --- item:cover ---------------------------------------------------------- */
.item\:cover {
    padding: 5em 2.5em 5em 0;
}
.item\:cover img {
    margin-right : 2em;
}

.item\:cover div.module .name,
.item\:cover h1 {
    font-weigth: bold;
    text-shadow: -1px -1px 0px #505050, 1px 1px 0px #FFF;
    font-size: 400%;
    line-height: 1.1;
    letter-spacing: -2px;
    border-bottom: 0px none;
}
.item\:cover div.module .version {
    font-weigth: bold;
    text-shadow: -1px -1px 0px #505050, 1px 1px 0px #FFF;
    font-size: 300%;
    padding : 0 20px;
}

#copy * {
    vertical-align : bottom;
}
#copy > div {
    display: inline-block;
    float:right;
    padding-right : 10px;
}
 #totop {
}
#copy {
    opacity: .85;
    background-color: #505050;
    box-shadow : 0px -3px 5px rgba(0,0,0,.3);
    color: #247fca;
    margin-top:10px;
    padding : 5px;
    *zoom: 1;
    position: fixed;
    width: 100%;
    bottom: 0px;
}
#copy a {
  color: #FFF;
  font-weight : bold;
}

.container {
    border-radius: 5px;
    background-color: #FFFFFF;
    width: 960px;
    min-width: 960px;
    margin: 2em auto 2.5em auto;
    padding : 0px 2em 2em 2em;
    *zoom: 1;
}
.container:before, .container:after {
  display: table;
  content: "";
}
.container:after {
  clear: both;
}

/* Code listings
   ========================================================================= */
div.code pre br {
    display: none;
}
/* keywords */
.kw0, .kw1, .kw2, .kw3, .kw4, .kw5, .kw6 {
    color: #2100D5;
}
/* comments, .comulti = multiline comment */
.co0, .co1, .co2, .co3, .co4, .coMULTI,
div.html .sc-1     /* HTML comments */
{
    color: #007800;
}
/* escape chars, .es_h = escape char hard quotes */
.es0, .es1, .es2, .es3, .es4, .es5, .es6, .es_h {
    color: #000;
}
/* brackets */
.br1, .br2 {
    color: #000;
}
/* symbols '(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '|', '/', */
.sy0, .sy1 {
    color: #000;
}
/* brackets */
.br1, .br2 {
    color: #000;
}
/* strings, .st_h = string hard quotes */
.st0, .st1, .st2, .st_h {
    color: #D90000;
}
/* numbers */
.nu0 {
    color: #2100D5;
}
/* methods */
.me1, .me2 {
    color: #000;
}
/* scripts */
.sc0, .sc1, .sc2, .sc3, .sc4, .sc5 {
    color: #000;
}
/* regexps */
.re0, .re1, .re2 {
    color: #000;
}

div.php .kw3,                 /* PHP built-in functions */
div.html .kw3,                /* HTML tag attributes */
div.twig .re0 .me1            /* Twig object.property (property only) */
{
    color: #641F9D;
}
div.php .re0,                  /* PHP variables */
div.yaml .co3, div.yaml .co4,  /* YAML keys */
div.yaml .re0,                 /* YAML underscored keys */
div.ini .re0,                  /* INI brackets */
div.twig .re0                  /* Twig object.property (object only) */
{
    color: #BC0092;
}
div.yaml .co2                  /* YAML directives */
{
    color: #D90000;
}


/* Responsive
   ========================================================================= */

/* inspired by Twitter Bootstrap */
/* Landscape phones and down */
@media (max-width: 480px) {
    .item\:toc {
        padding-left: .5em !important;
    }
    .item\:toc h1 {
        display: none;
    }
    .item\:toc ul {
        margin: 0 !important;
        -moz-column-count: 1;
        -webkit-column-count: 1;
    }

    .item .chunk_nav .index {
        display: none;
    }
    .item .chunk_nav .nav {
        float: none;
    }
    .item .chunk_nav .nav .previous {
        float: left;
    }
    .item .chunk_nav .nav .next {
        float: right;
    }
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 768px) {
    .item\:cover {
        margin-bottom: 1em;
        padding: 1.5em 0;
    }
    .item\:cover h1 {
        font-size: 48px;
        letter-spacing: -1px;
        margin: 0;
    }
    .item\:cover h2 {
        font-size: 24px;
    }

    .item\:toc h1 {
        font-size: 24px;
    }
    .item\:toc ul {
        -moz-column-count: 1;
        -webkit-column-count: 1;
    }

    .item #chunk_toc {
        border: none;
        float: none;
        margin: .5em 0;
        padding: 0;
        max-width: 100%;
    }

    .item\:part h1,
    .item\:chapter h1,
    .item\:appendix h1 {
        font-size: 28px;
    }
    .item\:chapter h2,
    .item\:chapter h3,
    .item\:chapter h4,
    .item\:chapter h5,
    .item\:chapter h6,
    .item\:appendix h2,
    .item\:appendix h3,
    .item\:appendix h4,
    .item\:appendix h5,
    .item\:appendix h6 {
        font-size: 24px;
    }
    .item\:part h1 span {
        font-size: 28px;
        font-weight: normal;
        padding: 0;
        position: static;
    }
    .item\:chapter h1 span,
    .item\:appendix h1 span {
        display: inline;
        font-size: 28px;
        font-weight: normal;
    }
}
 
 /* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 960px) {
}
 
/* Large desktop */
@media (min-width: 1200px) {
}

@media (max-width: 960px) {
    .container {
        width: auto;
        padding: 0 20px;
    }
}
