.aui-header .aui-header-logo-bitbucket-docs a .aui-header-logo-device {
    background-repeat: no-repeat;
    background-position: 0 50%;
    display: block;
    float: left;
    height: 24px;
    width: 210px;
    padding: 9px 0;
    text-indent: -9999px;
    text-align: left;
    background-image: url('../images/atlassian-developers-logo.svg');
    background-size: 100%;
}

.aui-page-panel-content h1 {
    margin-top: 0px;
}

.aui-page-focused .aui-page-panel, .aui-page-fixed .aui-page-panel {
    border-radius: 0px !important;
}

/* For messages at the top we don't want to hide the TOC */
.aui-message.top {
    width: 680px; /* 980px - 300px */
}

#main-content > .contents {
    padding-left: 20px;
    float: right;
    margin: 0 0 20px 20px;
    max-width: 300px;
}

.contents h3 {
    margin-top: 0px !important;
}

.contents > ul {
    list-style: none;
    padding-left: 0;
}

.contents li {
    line-height: 24px;
}

.contents > ul li > ul {
    padding-left: 30px;
}

.contents ul {
    margin-top: 0;
}

.aui-header .app-switcher-trigger::after {
    border: 0px solid transparent; /* Get rid of the down arrow */
}

.app-switcher-trigger.aui-dropdown2-trigger {
    background: transparent;
    border: 0;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    float: left;
    height: 40px;
    padding: 0 10px !important;
    width: 36px;
}

pre code {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f5f5f5 !important;
    margin: 9px 0;
    width: 100%;
    padding: 10px;
    overflow: auto;
    max-width:900px;
}

.tick {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: 100%;
    background-image: url('../images/check.png');
}

.toc ul {
    margin-top: 0px;
}

h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 20px;
}

h3.title,
h4.title,
h5.title,
h6.title {
    margin-top: 0px;
}

.aui-lozenge-code {
    background-color: #f5f5f5;
    border-color: #ccc;
    color: #333;
    font-family: monospace;
    font-weight: normal;
    text-transform: none;
    font-size: 12px;
    padding: 4px;
    margin: 0px 3px;
}

.aui-page-panel {
    min-height: 400px;
    margin: 0;
}


.aui-nav .nested {
    margin:5px 0 10px 0;
}

.aui-nav .nested li{
    margin-left:15px;
}

.aui-dropdown2.aui-style-default.aui-dropdown2-in-header {
    z-index:100;
}

.aui-message-info {
    /*
        To prevent floating layout issues when the info block displays next to the content nav
    */
    overflow:hidden;
}

.aui-page-panel-sidebar {
    max-width:300px;
}

/** @aui-override for nested lists in vertical nav */
.aui-navgroup-vertical .aui-nav .aui-nav-selected ul a,
.aui-nav-vertical .aui-nav .aui-nav-selected ul a {
    font-weight:normal;
    color:#3b73af;
}
/* =========================================================================================================================================
        HOME PAGE
========================================================================================================================================= */

.intro-header h1 {
    font-size: 52px;
    line-height: 30px;
    padding: 60px 0 10px 0;
}
.intro-header h2 {
    font-size: 26px;
    padding-bottom: 60px;
    line-height: 1.5;
    color: #333;
}
.intro-header .aui-lozenge {
    margin-left: 10px;
}

img.principle-img {
    margin-left: 0;
}

.no-bullets {
    list-style: none;
    padding-left: 0;
}

