.dd_chart_table {
    border-collapse: collapse;
    margin: auto;
    text-align: center;
    /*background-color: #f5f5f5;*/
}

.dd_chart_layout_table th {
    border: solid white 3px;
    text-align: center;
    font-weight: bold;
}

.dd_chart_table th {
    border: solid white 3px;
    text-align: center;
    font-weight: bold;
}

.dd_chart_table td {
    border: solid white 3px;
    text-align: center;
}

.dd_chart_table .buy_block_cell {
    background-color: #efa0a0;
}

.dd_chart_table .sell_block_cell {
    background-color: lightblue;
}

.dd_chart_table .buy_header_cell {
    color: darkred;
    vertical-align: middle;
}

.dd_chart_table .sell_header_cell {
    color: darkblue;
    vertical-align: middle;
}

.dd_usdjpy_tz_bs_cell {
    width: 30px
}

.dd_trade_date {
    color: #000 !important;
    white-space: nowrap;
}

.dd_grid_layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.dd_grid_layout .dd_grid_column {
  width: calc(50% - 15px);
  /*background-color:#f5f5f5;*/
  padding-top: 10px;
}
#dd_ccy_ordercount .dd_grid_column {
  background-color:#f5f5f5;
}

.dd_usdjpy_tz_bs_cell_time {
    font-style: italic;
    background-color:white;
}
.rotate {
  display: inline-block;
  transform: rotate(-45deg);
}

#dd_usdjpy_tz_bs .buy_header_cell {
    width: 60px;
    background-color:#dcdcdc;
}
#dd_usdjpy_tz_bs .sell_header_cell {
    width: 60px;
    background-color:#dcdcdc;
}

.dd_ccy_bs_label {
    font-size: 15px;
    font-weight: bold;
}
.dd_usdjpy_tz_bs_label {
    font-size: 14px;
    font-weight: bold;
}
.dd_ccy_price_label {
    font-size: 14px;
    font-weight: bold;
}

/*#dd_ccy_bs {
    background-color:#f5f5f5;
}

#dd_usdjpy_tz_bs {
    background-color:#f5f5f5;
}*/

@media screen and (max-width: 768px) {
    .dd_grid_layout .dd_grid_column {
        width: 100%;
    }
    #dd_usdjpy_tz_bs .buy_header_cell {
        writing-mode: vertical-rl;
        text-orientation: upright;
    }
    #dd_usdjpy_tz_bs .sell_header_cell {
        writing-mode: vertical-rl;
        text-orientation: upright;
    }
    .dd_usdjpy_tz_bs_cell_time {
        white-space: nowrap;
        font-size: 8px;
        min-width: 10px;
    }
    .dd_ccy_bs_label {
        font-size: 11px;
    }
    .dd_usdjpy_tz_bs_label {
        font-size: 11px;
    }
    .dd_ccy_price_label {
        font-size: 11px;
    }
}
