﻿/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: "Consolas", "Courier", "Montserrat", "Helvetica", "Arial", "sans-serif"
}

th {
    white-space: nowrap;
    text-align: center !important;
}

td {
    white-space: nowrap;
}

.auto-min-width {
    white-space: nowrap;
    min-width: fit-content;
}

.search-box {
    min-width: 192px !important;
}

@media (max-width: 376px) {
    .header-title-hidden {
        display: none
    }
}

/* --------------- MudBlazor --------------- */
:host {
    --mud-appbar-height: 48px;
}

.mud-table-container {
    overflow: auto;
}

.mud-table-toolbar {
    height:auto;
    .mud-select {
        /* 툴바 내부의 mud-select에만 적용될 스타일 */
        margin-top: -8px !important;
    }
}

.mud-date-picker {
    width: 136px;
    min-width: 136px;
}

.mud-select-min-width {
    min-width: 128px;
}

.mud-select-multi-min-width {
    min-width: 192px !important;
}

.mud-button {
    white-space: nowrap;
    min-width: fit-content !important;
    min-height: 30.75px;
    padding: 4px 10px !important;
    font-size: .8125rem !important;
}

.mud-input-control.mud-input-control-margin-dense.mud-input-outlined-with-label {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.mud-field-min-width {
    min-width: 128px;
}

/* --------------- MudBlazor --------------- */

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.symbol-autocomplete {
    min-width: 256px;
}

.flex-x-scroll-baseline-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    align-items: baseline;
    gap: 12px;
    /* IE and Edge */
    -ms-overflow-style: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

    /*Chrome, Safari, Opera*/
    .flex-x-scroll-baseline-container::-webkit-scrollbar {
        display: none;
    }

.flex-x-scroll-center-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    align-items: center;
    gap: 12px;
    /* IE and Edge */
    -ms-overflow-style: none;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

    /*Chrome, Safari, Opera*/
    .flex-x-scroll-center-container::-webkit-scrollbar {
        display: none;
    }

/* 전체 레이아웃 틀 */
.auto-height-container {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    overflow: hidden;
}

    .auto-height-container .mud-table {
        height: 100% !important;
        display: flex;
        flex-direction: column;
    }

    .auto-height-container .mud-table-container {
        flex: 1 1 0%;
        overflow-y: auto;
    }


.selected-row {
    background-color: #1E88E5 !important;
}

    .selected-row > td {
        color: white !important;
    }

        .selected-row > td .mud-input {
            color: white !important;
        }

.positive {
    color: orangered
}

.positive-right {
    color: orangered !important;
    text-align: right;
}

.negative {
    color: dodgerblue
}

.negative-right {
    color: dodgerblue !important;
    text-align: right;
}

.spring {
    color: #00A845;
}

.summer {
    color: OrangeRed;
}

.autumn {
    color: Maroon;
}

.winter {
    color: #3B3B3B;
}

.market_caution {
    color: #F7CA73;
}

.market_warning {
    color: #E97415;
}

.fastlane-alert {
    color: #B71C1C !important;
    font-weight: bold !important;
}
