﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select {
    max-width: 300px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}


.mw-txt-align-right {
    text-align: right;
}

ex-txt-align-right span {
    text-align: right;
    padding-right: 5px;
}
/*= Dialog */
html {
    box-sizing: border-box
}

*,
*:before,
*:after {
    box-sizing: inherit
}

* {
    max-height: 1000000px;
    margin: 0;
    padding: 0
}


#Modal_button {
    position: relative;
    width: 20%;
    border: none
}

.holder {
    padding: 0 0 30px;
    margin: 0 0 30px
}

.row {
    /*margin: 0 0 10px*/
}

h2 {
    font-weight: 500;
    font-size: 30px;
    margin: 0 0 20px
}

.customRadio input[type="radio"] {
    position: absolute;
    left: -9999px
}

    .customRadio input[type="radio"] + label {
        position: relative;
        padding: 3px 0 0 40px;
        cursor: pointer
    }

        .customRadio input[type="radio"] + label:before {
            content: '';
            background: #fff;
            border: 2px solid #311B92;
            height: 25px;
            width: 25px;
            border-radius: 50%;
            position: absolute;
            top: 0;
            left: 0
        }

        .customRadio input[type="radio"] + label:after {
            content: '';
            background: #311B92;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            position: absolute;
            top: 5px;
            left: 5px;
            opacity: 0;
            transform: scale(2);
            transition: transform 0.3s linear, opacity 0.3s linear
        }

    .customRadio input[type="radio"]:checked + label:after {
        opacity: 1;
        transform: scale(1)
    }

.customCheckbox input[type="checkbox"] {
    position: absolute;
    left: -9999px
}

    .customCheckbox input[type="checkbox"] + label {
        position: relative;
        padding: 3px 0 0 40px;
        cursor: pointer;
        color: rgb(120, 119, 121)
    }

        .customCheckbox input[type="checkbox"] + label:before {
            content: '';
            background: #fff;
            border: 2px solid #ccc;
            border-radius: 3px;
            height: 25px;
            width: 25px;
            position: absolute;
            top: 0;
            left: 0
        }

        .customCheckbox input[type="checkbox"] + label:after {
            content: '';
            border-style: solid;
            border-width: 0 0 2px 2px;
            border-color: transparent transparent #311B92 #311B92;
            width: 15px;
            height: 8px;
            position: absolute;
            top: 6px;
            left: 5px;
            opacity: 0;
            transform: scale(2) rotate(-45deg);
            transition: transform 0.3s linear, opacity 0.3s linear
        }

    .customCheckbox input[type="checkbox"]:checked + label:after {
        opacity: 1;
        transform: scale(1) rotate(-45deg);
        color: #311B92
    }

.Advanced_setting {
    text-decoration: none;
    color: #1565C0;
    letter-spacing: 1px;
    font-weight: bolder
}

.modal-title {
    font-weight: bold !important
}

.modal-header,
.modal-footer {
    border-bottom: 0;
    border-top: 0;
    max-width: 600px !important;
    position: relative
}

.my_checkbox {
    margin-left: 3%
}

.model-content {
    width: 840px;
    width: 100% !important
}

.modal-footer {
    max-width: 790px !important;
    position: relative
}

    .modal-footer > :not(:last-child) {
        margin-right: 2rem
    }

    .modal-footer > :not(:first-child) {
        margin-left: 0.5rem
    }

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0 auto;
    max-width: 600px
}

.box-shadow--16dp {
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2)
}

@media only screen and (max-width: 780px) {
    .my_checkbox {
        margin-left: 7%
    }

    .modal-dialog {
        position: relative
    }
}

.container button focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none;
    outline-width: 0
}

@media only screen and (max-width: 580px) {
    .modal-dialog {
        position: relative
    }

    .my_checkbox {
        margin-left: 6%
    }
}

.btn-outline-light {
    color: #BDBDBD
}

#modal_footer {
    color: #BDBDBD;
    cursor: pointer;
    background: #fff
}

#modal_footer_support {
    color: #BDBDBD;
    width: 100%
}


.mbotable tr > td {
    border: 1px solid #a7a4a4;
    height: 15px;
    max-height: 15px;
    padding-right: 4px !important;
    text-align: right;
}


.mbptable tr > td {
    border: 1px solid #a7a4a4;
    height: 15px;
    max-height: 15px;
    padding-right: 4px !important;
    text-align: right;
}

.mbptable th {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #ffffff;
    color: #040404;
}

.accountstatementheader tr > td {
    height: 15px;
    max-height: 15px;
    padding-right: 4px !important;
    text-align: right;
    line-height: 2rem;
}

.account_statement {
    width: 100%;
    height: 355px;
    min-height: 275px;
    overflow-x: scroll;
}

.accountstatement table {
    width: 100%;
}

.accountstatement thead {
    position: sticky;
    top: 0;
    border-bottom: 2px solid #e0dddd;
    background: #d1d8d8;
}

.accountstatement tr > td {
    border: 1px solid #a7a4a4;
    cursor: context-menu;
    padding-right: 4px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    font-size: 12px;
    font-weight: 400;
}

.accountstatement tr:nth-child(even) {
    background-color: #f2f2f2;
}



.orderhistoryheader tr > td {
    height: 15px;
    max-height: 15px;
    padding-right: 4px !important;
    text-align: right;
    line-height: 2rem;
}

.order_history {
    width: 100%;
    height: 355px;
    min-height: 275px;
    overflow-x: scroll;
}

.orderhistory table {
    width: 100%;
}

.orderhistory thead {
    position: sticky;
    top: 0;
    border-bottom: 2px solid #e0dddd;
    background: #d1d8d8;
}

.orderhistory tr > td {
    border: 1px solid #a7a4a4;
    cursor: context-menu;
    padding-right: 4px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    font-size: 12px;
    font-weight: 400;
}

.orderhistory tr:nth-child(even) {
    background-color: #f2f2f2;
}




/*Outstanding*/
.outstandingtable {
    width: 100%;
    height: 380px;
    min-height: 275px;
    overflow-x: scroll;
}

    .outstandingtable table {
        width: 100%;
    }

    .outstandingtable tr > td {
        border: 1px solid #d1d0d0;
        height: 15px;
        max-height: 15px;
        padding: 0.125rem;
    }

    .outstandingtable th {
        padding: 0px 5px 0px 5px;
        background-color: #ffffff;
        color: #040404;
    }

.buycellcolor {
    background-color: #ffffff;
}

.messagewindowtable tr {
    border: 1px solid #777;
}

.message-window-card {
    position: relative;
    min-height: 155px;
    max-height: 520px;
    resize: vertical;
    overflow: hidden;
}

.message-window-tabs {
    padding-left: 10px;
    border-bottom: 1px solid #d8dde5;
}

.message-window-tabs > li > a {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}

.message-window-content {
    background: #fff;
    height: calc(100% - 95px);
    min-height: 70px;
}

/*.message-window-content > .tab-pane,
.message-window-content .scroll-table-container {
    height: 100%;
}*/

.messagewindowtable td {
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.35;
}

.messagewindowtable .message-date {
    float: right;
    color: #687385;
    font-size: 11px;
}

.messagewindowtable .message-empty {
    color: #687385;
    text-align: center;
}

.scroll-table-container {
    height: 100px;
    overflow: scroll;
}

.message-window-resize-handle {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 16px;
    height: 16px;
    cursor: ns-resize;
    background: linear-gradient(135deg, transparent 0 45%, #8b95a3 46% 52%, transparent 53% 62%, #8b95a3 63% 69%, transparent 70%);
    opacity: 0.8;
}

/* Market Watch workspace */
.market-watch-toolbar {
    align-items: center;
    gap: 10px;
}

.symbol-add-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.symbol-search-wrapper {
    position: relative;
    flex: 1 1 auto;
    min-width: 150px;
}

.symbol-search-wrapper #newsymbol {
    width: 100%;
}

.symbol-suggestions {
    display: none;
    position: absolute;
    z-index: 1050;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #aab5c4;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(25, 39, 57, 0.2);
    text-align: left;
}

.symbol-suggestions.show {
    display: block;
}

.symbol-suggestion {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 9px;
    color: #172236;
    cursor: pointer;
}

.symbol-suggestion span {
    color: #5c6878;
}

.symbol-suggestion:hover,
.symbol-suggestion.active {
    color: #fff;
    background: #1976c9;
}

.symbol-suggestion:hover span,
.symbol-suggestion.active span {
    color: #fff;
}

.market-watch-scroll {
    height: calc(100vh - 230px) !important;
    min-height: 380px;
    overflow: auto !important;
}

.market-watch-scroll .mwTable thead {
    position: sticky;
    z-index: 2;
    top: 0;
    background: #fff;
}

@media (max-width: 1023px) {
    .market-watch-toolbar {
        display: flex !important;
        flex-wrap: wrap;
    }

    .market-watch-toolbar > .col-sm-3,
    .market-watch-toolbar > .col-sm-9 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left !important;
    }

    .market-watch-scroll {
        height: calc(100vh - 270px) !important;
        min-height: 360px;
    }
}


input[type=text],
input[type=number],
input[type=password],
input[type=datalist],
input[type=date],
select {
    display: initial;
    width: 100%;
    /*height: 25px;*/
    padding: 2px 0px;
    font-size: 13px;
    line-height: 1.428571;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    /* box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%); */
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    input[type=text]:focus {
        border: 1px solid #a19c9c;
    }

.font-white {
    color: #fff;
}

/*.marquee {
  background-color: transparent;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
  padding-bottom:5px;
}

    .marquee .index-card {
        height: 35px;
    }

.marquee-div {
    display: inline-flex;
    --total-marquee-items: 11;
    width: calc(250px * (var(--total-marquee-items)));
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    left: 100%;
    animation: marquee 20s linear infinite;
}
    .marquee-div:hover {
        animation-play-state: paused
    }

@keyframes marquee {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}*/

.index-val-div {
    /*float: right;*/
    text-align: justify;
}

.sellrowcolor {
    background: linear-gradient( 180deg, rgb(241 254 255) 0%, rgb(229 148 148) 100% );
    border: 1px solid #e0e3eb;
}

.buyrowcolor {
    background: linear-gradient( 180deg, rgb(241 254 255) 0%, rgb(148 229 162) 100% );
}

.sel_que {
    color: #d06ca9;
    background: #ffffff;
}

.sel_pen {
    color: #5c3d1a;
    background: #dcc4b7;
}

.sel_cxl {
    background: #ffffff;
    color: #ce5963;
}

.sel_trd {
    color: black;
    background: #e9b8b8;
}

.sel_rej {
    color: black;
    background: #ffffff;
}

.sel_chg {
    color: #d64100;
    background: #ffffff;
}

.shs_que {
    background: #f9bf81;
    color: #fc0707;
}

.mst {
    color: #eddb3b;
    background: #000000;
}

.welcome-text {
    color: #ffffff;
    background: #f29100;
}

.buy_que {
    color: #00c3c6;
    background: #ffffff;
}

.buy_pen {
    background: #8bdcba;
    color: #037e4a;
}

.buy_cxl {
    background: #ffffff;
    color: #7b7118;
}

.buy_rej {
    color: black;
    background: #ffffff;
}

.buy_trd {
    background: #00c7ce;
    color: #000094;
}

.buy_chg {
    background: #ffffff;
    color: #7382d6;
}

/*Login form*/

.card0 {
    box-shadow: 8px 20px 21px 12px #bcc6cf;
    border-radius: 0px;
    width: 54%;
    margin-left: 21%;
    margin-top: 11%;
    padding: 20px;
    border: 1px solid #e6ecf2;
    position: relative;
}

.card2 {
    margin: 0px 40px
}

.logo {
    width: 200px;
    height: 100px;
    margin-top: 20px;
    margin-left: 35px
}

.image {
    max-width: 60%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

.image2 {
    max-width: 10%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    position:absolute;
    bottom:0;
    right:0;
}

.border-line {
    border-right: 1px solid #EEEEEE
}

.facebook {
    background-color: #3b5998;
    color: #fff;
    font-size: 18px;
    padding-top: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer
}

.twitter {
    background-color: #1DA1F2;
    color: #fff;
    font-size: 18px;
    padding-top: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer
}

.linkedin {
    background-color: #2867B2;
    color: #fff;
    font-size: 18px;
    padding-top: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer
}

.line {
    height: 1px;
    width: 45%;
    background-color: #E0E0E0;
    margin-top: 10px
}

.or {
    width: 10%;
    font-weight: bold
}

.text-sm {
    font-size: 14px !important
}

::placeholder {
    color: #BDBDBD;
    opacity: 1;
    font-weight: 300
}

:-ms-input-placeholder {
    color: #BDBDBD;
    font-weight: 300
}

::-ms-input-placeholder {
    color: #BDBDBD;
    font-weight: 300
}

/*input,
textarea {
    padding: 10px 12px 10px 12px;
    border: 1px solid lightgrey;
    border-radius: 2px;
    margin-bottom: 5px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 14px;
    letter-spacing: 1px
}

    input:focus,
    textarea:focus {
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border: 1px solid #304FFE;
        outline-width: 0
    }*/

button:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline-width: 0
}

a {
    color: inherit;
    cursor: pointer
}

.btn-blue {
    background-color: #1A237E;
    width: 150px;
    color: #fff;
    border-radius: 2px
}

    .btn-blue:hover {
        background-color: #000;
        cursor: pointer
    }

.bg-blue {
    color: #fff;
    background-color: #1A237E;
}

@media screen and (max-width: 991px) {
    .logo {
        margin-left: 0px
    }

    .image {
        width: 100%;
        height: 100%;
        display: block;
    }

    .border-line {
        border-right: none
    }

    .card2 {
        border-top: 1px solid #EEEEEE !important;
        margin: 0px 15px
    }
}

.login-page {
    min-height: 100vh;
    background: #f3f6f9;
    color: #182230;
    font-family: "Segoe UI", Arial, sans-serif;
}

.login-page .login-shell {
    min-height: 100vh;
    padding: 48px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-page .card0.login-card {
    width: min(920px, calc(100vw - 32px));
    margin: 0;
    padding: 24px 88px 24px 24px;
    border: 1px solid #dfe7ef !important;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(22, 34, 51, 0.16);
    overflow: visible;
}

.login-page .image2 {
    z-index: 3;
    pointer-events: none;
}

.login-page .login-title-row {
    width: 100%;
    margin: 0 0 8px 0;
}

.login-page .login-title-row h3 {
    width: 100%;
    margin: 0;
    color: #101828;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
}

.login-page .card1 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-page .login-form-card {
    margin: 0 18px;
/*    background: #fbfcfe;*/
/*    border: 1px solid #e4eaf1 !important;*/
    border-radius: 8px;
/*    box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);*/
}

    .login-page .login-form-card .card-body {
        padding: 20px;
    }

.login-page .login-form-wrap {
    display: block;
    width: 100%;
}

.login-page .login-form {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.login-page .login-form-inner {
    width: 100%;
}

.login-page .login-field {
    margin-bottom: 20px;
}

.login-page .login-field .row,
.login-page .login-actions .row {
    margin-left: 0;
    margin-right: 0;
}

.login-page .form-label {
    margin-bottom: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.login-page .login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-page .login-label-row .text-primary {
    margin-left: auto;
    color: #0b6bcb !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

.login-page .login-label-row .text-primary:hover {
    color: #084f98 !important;
    text-decoration: underline;
}

.login-page .form-control {
    width: 100%;
    max-width: none;
    height: 48px;
    padding: 12px 14px !important;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: #ffffff;
    color: #182230;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: inset 0 1px 1px rgba(16, 24, 40, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.login-page .form-control:focus {
    border-color: #0b6bcb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 107, 203, 0.14);
    outline: none;
}

.login-page .form-control::placeholder {
    color: #98a2b3;
}

.login-page .inputs {
    width: 34px !important;
    height: 42px;
    margin: 0 4px 8px 0;
    padding: 8px !important;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    text-align: center;
    background: #ffffff;
    color: #182230;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-page .inputs:focus {
    border-color: #0b6bcb;
    box-shadow: 0 0 0 3px rgba(11, 107, 203, 0.14);
    outline: none;
}

.login-page .inputs:disabled {
    border-color: #d0d5dd;
    background: #d9dadd !important;
    color: #667085;
}

.login-page .login-error {
    min-height: 24px;
    margin-top: 12px;
    text-align: left;
}

.login-page .login-error .text-danger {
    display: block;
    padding: 10px 12px;
    border: 1px solid #f2b8b5;
    border-radius: 8px;
    background: #fff1f0;
    color: #b42318 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.login-page .login-actions {
    margin-top: 4px;
    margin-bottom: 0;
}

.login-page .btn-primary {
    width: 100%;
    max-width: none;
    height: 48px;
    border: 1px solid #075dae;
    border-radius: 8px;
    background: #0b6bcb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 10px 18px rgba(11, 107, 203, 0.22);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.login-page .btn-primary:hover {
    border-color: #064e91;
    background: #075dae;
    box-shadow: 0 12px 22px rgba(11, 107, 203, 0.28);
}

.login-page .btn-primary:active,
.login-page .btn-primary:focus {
    border-color: #064e91;
    background: #064e91;
    box-shadow: 0 0 0 3px rgba(11, 107, 203, 0.18);
    outline: none;
    transform: translateY(1px);
}

.password-toggle-field {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.password-toggle-field .form-control {
    width: 100%;
    padding-right: 42px !important;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: #0b6bcb;
    background: #eef6ff;
    border-radius: 50%;
    outline: none;
}

#create_pin .tabcontent .password-toggle-btn,
#create_pin .tabcontent .password-toggle-btn:hover,
#create_pin .tabcontent .password-toggle-btn:focus {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 14px;
    color: #4b5563;
    background: transparent;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    transform: translateY(-50%);
}

#create_pin .tabcontent .password-toggle-btn:hover,
#create_pin .tabcontent .password-toggle-btn:focus {
    color: #0b6bcb;
    background: #eef6ff;
}

.required-field-highlight {
    border: 2px solid #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18) !important;
    background-color: #fff7f7 !important;
}

.field-guidance {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.3;
    text-align: left;
}

@media screen and (max-width: 1366px) {
    .login-page .login-shell {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .login-page .card0.login-card {
        width: min(860px, calc(100vw - 32px));
        padding: 20px 78px 20px 20px;
    }

    .login-page .login-form-card {
        margin: 0 10px;
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
}

@media screen and (max-width: 991px) {
    .login-page .login-shell {
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .login-page .card0.login-card {
        padding: 18px;
    }

    .login-page .login-form-card {
        margin: 16px 0 0 0;
        border-top: 1px solid #e4eaf1 !important;
    }

    .login-page .login-form {
        max-width: 440px;
    }
}

@media screen and (max-width: 575px) {
    .login-page .login-shell {
        padding: 12px;
    }

    .login-page .card0.login-card {
        width: 100%;
        padding: 14px;
        border-radius: 8px;
    }

    .login-page .login-title-row h3 {
        font-size: 21px;
    }

    .login-page .login-form-card {
        padding: 22px 14px !important;
    }

    .login-page .login-label-row {
        align-items: flex-start;
    }

    .login-page .form-control,
    .login-page .btn-primary {
        height: 46px;
    }
}


/*table loader*/
/* Center the loader */
#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0px;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

#loadingDiv {
    display: none;
    text-align: center;
}

.hide_li {
    display: none !important;
}


/*Exposure Table*/
.exposureTable {
    width: 100%;
    font-size: 14px;
}

    .exposureTable tr td:nth-child(2) {
        text-align: right;
    }



.carousel {
    /*margin: 30px auto 60px;
    padding: 0 80px;*/
}

    .carousel .carousel-item {
        text-align: center;
        overflow: hidden;
    }

        .carousel .carousel-item h4 {
            font-family: 'Varela Round', sans-serif;
        }

        .carousel .carousel-item img {
            max-width: 100%;
            display: inline-block;
        }

        .carousel .carousel-item .btn {
            border-radius: 0;
            font-size: 12px;
            text-transform: uppercase;
            font-weight: bold;
            border: none;
            background: #a177ff;
            padding: 6px 15px;
            margin-top: 5px;
        }

            .carousel .carousel-item .btn:hover {
                background: #8c5bff;
            }

            .carousel .carousel-item .btn i {
                font-size: 14px;
                font-weight: bold;
                margin-left: 5px;
            }

    .carousel .thumb-wrapper {
        margin: 5px;
        text-align: left;
        background: #fff;
        box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
    }

    .carousel .thumb-content {
        padding: 15px;
        font-size: 13px;
    }

.carousel-control-prev, .carousel-control-next {
    height: 20px;
    width: 20px;
    background: none;
    margin: auto 0;
    border-radius: 50%;
}

    .carousel-control-prev i, .carousel-control-next i {
        font-size: 36px;
        position: absolute;
        top: 50%;
        display: inline-block;
        margin: -19px 0 0 0;
        z-index: 5;
        left: 0;
        right: 0;
        color: rgba(0, 0, 0, 0.8);
        text-shadow: none;
        font-weight: bold;
    }

    .carousel-control-prev i {
        margin-left: -3px;
    }

    .carousel-control-next i {
        margin-right: -3px;
    }

.carousel-indicators {
    bottom: -50px;
}

    .carousel-indicators li, .carousel-indicators li.active {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 4px;
        border: none;
    }

    .carousel-indicators li {
        background: #ababab;
    }

        .carousel-indicators li.active {
            background: #555;
        }

.watchprogress {
    position: inherit;
    left: -100%;
    width: 100%;
    height: 0px;
    z-index: -1;
    background: #8F8;
    transition: left 1s;
}

.red-bg-10 {
    position: initial;
    content: "";
    background: #de2623;
    width: 280px;
}

.change-red {
    font-size: 11px;
    color: red;
}

.change-green {
    font-size: 11px;
    color: rgb(82, 198, 87);
}

.popup-closer {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 20px;
    padding: 5px;
    cursor: pointer;
}

.orderwindowtable {
    width: 100%;
    border-collapse: collapse;
}

    .orderwindowtable > tbody > tr > th {
        background: #c8c8c8;
    }

    .orderwindowtable > tbody > tr > td {
        border: 1px solid;
        padding: 2px;
    }


.buywindowcolor {
    background: #00bebe !important;
}

.sellwindowcolor {
    background: #ceb2b5 !important;
}

.statusbar {
    /*position: relative;
    overflow: hidden;
    height: 34px; 
    border-radius: 28px;
    background: #fff;
    margin-bottom: 5px;*/
    margin-right: 10px;
    position: absolute;
    width: 30%;
    margin-top: -26px;
    right: -10px;
}

@media (max-width: 768px) and (min-width: 500px) {
    .statusbar {
        margin-right: 10px;
        position: absolute;
        width: 30%;
        margin-top: -26px;
        right: -10px;
    }

    .market-status {
        background: #5ebfbf;
        width: 70%;
        padding: 10px;
        color: #fff;
        font-size: 12px;
        margin-left: 30%;
        font-weight: 800;
        position: absolute;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width:2560px) {
    .statusbar ul {
        position: absolute;
        display: flex;
    }

    .market-status {
        background: #5ebfbf;
        width: 50%;
        padding: 10px;
        color: #fff;
        font-size: 12px;
        margin-left: 50%;
        font-weight: 800;
        position: absolute;
        text-align: center;
    }
}

.markets-container {
    position: relative;
    overflow: hidden;
    height: 64px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 2px 16px 0 rgb(0 0 0 / 4%);
    border-radius: 5px;
    padding: 10px;
    background: #fff;
}


.markets-content span.green, .markets-content span.red {
    position: absolute;
    right: 0;
    background: #26a69a;
    color: #fff;
    top: 10px;
    padding: 3px 12px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    font-weight: 600;
}

.markets-content span.volume {
    position: absolute;
    right: 0;
    top: 35px;
    font-size: 15px;
    padding: 3px 12px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.markets-content span.red {
    background: #ff0000;
}

.markets-content span.green {
    background: #009900;
}

.mwTable th {
    border: 1px solid #a7a4a4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*.mwTable thead th {
    position: sticky;
    top: 0; 
    resize: horizontal;
    overflow: auto;
    min-width: 70px;
}*/

.mwTable > tbody > tr > td {
    background-color: #e4e1e1;
    border: 1px solid #a7a4a4;
    cursor: context-menu;
    padding-right: 4px !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    font-size: 14px;
    font-weight: 400;
}

.bg {
    background-color: #9fcaf5 !important;
}

/*Right side bar for mbo/mbp*/


.rightsidebar {
    height: 100%;
    width: 0;
    position: absolute;
    z-index: 1;
    right: 0;
    background-color: transparent;
    overflow-x: hidden;
    transition: 0.5s;
}

    .rightsidebar a {
        text-decoration: none;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

    .rightsidebar .closebtn {
        position: absolute;
        top: -8px;
        right: 4px;
        font-size: 25px;
        z-index: 1;
    }

.openbtn {
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
    float: right;
}

    .openbtn:hover {
        background-color: #444;
    }

.exchangetable {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
}

/*.exchangetable > tbody tr > th, td {
        border: 1px solid #c4c4c2 !important;
    }*/

#exchangestatstable {
    width: 100%;
    font-size: 12px;
}

    #exchangestatstable span {
        font-size: 12px;
    }

.mbostickyicon {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    background: #5ebfbf;
    color: #fff;
    font-size: 12px;
    padding: 10px;
    cursor: pointer;
}

.rotate {
    -moz-transition: all .2s linear;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

    .rotate.down {
        -moz-transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
    }

.split-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 36ch;
}


/*Market States*/

/*.wrapper {
    width: 80vw;
    height: 90vh;
    color: #bada55;
    display: block;
    margin: auto;
    position: relative;
}

#info {
    position: absolute;
    top: 0;
}

#static,
#ticker {
    display: inline-block;
    width: 50%;
    height: 50px;
    color: #fff;
    font-family: sans-serif;
}

#static {
    line-height: 50px;
    font-size: 50px;
    vertical-align: top;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #bada55;
    overflow: hidden;
}

    #static:before {
        content: "";
        position: absolute;
        left: 0;
        top: -25px;
        height: 25px;
        width: 100%;
        z-index: 1;
        background: linear-gradient(180deg, hsla(0, 0%, 100%, .97) 0, hsla(0, 0%, 100%, .97) 27%, hsla(0, 0%, 100%, 0));
    }

    #static:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -25px;
        height: 25px;
        width: 100%;
        z-index: 1;
        background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, #fff 75%, #fff);
    }

#ticker {
    position: absolute;
    margin: 0 5px;
    list-style: none;
    padding: 0;
    vertical-align: top;
    height: 100px;
    top: -25px;
    text-align: left;
    transition: 0.5s;
}

    #ticker li {
        position: relative;
        padding: 0;
        line-height: 50px;
        font-size: 50px;
        transition: 0.8s;
        margin: 25px 0;
        color: navy;
    }*/


/*****************************
*	vertical news ticker
******************************/

.news_ticker {
    position: relative;
    overflow: hidden;
    height: 34px;
    border-radius: 28px;
    background: #fff;
    margin-bottom: 5px;
}

.statusbar ul {
    position: absolute;
    display: flex;
}

.ticker-states {
    /*position: relative;
    padding: 7px;
    float: right;
    font-size: 15px;*/
    position: relative;
    font-size: 15px;
    display: table;
    width: 100%;
}

    .ticker-states span {
        position: relative;
    }

    .ticker-states > :first-child {
        background: #5ebfbf;
        width: 50%;
        padding: 9px;
        color: #fff;
        font-size: 11px;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        margin-left: 0%;
        font-weight: 800;
        position: absolute;
        text-align: center;
    }

    .ticker-states > :last-child {
        width: 50%;
        padding: 10px;
        font-size: 11px;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
        margin-left: 50%;
        font-weight: 800;
        position: absolute;
        text-align: center;
    }


@media (max-width: 1024px) {
    .ticker-states, .news-ticker-v {
        font-size: 12px;
        font-weight: 600;
    }
}

#mwSymbolname {
    padding: 7px;
    font-size: 16px;
    font-weight: 400;
}





/* Style the tab */
tab-div {
    width: 50%;
    height: 550px;
}

.tab {
    float: left;
    background-color: #f1f1f1;
    width: 30%;
    height: auto;
}

    /* Style the buttons inside the tab */
    .tab a {
        display: block;
        background-color: inherit;
        color: #878282;
        padding: 12px 10px;
        width: 100%;
        border: 1px solid #e7e4e4;
        outline: none;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        font-size: 17px;
    }

        /* Change background color of buttons on hover */
        .tab a:hover {
            background-color: #ddd;
        }

        /* Create an active/current "tab button" class */
        .tab a.active {
            background-color: #fff;
        }

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 10px 12px;
    border: 1px solid #ccc;
    width: 70%;
    border-left: none;
    height: 400px;
    text-align: left;
}
.tabcontent ol{
    padding-left: 25px;
}
.tabcontent p{
    text-align:justify;
}
    .tabcontent .pc-btn{
        text-align:right;
        padding:5px;
    }
    .tabcontent button {
        padding: 12px;
        font-size: 16px;
        background: #aab5cb;
        border-radius: 25px;
        border: none;
        width: 50%;
        color: #ffffff;
        box-shadow: 0 4px 8px 0 rgb(0 1 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    }
    .tabcontent button:hover {
            padding: 12px;
            font-size: 16px;
            background: #1445a7;
            border-radius: 25px;
            border: none;
            width: 50%;
            color: #ffffff;
            box-shadow: 0 4px 8px 0 rgb(1 57 104 / 20%), 0 6px 20px 0 rgb(16 10 10 / 19%);
        }

.market-watch-context-menu {
    position: fixed;
    z-index: 20000;
    display: none;
    min-width: 160px;
    padding: 4px;
    background: #ffffff;
    border: 1px solid #c8d1dc;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(24, 39, 58, 0.2);
}

.market-watch-context-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    color: #263548;
    font-size: 13px;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
}

.market-watch-context-menu button:hover,
.market-watch-context-menu button:focus {
    color: #b42318;
    background: #fff1f0;
    outline: none;
}

.market-watch-context-menu i {
    width: 18px;
    margin-right: 7px;
    text-align: center;
}

.market-watch-symbol-editor {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 22px;
    padding: 1px 4px;
    color: inherit;
    font: inherit;
    background: #ffffff;
    border: 1px solid #7b8794;
    border-radius: 2px;
    outline: none;
    box-sizing: border-box;
}

.market-watch-symbol-editor:focus {
    border-color: #0b6bcb;
    box-shadow: inset 0 0 0 1px #0b6bcb;
}
