body {
    line-height: 1.4;
}

pre {
    line-height: 1.3;
}

a.headerlink {
    color: white;
}

a.headerlink:hover {
    color: rgb(168, 86, 163);
    display: inline;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 40px;
}

h1, h2, h3, h4 {
    margin-bottom: 15px;
}

section {
    padding-top: 30px;
    padding-bottom: 30px;
}

nav.main-nav {
    text-align: left;
}

.main-nav ul li ul {
    left: 0;
    min-width: 250px;
    background-color: white;
}

.site-wrapper .row {
    margin: 0;
}

.header-inner .brand a {
    width: 212px;
}

div.admonition {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    color: #C09853;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #FCF8E3;
    border: 1px solid #FBEED5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

div.admonition strong, div.admonition a {
    color: #C09853 !important;
}

div.admonition.hint {
    color: #3A87AD;
    background-color: #D9EDF7;
    border-color: #BCE8F1;
}

div.admonition.hint strong, div.admonition.hint a {
    color: #3A87AD !important;
}

div.admonition.warning {
    color: #B94A48;
    background-color: #F2DEDE;
    border-color: #EED3D7;
}

div.admonition.warning strong, div.admonition.warning a {
    color: #B94A48 !important;
}

div.admonition.note {
    color: #468847;
    background-color: #DFF0D8;
    border-color: #D6E9C6;
}

div.admonition.note strong, div.admonition.note a {
    color: #468847 !important;
}

div.admonition p {
    margin: 0;
}

p.first.admonition-title {
    margin-right: 3px !important;
    font-weight: bold;
}

table.docutils {
    border: 1px solid #dddddd;
    border-collapse: separate;
    *border-collapse: collapse;
    border-left: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 20px;
}

table.docutils.footnote {
    margin-bottom: 0;
    text-align: left;
    width: initial !important;
}

table.docutils.footnote td {
    text-align: left;
}

table.docutils.footnote td.label {
    color: rgb(168, 86, 163);
    width: 30px;
}

table.docutils th,
table.docutils td {
    border-left: 1px solid #dddddd;
}

table.docutils caption + thead tr:first-child th,
table.docutils caption + tbody tr:first-child th,
table.docutils caption + tbody tr:first-child td,
table.docutils colgroup + thead tr:first-child th,
table.docutils colgroup + tbody tr:first-child th,
table.docutils colgroup + tbody tr:first-child td,
table.docutils thead:first-child tr:first-child th,
table.docutils tbody:first-child tr:first-child th,
table.docutils tbody:first-child tr:first-child td {
    border-top: 0;
}

table.docutils thead:first-child tr:first-child th:first-child,
table.docutils tbody:first-child tr:first-child td:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}

table.docutils thead:first-child tr:first-child th:last-child,
table.docutils tbody:first-child tr:first-child td:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}

table.docutils thead:last-child tr:last-child th:first-child,
table.docutils tbody:last-child tr:last-child td:first-child,
table.docutils tfoot:last-child tr:last-child td:first-child {
    -webkit-border-radius: 0 0 0 4px;
    -moz-border-radius: 0 0 0 4px;
    border-radius: 0 0 0 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
}

table.docutils thead:last-child tr:last-child th:last-child,
table.docutils tbody:last-child tr:last-child td:last-child,
table.docutils tfoot:last-child tr:last-child td:last-child {
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
}

table.docutils caption + thead tr:first-child th:first-child,
table.docutils caption + tbody tr:first-child td:first-child,
table.docutils colgroup + thead tr:first-child th:first-child,
table.docutils colgroup + tbody tr:first-child td:first-child {
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}

table.docutils caption + thead tr:first-child th:last-child,
table.docutils caption + tbody tr:first-child td:last-child,
table.docutils colgroup + thead tr:first-child th:last-child,
table.docutils colgroup + tbody tr:first-child td:last-child {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-right-topleft: 4px;
}

table.docutils.footnote {
    border: none;
    text-align: center;
}

table.docutils td, table.docutils th {
    border-right: none !important;
    border-bottom: none !important;
}

table.docutils tbody td {
    padding: 5px;
    border-top: 1px solid #DDD;
}

table.docutils.footnote td {
    border: none;
}

table.docutils th.head {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

table.docutils.field-list {
    margin-top: 19px;
}

table.docutils.field-list .field-name {
    padding-top: 5px;
}

table.docutils.field-list tr:first-child + tr th, table.docutils.field-list tr:first-child ~ tr th {
     border-top: 1px solid #DDD !important;
}

.main-nav ul li.current > a {
    color: #a856a3;
    font-weight: bold;
    background-color: #fcfcfc;
}

#faq dt {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 24px;
    line-height: 40px;
    font-weight: normal;
}

#api-docs table.field-list, table {
    width: 100%;
}

#api-docs table.field-list th.field-name, #database-indexes table.field-list th.field-name, #list-of-methods table.field-list th.field-name {
    width: 20%;
    padding-left: 10px;
}

td.linenos {
    width: 50px;
}

.align-center {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
