﻿
html {
    font-size: 14px;
    position: relative;
}


/**** Scroll bars ****/

/* For Firefox */
html {
    scrollbar-color: #9fa2ad none; /* Thumb color and track color */
    scrollbar-width: thin; /* Thin scrollbar */
}

/* For WebKit Browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ffffff00;
}

::-webkit-scrollbar-thumb {
    /*    background: #888;*/
    background: #9fa2ad;
    border-radius: 4px;
}

/**** Scroll bars end ****/


.NoPress {
    align-items: center;
    padding-top: 4%;
    padding-bottom: 4%;
    padding-left: 40%;
}
body {
    background-color: #efefef;
    caret-color: transparent;    
}

html, body {
    margin: 0;
    height: 100%;
}
.counter-color {
    background-color: #427de1 !important;
    width: auto;
    min-width: 22px;
    border-radius: 3px;
    padding: 0 3px 0 3px !important;
    height: 22px;
    display: grid;
    place-items: center;
    color: whitesmoke;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
}
.text-whitesmoke {
    color: whitesmoke !important;
}
.dashboard-page {
    background-color: #efefef !important;
}

.custom-dashboard-page {
    background-color: #efefef !important;
}

.custom-deal-dashboard-page {
    background-color: #efefef !important;
    height:fit-content;
}

.main-dashboard-page {
    background-color: #efefef !important;
    height: 100%;
}

.search-result-item {
    color: #212529;
    font-size: 1.55rem;
}

.special-text-color {
    color: #212529;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.article-link {
    color: #62ADD5;
}

#blazor-error-ui {
    background: #e53935;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: #62ADD5;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.form-switch {
    display: flex;
    justify-content: end;
    align-items: center;
}

.form-check-label {
    padding-right: 15px;
}

.fa-circle-info {
    margin-top:3px;
    cursor: pointer;
    font-size: 17px;
}

.popover .popover-body 
{
    border-radius: 3px;
    padding: 3px 6px;
    background-color: whitesmoke;
    color: black;
    border: none;
    font-size: .95em;
    font-weight: 400;
}

.popover .popover-arrow {
    display: none;
}

.select-dashboard-dropdown, .select-catchup-dropdown {
    border-radius: 50px; /* Adjust the value to control the roundness */
    border: 0.7px solid #216388; /* Border color */
    background-color: #f6f6f6;
    padding: 0.3rem 1.95rem 0.3rem 0.7rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 300;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239fa2ad' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    box-shadow: none !important
}

    .select-dashboard-dropdown option, .select-catchup-dropdown option {
        font-size: 0.8rem;
        font-weight: 300;
    }

.width-select-dashboard-dropdown {
    max-width: 20%; /* Adjust based on expected content size */
}
    .popover {
        max-width: 500px;
    }

.offcanvas {
    background-color: #1f3246;
}

.offcanvas-start {
    width: 30rem;
}

#offcanvaslogo {
    color: #1f3246;
}

.sticky-header-wrapper {
    position: relative;
    width: 100%;
    height: 75px;
    z-index:1050;
}

.sticky-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 0 !important;
}

.sticky-header-body {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 1rem 0 1rem 1rem;
    height: 90px;
}

@media (min-width: 992px) {
    html {
        font-size: 16px;
    }

    .img-fluid.logo {
        max-width: 100%;
    }

    .article-content {
        margin :0 20px 0 20px;
    }
}
@media (max-width: 996px) {

}

@media (max-width: 992px) {
    .sidenav {
        display: none;
    }
}

.pe-linkedin {
    color: #566982
}

.records-count {
    width: auto;
    min-width: 22px;
    border-radius: 3px;
    padding: 0 3px 0 3px !important;
    height: 22px;
    background-color: #427de1;
    display: grid;
    place-items: center;
    color: whitesmoke;
    font-size: 11px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
}

.wrapper {
/*        font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 200;*/
    font-size: 0.9rem;
    font-weight: 300;
}

.custom-border {
    border-bottom: 1px solid #1f3246;
}

.article-section a {
    color: #389BD8;
    text-decoration: none;
    cursor: pointer;
}

.icon-duotone {
    z-index: -1;
    position: relative;
    padding-left: 1.25em; /* make space for the width of the absolutely positioned icon */
}

.sidenav {
    height: 100%;
    width: 70px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #566982;
    overflow-x: hidden;
    padding-top: 10px;
    transition: 0.5s;
    border-right: 1px solid rgba(0, 0, 0, .125);
}

.PageTitle h3 {
    color: #566982;
}

table {
    --bs-table-striped-bg: rgba(0, 0, 0, 0.03) !important;
}

.dashboard-card {
    margin-bottom: 7px;
    box-shadow: rgb(0 0 0/ 25%) 3px 3px 5px 2px;
    border: none;
    background-color: #f6f6f6;
}

.pe-dashboard-card {
    margin-bottom: 7px;
    box-shadow: rgb(0 0 0/ 25%) 3px 3px 5px 2px;
    border: none;
    background-color: #f6f6f6;
    cursor:pointer;
}

.result-card {
    margin-bottom: 7px;
    background-color: #f6f6f6;
    border-color: rgb(211 211 211) !important;
}

/*table .result-card {
    margin-right: 0.3rem;
}*/
.search-result-card {
    border-radius: 5px;
}

table .dashboard-card, table .pe-dashboard-card {
    margin-right: 0.3rem;
}

#toggleDark {
    color: #5c789c;
}

.pe-dash-result.card {
    border: 0.5px solid;
    border-color: transparent;
}

.card {
    border: none;
}

.new-dashboard-card.card {
    border: 1px solid transparent;    
}
.card-top-row {
    background-color: #efefef!important;
}

.select-catchup-dropdown {
    background-color: #efefef;
    padding: 0.175rem 1.95rem 0.175rem 0.55rem;
    cursor: pointer;
    font-size: 0.9rem;
    border: none;
    font-weight: 300;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239fa2ad' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    box-shadow: none !important
}

.custom-weight {
    font-size: 0.75rem !important;
    color: #12486d;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    height: 86px;
}

.page-navigation-button {
    background-color: #5c789c !important;
    color: white;
    border: solid 1px #5c789c !important;
    border-radius: 4px !important;
    font-size: 0.7rem;
    width: 90px;
}
    .page-navigation-button:hover {
        cursor: pointer;
        color: #18293a;
        background-color: #f4f4fc !important;
    }

    .page-navigation-button:focus, .page-navigation-button:active:focus {
        outline: none;
        box-shadow: none;
    }

.deal-dash-result-button {
    background-color: #5c789c !important;
    color: white;
    border: solid 1px transparent !important;
    border-radius: 4px !important;
    font-size: 0.75rem;
    width: 100%;
    max-width: 90px; /* Add max-width */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

    .deal-dash-result-button:hover {
        cursor: pointer;
        color: #18293a;
        background-color: #f4f4fc !important;
        white-space: normal;  Allow text to wrap 
        overflow: visible;  Show full text 
        text-overflow: clip;  Remove ellipsis 
    }
.header-style {
    padding-right: 16px;
    padding-left: 16px;
    background-color: #efefef;
}

.result-range {
    /* font-size: 0.9rem;
    position: absolute;
    right: 1rem;
    top: 3.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;*/
    position: absolute;
    font-size: 0.9rem;
    padding-top: 0.7rem;
}

.pe-dash-result-range {
    font-size: 0.9rem;
/*    padding-top: 0.7rem;
*/}

.card-padding{
    padding : .35rem !important;
}

.pe-card-padding {
    padding: .5rem !important;
}

.totalcount {    
    font-weight: 400;
}

.home-button {
    background-color: #5c789c;
    color: whitesmoke;
    border: solid 1px #5c789c;
    font-size: 0.8rem;
    width: 80px;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    padding: 6px 8px;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    display: inline-flex;
    align-items: center; /* Vertically centers the icon and text */
    justify-content: center; /* Centers content horizontally if needed */
}

.home-icon {
    height: 16px; /* Set the desired height */
    display: block; /* Ensures proper vertical alignment */
    margin-right: 0.3rem;
}

.header-buttons {
    display: flex; /* Arrange items in a row */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: start; /* Prevent stretching to full height */
}

.home-button:hover {
    color: #18293a;
    background-color: #f4f4fc;
}
.financial-link .fa-building-user, .financial-link .fa-bullseye, .financial-link .fa-network-wired {
    vertical-align: sub;
}
.financial-link .fa-dolly {
    vertical-align: middle;
}
.back-button {
    border: solid 1px #5c789c;
}

.search-row {
    border-width: 0.5px !important;
    border-style: solid !important;
}
    .search-row.header-row {
        border-color: transparent; /* Only for header if needed */
    }


.table-responsive::-webkit-scrollbar {
    display: none; 
}

.table-responsive {
    scrollbar-width: none; 
}

.table-responsive {
    overflow-x: auto; 
    -ms-overflow-style: none; 
}

.my-3{
    margin-top: 0.5rem !important;
}

ul.buyers_keywords {
    list-style: none;
    margin: 0;
    padding: 4px 0px;
}

    /* Ensure buyers are displayed properly */
    ul.buyers_keywords li {
        display: inline-block;
        padding: .22rem .13rem;
    }

/* Button appearance */
.buyer-name, .target-name{
    background-color: #a367dc;
    border-radius: 3px;
    font-weight: 300;
    padding: 2px 4px 1px;
    border: none;
    margin: 0;
    color: whitesmoke;
    text-decoration: none;
    cursor: pointer;
}

ul.buyers_keywords.default-buyers {
margin-bottom: 0; /* Default: No margin */
}

ul.buyers_keywords.default-buyers.with-toggle {
 margin-bottom: 1.2rem; /* Add margin only if toggle exists */
    }

/* Hidden by default */
.hidden {
    display: none;
}

/* Center the toggle button */
.toggle-button {
    background: none;
    border: none;
    color: #a367dc;
    font-size: 0.9rem;
    cursor: pointer;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 0;
    line-height: 1;
    transition: all 0.3s ease;
}

ul.buyers_keywords {
    list-style: none;
    margin: 0;
    padding: 0;
}

    ul.buyers_keywords li {
        display: inline-block;
        padding: .22rem .13rem;
        font-size: .8rem;
    }

        ul.buyers_keywords li a {
            border-radius: 3px;
            font-weight: 300;
            padding: 2px 3px 3px;
            border: none;
            margin: 0;
            color: whitesmoke;
            text-decoration: none;
            cursor: pointer;
            font-size: .8rem;
        }

.target-boltons a, .buyer-company a, .investor-name {
    border-radius: 3px;
    font-weight: 300;
    padding: 2px 3px 3px;
    border: none;
    margin: 0;
    color: whitesmoke;
    text-decoration: none;
    cursor: pointer;
}
.profile-picture-container {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: .3rem;

}

.target-boltons.target-name, .target-name span, .buyer-company.company-name {
    background-color: #5c789c !important;
    color: white;
}
.person-name {
    border-radius: 3px;
    font-weight: 300;
    padding: 2px 3px 3px;
    border: none;
    margin: 0;
    color: whitesmoke;
    text-decoration: none;
    cursor: pointer;
    background-color: #5c789c;
    color: white;
}
    .person-icon {
    color: #5c789c;
    font-size:50px;    
}
.icon-wrapper {
    width: 24px;
/*    height: 24px;*/
}

.icon-linkedin {
    font-size: 16px;
    margin-top: 0.1rem;
}

.icon-email {
    cursor: pointer;
    font-size: 19px;
}

.linkedin-icon.search-result-item{
    margin-right:.6rem;
}

.custom-notification {
    background-color: #417de1;
    color: white;
    border: solid 1px #5c789c;
    border-radius: 4px;
    margin-left: 0.5rem;
    padding: 0;
    width: 8rem;
    height: 1.6rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16), 0 1.5px 7px rgba(49, 71, 85, 0.11);
    opacity: 0;
    display: none;
    z-index: 2000;
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    letter-spacing: 0.02em;
    text-align: center;
}

    .custom-notification.success {
        background: linear-gradient(90deg, #22c55e 0%, #0b875b 100%);
    }

    .custom-notification.error {
        background: linear-gradient(90deg, #ef4444 0%, #a32028 100%);
    }

    .custom-notification.info {
        background: #417de1;
    }
.row-fixed-height {
    height: 2.3rem;
}

.cursor-pointer {
    cursor: pointer;
}


#components-reconnect-modal {
    display: none;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: block;
        background-color: white;
        padding: 2rem;
        border-radius: 0.5rem;
        text-align: center;
        box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
        margin: 50px 50px;
        position: fixed;
        top: 0;
        z-index: 10001;
    }
