.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');
}

:root {
    /* Define the CSS custom property */
    --crowd-lf-tab-color: #1D7AFC
}
/* Main selector */
.aui-header-primary > .aui-nav > li.selected > a:not(.aui-button) {
    position: relative;
    color: var(--crowd-lf-tab-color);
}
/* Hover effect for non-active links */
.aui-header-primary > .aui-nav > li.selected > a:not(.aui-button):hover:not(.active) {
    color: var(--crowd-lf-tab-color);
}
.aui-header-primary > .aui-nav > li.selected > a:not(.aui-button):hover:not(.active)::before {
    color: var(--crowd-lf-tab-color);
}
/* Create "after" pseudo-element for links highlighting */
.aui-header-primary > .aui-nav > li.selected > a:not(.aui-button)::after {
    background: var(--crowd-lf-tab-color);
    bottom: -10px;
    content: '';
    display: block;
    height: 3px;
    left: 5px;
    position: absolute;
    right: 5px;
    width: initial;
    z-index: 1;
    top: unset;
}
/* Before pseudo-element */
.aui-header-primary > .aui-nav > li.selected > a:not(.aui-button)::before {
    color: var(--crowd-lf-tab-color);
}