.aui-tabs > .tabs-pane {
    padding-top: 10px;
}

.aui-dialog .dialog-button-panel button.button-panel-button[disabled] {
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: default;
}

.aui-help.aui-help-text {
    width: 100%;
}

.aui-help .aui-help-content {
    font-size: 14px;
}

/* fix for datepicker component after including the inline-dialog2 */
.aui-inline-dialog.aui-datepicker-dialog {
    z-index: 3000;
}

.aui-inline-dialog.aui-datepicker-dialog .aui-inline-dialog-contents.contents {
    padding: 0;
}
/* end of datepicker fix */

/* Horizontal form */

form.aui.horizontal-form {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
}

form.aui.horizontal-form .short-field,
form.aui.horizontal-form .medium-field {
  max-width: unset;
  width: 165px;
}

form.aui.horizontal-form .field-group {
  margin-right: 20px;
  margin-bottom: 0;
}

form.aui.horizontal-form .field-group,
form.aui.horizontal-form .buttons-container {
  width: auto;
  padding: 0;
}

form.aui.horizontal-form label {
  width: auto;
  padding-top: 0;
  margin-left: 0;
  margin-bottom: 3px;
  width: 100%;
  text-align: left;
  float: none;
  display: block;
}

form.aui.horizontal-form .aui-message {
    width: 100%;
}

form.aui > p:first-child {
    margin-bottom: 12px;
}

/* Add min-height to internal panels */

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

.aui-page-focused .aui-page-panel-inner { /* Don't set on login/home screen */
  min-height: auto;
}

body:not(.aui-page-focused) .aui-page-panel {
    margin-top: 0;
    border-top: 0;
}

.aui-header-primary .aui-nav {
    width: auto;
}

#footer .footer-body {
    background: none !important;
}

#footer-logo {
    background: none !important;
    background-color: transparent;
}

#footer #footer-logo a {
    background: none !important;
    text-indent: 0;
    display: inline-block;
    height: 24px;
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
    width: 127px;
}

#footer-logo-setup {
    background: none !important;
    background-color: transparent;
    position: relative;
    bottom: -21px;
}

#footer #footer-logo-setup a {
    background: none !important;
    text-indent: 0;
    display: inline-block;
    height: 24px;
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
    width: 127px;
}

#footer-logo-setup img {
    content: url('../images/atlassian-horizontal-neutral.svg');
    background-repeat: no-repeat;
    background-size: 127px 24px;
    display: block;
    height: 24px;
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
    width: 127px;
}

#footer-logo-setup img:focus,
#footer-logo-setup img:hover,
#footer-logo-setup img:active {
    content: url('../images/atlassian-horizontal-blue.svg');
}