﻿ li.nav-item {
    display: flex;
    align-items: center;
    background: white;
    box-shadow: 0 0 0 0;
}

#tree-container {
    top: 10px !important;
    margin-top: -36px !important;
}


    #tree-container .highlight-match {
        color: #fff707;
        font-weight: bold;
        padding: 2px;
        background-color: #484343b8;
    }

    #tree-container .tree-view {
        padding: 0;
        list-style: none;
        position: relative;
        text-align: left;
        margin-top: 30px;
    }

        #tree-container .tree-view li {
            margin: 0;
            margin-left: 30px;
            position: relative;
            list-style: none;
        }

            #tree-container .tree-view li::before,
            #tree-container .tree-view li::after {
                content: '';
                left: -20px;
                position: absolute;
                right: auto;
            }

        .tree-view li:only-child::after,
        .tree-view li:only-child::before {
            display: none;
        }
        .tree-view li:last-child::before {
            height: 30px;
        }

        .tree-view li:not(:last-child)::before {
            height: 100%;
        }

    .tree-view > li > div {
        border: none;
        top: 30px;
        position: relative;
        font-weight: bold;
        color: #2c3e50;
    }

    .tree-view li > div {
        display: inline-block;
        vertical-align: top;
        margin-right: 5px;
        min-width: 100px;
        text-align: left;
        position: relative;
    }


#tree-container .expand-button {
    background-color: #8b0000;
    border: none;
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: 0.6;
    outline: none;
    box-shadow: none;
    margin-right: 5px;
    margin: 3px;
    color: white;
    font-size: 18px !important;
    font-weight: bold;
    padding-left: 4px;
}

#tree-container .show-off-button {
    background-color: #8b0000;
    border: none;
    height: 18px;
    width: 18px;
    border-radius: 62px;
    text-align: center;
    line-height: 0;
    outline: none;
    box-shadow: none;
    margin-right: 5px;
    margin: 3px;
    color: white;
    font-size: 10px !important;
    cursor: default !important;
}


#tree-container .cpvtitle {
    text-align: left;
    font-size: 1.5rem;
    margin: 5px;
    color: #930909;
}

#tree-container .child-container {
    display: flex;
    align-items: center;
}

#tree-container .edit-button, #tree-container .save-button {
    margin-left: 5px;
}



#tree-container .button-group {
    display: inline-block;
}

#tree-container .hetvi {
    position: fixed;
}

#tree-container button {
    background-color: #8b0000;
    border: 2px solid black;
    height: 20px;
    display: inline-block;
    text-align: center;
    line-height: 12px;
    outline: none;
    box-shadow: none;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: 5px;
    margin: 3px;
    color: white;
    font-size: 12px !important;
    margin-top: 5px;
}

#tree-container button:focus {
    outline: none;
}

    #tree-container button:disabled {
        background-color: #20181759;
        color: #fff;
        border: 2px solid #322a2ab3;
        cursor: not-allowed;
    }

#tree-container #search-query:disabled {
    background-color: #20181759;
    color: #fff;
    cursor: not-allowed;
    border: none;
    border-bottom: 2px solid #322a2ab3;
    width: 320px;
}

#tree-container input[type=text] {
    border: none;
    border-bottom: 2px solid #8b0000;
    width: auto;
}

#tree-container input[type=text]:focus {
    outline: none;
    border-bottom: 5px solid green;
    width: auto;
}

#tree-container #level1 {
    background-color: #aa96e933;
}

#tree-container #level2 {
    background-color: #99ebac61;
}

#tree-container #level3 {
    background-color: #f8fb525c;
}

#tree-container #level4 {
    background-color: #ffdddd96;
}

#tree-container #gws1 {
    /*product*/
    background-color: #d0dfff63;
}

#tree-container #gws2 {
    /*service*/
    background-color: #c1d4fb7a;
}

#tree-container #gws3 {
    /*spare*/
    background-color: #d0dfff63;
}

#tree-container #gws4 {
    /*machinery*/
    background-color: #0e50dd2e;
}

#tree-container #gws5 {
    /*works*/
    background-color: #c1d4fb7a;
}

#tree-container #gws0 {
    background-color: #fff;
}


#tree-container .swal2-styled.swal2-confirm {
    height: 30px;
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: #7367f0;
    color: #fff;
    font-size: 1em;
    z-index: 1111;
}


#tree-container .edit-button-l3, #tree-container .add-keywords-button {
    height: 16px;
    width: 16px;
    font-size: 12px !important;
    margin-top: 8px;
    padding: 0px;
    border: 2px solid #8b0000;
    border-radius: 3px;
}

    #tree-container .edit-button-l3:hover::before {
        content: "Edit";
        display: block;
        position: absolute;
        margin-top: -40px;
        background-color: #000000a3;
        color: #fff;
        padding: 5px;
        border-radius: 5px;
    }

    #tree-container .add-keywords-button:hover::before {
        content: "Add Keywords";
        position: absolute;
        margin-top: -40px;
        background-color: #000000a3;
        color: #fff;
        padding: 5px;
        border-radius: 5px;
        display: inline;
        width: 100px;
    }

#tree-container .save-button-l3:hover::before {
    content: "Save";
    position: absolute;
    margin-top: 25px;
    background-color: #000000a3;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    display: inline;
}

#tree-container #keywordaddbtn:hover::before {
    content: "Add";
    position: absolute;
    margin-top: 25px;
    background-color: #000000a3;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    display: inline;
}

#tree-container #cancelbtn:hover::before {
    content: "Cancel";
    position: absolute;
    margin-top: 25px;
    background-color: #000000a3;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    display: inline;
}

#tree-container #cancelbtn2:hover::before {
    content: "Cancel";
    position: absolute;
    margin-left: 25px;
    background-color: #000000a3;
    color: #fff;
    padding: 5px;
    padding-top: 2px !important;
    border-radius: 5px;
    display: inline;
}

#tree-container #savebtn2:hover::before {
    content: "Save";
    position: absolute;
    margin-top: 25px;
    background-color: #000000a3;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    display: inline;
}

#tree-container  .search {
    display: flex;
    align-items: center;
    margin-left: 50px;
}

#tree-container  .nodeDiv {
    margin: 3px 0px;
}

#tree-container  .MainBox .Title {
    font-size: 20px !important;
    margin-bottom: 10px !important;
    color: #8b0000;
    padding-top: 10px !important;
    text-align: left;
}

#tree-container  #collapseBtn {
    color: #8b0000;
    background: white;
    border: 0px;
    font-size: 22PX !IMPORTANT;
    font-weight: BOLD !IMPORTANT;
}

    #tree-container  #collapseBtn:hover::before {
        content: "Collapse Tree";
        position: absolute;
        margin-top: -26px !important;
        margin-left: -39px !important;
        background-color: #000000b3;
        color: #fff;
        padding: 3px;
        border-radius: 3px;
        display: inline;
        font-size: 10px;
        width: 70px !important;
    }


#tree-container  #expandSearchedBtn {
    color: #8b0000;
    background: white;
    border: 0px;
    font-size: 15PX !IMPORTANT;
    font-weight: BOLD !IMPORTANT;
}

    #tree-container  #expandSearchedBtn:hover::before {
        content: "Expand Tree";
        position: absolute;
        margin-top: -26px !important;
        margin-left: -39px !important;
        background-color: #000000b3;
        color: #fff;
        padding: 3px;
        border-radius: 3px;
        display: inline;
        font-size: 10px;
        width: 70px !important;
    }

#tree-container  .seperator {
    color: #8b0000;
    padding: 2px;
    font-size: 16px;
    margin-top: 12px !important;
}

#tree-container  #search-query {
    border: none;
    border-bottom: 2px solid #8b0000;
    max-width: 340px;
    margin-right: 20px;
    font-size: 15px;
    width: 320px;
}

    #tree-container  #search-query:focus {
        width: 320px;
        outline: none;
        border-bottom: 5px solid green;
        font-size: 15px;
    }

    #tree-container  #search-query:disabled {
        width: 320px;
        background-color: #20181726;
        color: #8b00004a;
        cursor: not-allowed;
        border: none;
        border-bottom: 2px solid #8b00004a;
    }

#tree-container .header-btn {
    height: 30px;
    width: 100px;
    font-size: 14px !important;
    font-weight: 600;
    border: 0;
}

#tree-container .MainBox {
    box-shadow: 1px 1px 7px rgb(0 0 0 / 15%) !important;
}

#tree-container .header-btn:disabled {
    background-color: #20181726;
    color: #8b00004a;
    cursor: not-allowed;
    height: 30px;
    width: 100px;
    font-size: 14px !important;
    font-weight: 600;
    border: 0;
}

#tree-container .TitleBox {
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 0px 10px;
    flex-wrap: wrap;
}

    #tree-container .TitleBox .search {
        display: flex;
        flex-wrap: nowrap;
    }

#tree-container .legend span {
    display: inline-block;
    margin-right: 10px;
    height: 15px;
    width: 15px;
    border-radius: 50%;
}

#tree-container .legend {
    display: flex;
    align-items: center;
    padding-left: 0;
    justify-content: center;
}

    #tree-container .legend li {
        list-style: none;
        padding-right: 10px;
        display: flex;
        align-items: center;
    }

        #tree-container .legend li span {
            margin-right: 3px;
        }

#tree-container .purple-sector {
    background-color: #aa96e9e0;
}

#tree-container .green-industry {
    background-color: #99ebacfa;
}

#tree-container .yellow-category {
    background-color: #fbff26f7;
}

#tree-container .orange-product {
    background-color: #f5c7c7;
}

#tree-container .blue-keyword {
    background-color: #698cd7e0;
}

#tree-container .swal2-styled:not([disabled]) {
    cursor: pointer !important;
}

#tree-container .suggBox {
    position: fixed;
    top: 223px;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: yellow !important;
}
#tree-container #toggle-search-button {
    border-radius: 44px;
    height: auto;
    width: auto;
    padding: 4px;
    font-size: 0.6rem !important;
}

#tree-container .navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 111 !important;
    width: 100%;
}

#tree-container .second-div {
    position: sticky !important;
    top: 74px !important;
    z-index: 11 !important;
    background: #fff !important;
    margin-top: -10px;
    width: 100%;
}



#tree-container .exact-match {
    color: #fff707;
    font-weight: bold;
    padding: 2px;
    background-color: black;
}

#tree-container .content {
    height: calc(100vh - 15em) !important;
    overflow-y: scroll;
    width: 100%;
}


/* width */
::-webkit-scrollbar {
    width: 4px;
}

/* Track */
 ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #8b0000;
}

    /* Handle on hover */
     ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

#tree-container #idSize {
    font-size: 0.75rem;
    width: auto;
    display: flex;
    align-items: center;
    padding: 2px;
    padding-top: 4px;
}

#tree-container #message-container {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0px;
    background-color: #8b0000;
    color: #fff;
    text-align: center;
    font-size: 16px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

#tree-container .dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    #tree-container .dropbtn:hover, .dropbtn:focus {
        background-color: #2980B9;
    }

#tree-container .dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}


    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.show {
    display: block !important;
}

.dropdown{
    margin-right: 20px;
}

.dropdown {
    border-radius: 5px;
    margin-right: 20px;
    background: #8b0000;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 16%);
}


@media(max-width:1308px) {
    .content {
        height: calc(100vh - 18em) !important;
    }
}

@media (max-width: 991px) {
    .content {
        height: calc(100vh - 6em) !important;
    }
    .legend li {
        display: block;
        margin-bottom: 10px;
    }
}

#drpmanu {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}


.highlight-match-hetvi {
    color: red;
    font-weight: bold;
    padding: 2px;
    background-color: aqua;
}

#tree-container .highlight-match-all {
    color: #fff707;
    font-weight: bold;
    padding: 2px;
    background-color: #4843439e;
}

.approvalStatus {
    font-size: 12px;
    color: blue;
    font-weight: bold;
    padding-left: 10px;
}

.dropbtn {
    width: 158px !important;
    padding-bottom: 3px !important;
    background-color: #8b0000;
    color: white;
    padding-top: 0;
    font-size: 16px;
    border: 2px solid #8b0000;
    cursor: pointer;
    font-size: 14px !important;
    align-items: center;
    display: flex;
    justify-content: center;
}

    .dropbtn:hover, .dropbtn:focus {
        background-color: #dc35451f;
        color: #8b0000;
        font-weight: bold;
    }

.dbtn {
    font-size: 20px;
    padding: 11px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #ddd;
        }

.show {
    display: block !important;
}

.remark {
    color: #000000;
    font-size: 13px;
    font-weight: 600;
    background: #ffc0026b;
    padding: 1px 10px;
}

.remarkBlock {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 600;
    background: #000000;
    padding: 1px 4px;
}

.noData {
    color: #8b0000;
    text-align: center;
    margin-top: 100px !important;
}

.toast {
    position: fixed;
    right: 37px;
    font-size: 18px;
}

.exactMatchCount {
    color: blue;
    font-weight: bold;
}



.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff3f3;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    color: #8b0000;
}

.dpitem:hover {
    color: white !important;
    text-decoration: none !important;
    
    background: #8b0000 !important;
    
}

.dropbtn:hover, .dropbtn:focus {
    font-size: 14px !important;
    background-color: #8b0000;
    color: #fff;
    font-weight: bold;
}

#tree-container .PageTitle {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    margin-top: -10px;
    justify-content: end;
}

    #tree-container .PageTitle h4 {
        margin-right: 10px;
    }

    #tree-container .PageTitle a {
        font-size: 16px;
        margin-left: 1px;
        padding: 0px 15px;
        text-decoration: underline !important;
        font-weight: 500;
        color: #8b0000 !important;
        cursor: pointer;
    }


#tree-container .currTitle {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: #8b0000;
    margin: 10px;
    box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

#not-found-message-container {
    margin-top:25px;
    background: #ffc1070f;
    color: #8b0000;
    font-size: 18px;
    font-weight: 600;
}

#tree-container .search-type {
    color: #004085;
    font-size: 18px;
    font-weight: 600;
}


#tree-container .noChild {
    color: grey;
    margin-bottom: 0;
}



 #scrollbutton {
    display: inline-block;
    background-color: #8b0000;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 75px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

    #scrollbutton::after {
        content: "\f077";
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        font-size: 2em;
        line-height: 50px;
        color: #fff;
    }

    #scrollbutton:hover {
        cursor: pointer;
        background-color: #333;
    }

    #scrollbutton:active {
        background-color: #555;
    }

    #scrollbutton.showbtn {
        opacity: 1;
        visibility: visible;
    }


.highlight-match-partial {
    color: black;
    font-weight: 600;
    background: #dc35450a;
}
.alert-not-implemented {
    color: #007bff;
    font-size: 14px;
    float: right;
    margin-right: 75px;
}




#fileName {
    color: darkgreen;
    padding-left: 1px;
    padding-right: 5px;
}

.upload-label {
    position: relative;
    margin-right:10px;
}



#excel-message-container {
    text-align: left;
    color: #000;
    background: #8b000012;
    padding: 5px;
    width: 500px;
    margin: 10px;
    box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.close-excel-response-button {
    border: none;
    cursor: pointer;
    color: #ffffff !important;
    font-weight: bold;
    background: #8a0000;
    font-size: 17px !important;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    font-family: sans-serif;
    margin-top: 0;
    margin-left: 472px;
}

#CancelUploadButton {
    color: maroon;
    font-size: 23px;
}

.overlay-container .floatingExcel {
    position: absolute;
    top: 0;
    margin-top: 44px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-left: 0;
    position: absolute;
    bottom: 0;
    height: 101px;
    margin-left: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background-color: #f7ecec;
    padding: 10px;
    min-width: 130px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

.file-name {
    font-weight: bold;
    margin-right: 10px;
}

#uploadButton:hover {
    color: #dc3545;
}


#uploadButton,
#CancelUploadButton {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px !important;
    padding: 5px;
}

#uploadButton {
    border: none;
    border-radius: 5px;
    padding: 3px 8px;
    color: maroon;
    font-weight: bold;
}
#CancelUploadButton:hover {
    color: #dc3545;
}
.overlay-container {
    position: relative;
    height: 20px;

}



#fileName {
    color: darkgreen;
    padding-left: 1px;
    padding-right: 5px;
    width: auto;
    display: block;
}

.excel-icon {
    font-size: 16px;
    color: green;
}

    .excel-icon:hover {
        cursor: pointer;
    }

.excel-text {
    color: green;
    font-weight: 600;
}

span.excel-text:hover {
    background: #00800021;
    border-radius: 5px;
    cursor: pointer;
}

.excel-format {
    position: relative;
    margin-top: 5px;
}

    .excel-format .format-image {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-shadow: 0 6px 9px rgba(0, 0, 0, 0.1);
    }

    .excel-format:hover .format-image {
        display: block;
    }


.sNu {
    display: flex;
    justify-content: center;
}

.downloadExcel {
    color: #212529;
    padding-left: 8px;
    padding-top: 7px;
}


.tenders {
    color: #8b0000;
    font-size: 13px;
    padding-left: 8px;
}

.tenders:hover {
    color: blue;
    text-decoration: underline;
}

.firstLevel{
    margin-left:-24px !important;
}

#tree-container .search {
    display: flex;
    align-items: center;
    margin-top: 0px;
    /* margin-left: 50px; */
    /* float: inherit; */
    right: 5px;
    position: absolute;
}
#tree-container .legend {
    display: flex;
    align-items: center;
    padding-left: 11px;
    justify-content: left;
    top: 8px;
    position: relative;
}
#tree-container .second-div {
    position: sticky !important;
    top: 74px !important;
    z-index: 11 !important;
    background: #f8f9fa !important;
    margin-top: -10px;
    width: 100%;
    height: 83px;
    border-bottom: 1px solid #faa61d;
}

#tree-container .header-btn {
    height: 25px;
    width: 70px px;
    font-size: 14px !important;
    font-weight: 400;
    border: 0;
    border-radius: 20px;
}

@media(max-width:1500px) {
    #tree-container #search-query {
        max-width: 230px;
    }
    #tree-container .legend li {
        font-size: 12px;
    }
}