/* override aui styles */

.aui-select2-container .select2-choices .select2-search-choice {
    font-size: 12px !important;
    padding: 5px 33px 5px 10px !important;
}

.aui-select2-container .select2-search-choice .select2-search-choice-close, .aui-select2-container.select2-allowclear .select2-search-choice .select2-search-choice-close {
    top: 8px;
    width: 8px;
    right: 10px;
    left: auto;
    font-size: 1px;
    display: block;
    height: 8px;
}

.aui-select2-container .select2-search-choice-close:before, .aui-select2-container.select2-allowclear .select2-search-choice-close:before {
    display: none !important;
}

/* AUI 10: nullify checkbox/radio form styles that break existing layout */
form.aui:not(.aui-legacy-forms) .checkbox:first-child,
form.aui:not(.aui-legacy-forms) .radio:first-child {
    margin-top: revert;
}

form.aui:not(.aui-legacy-forms) .checkbox,
form.aui:not(.aui-legacy-forms) .radio {
    margin: revert;
    padding: revert;
    position: revert;
}

.aui-dropdown2.aui-style-default a:focus, .aui-dropdown2.aui-style-default a:hover {
    text-decoration: none;
}

/* AUI 10: remove select2 single-select arrow button that didn't exist before */
.select2-container .select2-choice .select2-arrow {
    display: none !important;
}

.aui-select2-drop.aui-dropdown2, .aui-dropdown2.aui-style-default {
    border: 1px solid #cccccc !important;
}

.aui-dialog2-header-close {
    width: 20px;
}

/* .aui-dialog2-header.log-hours, .aui-dialog2-header.no-border {
    
} */

/* AUI 10: remove ::before arrow icons added to select2 and dropdown2 triggers */
.aui-select2-container .select2-choices::before,
.aui-select2-container .select2-choice::before,
.aui-dropdown2-trigger:not(.aui-dropdown2-trigger-arrowless)::before {
    content: none !important;
}

.aui-dialog2-header {
    display: table !important;
}

.aui-dropdown2-trigger.aui-dropdown2-trigger-arrowless {
    padding-right: 23px !important;
    position: relative;
}

/* AUI 10: restore left padding on messages so icon doesn't overlap text */
.aui-message {
    padding-left: 40px !important;
}

/* AUI 10: success message icon moved from ::before to ::after */
.aui-message-success::after,
.aui-message-confirmation::after {
    color: #4B61FE !important;
}

/* AUI 10: legends in form.aui are now floated like labels — restore as block */

.aui-select2-container.select2-container-multi.select2-container .select2-choices.select2-choices {
    width: 100%;
}

/* AUI 10: restore AUI 6 input padding (was 4px 5px, now 3px 4px) */
form.aui:not(.aui-legacy-forms) .text,
form.aui:not(.aui-legacy-forms) .password,
form.aui:not(.aui-legacy-forms) .select {
    width: 100%;
}

/* AUI 10: .select gets appearance:none — restore native arrow for non-select2 selects */
form.aui:not(.aui-legacy-forms) .select {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    margin-top: 0 !important;
}

/* AUI 10: disabled fields lost their border entirely — restore it */
form.aui:not(.aui-legacy-forms) .text[disabled],
form.aui:not(.aui-legacy-forms) .password[disabled],
form.aui:not(.aui-legacy-forms) .select[disabled],
form.aui:not(.aui-legacy-forms) .textarea[disabled] {
    border: 1px solid #ccc !important;
}

/* AUI 10: table.aui thead th font-size reduced to 12px — restore to 14px */
table.aui > thead > tr > th {
    font-size: 14px;
}

form.aui .aui-select2-container {
    border: 0;
    height: auto;
    max-width: 250px;
    padding: 0;
    vertical-align: baseline;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

header {
  margin: 0 !important;
}

.print { display: none;}
@media print {
    .print {
        display: initial;
    }

    body {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }

    .noprint {
        display: none !important;
    }

    .height-reports {
        min-height: 0px !important;
    }

    .aui-label {
        background-color: white;
    }

    .td-issue-txt {
        line-height: 1.1;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #issuetable th span {
        line-height: 1.1;
        position: relative;
        bottom: 10px;
    }

    #issuetable td {
        line-height: 1.1;
        padding: 2px 4px 2px 0px;
        -webkit-border-vertical-spacing: 0;
    }

    /* PIE CHART */

    #placeholder {
        border-right: none !important;
        display: block !important;
        height: 500px !important;
        width: 900px !important;
        border-right: none !important;
    }

    #legend {
        margin-top: 200px !important;
        margin-left: 2rem !important;
        display: block !important;
    }

    #empty-space-chart {
        margin-left: 930px !important;
    }

}

.height-reports {
    min-height: 960px;
}
.aui-page-panel-inner {
  margin: 0 !important;
}
.aui-page-panel-inner .aui-page-panel-nav-empty {
    width: 25px;
    display: table-cell;
}
.aui-select2-container.select2-container .select2-choice:after {
    margin-top: 0;
    margin-left: 0;
}
div.select2-container.ng-invalid, input.ng-invalid, textarea.textarea.ng-invalid-required {
  color: #d04437 !important;
}
.aui-select2-container>ul:hover li.select2-search-choice {
    background-color: var(--aui-select2-chosen-bg-color) !important;
}
/* https://ecosystem.atlassian.net/browse/AUI-1715 */
.aui-button.aui-dropdown2-trigger:not(.aui-dropdown2-trigger-arrowless):after {
  margin-left: -8px;
  top: 8px;
}
.aui-dropdown2.aui-style-default:hover .aui-dropdown2-checkbox:not(.aui-dropdown2-disabled):hover,
.aui-dropdown2.aui-style-default:hover .aui-dropdown2-radio:not(.aui-dropdown2-disabled):hover,
.aui-dropdown2.aui-style-default:hover a:not(.aui-dropdown2-disabled):hover {
  background-color: #f5f5f5;
  color: #333;
}
.aui-dropdown2.aui-style-default .active,
.aui-dropdown2.aui-style-default .aui-dropdown2-active {
  background-color: #f5f5f5;
  color: #333;
  outline: none;
}
.aui-dropdown2.aui-style-default :active,
.aui-dropdown2.aui-style-default :focus {
  outline: none;
}
.aui-dropdown2-heading {
  font-weight: normal;
}
.aui-datepicker-dialog {
    z-index: 10000;
}
/* add-on styles */
.aui-button.aui-button-link.button-compact {
  padding: 0 8px 0 0;
  height: 22px;
  line-height: 18px;
}

ul.subtitle {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
ul.subtitle > li {
  display: inline-block;
}
ul.subtitle > li + li:before {
  color: #cccccc;
  margin: 0 3px;
  content: "\b7";
  padding: 0 0.42857142857142855em 0 0.21428571428571427em;
}
th {
    text-align: left;
}
#issuetable {
	border-collapse: initial;
    margin-top: -12px !important;
}
.issuekey a:hover, #issuetable .summary a:hover {
    color: #0065FF;
}
.issuekey, .nowrap {
    white-space: nowrap;
}
.fixed {
    text-decoration: line-through;
}
#issuetable th {
    color: var(--text-color-5);
    font-weight: 400;
}
#issuetable th.moreFields {
    width: 20%;
}
#issuetable td {
    line-height: 1.286;
    padding: 5px 3px;
}
#issuetable td.summary {
    white-space: normal;
}
#issuetable .summary span .parentIssue, .parentIssue2 {
    background: transparent url('../images/icon-separator.png') no-repeat scroll 100% 2px;
    color: #666;
    padding-right: 10px;
}
.parentIssue2 {
    margin-right: 2px;
}
.nav {
    border-bottom: 1px solid #eee;
}
tr ~ .first > .nav{
    border-top: 1px solid #ccc;
}
.border {
    border-left: 1px solid #ddd;
}
.borderTopTotal {
    border-top: 1px solid #BBBBBB;
}
.rowAlternate {
    background-color: var(--backgroung-color-5);
}
.rowNormal {
    background-color: white !important;
}
.rowHeader {
    color: #999999;
    font-weight: 400;
    padding: 3px 7px;
}
.rowHeader, .rowNormal, .rowAlternate, .rowFooter {
    display: table-row;
}
 .nav, .total, .issuetype, .issuekey, .summary, .priority {
    display: table-cell;
    padding: 3px 7px;
}
.colHeaderLink {
    display: table-cell;
    vertical-align: bottom;
    padding: 0;
}
.is-not-gadget #slider-wrapper {
    width: 590px;
}
.is-not-gadget .chart #slider-wrapper {
    width: 250px;
}
.is-not-gadget .calendar #slider-wrapper {
    width: 70px;
}
.is-gadget #slider-wrapper, .is-gadget #slider-wrapper-issue {
    width: 550px;
}
.is-gadget .calendar #slider-wrapper {
    width: 70px;
}
.issuetime .colHeaderLink:first-child {
    width: 100%;
}
.issuetime .colHeaderLink:not(:first-child) {
    padding: 2px;
    padding-right: 2rem;
    padding-left: 0.5rem;
}
.results-wrap.issuetime {
    margin-left: -4px;
}
.rowHeader th, .issuetable .colHeaderLink {
    border-bottom: 1px solid #80808029;
}
.businessDay {
}
.nonBusinessDay {
    background-color: var(--backgroung-color-4);
}
.nonWorkedDay {
}
.workedDay {
}
.toDay {
    background-color: var(--bg-today);
}
.todayBorder {
    border-top: 4px solid var(--top-today);
}
th.holidayDayOfWeek {
    color: #D04437;
}
.total {
	font-weight: bold;
}
.aui-button.aui-button-link {
    color: #333333;
}
a.fa {
    text-decoration: none;
}
.aui-button .fa {
    color: #707070;
}
a.disabled {
    color: #707070 !important;
    cursor: default;
    text-decoration: none;
}
.count-pagination {
  margin: 0;
  padding: 5px 3px;
}
.results-count-start,
.results-count-end,
.results-count-total {
  font-weight: bold;
}
.pagination {
  float: right;
}
[ng-click]:not(.disabled):not(.inactive):not(.aui-button-primary):not([disabled]):not(.edit),
[data-ng-click]:not(.disabled),
[x-ng-click]:not(.disabled) {
    cursor: pointer;
}
[ng-click]:not(.disabled):not(.inactive):not(.aui-button-primary):hover:not([disabled]):hover,
[data-ng-click]:not(.disabled):hover,
[x-ng-click]:not(.disabled):hover {
    color: #0065FF;
    cursor: pointer;
}
.aui-navgroup-vertical .aui-nav>li>label {
    padding: 7px 10px;
}
.header {
    width: 100%;
    padding-top: 25px;
}
.main {
  display: flex;
}
.is-not-gadget .main {
  min-height: 600px;
}
.is-not-gadget .content {
  padding-top: 1.25rem;
  padding-bottom: 12px;
  padding-left: 0;
  width: 100%
}
.fa.edit {
  display: none;
  color: #999999;
}
.fa.edit:hover {
  color: #0065FF;
}
div.ak-field-group:hover .edit {
  display: inline-block;
}
.copyLink a {
  margin-right: 20px;
}
.copyLink:hover .edit {
  display: inline-block;
  margin-left: -20px;
}
.copyLinkHeader:hover .edit {
  display: inline-block;
}
.section-header > div:first-child {
  display: flex;
  margin-top: -2px;
}
.section-header > div > div {
  width: 450px;
}
.footer {
    color: #707070;
    font-size: 12px;
    border-top: 1px solid #cccccc;
    width: 100%;
}
.is-not-gadget .margin {
    margin-left: 24px;
}
.is-gadget .margin {
    margin-left: 4px;
}
.is-gadget .main.margin {
    width: 100%;
}
.is-gadget .content {
    width: 100%;
}
.footer ul {
    margin: auto;
    display: table;
    padding: 10px 0;
}
.footer li {
    display: inline-block;
}
.footer li:not(:last-child):after, pivot-cell span:after, new-worklog span:after, old-worklog span:after {
    content: "\b7";
    margin: 0 10px;
    speak: none;
}
pivot-cell span:after, new-worklog span:after, old-worklog span:after {
    margin: 0 5px;
}
#footer li:last-child:after, pivot-cell span:last-child:after, new-worklog span:last-child:after, old-worklog span:last-child:after {
    display: none;
}
.inactive {
    color: gray !important;
}
.red {
    color: #d04437;
}
.yellow {
    color: #ff8b00;
}
form.aui .field-group .description {
    font-size: 12px;
    vertical-align: top;
}
form.aui .field-group .description a, .align-top {
    vertical-align: top !important;
}
.formTitle {
    border-bottom: 1px solid #ddd;
}
.formTitleDescription {
    font-size: 13px;
    line-height: 40px;
}
.checkbox {
  vertical-align: bottom;
}
label .aui-icon {
    padding-top: 8px;
}
.results-wrap .aui-select2-container {
    border: 0;
    height: auto;
    max-width: 260px;
    padding: 2px;
    width: 100%;
}
ul.errors {
    color: #d04437;
    font-weight: bold;
    list-style-type: none;
    padding-left: 0
}
ak-grid-column.ng-scope-bak {
    margin: 0 8px 0 0;
}
table {
    border-collapse: initial;
    width: initial;
}
table td {
    padding: 0;
}
.hoverpopup {
    z-index: 1000;
    max-width: 360px;
}
.user-hover-info {
    min-height: 48px;
    position: relative;
    padding: 7px;
}
.user-hover-avatar {
    float: left;
    margin: 0 10px 0 0;
    height: 48px;
    width: 48px;
}
.user-hover-info .user-hover-avatar img {
    border-radius: 24px;
}
.user-hover-info h5 a {
    padding-top: 7px;
    text-decoration: underline;
}
.user-hover-info .user-hover-details {
    margin-left: 8px;
}
.user-hover-details {
    overflow: hidden;
}
.aui-dialog2.aui-layer {
    top: 62px;
}
.ng-scope .invisible {
    display: none;
}
.small {
    font-size: xx-small;
    vertical-align: top;
}
.small-bottom {
    font-size: xx-small;
    vertical-align: bottom;
}
.rowCenter {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.icons {
    margin: 5px;
}
.msg-overlay {
    position: absolute;
    top: -5px;
    left: 505px;
    z-index: 10;
    margin-right: 27px;
    width: 370px !important;
}
.flot-x-axis .flot-tick-label {
    white-space: nowrap;
    transform: translate(-9px, 0) rotate(-60deg);
    text-indent: -100%;
    transform-origin: top right;
    text-align: right !important;
}

/* START USER PREFERENCES */
.user-preference.msg-overlay {
    top: -45px;
    left: 537px;
    width: 300px !important;
}

.user-preference-form .field-group label {
    font-weight: 700;
}

.user-preference-form .field-group span {
    font-weight: 400;
    color: var(--text-color-2-1);
}
/* END USER PREFERENCES */

/* START COMMON THINGS */
.min-w-280 {
    min-width: 280px;
}

.border-gray-200{
    border-color: #80808029;
}

.m-0-important{
    margin: 0px !important;
}

.font-bold {
    font-weight: 700;
}

.font-bold-light {
    font-weight: 600;
}

.right-6 {
    right: 1.5rem;
}

.uppercase {
    text-transform: uppercase;
}

.border-l-clear {
    border-left: 1px solid #ddd;
}
.align-super {
    vertical-align: super;
}

input.apple-switch {
    position: relative;
    -webkit-appearance: none;
    outline: none;
    width: 40px;
    height: 20px;
    margin-top: 15px;
    background-color: #fff;
    border: 2px solid var(--text-divider-color-2-dark);
    border-radius: 50px;
    box-shadow: inset -20px 0 0 0 var(--text-divider-color-2-dark);
}

input.apple-switch:checked {
    box-shadow: inset 20px 0 0 0 var(--secondary-color-clarity-1);
    border-color: var(--secondary-color-clarity-1)
}

input.apple-switch:checked:after {
    left: 20px;
    box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
}

span .apple-switch {
    margin-bottom: -5px !important;
    margin-left: 10px !important;
}

input.checkbox {
    position: relative;
    -webkit-appearance: none;
    outline: none;
    width: 17px;
    height: 17px;
    background-color: #fff;
    border: 1px solid var(--text-divider-color-3);
    border-radius: 4px;
}

input.checkbox:checked {
    background: transparent url('../images/icon-check.png') no-repeat scroll;
    background-size: contain;
}

input.checkbox:checked:after {
    left: 20px;
    box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
}

select.common {
    background: url('../images/icon-arrow-down.png') no-repeat right;
    -webkit-appearance: none;
    background-position-x: 97.5%;
    background-size: 24px;
    text-indent: 15px;
}
@-moz-document url-prefix() {
    select.common {
        text-indent: 5px;
    }
}
.aui-message.success, .aui-message-success {
    border-color: #4B61FE !important;
}

.aui-message-success::before,
.aui-message-success::after {
    background-color: #4B61FE !important;
}

.input-tag {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 340px;
}

.input-tag ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    list-style-type: none;
    flex-wrap: wrap;
}

.input-tag li {
    background-color: var(--text-divider-color-4);
    border-width: 0;
    border-radius: 10px;
    box-shadow: none;
    color: var(--text-color-3);
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    padding: 5px 33px 5px 10px;
    position: relative;
    margin-bottom: 6px;
    margin-top: 6px;
    margin-left: 6px;
    text-align: left;
    text-decoration: none;
}

.input-tag li .remove, .aui-label .icon-close {
    background: url(../images/icon-remove.png) no-repeat center !important;
    background-size: 10px !important;
    display: block;
    width: 12px;
    height: 13px;
    position: absolute;
    right: 7px;
    top: 4px;
    font-size: 1px;
    outline: none;
}

a.tip, i.tip {
    position: relative;
}

a.tip span, i.tip span {
    display: none;
    position: absolute;
    top: 100%;
    width: auto;
    padding: 5px;
    z-index: 100;
    background: #000;
    color: #fff;
    -moz-border-radius: 5px;
    /* this works only in camino/firefox */
    -webkit-border-radius: 5px;
    /* this is just for Safari */
    font-style: normal;
    font-size: 11px;
}

a.tip span:before, i.tip span:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-bottom: 8px solid black;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    left: 10px;
    top: -5px;
}

a:hover.tip, i:hover.tip {
    font-size: 99%;
    /* this is just for IE */
}

a:hover.tip span, i:hover.tip span {
    display: block;
}

input:disabled, select:disabled {
    background-color: #f4f4f4 !important
}

button:disabled {
    background-color: #dddddd !important
}

button.text-text-white:hover {
    color: white !important;
}

/* END COMMON THINGS */

/* START CONFIG SCREEN */
.field-group {
    margin-left: 25px !important;
}

.field-group label {
    font-weight: 500 !important;
    color: var(--text-color-1) !important;
    font-size: 12px !important;
    text-align: left !important;
    margin-right: 60px;
    width: 152px !important;
}

.field-group span {
    margin-left: 68px;
    display: inline-block;
    color: var(--text-color-4);
    font-size: 12px;
    max-width: 500px;
}

.field-group span a {
    color: var(--secondary-color-clarity-1);
}

.field-group select {
    border: 1px solid var(--text-divider-color-2-dark);
    border-radius: 4px;
    height: 40px;
    width: 340px;
    color: var(--text-color-3);
    font-weight: 300;
}

.field-group .text-field, .text-field {
    border: 1px solid var(--text-divider-color-2-dark) !important;
    border-radius: 4px !important;
    height: 40px !important;
    text-indent: 15px;
    color: var(--text-color-3);
    font-weight: 300;
}

.field-group .text-field.common {
    width: 340px;
}

.field-group .text-field.single {
    max-width: 340px;
}

.field-group .select2-container .select2-choices{
    width: 340px !important;
}

.short-select2 ul{
    max-width: 190px !important;
}

.palette-color-picker-button {
    width: 40px !important;
    height: 40px !important;
    border: 0px !important;
    border-radius: 3px;
}

@media (min-width: 1300px) {
    .msg-overlay {
        left: 90% !important;
    }

    .user-preference.msg-overlay {
        left: 55% !important;
    }
}

/* START HOLIDAYS CALENDAR */
.calendar-header{
    border: 0px !important;
    margin-left: 12px !important;
    margin-bottom: 30px !important;
}

.calendar .calendar-header .year-neighbor2 , .calendar .calendar-header .year-neighbor{
    opacity: 1 !important;
    color: var(--text-color-4);
}

.calendar .calendar-header .year-title {
    font-size: 14px;
    font-weight: 450 !important;
    width: 18% !important;
    vertical-align: middle !important;
}

.calendar .calendar-header table .prev, .calendar .calendar-header table .next {
    font-weight: 200;
    font-size: 23px;
}

.calendar table.month th.month-title, .calendar table.month th.day-header {
    text-transform: uppercase;
    font-weight: 450 !important;
    font-size: 12px !important;
    height: 35px;
}

.calendar .months-container {
    margin-left: 12px !important;
}

.calendar .months-container .month-container {
    height: 250px !important;
}

.calendar table.month th.day-header {
    width: 12% !important;
}

.calendar table.month td.day .day-content {
    color: var(--text-color-3) !important;
}
/* END HOLIDAYS CALENDAR */

/* START LEFT MENU */
.ak-field-group .aui-select2-container .select2-choice {
    height: 38px !important;
    text-indent: 5px;
}

.ak-field-group .aui-select2-container .select2-choice .select2-chosen {
    margin-top: 4px;
    color: var(--text-color-3) !important;
    font-weight: 300 !important;
}

.ak-field-group label {
    color: var(--text-color-2) !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}

.ak-field-group .text-field, .time-picker-field {
    border: 1px solid var(--text-divider-color-2-dark) !important;
    border-radius: 4px !important;
    height: 40px !important;
    text-indent: 15px;
    color: var(--text-color-3);
    font-weight: 300;
    width: 208px;
}

.normal-text-field {
    border: 1px solid var(--text-divider-color-2-dark) !important;
    border-radius: 4px !important;
    height: 40px !important;
    text-indent: 15px;
    color: var(--text-color-3);
    font-weight: 300;
}

.time-picker-field {
    text-indent: 8px;
}

.ak-field-group {
    padding: 26px 0 0 0;
}

.input-date {
    background: url('../images/icon-calendar.png') no-repeat right white !important;
    background-position-x: 97.5% !important;;
    background-size: 24px !important;
}
/* END LEFT MENU */

/* END CONFIG SCREEN */

/* START Timesheet report */
.borderWeek {
    border-left: 0;
    border-top: 0;
    border-left: 1px solid #80808029;
}

.borderWeekDays {
    border-left: 1px solid #80808029;
}

.stickyCell {
    border-left: 1px solid #00000047;
    position: sticky;
    right: 0;
    background-color: inherit;
}

.bg-white {
    background-color: white;
}

.bg-purple {
    background-color: var(--secondary-color-clarity-4);
}
/* END Timesheet report */

.calendar {
    padding: 0 !important;
}

.calendarTable td {
    padding: 12px 12px !important;
}

/*  START GADGETS */
@media (max-width: 700px) {
    select.common.view-option {
        color: transparent;
        background-position-x: 97.5%;
        text-indent: 15px;
        width: 3rem;
    }

    select option {
        color: black;
      }
    select.common.week-sum {
        background:  url('../images/icon-eye.png') no-repeat left , url('../images/icon-arrow-down.png') no-repeat right;
        background-size: 24px;
        margin-left: 0.75rem;
    }
    select.common.toggle-month {
        background: url('../images/icon-clock.png') no-repeat left, url('../images/icon-arrow-down.png') no-repeat right;
        background-size: 24px;
    }

    .break-line::after{
        content: "\a";
        white-space: pre;
    }

    .is-gadget #slider-wrapper, .is-gadget #slider-wrapper-issue {
        width: 325px;
    }
}

.form-gadget .ak-field-group .text-field {
    width: 310px !important;
}

.form-gadget .aui-select2-container {
    max-width: 310px !important;
}

.form-gadget {
    margin-left: 0.5rem !important
}

.form-gadget div label {
    color: var(--text-color-2) !important;
    font-weight: 500 !important;
    font-size: 12px !important;
}

.form-gadget .checkbox-group {
    padding: 18px 0 0 0;
}

.form-gadget .checkbox-group label {
    vertical-align: bottom;
    margin-left: 5px;
}

.footer-gadget {
    border-top: none !important;
}

.form-gadget .buttons-container {
    border-color: #80808029;
    border-bottom-width: 1px;
    border-top-width: 1px;
    padding: 1.5rem 0 1.5rem 0!important;
    margin-top: 2rem !important;
}

/* END GADGETS */

/* START PIE CHART */
#legend {
    margin-left: 2rem;
    display: inline-block;
    vertical-align: top;
}

#placeholder {
  height: 350px;
  width: 500px;
  display: inline-block;
}

#empty-space-chart {
    margin-left: 530px;
}

.pieLabelBackground {
    height: 35px !important;
    border: 1px solid var(--text-divider-color-2-dark);
    border-radius: 5px;
    background-color: var(--backgroung-color-5) !important;
}

@media (max-width: 600px) {
    #legend {
        display: inherit !important;
        margin-left: 5%;
    }
    .w-75 {
        width: 21rem !important;
    }

    #empty-space-chart {
        margin-left: 30px;
    }

    .pie-first-column.group-by {
        width: 5rem;
    }
}

@media (max-width: 700px) {
    #legend {
        display: inherit !important;
        margin-left: 5%;
    }
    .w-75 {
        width: 21rem !important;
    }

    #empty-space-chart {
        margin-left: 30px;
    }

    .pie-first-column.group-by {
        width: 5rem;
    }
}

@media (min-width: 1200px) {
  #placeholder {
    height: 400px;
    width: 600px;
  }

  #empty-space-chart {
    margin-left: 630px;
  }
}

@media (min-width: 1400px) {
    #placeholder {
      height: 500px;
      width: 700px;
      border-right: 1px solid var(--text-divider-color-2-dark);
    }

    #empty-space-chart {
      margin-left: 730px;
    }
}

@media (min-width: 1600px) {
    #placeholder {
        height: 600px;
        width: 900px;
        border-right: 1px solid var(--text-divider-color-2-dark);
    }

    #empty-space-chart {
        margin-left: 930px;
    }
}

.legendColorBox {
    width: 1px;
}

.legendColorBox > div {
    border: none !important;
}

.legendColorBox :first-child div {
    border-width: 8px !important;
    border-radius: 12px;
}

td.break-line {
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
}

.pie-first-column {
    width: 5rem;
}

.pie-issue-key-column {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pie-first-column.group-by {
    width: 9.1rem;
}

.flot-overlay {
    opacity: 0;
}

/* END PIE CHART */

/* START LOG WORK */
.issue-key-field {
    max-width: 450px !important;
}

form.aui legend, form.aui .log-work.dialog label{
    text-align: left !important;
}

form.aui legend, form.aui .log-work label {
    color: var(--text-color-1);
    font-weight: 500;
    margin-right: 20px;
    display: inline-block;
    text-align: right;
    width: 130px !important;
    font-size: 12px;
}

.aui-dialog2-large .aui-dialog2-content, .aui-dialog2-xlarge .aui-dialog2-content {
    min-height: 380px !important;
}

@media (max-height: 700px) {
    .aui-dialog2-large .aui-dialog2-content, .aui-dialog2-xlarge .aui-dialog2-content {
        min-height: 180px;
    }
}

@media (max-width: 600px) {
    form.aui legend, form.aui .log-work label {
        margin-right: 0px;
        text-align: left;
    }

    .issue-work-buttons {
        margin-left: 8.4rem;
    }

    form.aui .long-field {
        max-width: 250px !important;
    }

    .wiki-edit-content {
        margin-left: -5px;
    }

    .log-work #log-work-date-logged, .log-work #remain-estimate {
        margin-left: -5px;
    }
}

.line-fields {
    width: 800px;
}

form.aui legend, form.aui .log-work .line-fields {
    padding-top: 1.3rem;
}

.button-padlock {
    border: 1px solid #cccccc;
    border-radius: 4px;
    width: 49px;
    height: 32px;
}

.button-locked {
    background:  url('../images/icon-lock.png') no-repeat left , url('../images/icon-arrow-down.png') no-repeat right;
    background-size: 24px;
}

.button-unlocked {
    background:  url('../images/icon-unlock.png') no-repeat left , url('../images/icon-arrow-down.png') no-repeat right;
    background-size: 24px;
}
/* END LOG WORK */

/* START SEND MAIL */
.field-group.send-mail{
    margin-left: 0 !important;
    padding-left: 0 !important;
}
/* END SEND MAIL */

/* START HOURLY RATES MODAL*/
.field-group-hourly-rate {
    border: 1px solid var(--text-divider-color-2-dark) !important;
    border-radius: 4px !important;
    height: 40px !important;
    text-indent: 15px;
    color: var(--text-color-3);
    font-weight: 300;
}
.label-hourly-rate {
    font-weight: 500;
    font-size: 12px;
    color: var(--text-color-1) !important;
}
/* END HOURLY RATES MODAL*/

form.bitbucket textarea {
    max-width: 342px !important;
}

form.bitbucket label {
    margin-right: 13px;
}

form.bitbucket span {
    margin-left: 20px;
}

.info-box-sizes {
    height: 354px;
    width: 330px;
}

.top-info-box {
    top: 18%;
}

@media (min-width: 1400px) {
    .top-info-box {
        top: 18%;
    }
}

@media (min-width: 1500px) {
    .top-info-box {
        top: 20%;
    }
}

@media (min-width: 1600px) {
    .top-info-box {
        top: 23%;
    }
}

@media (min-width: 1700px) {
    .top-info-box {
        top: 26%;
    }
}

@media (min-width: 1800px) {
    .top-info-box {
        top: 29%;
    }
}

@media (min-width: 1900px) {
    .top-info-box {
        top: 33%;
    }
}

@media (min-width: 2000px) {
    .top-info-box {
        top: 38%;
    }
}

.stars {
    display: inline-block;
    font-size: 33px;
    font-weight: 100;
    position: relative;
    margin-left: 50px;
    margin-top: 5px;
}

.stars:BEFORE {
    position:absolute;
    overflow:hidden;
    z-index:1;
    left:0px;
    top:0px;
    color: var(--secondary-color);
}

.stars:AFTER {
    content:"★ ★ ★ ★ ★";
    position:relative;
    color:#C8CBDB;
}

.stars.rate:AFTER {
    position:absolute;
    left:0px;
}

.stars.rate > A {
    color:transparent;
    text-decoration:none;
    position:relative;
    z-index:2;
}

.stars.rate:HOVER:BEFORE,
.stars.rate:HOVER:AFTER {
    display:none;
}

.stars.rate:HOVER > A {
    color: var(--secondary-color);
}

.stars.rate:HOVER > A:HOVER {
    color: var(--secondary-color);
}

.stars.rate >A:HOVER ~ A {
    color:#C8CBDB;
}

.star-fill {
    color: var(--secondary-color) !important;
}

::-webkit-file-upload-button {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    color: var(--text-color-1);
    background-color: var(--background-file);
    font-weight: 600;
    font-size: 12px;
    border-radius: 0.375rem;
    border: 1px solid #80808029;
}

.aui-message {
    padding-left: 24px !important;
}

.aui-message-confirmation, .aui-message-success {
    --aui-message-ig: "\f194";
}

form.aui:not(.aui-legacy-forms) label, form.aui:not(.aui-legacy-forms) legend {
    font-size: 0.75rem !important;
}

/* Timesheet Configuration - User Default Settings */
.aui-message.aui-message-success {
    width: 0px;
    height: 40px;
    margin: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    line-height: 0px;
    background-color: #4B61FE;
}

.aui-message:after {
    color: #fff !important;
    font-family: "Atlassian Icons";
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    left: 12px;
    line-height: 1;
    margin-top: -8px;
    position: absolute;
    speak: none;
    top: 50%;
}

.cp-l-76 {
    position: absolute;
    left: 76%;
    bottom: 4px;
}

.cp-l-35 {
    z-index: 10;
    position: absolute;
    left: 35%;
    bottom: 4px;
}

.cp-l-83 {
    z-index: 10;
    position: absolute;
    left: 83%;
    bottom: 4px;
}

.cp-l-92 {
    z-index: 10;
    position: absolute;
    left: 92%;
    bottom: 4px;
}

.w-24-e {
    width: 24em !important;
}

/* User Default Settings */
.posl-25-p {
    position: relative;
    left: 25%;
}

.posl-30-p {
    position: relative;
    left: 30%;
}


.banner-home {
  display: flex;
  align-items: center;
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
  border-radius: 0.275rem;
  background-color: #0052cc;
  width: 100%;
}

.banner-home .text {
  width: 100%;
  margin-right: 1rem;
  color: white;
}

.banner-home .icon-image {
  width: 0px;
  padding: 0.75rem;
  padding-right: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}
.deprecation-dialog .icon-image {
  width: 23px;
  height: 23px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}
.icon-image.remove {
  background-image: url(../images/icon-remove.png);
}

.icon-image.info {
  background-image: url(../images/icon-info.png);
}

.banner-home .close-icon {
  width: 16px;
  height: 16px;
  position: relative;
  cursor: pointer;
  display: block;
  left: -1.75rem;
}

.banner-home .close-icon:before,
.close-icon:after {
  content: "";
  position: absolute;
  top: 0;
  left: 14px; /* Half the width to keep the lines centered */
  width: 3px;
  border-radius: 25%;
  height: 100%;
  background-color: white;
}

.banner-home .close-icon:before {
  transform: rotate(45deg); /* Rotate line to form X */
}

.banner-home .close-icon:after {
  transform: rotate(-45deg); /* Rotate line to form X */
}

.deprecation-dialog {
  background-color: #181818b5;
  z-index: 1;
}

.deprecation-dialog-container {
  top: 10%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2em;
}

.deprecation-dialog-header {
  color: #fff;
}

.deprecation-dialog-link {
  color: black;
  text-decoration: underline;
}

.deprecation-dialog-close-button:disabled:hover {
  color: #999 !important;
}

.deprecation-dialog-close-button:enabled:hover {
  color: inherit !important;
}

.lite-deprecation-close {
    position: absolute; 
    top: 9px; 
    right: 15px; 
    color: white; 
    padding: 5px;
    cursor: pointer;
}
.lite-deprecation-close:hover {
    cursor: pointer;
    color: white;
    text-decoration: none;
}

/* jQuery 3 compat: .show() no longer overrides stylesheet display:none via inline style.
   The directive adds .is-autocomplete on textComplete:show and removes it on textComplete:hide. */
.textcomplete-dropdown.is-autocomplete {
    display: block !important;
}

/* Blocks the configuration form while init() is loading, so users can't interact
   with pickers before $scope.<config> is populated. */
.config-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: wait;
}

.config-loading-overlay .fa-spinner {
    font-size: 32px;
}

/* Rovo assistant button — visual only. Width/height come from the
   directive's `size` attribute (inline style), so the same button works as
   a large FAB and as a small inline menu icon. Positioning is owned by the
   parent (e.g. `.rovo-fab-floating` for the FAB, normal flow for inline).
   `position: relative` anchors the ::after tooltip below. */
.rovo-fab {
  position: relative;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #8270DB 0%, #1868DB 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(9, 30, 66, 0.20);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  padding: 0;
  vertical-align: middle;
}

/* CSS-only tooltip. Reads the `data-tooltip` attribute set by the directive
   (i18n-resolved), so no inner DOM needed. Default position is BELOW the
   button — placing it above gets clipped inside containers with
   overflow:hidden (issue panel, gadget cells inside a dashboard). The FAB
   wrapper (`.rovo-fab-floating`) opts back into above-placement so the
   tooltip doesn't disappear past the viewport bottom edge. */
.rovo-fab::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 30, 66, 0.95);
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease;
  z-index: 2001;
}

.rovo-fab-floating .rovo-fab::after {
  top: auto;
  bottom: calc(100% + 8px);
}

.rovo-fab:hover::after,
.rovo-fab:focus-visible::after {
  opacity: 1;
}

.rovo-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(9, 30, 66, 0.25);
  filter: brightness(1.05);
}

.rovo-fab:focus-visible {
  outline: 2px solid #4C9AFF;
  outline-offset: 2px;
}

.rovo-fab:active {
  transform: translateY(0);
}

.rovo-fab svg {
  display: block;
}

/* Wrapper that pins the FAB to the bottom-right corner of the app shell. */
.rovo-fab-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
}

.rovo-fab-floating .rovo-fab {
  box-shadow: 0 4px 12px rgba(9, 30, 66, 0.25);
}

.rovo-fab-floating .rovo-fab:hover {
  box-shadow: 0 6px 16px rgba(9, 30, 66, 0.30);
}

/* Hide only the floating FAB on gadget / issue surfaces (the inline copies
   in the gadget menu and the issue-panel options menu must stay visible). */
body.is-gadget .rovo-fab-floating {
  display: none;
}