﻿

td.details-control {
    background: url('../img/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../img/details_close.png') no-repeat center center;
}

.customInvalidTextbox {
    border-color: #E7BEBE !important;
    color: #e46f61 !important;
    background-color: snow !important;
}

/* Hack to make Bootstrap Timepicker widget dropdown appear in a Bootstrap modal.
   See https://github.com/jdewit/bootstrap-timepicker/issues/326
   */
.bootstrap-timepicker-widget.dropdown-menu {
    z-index: 99999 !important;
}

.StageAColor {
    background-color: #195f90 !important;
    color: white !important;
}

.StageBColor {
    background-color: #ff7f0e !important;
    color: white !important;
}

.StageCColor {
    background-color: #1cbfe8 !important;
    color: white !important;
}

.StageDColor {
    background-color: #FF33E8 !important;
    color: white !important;
}

.StageEColor {
    background-color: #9467bd !important;
    color: white !important;
}

.pac-card {
    margin: 10px 10px 0 0;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    font-family: Roboto;
}

.pac-container {
    padding-bottom: 12px;
    margin-right: 12px;
    z-index: 1051 !important;
}

.pac-controls {
    display: inline-block;
    padding: 5px 11px;
}

    .pac-controls label {
        font-family: Roboto;
        font-size: 13px;
        font-weight: 300;
    }

#pac-input {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
}

    #pac-input:focus {
        border-color: #4d90fe;
    }

.childExpand.green {
    background: url('../img/expandGreen16.png') no-repeat center center;
    cursor: pointer;
}

.childExpand.red {
    background: url('../img/expandRed16.png') no-repeat center center;
    cursor: pointer;
}

.childExpand.yellow {
    background: url('../img/expandYellow16.png') no-repeat center center;
    cursor: pointer;
}

.childExpand.black {
    background: url('../img/expandBlack16.png') no-repeat center center;
    cursor: pointer;
}

.collapseIcon {
    background: url('../img/details_close.png') no-repeat center center !important
}

.draggable {
    background: url('../img/hamburger_drag.png') no-repeat center center;
}

.childTableEven {
    background-color: lightgrey !important
}

.childTableOdd {
    background-color: lightblue !important
}

.childLevelClass {
    background-color: #BAE2F4 !important
}

.grandChildLevelClass {
    background-color: #F8B2F0 !important
}

.circleGreen {
    background: #5a9729 !important;
}
.circleYellow {
    background: #bba723 !important;
}
.circleRed {
    background: #862d2e !important;
}

.numberCircle {
    border-radius: 0.8em !important;
    -moz-border-radius: 0.8em !important;
    -webkit-border-radius: 0.8em !important;
    color: white !important;
    display: inline-block !important;
    font-weight: bold !important;
    line-height: 1.6em !important;
    text-align: center !important;
    width: 1.6em !important;
    text-align: center;
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
    font-size:20px;
}

.refNumberTable {
    font-weight: bold;
    font-size: 16px;
    vertical-align: middle !important;
}

table.dataTable tbody td {
    vertical-align: middle;
}

.modal-content.ui-resizable {
    overflow: hidden;
}

.bluebullet {
    color: rgba(28, 86, 233, 1);
    /* Bullet Color */
}

    .bluebullet span {
        color: black;
        /* Text Color */
    }

.yellowbullet {
    color: rgba(251, 236, 35, 1);
    /* Bullet Color */
}

.yellowbullet span {
    color: black;
    /* Text Color */
}

.redbullet {
    color: red;
    /* Bullet Color */
}

    .redbullet span {
        color: black;
        /* Text Color */
    }

.greenbullet {
    color: rgba(97, 234, 52, 1);
    /* Bullet Color */
}

    .greenbullet span {
        color: black;
        /* Text Color */
    }

.greendot {
    height: 15px;
    width: 15px;
    background-color: rgba(97, 234, 52, 1);
    border-radius: 50%;
    display: inline-block;
}

.blackdot {
    height: 15px;
    width: 15px;
    background-color: black;
    border-radius: 50%;
    display: inline-block;
}

.reddot {
    height: 15px;
    width: 15px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

.yellowdot {
    height: 15px;
    width: 15px;
    background-color: rgba(251, 236, 35, 1);
    border-radius: 50%;
    display: inline-block;
}

.bluedot {
    height: 15px;
    width: 15px;
    background-color: rgba(28, 86, 233, 1);
    border-radius: 50%;
    display: inline-block;
}

body {
    font-family: Poppins !important;
    min-height:100%;
}

.cpm-page-body {
    /*background: #40525f;*/
    background: #eeeeee;
    padding: 18px 20px 24px;
    min-height: 100vh;
}

.cpm-navbar {
    padding: 0;
    margin: 0;
    border: none;
    height: 65px;
    min-height: 65px;
    z-index: 200;
    background: #993333;
}

    .cpm-navbar .cpm-nav-inner {
        border: 0;
        -webkit-border-radius: 0;
        -webkit-background-clip: padding-box;
        -moz-border-radius: 0;
        -moz-background-clip: padding;
        border-radius: 0;
        background-clip: padding-box;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        /*padding-bottom: 5px;*/
        min-height: 60px;
        position: relative;
        background: #ffffff;
    }


.cpm-nav-inner .cpm-logo {
    margin-left: 55px;
    height: 60px;
    width: 164px;
}

.topnav {
    background-color: #ffffff;
    display:flex;
    /*overflow: hidden;*/
    padding-left: 50px;
    height:60px
}

.menu-item {
    position: relative;
}

/* Style the links inside the navigation bar */
.topnav a.menuitem {
    float: left;
    color: black;
    text-align: center;
    padding: 16px 13px;
    text-decoration: none;
    font-size: .95vw;
    background-color: #eef6f7;
    margin:0 2px 0 2px;
    height:60px
}

/* Change the color of links on hover */
.topnav a.menuitem:hover {
    background-color: #deecf0;
}

/* Add a color to the active/current link */
.topnav a.menuitem.active {
    background-color: #deecf0;
    border-bottom: 5px solid #993333;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%; /* Position sub-menu directly below the parent */
    left: 0;
    background-color: #444;
    min-width: 160px;
    z-index: 1000;
    margin-top: 0; /* Remove any gap between parent and sub-menu */
}

.sub-menu a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
}

    .sub-menu a:hover {
        background-color: #666;
    }

    .sub-menu .sub-menu {
        top: 0;
        left: 100%;
        margin-left: 0px;
        position: absolute;
        white-space: nowrap; /* Ensures menu width is calculated correctly */
    }

        .sub-menu .sub-menu.open-left {
            left: auto;
            right: 100%; /* Moves it to the left of the parent menu */
            margin-left: 0px;
        }

/* Show sub-menu on hover */
.menu-item:hover > .sub-menu,
.sub-menu:hover > .sub-menu {
    display: block;
}

/* Collapsible sub-menu indicator */
.menu-item.has-submenu > a::after {
    content: "▼";
    font-size: 0.8em;
    margin-left: 5px;
}

.menu-item.has-submenu:hover > a::after {
    content: "▲";
}
.sitewide-search {
    background-color: #c3d1d6;
    float: left;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items:center;
}

.sitewide-search .search-textbox {
    /* Style your input field */
    padding-left: 40px !important;
    margin: 0; /* Adjust as needed */
    height: 40px;
    width: 95% !important;
    border-radius: 10px !important;
    border: 1px solid #ccc;
    background-image: url('/assets/img/mag-glass.png');
    background-position: 10px center; /* Adjust as necessary */
    background-repeat: no-repeat;
}

/*.easy-autocomplete input {
    border-radius: 20px !important;
    height: 40px !important;
    padding-left: 30px !important;*/ /* Adjust based on your icon's width */
    /* Add any other styles to match your original design */
/*}*/

.easy-autocomplete {
    width: 95% !important; /* Prevent EasyAutocomplete from overriding the width */
}

/*.easy-autocomplete-container {
    z-index: 10000 !important;
}*/

/* Style the suggestions list */
.easy-autocomplete-container ul {
    border-radius: 5px !important;
    margin-top: 0px !important;
}

.easy-autocomplete.eac-plate-dark ul {
    top: 0px !important;
}


.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    padding: 10px;
    box-sizing: border-box;
    height: 100vh;
    align-content: flex-start;
}

.dashboard-well {
    width: 23%;
    margin: 10px;
    background-color: white;
    border: 1px solid #ccc;
    box-sizing: border-box;
    position: relative;
    height:40%;
    overflow-y:auto;
}

.dashboard-well-funnel {
    width: 40%;
    margin: 10px;
    background-color: white;
    border: 1px solid #ccc;
    box-sizing: border-box;
    position: relative;
    height: 40%;
    overflow-y: auto;
}

.dashboard-well-activity {
    width: 32%;
    margin: 10px;
    background-color: white;
    border: 1px solid #ccc;
    box-sizing: border-box;
    position: relative;
    height: 40%;
    overflow-y: auto;
}

.dashboard-well-header {
    background-color: #b5c9d1;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Poppins !important;
    font-size: 12pt;
    color: #223745;
    font-weight:bold;
}

.dashboard-well-content {
    padding: 5px 5px 5px 5px;
    height: 85%;

}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-container {
        flex-wrap: wrap;
    }

    .dashboard-well {
        width: 100%; /* Full width on smaller screens */
        margin: 10px 0;
    }
}

.active-client-row {
    height: 50px;
    width: 100%;
    color: white;
    font-weight: bold;
    font-size: 14pt;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 15px;
    margin-bottom:5px;
}

.client-red {
    background-image: linear-gradient(to right, #692425, #862d2e, #692425);
}

.client-yellow {
    background-image: linear-gradient(to right, #92851c, #bba723, #92851c);
}

.client-green {
    background-image: linear-gradient(to right, #4a7e23, #5a9729, #4a7e23);
}

.dashboard-activity-row {
    height: 75px;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 2px solid #deecf0;
}

.activity-row-text {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.activity-circle-red {
    /*min-width: 30px;
    min-height: 30px;*/
    background-color: #862d2e;
    min-width: 1.5em;
    min-height: 1.5em;
    border-radius: 50%;
}

.activity-circle-yellow {
    width: 1.5em;
    height: 1.5em;
    background-color: #bba723;
    border-radius: 50%;
}

.activity-circle-green {
    width: 1.5em;
    height: 1.5em;
    background-color: #5a9729;
    border-radius: 50%;
}

.activity-text-red {
    color: #862d2e;
    font-weight: bold;
    display:block;
    font-size:1.1em;
}

.activity-text-yellow {
    color: #bba723;
    font-weight: bold;
    display: block;
    font-size: 1.1em;
}

.activity-text-green {
    color: #5a9729;
    font-weight: bold;
    display: block;
    font-size: 1.1em;
}

.activity-text {
    color: #40525f;
    display: block;
    font-size:1em;
}

@media (max-width: 768px) {
    .activity-text-red, .activity-text-yellow, .activity-text-green {
        font-size: 0.8em;
    }

    .activity-text {
        font-size:1em
    }

    .dashboard-activity-row {
        gap: 5px;
    }

    .activity-circle-red {
        width: 1.2em;
        height: 1.2em;
    }

    .activity-row-text {
        white-space: normal;
    }
}

.force-break {
    width: 100%;
    height: 0;
}

.tooltip-custom {
    position: relative;
    display: inline-block;
    position: relative;
}

.tooltip-custom .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1999;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    white-space: normal; /* Ensures text wraps */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tooltip-custom:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    text-align:left;
}

.tooltip-icon {
    height:25px;
    width:25px;
}

.header-logo {
    max-height: 55px; /* Adjust this based on your header design */
    height: auto; /* Maintains aspect ratio */
    width: auto; /* Ensures the image is not distorted */
    display: block; /* Ensures proper alignment */
}

a small {
    display: flex;
    align-items: center;
    justify-content: center;
}

#projectplandatatable thead {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 2;
}


table.dataTable tbody tr.dtrg-group.dtrg-level-0,
table.dataTable tbody tr.dtrg-group.dtrg-level-0 td {
    background-color: #d9edf7 !important; /* Light gray background */
    font-size: 16px !important;
    font-weight: bold !important;
    color: black !important;
    text-align: center
}

/* Style for second-level group headers */
table.dataTable tbody tr.dtrg-group.dtrg-level-1,
table.dataTable tbody tr.dtrg-group.dtrg-level-1 td {
    background-color: #F8F0FF !important; /* Slightly darker gray background */
    font-size: 14px !important;
    color: black !important;
    text-align: center
}
.alphabet-nav {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.75); /* Mostly opaque */
    border-radius: 8px;
    padding: 6px 4px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.alphabet-nav a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.6);
    padding: 3px 5px;
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.alphabet-nav a:hover {
    background-color: #007bff;
    color: #fff;
}

body {
    background-color: #f9f9f9;
    font-family: sans-serif;
}

.progress-container {
    margin-top: 8px;
    text-align: center;
}

.progress-wrapper {
    display: inline-flex;
    align-items: flex-start;
}

.progress-step {
    text-align: center;
}

.progress-box {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Step label */
.step-label {
    margin-top: 4px;
    font-size: 14px;
    color: #444;
}

.progress-connector {
    width: 30px;
    height: 2px;
    background-color: #ccc;
    margin-top: 19px; /* vertically center relative to 40px tall box */
    flex-shrink: 0;
}

.fill-0-4 {
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
}

.fill-1-4 {
    background: linear-gradient(to right, #a8e6a3 25%, #e0e0e0 25%);
}

.fill-2-4 {
    background: linear-gradient(to right, #a8e6a3 50%, #e0e0e0 50%);
}

.fill-3-4 {
    background: linear-gradient(to right, #a8e6a3 75%, #e0e0e0 75%);
}

.fill-4-4 {
    background: linear-gradient(to right, #a8e6a3 100%, #a8e6a3 100%);
}

.fill-0-5 {
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
}

.fill-1-5 {
    background: linear-gradient(to right, #a8e6a3 20%, #e0e0e0 20%);
}

.fill-2-5 {
    background: linear-gradient(to right, #a8e6a3 40%, #e0e0e0 40%);
}

.fill-3-5 {
    background: linear-gradient(to right, #a8e6a3 60%, #e0e0e0 60%);
}

.fill-4-5 {
    background: linear-gradient(to right, #a8e6a3 80%, #a8e6a3 80%);
}

.fill-5-5 {
    background: linear-gradient(to right, #a8e6a3 100%, #a8e6a3 100%);
}

.fill-0-3 {
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
}

.fill-1-3 {
    background: linear-gradient(to right, #a8e6a3 33.33%, #e0e0e0 33.33%);
}

.fill-2-3 {
    background: linear-gradient(to right, #a8e6a3 66.66%, #e0e0e0 66.66%);
}

.fill-3-3 {
    background: linear-gradient(to right, #a8e6a3 100%, #a8e6a3 100%);
}

.fill-0-2 {
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
}

.fill-1-2 {
    background: linear-gradient(to right, #a8e6a3 50%, #e0e0e0 50%);
}

.fill-2-2 {
    background: linear-gradient(to right, #a8e6a3 100%, #a8e6a3 100%);
}
.fill-0-1 {
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 100%);
}

.fill-1-1 {
    background: linear-gradient(to right, #a8e6a3 100%, #a8e6a3 100%);
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}


.progress-box.blinking {
    animation: blink 1s infinite; 
}

.progress-box.blinking-fill {
    animation: blink 1s infinite;
    background: linear-gradient(to right, #a8e6a3 50%, #e0e0e0 50%);
}

/*.project-header {
    position: sticky;
    top: 0;
    background: #eeeeee;
    padding: 10px;
    z-index: 2;
}*/

@keyframes rowBlink {
    0% {
        background-color: #fff3cd;
    }
    /* light yellow */
    50% {
        background-color: #ffeeba;
    }

    100% {
        background-color: transparent;
    }
}

.blink-row {
    animation: rowBlink 1.5s ease-in-out 1; /* duration, easing, repeat count */
}

.fontGreen {
    color: #5a9729 !important;
}

.fontYellow {
    color: #bba723 !important;
}

.fontRed {
    color: #862d2e !important;
}