body {
    font-family: Calibri, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, p, a, li, b, label, button {
    font-family: Calibri, Arial, sans-serif;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #1a242f;
}

.navbar-toggle:hover .icon-bar {
    background-color: #ffffff;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("../../img/Icons/dropdown.png") white no-repeat 95% !important;
    background: url("../../img/Icons/dropdown.png") white no-repeat calc(95%) !important;
}

.very {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Some browsers will not display the caret when using calc, so we put the fallback first */
    background: url("../../img/Icons/dropdown.png") white no-repeat 95% !important; /* !important used for overriding all other customisations */
    background: url("../../img/Icons/dropdown.png") white no-repeat calc(95%) !important; /* Better placement regardless of input width */
}

.actived {
    border-bottom: 3px solid #54616c;
}

.nav > li {
    padding-bottom: 10px;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #EEB835 !important;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

    #myBtn:hover {
        background-color: #084F8C;
    }

.bottom-link {
    margin-top: 40px;
    list-style: none;
    padding: 0;
    text-align: center;
}

    .bottom-link li, .social-link li {
        float: left;
    }

.social-link li {
    margin-right: 20px;
}

.fbn-links li {
    margin: 20px auto;
}

/* Wrap both header and nav in a shared width-limited container */
.custom-navbar,
.navbar + .navbar {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.custom-navbar {
    padding-top: 20px;
}

.greeting-text {
    color: #54616c;
}

.fund-section {
    color: black;
}

.fund-reference {
    color: #EEB835;
}

.withdraw-section {
    color: black;
    display: block;
}

.withdraw-link {
    color: #EEB835;
    text-decoration: none;
}
.navbar-brand img,
.img-fluid {
    max-height: 50px;
}


.fund-section .fund-header {
    background-color: #EEB835 !important;
    color: white;
    font-size: 0.75rem;
    display: inline-block;
    width: 100%;
}

.img-style {
    margin-left: 100px;
}

.fund-reference {
    color: #EEB835;
    font-size: 13px;
}

.withdraw-section,
.fund-section {
    font-size: 13px;
}

.custom-container {
    width: 85%;
    margin: 0 auto;
}

/* Kill Bootstrap arrow */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* General nav link styling */
.navbar-nav .nav-link {
    position: relative;
    color: #084F8C;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

    /* Underline using ::before instead of ::after */
    .navbar-nav .nav-link::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
        width: 0%;
        background-color: #EEB835;
        transition: width 0.3s ease;
    }

    /* Hover underline */
    .navbar-nav .nav-link:hover::before,
    .navbar-nav .nav-link:focus::before {
        width: 100%;
    }

/* Active tab underline */
.navbar-nav .active > .nav-link::before {
    width: 100%;
}

/* Optional: active tab highlight */
.navbar-nav .active > .nav-link {
    color:black;
    font-weight: 500;
}

.cmb-1 {
    margin-bottom: 0.1rem !important
}

.c-chat {
    background-color: #084F8C;
    color: #fff;
    width: 20rem;
}
.custom-padding-c {
    padding: 40px 40px 60px 40px;
}

.btn-align-right-c {
    padding-right: 0;
}
#settlementType {
    display: none;
}

#settlementTypeLabel {
    display: none;
}

#fresh {
    background-color: #597B93;
    color: #fff !important;
    padding: 20px 0 10px 0;
}

.acct-balance-th {
    padding-left: 45px;
}

.acct-balance-td {
    padding-left: 85px;
}

#showQty {
    display: none;
}
.cis-label {
    font-size: 15px;
    line-height: 1.42857143;
    color: #084F8C;
}
.transaction-header {
    margin-top: 0;
}

#datatableft thead th {
    background-color: #084F8C;
    color: #fff;
    font-size: 0.9rem
}

#datatableft td {
    font-size: 0.9rem
}

.action-link {
    color: dodgerblue;
}
.breadcrumb-no-margin {
    margin-bottom: 0;
}

    .breadcrumb-no-margin li a {
        color: #084F8C !important;
        text-decoration: none;
        padding: 1px;
    }

.page-header-no-top {
    margin-top: 0;
}

.funding-card {
    padding: 30px;
    border-radius: 5px
}

.btn-back {
    font-size: 0.75rem;
}

#ftsuccess td {
    background-color: unset;
    border-color: #d2d7db;
    font-size: small;
    color: #084F8C
}
.transaction-card {
    margin-top: 0;
}

.form-control[disabled] {
    background-color: #e9ecef;
    opacity: 1;
}
.transaction-card {
    margin-top: 0;
    border: none !important;
    width: 30rem;
    margin-left: -50px;
}

.form-control[disabled] {
    background-color: #e9ecef;
    opacity: 1;
}
.tbill-panel {
    background-color: #d7dde3;
    padding: 40px;
    border-radius: 6px;
}

.form-label {
    font-weight: 600;
    color: #003366;
    padding-top: 6px;
}

.form-section .form-control[readonly] {
    background-color: #edf0f2;
}

.submit-btn-container {
    text-align: right;
}

.form-section {
    margin-bottom: 1rem;
}

.modal-header .btn-close {
    margin-left: auto;
}
.bond-panel {
    background-color: #d7dde3;
    padding: 40px;
    border-radius: 6px;
}

.page-header h2 {
    margin-top: 0;
}
.p-btn {
    padding: 0.75rem !important;
}
#search {
    max-width: 300px;
}

.market-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

    .market-table th,
    .market-table td {
        white-space: nowrap;
        vertical-align: middle;
        padding: 0.5rem;
        text-align: center;
        box-sizing: border-box;
    }

.market-header th {
    background-color: #084F8C;
    color: #fff;
    font-weight: 600;
}

.market-table .text-info a {
    color: #084F8C;
    text-decoration: none;
}

.market-table .tradeBuyTd a {
    color: dodgerblue;
    text-decoration: none;
}

.market-table .chg-negative {
    background-color: #EEB835;
    color: #fff;
}

.market-table .chg-positive {
    background-color: #54616c;
    color: #fff;
}

.market-table tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

/* Column Width Adjustments */

.market-table th.col-symbol,
.market-table td.col-symbol {
    width: 12%;
}

.market-table th.col-action,
.market-table td.col-action {
    width: 8%;
}

.market-table th.col-pclose,
.market-table td.col-pclose,
.market-table th.col-open,
.market-table td.col-open,
.market-table th.col-high,
.market-table td.col-high,
.market-table th.col-low,
.market-table td.col-low,
.market-table th.col-close,
.market-table td.col-close,
.market-table th.col-chg,
.market-table td.col-chg,
.market-table th.col-chgpercent,
.market-table td.col-chgpercent {
    width: 7%;
}

.market-table th.col-spread,
.market-table td.col-spread {
    width: 10%;
}

.market-table th.col-volume,
.market-table td.col-volume {
    width: 10%;
}

.market-table th.col-value,
.market-table td.col-value {
    width: 14%;
}

.market-table th.col-wkhigh,
.market-table td.col-wkhigh,
.market-table th.col-wklow,
.market-table td.col-wklow {
    width: 10%;
}

/* Ensure table stays scrollable on smaller screens */
.table-responsive-1 {
    overflow-x: auto;
}
/* Market Depth Modal Styles */
.market-depth-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.market-depth-table {
    flex: 1;
    min-width: 250px;
}

.market-depth-heading {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.breadcrumb-no-margin {
    margin-bottom: 0;
}

.error-icon {
    font-size: 9em;
    font-weight: 900;
}

.session-ended-icon {
    font-size: 9em;
    font-weight: 900;
}
.edit-profile-wrapper {
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.form-label-custom {
    font-weight: 500;
}
.profile-wrapper {
    padding: 2rem;
    border-radius: 0.5rem;
}

.profile-label {
    font-weight: 500;
    text-align: right;
}

.form-group {
    margin-bottom: 1rem;
}
.form-control {
    padding: 0.7rem;
}

    .form-control:focus {
        border-color: #001d3d !important;
        box-shadow: unset !important
    }
.ticker-wrapper {
    overflow: hidden;
    position: relative;
    color: #084F8C;
    width: 92%;
    margin: 0 auto;
}

.ticker {
    display: flex;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 720s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
}

.ticker-icon {
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}
.datepicker-dropdown.datepicker-orient-top{
    font-size: small !important
}