/* Minification failed. Returning unminified contents.
(2,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(52,34): run-time error CSS1039: Token not allowed after unary operator: '-borderColor'
(55,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-secondary'
(56,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color-secondary'
(79,34): run-time error CSS1039: Token not allowed after unary operator: '-borderColor'
(134,32): run-time error CSS1039: Token not allowed after unary operator: '-hoverBgColor'
(161,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color-tertiary'
(168,32): run-time error CSS1039: Token not allowed after unary operator: '-hoverBgTabColor'
(172,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-tertiary'
(173,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-primary'
(188,33): run-time error CSS1039: Token not allowed after unary operator: '-border-color-secondary'
(206,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(207,34): run-time error CSS1039: Token not allowed after unary operator: '-color-box-shadow-surface'
(215,35): run-time error CSS1039: Token not allowed after unary operator: '-borderColor'
(227,28): run-time error CSS1039: Token not allowed after unary operator: '-borderColor'
(253,35): run-time error CSS1039: Token not allowed after unary operator: '-borderColor'
(259,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-row-active-secondary'
(263,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-row-active-secondary'
(493,28): run-time error CSS1039: Token not allowed after unary operator: '-border-color-tertiary'
(502,28): run-time error CSS1039: Token not allowed after unary operator: '-bg-tertiary'
(503,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-primary'
 */
#valuation {
    --textColor: #545b66;
    --bgColorTab: #f8f9fa;
    --bgColorRow: #f7f8f9;
    --activeBgColor: #ffe5bf; /*#ffe5bf  #e1f5fe*/
    --activeBgTabColor: #e1f5fe;
    --hoverBgColor: #ffdead;
    --hoverBgTabColor: #e1f5fe;
    --borderColor: #efefef;
    --activeBorderColor: #1562a1;
}

.valuation-container {
    /*padding-left: 10px;
    padding-right: 10px;*/
    position: relative;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
}
.valuation-container--fullscreen {
    position: absolute;
    top: 45px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 150;
    background-color: #fff;
    margin: 0px;
}
.valuation__top-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    /*color: var(--textColor);
    background-color: var(--bgColorTab);
    border: 1px solid var(--borderColor);
    height: 35px;*/
}
.valuation__top-row-left {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    flex-grow: 1;
}
.valuation__search-symbol {
    /*flex-grow: 1;*/
    border-right: 1px solid var(--borderColor);
    padding: 6px 10px;
    white-space: nowrap;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color-secondary);
    width: 200px;
    height: 30px;
    border-radius: 5px;
    color: #666;
    display: flex;
}
.valuation__search-symbol:hover {
    /*background-color: #fff;*/
}
.valuation__symbol-ico {
    font-size: 13px;
    color: #808181;
}
.valuation__symbol-code {
    margin-left: 10px;
    font-weight: 500;
    user-select: none;
}

.valuation__fields {
    flex-grow: 1;
    position: relative;
    border-right: 1px solid var(--borderColor);
    padding: 6px 10px;
    cursor: default;
}
    .valuation__fields:hover {
        background-color: #fff;
    }
.valuation__field-code {
    font-weight: 500;
    user-select: none;
}
.valuation__field-arrow {
    position: absolute;
    top: 7px;
    right: 10px;
    font-size: 12px;
}

.valuation__field-dropdown {
    display: none;
    width: 100%;
    position: absolute;
    top: -1px;
    left: -2px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 1px 3px 5px #0c0b0b59;
    z-index: 10;
}
.valuation__field-dropdown-header {
    padding-top: 10px;
    padding-left: 7px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f3f3f3;
}
.valuation__field-dropdown-header-text {
    font-weight: 500;
    color: #545B66;
}
.valuation__field-dropdown-body {
    position: relative;
    top: 0px;
    padding: 5px 0px;
    padding-top: 0px;
    max-height: 400px;
    overflow-y: auto;
}
.valuation__field-item {
    display: flex;
    align-items: center;
    padding: 7px 15px;
    white-space: normal;
    position: relative;
}
    .valuation__field-item:hover {
        background-color: var(--hoverBgColor);
    }
.valuation__field-item--active {
    background-color: #fff3d0;
}
.valuation__field-item--disable {
    cursor: not-allowed;
    background-color: #fff !important;
    color: #b3b3b3;
}
.valuation__duration {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    max-width: 100%;
}
.valuation__time-frame {
    /* height: 32px; */
    /* padding: 7px 20px; */
    /* margin-right: 1px; */
    cursor: pointer;
    white-space: nowrap;
    width: 70px;
    height: 30px;
    border-radius: 15px;
    /*background-color: #fff;*/
    border: 1px solid var(--border-color-tertiary);
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .valuation__time-frame:hover {
        background-color: var(--hoverBgTabColor);
    }
.valuation__time-frame--active {
    position: relative;
    background-color: var(--bg-tertiary) !important;
    color: var(--color-text-primary);
    cursor: default;
}
   /* .valuation__time-frame--active:after {
        content: " ";
        width: 100%;
        height: 1px;
        border-bottom: 1px dashed var(--activeBorderColor);
        position: absolute;
        left: 0px;
        bottom: -2px;
    }*/
.valuation__export-excel {
    height: 32px;
    padding: 7px 10px;
    border-left: 1px solid var(--border-color-secondary);
    cursor: pointer;
}
    .valuation__export-excel:hover {
        background-color: #fff;
    }
    .valuation__export-excel img {
        width: 15px;
        max-height: unset;
        max-width: unset;
    }

/* DROPDOWN SEARCH */
.valuation__search-dropdown {
    display: none;
    position: absolute;
    left: 1px;
    top: 35px;
    background-color: var(--bg-surface);
    box-shadow: 1px 2px 3px var(--color-box-shadow-surface);
    border-radius: 2px;
    z-index: 10;
    width: 450px;
}

.valuation__search-header {
    padding: 10px;
    border-bottom: 1px solid var(--borderColor);
    background-color: #fdfdfd;
}

.valuation__search-ico {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #63615f;
}

.valuation__search-input {
    border: 1px solid var(--borderColor);
    outline: none;
    padding: 7px;
    width: 100%;
    padding-right: 30px;
    font-size: 13px;
    text-transform: uppercase;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
    .valuation__search-input::placeholder {
        text-transform: none;
    }
    .valuation__search-input:hover, .valuation__search-input:focus {
        border-color: #66afe9;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    }

.valuation__search-list {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.valuation__search-item {
    padding: 7px 10px;
    border-bottom: 1px solid var(--borderColor);
    display: flex;
    align-items: center;
    cursor: default;
}
.valuation__search-item:hover {
    background-color: var(--bg-row-active-secondary);
}

.valuation__search-item--active {
    background-color: var(--bg-row-active-secondary);
}

.valuation__logo-frame {
    min-width: 65px;
    width: 65px;
    height: 30px;
    text-align: center;
}

    .valuation__logo-frame img {
        max-width: 100%;
        max-height: 100%;
    }

.valuation__stock-frame {
    margin-left: 10px;
}

.valuation__stock-name {
    white-space: nowrap;
    text-overflow: ellipsis;
}

.valuation__stock-alias {
    margin-top: 5px;
    color: #676767;
}

.valuation__search-body {
    max-height: 350px;
    overflow-x: hidden;
    overflow-y: auto;
}

    .valuation__search-body::-webkit-scrollbar {
        width: 6px;
        height: 0px;
    }

    .valuation__search-body::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #efefef;
    }

    .valuation__search-body::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #b6b7b7;
    }

/* CHART */
.valuation__chart-content {
    height: 400px;
    width: 100%;
    margin-top: 10px;
}
.valuation__chart-content--fullscreen {
    margin-top: 10px;
    /*height: 500px;*/
    height: calc(100% - 100px);
}
/*-------*/
/*Tooltip formater of chart*/
.valuation__tooltip-formatter {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    padding: 2px 5px;
    background-color: rgba(247, 247, 247, 0.9);
    color: #0e0e0e;
    border-radius: 2px;
}

.valuation__tooltip-code {
    font-size: 13px;
    font-weight: 700;
    color: #636363;
}

.valuation__tooltip-data {
    display: flex;
    align-items: center;
    padding: 2px 0px;
    font-size: 13px;
}

.valuation__tooltip-color {
    height: 5px;
    width: 20px;
    margin-right: 5px;
}

.valuation__tooltip-color--price {
    background-color: rgb(0, 145, 18);
}

.valuation__tooltip-color--ratios {
    background-color: rgb(134, 13, 152);
}

.valuation__tooltip-name {
    margin-right: 10px;
}

.valuation__tooltip-value {
    font-weight: 500;
}

.valuation__tooltip-trading-date {
    margin-top: 5px;
    font-weight: 500;
}

.valuation__tooltip-trading-date-value {
}


/* ---------------- */
/* Tooltip at top row */

.valuation__toolbar-tooltip {
    position: relative;
}

    .valuation__toolbar-tooltip:before {
        content: attr(data-tooltip);
        font-weight: normal;
        margin-top: -15px;
        /* basic style */
        background-color: #335295;
        color: #fff;
        padding: 5px 10px;
        border-radius: 5px;
        white-space: nowrap;
        /* vertically center */
        transform: translate(-40%, -100%);
        text-align: center;
    }

    .valuation__toolbar-tooltip--search:before {
        transform: translate(-10%, -100%);
    }
    .valuation__toolbar-tooltip--fields:before {
        transform: translate(-20%, -100%);
    }
    .valuation__toolbar-tooltip:after {
        content: " ";
        top: 0px;
        margin-top: -17px;
        border-width: 6px;
        border-style: solid;
        border-color: #335295 transparent transparent transparent;
    }

    .valuation__toolbar-tooltip:before, .valuation__toolbar-tooltip:after {        
        display: none;
        pointer-events: none;
        position: absolute;
        z-index: 10;
    }

.valuation__time-frame:hover .valuation__toolbar-tooltip:before,
.valuation__time-frame:hover .valuation__toolbar-tooltip:after,
.valuation__export-excel:hover .valuation__toolbar-tooltip:before,
.valuation__export-excel:hover .valuation__toolbar-tooltip:after,
.valuation__search-symbol:hover .valuation__toolbar-tooltip:before,
.valuation__search-symbol:hover .valuation__toolbar-tooltip:after,
.valuation__fields:hover .valuation__toolbar-tooltip:before,
.valuation__fields:hover .valuation__toolbar-tooltip:after {
    display: block;
}



/* ----- */
/* MEDIA SCREEN */
@media screen and (max-width: 480px) {
    .valuation__top-row {
        overflow-x: auto;
    }    
    .valuation__search-dropdown {
        width: 350px;
    }
    .valuation__chart-content {
        height: 300px;
    }
    .valuation__chart-content--fullscreen {
        height: 300px;
    }
    .valuation__fields
     {
        padding-right: 35px;
    }
    .valuation__field-dropdown {
        position: fixed;
        left: calc(50% - 110px);
        top: 50px;
        box-shadow: 0px 3px 8px #0c0b0b8c;
        z-index: 150;
        width: 250px;
    }
    .valuation__time-frame:hover .valuation__toolbar-tooltip:before,
    .valuation__time-frame:hover .valuation__toolbar-tooltip:after,
    .valuation__export-excel:hover .valuation__toolbar-tooltip:before,
    .valuation__export-excel:hover .valuation__toolbar-tooltip:after,
    .valuation__search-symbol:hover .valuation__toolbar-tooltip:before,
    .valuation__search-symbol:hover .valuation__toolbar-tooltip:after,
    .valuation__fields:hover .valuation__toolbar-tooltip:before,
    .valuation__fields:hover .valuation__toolbar-tooltip:after {
        display: none;
    }
}

@media screen and (min-width: 481px) and (max-width: 820px) {
    .valuation__chart-content {
        height: 320px;
    }
    .valuation__chart-content--fullscreen {
        height: 320px;
    }
}

.valuation__fields-opt {
    display: flex;
    align-items: center;
    gap: 10px;
}

.valuation__fields-opt-item {
    width: 65px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid var(--border-color-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    cursor: pointer;
}

.valuation__fields-opt-item--active {
    background-color: var(--bg-tertiary) !important;
    color: var(--color-text-primary);
    cursor: default;
}

#valuation-chart .highcharts-container {
    /*background: url(/content/images/Vietstock_logo_80x80.png) no-repeat 80px calc(100% - 80px);*/
    background-size: 40px;
    background: none;
}
