.h {
    left: 1px;
    top: 1px;
    right: 15px;
    height: 15px;
    line-height: 13px;
    font-size: 11px;
    text-align: left;
    cursor: default;
    padding: 1px 5px !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bfcddb', endColorstr='#d6e3f1', GradientType=1);
}
.up {
    color: blue;
}
.down {
    color: red;
}
th {
    text-align: left;
    font-weight: normal;
    background: #f9f9f9;
    height: 22px;
    border-left: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}
td {
    border: #ebebeb solid 1px;
}
.buttons {
    text-align: center;
}
.bid-ask-prices {
    text-align: center;
    font-size: 22px;
}
#sellBtn,
#buyBtn {
    width: 48%;
}
#closeBtn {
    width: 90%;
    margin-bottom: 10px;
}
#placeBtn,
#cancelBtn {
    width: 90%;
}
#tradechart,
.tradingview-widget-container,
#tradingview_82958,
#tradechart > div,
#tradechart > div > div,
#tradechart > div > div > div {
    /* min-height: 400px; */
    height: 400px;
}
.d-td {
    display: inline-block;
    width: 32.7%;
    text-align: right;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 13px;
}
.d-th {
    background: #f9f9f9;
    height: 22px;
    /* border-left: 1px solid #ebebeb; */
    border-bottom: 1px solid #ebebeb;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.d-tr {
    border-bottom: #ebebeb solid 1px;
    display: flex;
    justify-content: space-between;
}
.d-td:first-child {
    text-align: left;
}
.d-td {
    border-right: #ebebeb solid 1px;
}
.d-td:last-child {
    border-right: none;
}
.symbol-table {
    border-left: #ebebeb solid 1px;
    border-top: #ebebeb solid 1px;
}

.form-group .inputLabel {
    font-weight: normal;
}


@media (max-width: 1400px ) {
    .bid-ask-prices {
        font-size: 20px;
    }
}



@media ( max-width: 1201px ) {
    .navbar-fixed-top .navbar-right {
        width: auto;
    }
}



#symbols {
    max-width: 260px;
}


.symbol-table {
    border-left: none;
}

#terminal-page .custom_card_container {
    height: 93vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
}

#terminal-page .custom_row_conatainer {
    flex-wrap: nowrap;
    height: 60%;
}

#table-order-open {
    height: 100%;
}

#accountPjax {
    height: 40%;
}


.container-fluid {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
}

#accountPjax .table_row_container {
    height: 85%;
    overflow: auto;
}

body {
    overflow: hidden;
}

.card .body {
    height: 100%;
}

#terminal-page .market_watch {
    width: 250px;
    overflow: auto;
    border: 1px solid #ebebeb;
}

#terminal-page .market_wid {
    width: 75%;
    margin: 0 5px;
}

#terminal-page .term_order_form {
    width: 250px;
    border: 1px solid #ebebeb;
    padding: 5px 10px;
}

#terminal-page .custom_content_tab {
    width: 100%;
    padding-top: 0;
}

#terminal-page .custom_content_tab .grid-view {
    max-height: 200px;
    width: 100%;
    display: flex;
}

#terminal-page .custom_content_tab tbody td {
    padding: 0 0.75rem;
    max-height: 30px;
}

.block-header {
    margin: 0 !important;
}

#left-sidebar {
    display: none;
}

#left-sidebar.active {
    display: block;
    left: 0 !important;
}

#wrapper #main-content {
    width: 100%;
    height: 93vh;
    margin-top: 50px;
}


.d-td {
    width: 195px;
    padding-right: 5px;
}
#sellBtn, #buyBtn {
    text-align: center;
    padding: 5px 0;
}

.balance_row_container {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 2px 5px;
}

.navbar-fixed-top .navbar-arr {
    /* display: none; */
}

.form-group .select2-container--krajee .select2-selection--single {
    padding: 0px 24px 0px 12px;
    height: 21px;
}

.form-group .select2-container--krajee .select2-selection--single .select2-selection__arrow {
    height: 20px;
}

.form-group .inlineInput{
    height: 21px;
}

#tradechart, .tradingview-widget-container, #tradingview_82958, #tradechart > div, #tradechart > div > div, #tradechart > div > div > div {
    height: 100%;
}
#terminal-page .custom_content_tab .grid-view th, #terminal-page .custom_content_tab .grid-view td {
    padding: 0 5px;
}

#terminal-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


#tradechart {
    height: 100% !important;
    min-height: auto;
}

#tradechart, .tradingview-widget-container, #tradingview_82958, #tradechart > div, #tradechart > div > div, #tradechart > div > div > div {
    min-height: auto;
}

@media only screen and (max-width: 1350px) and (min-width: 1201px){
    #wrapper #main-content{
        width: 100% !important;
    }

}

@media ( max-width: 900px ) {
    body {
        overflow: auto;
    }
    #terminal-page .custom_card_container {
        height: auto;
    }

    #terminal-page .custom_row_conatainer {
        flex-direction: column;
    }

    #terminal-page .market_wid {
        width: 100%;
        margin: 20px 0;
    }

    #terminal-page .custom_row_conatainer {
        max-height: unset;
    }

    #tradechart, .tradingview-widget-container, #tradingview_82958, #tradechart > div, #tradechart > div > div, #tradechart > div > div > div {
        height: 400px;
    }
    #terminal-page .market_watch {width: 100%;}
    #terminal-page .term_order_form {width: 100%}
}

@media (min-width: 900px)  and ( max-height: 800px ) {
    #terminal-page .custom_row_conatainer {
        max-height: 450px;
    }
}

@media (max-width: 1400px ) {

    .bid-ask-prices {
        font-size: 20px;
    }
}
