﻿:root {
    --primary-color: #6ba849;
}


.header-left {
    display: flex; /* Makes Div 1 and Div 2 sit side by side */
    gap: 10px; /* Optional: Adds spacing between them */
}
.user-logo-container {
    align-content: center;
    display: flex;
    align-items: flex-end;
    margin-right: 15px; /* Adjust spacing from the right edge */
}

.account-prompt {
    color: #6ba849;
    font-size: 30px;
    text-align: center;
    padding-bottom: 20px;
}


.landingPage .userLogo {
    position: absolute;
    top: 40px;
    right: 40px;
    width: auto;
    height: auto;
    width: 15%;
    opacity: 0; /* Start fully invisible */
    transform: translate(-40px, 40px) rotateY(0deg); /* Start position */
    animation: fadeUpLeftSpin 2s ease-out forwards;
}
@keyframes fadeUpLeftSpin {
    from {
        opacity: 0;
        transform: translate(-40px, 40px) rotateY(0deg); /* Start position */
    }

    to {
        opacity: 1;
        transform: translate(0, 0) rotateY(360deg); /* Moves to original position & spins */
    }
}

.userHeaderLogo {
    height: 25px; /* Adjust as necessary */
    width: auto;
    opacity: 0; /* Start fully invisible */
    transform: rotateY(0deg); /* Start position */
    animation: leftSpin 2s ease-out forwards;
}

@keyframes leftSpin {
    from {
        opacity: 0;
        transform: rotateY(0deg); /* Start position */
    }

    to {
        opacity: 1;
        transform: rotateY(360deg); /* Moves to original position & spins */
    }
}

/* Delay the appearance of CompanyDivision text */
.companyDivision {
    opacity: 0; /* Start hidden */
    animation: fadeInText 1s ease-out 2s forwards; /* Start AFTER 2s */
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Syncfusion Gantt */
/* Highlight IsCurrent task */
.e-current-task {
    outline: 2px solid !important;
}
.e-late-task {
    
}/* Highlight IsCurrent task */
.e-current-task-label {
    color: #009730 !important;
}
.e-gantt .e-gantt-chart .e-event-markers .e-span-label {
    background-color: #8bc34a30;
    color: #a5a5a5;
    font-size: 10px;
}

.e-left-label-inner-div {
    margin-top: 8px !important;
}
.e-gantt .e-gantt-chart .e-label {
    margin-bottom: 10px !important;
}

.e-indicator-span[aria-label*="First Order"] {
    color: darkorchid !important;
    margin-top: 0px !important;
    line-height: 9px !important;
}
.e-indicator-span[aria-label*="Last Order"] {
    color: forestgreen !important;
    margin-top: 11px !important;
    line-height: 34px;
}
.e-indicator-span {
    
    z-index: 10;
/*    margin-top: 11px !important;*/
}

.strikethrough-row {
    text-decoration: line-through;
    color: grey; /* Optional: Make it appear disabled */
}

/*buttons*/
.CommandColumnNewButton {
    border-radius: 4px !important;
    padding: 1px !important;
    margin: 2px !important;
    color: #01a301 !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #01a301 !important;
    text-decoration: none !important;
    display: block !important;
    width: auto !important;
}

    .CommandColumnNewButton:hover {
        color: #fff !important;
        background: #01a301 !important;
        border: 1px solid transparent !important;
        border-color: #fff !important;
        text-decoration: none !important;
    }

    .CommandColumnNewButton:visited {
        text-decoration: none !important;
    }

    .CommandColumnNewButton:focus {
        text-decoration: none !important;
    }

    .CommandColumnNewButton > div > span:before {
        font-family: FontAwesome;
        content: "\f0fe";
        display: inline-block;
        padding-right: 3px;
        vertical-align: top;
        color: #01a301;
        font-size: 18px !important;
    }

    .CommandColumnNewButton:hover > div > span:before {
        color: #fff;
    }

.CommandColumnDeleteButton {
    padding: 3px 19px !important;
    margin: 0 !important;
    /*border-radius: 4px !important;*/
    /*color: #fb6565 !important;*/
    background: #fff !important;
    /*border: 1px solid transparent !important;*/
    border-color: #7b7b7b !important;
    display: block !important;
    width: auto !important;
}

    .CommandColumnDeleteButton:hover {
        background: #fb6565 !important;
        color: #fff !important;
        border: 1px solid transparent !important;
        border-color: #fff !important;
        text-decoration: none !important;
    }

    .CommandColumnDeleteButton:visited {
        text-decoration: none !important;
    }

    .CommandColumnDeleteButton:focus {
        text-decoration: none !important;
    }

    .CommandColumnDeleteButton > div > span {
        padding: 0;
        vertical-align: top;
    }

        .CommandColumnDeleteButton > div > span:before {
            font-family: FontAwesome;
            content: "\f1f8";
            display: inline-block;
            vertical-align: top;
            color: #7b7b7b;
        }

    .CommandColumnDeleteButton:hover > div > span:before {
        color: #fff;
    }

.GridConvertButton {
    box-sizing: border-box;
    padding: 0 19px !important;
    border-radius: 4px !important;
    display: block !important;
    color: #018fd9 !important;
    width: 100% !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #018fd9 !important;
    cursor: pointer;
    text-align: center;
}

    .GridConvertButton:hover {
        background: #018fd9 !important;
        color: #fff !important;
        border: 1px solid transparent !important;
        border-color: #fff !important;
        text-decoration: none !important;
        cursor: pointer;
    }

    .GridConvertButton:visited {
        text-decoration: none !important;
    }

    .GridConvertButton:focus {
        text-decoration: none !important;
    }

    .GridConvertButton > div > span {
        padding: 0;
        vertical-align: top;
    }

        .GridConvertButton > div > span:before {
            font-family: FontAwesome;
            content: "\f00d";
            display: inline-block;
            vertical-align: top;
            color: #fb6565;
        }

    .GridConvertButton:hover > div > span:before {
        color: #fff;
    }

.GridApprovedLabel {
    box-sizing: border-box;
    padding: 0 19px !important;
    border-radius: 4px !important;
    display: block !important;
    color: #fff !important;
    width: 100% !important;
    background: #61a945 !important;
    border: 3px solid transparent !important;
    text-align: center;
    text-decoration: none !important;
}

.CommandColumnClearFilterButton {
    padding: 0 !important;
    margin: 0 5px !important;
    border-radius: 4px !important;
    color: #0090d9 !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #0090d9 !important;
    display: block !important;
    width: auto !important;
}

    .CommandColumnClearFilterButton:hover {
        background: #0090d9 !important;
        color: #fff !important;
        border: 1px solid transparent !important;
        border-color: #fff !important;
        text-decoration: none !important;
    }

    .CommandColumnClearFilterButton:visited {
        text-decoration: none !important;
    }

    .CommandColumnClearFilterButton:focus {
        text-decoration: none !important;
    }

    .CommandColumnClearFilterButton > div > span:before {
        font-family: FontAwesome;
        content: "\f00d\f0b0";
        display: inline-block;
        vertical-align: top;
        color: #0090d9;
    }

    .CommandColumnClearFilterButton:hover > div > span:before {
        color: #fff;
    }

.CommandColumnToggleFilterButton {
    padding: 0 !important;
    margin: 2px !important;
    border-radius: 4px !important;
    color: #0090d9 !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #0090d9 !important;
    display: block !important;
    width: auto !important;
}

    .CommandColumnToggleFilterButton:hover {
        background: #0090d9 !important;
        color: #fff !important;
        border: 1px solid transparent !important;
        border-color: #fff !important;
        text-decoration: none !important;
    }

    .CommandColumnToggleFilterButton:visited {
        text-decoration: none !important;
    }

    .CommandColumnToggleFilterButton:focus {
        text-decoration: none !important;
    }

    .CommandColumnToggleFilterButton > div > span:before {
        font-family: FontAwesome;
        content: "\f0b0";
        display: inline-block;
        vertical-align: top;
        color: #0090d9;
        font-size: 18px !important;
    }

    .CommandColumnToggleFilterButton:hover > div > span:before {
        color: #fff;
    }

.CommandColumnClearFilterButton:hover > div > span:before {
    color: #fff;
}

.CommandColumnOpenTimesheetsButton {
    padding: 0 !important;
    margin: 0 5px !important;
    border-radius: 4px !important;
    color: #0090d9 !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #0090d9 !important;
    display: block !important;
    width: auto !important;
}

    .CommandColumnOpenTimesheetsButton:hover {
        background: #0090d9 !important;
        color: #fff !important;
        border: 1px solid transparent !important;
        border-color: #fff !important;
        text-decoration: none !important;
    }

    .CommandColumnOpenTimesheetsButton:visited {
        text-decoration: none !important;
    }

    .CommandColumnOpenTimesheetsButton:focus {
        text-decoration: none !important;
    }

    .CommandColumnOpenTimesheetsButton > div > span:before {
        font-family: FontAwesome;
        content: "\f073";
        display: inline-block;
        vertical-align: top;
        color: #0090d9;
    }

    .CommandColumnOpenTimesheetsButton:hover > div > span:before {
        color: #fff;
    }
.BomCommandAnalyseButton,
.BomCommandImportButton,
.ProjectCommandViewKanban,
.ProposalListPertCommandButton,
.ProposalListProposalPlanGanttButton,
.ProposalListProposalPhaseGanttButton,
.ProjectListProjectPlanGanttButton,
.ProjectListProjectPhaseGanttButton,
.ProjectListProjectTasksGanttButton,
.PartsRequestPOGanttButton,
.BillOfMaterialPoGanttButton {
    padding: 0 !important;
    margin: 0 2px !important;
    border-radius: 4px !important;
    color: #0090d9 !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #0090d9 !important;
    width: 36px;
}

    .BomCommandAnalyseButton:hover,
    .BomCommandImportButton:hover,
    .ProjectCommandViewKanban:hover,
    .ProposalListPertCommandButton:hover,
    .ProposalListProposalPhaseGanttButton:hover,
    .ProposalListProposalPlanGanttButton:hover,
    .ProjectListProjectPhaseGanttButton:hover,
    .ProjectListProjectTasksGanttButton:hover,
    .ProjectListProjectPlanGanttButton:hover,
    .PartsRequestPOGanttButton:hover,
    .BillOfMaterialPoGanttButton:hover {
        background: #ABB4BE !important;
        color: #FFF !important;
        border: 1px solid transparent !important;
        border-color: #FFF !important;
        text-decoration: none !important;
    }

    .BomCommandAnalyseButton:visited,
    .BomCommandImportButton:visited,
    .ProjectCommandViewKanban:visited,
    .ProposalListPertCommandButton:visited,
    .ProjectListProjectPhaseGanttButton:visited,
    .ProjectListProjectTasksGanttButton:visited,
    .ProposalListProposalPhaseGanttButton:visited,
    .ProposalListProposalPlanGanttButton:visited,
    .ProjectListProjectPlanGanttButton:visited,
    .PartsRequestPOGanttButton:visited,
    .BillOfMaterialPoGanttButton:visited {
        text-decoration: none !important;
    }

    .BomCommandAnalyseButton:focus,
    .BomCommandImportButton:focus,
    .ProjectCommandViewKanban:focus,
    .ProposalListPertCommandButton:focus,
    .ProjectListProjectPhaseGanttButton:focus,
    .ProjectListProjectTasksGanttButton:focus,
    .ProposalListProposalPhaseGanttButton:focus,
    .ProposalListProposalPlanGanttButton:focus,
    .ProjectListProjectPlanGanttButton:focus,
    .PartsRequestPOGanttButton:focus,
    .BillOfMaterialPoGanttButton:focus {
        text-decoration: none !important;
    }

    .BomCommandImportButton > div > span:before,
    .BomCommandAnalyseButton > div > span:before,
    .ProjectCommandViewKanban > div > span:before,
    .ProposalListPertCommandButton > div > span:before,
    .ProposalListProposalPhaseGanttButton > div > span:before,
    .ProjectListProjectPhaseGanttButton > div > span:before,
    .ProjectListProjectTasksGanttButton > div > span:before,
    .ProposalListProposalPlanGanttButton > div > span:before,
    .ProjectListProjectPlanGanttButton > div > span:before,
    .PartsRequestPOGanttButton > div > span:before,
    .BillOfMaterialPoGanttButton > div > span:before {
        font-family: FontAwesome;
        display: inline-block;
        vertical-align: top;
    }

    .BomCommandImportButton > div > span:before {
        content: "\f093";
        color: #0090d9;
    }

    .BomCommandAnalyseButton > div > span:before {
        content: "\f1ec";
        color: #62a945;
    }

    .ProjectCommandViewKanban > div > span:before {
        content: "\f0db";
        color: #0090d9;
    }

    .ProposalListPertCommandButton > div > span:before {
        content: "\f1ec";
        color: #0090d9;
    }

    .ProposalListProposalPhaseGanttButton > div > span:before {
        content: "\f073";
        color: #0090d9;
    }

    .ProposalListProposalPlanGanttButton > div > span:before {
        content: "\f073";
        color: #0090d9;
    }

    .ProjectListProjectPhaseGanttButton > div > span:before {
        content: "\f080";
        color: #0090d9;
    }

    .ProjectListProjectTasksGanttButton > div > span:before {
        content: "\f0ae";
        color: #0090d9;
    }

    .ProjectListProjectPlanGanttButton > div > span:before {
        content: "\f073";
        color: #0090d9;
    }

    .PartsRequestPOGanttButton > div > span:before {
        content: "\f073";
        color: #0090d9;
    }

    .BillOfMaterialPoGanttButton > div > span:before {
        content: "\f073";
        color: #0090d9;
    }

.BomCommandColumnButton:hover > div > span:before {
    color: #ABB4BE;
}

.CommandColumnOpenBomDetailsButton {
    padding: 0 !important;
    margin: 0 5px !important;
    border-radius: 4px !important;
    color: #0090d9 !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #0090d9 !important;
    display: block !important;
    width: auto !important;
}

    .CommandColumnOpenBomDetailsButton:hover {
        background: #0090d9 !important;
        color: #fff !important;
        border: 1px solid transparent !important;
        border-color: #fff !important;
        text-decoration: none !important;
    }

    .CommandColumnOpenBomDetailsButton:visited {
        text-decoration: none !important;
    }

    .CommandColumnOpenBomDetailsButton:focus {
        text-decoration: none !important;
    }

    .CommandColumnOpenBomDetailsButton > div > span:before {
        font-family: FontAwesome;
        content: "\f0cb";
        display: inline-block;
        vertical-align: top;
        color: #0090d9;
    }

    .CommandColumnOpenBomDetailsButton:hover > div > span:before {
        color: #fff;
    }

.GridNewButton {
    padding: 2px !important;
}
/* Layout Base - Content Body */
.content-body {
    padding: 0 0 0 0 !important;
    margin-top: 0px;
}

.tabs {
    margin-bottom: 0;
}

.CommandColumnLockedDeleteButton {
    padding: 0 19px !important;
    margin: 0 2px !important;
    border-radius: 4px !important;
    color: #9a9a9a !important;
    background: #fff !important;
    border: 1px solid transparent !important;
    border-color: #9a9a9a !important;
    display: block !important;
    width: auto !important;
    text-align: center;
}

    .CommandColumnLockedDeleteButton:visited {
        text-decoration: none !important;
    }

    .CommandColumnLockedDeleteButton:focus {
        text-decoration: none !important;
    }

    .CommandColumnLockedDeleteButton > div > span {
        padding: 0;
        vertical-align: top;
        padding-right: 3px;
    }

.TreeListCommandColumnGreenButton {
    border-radius: 4px !important;
    margin: 2px !important;
    color: #01a301 !important;
    background: #FFF !important;
    border: 1px solid transparent !important;
    border-color: #01a301 !important;
    text-decoration: none !important;
    width: auto !important;
    padding: 4px 10px;
}

    .TreeListCommandColumnGreenButton:hover {
        color: #FFF !important;
        background: #01a301 !important;
        border: 1px solid transparent !important;
        border-color: #FFF !important;
        text-decoration: none !important;
    }

    .TreeListCommandColumnGreenButton:visited {
        text-decoration: none !important;
    }

    .TreeListCommandColumnGreenButton:focus {
        text-decoration: none !important;
    }

    .TreeListCommandColumnGreenButton > div > span:before {
        font-family: FontAwesome;
        display: inline-block;
        padding-right: 3px;
        vertical-align: top;
        color: #01a301;
        font-size: 18px !important;
    }

    .TreeListCommandColumnGreenButton:hover > div > span:before {
        color: #FFF;
    }

.TreeListCommandColumnBlueButton {
    border-radius: 4px !important;
    margin: 2px !important;
    color: #0090d9 !important;
    background: #FFF !important;
    border: 1px solid transparent !important;
    border-color: #0090d9 !important;
    text-decoration: none !important;
    width: auto !important;
    padding: 4px 10px;
}

    .TreeListCommandColumnBlueButton:hover {
        color: #FFF !important;
        background: #0090d9 !important;
        border: 1px solid transparent !important;
        border-color: #FFF !important;
        text-decoration: none !important;
    }

    .TreeListCommandColumnBlueButton:visited {
        text-decoration: none !important;
    }

    .TreeListCommandColumnBlueButton:focus {
        text-decoration: none !important;
    }

    .TreeListCommandColumnBlueButton > div > span:before {
        font-family: FontAwesome;
        display: inline-block;
        padding-right: 3px;
        vertical-align: top;
        color: #0090d9;
        font-size: 18px !important;
    }

    .TreeListCommandColumnBlueButton:hover > div > span:before {
        color: #FFF;
    }

.TreeListCommandColumnGreyButton {
    border-radius: 4px !important;
    margin: 2px !important;
    color: #7b7b7b !important;
    background: #FFF !important;
    border: 1px solid transparent !important;
    border-color: #7b7b7b !important;
    text-decoration: none !important;
    width: auto !important;
    padding: 4px 10px;
}

    .TreeListCommandColumnGreyButton:hover {
        color: #FFF !important;
        background: #7b7b7b !important;
        border: 1px solid transparent !important;
        border-color: #FFF !important;
        text-decoration: none !important;
    }

    .TreeListCommandColumnGreyButton:visited {
        text-decoration: none !important;
    }

    .TreeListCommandColumnGreyButton:focus {
        text-decoration: none !important;
    }

    .TreeListCommandColumnGreyButton > div > span:before {
        font-family: FontAwesome;
        display: inline-block;
        padding-right: 3px;
        vertical-align: top;
        color: #7b7b7b;
        font-size: 18px !important;
    }

    .TreeListCommandColumnGreyButton:hover > div > span:before {
        color: #FFF;
    }

/* Globally hide the ID column cell but keep it in DOM */
.e-grid .hidden-id {
    display: none !important;
}

/*datalist Grid Menu*/
.menu-item .fa-kit,
.menu-item .fa-thin {
    padding-right: 5px;
    padding-left: 5px;
}
.dxgvCommandColumnItem_Moderno {
    margin: 0px;
    font-size: 18px;
    width: 100%;
    text-align: center;
    padding: 0;
    line-height: 1;
    border: none;
    background: none;
    cursor: pointer;
}

.dxm-popupMain {
    width: 200px !important;

}

/* Base spacing */
.dxm-item .menu-item {
    padding-left: 1px;
}

/* Hover style */
.dxm-item:hover,
.dxm-item.dxm-hover {
    background-color: #337abe; /* Bootstrap blue or your brand colour */
    color: white;
    cursor: pointer;
}

/* Make sure inner content gets styled too */
.dxm-item:hover .dxm-content,
.dxm-item.dxm-hover .dxm-content {
    color: white;
}

/*Grid Command*/
#gridCommandMenu .dxm-content {
    line-height: 2;
    padding: 10px 14px;
}

#gridCommandMenu .dxm-popupMain {
    width: 200px !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Base spacing */
#gridCommandMenu .dxm-item {
    line-height: 2;
    padding: 0px 14px 0px 5px;
}

/* Hover style */
    #gridCommandMenu .dxm-item:hover,
    #gridCommandMenu .dxm-item.dxm-hover {
        background-color: #337abe; /* Bootstrap blue or your brand colour */
        color: white;
        cursor: pointer;
    }

        /* Make sure inner content gets styled too */
        #gridCommandMenu .dxm-item:hover .dxm-content,
        #gridCommandMenu .dxm-item.dxm-hover .dxm-content {
            color: white;
        }
#gridCommandMenu .dxm-content i.fa-kit,
#gridCommandMenu .dxm-content i.fa-thin {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.command-menu-button .fa-kit,
.command-menu-button .fa-thin {
    margin-right: 5px;
    padding-bottom: 2px;
}

/*Phases Drawer */
.phase-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease-in-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.phase-drawer.show {
    right: 0;
}

.phase-drawer-header {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.phase-drawer-body {
    padding: 1rem;
    overflow-y: auto;
    flex-grow: 1;
}

.detail-hyperlink {
    vertical-align: middle;
    margin-left: 3px;
}

    .detail-hyperlink i {
        font-size: 15px;
        color: #6ba849;
    }

/*quick search styling*/

.quick-search-toggle {
    width: 20px;
    height: 25px;
    position: absolute;
    z-index: 20;
    right: 0;
}

.quick-search-input {
    display: none;
    z-index: 21;
    position: fixed;
    width: 0px;
    height: 25px;
    overflow: hidden;
    float: left;
    border-radius: 14px;
    border: solid #b9b9b9 2px;
    outline: none;
    background-color: white;
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.26);
}

    .quick-search-input input {
        color: black;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 114px;
        height: 100%;
        margin: 0;
        padding: 0 10px;
        border: none;
        backface-visibility: none;
        border-radius: 0;
        transition: left 0;
        font-weight: bold;
    }

.quick-search-box {
    margin-top: -21px;
/*    margin-left: 8px !important;*/
    height: 22px;
    box-shadow: none !important;
    background: none !important;
    left: 166px;
    width: 25px;
}

.quick-search-label {
    color: #b9b9b9 !important;
    left: 3px;
    top: 18%;
    float: left;
    width: 19px;
    position: absolute;
}

    .quick-search-label:hover {
        color: #191c21 !important;
    }

.quick-search-labeldiv {
    height: 21px;
    width: 20px;
}