@import url("//fonts.googleapis.com/css?family=Cabin:400,700,400italic,700italic|Source+Code+Pro:400,700");

body {
    line-height: 1;
    background: url("images/fabric_plaid.png");
    font-family: Cabin, Cantarell, "Liberation Sans", sans-serif;
    color: #666;
    margin: 0;
}
/* div.line-block is a Sphinx thing */
/* blockquote should contain p's but Sphinx doesn't always do it that way */
p, ul, ol, dt, dd, th, td, div.line-block, figcaption, blockquote {
    line-height: 1.5em;
    color: #777;
}
p, li, dd, figcaption {
    text-align: justify;
}
a {
    text-decoration: none;
    color: #69c;
}
a:hover {
    border-bottom: 1px dotted #69c;
}
img {
    border: none;
}
hr {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 2px dotted #ddd;
}

table {
    border: 1
}

pre, code, tt {
    font-family: "Source Code Pro", "DejaVu Sans Mono", "Bitstream Vera Mono", monospace;
}
pre {
    font-size: 94%;
    line-height: 1.4em;
    padding: 1.25em;
    border-radius: 1em;
    background: rgba(255,255,255,0.3);
    overflow: auto;
}
/* Source Code Pro is generous with horizontal space but our body font, 
 * Cabin, is quite tight. So we tighten it up a bit, so that code literals 
 * in running text don't stick out like a sore thumb.
 * Note this is for inline literals only (hence the complicated CSS selector), 
 * not for code blocks! */
tt, p code, li code, dt code, dd code, th code, td code, figcaption code {
    letter-spacing: -0.1ex;
}

article, section {
    margin-bottom: 2em;
    clear: both;
}
nav {
    margin-bottom: 1em;
    clear: both;
}
nav .search {
    display: inline;
    margin: 0;
    padding: 0;
}
nav .search input {
    background-color: #999;
    border: 1px solid #777;
    border-radius: 15px;
    padding: 4px 15px;
}
h1 {
    text-align: center;
    font-size: 2em;
    padding-bottom: 0.5em;
    border-bottom: 2px dotted #ddd;
}
h2 {
    font-size: 1.5em;
}
figcaption, .figure .caption {
    margin-top: 1em;
    font-style: italic;
}
figure, div.figure {
  margin: 0
}

nav#TOC {
    border-bottom: 2px dotted #ddd;
}
.headerlink {
    font-size: 0.75em;
    font-weight: normal;
}

.header {
    background:url("images/rubber_grip.png");
    padding-top:10px;
    padding-bottom:10px;
    box-shadow: 0 1px 0 #aaa,0 0 15px #444;
}
.body_element {
    max-width: 80ex;
    margin-left:auto;
    margin-right:auto;
    padding: 0 0.5em;
    position:relative;
}
.header .title {
    display:inline-block;
}
.header .title a:hover {
    border: none;
}
.menu {
    display: inline-block;
    position:absolute;
    right:0;
    top:6px;
    font-weight:bold;
    font-size:14px;
    line-height:14px;
}
.menu a {
    padding:4px 20px 8px 20px;
    margin-left:5px;
    border-radius:15px;
    color:#ddd;
    text-decoration:none;
}
.menu a:hover {
    border:none;
    background-color:#000;
    color:white;
    box-shadow: 0 -1px 0 #777 inset,0 1px 0 #111 inset,0 -15px 15px rgba(0,0,0,0.3) inset;
}
.menu a.active {
    background-color:#3764a5;
    color:white;
    box-shadow: 0 1px 0 #777 inset,0 -1px 0 #111 inset,0 -15px 15px rgba(0,0,0,0.3) inset;
}
.main_content {
    margin-top: 2em;
    clear: both;
}

/*** Styles specific to the docs index page ***/
.resourcesbox {
  text-align: center;
  display: inline-block;
  vertical-align: top;
  border-radius: 1em;
  background: rgba(255,255,255,0.3);
  margin-bottom: 1em;
  width: 22ex;
  padding: 2ex 1.5ex;
  margin-right: 2ex;
}
.resourcesbox:last-child {
  margin-right: 0;
}
/* If we're on a narrow viewport (e.g. a phone), ditch the side-by-side boxes */
@media only screen and (max-width: 800px) {
  .resourcesbox {
    display: block;
    width: auto;
    margin-right: 0;
  }
}
.resourcesbox h3 {
  margin: 0;
}
.resourcesbox ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.resourcesbox ul li {
  text-align: center;
  margin-top: 0.7em;
  line-height: 1.2em;
}

/*** Styles specific to Sphinx output ***/
nav .breadcrumbs, nav .rellinks {
    font-size: 90%;
    margin: 0;
    padding: 0;
    display: inline-block;
}
nav .rellinks {
    position: absolute;
    /* This 0.5em corresponds to 0.5em padding on body_element */
    right: 0.5em;
}
nav .breadcrumbs li, nav .rellinks li {
    display: inline;
}
nav .breadcrumbs li:after {
    content: ' »';
}
nav .rellinks li:after {
    content: ' | ';
}
nav .rellinks li:last-child:after {
    content: none;
}
.warning, .branch-warning {
    background-color: #EBC2D6;
    border-radius: 1em;
    padding: 1em;
    margin-bottom: 1em;
}
.branch-warning {
    text-align: center;
}
div.admonition {
    background-color: #C2D6EB;
    border-radius: 1em 1em 1em 1em;
    padding: 1em 1em 0.01em 1em;
    margin: 1em 2.5em;
}
.guilabel, .menuselection {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: bold;
}
/* Override the CSS rule from Pygments (used by Sphinx for highlighted code 
 * blocks) that uglifies our code blocks: */
.highlight {
    background: none !important;
}
/* Sphinx makes descname larger but it looks weird, since it is very often 
 * larger than the section heading it is a part of. Overridden here: */
.descname {
    font-size: 1em !important;
}
/* Sphinx sets download links in bold monospace, I guess under the assumption 
 * that the anchor is a filename? But it's not always. */
tt.download {
    letter-spacing: inherit !important;
    font-weight: normal !important;
    font-family: inherit !important;
}

/* Page specific formatting */
.slogan {
    font-size: 2em;
    line-height: 1.3em;
    color: #666;
    text-align: center;
}
.screenshot {
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    height: 382px;
    max-width: 1276px;
    margin: 2em auto;
    background-image: url("images/action-shot.png");
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto 100%;
}
/* Work around Safari's scaling-up of the screenshot on retina displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
    .screenshot { height: 191px; max-width: 638px; }
}
.repolink {
    background-position: left top;
    background-repeat: no-repeat;
    padding-left: 74px;
    background-image: url("images/package.png");
    line-height: 54px;
}
.gpgkey {
    margin: 0.5em 0;
    background-position: left top;
    background-repeat: no-repeat;
    padding-left: 74px;
    min-height: 64px;
    background-image: url("../images/certificate.png");
}
