﻿html, body, h1, h2, h3, h4, h5, h6, p, a, li, b, label, button, div, input, .alert {
    font-family: 'RMBSans', sans-serif !important;
}

body {
    background: #FFFFFF;
    color: #0A0A0D;
}

#login {
    /*    padding: 50px;*/
    box-shadow: 1px 4px 3px 1px #cccccc;
}

.img-backdrop {
    background-image: url('/img/financeportal.jpg');
}

.section-account {
    position: relative;
}

.spacer1 {
    position: absolute;
    padding: 40px 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    color: #FFF;
    /*background: rgba(10, 168, 158, .6);*/
    background: rgba(0, 0, 0, .8)
}

.card-body {
    padding-bottom: 0px;
}

.deselect {
    padding: 5px;
    border-radius: 5px;
    margin-left: 20px;
}

#loginLayout {
    background: url(../img/01_Home_Page_2a.jpg);
    background-size: cover;
}

.navbar {
    background-color: white;
}

#fresh {
    background: #0e7b5f !important;
    margin-bottom: 1.2rem;
}

.layout-footer {
    background: transparent !important;
}

.layout-navbar {
    background: #000 !important;
}

.layout-navbar2 {
    background: #fff !important;
}

#login {
    box-shadow: none;
}

.custom-white, .navbar-default .navbar-nav > li > a {
    color: #FFFFFF !important;
}

.replica-nav > li > a {
    color: #000000 !important;
}

    .custom-grey .signup:hover, .custom-grey .signup:focus, .navbar-default .navbar-nav > li > a:hover, .custom-tandc:hover {
        color: #009999 !important;
    }

.nav-pills > li > a, .login-html {
    background-color: #0A0A0D !important;
    color: #FFFFFF !important;
}

.login-html {
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    height:fit-content
}


    .login-html .sign-in:checked + .tab, .login-html .sign-up:checked + .tab {
        border-color: #FA9D1E !important;
    }

.custom-grey {
    color: #A6A6A7 !important;
}

.login-form .group .input {
    background: #4A4F55 !important;
    color: #FFFFFF !important;
}

.client-login {
    border-color: #F47920 !important;
    color: #F47920 !important;
}

.btn-primary, .wizard-card[data-color="blue"] .moving-tab {
    background-color: #FA9D1E !important;
    border-color: #FA9D1E !important;
    color: #0A0A0D !important;
    font-weight: 600;
}

.custom-grey-bg {
    background-color: #A6A6A7 !important;
}

h1, h2, h3, h4, h5, h6, p {
    font-weight: normal;
}

.custom-select {
    background: url(../img/rmb_chevron.jpg) white no-repeat 100% !important;
    background: url("../img/rmb_chevron.jpg") white no-repeat calc(100%) !important;
}

.custom-tandc {
    color: #0A0A0D;
    font-weight: 500;
    text-decoration: underline;
}

input[type="checkbox"]:checked {
    accent-color: #0A0A0D;
    border-color: #0A0A0D;
}

thead {
    color: white !important;
    background: #0A0A0D !important;
}

#newaccountlayout .image-container {
    background-color: #4A4F55 !important;
}

.bg-success {
    background-color: #1CA345 !important
}

.text-success {
    color: #1CA345 !important
}

.btn-info, .bg-info {
    background-color: #009999 !important
}

.bg-warning {
    background-color: #FFC72A !important
}

.text-warning {
    color: #FFC72A !important
}

.bg-danger {
    background-color: #DD3F44 !important
}

.text-danger {
    color: #DD3F44 !important
}

.logout {
    background: #0A0A0D !important;
    color: #DD3F44 !important;
}

.text-primary {
    color: #0A0A0D !important;
}

.client-login {
    border-color: #F47920 !important;
    color: #0a0a0d !important;
    background-color: white !important;
    font-weight: bold;
}

.actived {
    color: white;
    background: #FA9D1E;
    padding: 0.6rem;
}


.mainNav {
    background: #0A0A0D !important;
}

    .mainNav > li > a {
        color: white !important;
        padding: 5px;
    }

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus,
.nav > li > a:hover, .nav > li > a:hover, .nav > li > a:hover, .nav > li > a:focus {
    color: #FA9D1E !important;
}

.cus-nav {
    padding-left: 0;
}

.well, .breadcrumb {
    background: #ECECEC;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #A6A6A7;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #ECECEC;
}

.port-name, .text-info {
    color: #009999 !important
}

.loginbtn {
    background: #FA9D1E !important;
    border-color: #FA9D1E !important;
    color: #0a0a0d !important;
    font-weight: 700 !important;
}

.actived a {
    color: #0a0a0d;
}

.fullLiquidationBtn {
    border: 2px solid #FA9D1E;
    font-weight: 600;
}

a[href="#CaptchaImage"] {
    margin: 1rem 0rem 1rem 0rem;
    display: inline-block;
    padding: .5rem .8rem;
    border: 2px solid #FA9D1E;
    color: #0a0a0d;
    font-weight: 700 !important;
    border-radius: 5px;
}

.changepwd{
    min-height: 120vh !important;
    border-radius: 10px !important;
}

#CaptchaInputText {
    border: 1px solid #ccc;
    height: 34px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
}

    #CaptchaInputText:focus {
        border-color: #66afe9;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102,175,233,0.6);
    }

@media (min-width: 768px) {
    footer {
        position: inherit !important;
    }
}

.custom-button,
.custom-button-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
    padding: 0.5rem 1rem;
}

.custom-button {
    color: white;
    background-color: transparent;
    border: 2px solid #6c757d;
}

.custom-button-cancel {
    color: red;
    background-color: white;
    border: none;
    margin-top: 15px;
}
.custom-button:hover {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

.custom-button-cancel:hover {
    color: red;
    background-color: white;
    text-decoration: none;
}

.captcha-container {
    width: 200px; /* Adjust width as needed */
    height: 50px; /* Adjust height as needed */
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Verdana, sans-serif;
    font-size: 24px;
    margin: 1rem 0rem 1rem 0rem;
    padding: .5rem .8rem;
    border: 1px solid #FA9D1E;
    color: #0a0a0d;
    font-weight: 700 !important;
    border-radius: 5px;
}
.captcha-input {
    width: 200px;
    margin-left: 30px;
}

/* Custom Dashboard styles*/
/* Custom Container Styles */
.custom-container-fluid {
    width: 80% !important;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

/* Table Styles */
.table {
    width: 100%;
    margin-bottom: 0;
    font-size: 0.85em;
    box-shadow: 0 0 8px rgba(0,0,0,0.03);
}

    .table thead th {
        background: #2c3e50 !important;
        color: white;
        font-weight: 600;
        padding: 12px;
        position: sticky;
        top: 0;
        transition: background-color 0.2s ease;
    }

    /* Alternate Header Colors */
    .table thead tr:nth-child(2) th {
        background-color: #6c757d !important;
        border-top: 1px solid #dee2e6;
    }

/* Chart Styles */
.chart-container {
    background: ghostwhite;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    min-height: 300px;
}

#donutChart {
    max-height: 400px;
    min-height: 350px;
    margin: 0 auto;
}

/* Column Adjustments */
.col-md-8 .table {
    font-size: 0.82em;
}

.col-md-6 .table {
    min-width: 102%;
    margin-left: -1%;
}

/* Row Striping */
tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Text Colors */
.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.table td {
    transition: background-color 0.3s ease;
}
/* Responsive Design */
@media (max-width: 768px) {
    .custom-container-fluid {
        width: 95% !important;
        min-height: auto;
        padding: 20px 0;
    }

    #donutChart {
        max-height: 300px;
        min-height: 250px;
    }

    .col-md-6 .table {
        min-width: 100%;
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .custom-container-fluid {
        padding: 40px 0;
    }
}
.chartPosition {
    position: relative; 
    height: auto; 
    width: 100%;
}
.scrollable-table-container {
    max-height: 350px;
    overflow-y: auto;
}

.scrollable-table thead th {
    position: sticky;
    top: 0;
    background-color: #343a40;
    color: white;
    z-index: 1;
}

.scrollable-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.gapclass{
    margin-bottom:10px;
}
.last-row {
    color: green;
    font-size:small
}

.buy-highlight {
    background-color: #a5d6a7;
}

.sell-highlight {
    background-color: #ef9a9a;
}

.c-style {
    display: flex;
    justify-content: center;
    font-weight: 700;
}
.hidden {
    display: none !important;
}
