html {
    height: 100%;
    scroll-behavior: smooth; /*cursor: url('../image/cursor.png'), auto;*/
}

body {
    font-family: "Roboto" !important;
    margin: 0px;
    background-color: #fafafb;
    height: 100%;
    /*Added by parth*/
    position: fixed;
    width: 100%;
}

    body::-webkit-scrollbar {
        width: 6px;
        height: 100%;
    }

    body::-webkit-scrollbar-track {
        background: #f06600;
        border: 2px solid #fff;
    }

    body::-webkit-scrollbar-thumb {
        background: #ddd;
        border: none;
        border-radius: 4px;
    }

        body::-webkit-scrollbar-thumb:hover {
            background: #000;
        }

.cursor {
    cursor: pointer;
}

.btn-danger {
    background: #dd1610 !important;
}

    .btn-danger:hover {
        background: #bd3632 !important;
    }

.show {
    display: block;
}

.hide {
    display: none;
}


.logo {
    display: block;
    width: 100%;
    padding: 20px;
    /*padding-top: 30%;*/
    padding-top: 5%;
    text-align: center;
}

    .logo img {
        max-width: 60%;
        height: 140px !important;
    }

.container {
    width: 90%;
    left: 5%;
    padding: 10px;
}

.btn-prime {
    background-color: #f06600;
    color: #ffdd8c;
}

    .btn-prime:hover {
        color: #fff;
    }

.fullwidth {
    width: 100%;
}

@media (min-width: 999px) {
    .logo {
        padding-top: 9%;
        text-align: center;
    }
}

#login .input_area label {
    position: absolute;
    display: inline-block;
    margin: 2px 2px 0px 9px;
    line-height: 32px;
    width: 15px;
    text-align: center;
}

    #login .input_area label .fa {
        margin-top: 12px;
    }

#login .input_area input, #login .input_area textarea {
    width: 100%;
    padding: 0 5px 0 40px;
    margin: 8px auto;
    border: 0px;
    border-bottom: 2px solid #f06600;
    line-height: 34px;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: -internal-light-dark(black, white);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    appearance: textfield;
    background-color: -internal-light-dark(rgb(255, 255, 255), rgb(59, 59, 59));
    -webkit-rtl-ordering: logical;
    cursor: text;
    border-color: -internal-light-dark(rgb(118, 118, 118), rgb(195, 195, 195));
    border-image: initial;
}

    #login .input_area input:focus, #login .input_area textarea:focus {
        outline: none;
    }

/* Header */


.top-head {
    margin-top: 5px;
}

    .top-head h3 {
        width: 73%;
        display: inline-block;
        padding: 5px 3px 0px 3px;
        text-align: center;
        color: #000;
    }

.left-btn, .right-btn {
    width: 12%;
    display: inline-block;
    padding: 3px;
    text-align: center;
    color: #666;
}

.mwdata-hide {
    display: none;
}

.mwdata-show {
    display: block;
    min-height: 150px;
    padding: 5px;
}

.spotitem {
    display: inline-block;
    width: 32.5%;
    padding: 5px 1px 5px 10px;
}

    .spotitem .itemname {
        display: block;
        font-size: 95%;
    }

    .spotitem .crates {
        display: block;
        font-size: 110%;
        font-weight: 600;
    }

    .spotitem .lrates {
        display: block;
        font-size: 80%;
        text-align: left;
    }


/* Tab Style */


.tile {
    width: 99%;
    margin: 5px auto;
}

#tile-1 .tab-pane {
    height: 75% !important;
    min-height: 410px;
    max-height: 580px;
    overflow-y: scroll;
    padding-bottom: 55px;
}

    #tile-1 .tab-pane::-webkit-scrollbar {
        width: 0px;
    }

#tile-1 .nav-tabs {
    position: relative;
    border: none !important;
    background-color: #fff;
    /*   box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2); */
    border-radius: 6px;
}

    #tile-1 .nav-tabs li {
        margin: 0px !important;
    }

        #tile-1 .nav-tabs li a {
            position: relative;
            margin-right: 0px !important;
            padding: 15px 10px !important;
            font-size: 14px;
            border: none !important;
            color: #333;
        }

    #tile-1 .nav-tabs a:hover {
        background-color: #fff !important;
        border: none;
    }

#tile-1 .slider {
    display: inline-block;
    width: 30px;
    height: 4px;
    border-radius: 3px;
    /*background-color: #F06600;*/
    position: absolute;
    z-index: 2;
    bottom: 0;
    transition: all .4s linear;
}

#tile-1 .nav-tabs .active {
    background-color: transparent !important;
    border: none !important;
    color: #F06600 !important;
}

.search-box {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
}

    .search-box .input_area {
        position: relative;
        width: 100%;
        padding: 0;
        margin: 0;
    }

        .search-box .input_area input {
            width: 100%;
            line-height: 40px;
            padding-left: 46px;
            margin: 0;
            border: 1px solid #eee;
            border-radius: 5px;
        }

            .search-box .input_area input:focus {
                outline: none;
            }

            .search-box .input_area input::placeholder {
                color: #aaa;
            }

        .search-box .input_area label {
            position: absolute;
            left: 20px;
            margin-top: 8px;
            z-index: 1;
        }

    .search-box .filter-set {
        position: absolute;
        right: 20px;
        margin-top: 8px;
        z-index: 1;
    }

.no-result {
    display: block;
    position: fixed;
    top: 35%;
    width: 100%;
    height: 250px;
    text-align: center;
}

/* WatchList */

.item-list {
    display: block;
    /*margin: 0 2px;*/
    margin: 0 1px;
    /*padding: 8px 0;*/
    padding: 0px 0;
    border-bottom: 1px solid #767070;
}

    .item-list .itemname {
        display: inline-block;
        font-size: 110%;
        width: 51%;
    }

    .item-list .lrate, .item-list .hrate {
        display: inline-block;
        font-size: 120%;
        font-weight: 600;
        width: 23%;
        text-align: center;
        margin:0px,0px,0px,1px
        /*vertical-align: top;*/
        /*   padding: 3px 5px;*/
    }
    /*.item-list .cnotes {display:inline-block; width:24%; font-size:94%; padding-right:3px;}*/
    .item-list .cnotes {
        display: inline-block;
        font-size: 94%;
        width: 24%;
        padding-right: 2px;
    }

    .item-list .symbitem {
        display: inline-block;
        width: 41%;
    }

    .item-list .expiry, .item-list .lot-sz {
        display: inline-block;
        font-size: 90%;
        width: 22%;
        text-align: center;
        padding: 2px;
    }

    .item-list .chkbx {
        display: inline-block;
        width: 11%;
        text-align: right;
    }

        .item-list .chkbx input {
            border: 1px solid #999;
            width: 18px;
            height: 18px;
        }

.sloter {
    display: block;
    padding: 8px 15px;
    margin: 15px 0;
    background-color: #eee;
}

.btn-select {
    display: inline-block;
    max-width: 48.5%;
    padding: 3px 18px;
    color: #333;
    border-radius: 15px;
    background-color: #fff;
    text-transform: uppercase;
}

.btn-select-active {
    display: inline-block;
    max-width: 48.5%;
    padding: 3px 18px;
    color: #fff;
    border-radius: 15px;
    background-color: #f06600;
    text-transform: uppercase;
}

.btnW50 {
    width: 49%
}

#OrderTabs strong {
    font-size: 150%;
}

.item-cont {
    display: block;
    margin-top: 30px;
}

.itempts {
    display: inline-block;
    width: 32.5%;
    font-size: 95%;
    padding: 5px 10px;
}

    .itempts strong {
        display: block;
        font-size: 105% !important;
        font-weight: 600;
    }

.fmcl .input_area label {
    text-align: left;
    line-height: 1;
    padding-left: 6px;
}

    .fmcl .input_area label .fa {
        margin-top: 10px;
    }

.fmcl .input_area textarea, .fmcl .input_area input {
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
    padding: 0 5px 0 10px;
    border: 0px;
    border-bottom: 2px solid #f06600;
    line-height: 30px;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: -internal-light-dark(black, white);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    appearance: textfield;
    background-color: -internal-light-dark(rgb(255, 255, 255), rgb(59, 59, 59));
    -webkit-rtl-ordering: logical;
    cursor: text;
    border-color: -internal-light-dark(rgb(118, 118, 118), rgb(195, 195, 195));
    border-image: initial;
}

    .fmcl .input_area textarea:focus, .fmcl .input_area input:focus {
        outline: none;
    }


/* Trades */

.btn-alert {
    display: inline-block;
    padding: 2px 8px;
    text-transform: uppercase;
    border-radius: 6px;
    background-color: #dd1610;
    color: #fff;
}

.btn-alert2 {
    width: 48%;
    margin: 4px 0px 5px 4px;
    background-color: #dd1610;
    color: #fff;
}

    .btn-alert:hover, .btn-alert2:hover {
        background: #bd3632;
        color: #fff;
    }

.item-cdlist {
    display: block;
    margin: 0 2px;
    padding: 8px 0;
    border-bottom: 1px solid #767070;
    font-size: 92%;
}

.leftnote {
    display: inline-block;
    width: 48.5%;
    text-align: left;
    padding-bottom: 3px;
    vertical-align: top;
}

.rightnote {
    display: inline-block;
    margin-left: 3px;
    width: 48.5%;
    text-align: right;
    padding-bottom: 3px;
    vertical-align: top;
}

    .leftnote strong, .rightnote strong {
    }

.hgreen {
    display: inline-block;
    padding: 2px 8px;
    font-size: 85%;
    color: #129a00;
    border-radius: 6px;
    background-color: #d1ffcb;
    text-transform: uppercase;
}

.hblue {
    display: inline-block;
    padding: 2px 8px;
    font-size: 85%;
    color: #001d8a;
    border-radius: 6px;
    background-color: #cbe3ff;
    text-transform: uppercase;
}

.hred {
    display: inline-block;
    padding: 2px 8px;
    font-size: 85%;
    color: #db0000;
    border-radius: 6px;
    background-color: #ffd3d3;
    text-transform: uppercase;
}

.smtxt {
    font-size: 85%;
}

    .smtxt span {
        float: right;
        margin-right: 5px;
    }

.leftnote .itempts, .rightnote .itempts {
    width: 90%;
    text-align: left;
}


/* Portfolio */
.highlight-box {
    display: block;
    margin: 7px;
    padding: 12px;
    background-color: #eee;
    border-radius: 5px;
}

    .highlight-box .leftnote strong, .highlight-box .rightnote strong {
        display: block;
        font-size: 115%;
    }

.fgreen {
    color: #129a00;
}

.fblue {
    color: #001d8a;
}

.fred {
    color: #db0000;
}


/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 900;
    left: 0;
    top: 0;
    width: 100%;
    height: 99%;
    overflow-y: auto;
    background-color: rgba(254,254,254,1);
    padding-bottom: 30px;
}

.modal-top {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: block;
    height: 42px;
    background: #fff;
    z-index: 1;
}

    .modal-top input {
        display: inline-block;
        margin: 0;
        padding: 5px 8px;
        width: 71%;
        line-height: 33px;
        color: #333;
        border: none;
    }

    .modal-top h3 {
        width: 73%;
        display: inline-block;
        padding: 5px 3px 0px 3px;
        font-size: 140%;
        text-align: center;
        color: #000;
    }

    .modal-top input:focus {
        border: none;
        outline: none;
    }

    .modal-top input::placeholder {
        color: #aaa;
    }

.modal-content {
    position: relative;
    margin-top: 30px;
    padding: 15px;
    width: 100%;
    color: #333;
    border: 0px;
}

@media (max-width: 400px) {
    .modal-content {
        padding: 10px;
    }
}

/* Footer */

.footer-line {
    position: fixed;
    bottom: -2px;
    width: 100%;
    height: 45px;
    padding: 10px;
    text-align: center;
    background: #eee;
    z-index: 2;
}

.footer-tab {
    position: fixed;
    bottom: -6px;
    width: 100%;
    height: 60px;
    padding: 5px;
    text-align: center;
    z-index: 999;
    background: linear-gradient(to bottom, rgba(240,102,0,0.85) 0%, rgba(240,102,0,1) 80%);
    border-radius: 8px;
    color: #ffe6d6;
}

    .footer-tab a {
        display: inline-block;
        min-width: 75px;
        padding: 4px 10px;
        font-size: 90%;
        color: #ffdd8c;
        text-align: center;
    }

        .footer-tab a:hover {
            color: #fff;
            text-decoration: none;
        }

        .footer-tab a.active {
            color: #fff;
        }

            .footer-tab a.active .fa {
                color: #fff;
            }

        .footer-tab a .fa {
            display: block;
            font-size: 145%;
            color: #ffdd8c;
        }

        .footer-tab a:hover .fa {
            color: #fff;
        }

@media (max-width: 400px) {

    .item-list .itemname {
        font-size: 100%;
        width: 50%;
    }

    .item-list .lrate, .item-list .hrate {
        font-size: 110%;
        padding: 3px 4px;
        width: 20.5%;
    }

    .item-list .symbitem {
        font-size: 98%;
    }

    .item-list .lot-sz {
        width: 20%;
    }

    .modal-content {
        padding: 10px;
    }

    .footer-tab a {
        display: inline-block;
        min-width: 70px;
        padding: 4px 8px;
        font-size: 86%;
        color: #ffdd8c;
        text-align: center;
    }

}
