@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'Heebo', sans-serif;
    src: url('https://fonts.googleapis.com/css2?family=Heebo:wght@100;400;500;600;700&display=swap');
}

:root {
    --side-nav-width: 256px;
}

html, body {
    font-family: 'Heebo', sans-serif !important;
}

body {
    height: 100vh;
    .sidenav-border {
        min-width: var(--side-nav-width);
        width: var(--side-nav-width);
        border-right: var(--ea-gray-border) solid 1px;
    }

    .collapsed {
        --side-nav-width: 90px;
    }

    .eba-header-height {
        height: 80px;
    }

    .eba-container-height {
        height: calc(100vh - 80px);
    }

    .eba-consent-container-height {
        height: calc(100vh - 174px)
    }
    
    .card-container {
        border-radius: 4px;
        border: 1px solid var(--ea-gray-border);
        background: var(--ea-white);
        box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.10);
        overflow: auto;
    }
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--ea-primary-blue);
}

.btn-primary {
    color: var(--ea-white);
    background-color: var(--ea-primary-blue);
    border-color: var(--ea-primary-blue);
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid var(--ea-red);
}

.validation-message {
    color: var(--ea-red);
}

#blazor-error-ui {
    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: 2rem;
    top: 1.25rem;
    text-decoration: none;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPj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Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, var(--ea-red);
    padding: 1rem 1rem 1rem 3.7rem;
    color: var(--ea-white);
}

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

#trading-hours-msg {
    display: inline-block;
    margin-left: 20px;
    border: 1px solid #CCC;
    background-color: rgba(0, 163, 254, 0.1);
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.2);
    border-radius: 25px;
    cursor: pointer;
    vertical-align: middle;
    padding: 5px 10px 5px 10px;
    text-align: center;
}

#trading-hours-msg .dismiss {
    cursor: pointer;
    position: relative;
    color: var(--ea-primary-blue);
    text-decoration: none;
    background-color: transparent;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


/*Client UI Refresh*/
.eba-alert-row {
    display: table;
    height: 100%;
}

.eba-alert-column {
    display: table-cell;
    padding-left: 5px;
    text-align: left;
    vertical-align: middle;
}

.eba-alert-column-icon {
    display: table-cell;
    padding-right: 2px;
    text-align: center;
    vertical-align: middle;
}

.eba-alert {
    border-radius: 11px 11px 11px 11px;
    border-style: solid !important;
    border-width: 1px 1px 1px 5px !important;
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
}

.eba-alert-danger {
    background-color: var(--ea-red-bg) !important;
    border-color: var(--ea-red) !important;
}

.eba-alert-info {
    background-color: var(--ea-blue-bg) !important;
    border-color: var(--ea-primary-blue) !important;
}

.eba-alert-success {
    background-color: var(--ea-green-bg) !important;
    border-color: var(--ea-green) !important;
}

.eba-alert-warning {
    background-color: var(--ea-yellow-bg);
    border-color: var(--ea-yellow) !important;
}

.eba-disabled-link {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

.eba-investment-modal {
    flex-shrink: 0;
    border-radius: 4px !important;
    min-width: 32rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.eba-investment-modal-large {
    flex-shrink: 0;
    border-radius: 4px !important;
    min-width: 37.5rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.eba-investment-modal-xlarge {
    flex-shrink: 0;
    border-radius: 4px !important;
    min-height: fit-content;
    min-width: 55rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.eba-investment-modal-xlarge-xlong {
    flex-shrink: 0;
    border-radius: 4px !important;
    height: 900px !important;
    min-width: 55rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.eba-investment-modal-header {
    padding: 1rem 1rem 0rem 1rem !important;
}

.eba-investment-tab-group {
    height: 56px;
    width: 100% !important;
    display: inline-flex;
    position: relative;
    vertical-align: middle;
    align-content: space-between;
    flex-wrap: wrap;
}

.eba-investment-tab {
    height: 44px !important;
    width: 136px;
    background-color: transparent;
    border-radius: 6px;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 8px 12px 8px 12px !important;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.eba-investment-tab-active {
    border: 1px solid transparent;
    box-shadow: 0px 1px 2px 0px #1018280F;
    cursor: pointer;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.eba-investment-tab-inactive {
    border: 0px !important;
    box-shadow: 0px 1px 3px 0px #1018281A;
}

.asset-modal-size {
    display: block;
    width: 425px !important;
    top: 25px !important;
}

.asset-modal-shadow {
    border-radius: 4px !important;
    border: 1px solid #858483;
    box-shadow: 0px 0px 2px 2px var(--ea-transparent-black-30);
    -moz-box-shadow: 0px 0px 2px 2px var(--ea-transparent-black-30);
    -webkit-box-shadow: 0px 0px 2px 2px var(--ea-transparent-black-30);
}

.eba-input-group-symbol {
    display: flex;
    align-items: center;
    padding: .375rem .375rem .375rem .75rem;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.eba-input-group-align-middle {
    vertical-align: middle !important;
}

.text-eaglebrook-royal-blue {
    color: var(--ea-primary-blue) !important;
}

.max-width-auto {
    max-width: none !important;
}

.nav-tooltip .tooltip-inner {
    max-width: 350px;
}

.modal-body {
    max-height: 80vh !important;
    overflow-y: auto !important;
}

.fw-medium {
    font-weight: 500;
}

.fw-semi-bold {
    font-weight: 600;
}

.chart-selected-time {
    color: var(--ea-primary-blue) !important;
    font-weight: 700 !important;
    border-bottom: 1px solid var(--ea-primary-blue) !important;
}

.dropdown-menu {

    background: var(--ea-white);
    box-shadow: 0px 1px 6px 0px rgba(16, 24, 40, 0.10);
    
    border-radius: 8px !important;
    border: 1px solid var(--ea-stroke) !important;
    background: var(--ea-white) !important;
    margin-top: 6px !important;
    padding: 4px 0 !important;
}

.dropdown-menu .dropdown-item {
    color: var(--ea-gray-400);
    font-family: Heebo;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */

    display: flex;
    padding: 9px 10px;
    align-items: center;
    gap: var(--spacing-lg, 12px);
    flex: 1 0 0;
}

.dropdown-menu li {
    display: flex;
}

.chart-xaxis-labels {
    margin-top: 12px;
    font-weight: normal;
}

.timeseries-range-select {
    font-family: Heebo;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.2px;
    color: var(--Gray-400, #525252);
    cursor: pointer;
}

/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 100px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #E4E4E4;
    border-radius: 100px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Trend Chart [Apex Chart] mouse-over */
.apexcharts-tooltip-marker {
    display: none !important;
}

.nav-dropdown {
    --bell-color: #858483;
}
.nav-dropdown.show {
    --bell-color: var(--ea-primary-blue);
}