/* Override $uibModal inline z-index (1050) so the project card appears above
   other modals (z-index 11002), consistent with taskCard-popup behaviour. */
.projectInfo-popup {
    z-index: 11050 !important;
}

/* Raise the backdrop just below the popup, above the 11002 modals. */
.projectInfo-popup-backdrop {
    z-index: 11049 !important;
}

/* Discard-confirmation dialog opened on top of the project-card popup (z-index 11050).
   UI-Bootstrap 2.5 uses a single shared backdrop for all stacked modals, so the
   second modal's backdropClass is never applied to a new DOM element.
   Instead we synthesise a dimming overlay via ::before on the modal container itself:
   the pseudo-element fills the viewport behind the dialog box but above the project card. */
/* Flexbox centering for the discard-confirmation dialog.
   The app's normal inline-block centering relies on the ::before spacer, but that
   pseudo-element is already used here for the dimming overlay, so we use flex instead.
   position:fixed + top:0 + 100vh give the container full viewport coverage;
   flex + align-items:center + justify-content:center place the dialog in the middle.
   overflow-y:auto lets the dialog scroll on small viewports. */
.projectInfo-confirm-popup {
    z-index: 11100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 0 !important;
    bottom: 0 !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    /* Reset the text-align:center + inline-block model from .modal so it doesn't
       interfere with flex layout. */
    text-align: left !important;
}

.projectInfo-confirm-popup .modal-dialog {
    /* Remove Bootstrap's default top margin and inline-block vertical-align so the
       flex container is solely responsible for positioning. */
    margin: 0 !important;
    vertical-align: unset !important;
    display: block !important;
}

.projectInfo-confirm-popup::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: -1;
}

.projectInfo-popup .modal-content > form {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    min-height: 0;
    overflow: hidden;
}

.projectInfo-popup .projectInfoContainer {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    min-height: 0;
    overflow: hidden;
}

.projectInfo-popup .projectInfoContainer .headerBlock {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    min-height: 0;
    overflow: hidden;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo {
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    min-height: 150px;
    overflow-x: auto;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .componentValue {
    font-family: GlowRegular;
    font-size: 14px;
    color: #4a4a4a;
    padding-bottom: 7px;
    width: 100%;
    margin: 0;
    display: table;
    margin-left: -10px;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .componentName {
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .componentName {
    display: flex;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .buttons-container {
    width: 50px;
    display: none;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .buttons-container
    .refreshButton {
    cursor: pointer;
    vertical-align: top;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 4px;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .buttons-container
    .refreshButton.disabled {
    opacity: 0.4;
    cursor: default;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent.editable:hover
    .buttons-container {
    display: inline-block;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .refreshButton {
    vertical-align: top;
    margin-top: 4px;
    margin-left: 5px;
    display: none;
    cursor: pointer;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent.editable:hover
    .refreshButton {
    display: inline-block;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .info-container {
    display: table-cell;
    word-break: break-word;
    padding: 4px 10px;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .pencil-container {
    text-align: right;
    width: 20px;
    vertical-align: middle;
    display: table-cell;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .pencil-container
    img {
    display: none;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .componentValue.editable:hover {
    cursor: pointer;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .componentValue.editable:hover
    .info-container {
    border-radius: 4px;
    background-color: #f5f5f5;
    cursor: pointer;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    .componentValue.editable:hover
    .pencil-container
    img {
    display: inline-block;
    cursor: pointer;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .businessValue
    .businessValue.stepComponent
    input {
    width: 100%;
    padding-left: 10px;
    margin-right: -1px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo {
    max-height: 500px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo epicflow-scroll-viewport {
    display: block;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 310px;
    max-height: 500px;
    border-right: 1px solid #f1f1f1;
    padding: 16px 20px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM > div {
    flex-shrink: 0;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable {
    overflow-y: auto;
    min-height: 0;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .dates {
    padding-bottom: 11px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .dates .dates-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectTags {
    position: relative;
    margin: 0px 0px 16px 0px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectAttributes {
    margin: 0px 0px 12px 0px;
}

.projectTags [hidden] {
    display: none !important;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .startDate,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .endDate {
    display: flex;
    flex-direction: column;
    flex: 0 0 50%;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .startDate {
    margin-right: 20px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .shiftDate {
    width: 100%;
    color: #B6B6B6;
    font-size: 13px;
    padding: 6px 0;
    margin-top: 4px;
	display: flex;
	align-items: center;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .shiftDate .ui-checkbox {
	min-width: 16px;
	min-height: 16px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .shiftDate .checkBoxTitleContainer {
	display: flex;
	flex-direction: column;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .shiftDate .checkBoxTitle {
	font-family: GlowRegular;
	font-size: 14px;
	color: #4a4a4a;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .shiftDate .shiftDate__button {
    color: #5774E7;
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #EEF1FE;
    cursor: pointer;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .datesProjectInfoLabel {
    color: #808080;
    margin-bottom: 4px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .datesDatepicker,
.projectInfo-popup .projectInfoContainer .headerBlock .closedProjectSubHeader .datesDatepicker {
    display: inline-block;
    width: 120px;
    height: 28px;
    border-radius: 4px;
    background-color: #ffffff;
    border: solid 1px #dcdcdc;
    outline: none;
    font-size: 14px;
    color: #4a4a4a;
    background: url(../../images/calendar&time/calendar.svg) no-repeat;
    background-position: right 10px center;
    padding: 0px 30px 0 6px;
    cursor: pointer;
    vertical-align: top;
}
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .datesProjectInfoValue.highlighted .datesDatepicker,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .dates .datesDatepicker:focus,
.projectInfo-popup .projectInfoContainer .headerBlock .closedProjectSubHeader .datesDatepicker:focus {
    border-color: var(--link-blue);
}
.projectInfo-popup .projectInfoContainer .headerBlock .closedProjectSubHeader .datesDatepicker {
    background-color: #ffffff !important;
    margin-left: 8px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable {
    min-width: 498px;
    flex: 1;
    padding: 16px 12px 16px 20px;
    min-height: 100%;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .emphasizedRowFinancialTable .projectInfoValueFinanceTable.secondColumnFinanceTable.editable,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .emphasizedRowFinancialTable .projectInfoValueFinanceTable.thirdColumnFinanceTable.editable {
    padding-right: 0;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .emphasizedRowFinancialTable .projectInfoValueFinanceTable.secondColumnFinanceTable.editable .financialValue,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .emphasizedRowFinancialTable .projectInfoValueFinanceTable.secondColumnFinanceTable.editable .ui-input-bordered,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .emphasizedRowFinancialTable .projectInfoValueFinanceTable.thirdColumnFinanceTable.editable .financialValue,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .emphasizedRowFinancialTable .projectInfoValueFinanceTable.thirdColumnFinanceTable.editable .ui-input-bordered {
    padding-right: 8px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable:hover .financialValue.editable {
    background-color: #F5F5F5;
    border-radius: 4px;
    cursor: pointer;
}

.projectInfo-popup.projectInfo-popup--multi-project-teams .projectInfoContainer .headerBlock .mainInfo .financeTable {
    border-right: 1px solid #f1f1f1;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .ui-input-bordered {
    width: 100%;
    height: 28px;
    text-align: right;
    border: 0;
    outline: solid 1px #dcdcdc;
    outline-offset: -1px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .ui-input-bordered:focus {
    border: 0;
    outline: 1px solid #5774E7;
    outline-offset: -1px;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .financeTableColumnsTitle
    .firstColumnFinanceTable,
.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .financeTableColumnsTitle
    .secondColumnFinanceTable,
.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .financeTableColumnsTitle
    .thirdColumnFinanceTable {
    font-family: GlowSemiBold;
    color: #808080;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .financeTableColumnsTitle
    .firstColumnFinanceTable {
    width: 180px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeInformationInNumbersBlock {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeInformationInNumbersBlock .financeTableColumnsTitle {
    margin-bottom: 16px;
}

/* Reduce padding for emphasized rows in Cost Breakdown to match uniform spacing */
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeInformationInNumbersBlock .emphasizedRowFinancialTable {
    padding: 0 0;
}

/* 24px gap before Additional costs section (16px margin + 8px row-gap) */
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeInformationInNumbersBlock .additional-costs-row {
    margin-top: 16px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .projectInfoValueFinanceTable {
    text-align: right;
    width: 44px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .projectInfoRowFinanceTable {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .firstColumnFinanceTable {
    width: 180px;
    color: #808080;
    margin-right: 16px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .secondColumnFinanceTable {
    width: 100px;
    text-align: right;
    padding-right: 8px;
    margin-right: 2px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .thirdColumnFinanceTable.negative,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .secondColumnFinanceTable.negative {
    color: #ec4a43;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .thirdColumnFinanceTable {
    width: 90px;
    text-align: right;
    padding-right: 8px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .emphasizedRowFinancialTable {
    position: relative;
    padding: 0 0;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .emphasizedRowFinancialTable
    .projectInfoValueFinanceTable.secondColumnFinanceTable,
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .projectInfoRowFinanceTable
    .projectInfoValueFinanceTable.secondColumnFinanceTable {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100px;
    padding-right: 8px;
    margin-right: 2px;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .emphasizedRowFinancialTable
    .projectInfoValueFinanceTable.thirdColumnFinanceTable,
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .projectInfoRowFinanceTable
    .projectInfoValueFinanceTable.thirdColumnFinanceTable {
    right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90px;
    padding-right: 8px;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .financeTable
    .emphasizedRowFinancialTable
    .firstColumnFinanceTable {
    font-family: GlowSemiBold;
    color: #4a4a4a;
}

/* Input fields in financeInformationInNumbersBlock should take full width like in profitBreakdownSection */
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeInformationInNumbersBlock .ui-input-bordered {
    width: 100%;
    height: 28px;
    text-align: right;
    border: 0;
    outline: solid 1px #dcdcdc;
    outline-offset: -1px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeInformationInNumbersBlock .ui-input-bordered:focus {
    border: 0;
    outline: 1px solid #5774E7;
    outline-offset: -1px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .businessValueAndProjectManager,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .stepCompanyCalendarRow {
    display: flex;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .stepCompanyCalendarRow {
    padding-bottom: 7px;
    margin-right: 20px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .businessValue,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .stepCompanyCalendarContainer {
    flex: 0 0 50%;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectManagerContainer {
    flex: 0 0 50%;
    margin-right: 20px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectManagerContainer .componentValue {
    font-family: GlowRegular;
    font-size: 14px;
    color: #4a4a4a;
    padding-bottom: 4px;
    width: 100%;
    margin: 0;
    display: table;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectManagerContainer .info-container {
    display: table-cell;
    word-break: break-word;
    padding: 4px 10px;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .projectManagerContainer
    .componentValue.editable:hover
    .info-container {
    border-radius: 4px;
    background-color: #f5f5f5;
    cursor: pointer;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectManagerContainer .PMsectionName {
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectManagerContainer .projectManager {
    display: flex;
    margin-left: -10px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectManagerContainer .pmPhoto img {
    border-radius: 35px;
    margin-right: 10px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectManagerContainer .pmCredentials {
    display: flex;
    flex-direction: column;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .projectManagerContainer
    .pmCredentials
    .pmTitle {
    color: #808080;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .projectInfoRow .projectInfoValue {
    text-align: left;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .projectInfoRow .projectInfoLabel {
    width: 53px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .projectInfoRow .projectInfoValue.secondColumn {
    width: 139px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .syncInfo {
    /*height: 80px;*/
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 19px;
    flex-shrink: 0;
}

.projectInfo-popup .projectInfoContainer .headerBlock .toggleSection {
    display: flex;
}

.projectInfo-popup .projectInfoContainer .headerBlock .toggleSection.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.projectInfo-popup .projectInfoContainer .headerBlock .toggleDescription {
    font-family: GlowRegular;
    font-size: 13px;
    color: #4a4a4a;
    padding-left: 5px;
    cursor: pointer;
}

.projectInfo-popup .projectInfoContainer .headerBlock .toggleDescription .wayType {
    font-family: GlowSemiBold;
}

.projectInfo-popup .projectInfoContainer .headerBlock .toggleDescription .comment {
    color: #808080;
}

.projectInfo-popup .projectInfoContainer .closedProjectSubHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    flex-shrink: 0;
}

.projectInfo-popup .projectInfoContainer .closedProjectSubHeader .closedProject {
    display: flex;
    align-items: center;
    justify-content: center;
}


.projectInfo-popup .projectInfoContainer .closedProjectSubHeader.blue {
    background-color: #EEF1FE;
}

.projectInfo-popup .projectInfoContainer .closedProjectSubHeader .closedProjectTitle {
    color: #EC4A43;
}

.projectInfo-popup .projectInfoContainer .closedProjectSubHeader .closedProjectTitle.blue {
    color: black;
}

.projectInfo-popup .projectInfoContainer .closedProjectSubHeader .archivedProject .closedProjectTitle {
    color: #808080;
}

.projectInfo-popup .projectInfoContainer .closedProjectSubHeader button {
    background: none;
    border: none;
    color: #5774E7;
    font-size: 13px;
    margin-left: 5px;
}

.projectInfo-popup .projectInfoContainer .projectHeader {
    border-bottom: 1px solid #f1f1f1;
    height: 44px;
    flex-shrink: 0;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectPriority {
    display: inline-block;
    font-family: GlowSemiBold;
    font-size: 14px;
    color: #4a4a4a;
    padding-top: 15px;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectPriority .projectIcon {
    margin-left: 20px;
    margin-bottom: 1px;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectPriority .priorityColor {
    display: inline-block;
    width: 4px;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectPriority .priorityValue {
    display: inline-block;
    margin-left: 10px;
    vertical-align: top;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectName {
    font-family: GlowRegular;
    font-size: 14px;
    text-align: left;
    color: #4a4a4a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    height: 100%;
    max-width: 70%;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectName .projectNameValue {
    width: 300px;
    margin-top: 15px;
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectName .projectNameInput {
    margin-top: 11px;
    padding-left: 5px;
    margin-left: 5px;
    border: solid 1px transparent;
    max-width: 99%;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectName .projectNameInput:hover,
.projectInfo-popup .projectInfoContainer .projectHeader .projectName .projectNameInput:focus {
    border: solid 1px #dcdcdc;
}

.projectInfo-popup .projectInfoContainer .projectHeader .qem-icon {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    margin-top: 14px;
    margin-left: 7px;
}

.projectInfo-popup .projectInfoContainer .projectHeader .audit-icon {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    margin-top: 14px;
    margin-left: 7px;
    margin-right: 10px;
}

.projectInfo-popup .projectInfoContainer .projectHeader .projectName .projectNameInput.invalidValue {
    border: 1px solid red;
}

.projectInfo-popup .projectInfoContainer .projectHeader .advancedSettingsToggle {
    font-family: GlowRegular;
    font-size: 13px;
    color: #4a4a4a;
    margin-right: 20px;
    padding-top: 15px;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow {
    font-family: GlowRegular;
    font-size: 14px;
    height: 29px;
    display: table;
    width: 100%;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow.resultRow .projectInfoLabel {
    color: #4a4a4a;
    font-family: GlowSemibold;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow.resultRow .projectInfoValue.negative {
    color: #ec4a43;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoLabel,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .projectInfoLabel {
    color: #808080;
    display: table-cell;
    width: 140px;
    vertical-align: middle;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoLabel.firstColumn {
    width: 125px;
}

/*TODO used as we do not show bubble*/
.projectInfo-popup .projectInfoContainer .informationInNumbersBlock .projectInfoRow .projectInfoLabel.firstColumn {
    width: 255px;
}

.projectInfo-popup .projectInfoContainer .informationInNumbersBlock .projectInfoRow .projectInfoValue {
    text-align: right;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoLabel .currencySign {
    max-width: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: bottom;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .projectInfoValue {
    color: #4a4a4a;
    display: table-cell;
    width: 110px;
    vertical-align: middle;
    text-align: center;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue.secondColumn {
    width: 165px;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue.columnWithPadding {
    padding-left: 10px;
}

.projectInfo-popup
    .projectInfoContainer
    .projectInfoRow
    .projectInfoValue.editable:not(.pickerIsOpened):hover
    .datepicker {
    display: inline-block;
}

.projectInfo-popup
    .projectInfoContainer
    .projectInfoRow
    .projectInfoValue.editable:not(.pickerIsOpened):hover
    .dateValue {
    display: none;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue .dateValue {
    padding-left: 10px;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue.pickerIsOpened .dateValue {
    display: none;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue .datepicker {
    width: 110px;
    height: 28px;
    border-radius: 4px;
    background-color: #ffffff;
    border: solid 1px #dcdcdc;
    outline: none;
    font-family: GlowRegular;
    font-size: 13px;
    color: #4a4a4a;
    background: url('../../images/calendar&time/calendar.svg') no-repeat;
    background-position: right 10px center;
    padding: 0 30px 0 10px;
    cursor: pointer;
    vertical-align: top;
    display: none;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue.pickerIsOpened .datepicker {
    display: inline-block;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue .totalBudgetInput,
.projectInfo-popup .projectInfoContainer .projectInfoRow .projectInfoValue .approvedBudgetInput {
    width: 80px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: right;
}

.projectInfo-popup .projectInfoContainer .projectInfoRow.columnsTitle .projectInfoValue {
    color: #808080;
    padding-right: 15px;
}

.projectInfo-popup .projectInfoContainer .projectInfoRowFinanceTable .financialValue {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    line-height: 28px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-top: 5px;
    height: 324px;
    flex-shrink: 0;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .settingColumn {
    display: inline-block;
    width: 265px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .backlogInfo {
    display: inline-block;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .backlogInfo.importBacklog {
    width: 157px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo {
    display: inline-block;
    font-family: GlowRegular;
    font-size: 12px;
    color: #36393e;
    width: 265px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo .dropdown-multiselect input {
    border: none;
    border-bottom: 1px solid #efefef;
    padding-left: 10px;
    font-family: GlowSemiBold;
    font-size: 14px;
    color: #4a4a4a;
    outline: none;
    box-shadow: none;
    position: relative;
    padding: 8px 20px 3px 10px;
    cursor: pointer;
    height: 28px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo.sprintInfoLabel {
    padding-left: 9px;
    margin-top: 12px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo.sprintInfoLabel.disabled {
    opacity: 0.4;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo input {
    width: 230px;
    padding-left: 10px;
    height: 28px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 14px;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo input::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 14px;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo input:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 14px;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .sprintInfo input:-moz-placeholder {
    /* Firefox 18- */
    font-size: 14px;
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .budgetSection,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .newSprintSection,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection {
    background-color: #fff;
    height: 100%;
    padding: 20px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection {
    padding: 16px 20px 16px 10px;
    display: flex;
    flex-direction: column;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectLocation {
    display: flex;
    font-family: GlowRegular;
    font-size: 13px;
    color: #808080;
    height: 30px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectLocation.isInternal {
    margin-bottom: 27px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectLocation .icon {
    flex: 0 0 26px;
    padding-top: 2px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon
    .iconImg {
    width: 16px;
    height: 16px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon.Internal
    .iconImg {
    background: url('../../images/pipeline/epicflowIcon.png') no-repeat;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon.Jira
    .iconImg {
    background: url('../../images/pipeline/jiraIcon.png') no-repeat;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon.Csv
    .iconImg {
    background: url('../../images/pipeline/csvIcon.png') no-repeat;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon.Msp
    .iconImg {
    background: url('../../images/pipeline/mspIcon.png') no-repeat;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon.Primavera
    .iconImg {
    background: url('../../images/pipeline/primaveraIcon.png') no-repeat;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon.Primavera.P6
    .iconImg {
    background: url('../../images/pipeline/primaveraP6Icon.svg') no-repeat;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectLocation
    .icon.Workfront
    .iconImg {
    background: url('../../images/pipeline/workfront.svg') no-repeat;
}

.projectInfo-popup
.projectInfoContainer
.advancedProjectSettings
.infoAndBufferSection
.projectLocation
.icon.epicflow-api
.iconImg {
    background: url('../../images/pipeline/epicflow-api.svg') no-repeat;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectLocation .text {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectSummary {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 5px;
    overflow-y: auto;
    padding-left: 10px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectSummary,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .workAndBuffer {
		flex: 1 0 50%;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectSummary:not(:last-child),
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .workAndBuffer:not(:last-child) {
		padding-right: 20px;
    border-right: 1px solid #f1f1f1;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectSummary:not(:first-child),
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .workAndBuffer:not(:first-child) {
		padding-left: 20px;
}
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projecBuffer_and_bookingId_wrapper {
    display: flex;
    gap: 20px;
    padding-top: 17px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projecBuffer_and_bookingId_wrapper.isRemoved {
    display: block;
}


.projectInfo-popup .projectInfoContainer .advancedProjectSettings .componentName .title {
    font-family: 'GlowRegular';
    font-size: 14px;
    color: #B6B6B6;
    line-height: 20px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 135px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .bookingId-container
    .componentName
    .buttons-container {
    display: none;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .bookingId-container
    .componentValue
    .info-container {
    overflow: hidden;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .bookingId-container.isRemoved {
    margin-top: 15px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .bookingId-container.isExternal {
    margin-top: 19px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projecBuffer_and_bookingId_wrapper.isExternal {
    display: block;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectSummary
    .projectSummaryRow {
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectSummary
    .projectSummaryRow:last-child {
    padding-bottom: 0;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectSummary
    .projectDateAuthor {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectSummary
    .projectDateAuthor
    .projectSummaryUserName {
    color: #b6b6b6;
    flex: 0 0 auto;
    max-width: 180px;
    text-align: right;
    display: flex;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectSummary
    .projectDateAuthor
    .projectSummaryUserName
    .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectSummary
    .projectSummaryRowLabel {
    color: #808080;
}

.projectInfo-popup .infoDropdown-container {
    position: absolute;
    /* Info Dropdown is always 92px from the top */
    left: 460px;
    top: 474px;
    /* Info Dropdown should be above everything else */
    z-index: 9999;
    font-family: GlowRegular;
    font-size: 14px;
    width: 160px;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px 0 rgba(0, 41, 199, 0.2);
    display: none;
    opacity: 0;

    /* make text non-selectable for all children elements */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                            not supported by any browser */
}

/* Triangle above the Dropdown */
.projectInfo-popup .infoDropdown-container .infoDropdown-arrow {
    content: ' ';
    width: 0;
    height: 0;
    position: absolute;
    top: 29px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 5px solid #ffffff;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
    left: -5px;
}

.projectInfo-popup .infoDropdown-container .infoDropdown-text {
    padding: 15px 18px;
}

.projectInfo-popup .infoDropdown-container .infoDropdown-text .ui-btn-link {
    font-size: 14px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectInfoRow.budgetedRow {
    margin-bottom: 15px;
    height: 20px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .bufferAndRemainingContainer {
    display: flex;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .remainingWorkContainer {
    height: 92px;
    border-radius: 4px;
    background-color: #fbfbfb;
    width: 330px;
    margin-top: 3px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .projectBufferContainer,
    .projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .bookingId-container {
    width: 160px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .rowTitle {
    width: 106px;
    text-align: left;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .infoRow {
    display: flex;
    padding: 0 20px 5px;
    text-align: right;
    color: #4a4a4a;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .financialWork,
.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .budgetedWork {
    width: 160px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .remainingWorkHeader {
    display: flex;
    padding: 9px 19px;
    font-family: 'GlowSemiBold';
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .remainingWorkHeader
    .rowTitle {
    width: 260px;
}
.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .remainingWorkHeader
    .financialWork {
    width: 63px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .remainingWorkHeader
    .budgetedWork {
    width: 195px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .remainingWorkHeader
    .financialWork,
.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .remainingWorkContainer
    .remainingWorkHeader
    .budgetedWork {
    font-family: 'GlowRegular';
    text-align: right;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectBufferContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectBufferContainer .title {
    font-family: GlowRegular;
    font-size: 14px;
    color: #B6B6B6;
    line-height: 20px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 135px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectBufferContainer
    .description {
    font-family: GlowRegular;
    font-size: 14px;
    color: #808080;
    margin-top: 12px;
}

.projectInfo-popup
    .projectInfoContainer
    .advancedProjectSettings
    .infoAndBufferSection
    .projectBufferContainer
    .description
    .ui-btn-link {
    font-size: 14px;
    text-decoration: underline;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .budgetSection .ui-checkbox {
    margin-left: 10px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .budgetSection .ui-checkbox,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .newSprintSection .ui-checkbox {
    vertical-align: middle;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .budgetSection .checkBoxTitle,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .newSprintSection .checkBoxTitle {
    font-family: GlowRegular;
    font-size: 14px;
    color: #4a4a4a;
    display: inline-block;
    margin-bottom: 7px;
    margin-left: -6px;
    vertical-align: text-top;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .budgetSection .checkBoxTitle.disabled,
.projectInfo-popup .projectInfoContainer .advancedProjectSettings .newSprintSection .checkBoxTitle.disabled {
    opacity: 0.4;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .newSprintSection .ui-checkbox[disabled] {
    opacity: 0.4;
    pointer-events: none;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectInfoLabel {
    width: 167px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .infoAndBufferSection .projectInfoValue {
    text-align: center;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .ui-input[disabled] {
    opacity: 0.4;
    cursor: default;
    background-color: transparent;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .tabsHeader {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: stretch;
    height: 30px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .tabsHeader .tab {
    flex: 1;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-family: GlowSemibold;
    font-size: 13px;
    text-align: center;
    color: #4a4a4a;
    display: inline-block;
    height: 30px;
    padding-top: 8px;
    background-color: #f7f7f7;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .tabsHeader .tab~.tab {
    margin-left: 1px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .tabsHeader .tab:not(:last-child) {
    margin-right: 1px;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .tabsHeader .tab.infoTab {
    white-space: nowrap;
}

.projectInfo-popup .projectInfoContainer .advancedProjectSettings .tabsHeader .tab.active {
    background-color: #fff;
    border-bottom: none;
}

.projectInfo-popup [hidden] {
    display: none !important;
}

.projectInfo-popup .projectInfoContainer .error {
    color: #ec4a43;
    font-size: 12px;
    font-family: GlowRegular;
    margin-top: 35px;
    margin-left: 10px;
}

.projectInfo-popup .footer {
    text-align: right;
    background-color: #fff;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    height: 70px;
    border-top: 1px solid #f1f1f1;
    padding: 16px 30px;
    flex-shrink: 0;
}

@media (max-height: 1100px)   {
    .projectInfo-popup .footer {
        height: 64px;
        padding: 12px 30px;
    }
    .projectInfo-popup .projectInfoContainer .advancedProjectSettings {
        margin-top: 3px;
    }
    .projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable {
        overflow-y: auto;
        flex-shrink: 0;
    }
}

.projectInfo-popup .footer .ui-btn-light {
    width: 130px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .shortNameContainer .shortNameTitle {
    font-family: GlowRegular;
    font-size: 14px;
    color: #b6b6b6;
}

.projectInfo-popup
    .projectInfoContainer
    .headerBlock
    .mainInfo
    .datesAndPM
    .shortNameBox
    .componentValue {
        font-family: GlowRegular;
        font-size: 14px;
        color: #4a4a4a;
        width: 100%;
        height: 26px;
        margin: 0;
        display: table;
        margin-left: -10px;

}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .shortNameBox .info-container {
    display: table-cell;
    padding: 4px 10px;
    text-transform: uppercase;
}
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .shortNameContainer .shortNameBox .info-container:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .shortNameContainer .shortNameBox .shortNameInput {
    width: 100%;
    padding-left: 10px;
    margin-right: -1px;
    text-transform: uppercase;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .shortameAndParentGroupContainer {
    display: flex;
    padding-bottom: 7px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .shortameAndParentGroupContainer .shortNameContainer,
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .shortameAndParentGroupContainer .parentProjectGroup {
    flex: 0 0 50%;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .shortameAndParentGroupContainer .shortNameContainer {
    margin-right: 20px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .shortameAndParentGroupContainer .parentProjectGroup {
    width: 175px;
}

.projectInfoContainer .teamsInfo__container {
    min-width: 240px;
    height: fit-content;
    max-height: 100%;
}

/* On tall screens (>820px) .mainInfo has no resolved height (its height:100% collapses to auto),
   so max-height:100% above resolves to none and the niceScroll container is left unbounded →
   lower teams get cut off with no scroll. Give it a concrete cap (matches .datesAndPM). */
@media (min-height: 821px) {
    .projectInfoContainer .teamsInfo__container {
        max-height: 500px;
    }
}

.projectInfoContainer .teams.stepComponent .componentName {
    color: #B6B6B6;
}

#mainInfoSectionNiceScroll::-webkit-scrollbar {
    width: 3px;
}

#mainInfoSectionNiceScroll::-webkit-scrollbar-thumb {
    background-color: #dcddde;
    border: none;
    border-radius: 3px;
}

#mainInfoSectionNiceScroll::-webkit-scrollbar-track {
    background-color: transparent;
}

#projectSummarySectionNiceScroll::-webkit-scrollbar {
	width: 3px;
}

#projectSummarySectionNiceScroll::-webkit-scrollbar-thumb {
	background-color: #dcddde;
	border: none;
	border-radius: 3px;
}

#projectSummarySectionNiceScroll::-webkit-scrollbar-track {
	background-color: transparent;
}

/* Bonus/Penalty Scheme Section (inside financeTable for right column) */
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .bonusPenaltySchemeSection {
    padding: 24px 0 8px 0;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemeLabel {
    font-family: GlowRegular;
    font-size: 14px;
    color: #808080;
    margin-bottom: 8px;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemeSelector {
    position: relative;
    display: inline-block;
}

/* Pill/Tag style selector - same as phases */
.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    background-color: #E5F4FF;
    border-radius: 4px;
    font-family: GlowRegular;
    font-size: 13px;
    color: #4A4A4A;
    line-height: 18px;
    min-height: 24px;
    cursor: default;
    user-select: none;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill.editable {
    cursor: pointer;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill.editable:hover {
    background-color: #E5E5E5;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill.hasValue {
    background-color: #E5F4FF;
    color: #2f2f2f;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill.hasValue.editable:hover {
    background-color: #D0EBFF;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill .schemePillText {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill .schemeInfoIcon {
    cursor: pointer;
    flex-shrink: 0;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill .schemeDropdownArrow {
    flex-shrink: 0;
    margin-left: 2px;
}

/* Dropdown menu.
   NOTE: these selectors are intentionally NOT prefixed with the popup ancestor
   chain. At runtime the menu is moved out to <body> (see positionSchemeDropdown /
   toggleSchemeDropdown in projectInfo.controller.ts) so it can't be clipped by the
   popup's overflow:hidden / transformed containing block, so the styles must not
   depend on the menu living inside .projectInfo-popup. The schemeDropdown* class
   names are unique to this feature. */
.schemeDropdownMenu {
    position: fixed;
    min-width: 180px;
    max-width: 250px;
    max-height: 200px;
    overflow-y: auto;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* Above the projectInfo modal (z-index 11100). */
    z-index: 11200;
}

.schemeDropdownMenu .schemeDropdownItem {
    padding: 8px 12px;
    font-family: GlowRegular;
    font-size: 13px;
    color: #4a4a4a;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schemeDropdownMenu .schemeDropdownItem:hover {
    background-color: #F5F5F5;
}

.schemeDropdownMenu .schemeDropdownItem.selected {
    background-color: #E5F4FF;
    color: #2f2f2f;
}

.schemeDropdownMenu .schemeDropdownItem.noScheme {
    color: #808080;
    font-style: italic;
}

/* Dropdown item with info icon layout */
.schemeDropdownMenu .schemeDropdownItem:not(.noScheme) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.schemeDropdownMenu .schemeDropdownItemName {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schemeDropdownMenu .schemeDropdownItemInfo {
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.schemeDropdownMenu .schemeDropdownItemInfo:hover {
    opacity: 1;
}

/* Pill open state style */
.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill.isOpen {
    background-color: #E5E5E5;
}

.projectInfo-popup .projectInfoContainer .bonusPenaltySchemeSection .schemePill.hasValue.isOpen {
    background-color: #D0EBFF;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .datesAndPM .projectCustomFieldsSection {
    margin: 0 0 16px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 8px;
}

.projectInfo-popup .projectInfoContainer .projectCustomFieldsSection .sectionLabel {
    grid-column: 1 / -1;
    font-family: GlowRegular;
    font-size: 14px;
    color: #808080;
}

.projectInfo-popup .projectInfoContainer .projectCustomFieldsSection .projectCustomFieldRow {
    margin-top: 8px;
    min-width: 0;
}

.projectInfo-popup .projectInfoContainer .projectCustomFieldsSection .projectCustomFieldRow > step-custom-field {
    display: block;
    width: 100%;
}

.projectInfo-popup .projectInfoContainer .projectCustomFieldsSection .projectCustomFieldRow > step-custom-field .stepCustomField {
    margin-left: 0;
}

.projectInfo-popup .projectInfoContainer .projectCustomFieldsSection step-custom-field .title {
    padding-top: 0;
    padding-left: 0;
}

.projectInfo-popup .projectInfoContainer .projectCustomFieldsSection .projectCustomFieldRow > step-custom-field .custom-field-cell {
    padding-left: 0;
}

/* Profit Breakdown Section (inside financeTable for right column) */
.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .profitBreakdownSection {
    padding: 16px 0 16px 0;
    /*border-top: 1px solid #f1f1f1;*/
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .profitBreakdownTable {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .profitBreakdownTable .financeTableColumnsTitle {
    margin-bottom: 8px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .projectInfoRowFinanceTable {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .financeTableColumnsTitle .firstColumnFinanceTable,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .financeTableColumnsTitle .secondColumnFinanceTable,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .financeTableColumnsTitle .thirdColumnFinanceTable {
    font-family: GlowSemiBold;
    color: #808080;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .firstColumnFinanceTable {
    width: 180px;
    color: #808080;
    margin-right: 16px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .secondColumnFinanceTable {
    width: 100px;
    text-align: right;
    padding-right: 8px;
    margin-right: 2px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .thirdColumnFinanceTable {
    width: 90px;
    text-align: right;
    padding-right: 8px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable .firstColumnFinanceTable {
    font-family: GlowSemiBold;
    color: #4a4a4a;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable {
    padding: 0;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .projectInfoValueFinanceTable.negative {
    color: #ec4a43;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .projectInfoValueFinanceTable.secondColumnFinanceTable.editable,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .projectInfoValueFinanceTable.thirdColumnFinanceTable.editable {
    padding-right: 0;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable .projectInfoValueFinanceTable.secondColumnFinanceTable.editable .financialValue,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable .projectInfoValueFinanceTable.secondColumnFinanceTable.editable .ui-input-bordered,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable .projectInfoValueFinanceTable.thirdColumnFinanceTable.editable .financialValue,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable .projectInfoValueFinanceTable.thirdColumnFinanceTable.editable .ui-input-bordered {
    padding-right: 8px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable .projectInfoValueFinanceTable.secondColumnFinanceTable,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .projectInfoRowFinanceTable .projectInfoValueFinanceTable.secondColumnFinanceTable {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100px;
    padding-right: 8px;
    margin-right: 2px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .emphasizedRowFinancialTable .projectInfoValueFinanceTable.thirdColumnFinanceTable,
.projectInfo-popup .projectInfoContainer .profitBreakdownSection .projectInfoRowFinanceTable .projectInfoValueFinanceTable.thirdColumnFinanceTable {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90px;
    padding-right: 8px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .financialValue {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    line-height: 28px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection:hover .financialValue.editable {
    background-color: #F5F5F5;
    border-radius: 4px;
    cursor: pointer;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .ui-input-bordered {
    width: 100%;
    height: 28px;
    text-align: right;
    border: 0;
    outline: solid 1px #dcdcdc;
    outline-offset: -1px;
}

.projectInfo-popup .projectInfoContainer .profitBreakdownSection .ui-input-bordered:focus {
    border: 0;
    outline: 1px solid #5774E7;
    outline-offset: -1px;
}

/* === New Finance Table Layout (2026 redesign) === */

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable {
    font-family: GlowRegular;
    font-size: 14px;
    font-weight: 400;
    color: #4a4a4a;
    padding: 12px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeTableHeader {
    min-height: 28px;
    display: grid;
    grid-template-columns: 1fr 91px 91px;
    align-items: center;
    padding: 0 12px 0 0;
    font-family: GlowSemiBold;
    color: #808080;
    font-weight: 600;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeTableHeader__spacer {
    flex: 1;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeTableHeader__col {
    text-align: right;
    font-size: 13px;
    padding-right: 8px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeSection {
    margin-bottom: 20px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeSection__header {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: GlowSemiBold;
    font-weight: 600;
    color: #808080;
    margin-bottom: 10px;
}

.icon-finance {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    padding: 1px;
    background: #EEF1FE;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-finance img {
    width: 16px;
    height: 16px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeBlockBordered {
    border: 1px solid #EEF1FE;
    border-radius: 4px;
    margin-bottom: 4px;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeBlockBordered:has(.financeRow--highlighted) {
    padding-bottom: 0;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow {
    min-height: 28px;
    display: grid;
    grid-template-columns: 1fr 91px 91px;
    align-items: center;
    padding: 0 12px;
    color: #4a4a4a;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__label {
    color: #808080;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__sublabel {
    color: #B6B6B6;
    font-size: 12px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__value {
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    padding-right: 8px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__input {
    width: 100%;
    height: 28px;
    text-align: right;
    outline-offset: -1px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow--highlighted {
    background-color: #F5F6FD;
    border-radius: 4px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow--bold {
    font-family: GlowSemiBold;
    font-weight: 600;
    color: #4A4A4A;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow--bold .financeRow__label {
    color: #4A4A4A;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__value--negative {
    color: #ec4a43;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__value:has(.financialValue.editablein) {
    padding-right: 0;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__value:has(.financeRow__input) {
    padding-right: 0;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__value .financialValue.editable {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 8px;
    background-color: transparent;
    border: 1px solid #DCDCDC;
    border-radius: 4px;
    cursor: pointer;
}

.projectInfo-popup .projectInfoContainer .headerBlock .mainInfo .financeTable .financeRow__value .ui-input-bordered {
    padding-right: 8px;
}

.mb4 {
    margin-bottom: 4px;
}
