/* =========================================================================================================================================
        OVER-RIDES
========================================================================================================================================= */

hr {
    color: #ccc;
    background-color: #ccc;
    border: none;
    height: 1px;
    margin: 40px 0;
}
hr.changelog {
    color: #ccc;
    background-color: #ccc;
    border: none;
    height: 1px;
    margin: 30px 0 -10px 0;
}
.aui-tabs > .tabs-pane {
    margin-top: 10px;
}
.aui-group-highlighted .aui-item p {
    background: #f5f5f5;
    padding: 20px;
    margin-bottom: 10px;
}
.lockup-item {
    float: left;
    margin-right: 40px
}
.lockup-item:last-child {
    margin-top: -5px;
}
.lockup-item > img {
    width: 150px;
}
.aui-toolbar2 {
    margin-top: -10px;
}
li p {
    margin: 0;
}
.aui-inline-dialog .contents {
    padding: 20px;
}
.type-element {
    white-space: nowrap;
}
.aui-message {
    margin-top: 0;
}
.placeholder-box {
    background: #f5f5f5;
    padding: 20px;
}
ul ul, ol ol {
    margin: 0;
}
.example-container.narrow {
    max-width: 900px;
}
table.aui .aui-icon {
    color: #707070;
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
}
.aui-group > .aui-item > h4:first-child {
    margin-top: 0;
}
.aui-group.example-typography {
    margin-top: 20px;
}

/* App Switcher - some of these styles should go into AUI to fix - https://ecosystem.atlassian.net/browse/AUI-1656*/
.app-switcher-trigger {
    box-sizing: border-box;
    float: left;
    width: 36px;
    cursor: pointer;
}

#flatpack-app-switcher-trigger:after {
    border: 0;
}
/* End App Switcher */

/* Header Split button problems hackery */
.aui-header .aui-button.aui-button-primary {
    padding-top: 5px;
}
.aui-buttons > .aui-button-primary.aui-button-split-main {
    padding-top: 4px;
}
.aui-button-split-main {
    margin-right: 0 !important;
}
.aui-buttons .aui-button-split-more {
    margin-left: 0 !important;
    padding-right: 18px !important;
}
.aui-header .aui-button-primary.aui-dropdown2-trigger.aui-button-split-more.active {
    top: 0px;
    padding-right: 23px !important;
}
/* End Split button */


/* make aui buttons work in a table */

table.aui > tbody > tr > td.adg-actions {
    padding-bottom: 0;
}
table.aui .adg-actions .aui-button.aui-dropdown2-trigger {
    padding-right: 21px !important;
}
table.aui .adg-actions .aui-button, table.aui a.aui-button, table.aui.aui-button:visited {
    padding:  2px 8px 2px 8px;
    line-height: inherit;
    height: inherit;
    margin-top: -3px;
    margin-left: 5px;
    height: 26px;
}
table.aui .adg-actions .aui-button.aui-button.aui-dropdown2-trigger:after {
    top: 9px;
}
table.aui .adg-actions .aui-button.aui-dropdown2-trigger:after {
    margin-left: -16px;
}
table.aui .adg-actions .aui-button.aui-dropdown2-trigger:first-child.active, table.aui .adg-actions .aui-button.aui-dropdown2-trigger.active {
    padding-bottom: 3px;
}
table.aui td.adg-actions > .aui-icon.aui-icon-small {
    vertical-align: -4px;
    margin-right: 5px;
}

/* make hoverable actions work in a table */
table.aui .adg-actions .adg-on-hover > div.inline-actions {
    display: inline-block;
}
table.aui .adg-actions .adg-on-hover > div.inline-actions > a, table.aui .adg-on-hover > div.inline-actions > button {
    display: none;
}
table.aui tr:hover .adg-on-hover > div.inline-actions > a, table.aui tr:hover .adg-on-hover > div.inline-actions > button {
    display: inline-block;
}

/* give table rows a hover state */

.visible-icon {
    display: inline-block;   
}

button .aui-icon {
    color: #707070;
}

/* =========================================================================================================================================
        HEADER
========================================================================================================================================= */

.aui-header .aui-header-logo-adg a .aui-header-logo-device {
    background-image: url('../images/logo/logo-adg.png');
    background-position: 0 50%;
    background-repeat: no-repeat;
    background-size: 100%;
    display: block;
    float: left;
    height: 24px;
    padding: 8px 0;
    text-indent: -9999px;
    text-align: left;
    width: 162px;
}
.aui-icon-container.avatar-round > img {
    width: 16px;
    height: 16px;
    border-radius: 100%;
    border: 1px solid #ccc;
}
.aui-icon-container.user-avatar-round > img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Compact buttons */
/* AUI-1648 */
.aui-button.aui-button-compact, .aui-button.aui-button-compact:visited {
    padding: 2px 5px;
}
/*AUI-1649*/
.aui-button.aui-button-compact.aui-dropdown2-trigger:first-child.active, .aui-button.aui-button-compact.aui-dropdown2-trigger.active {
    padding-bottom: 3px;
}

/* AUI-1647 - DELETE THIS BUG, NEW SOLUTION BELOW: */
table.aui > tbody > tr > td.aui-compact-button-column {
    padding: 3px 10px;
    line-height: 28px;
    vertical-align: top;
}
table .aui-button-compact {
    margin-top: 1px;
    vertical-align: top;
}

/* make hoverable actions work in a table */
table.aui tr > td > div.inline-actions > a.aui-dropdown2-trigger, table.aui tr > td > div.inline-actions > button.aui-dropdown2-trigger {
    display: none;
}
table.aui tr:hover > td > div.inline-actions > a.aui-dropdown2-trigger, table.aui tr:hover > td > div.inline-actions > button.aui-dropdown2-trigger {
    display: inline-block;
}
/* end compact buttons in tables */

/* =========================================================================================================================================
        LAYOUT
========================================================================================================================================= */

.aui-page-panel {
    min-height: 370px;
}
.example-container {
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 20px 0;
    padding: 20px;
}
.example-container.footer {
    background-color: #f5f5f5;
    overflow: hidden;
    padding: 10px;
}
.example-container-border {
    border: 1px solid #ccc;
    border-radius: 3px;
}
.example-container.grey {
    background-color: #f5f5f5;
    overflow: hidden;
}
.example-container > .aui-page-panel {
    margin: -21px -20px;
}
.aui-page-focused .aui-page-panel-content h2 {
     border-bottom: 1px solid #ccc;
     margin-bottom: 20px;
     padding-bottom: 20px;
}
.aui-page-focused .aui-page-panel-content .buttons-container {
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 20px;
}
.margin-fix {
    margin-top: 50px;
    min-height: auto;
}
.aui-page-header-actions .aui-progress-tracker {
    width: 400px;
}
.inverted-background {
    background: #f5f5f5;
}
.aui-item.example-inline-item {
    width: 230px;
}

/* =========================================================================================================================================
        AVATARS
========================================================================================================================================= */

.img-border {
    border: 1px solid #ccc;
    margin-top: 10px;
}

/* =========================================================================================================================================
        LOZENGES
========================================================================================================================================= */

.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-lozenge-inline {
    margin: 5px 0 0 10px;
    position: absolute;
}
.new-feature-lozenge {
    margin-left: 10px;
    position: relative;
    top: -1px;
}

/* =========================================================================================================================================
        COLOUR PALETTE
========================================================================================================================================= */

.colour-palette {
    padding: 5px 45px;
}

.atlassian-blue {
    background-color: #205081;
}

.focus-blue {
    background-color: #3b73af;
}

.link-blue {
    background-color: #3b73af;
}

.page-white {
    background-color: #fff;
    border: 1px solid #ccc;
}

.light-grey {
    background-color: #f5f5f5;
}

.border-grey {
    background-color: #ccc;
}

.medium-grey {
    background-color: #707070;
}

.dark-grey {
    background-color: #333;
}

.primary-highlight {
    background-color: #f5f5f5;
}

.secondary-highlight {
    background-color: #e6e6e6;
}

.default-lozenge {
    background-color: #ccc;
    color: #333;
}

.new-lozenge {
    background-color: #14892C;
    color: #fff;
}

.error-lozenge {
    background-color: #d04437;
    color: #fff;
}

.current-lozenge {
    background-color: #ffd351;
    color: #594300;
}

.done-lozenge {
    background-color: #4a6785;
    color: #fff;
}

.moved-lozenge {
    background-color: #815b3a;
    color: #fff;
}

/* =========================================================================================================================================
        ICONS
========================================================================================================================================= */

.aui-style-default .icon-jira-bug {
  background-image: url('../images/issues/icon-jira-bug.png');
  background-size: 16px;
}

.aui-style-default .icon-jira-epic {
  background-image: url('../images/issues/icon-jira-epic.png');
  background-size: 16px;
}

.aui-style-default .icon-jira-task {
  background-image: url('../images/issues/icon-jira-requirement.png');
  background-size: 16px;
}

/* =========================================================================================================================================
        FANCY BOX
========================================================================================================================================= */

.example-thumbs {
    margin-top: 15px;
}
.example-thumbs img {
    width: 230px;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 20px;
}
.example-thumbs img:hover {
    border-color: #3b73af;
}
.example-thumbs:last-child {
    margin-right: 0;
}

.fancybox-overlay {
    background: rgba(0,0,0,0.5);
}

/* =========================================================================================================================================
        HOME PAGE
========================================================================================================================================= */

.aui-page-header-hero .aui-lozenge {
    margin-left: 10px;
}
.aui-page-header-hero span.aui-lozenge {
    position: relative;
    top: -4px;
}
.hero-download {
    background: #f5f5f5;
    background-image: url('../images/home/code.png');
    background-position: 0 20px;
    background-repeat: no-repeat;
    background-size: 144px 166px;
    border-radius: 5px;
    height: 140px;
    padding: 20px 20px 20px 164px;
}
.hero-prototype {
    background-image: url('../images/home/prototype.png');
}
.hero-download .aui-button {
    margin-top: 10px;
}
.vision {
    font-weight: normal;
}
.no-bullets {
    list-style: none;
    padding-left: 0;
}

/* =========================================================================================================================================
    COLOURS
========================================================================================================================================= */

.colours-section {
    float: left;
    margin: 10px 20px 10px 0;
    width: 100px;
}
.colours-derivative {
    float: left;
    margin: 10px 20px 0 0;
    width: 100px;
}
.colours-derivative:first-child {
    margin: 10px 20px 0 120px;
}
.colours {
    border-radius: 3px;
    height: 80px;
    width: 80px;
}
.colours-small {
    border-radius: 3px;
    height: 40px;
    width: 80px;
}
.colours-blue {
    background: #205081;
}
.colours-bright-blue-1 {
    background: #3b73af;
}
.colours-charcoal {
    background: #333;
}
.colours-light-grey {
    background: #f5f5f5;
}
.colours-white {
    background: #fff;
    border: 1px solid #ccc;
}
.colours-bright-blue-2 {
    background: #3b7fc4;
}
.colours-pale-blue {
    background: #ebf2f9;
}
.colours-medium-grey {
    background: #707070;
}
.colours-green {
    background: #14892c;
}
.colours-yellow {
    background: #ffd351;
}
.colours-brown {
    background: #815b3a;
}
.colours-warm-red {
    background: #d04437;
}
.colours-blue-grey {
    background: #4a6785;
}
.colours-purple {
    background: #654982;
}

/* Derivatives */

.colours-medium-blue {
    background: #ccd9ea;
}
.colours-grey {
    background: #999;
}
.colours-button-grey {
    background: #ccc;
}
.colours-border-grey {
    background: #ccc;
}
.colours-highlight-grey {
    background: #e9e9e9;
}

.colours-half-green { /* 50% of #14892c */
    background: #89c495;
}
.colours-pale-green { /* 5% of #14892c */
    background: #f3f9f4;
    border: 1px solid #ccc
}

.colours-half-yellow { /* 50% of #ffd351 */
    background: #ffe9a8;
}
.colours-pale-yellow { /* 5% of #ffd351 */
    background: #fffdf6;
    border: 1px solid #ccc;
}

.colours-brown-2 {
    background: #594300;
}

.colours-half-blue-grey { /* 50% of #4a6785 */
    background: #a4b3c2;
}
.colours-pale-blue-grey { /* 5% of #4a6785 */
    background: #f6f7f9;
    border: 1px solid #ccc;
}


/* =========================================================================================================================================
    EXAMPLES
========================================================================================================================================= */

.examples-section {
    float: left;
    margin: 0 20px 10px 0;
    width: 230px;
}
.example-screenshots {
    background-size: 100%;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: inline-block;
    height: 200px;
    width: 230px;
}
.example-screenshots:last-child {
    margin: 0 0 10px 0;
}
.example-screenshots:hover {
    border-color: #3b73af;
}

/* Focused task */
.example-login {
    background-image: url('../images/patterns/focused-task/example-login.png');
}
.example-form {
    background-image: url('../images/patterns/focused-task/example-form.png');
}
.example-progress {
    background-image: url('../images/patterns/focused-task/example-progress.png');
}

/* Page layouts */
.example-fluid {
    background-image: url('../images/layouts/example-layout-fluid.png');
}
.example-fixed-width {
    background-image: url('../images/layouts/example-layout-fixed.png');
}
.example-hybrid {
    background-image: url('../images/layouts/example-layout-hybrid.png');
}
.example-content {
    background-image: url('../images/layouts/example-layout-contentonly.png');
}
.example-nav-content {
    background-image: url('../images/layouts/example-layout-navcontent.png');
}
.example-content-sidebar {
    background-image: url('../images/layouts/example-layout-contentsidebar.png');
}
.example-nav-content-sidebar {
    background-image: url('../images/layouts/example-layout-navcontentsidebar.png');
}
.example-focused-task {
    background-image: url('../images/layouts/example-layout-focusedtask.png');
}

.example-container .aui-progress-tracker-step {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: table-cell;
    padding: 0 10px;
    max-width: 140px;
    min-width: 80px;
    text-align: center;
}
.example-container .inverted {
    background: #f5f5f5;
}

ol.aui-progress-tracker {
    padding: 10px 0;
}

/* =========================================================================================================================================
    ICON FONT
========================================================================================================================================= */


.aui-icon-table {
    margin-bottom: 10px;
}

#icon-font-table {
    margin-top: 20px;
}

.aui-icon-table .aui-icon {
    color: #707070;
}

.icon-size-examples {
    width: 300px;
    margin: 0 40px 0 0;
}

.icon-size-examples .aui-icon {
    color: #707070;
}
.icon-size-examples-small {
    display: inline-block;
    margin-top: 20px;
    width: 50%;
}
.icon-size-examples-large {
    display: inline-block;
}
.icon-size-examples-large .aui-icon-large {
    margin-top: -8px;
}


/* =========================================================================================================================================
    SHOW MORE
========================================================================================================================================= */
#reveal-text-content {
    min-height: 1.5em;
}

/* =========================================================================================================================================
    LANGUAGE
========================================================================================================================================= */

.example-good .aui-icon-small:before {
    font-size: 12px;
    margin-top: -6px;
    padding-left: 2px;
}
.example-good {
    color: #14892c;
}
.example-bad {
    color: #d04437;
}
.language-example-content {
    margin: 10px 0 20px 20px;
}
.language-example-content-last {
    margin: 10px 0 0 20px;
}
.language > .aui-item > .example-container {
    margin: 0;
}
.aui-group.language {
    margin-bottom: 30px;
}

/* =========================================================================================================================================
    FEATURE DISCOVERY
========================================================================================================================================= */

.feature-discovery-example {
    height: 212px;
} 

.multi-step-trigger {
    display: inline-block;
    float: right;
    line-height: 30px;
}

span.multi-step-trigger {
    color: #707070;
}

.arrow-next {
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #3b73af;
    line-height: 0;
    font-size: 0;
    vertical-align: 5px;
    margin-left: 5px;
}

/* =========================================================================================================================================
    PAGINATION
========================================================================================================================================= */

.pagination-demo {
    background: white;
}

/* =========================================================================================================================================
    CHANGELOG
========================================================================================================================================= */

.changelog-version {
    font-size: 14px;
}
.changelog-version:before {
    color: #ccc;
    content: "â€¢";
    padding: 0 10px 0 5px;
}

/* =========================================================================================================================================
    PROGRESS INDICATORS
========================================================================================================================================= */

.aui-progress-bar-container {
    margin: 10px 0;
}
.example-container .demo-spinner {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}
.demo-spinner > .aui-group > .aui-item > h4 {
    text-align: center;
    margin-bottom: 20px;
}
.demo-spinner .small-spinner,
.demo-spinner .medium-spinner,
.demo-spinner .large-spinner {
    padding-bottom: 40px;
}