/* stock__style v1.2 2022-10-06  */

/* style lib
bootstrap-5.1.0
ite2 layout-style__left+right__v1.0
*/

/*  

$$000-stock default style
    $0-1__stock__all
    $0-2__stock__font
    $0-3__stock__popup
    $0-4__stock__navber
    $0-5__stock__main
    $0-6__stock__tab    
    $0-7__stock__table  
    $0-8__stock__input     
    $0-9__stock__border
    $0-10__stock__btn
    $0-11__stock__notify
    $0-12__stock__flex
    $0-13__stock__scrollbar
    $0-14__stock__horizontal scrollbar
    $0-15__stock__tree list

$$001-page-template
$$002-index
$$003-stock__optional-stock
    $$003-B-stock__optional-stock-tv
$$004-stock__intelligence-stock
$$005-stock__strategy-setting
$$006-stock__calendar
$$007-stock__admin--move
$$008-stock__user
$$009-stock__register
$$010-stock__login
$$011-stock__simulation
$$012-stock__aireport
---

$$i000-info page
$$i00-stock-page-info
$$i01-stock-home-info

*/

/*google ad*/
.adsbygoogle {
    display: none !important;
    max-width: 100%;
}


/* $$000-stock default style --------------------------------------------------------------------------- */
/* :root */
:root {
    --StockIndexNoticeHeightA: calc(100vh - 90px);
    --StockIndexNoticeHeightB: calc(var(--StockIndexNoticeHeightA) / 2);
    --StockIndexNoticeHeightC: calc(var(--StockIndexNoticeHeightB) - 70px);
    --FontfamilyNum: "Nunito", Microsoft JhengHei, "Microsoft JhengHei", sans-serif, Arial !important;
    --FontfamilyIcon: "Icon";
    --PriceUpperLimitColor: #fff;
    --PriceUpperLimitBg: #f60000;
    --PriceLowerLimitColor: #fff;
    --PriceLowerLimitBg: #1d9b1d;
    --StockPageColTwoColunmnLeft: 230px;
    --StockBgDarkPurple4: #0f0d2a;
    --StockBgDarkPurple3: #191936;
    --StockBgDarkPurple2: #32326b;
    --StockBorderDarkPurple2: #20203f;
    --StockBorderDarkPurple: #44445f;
    --StockFontColorLightGary6: #f0f0f0;
    --StockFontColorLightGary5: #e0e0e0;
    --StockFontColorLightGary4: #c7c7c7;
    --StockFontColorLightGary3: #b4b4b4;
    --StockFontColorLightGary2: #a0a0a0;
    --StockFontColorLightGary: #868686;
}

/* font family - nunito */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 300;
    src: url('../font/Nunito-Light.ttf') format('opentype');
    font-display: fallback
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('../font/Nunito-Regular.ttf') format('opentype');
    font-display: fallback
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 500;
    src: url('../font/Nunito-Medium.ttf') format('opentype');
    font-display: fallback
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: url('../font/Nunito-Bold.ttf') format('opentype');
    font-display: fallback
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    src: url('../font/Nunito-ExtraBold.ttf') format('opentype');
    font-display: fallback
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 900;
    src: url('../font/Nunito-Black.ttf') format('opentype');
    font-display: fallback
}

@font-face {
    font-family: 'Icon';
    font-style: normal;
    font-weight: 900;
    src: url('../lib/icomoon/fonts/icomoon.ttf') format('opentype');
    font-display: fallback
}


/*------*/
/*firefox css*/
@-moz-document url-prefix() {
    * {
        scrollbar-color: #b4b4b4 transparent;
        scrollbar-width: thin;
        scroll-behavior: smooth;
    }
}

/*------*/

body {
    background-color: #fff;
    font-size: 14px;
}

.stock-page {
    zoom: 100%;
    transition: zoom 0.3s ease-in-out;
}

/*.tool-item__type {
    display: none;
}*/

.main-body > .dis-flex {
    /*min-height: 847px;*/
    /*min-height: calc(100vh - 50px);*/
    height: 100%;
}

@media screen and (max-height: 850px) {
    .main-body > .dis-flex {
        min-height: 100%;
    }
}

@media screen and (max-width: 1199px) {
    .main-body > .dis-flex {
        /*min-height: calc(100vh - 90px);*/
        align-content: start;
    }
}

@media screen and (max-width: 1028px) {
    .main-body > .dis-flex {
        /*min-height: calc(100vh - 100px);*/
        align-content: start;
    }
}

@media screen and (max-width: 991px) {
    .main-body > .dis-flex {
        height: 100%;
        /*min-height: calc(100vh - 160px);*/
        align-content: start;
    }
}

.main-body > .dis-flex.stock-page__two-column {
    min-height: calc(100vh - 102px);
}


@media screen and (max-width: 991px) {
    .main-body > .dis-flex.stock-page__two-column {
        display: unset;
    }

        .main-body > .dis-flex.stock-page__two-column .col-left .stock-page__tab-nav {
            position: sticky;
            top: 0;
            z-index: 7;
            background: #0e0e2a;
        }
}


/* $0-1__stock__all */
.stock-bg-dark {
    /* background: #212534; */
    /*background: #2b384f;*/
    /*background: #2c3a4e;*/
    background: var(--StockBgDarkPurple4);
    color: #fff;
}

/* $0-2__stock__font */
.font-color__light-green {
    color: #1ea01e;
    font-weight: 500;
    font-family: var(--FontfamilyNum);
}

.font-color__light-red {
    font-weight: 500;
    font-family: var(--FontfamilyNum);
}

.font-num__w200 {
    font-family: var(--FontfamilyNum);
    font-weight: 200;
}

.font-num__w300 {
    font-family: var(--FontfamilyNum);
    font-weight: 300;
}

.font-num__w400 {
    font-family: var(--FontfamilyNum);
    font-weight: 400;
}

.font-num__w500 {
    font-family: var(--FontfamilyNum);
    font-weight: 500;
}

.font-num__w600 {
    font-family: var(--FontfamilyNum);
    font-weight: 600;
}

.font-num__w700 {
    font-family: var(--FontfamilyNum);
    font-weight: 700;
}

.font-num__w800 {
    font-family: var(--FontfamilyNum);
    font-weight: 800;
}

.font-num__w900 {
    font-family: var(--FontfamilyNum);
    font-weight: 900;
}

.stock-page .font-color__white {
    color: #333;
}

.stock-page.stock-bg-dark .font-color__white {
    color: #fff;
}

.font-color__title {
    /*color: #616aac;*/
    color: #d0d4ff;
}

.font-color__title2 {
    color: #8c95cd;
}

.form-text {
    margin-top: .25rem;
    font-size: 13px;
    color: #9296bf;
}

/* $0-3__stock__popup */
.stock-bg-dark .modal {
    color: #212529;
}

    .stock-bg-dark .modal > *,
    .stock-bg-dark .modal .table {
        color: #212529;
    }

.stock-bg-purple {
    background: #e6e6e6;
}

#stock-optional__popup__rename-optional-list .modal-footer,
#stock-simulation__popup__edit .modal-footer {
    justify-content: space-between;
}

/* $0-4__stock__navber */
.navbar.navbar-position__left-side {
    width: 68px;
    background: #2d3270;
    border-color: #606b7b;
    border: 0;
    box-shadow: 0 0 5px rgba(74,52,255,0.4);
    zoom: 100%;
}

@media screen and (max-width:991px) {
    .rwd-large .navbar.navbar-position__left-side {
        position: static;
    }
}

.stock-bg-dark .navbar.navbar-position__left-side {
    /* background: #212636; */
    /* background: #1b1f2c; */
    /* background: #212534; */
    /*background: #2b384f;*/
    /*background: #0f0d2a;*/
    background: var(--StockBgDarkPurple3);
    /* border-color: #252c40; */
    /* border-color: #686e83; */
    /*border-color: #464e6a;*/
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.stock-bg-purple .navbar.navbar-position__left-side {
    background: #2f265c;
    border-color: #464e6a;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

@media screen and (max-width: 991px) {
    .stock-page .navbar.navbar-position__left-side {
        width: 100%;
    }

    .stock-bg-dark .navbar.navbar-position__left-side {
        border-bottom: 1px solid #686e83;
    }
}

.stock-page .navbar .navbar__header {
    padding: 0;
}

@media screen and (max-width: 991px) {
    .stock-page .navbar .navbar__header {
        padding: 10px;
    }
}

.stock-bg-dark .navbar-position__left-side .offcanvas-header .offcanvas-btn__close,
.stock-bg-purple .navbar-position__left-side .offcanvas-header .offcanvas-btn__close {
    color: #fff !important;
}


.stock-bg-purple .navbar__header .page-name {
    font-size: 14px;
    background: #423680;
    color: #fff;
    padding-bottom: 15px;
    margin-top: -10px;
}

@media screen and (max-width: 991px) {
    .stock-bg-purple .page-name {
        display: none;
    }
}

.stock-page .navbar .navbar-brand {
    padding: 0;
    margin-bottom: 10px;
    width: 67px;
}

@media screen and (max-width: 991px) {
    .stock-page .navbar .navbar-brand {
        padding: 0px;
        right: 0;
        left: 0;
        top: 3px;
        position: absolute;
    }
}

.stock-bg-dark .navbar .navbar-brand {
    background: #fff;
}

.stock-page .navbar-light .navbar-nav .nav-link {
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
    text-align: center;
    min-width: 65px;
}

.stock-page .navbar-light .navbar-nav .nav-link,
.stock-bg-dark .navbar-light .navbar-nav .nav-link,
.stock-bg-purple .navbar-light .navbar-nav .nav-link {
    color: #e7e7e7;
}

@media screen and (max-width: 991px) {
    .stock-page .navbar-light .navbar-nav .nav-link {
        padding-left: 32px;
        text-align: left;
    }
}

/*.stock-page .navbar-light .navbar-nav .nav-link:hover,
.stock-page .navbar-light .navbar-nav .nav-link:focus {
    color: #673AB7;
    background: #f4f5ff;
}*/


.stock-page .nav-link {
    color: #333;
    transition: none;
    font-size: 14px;
}

.stock-bg-dark .nav-link {
    color: #fff;
    transition: none;
}

.stock-page .navbar-light .navbar-nav .nav-link:hover,
.stock-page .navbar-light .navbar-nav .nav-link:focus,
.stock-bg-dark .navbar-light .navbar-nav .nav-link:hover,
.stock-bg-dark .navbar-light .navbar-nav .nav-link:focus {
    color: #1b1f2c;
    background: #ffffff;
}

.stock-bg-purple .navbar-light .navbar-nav .nav-link:hover,
.stock-bg-purple .navbar-light .navbar-nav .nav-link:focus {
    color: #2f265c;
    background: #ffffff;
}

.stock-page .navbar-light .navbar-nav .nav-link .icon,
.stock-bg-purple .navbar-light .navbar-nav .nav-link .icon {
    padding: 0;
    font-size: 35px;
}

.stock-page .navbar-light .navbar-nav .nav-link .icon,
.stock-bg-dark .navbar-light .navbar-nav .nav-link .icon {
    color: #fff;
}


.stock-bg-purple .navbar-light .navbar-nav .nav-link .icon {
    color: #fff;
}

.stock-page .navbar-light .navbar-nav .nav-link span {
    font-size: 14px;
}

@media screen and (max-width: 991px) {
    .stock-page .navbar-light .navbar-nav .nav-link br {
        display: none;
    }

    .stock-page .navbar-light .navbar-nav .nav-link .icon {
        display: inline-block;
        vertical-align: middle;
        font-size: 30px;
        padding-right: 5px;
    }

    .stock-page .navbar-light .navbar-nav .nav-link span {
        vertical-align: middle;
    }
}

.stock-page .navbar-light .navbar-nav .nav-link:hover .icon,
.stock-page .navbar-light .navbar-nav .nav-link:focus .icon,
.stock-bg-dark .navbar-light .navbar-nav .nav-link:hover .icon,
.stock-bg-dark .navbar-light .navbar-nav .nav-link:focus .icon {
    color: #1b1f2c;
}

.stock-bg-purple .navbar-light .navbar-nav .nav-link:hover .icon,
.stock-bg-purple .navbar-light .navbar-nav .nav-link:focus .icon {
    color: #2f265c;
}


@media screen and (max-width: 991px) {
    .stock-bg-dark .navbar-collapse {
        box-shadow: #686e83 0px 5px 0px;
    }
}

.stock-bg-dark .navbar-light .navbar-toggler-icon,
.stock-bg-purple .navbar-light .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23d3d9e9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.stock-bg-dark .navbar-position__left-side .offcanvas-tool,
.stock-bg-purple .navbar-position__left-side .offcanvas-tool {
    color: #fff;
}

/* $0-5__stock__main */
.stock-page .main {
    margin-left: 68px;
    zoom: 100%;
}

@media screen and (max-width:991px) {
    .rwd-large .main {
        padding-top: 15px;
    }
}

.stock-page .main-body {
    padding: 0px;
}

@media screen and (max-width: 991px) {
    .stock-page .main-body {
        padding: 0px 10px 10px 10px;
    }
}

.main-head__tool .tool-item__search .form-control,
.stock-optional__add-stock__word-search .form-control,
.stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .form-control {
    padding: 2px 5px 0 5px;
    background-color: #fff;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #bdc4ed;
}

    .main-head__tool .tool-item__search .form-control:hover,
    .stock-optional__add-stock__word-search .input-group .form-control:hover,
    .stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .input-group .form-control:hover {
        background-color: #f4f5ff;
    }

.stock-bg-dark .main-head__tool .tool-item__search .form-control,
.stock-bg-dark .stock-optional__add-stock__word-search .form-control,
.stock-bg-dark .stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .form-control {
    background-color: var(--StockBgDarkPurple4);
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #dfdfdf;
    color: #fff;
}

    .stock-bg-dark .main-head__tool .tool-item__search .form-control:hover,
    .stock-bg-dark .stock-optional__add-stock__word-search .input-group .form-control:hover,
    .stock-bg-dark .stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .input-group .form-control:hover {
        background-color: var(--StockBorderDarkPurple);
    }

.main-head__tool .tool-item__search .btn,
.stock-optional__add-stock__word-search .input-group .btn,
.stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .input-group .btn {
    border-color: #bdc4ed;
    border-left-width: 0;
    border-right-width: 0;
    border-top-width: 0;
    color: #bdc4ed;
}

.stock-bg-dark .main-head__tool .tool-item__search .btn,
.stock-bg-dark .stock-optional__add-stock__word-search .input-group .btn,
.stock-bg-dark .stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .input-group .btn {
    border-color: #dfdfdf;
    color: #fff;
}

.main-head__tool .tool-item__search input::placeholder,
.stock-optional__add-stock__word-search .input-group input::placeholder,
.stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .input-group input::placeholder {
    color: #3a40b7 !important;
}

.stock-bg-dark .main-head__tool .tool-item__search input::placeholder,
.stock-bg-dark .stock-optional__add-stock__word-search .input-group input::placeholder,
.stock-bg-dark .stock-page__condition-search__before .search-row .col-md-6:nth-child(2) .input-group input::placeholder {
    color: var(--StockFontColorLightGary3) !important;
}

.main .main-head__tool [class^="tool-item"] {
    padding: 2px 5px 0 5px;
}

.main-head__tool .tool-item__link {
    border: 1px solid #3447b6;
    color: #3447b6;
}

    .main-head__tool .tool-item__link:hover {
        border: 1px solid #3447b6;
        background: #3447b6;
        color: #fff;
    }

.stock-bg-dark .main .main-head__tool [class^="tool-item"] {
    color: #e7e7e7;
    border-color: #e7e7e7;
}

.stock-bg-dark .main .main-head__tool .tool-item__link.tool-item__link.user-buy a {
    color: #e7e7e7;
}

.stock-bg-dark .main .main-head__tool .tool-item__link:hover,
.stock-bg-dark .main .main-head__tool .tool-item__link.user-buy:hover a {
    border-color: #fff;
    background: #fff;
    color: #1b1f2c;
}

.stock-bg-dark .main .main-head__tool .tool-item__line {
    border-color: var(--StockBorderDarkPurple);
}

@media screen and (max-width:1000px) {
    .main-head__tool .tool-item__line {
        margin-left: 0px;
        padding: 0 !important;
    }
}

.stock-bg-dark .col__row {
    /* background: #242847; */
    background: #272d40;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.stock-page__col-head,
.stock-optional__col-head {
    padding: 0px 0px 5px 0px;
}

.stock-page .main-head {
    max-width: 100%;
    padding: 5px 16px 3px 16px;
    /*position: absolute;;*/
    z-index: 5;
    right: 0px;
}

.stock-page .main-head__title .title {
    position: relative;
}

.stock-bg-dark .main-head__title .title {
    color: #fff;
}

.stock-page .main-head__title .stitle {
    position: relative;
    margin-bottom: -5px;
}

.stock-bg-dark .main-head__title .stitle {
    color: #d3daef;
}

/* $0-6__stock__tab */
.stock-page_tabnav {
    border: 0;
}

@media screen and (max-width: 991px) {
    .stock-page_tabnav {
        /* position: fixed; */
        bottom: 0;
        width: 100%;
        border-top: 1px solid #495270;
        overflow-x: auto;
    }

        .stock-page_tabnav .nav {
            width: 100%;
            /*min-width: 880px;*/
        }
}

.stock-page_tabnav .nav-link {
    padding: 2px 0px 0px 0px;
    margin-bottom: 2px;
    text-align: center;
    width: 33.3333%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 31px;
    line-height: 1;
}

@media screen and (max-width: 991px) {
    .stock-page_tabnav .nav-link {
        width: 16.66666%;
        padding: 1px 0;
        overflow-x: auto;
        min-width: 140px;
    }
}

@media screen and (max-width: 560px) {
    .stock-page_tabnav .nav-link {
        width: 33.3333%;
        min-width: auto;
    }
}

.stock-page_tabnav .dropdown-menu,
.stock-simulation__bookmark-btn .dropdown-menu,
.stock-optional-tv__bookmark-btn .dropdown-menu,
.stock-simulation .dropdown-menu {
    border-radius: 4px;
    min-width: auto;
    padding: 3px 0;
}

    .stock-page_tabnav .dropdown-menu .dropdown-divider,
    .stock-simulation .dropdown-menu .dropdown-divider,
    .stock-optional-tv__bookmark-btn .dropdown-menu .dropdown-divider {
        margin: 0;
    }

.dropdown-menu .dropdown-item {
    cursor: pointer;
}

.stock-page_tabnav .dropdown-menu .delete.active,
.stock-page_tabnav .dropdown-menu .delete:active {
    background-color: #d12520;
}

.stock-page_tabnav .nav-link .name {
    width: calc(100% - 20px);
    margin: 0;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stock-page_tabnav .nav-link .name {
}

.stock-page_tabnav .nav-link .icon-more-vertical {
    width: 23px;
    line-height: 2.5;
}

.nav-tabs,
.stock-bg-dark .nav-tabs {
    /*border-color: #495270;*/
    border-color: transparent;
}

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        background-color: #3a40b7;
        border-color: #3a40b7;
        color: #fff;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        background-color: #3a40b7;
        border-color: #3a40b7;
        color: #fff;
    }

    .stock-bg-dark .nav-tabs .nav-item.show .nav-link,
    .stock-bg-dark .nav-tabs .nav-link.active {
        color: #495057;
        background-color: #fff;
        border-color: #fff;
    }

.stock-page_tabnav .nav-tabs .nav-link {
    color: #333;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #f4f5ff;
    border-left: 1px solid #f4f5ff;
    border-radius: 0;
    background: #fff;
}


    .stock-page_tabnav .nav-tabs .nav-item.show .nav-link,
    .stock-page_tabnav .nav-tabs .nav-link.active {
        color: #fff;
        background-color: #3a40b7;
        border-color: #3a40b7;
    }

    .stock-page_tabnav .nav-tabs .nav-link:focus,
    .stock-page_tabnav .nav-tabs .nav-link:hover {
        border-color: #f4f5ff;
    }

.stock-bg-dark .stock-page_tabnav .nav-tabs .nav-link {
    /*color: #ffffff;*/
    color: #f0f0f0;
    border: 1px solid var(--StockBgDarkPurple3);
    border-radius: 0;
    /*background: transparent;*/
    background: var(--StockBgDarkPurple3);
}

    .stock-bg-dark .stock-page_tabnav .nav-tabs .nav-item.show .nav-link,
    .stock-bg-dark .stock-page_tabnav .nav-tabs .nav-link.active {
        color: #000;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
    }

    .stock-bg-dark .stock-page_tabnav .nav-tabs .nav-link:focus,
    .stock-bg-dark .stock-page_tabnav .nav-tabs .nav-link:hover {
        border-color: #e9ecef #e9ecef #dee2e6;
    }

/* $0-7__stock__table */
.table {
    /*color: #fff;*/
    font-weight: 100;
    border-color: #f4f5ff;
}

.stock-bg-dark .table {
    color: #fff;
    font-weight: 100;
    border-color: var(--StockBorderDarkPurple2);
}

.table thead th,
.table td,
.table th,
.table > :not(:last-child) > :last-child > * {
    border-color: #dcdde6;
    border-bottom-color: #dcdde6;
    padding: 2px 6px;
}

.stock-bg-dark .table thead th,
.stock-bg-dark .table td,
.stock-bg-dark .table th,
.stock-bg-dark .table > :not(:last-child) > :last-child > * {
    border-color: var(--StockBorderDarkPurple2);
    border-bottom-color: var(--StockBorderDarkPurple2);
    padding: 4px 5px;
}

.stock-bg-purple .table {
    border-color: #eee;
    color: #444;
}

.stock-page .table > thead {
    position: sticky;
    background: #fff;
    top: 0;
    z-index: 6;
    border-bottom: 3px solid #dcdde6;
}

.stock-page.stock-bg-dark .table > thead {
    border-bottom: 3px solid #3c3569;
}

.stock-bg-dark .table > thead {
    background: #0d0f2a;
}

.stock-bg-dark .modal .table thead,
.stock-bg-dark .modal .table tr th:last-child,
.stock-bg-dark .modal .table tr td:last-child {
    background: #fff !important;
}

.stock-bg-purple .table thead th,
.stock-bg-purple .table td,
.stock-bg-purple .table th,
.stock-bg-purple .table > :not(:last-child) > :last-child > * {
    border-color: #eee;
    border-bottom-color: #eee;
}


.table > :not(:last-child) > :last-child > * {
}

.stock-bg-dark .modal .table thead th,
.stock-bg-dark .modal .table td,
.stock-bg-dark .modal .table th {
    border-color: #dee2e6 !important;
}

.table-bordered > :not(caption) > * {
    border-color: #dee2e6;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(255 255 255 / 5%);
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #fbfbfb;
    color: #000;
}

.stock-bg-dark .table-striped tbody tr:nth-of-type(odd) {
    background: #191938;
    color: #fff;
}

.stock-bg-dark .modal .table.table-hover > tbody > tr:hover,
.table.table-hover > tbody > tr:hover {
    /*background-color: #ecefff;*/
    background-color: #f3f4fd;
    color: #333;
}

.table.table-hover tbody:hover tr td[rowspan]:hover {
    background-color: #dbdfff;
}

.stock-bg-dark .table.table-hover > tbody > tr:hover {
    background-color: #2b2b58;
    color: #fff;
    /*--bs-table-accent-bg: auto;*/
}

.stock-page .table-hover.table-fixed__1td > tbody > tr:hover td:nth-child(1),
.stock-page .table-hover.table-fixed__2td > tbody > tr:hover td:nth-child(1),
.stock-page .table-hover.table-fixed__2td > tbody > tr:hover td:nth-child(2),
.stock-page .table-hover.table-fixed__3td > tbody > tr:hover td:nth-child(1),
.stock-page .table-hover.table-fixed__3td > tbody > tr:hover td:nth-child(2),
.stock-page .table-hover.table-fixed__3td > tbody > tr:hover td:nth-child(3) {
    background-color: #f3f4fd;
}

.stock-bg-dark .table-hover.table-fixed__1td > tbody > tr:hover td:nth-child(1),
.stock-bg-dark .table-hover.table-fixed__2td > tbody > tr:hover td:nth-child(1),
.stock-bg-dark .table-hover.table-fixed__2td > tbody > tr:hover td:nth-child(2),
.stock-bg-dark .table-hover.table-fixed__3td > tbody > tr:hover td:nth-child(1),
.stock-bg-dark .table-hover.table-fixed__3td > tbody > tr:hover td:nth-child(2),
.stock-bg-dark .table-hover.table-fixed__3td > tbody > tr:hover td:nth-child(3) {
    background-color: #2b2b58;
}

.stock-bg-dark .table.table-hover tbody tr td:hover,
.stock-bg-dark .table.table-hover tbody:hover tr td[rowspan]:hover {
    background-color: #394184 !important;
}

.table.table-hover tbody tr td:hover,
.stock-bg-dark .modal .table.table-hover tbody tr td:hover,
.stock-bg-dark .modal .table.table-hover tbody:hover tr td[rowspan]:hover {
    background-color: #e2e7fc !important;
}

.table a {
    color: #fff;
    /*text-decoration: underline;*/
}

.stock-page .table-tool .form-control {
    /* height: 26px; */
    padding: 0px 8px;
}

.stock-bg-dark .table-tool .form-control {
    /* background: #212534;
  color: #fff; */
}

.stock-page .table-tool .btn {
    padding: 3px 5px 1px 5px;
}

.stock-page .table-tool .search-row {
    max-width: 300px;
}

.table .tr-bg__dark-purple {
    background: #29293e;
}

.table .tr-bg__light-purple {
    background: #fbfbfb;
}

.stock-bg-dark .table .tr-bg__light-purple {
    background: #22223b;
}

.stock-page .table-td__has-disabled:hover::after {
    background: #363637;
    color: #fff;
}

.stock-page .table-td__has-disabled:hover::before {
    border-top: 5px solid #363637;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #363637;
}

.stock-bg-dark .table-td__has-disabled:hover::after {
    background: #fff;
    color: #000;
}

.stock-bg-dark .table-td__has-disabled:hover::before {
    border-top: 5px solid #fff;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #fff;
}

/* $0-8__stock__input */

/* .stock-bg-dark .form-control{
  background-color: #31374e;
  border: 0px;
  box-shadow: 0 0 0;
  color: #fff;
}

.stock-bg-dark .form-control:focus {
  color: #31374e;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0;
}

.stock-bg-dark .modal .form-control{
  background-color: #fff;
  border: 1px solid #ced4da;
  box-shadow: 0 0 0;
  color: #31374e;
}

.stock-bg-dark .modal .form-control:focus {
  color: #31374e;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0;
}
*/

.stock-bg-dark input::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #5f6990 !important;
    opacity: 1;
    /* Firefox */
}

.stock-bg-dark input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #5f6990 !important;
}

.stock-bg-dark input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #5f6990 !important;
}

.stock-bg-dark .form-control {
    /*padding: 8px 5px 5px 5px;*/
    font-size: 14px;
}

.form-control.form-control_linebottom {
    background-color: transparent;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #bdc4ed;
}

.stock-page .table tr:hover .form-control.form-control_linebottom {
    background-color: #fff;
}

.stock-page.stock-bg-dark .table tr:hover .form-control.form-control_linebottom {
    background-color: transparent;
}


.stock-bg-dark .form-control.form-control_linebottom {
    /*border-bottom-color: #dfdfdf;*/
    border-bottom-color: #aeaec3;
    color: #fff;
}

.form-control.form-control_linebottom:hover,
.form-control.form-control_linebottom:active,
.form-control.form-control_linebottom:focus {
    background-color: transparent;
    transition: all 0.2s;
}

.form-control.form-control_linebottom::placeholder {
}

.stock-bg-dark .form-control.form-control_linebottom::placeholder {
    color: var(--StockFontColorLightGary3) !important;
}


.form-control.form-control_linebottom:read-only {
    background: #eee;
    border-bottom-color: transparent;
}

.stock-bg-dark .form-control.form-control_linebottom:read-only {
    background: #3b3c46;
}


.stock-bg-dark .form-control.form-control_dark {
    background-color: #454d86;
    border-color: var(--StockBgDarkPurple4);
    color: #fff;
}

    .stock-bg-dark .form-control.form-control_dark:hover,
    .stock-bg-dark .form-control.form-control_dark:active,
    .stock-bg-dark .form-control.form-control_dark:focus {
        background-color: #454d86;
        border-color: var(--StockBgDarkPurple4);
        color: #fff;
    }


.form-select {
    padding: 4px 16px 1px 6px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    box-shadow: 0 0 0;
    font-size: 14px;
}

.stock-bg-dark .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-select > * {
    border-radius: 0;
}

.form-select.form-select_dark {
    background-color: #f4f5ff;
    border-color: #f4f5ff;
    color: #333;
}

.stock-bg-dark .form-select.form-select_dark {
    background-color: #454d86;
    border-color: var(--StockBgDarkPurple4);
    color: #fff;
}

.stock-bg-dark .modal .modal-body .form-select.form-select_dark,
.stock-bg-dark .modal .modal-body .form-control.form-control_dark {
    background-color: #f4f5ff;
    border-color: #f4f5ff;
    color: #333;
    margin: 0 3px;
}

.stock-bg-dark .form-select.form-select_dark option {
    /*        background-color: #fff;
        color: #000;*/
}
/*
        .stock-bg-dark .form-select.form-select_dark option:hover {
            background-color: #cad0ff;
        }

        .stock-bg-dark .form-select.form-select_dark option:checked {
            background-color: #cad0ff;
        }*/

.form-control_wauto,
.form-select_wauto {
    width: auto;
}

.form-control_w60px,
.form-select_w60px {
    width: 60px;
}

.form-control_w80px,
.form-select_w80px {
    width: 80px;
}

.form-control.form-control_wauto,
.form-control.form-control_w60px,
.form-control.form-control_w80px,
.form-select.form-select_wauto,
.form-select.form-select_w60px,
.form-select.form-select_w80px {
    display: inline-block;
}

.form-select__height-26 {
    padding: 2px 32px 0px 5px;
}

.modal .stock-bg-dark .form-select {
}

/* .stock-bg-dark .form-select:focus {
  color: #31374e;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0;
}


.stock-bg-dark .input-group-append .btn, 
.stock-bg-dark .input-group-append .btn__icon {
  border: 0px;
  background: #ced4da;
} */

input[type=checkbox] {
    display: inline-block;
    background-color: #fff;
    padding: 3px 6px;
    border: 1px solid gray;
    color: #444;
    user-select: none; /* �����r�Q�ƹ�����ϥ� */
}

.stock-bg-dark input[type=checkbox] {
    accent-color: #9b62ff;
}

input[type="checkbox"]:checked,
.form-check-input:checked {
    /* box-shadow: 0 0 5px 1px #67c0e4; */
    box-shadow: 0 0 0 0 #0c66d1;
    accent-color: #9b62ff;
    background-color: #9b62ff;
    border-color: #9b62ff;
}

.stock-bg-dark .modal input[type="checkbox"]:checked {
    box-shadow: 0px 0px 0px 0px #67c0e4;
}

.td__br3-purple {
    border-right: 3px solid #bdc4ed !important;
}

.stock-bg-dark .td__br3-purple {
    border-right: 3px solid #404460 !important;
}


/* $0-9__stock__border */
.stock-border__1px {
    border-width: 1px;
    border-style: solid;
}

.stock-border__t1px {
    border-top-width: 1px;
    border-top-style: solid;
}

.stock-border__r1px {
    border-right-width: 1px;
    border-right-style: solid;
}

.stock-border__b1px {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.stock-border__l1px {
    border-left-width: 1px;
    border-left-style: solid;
}

.stock-page .stock-border__dark-purple {
    border-color: #dcdde6;
}

.stock-bg-dark .stock-border__dark-purple {
    border-color: #495270;
}

/* $0-10__stock__btn */
.btn.btn-border__blue, .btn__icon.btn-border__blue {
    border: 1px solid #8a95ff;
    color: #2a3ceb;
}

    .btn.btn-border__blue:hover, .btn__icon.btn-border__blue:hover {
        color: #fff;
        border: 1px solid #2a3ceb;
        background: #2a3ceb;
    }

.btn-row .icon {
    cursor: pointer;
}

.btn__icon {
    padding: 5px 16px 0px 16px;
    line-height: 1.2;
}

.stock-page .btn {
    font-size: 14px;
    padding: 4px 9px 1px 9px;
    border-radius: 4px;
}

.stock-page .btn-border__white,
.stock-page .btn-border__white-greenblue,
.stock-page .btn-border__white-red {
    text-align: center;
}

.table .btn-row .btn {
    padding: 2px 8px 0px 8px !important;
}

    .table .btn-row .btn + .btn {
        margin-top: 8px;
    }

.stock-page .table .btn-border__white-greenblue,
.stock-page .table .btn-border__white-red {
    margin-left: 0;
}

.stock-bg-dark .stock-page__btn-row .btn-outline-primary {
    color: #f0f0f0;
    border-color: transparent;
    background: #454d86;
}

@media screen and (max-width: 480px) {
    .stock-bg-dark .stock-page__btn-row .btn-outline-primary {
        padding: 10px 12px;
        /*font-size: 12px;*/
    }
}

.stock-bg-dark .stock-page__btn-row .btn-check:checked + .btn-outline-primary {
    color: #2b394e;
    background-color: #ffffff;
    border-color: #ffffff;
}

.btn-check:active + .btn-outline-light,
.btn-check:checked + .btn-outline-light,
.btn-outline-light.active,
.btn-outline-light.dropdown-toggle.show,
.btn-outline-light:active {
    color: #fff;
    background-color: #3447b6;
    border-color: #2f4db5;
}

.stock-page .btn-outline-light {
    color: #3a40b7;
    border-color: #3a40b7;
}

.stock-bg-dark .btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-outline-light:hover {
    color: #fff;
    background-color: #3447b6;
    border-color: #2f4db5;
}

.stock-bg-dark .btn-outline-light:hover {
    color: #fff;
    border: 1px solid #3447b6;
    background: #3447b6;
}

.stock-bg-dark .btn-check:active + .btn-outline-light,
.stock-bg-dark .btn-check:checked + .btn-outline-light,
.stock-bg-dark .btn-outline-light.active,
.stock-bg-dark .btn-outline-light.dropdown-toggle.show,
.stock-bg-dark .btn-outline-light.active {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.stock-bg-dark .btn-outline-light:hover {
    color: var(--StockBgDarkPurple4);
    background-color: #fff;
    border-color: #fff;
}


.stock-page .btn.btn-bg__white {
    color: #3447b6;
    border: 1px solid #3447b6;
}

    .stock-page .btn.btn-bg__white:hover {
        background: #3447b6;
        border: 1px solid #3447b6;
        color: #fff;
    }

.stock-bg-dark .btn.btn-bg__white {
    color: #1b1f2c;
}

/*btn-group*/
.stock-page .stock-page__btn-row {
    overflow-x: auto;
    display: flex;
    justify-items: center;
}

@media screen and (max-width: 991px) {
    .stock-page .stock-page__btn-row::-webkit-scrollbar,
    .stock-page .stock-page__tab-nav .nav::-webkit-scrollbar {
        width: 3px;
        height: 3px;
    }
}

.stock-page .stock-page__btn-row .btn {
    width: max-content;
}


.stock-page .btn-outline-primary {
    color: #3a40b7;
    border-color: #ffffff;
    background: #f4f5ff;
}

    .stock-page .btn-check:active + .btn-outline-primary,
    .stock-page .btn-check:checked + .btn-outline-primary,
    .stock-page .btn-outline-primary.active,
    .stock-page .btn-outline-primary.dropdown-toggle.show,
    .stock-page .btn-outline-primary:active {
        background-color: #3a40b7;
        border-color: #3a40b7;
    }

/* $0-11__stock__notify */
.stock-page_notify {
    position: fixed;
    right: 22px;
    bottom: 0;
    background: #fff;
    color: #2b394f;
    box-shadow: 0px 3px 9px 8px rgba(189, 189, 221, 0.30);
    transition: all 0.2s;
    z-index: 8;
    border-radius: 3px 3px 0px 0px;
    cursor: pointer;
}

    .stock-page_notify.open-instructions {
        position: fixed;
    }

.stock-bg-dark .stock-page_notify {
    box-shadow: 0 0 11px 0px #5b5b8f;
}

.stock-notify_btn-row {
    display: flex;
    flex-wrap: revert;
    padding: 8px 10px 4px 10px;
    border-bottom: 1px solid #eee;
}

    .stock-notify_btn-row .left {
        width: calc(100% - 17px);
        display: flex;
        align-items: center;
    }

        .stock-notify_btn-row .left .icon {
            font-size: 26px;
        }

        .stock-notify_btn-row .left > div {
            display: none;
        }

.stock-page_notify.show .stock-notify_btn-row .left > div {
    display: inline-block;
}

.stock-page_notify.show .stock-notify_btn-row .left .icon {
    font-size: 20px;
}

.stock-notify_btn-row .right {
    width: 17px;
    display: none;
}

.stock-page_notify.show .stock-notify_btn-row .right {
    display: block;
}

.stock-notify_btn-row .right .icon {
    font-size: 16px;
    display: inline-block;
    border: 1px solid #2b394f;
    cursor: pointer;
}

.stock-notify_btn-row .left .num {
    display: block;
}

.stock-page_notify.show .stock-notify_btn-row .left .num {
    display: none;
}

.stock-notify_btn-row .left .num span {
    color: #fff;
    font-weight: bolder;
    position: absolute;
    right: -11px;
    top: -6px;
    background: red;
    border-radius: 100%;
    font-size: 10px;
    border-radius: 20px;
    min-width: 11px;
    line-height: 19px;
    padding: 2px 7px 2px 7px;
    text-align: center;
}

.stock-notify_text-row {
    display: none;
    color: #2b394f;
    padding: 10px 0 10px 0;
    width: 300px;
    border-radius: 7px;
    max-height: 40vh;
    overflow-y: auto;
}

@media screen and (max-width: 787px) {
    .stock-notify_text-row {
        max-height: 80vh;
        width: 90vw;
    }
}

.stock-page_notify.show .stock-notify_text-row {
    display: block;
}

.stock-notify_text-row > div {
    max-height: 40vh;
    overflow-y: auto;
}

.stock-notify_text-row .text-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    word-break: break-word;
}

    .stock-notify_text-row .text-item p {
        margin-bottom: 0;
    }

    .stock-notify_text-row .text-item .time {
        font-size: 10px;
        color: #41516a;
    }

    .stock-notify_text-row .text-item .link {
        padding: 0 2px;
    }

    .stock-notify_text-row .text-item:last-child {
        border-bottom: 0px solid #eee;
    }


/* $0-12__stock__flex -----------------*/
@media screen and (max-width: 991px) {
    .flex-basis-2w,
    .flex-basis-3w,
    .flex-basis-4w,
    .flex-basis-5w,
    .flex-basis-6w,
    .flex-basis-7w,
    .flex-basis-8w,
    .flex-basis-9w,
    .flex-basis-10w,
    .input-row,
    .flex-basis-15w,
    .flex-basis-20w,
    .flex-basis-25w {
        flex-basis: 100%;
    }
}

/*$0-13__stock__scrollbar*/
/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    border-radius: 10px;
}

@media screen and (max-width: 991px) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
}

::-webkit-scrollbar-corner,
::-webkit-resizer {
    background: transparent;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #b4b4b4;
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #e6e6e6;
    }

/*$0-14__stock__horizontal scrollbar*/
.horizontal-scroller {
    width: auto;
    max-width: 100%;
}

    .horizontal-scroller .table-responsive {
        overflow: hidden;
        padding-bottom: 0;
        margin: 0;
    }

    .horizontal-scroller .horizontal-scroller__roller {
        position: sticky;
        left: 0;
        right: 0;
        bottom: 0 !important;
        overflow: auto;
        display: none;
        background: linear-gradient(to top, #0e0e2a, rgba(255, 255, 255, 0));
    }

        .horizontal-scroller .horizontal-scroller__roller.visible {
            display: block;
        }
/*-------------*/

.horizontal-scroller__row {
    width: auto;
    max-width: 100%;
    position: relative;
}

    .horizontal-scroller__row .horizontal-scroller__inner {
        overflow: hidden;
        overflow-x: auto;
        margin: 0;
        padding-bottom: 0px;
        margin-bottom: -7px;
    }

@media screen and (max-width: 991px) {
    .horizontal-scroller__row .horizontal-scroller__inner {
        margin-bottom: -10px
    }
}

.stock-page .horizontal-scroller__row .horizontal-scroller__roller {
    position: sticky;
    left: 0;
    right: 0;
    bottom: 0 !important;
    overflow-x: auto;
    display: none;
    background: transparent;
    /*background: #0e0e2a;*/
}

/*.stock-page.stock-bg-dark .horizontal-scroller__row .horizontal-scroller__roller {
    background: #0e0e2a;
}*/

/*.stock-bg-dark .horizontal-scroller__row .horizontal-scroller__roller {
    background: linear-gradient(to top, #0e0e2a, rgba(255, 255, 255, 0));
}*/
.horizontal-scroller__row .horizontal-scroller__roller.visible {
    display: block;
}

.horizontal-scroller__row .scroller-long {
    /*height: 15px;*/
    /*height: 14px;*/
    height: 1px;
}

/*$0-15__stock__tree list*/
.jstree.jstree-default .jstree-node,
.jstree.jstree-default .jstree-icon {
    background: none;
    position: relative;
}

.jstree.jstree-default .jstree-icon {
    line-height: unset;
}

.jstree.jstree-default .jstree-node {
    line-height: 2;
}

    .jstree.jstree-default .jstree-node.jstree-closed > .jstree-icon.jstree-ocl:before {
        content: "\e9bc";
        font-family: var(--FontfamilyIcon);
        font-style: normal;
        font-size: 17px;
        vertical-align: middle;
    }

    .jstree.jstree-default .jstree-node.jstree-open > .jstree-icon.jstree-ocl:before {
        content: "\e99f";
        font-family: var(--FontfamilyIcon);
        font-style: normal;
        font-size: 17px;
        vertical-align: middle;
    }

.jstree.jstree-default .jstree-node {
    min-height: 27px;
}

    .jstree.jstree-default .jstree-node.jstree-leaf:hover,
    .jstree.jstree-default .jstree-node.jstree-closed:hover,
    .jstree.jstree-default .jstree-node.jstree-open:hover {
        background: #2b2b58;
    }

        .jstree.jstree-default .jstree-node.jstree-open:hover .jstree-children {
            background: #0e0e2a;
        }

    .jstree.jstree-default .jstree-node .jstree-anchor {
        height: auto;
        line-height: normal;
        vertical-align: middle;
    }

        .jstree.jstree-default .jstree-node .jstree-anchor .jstree-icon.jstree-checkbox {
            margin-right: 5px;
            background: #fff;
            width: 16px;
            height: 16px;
            /*vertical-align: middle;*/
            border-radius: 1px;
            border: 1px solid #969696;
            position: relative;
        }

        .jstree.jstree-default .jstree-node .jstree-anchor.jstree-clicked .jstree-icon.jstree-checkbox {
            background: #9368fd;
        }


        .jstree.jstree-default .jstree-node .jstree-anchor .jstree-icon.jstree-checkbox:before {
            content: "\eb2a";
            font-family: var(--FontfamilyIcon);
            font-style: normal;
            color: #fff;
            font-weight: bolder;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 11px;
        }


/* $$001-page-template --------------------------------------------------------------------------- */


.stock-page .main-head__tool .tool-item__type .type-wh {
    background: #fff;
    box-shadow: 0 0 2px #4048f2;
}

.stock-page #gotop {
    bottom: 65px;
    background: rgba(255, 255, 255);
    color: #0e0e2a;
}

.stock-page__head {
    padding: 24px;
}

    .stock-page__head .logo {
        width: 100px;
    }


.stock-page_title {
    font-size: 40px;
    font-weight: bolder;
}

@media screen and (max-width: 1440px) {
    .stock-page_title {
        font-size: 38px;
    }
}

@media screen and (max-width: 991px) {
    .stock-page_title {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .stock-page_title {
        font-size: 25px;
    }
}


.stock-page__two-column > .col-left {
    width: 100%;
    max-width: var(--StockPageColTwoColunmnLeft);
}

.stock-page__two-column > .col-right {
    width: 100%;
    max-width: calc(100% - var(--StockPageColTwoColunmnLeft));
}


@media screen and (max-width: 991px) {
    .stock-page__two-column > .col-left {
        display: unset;
    }

    .stock-page__two-column > .col-left,
    .stock-page__two-column > .col-right {
        width: 100%;
        max-width: none;
    }

    .stock-page__two-column > .col-right {
        border-left: 0px;
        border-top-width: 0px;
        border-top-style: solid;
    }
}


.stock-page__tab-nav .nav-link {
    border-radius: 7px;
}

.stock-bg-dark .stock-page__tab-nav .nav-link {
    color: #fff;
}

.stock-page__two-column .col-left.stock-page__tab-nav .nav.nav-pills {
    flex-direction: column;
}

@media screen and (max-width: 991px) {
    .stock-page__two-column .col-left .stock-page__tab-nav .nav.nav-pills {
        overflow-x: auto;
        transition: all 0.2s;
        will-change: transform;
        user-select: none;
        cursor: pointer;
        flex-wrap: nowrap;
        flex-direction: row;
    }
}

.stock-bg-dark .stock-page__tab-nav .nav-link:hover {
    color: #fff;
    background-color: var(--StockBgDarkPurple2);
    border-color: #fff;
}

.stock-bg-dark .stock-page__tab-nav .nav-link.active,
.stock-bg-dark .stock-page__tab-nav .show > .nav-link {
    color: var(--StockBgDarkPurple2);
    background-color: #fff;
    border-color: var(--StockBgDarkPurple2);
}


@media screen and (max-width: 991px) {
    .stock-bg-dark .stock-page__two-column .col-left .nav.nav-pills.stock-page__tab-nav .nav-link {
        background: #2e2e51;
        border-right: 3px solid #0e0e2a;
    }

    .stock-bg-dark .stock-page__two-column .col-left .nav.nav-pills.stock-page__tab-nav .nav-link {
        background: #2e2e51;
        border-right: 5px solid #0e0e2a;
        margin-bottom: 5px;
        word-break: keep-all;
        display: inline-block;
    }

    .stock-page__two-column .col-left .nav.nav-pills.stock-page__tab-nav .nav-link.active {
        background: #fff;
    }
}

.stock-page__tab-nav .nav-link.font-size__18 {
    font-size: 18px;
}

@media screen and (max-width: 767px) {
    .stock-page__tab-nav .nav-link.font-size__18 {
        font-size: 16px;
    }
}

.stock-bg-purple .stock-page__tab-nav .nav-link {
    color: #6962b7;
    /* border: 1px solid #212534; */
    border-radius: 0;
}

    .stock-bg-purple .stock-page__tab-nav .nav-link:hover {
        color: #6962b7;
        background-color: #ffffff;
        border-color: #fff;
    }

    .stock-bg-purple .stock-page__tab-nav .nav-link.active,
    .stock-bg-purple .stock-page__tab-nav .show > .nav-link {
        color: #ffffff;
        background-color: #6d5fb9;
        border-color: #6962b7;
    }

.icon.icon-arrow {
    margin-right: -7px;
    font-size: 26px
}

.table > thead .icon.icon-arrow {
    font-size: 15px;
}

.stock-item__bicon .icon.icon-arrow {
    margin-right: -0px;
}

.stock-page__condition-search__before {
}

    .stock-page__condition-search__before .left {
        width: 100%;
        max-width: calc(100% - 300px);
    }

@media screen and (max-width: 991px) {
    .stock-page__condition-search__before .left {
        width: 100%;
        max-width: none;
    }
}

.stock-page__input-btn-row {
    width: 100%;
    max-width: 400px;
}

@media screen and (max-width: 991px) {
    .stock-page__input-btn-row {
        width: 100%;
        max-width: 100%;
    }
}



.stock-page__condition-search__before .search-row .col-md-6 > div {
    width: 100%;
    max-width: 400px;
}

.stock-page__condition-search__before .search-row .col-md-6:nth-child(2) > div {
    float: right;
    max-width: 300px;
}

.stock-page__condition-search__before .search-row .col-md-6 {
    width: 50%;
}

@media screen and (max-width: 560px) {
    .stock-page__condition-search__before .search-row .col-md-6 {
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .stock-page__condition-search__before .search-row .col-md-6 > div {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 991px) {

    .stock-page__condition-search__before .search-row [class^="col-"],
    [class*=" col-"] {
        margin-bottom: 8px;
    }
}

.stock-page__condition-search__before .left .sort-row {
    /*height: calc(100% - 90px);*/
}

    .stock-page__condition-search__before .left .sort-row .sort {
        width: 150px;
        /*height: calc(100vh - 280px);*/
        overflow-y: auto;
    }

        .stock-page__condition-search__before .left .sort-row .sort .advanced-rules {
            display: flex;
            justify-content: space-between;
        }

            .stock-page__condition-search__before .left .sort-row .sort .advanced-rules .hover-show {
                opacity: 0.3;
                background: #fff;
                padding: 0 6px;
                color: #000;
                font-weight: bolder;
                font-size: 16px;
                cursor: pointer;
            }

            .stock-page__condition-search__before .left .sort-row .sort tr td:hover .advanced-rules .hover-show {
                opacity: 1;
            }

        .stock-page__condition-search__before .left .sort-row .sort .stock-page__tab-nav {
            overflow-y: auto;
            flex-wrap: nowrap;
        }

    .stock-page__condition-search__before .left .sort-row .detail-list {
        width: calc(100% - 150px);
        height: calc(100vh - 469px);
        overflow-y: auto;
    }

        .stock-page__condition-search__before .left .sort-row .detail-list .table-responsive {
            margin-bottom: 0px;
        }

            .stock-page__condition-search__before .left .sort-row .detail-list .table-responsive .table tr td {
                padding: 4px 8px;
            }

            .stock-page__condition-search__before .left .sort-row .detail-list .table-responsive .table tr:first-child td {
                border-top-color: transparent;
            }

        .stock-page__condition-search__before .left .sort-row .detail-list tr:hover.advanced-rules-tr {
            background-color: unset !important;
        }

        .stock-page__condition-search__before .left .sort-row .detail-list td.advanced-rules-td {
            padding: 20px 8px 4px;
        }

        .stock-page__condition-search__before .left .sort-row .detail-list td:hover.advanced-rules-td {
            background-color: unset !important;
            
        }

        .stock-page__condition-search__before .left .sort-row .detail-list .advanced-rules-item {
            padding: 0px;
        }

            .stock-page__condition-search__before .left .sort-row .detail-list .advanced-rules-item .btn.btn-outline-light,
            .stock-page__condition-search__before .left .sort-row .detail-list tfoot .btn.btn-outline-light {
                padding: 1px 5px 0px !important;
            }

        .stock-page__condition-search__before .left .sort-row .detail-list .advanced-rules-connect {
            padding: 10px 0;
            position: relative;
        }

            .stock-page__condition-search__before .left .sort-row .detail-list .advanced-rules-connect::before {
                content: "";
                border: 1px solid #495270;
                width: 100%;
                height: 1px;
                position: absolute;
                z-index: -1;
                top: 23px;
            }

.stock-page__condition-search__before .right {
    width: 100%;
    max-width: 300px;
}

@media screen and (max-width: 991px) {
    .stock-page__condition-search__before .right {
        width: 100%;
        max-width: none;
        border-top: 1px solid #dee2e6;
    }
}

.stock-page__condition-search__before .stock-page__select-list {
    overflow-y: auto;
    height: calc(100vh - 570px);
}

@media screen and (max-width: 991px) {
    .stock-page__condition-search__before .stock-page__select-list {
        min-height: 100px;
        height: auto;
    }
}

.stock-page .stock-page__condition-search__before .select-item {
    display: flex;
    flex-wrap: wrap;
}

    .stock-page .stock-page__condition-search__before .select-item .not {
        width: 100%;
    }

        .stock-page .stock-page__condition-search__before .select-item .not > div,
        .stock-page .stock-page__condition-search__before .item-group .not > div {
            display: inline-block;
            background: #5c607d;
            padding: 2px 5px 2px 8px;
        }

            .stock-page .stock-page__condition-search__before .select-item .not > div .icon,
            .stock-page .stock-page__condition-search__before .item-group .not > div .icon {
                font-size: 20px;
                vertical-align: sub;
                margin-left: 3px;
                border-radius: 50%;
                cursor: pointer;
            }

                .stock-page .stock-page__condition-search__before .select-item .not > div .icon:hover,
                .stock-page .stock-page__condition-search__before .item-group .not > div .icon:hover {
                    background: #fff;
                    color: #5f63a1;
                }


.stock-page__condition-search__before .select-item .inner {
    width: 100%;
    max-width: calc(100% - 110px);
    background: #f4f5ff;
    border-radius: 2px 0 0 2px;
    padding: 15px 5px 15px 8px;
}

.stock-bg-dark .stock-page__condition-search__before .select-item .inner,
.stock-bg-dark .stock-page__condition-search__before .select-item .btn-row {
    color: #fff;
    background: #3f435f;
    display:flex;
    align-items: center;
}

.stock-bg-dark .stock-page__condition-search__before .select-item .inner label{
    padding-left: 3px;
}

.stock-page__condition-search__before .select-item .btn-row {
    background: #f4f5ff;
    border-radius: 0 2px 2px 0;
    width: 110px;
    font-size: 20px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: right;
}

.stock-bg-dark .stock-page__condition-search__before .select-item .btn-row .icon {
    color: #fff;
    border-radius: 100px;
    transition: all ease 0.3s;
}

    .stock-bg-dark .stock-page__condition-search__before .select-item .btn-row .icon:hover {
        color: #212534;
        background-color: #fff;
    }

    .stock-bg-dark .stock-page__condition-search__before .select-item .btn-row .icon:nth-child(2):hover {
        color: #dee2e6;
        background-color: #e92f21;
    }

.stock-page .stock-page__condition-search__before .item-group > div:nth-child(2) {
    padding: 0px 7px 0 7px;
    border: 1px solid #9ca2c6;
    border-radius: 3px;
}

    .stock-page .stock-page__condition-search__before .item-group > div:nth-child(2) .tool {
        display: flex;
        padding: 13px 0;
    }

        .stock-page .stock-page__condition-search__before .item-group > div:nth-child(2) .tool div:nth-child(2) {
            flex: 1;
            text-align: right;
        }


.stock-page .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(1),
.stock-page .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(2),
.stock-page .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(3) {
    background-color: #f3f4fd;
}

.stock-page .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(1),
.stock-page .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(2),
.stock-page .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(3) {
    background-color: #fff;
}

.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(1),
.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(2),
.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(3) {
    background-color: #0e0e2a;
}

.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(1),
.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(2),
.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(3) {
    background-color: #0e0e2a;
}

/*.stock-page .stock-page__condition-search__after .table-hover.table-fixed__2td tr:hover th:nth-child(3),*/
.stock-page .stock-page__condition-search__after .table-hover.table-fixed__2td tr:hover td:nth-child(3) {
    background-color: #f3f4fd;
}

/*.stock-bg-dark .stock-page__condition-search__after .table-hover.table-fixed__2td tr:hover th:nth-child(3),*/
.stock-bg-dark .stock-page__condition-search__after .table-hover.table-fixed__2td tr:hover td:nth-child(3) {
    background-color: #2b2b58;
}

.stock-page__condition-search__after .table-fixed__2td tr th:nth-child(1),
.stock-page__condition-search__after .table-fixed__2td tr td:nth-child(1) {
    position: sticky;
    left: 0px;
    z-index: 5;
}

.stock-page__condition-search__after .table-fixed__2td tr th:nth-child(2),
.stock-page__condition-search__after .table-fixed__2td tr td:nth-child(2) {
    position: sticky;
    left: 0px;
    z-index: 1;
}

.stock-page__condition-search__after .table-fixed__2td tr th:nth-child(3),
.stock-page__condition-search__after .table-fixed__2td tr td:nth-child(3) {
    position: sticky;
    left: 25px;
    z-index: 1;
}

.stock-page .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(3)::before,
.stock-page .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(3)::before {
    content: "";
    background: #f4f5ff;
    height: 100%;
    width: 1px;
    position: absolute;
    left: -2px;
    bottom: 0;
}

.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr th:nth-child(3)::before,
.stock-bg-dark .stock-page__condition-search__after .table-fixed__2td tr td:nth-child(3)::before {
    background: #0e0e2a;
}

.stock-page__condition-search__after .stock-page__price .stock-page__price-lower-limit.font-color__light-green {
    color: white;
    background: #1d9b1d;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 4px;
}

.stock-page__condition-search__after .stock-page__price .stock-page__price-upper-limit.font-color__light-red {
    color: white;
    background: #f60000;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 4px;
}

.stock-page .stock-page__condition-search__after .top .select-row {
    align-items: start;
}


.stock-page .stock-page__condition-search__after .select-row .select-item {
    display: flex;
    max-width: 200px;
    margin-right: 8px;
    margin-bottom: 8px;
}

    .stock-page .stock-page__condition-search__after .select-row .select-item .not,
    .stock-page .stock-page__condition-search__after .select-row .item-group > .not {
        background: #5e6291;
        padding: 12px 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .stock-page .stock-page__condition-search__after .select-row .select-item > div:nth-child(2) {
        background: #474b84;
        padding: 12px 8px;
    }

.stock-page .stock-page__condition-search__after .select-row .item-group {
    display: flex;
    margin-bottom: 8px;
    margin-right: 10px;
}

    .stock-page .stock-page__condition-search__after .select-row .item-group > div:nth-child(2) {
        display: flex;
        padding: 7px 7px 0 13px;
        /*background: #95759e;*/
        background: #8a739d;
        border-radius: 3px;
        align-items: center;
    }

.connect-title {
    padding: 0px 10px 4px 4px;
}



.stock-bg-dark .stock-page__condition-search__after .select-row .select-item {
}


.stock-page .stock-intelligence__save-condition .select-row .select-item {
    /*width: 100%;*/
    max-width: 250px;
    background: #f4f5ff;
    /*padding: 12px 8px;*/
    margin-right: 8px;
    margin-bottom: 8px;
    display: flex;
}


.stock-bg-dark .stock-intelligence__save-condition .select-row .select-item {
    background: #474b84;
}

.stock-page__condition-search__after .select-row .select-item span,
.stock-intelligence__save-condition .select-row .select-item span {
    align-self: center;
}

#stock-page__popup__edit-condition .advanced-rules-item,
#stock-page__popup__edit-condition .advanced-rules-connect {
    margin-bottom: 10px;
}

.stock-page__condition-search__after .bottom .table-tool {
    width: 100%;
    max-width: 600px;
}

.stock-page__edit-custom-fields {
}

    .stock-page__edit-custom-fields .left,
    .stock-page__edit-custom-fields .right {
        width: calc((100% - 105px)/2);
    }

@media screen and (max-width: 767px) {
    .stock-page__edit-custom-fields .left,
    .stock-page__edit-custom-fields .right {
        width: 100%;
    }
}

.stock-page__edit-custom-fields .center {
    padding: 16px;
    width: 105px;
    margin: auto;
    text-align: center;
    align-self: center;
}

@media screen and (max-width: 767px) {
    .stock-page__edit-custom-fields .center {
        width: 100%;
    }

        .stock-page__edit-custom-fields .center .btn__icon:nth-child(1),
        .stock-page__edit-custom-fields .center .btn__icon:nth-child(2) {
            transform: rotate(90deg);
        }
}

.stock-page__edit-custom-fields .table tr > td {
    height: 49px;
}

@media screen and (max-width: 767px) {
    .stock-page__edit-custom-fields .stock-page__left-table,
    .stock-page__edit-custom-fields .stock-page__right-table {
        height: 100%;
        max-height: 500px;
        overflow-y: auto;
    }
}

.stock-page__edit-custom-fields .stock-page__left-table tr td {
    border-width: 1px;
}

.stock-page__progress.progress {
    background-color: #2b9d30;
    border-radius: 0;
}

.stock-page__progress .progress-bar {
    background-color: #bf2c21;
}

.stock-page__forms-row {
    width: 100%;
    max-width: 900px;
    display: inline-block;
    vertical-align: top;
}

@media screen and (max-width: 991px) {
    .stock-page__forms-row {
        width: 100%;
        max-width: 100%;
    }
}

.stock-page__forms-row .stitle {
    text-align: right;
    padding-right: 8px;
}

@media screen and (max-width: 991px) {
    .stock-page__forms-row .stitle {
        text-align: left;
    }
}

.stock-page__backbtn-row .btn.icon {
    color: #fff;
    display: inline-block;
    cursor: pointer;
    font-size: 19px;
    border-radius: 100px;
    padding: 3px 4px 3px 1px;
    display: inline-flex;
    background: #3a40b7;
}

.stock-bg-dark .stock-page__backbtn-row .btn.icon {
    color: #0e0e2a;
    background: #fff;
}

.stock-page__backbtn-row .btn.icon .text {
    font-size: 14px;
    vertical-align: middle;
    line-height: normal;
    padding-right: 5px;
}

.col-show {
    display: block;
}

.col-hide {
    display: none;
}

.stock-page__declaration {
    padding: 5px 5px 0 5px;
    bottom: 0;
    font-size: 12px;
    /* color: #808080; */
    color: #aeb6d0;
    /* max-width: 2360px; */
    line-height: 15px;
    width: 100%;
}

@media screen and (max-width: 991px) {
    .stock-page__declaration {
        width: 90%;
    }
}

.stock-page__declaration.stock-optional {
    padding: 5px 5px;
}

.stock-page__declaration.stock-intelligence,
.stock-page__declaration.stock-strategy,
.stock-page__declaration.stock-calendar {
    padding: 5px 5px;
    width: calc(95% - 55px);
    text-align: center;
}

.stock-page__declaration.stock-login {
    padding: 5px 5px;
    text-align: center;
}

.stock-page__declaration p {
    margin-bottom: 0;
}

.stock-page__declaration a {
    /* color: #808080; */
    color: #aeb6d0;
}

    .stock-page__declaration a:hover {
        text-decoration: underline;
    }

.stock-page__instructions {
    display: inline-block;
}

    .stock-page__instructions > div {
        background: #f9faff;
        padding: 16px 16px 16px 8px;
        border-left: 5px solid #616aac;
    }

.stock-bg-dark .stock-page__instructions > div,
.stock-bg-dark .stock-simulation__head .stock-simulation__batch-notes {
    background: none;
    border: 1px solid #8088b3;
    border-left: 5px solid #616aac;
}

.stock-page__instructions label {
    font-weight: bolder;
    color: #3447b6;
}

.stock-bg-dark .stock-page__instructions label {
    color: #ccd1ff;
}

.stock-page__instructions .img-row {
    width: 100%;
}

    .stock-page__instructions .img-row.web-notify-img {
        max-width: 350px;
    }

    .stock-page__instructions .img-row.web-line-row {
        max-width: 745px;
    }

.stock-page__instructions.instructions__stock-notice .dis-flex_o > div:first-child {
    max-width: 490px;
    padding-right: 16px;
}

.stock-instructions {
    border: 1px solid red;
    position: absolute;
    width: 100%;
    display: none;
    z-index: 50;
}


.open-instructions {
    position: relative;
    z-index: 10;
    transition: all 0.3s;
    z-index: 1030;
}

    .open-instructions .stock-instructions {
        display: flex;
    }

    .open-instructions:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: 0 0 0px 10000px rgb(21, 21, 64, 0.6);
        pointer-events: auto;
    }

    .open-instructions:after {
        content: "";
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        pointer-events: auto;
        z-index: -1;
    }

.stock-instructions > div {
    width: 100%;
    background: #fff;
    box-shadow: 0 0 0 0 #ddd;
    padding: 10px;
    border-radius: 4px;
    position: relative;
    z-index: 10;
}

    .stock-instructions > div:before {
        content: "▲";
        color: #ffffff;
        font-size: 30px;
        position: absolute;
        transform: rotate(90deg);
        right: -20px;
    }


.modal .modal-body .stock-instructions {
    position: relative;
    border: 1px solid blue;
}

    .modal .modal-body .stock-instructions > div::before {
        content: " ";
        display: none;
    }

.modal .open-instructions:after,
.modal .open-instructions:before {
    content: "";
    position: relative;
    display: none;
    box-shadow: unset;
}

.stock-instructions .instructions-inner {
    color: #000;
}

.stock-instructions .instructions-btn {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

    .stock-instructions .instructions-btn .btn.instructions-close {
        color: #333;
        border: 1px solid #ddd;
    }

        .stock-instructions .instructions-btn .btn.instructions-close:hover {
            color: #fff;
            border: 1px solid #333;
            background: #333;
        }

    .stock-instructions .instructions-btn .btn.next,
    .stock-instructions .instructions-btn .btn.last {
        color: #fff;
        border-width: 1px;
        background: #5d65ff;
    }

        .stock-instructions .instructions-btn .btn.next:hover,
        .stock-instructions .instructions-btn .btn.last:hover {
            color: #fff;
            border-width: 1px;
            background: #2129b5;
        }

.stock-page_instructions {
    position: fixed;
    right: 85px;
    bottom: 0;
    background: #fff;
    color: #2b394f;
    box-shadow: 0px 3px 9px 8px rgba(189, 189, 221, 0.30);
    transition: all 0.2s;
    z-index: 8;
    padding: 6px 10px;
    border-radius: 3px 3px 0px 0px;
    cursor: pointer;
}

    .stock-page_instructions span {
        font-size: 18px;
        border: 1px solid #000;
        border-radius: 100%;
        padding: 0 9px;
    }



/* $$002-index --------------------------------------------------------------------------- */

.stock-index__tool-row {
    width: 100%;
    padding: 0 10px 0 10px;
}

    .stock-index__tool-row [class*="tool-"] {
        display: inline-block;
        background: #454d86;
        color: #fff;
        padding: 4px 10px;
        margin-bottom: 8px;
        border-radius: 4px;
        line-height: 0;
        cursor: pointer;
    }


#stock-index__popup__edit-ui h4 {
    font-weight: bolder;
    color: #72758a;
}

.stock-index__popup-step1 > .pr-4 {
    width: 25%;
    margin-bottom: 25px;
}

    .stock-index__popup-step1 > .pr-4 img {
        opacity: 0.7;
    }

.stock-index__drag-left-row {
    width: 50px;
    height: 400px;
    border: 1px solid #D1D3E2;
    float: left;
}

.stock-index__drag-row {
    margin: 0;
    padding: 50px 3px 3px 3px;
    width: 70%;
    height: 400px;
    border: 1px solid #D1D3E2;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-bottom: 20px;
}

@media screen and (max-width: 1199px) {
    .stock-index__drag-row {
        height: 350px;
    }
}

.stock-index__drag-row [draggable] {
    user-select: none;
}

.stock-index__drag-row > div {
    margin: 0;
    padding: 0px;
    height: 40px;
    line-height: 40px;
    border-radius: 15px;
    border: 4px solid #fff;
    box-shadow: inset 0 0 0 3px #D1D3E2;
    background: #F4F5FF;
    color: #454D86;
    list-style: none;
    font-size: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.stock-index__drag-row .item.drag-over {
    background: rgba(244, 245, 255, 0.4);
    color: #454D86;
    border: 4px solid #fff;
    box-shadow: inset 0 0 0 3px #5368bb;
}

.stock-index__drag-row.drag-ui1 > div:nth-child(1) {
    width: 60%;
    height: 100%;
}

.stock-index__drag-row.drag-ui1 > div:nth-child(2),
.stock-index__drag-row.drag-ui1 > div:nth-child(3) {
    width: 40%;
    height: 50%;
}

.stock-index__drag-row.drag-ui2 > div:nth-child(1),
.stock-index__drag-row.drag-ui2 > div:nth-child(2) {
    width: 40%;
    height: 50%;
}

.stock-index__drag-row.drag-ui2 > div:nth-child(3) {
    width: 60%;
    height: 100%;
}

.stock-index__drag-row.drag-ui3 > div:nth-child(1),
.stock-index__drag-row.drag-ui3 > div:nth-child(2),
.stock-index__drag-row.drag-ui3 > div:nth-child(3) {
    width: 33.33333%;
    height: 100%;
}

/*inner*/
.stock-index .stock-index__inner-row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: calc(100% - 8px);
    height: calc(100vh - 80px);
}

    .stock-index .stock-index__inner-row.ui3 {
        /*flex-direction: row;*/
    }

.stock-index__inner-row.ui1 > div:nth-child(1) {
    width: calc(60% - 15px);
    /*height: calc(100% - 105px);*/
    height: calc(100% - 50px);
    margin-right: 10px;
    /*margin-bottom: 25px;*/
}

.stock-index__inner-row.ui2 > div:nth-child(3) {
    width: calc(60% - 15px);
    height: calc(100% - 105px);
    margin-right: 10px;
    margin-bottom: 25px;
}

.stock-index__inner-row.ui1 > div:nth-child(1) #UserStockArea .stock-index__list-table {
    height: calc(100vh - 175px);
    margin-bottom: 10px;
}

.stock-index__inner-row.ui1 > div:nth-child(1) #StockNoticeArea {
    height: calc(100% - 34px);
    /*background: red;*/
}

.stock-index__inner-row.ui1 > div:nth-child(1),
.stock-index__inner-row.ui2 > div:nth-child(1),
.stock-index__inner-row.ui2 > div:nth-child(2) {
    padding-left: 10px;
}

.stock-index__inner-row.ui1 > div:nth-child(2),
.stock-index__inner-row.ui2 > div:nth-child(4) {
    width: calc(60% - 15px);
}

.stock-index__inner-row.ui1 > div:nth-child(3),
.stock-index__inner-row.ui1 > div:nth-child(4) {
    width: 40%;
}

    .stock-index__inner-row.ui1 > div:nth-child(3),
    .stock-index__inner-row.ui1 > div:nth-child(3) .stock-index__list-table {
        height: calc(var(--StockIndexNoticeHeightC) - 10px);
    }

.stock-index__inner-row.ui1 > div:nth-child(4) {
    margin-top: 35px;
}

    .stock-index__inner-row.ui1 > div:nth-child(4),
    .stock-index__inner-row.ui1 > div:nth-child(4) .stock-index__list-table {
        height: calc(var(--StockIndexNoticeHeightB) - 55px);
        margin-bottom: 15px;
    }


@media screen and (max-width: 1750px) {
    .stock-index__inner-row.ui1 > div:nth-child(1) {
        height: calc(100% - 90px);
    }

        .stock-index__inner-row.ui1 > div:nth-child(1) #UserStockArea .stock-index__list-table {
            height: calc(100vh - 210px);
        }
}

@media screen and (max-width: 1585px) {
    .stock-index__inner-row.ui1 > div:nth-child(1) #UserStockArea .stock-index__list-table {
        height: calc(100vh - 200px);
    }
}

@media screen and (max-width: 1560px) {
    .stock-index__inner-row.ui1 > div:nth-child(1) {
        height: calc(100% - 75px);
    }

    .stock-index__inner-row.ui1 > div:nth-child(1),
    .stock-index__inner-row.ui1 > div:nth-child(2) {
        width: calc(100% - 460px);
    }

    .stock-index__inner-row.ui1 > div:nth-child(3),
    .stock-index__inner-row.ui1 > div:nth-child(4) {
        width: 445px;
    }

    .stock-index__inner-row.ui1 > div:nth-child(1) #UserStockArea .stock-index__list-table {
        height: calc(100vh - 175px);
    }
}

@media screen and (max-width: 1520px) {
    .stock-index__inner-row.ui1 > div:nth-child(1) #UserStockArea .stock-index__list-table {
        height: calc(100vh - 190px);
    }
}

@media screen and (max-width: 1500px) {
    .stock-index__inner-row.ui2 > div:nth-child(3) {
        height: calc(100% - 120px);
    }
}

@media screen and (max-width: 1425px) {
    .stock-index__inner-row.ui1 > div:nth-child(1) {
        height: calc(100% - 85px);
    }

        .stock-index__inner-row.ui1 > div:nth-child(1) #UserStockArea .stock-index__list-table {
            height: calc(100vh - 200px);
        }
}

@media screen and (max-width: 1400px) {
    .stock-index__inner-row.ui2 > div:nth-child(3) {
        height: calc(100% - 135px);
    }
}

@media screen and (max-width: 1300px) {
    .stock-index__inner-row.ui2 > div:nth-child(3) {
        height: calc(100% - 140px);
    }
}

@media screen and (max-width: 1100px) {
    .stock-index__inner-row.ui2 > div:nth-child(3) {
        height: calc(100% - 170px);
    }
}

@media screen and (max-width: 1045px) {
    .stock-index__inner-row.ui1 > div:nth-child(1) {
        height: calc(100% - 100px);
    }

        .stock-index__inner-row.ui1 > div:nth-child(1) #UserStockArea .stock-index__list-table {
            height: calc(100vh - 220px);
        }
}

@media screen and (max-width: 991px) {
    .stock-index .stock-index__inner-row.ui1 {
        height: auto;
        flex-direction: row;
    }

    .stock-index__inner-row.ui1 > div:nth-child(1),
    .stock-index__inner-row.ui1 > div:nth-child(2),
    .stock-index__inner-row.ui1 > div:nth-child(3) {
        width: 100%;
        margin-bottom: 15px;
    }

    .stock-index__inner-row.ui1 > div:nth-child(4) {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    .stock-index__inner-row.ui1 > div:nth-child(1),
    .stock-index__inner-row.ui1 > div:nth-child(2),
    .stock-index__inner-row.ui1 > div:nth-child(3),
    .stock-index__inner-row.ui1 > div:nth-child(4) {
        width: 100%
    }
}

.stock-index__inner-row.ui2 > div:nth-child(1),
.stock-index__inner-row.ui2 > div:nth-child(2) {
    width: 40%;
}

    .stock-index__inner-row.ui2 > div:nth-child(1),
    .stock-index__inner-row.ui2 > div:nth-child(1) .stock-index__list-table {
        height: calc(var(--StockIndexNoticeHeightC));
        padding-left: 5px;
        margin-right: 10px;
    }

.stock-index__inner-row.ui2 > div:nth-child(2) {
    margin-top: 35px;
}

    .stock-index__inner-row.ui2 > div:nth-child(2),
    .stock-index__inner-row.ui2 > div:nth-child(2) .stock-index__list-table {
        height: calc(var(--StockIndexNoticeHeightB) + 10px);
        margin-bottom: 15px;
        padding-left: 5px;
    }

.stock-index__inner-row.ui2 > div:nth-child(3) .stock-index__list-table {
    height: calc(100vh - 195px);
}

.stock-index__inner-row.ui2 > div:nth-child(3),
.stock-index__inner-row.ui2 > div:nth-child(4) {
    /*padding-left: 10px;*/
    padding-right: 5px;
}


@media screen and (max-width: 1440px) {
    .stock-index__inner-row.ui2 > div:nth-child(4),
    .stock-index__inner-row.ui2 > div:nth-child(3) {
        width: calc(100% - 455px);
    }

    .stock-index__inner-row.ui2 > div:nth-child(1),
    .stock-index__inner-row.ui2 > div:nth-child(2) {
        width: 445px;
    }
}

@media screen and (max-width: 991px) {
    .stock-index .stock-index__inner-row.ui2 {
        height: auto;
        flex-direction: row;
    }

    .stock-index__inner-row.ui2 > div:nth-child(1),
    .stock-index__inner-row.ui2 > div:nth-child(2) {
        width: 49%;
    }

    .stock-index__inner-row.ui2 > div:nth-child(3) {
        width: 100%
    }

    .stock-index__inner-row.ui2 > div:nth-child(4) {
        width: 100%
    }
}

@media screen and (max-width: 768px) {
    .stock-index__inner-row.ui2 > div:nth-child(1),
    .stock-index__inner-row.ui2 > div:nth-child(2),
    .stock-index__inner-row.ui2 > div:nth-child(3),
    .stock-index__inner-row.ui2 > div:nth-child(4) {
        width: 100%
    }
}

.stock-index__inner-row.ui3 {
    flex-direction: row;
}

    .stock-index__inner-row.ui3 > div:nth-child(1),
    .stock-index__inner-row.ui3 > div:nth-child(2),
    .stock-index__inner-row.ui3 > div:nth-child(3) {
        width: calc(33.333% - 10px);
        height: calc(100vh - 160px);
        margin-bottom: 25px;
    }

    .stock-index__inner-row.ui3 > div:nth-child(1) {
        margin-right: 10px;
    }

        .stock-index__inner-row.ui3 > div:nth-child(1) .stock-index__list-table,
        .stock-index__inner-row.ui3 > div:nth-child(2) .stock-index__list-table,
        .stock-index__inner-row.ui3 > div:nth-child(3) .stock-index__list-table {
            height: fit-content;
            max-height: calc(100vh - 168px);
        }

    .stock-index__inner-row.ui3 > div:nth-child(3) {
        margin-left: 10px;
    }

    .stock-index__inner-row.ui3 > div:nth-child(4) {
        width: 100%;
    }

@media screen and (max-width: 1200px) {
    .stock-index .stock-index__inner-row.ui3 {
        height: auto;
        flex-direction: row;
    }

    .stock-index__inner-row.ui3 > div:nth-child(1),
    .stock-index__inner-row.ui3 > div:nth-child(2),
    .stock-index__inner-row.ui3 > div:nth-child(3),
    .stock-index__inner-row.ui3 > div:nth-child(4) {
        padding: 15px 10px;
        height: fit-content;
        width: 99%
    }

    .stock-index__inner-row.ui3 > div:nth-child(4) {
        padding: 0px 0px 70px 0px;
    }
}

@media screen and (max-width: 991px) {
    .stock-index__inner-row.ui1 > div:nth-child(4),
    .stock-index__inner-row.ui2 > div:nth-child(4),
    .stock-index__inner-row.ui3 > div:nth-child(4) {
        padding: 0px 0px 70px 0px;
    }
}


/*line*/
.stock-index__line {
    /*width: 60%;*/
}

.stock-index__taiex-num {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-shrink: 1;
    padding-right: 10px;
    /*padding-left: 3px;*/
    /*margin-bottom: 5px;*/
}

    .stock-index__taiex-num .stock-page_title {
        margin-bottom: 0;
        font-size: 24px;
    }

.stock-head__warning {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
}

    .stock-head__warning div {
        background: #eee;
        font-weight: bolder;
        color: #0f0d2a;
        padding: 4px 5px 2px 5px;
        display: flex;
        margin: 3px;
        justify-content: center;
        border-radius: 4px;
        align-items: center;
        line-height: 1;
    }

.stock-bg-dark .stock-head__warning div {
    background: #fff;
}

.stock-index__taiex-info {
    /*width: calc(100% - 300px);*/
    flex-shrink: 1;
    /*padding-top: 5px;*/
    align-items: center;
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 1550px) {
    .stock-index__taiex-info {
        align-items: self-start;
        flex-direction: column;
    }
}

.stock-index__taiex-info > h4 {
    padding-right: 10px;
}

.stock-index__taiex-info .stock__price {
    font-size: 30px;
    padding-right: 15px;
}

.stock-index__taiex-info .stock__trend-updown,
.stock-index__taiex-info .stock__trend-amplitude {
    font-size: 24px;
}

.stock-index__taiex-info .icon-arrow {
    font-size: 20px;
}

.stock-index__taiex-info .taiex-info-row {
}

@media screen and (max-width: 1700px) {
    .stock-index__taiex-info .taiex-info-row {
        flex-direction: column;
    }
}

@media screen and (max-width: 1550px) {
    .stock-index__taiex-info .taiex-info-row {
        display: flex;
        align-items: center;
        flex-direction: row;
    }
}

@media screen and (max-width: 560px) {
    .stock-index__taiex-info .taiex-info-row {
        font-size: 12px;
    }
}

.stock-index__taiex-info .font-color__light-red.stock-page__price-upper-limit #stockNow_Price,
.stock-index__taiex-info .stock-page__price .font-color__light-red.stock-page__price-upper-limit {
    color: var(--PriceUpperLimitColor);
    background: var(--PriceUpperLimitBg);
    border-radius: 4px;
}

.stock-index__taiex-info .font-color__light-green.stock-page__price-lower-limit #stockNow_Price,
.stock-index__taiex-info .stock-page__price .font-color__light-green.stock-page__price-lower-limit {
    color: var(--PriceLowerLimitColor);
    background: var(--PriceLowerLimitBg);
    border-radius: 4px;
}

.stock-index__line-row {
    height: calc(100vh - 180px);
    position: relative;
    /*background: #eee;*/
}

    .stock-index__line-row > div:nth-child(1),
    .stock-index__line-row > div:nth-child(1) > canvas {
        max-width: 100%;
    }

    .stock-index__line-row.stock-error:before {
        content: var(--my-after-text, "text inner");
        position: absolute;
        height: 50px;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        font-size: 30px;
        z-index: 1;
        margin: auto;
        text-align: center;
        color: #ffffff;
    }

    .stock-index__line-row.stock-error:after {
        content: " ";
        width: 100%;
        height: 100%;
        position: absolute;
        bottom: 0px;
        left: 0;
        background: rgb(255, 0, 0, 0.15);
    }


.stock-index__taiex-info .title {
    /*width: 50px;*/
    display: inline-block;
    /* background: #bf2c21; */
    vertical-align: middle;
    font-weight: normal;
}

.stock-index__taiex-info .num {
    /*width: 85px;*/
    display: inline-block;
    /* background: #2b9d30; */
    margin-right: 15px;
    vertical-align: middle;
    /*font-family: var(--FontfamilyNum);*/
    font-weight: bolder;
}

.stock-line__technical-more {
    /*display: inline-block;*/
    min-width: 80px;
    vertical-align: middle;
}

@media screen and (max-width: 560px) {
    .stock-line__technical-more {
        /*display: block;*/
        max-width: 80px;
        margin-top: 9px;
        margin-bottom: 5px;
    }
}

.stock-line__technical-more .form-select {
    height: 30px;
    border-radius: 2px;
}


.stock-index__notice,
.stock-index__stockstar,
.stock-page__declaration.stock-index {
    position: relative;
}

.stock-page__declaration.stock-index {
    height: max-content !important;
}

.stock-index__notice {
    /*height: var(--StockIndexNoticeHeightC);*/
    /*margin-bottom: 32px;*/
}

.stock-index__stockstar {
    /*height: calc(var(--StockIndexNoticeHeightA) / 2);*/
    margin-bottom: 0px;
}

/*@media screen and (max-width: 991px) {
    .stock-index__notice #StockNoticeArea {
        height: 300px;
    }
}*/

.stock-page .stock-index__notice > div,
.stock-page .stock-index__news > div,
.stock-page .stock-index__stockstar > div {
    border-color: #fff;
    /*box-shadow: 0 0 15px #eee;*/
}

.stock-page.stock-bg-dark .stock-index__notice > div,
.stock-page.stock-bg-dark .stock-index__stockstar > div,
.stock-page.stock-bg-dark .stock-index__news > div {
    border-color: var(--StockBorderDarkPurple2);
    box-shadow: 0 0 0 #eee;
}

.stock-index__notice > div,
.stock-index__news > div {
    height: 100%;
    overflow-y: auto;
}

.stock-index__notice .title,
.stock-index__news .title,
.stock-index__stockstar .title {
    padding: 0 4px;
    /*position: absolute;*/
    /*top: -9px;*/
    /*margin-left: 10px;*/
    margin-bottom: 0;
    /*background-color: #fff;*/
}

.stock-bg-dark .stock-index__notice .title,
.stock-bg-dark .stock-index__news .title,
.stock-bg-dark .stock-index__stockstar .title {
    /* background-color: #212534; */
    /*background-color: #2b384f;*/
    /*background-color: #0e0e2a;*/
}


.stock-index__notice .item {
    margin-bottom: 5px;
    padding: 5px 5px;
}

.stock-page .stock-index__notice .item:hover {
    background: #f3f4fd;
}

    .stock-page .stock-index__notice .item:hover a {
        color: var(--bs-body-color);
    }

.stock-bg-dark .stock-index__notice .item a {
    color: #fff;
}

.stock-bg-dark .stock-index__notice .item:hover {
    background: #292d58;
}

    .stock-bg-dark .stock-index__notice .item:hover a {
        color: #fff;
    }

.stock-index__notice .item .day {
    color: #bdc2e8;
    padding-right: 10px;
}

.stock-index__notice .item .icon {
    font-size: 20px;
    width: 30px;
}

.stock-index__notice .item .text {
    width: calc(100% - 30px);
}

.stock-index__notice p a {
    color: #333 !important;
}

.stock-bg-dark .stock-index__notice p a {
    color: #fff !important;
}

/*.stock-bg-light .stock-index__news .bor {
}*/

.stock-index__list-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow: auto;
    /*-webkit-overflow-scrolling: touch;*/
    margin-bottom: 0px;
    /*height: calc(var(--StockIndexNoticeHeightB) - 50px);*/
    /*min-height: calc(var(--StockIndexNoticeHeightC) - 50px);*/
}

@media screen and (max-width: 1199px) {
    .stock-index__list-table {
        height: 300px;
    }
}

.stock-index__more-btn {
    color: #212534;
    padding: 0px 10px 0px 10px;
    margin-left: 0px;
    /* border: 1px solid; */
    border-radius: 100px;
    font-size: 14px;
    font-weight: normal;
    vertical-align: middle;
    background: #fff;
}

    .stock-index__more-btn.icon {
        padding: 3px;
        font-size: 14px;
        display: inline-flex;
        vertical-align: middle;
        margin-top: -3px;
    }

.stock-index__stockstar .stock-page__price .font-color__light-red.stock-page__price-upper-limit {
    color: var(--PriceUpperLimitColor);
    background: var(--PriceUpperLimitBg);
    padding: 5px;
    border-radius: 4px;
}

.stock-index__stockstar .stock-page__price .font-color__light-green.stock-page__price-lower-limit {
    color: var(--PriceLowerLimitColor);
    background: var(--PriceLowerLimitBg);
    padding: 5px;
    border-radius: 4px;
}

.stock-index .stock-page__declaration {
}

@media screen and (max-width: 991px) {
    .stock-index .stock-page__declaration {
        padding-bottom: 40px;
    }
}


/*stock-index__01-instructionsk*/
.stock-index__tool-row.open-instructions .tool-ui {
    z-index: 50;
    position: relative;
    cursor: pointer;
    animation: pulseShadow 2.2s infinite ease-in-out;
}

@keyframes pulseShadow {
    0% {
        box-shadow: 0 0 5px 0px #a9b3ff;
    }

    50% {
        box-shadow: 0 0 20px 8px #d1d7ff;
    }

    100% {
        box-shadow: 0 0 5px 0px #a9b3ff;
    }
}

.stock-instructions.stock-index__01-instructions {
    max-width: 200px;
    top: 50px;
}

    .stock-instructions.stock-index__01-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        left: 40px;
        right: auto;
    }

.instructions-arrow {
    width: 30px;
    height: 0;
    position: absolute;
    top: -44px;
    left: 90px;
    animation: slideArrow01 2.2s infinite ease-in-out;
    z-index: 10;
}

@keyframes slideArrow01 {
    0% {
        left: 150px;
        opacity: 0;
    }

    50% {
        left: 90px;
        opacity: 1;
    }

    65% {
        left: 90px;
        opacity: 1;
    }

    100% {
        left: 90px;
        opacity: 0;
    }
}

.instructions-arrow img {
    width: 100%;
}

/*stock-index__02-instructions*/
.stock-index__popup__edit-ui-body.open-instructions:before,
.stock-index__popup__edit-ui-footer.open-instructions:before {
    position: relative;
    display: none;
}

.stock-index__popup__edit-ui-body.open-instructions:after,
.stock-index__popup__edit-ui-footer.open-instructions:after {
    position: relative;
    display: none;
}

.stock-index__popup__edit-ui-body.open-instructions h4 {
    display: inline-block;
}

.stock-instructions.stock-index__02-instructions {
    display: none;
}

.open-instructions .stock-instructions.stock-index__02-instructions {
    display: inline-block;
    width: auto;
}

.stock-instructions.stock-index__02-instructions > div {
    background: #5f52d2;
    border-radius: 7px;
    color: #fff;
    padding: 6px 0px 4px 14px;
    margin-left: 14px;
}

    .stock-instructions.stock-index__02-instructions > div:before {
        transform: rotate(-90deg);
        color: #5f52d2;
        top: -9px;
        left: -13px;
        right: auto;
    }

.stock-index__popup__edit-ui-footer .stock-instructions {
    position: relative;
    padding-right: 10px;
}

    .stock-index__popup__edit-ui-footer .stock-instructions.stock-index__02-instructions > div {
        margin-left: auto;
        margin-right: auto;
        padding: 6px 8px 4px 8px;
        animation: pulseShadow2 6s 1s infinite ease-in-out;
    }

@keyframes pulseShadow2 {
    0% {
        box-shadow: 0 0 3px 0px #a9b3ff;
    }

    20% {
        box-shadow: 0 0 15px 5px #d1d7ff;
    }

    30% {
        box-shadow: 0 0 15px 5px #d1d7ff;
    }

    50% {
        box-shadow: 0 0 3px 0px #a9b3ff;
    }

    100% {
        box-shadow: 0 0 3px 0px #a9b3ff;
    }
}


.stock-index__popup__edit-ui-footer .stock-instructions.stock-index__02-instructions > div:before {
    transform: rotate(-271deg);
    top: 2px;
    left: auto;
    right: -11px;
    font-size: 16px;
}


/*stock-index__03-instructions--lay1*/
.stock-instructions.stock-layout__01-instructions > div {
    margin-top: 17px;
}

    .stock-instructions.stock-layout__01-instructions > div:before {
        top: -27px;
        right: 0;
        left: 0;
        text-align: center;
        margin: auto;
        transform: rotate(0deg);
    }


/*stock-index__04-instructions--lay2*/
.stock-instructions.stock-layout__02-instructions,
.stock-instructions.stock-layout__03-instructions,
.stock-instructions.stock-layout__04-instructions {
    right: 0;
    width: 250px;
}

    .stock-instructions.stock-layout__02-instructions > div {
        margin-top: 17px;
    }

        .stock-instructions.stock-layout__02-instructions > div:before {
            top: -27px;
            right: 34px;
            margin: auto;
            transform: rotate(0deg);
        }

    /*stock-index__05-instructions--lay3*/
    .stock-instructions.stock-layout__03-instructions > div {
        margin-top: 17px;
    }

        .stock-instructions.stock-layout__03-instructions > div:before {
            top: -27px;
            right: 0px;
            margin: auto;
            transform: rotate(0deg);
        }

/*stock-index__06-instructions--stock-line*/
.stock-instructions.stock-index__06-instructions,
.stock-instructions.stock-index__07-instructions,
.stock-instructions.stock-index__08-instructions,
.stock-instructions.stock-index__10-instructions,
.stock-instructions.stock-index__11-instructions,
.stock-instructions.stock-index__12-instructions,
.stock-instructions.stock-index__13-instructions {
    width: 250px;
}

.stock-instructions.stock-index__09-instructions {
    width: 195px;
}

.stock-instructions.stock-index__06-instructions,
.stock-instructions.stock-index__07-instructions,
.stock-instructions.stock-index__08-instructions,
.stock-instructions.stock-index__09-instructions {
    top: 120px;
}

@media screen and (max-width: 1550px) {
    .stock-instructions.stock-index__06-instructions,
    .stock-instructions.stock-index__07-instructions,
    .stock-instructions.stock-index__08-instructions,
    .stock-instructions.stock-index__09-instructions {
        top: 140px;
    }
}

.stock-instructions.stock-index__06-instructions > div:before,
.stock-instructions.stock-index__07-instructions > div:before {
    top: -25px;
    right: 0px;
    left: 0;
    margin: auto;
    text-align: center;
    transform: rotate(0deg);
}


/*stock-index__07*/
.stock-instructions.stock-index__07-instructions {
    left: 140px;
}

    .stock-instructions.stock-index__07-instructions > div:before {
        right: 0px;
        left: auto;
        text-align: right;
    }

.stock-index__07-instructions .instructions-arrow {
    top: 20px;
    right: -100px;
    left: auto;
    animation: slideArrow07 2.2s infinite ease-in-out;
}

@keyframes slideArrow07 {
    0% {
        top: 20px;
        right: -100px;
        opacity: 0;
    }

    50% {
        top: -25px;
        right: -40px;
        opacity: 1;
    }

    65% {
        top: -25px;
        right: -40px;
        opacity: 1;
    }

    100% {
        top: -20px;
        right: -40px;
        opacity: 0;
    }
}

/*stock-index__08-instructions--stock-btn__technical-line-chart*/
.stock-instructions.stock-index__08-instructions {
    left: 330px;
}

    .stock-instructions.stock-index__08-instructions > div:before,
    .stock-instructions.stock-index__09-instructions > div:before,
    .stock-instructions.stock-index__10-instructions > div:before {
        top: -25px;
        right: 0px;
        left: 0;
        margin: auto;
        text-align: center;
        transform: rotate(0deg);
    }

/*stock-index__09-instructions */
.stock-instructions.stock-index__09-instructions {
    left: 405px;
}


/*stock-index__10-instructions */
.stock-instructions.stock-index__10-instructions {
    top: 143px;
    left: 0;
    right: 0;
    margin: auto;
}

@media screen and (max-width: 1550px) {
    .stock-instructions.stock-index__10-instructions {
        top: 160px;
    }
}


/*stock-index__11-instructions */
.stock-instructions.stock-index__11-instructions {
    right: 27px;
    bottom: 85px;
}

    .stock-instructions.stock-index__11-instructions > div:before {
        transform: rotate(180deg);
        right: 9px;
        bottom: -25px;
    }

/*stock-index__12-instructions */
.stock-instructions.stock-index__12-instructions {
    height: 115px;
    top: 0;
    bottom: 0;
    margin: auto;
    overflow: unset;
}

/* ui1-a1-12 */
.instructions-mode .ui1 .stock-page__declaration.stock-index + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
}

.stock-index__notice .stock-index__12-instructions > div:before {
    transform: rotate(90deg);
    right: -17px;
}

/* ui1-a2-12 */
.instructions-mode .ui1 .stock-index__stockstar + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
}

/* ui1-b1-12 */
.instructions-mode .ui1 div:first-child .stock-index__12-instructions {
    right: 150px;
    left: auto;
    top: 100px;
}

    .instructions-mode .ui1 div:first-child .stock-index__12-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/* ui1-c1-12 */
.instructions-mode .ui1 .stock-index__line + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
}

/* ui1-c2-12 */
.instructions-mode .ui1 .stock-page__declaration.stock-index + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
}

/* ui2-a1-12 */
.instructions-mode .ui2 .stock-index__line + .stock-index__notice .stock-index__12-instructions {
    right: -260px;
    left: auto;
    top: 100px;
}

    .instructions-mode .ui2 .stock-index__line + .stock-index__notice .stock-index__12-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/* ui2-a2-12 */
.instructions-mode .ui2 ..stock-index__line + stock-index__stockstar + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
}

/* ui2-b1-12 */
.instructions-mode .ui2 div:first-child .stock-index__12-instructions {
    right: -260px;
    left: auto;
}

    .instructions-mode .ui2 div:first-child .stock-index__12-instructions > div:before {
        transform: rotate(-90deg);
        right: auto;
        left: -20px;
    }

/* ui2-c1-12 */
.instructions-mode .ui2 .stock-index__stockstar + .stock-index__line + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
    right: auto;
}

    .instructions-mode .ui2 .stock-index__stockstar + .stock-index__line + .stock-index__notice .stock-index__12-instructions > div:before {
        transform: rotate(90deg);
        right: -17px;
        left: auto;
    }

/* ui2-c2-12 */
.instructions-mode .ui2 .stock-index__stockstar + .stock-index__notice .stock-index__12-instructions {
    right: -260px;
    left: auto;
}

    .instructions-mode .ui2 .stock-index__stockstar + .stock-index__notice .stock-index__12-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/* ui3-a1-12 */
.instructions-mode .ui3 .stock-index__line + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
    right: auto;
}

/* ui3-a2-12 */
.instructions-mode .ui3 .stock-index__line + .stock-index__stockstar + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
    right: auto;
}

/* ui3-b1-12 */
.instructions-mode .ui3 div:first-child .stock-index__12-instructions {
    right: -260px;
    left: auto;
}

    .instructions-mode .ui3 div:first-child .stock-index__12-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/* ui3-c1-12 */
.instructions-mode .ui3 .stock-index__stockstar + .stock-index__line.col-line__scroll + .stock-index__notice {
}

/* ui3-c2-12 */
.instructions-mode .ui3 .stock-index__stockstar + .stock-index__notice .stock-index__12-instructions {
    left: -260px;
    right: auto;
}


/*stock-index__13-instructions */
.stock-instructions.stock-index__13-instructions {
    height: 115px;
    margin: auto;
    top: 0;
    bottom: 0;
}

/* ui1-a1-13 */
.instructions-mode .ui1 .stock-index__notice + .stock-index__stockstar .stock-index__13-instructions {
    left: -265px;
    top: 100px;
}

.stock-index__stockstar .stock-index__13-instructions > div:before {
    transform: rotate(90deg);
    right: -17px;
    left: auto;
}

/* ui1-a2-13 */
.instructions-mode .ui1 .stock-page__declaration.stock-index + .stock-index__stockstar .stock-index__13-instructions {
    left: -265px;
}

/* ui1-b1-13 */
.instructions-mode .ui1 .stock-index__line + .stock-index__stockstar .stock-index__13-instructions {
    left: -265px;
}

/* ui1-b2-13 */
.instructions-mode .ui1 .stock-page__declaration.stock-index + .stock-index__stockstar .stock-index__13-instructions {
    left: -265px;
}

/* ui1-c1-13 */
.instructions-mode .ui1 div:first-child .stock-index__13-instructions {
    right: 100px;
    left: auto;
}

    .instructions-mode .ui1 div:first-child .stock-index__13-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/* ui2-a1-13 */
.instructions-mode .ui2 .stock-index__line + .stock-index__notice + .stock-index__stockstar .stock-index__13-instructions {
    left: -260px;
    right: auto;
}

    .instructions-mode .ui2 .stock-index__line + .stock-index__notice + .stock-index__stockstar .stock-index__13-instructions > div:before {
        transform: rotate(90deg);
        right: -17px;
        left: auto;
    }

/* ui2-a2-13 */
.instructions-mode .ui2 .stock-index__line + .stock-index__stockstar .stock-index__13-instructions {
    right: -260px;
}

    .instructions-mode .ui2 .stock-index__line + .stock-index__stockstar .stock-index__13-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/* ui2-b1-13 */
.instructions-mode .ui2 .stock-index__notice + .stock-index__line + .stock-index__stockstar .stock-index__13-instructions {
    left: -260px;
    right: auto;
}

    .instructions-mode .ui2 .stock-index__notice + .stock-index__line + .stock-index__stockstar .stock-index__13-instructions > div:before {
        transform: rotate(90deg);
        right: -17px;
        left: auto;
    }

/* ui2-b2-13 */
.instructions-mode .ui2 .stock-index__notice + .stock-index__stockstar .stock-index__13-instructions {
    right: -260px;
}

    .instructions-mode .ui2 .stock-index__notice + .stock-index__stockstar .stock-index__13-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/* ui2-c1-13 */
.instructions-mode .ui2 div:first-child .stock-index__13-instructions {
    right: -260px;
    left: auto;
}

    .instructions-mode .ui2 div:first-child .stock-index__13-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }

/*stock-index__14-instructions--lay4*/
.stock-instructions.stock-layout__04-instructions {
    top: -137px;
}

    .stock-instructions.stock-layout__04-instructions > div:before {
        top: auto;
        bottom: -26px;
        right: 5px;
        transform: rotate(180deg);
    }

/* ui3-a1-13 */
.instructions-mode .ui3 .stock-index__line + .stock-index__notice + .stock-index__stockstar .stock-index__13-instructions {
    left: -260px;
    right: auto;
}

/* ui3-a2-13 */
.instructions-mode .ui3 .stock-index__line + .stock-index__stockstar .stock-index__13-instructions {
    left: -260px;
    right: auto;
}

/* ui3-b1-13 */
.instructions-mode .ui3 .stock-index__notice + .stock-index__line.col-line__scroll + .stock-index__stockstar .stock-index__13-instructions {
    left: -260px;
    right: auto;
}

/* ui3-b2-13 */
.instructions-mode .ui3 .stock-index__notice + .stock-index__stockstar .stock-index__13-instructions {
    left: -260px;
    right: auto;
}

/* ui3-c1-13 */
.instructions-mode .ui3 div:first-child .stock-index__13-instructions {
    right: -260px;
    left: auto;
}

    .instructions-mode .ui3 div:first-child .stock-index__13-instructions > div:before {
        transform: rotate(-90deg);
        left: -17px;
        right: auto;
    }




/* $$003-stock__optional-stock ----------------------------------------------------------- */
.stock-optional.dis-flex {
}

@media screen and (max-width: 991px) {
    .dis-flex.stock-optional.flex-wrap-nowrap {
        flex-wrap: wrap;
    }
}

.stock-optional__col .stock-hide__left-btn,
.stock-optional__col .stock-hide__right-btn,
.stock-optional__col-head .stock-hide__right-btn {
    font-size: 14px;
    border: 1px solid #d3dad0;
    border-radius: 0px 10px 10px 0px;
    padding: 2px 3px;
    color: #0e0e2a;
    display: inline-flex;
    background: #dcdeea;
}

.stock-optional__col .stock-hide__left-btn {
    border-radius: 10px 0px 0px 10px;
}

    .stock-optional__col .stock-hide__left-btn:hover,
    .stock-optional__col .stock-hide__right-btn:hover,
    .stock-optional__col-head .stock-hide__right-btn:hover {
        color: #0e0e2a;
        background: #fff;
        cursor: pointer;
        transition: 0.2s;
    }

    .stock-optional__col .stock-hide__left-btn .text {
        display: none;
    }

@media screen and (max-width: 991px) {
    .stock-optional__col .stock-hide__left-btn {
        right: 10px;
        left: auto;
        top: -68px;
        z-index: 1;
        width: auto;
        border-radius: 100px;
        padding: 0 10px;
    }

        .stock-optional__col .stock-hide__left-btn .icon {
            display: none;
        }

        .stock-optional__col .stock-hide__left-btn .text {
            display: block;
            font-size: 18px;
        }
}

.stock-optional__col .stock-show__left-btn,
.stock-optional__col .stock-show__left-btn-2,
.stock-optional__col .stock-show__right-btn,
.stock-optional__col .stock-show__right-btn-2,
.col-line .stock-show__right-btn {
    display: none;
}

.stock-optional__col .stock-show__left-btn,
.stock-optional__col .stock-show__left-btn-2 {
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #d3dad0;
    border-radius: 0 10px 10px 0;
    padding: 2px 3px 1px 3px;
    color: #0e0e2a;
    text-align: right;
    background: #d3dad0;
    position: absolute;
    left: 0;
    top: -29px;
    margin: 0;
    line-height: 1;
}

    .stock-optional__col .stock-show__left-btn .text {
        display: none;
    }

@media screen and (max-width: 991px) {
    .stock-optional__col .stock-show__left-btn {
        right: 9px;
        left: auto;
        top: -65px;
        width: auto;
        border-radius: 100px;
        padding: 6px 10px;
        display: block;
        z-index: 5;
        font-size: 19px;
    }

        .stock-optional__col .stock-show__left-btn .icon {
            display: none;
        }

        .stock-optional__col .stock-show__left-btn .text {
            display: block;
        }
}

.stock-optional__col .stock-show__right-btn,
.stock-optional__col .stock-show__right-btn-2,
.col-line .stock-show__right-btn,
.col-line .stock-show__right-btn-2 {
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #d3dad0;
    border-radius: 10px 0 0 10px;
    padding: 2px 3px 1px 3px;
    color: #0e0e2a;
    background: #d3dad0;
    position: absolute;
    right: 0;
    top: 7px;
    margin: 0;
    line-height: 1;
}

.stock-page__condition-search__after2 .col-line .stock-show__right-btn,
.stock-page__condition-search__after2 .col-line .stock-show__right-btn-2 {
    right: -15px;
}

.stock-optional__col .stock-show__left-btn:hover,
.stock-optional__col .stock-show__left-btn-2:hover,
.stock-optional__col .stock-show__right-btn:hover,
.stock-optional__col .stock-show__right-btn-2:hover,
.col-line .stock-show__right-btn:hover,
.col-line .stock-show__right-btn-2:hover {
    border: 1px solid #fff;
    background-color: #fff;
    color: #212534;
    transition: 0.2s;
    cursor: pointer;
}

.col-stock,
.col-main {
    /* border: 1px solid #d3dad0; */
    position: relative;
    height: calc(100vh - 47px);
}

.col-stock {
    width: var(--widthLeft);
    min-width: 360px;
    max-width: 400px;
    /*border-right: 1px solid #464e6a;*/
}

    .col-stock .stock-item__title {
        cursor: pointer;
    }

.col-handline {
    width: 0px !important;
    border-right: 1px solid #7580e7;
    background: transparent;
}

.stock-page .col-handline {
    width: 2px !important;
    border-right: 1px solid #dcdde6;
    background: transparent;
}

.stock-bg-dark .col-handline {
    border-right: 1px solid #757a8f;
}

@media screen and (max-width: 991px) {
    .col-handline {
        display: none;
    }
}

.col-main {
    --widthCenter: auto;
    width: calc(100% - 875px);
    min-width: 420px;
    flex: 2;
    padding: 0;
}

@media screen and (max-width: 991px) {
    .col-main {
        min-width: 100%
    }
}

.col-line.stock-optional__col .stock-optional__head,
.col-line.stock-optional__col .stock-page__btn-row {
    padding-left: 5px;
}

@media screen and (max-width: 480px) {
    .col-line {
        min-width: auto;
    }

        .col-line.stock-optional__col .stock-optional__head,
        .col-line.stock-optional__col .stock-page__btn-row {
            padding-left: 0px;
        }
}

.stock-index__taiex-info .stock-page__price-upper-limit.font-color__light-red #stockNow_Price {
    color: white;
    background: #f60000;
    padding-left: 5px;
    padding-right: 5px;
}


.stock-index__taiex-info .stock-page__price-lower-limit.font-color__light-green #stockNow_Price {
    color: white;
    background: #1d9b1d;
    padding-left: 5px;
    padding-right: 5px;
}

.col-line .col-line__scroll {
    display: block;
    width: 100%;
    height: 100%;
    /*overflow-x: auto;*/
}

    /*#���� {
    color: #495270;
}
*/
    .col-line .col-line__scroll .col-line__main {
        min-width: 835px;
    }

.col-info {
    --widthRight: 375px;
    width: var(--widthRight);
    /*border-left: 1px solid #464e6a;*/
    border-left: 1px solid #606b7b;
    min-width: 375px;
}

@media screen and (max-width: 991px) {
    .col-stock,
    .col-line,
    .col-info {
        width: 100vw;
        max-width: 100%;
        min-width: auto;
    }

    .col-stock {
        position: fixed;
        display: none;
        z-index: 1;
        background: #0d0f2a;
        top: 0;
        left: 0;
        height: 100%;
    }

    .col-line {
        padding: 0px;
        height: auto;
    }

    .col-info {
        border-left: 0px;
        height: auto;
    }
}

/* stock-optional__col-stock */
@media screen and (max-width: 991px) {
    .col-stock.stock-optional__col {
        z-index: 1031;
    }
}

@media screen and (max-width: 991px) {
    .col-stock .stock-optional__col-head {
        padding: 21px 19px 19px;
    }
}

.col-stock .table-responsive {
    /* overflow-x: auto; */
}

.stock-optional__list-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow: auto;
    /*-webkit-overflow-scrolling: touch;*/
    margin-bottom: 0px;
    /*height: calc(100vh - 260px);*/
    /*height: calc(100vh - 285px);*/
    height: calc(100vh - 305px);
}

@media screen and (max-width: 991px) {
    .stock-optional__list-table {
        height: calc(100vh - 330px);
    }
}

.stock-page .stock-optional__list-table .table-hover.table-fixed__1td tr:hover td:nth-child(2),
.stock-page .stock-optional__list-table .table-hover.table-fixed__1td tr:hover td:nth-child(3) {
    background-color: #f3f4fd;
}

.stock-bg-dark .stock-optional__list-table .table-hover.table-fixed__1td tr:hover td:nth-child(2),
.stock-bg-dark .stock-optional__list-table .table-hover.table-fixed__1td tr:hover td:nth-child(3) {
    background-color: #2b2b58;
}

.stock-optional__list-table .stock-page__price .font-color__light-red.stock-page__price-upper-limit {
    color: var(--PriceUpperLimitColor);
    background: var(--PriceUpperLimitBg);
    padding: 5px;
    border-radius: 4px;
}

.stock-optional__list-table .stock-page__price .font-color__light-green.stock-page__price-lower-limit {
    color: var(--PriceLowerLimitColor);
    background: var(--PriceLowerLimitBg);
    padding: 5px;
    border-radius: 4px;
}

.stock-item-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.stock-optional .col-stock .stock-page__tabcontent .stock-optional__list-table.stock-list .table p,
.stock-optional .col-stock .stock-page__tabcontent .stock-optional__list-table.stock-list .table span,
.stock-optional .col-stock .stock-page__tabcontent .stock-optional__list-table.stock-list .table h6,
.stock-optional .col-stock .stock-page__tabcontent .stock-optional__list-table.stock-list .table div,
.stock-optional .col-stock .stock-page__tabcontent .stock-optional__list-table.stock-list .table th {
    word-break: keep-all;
}

.table-fixed__optional-stock tr th:nth-child(1),
.table-fixed__optional-stock tr td:nth-child(1),
.table-fixed__optional-stock tr th:nth-child(2),
.table-fixed__optional-stock tr td:nth-child(2),
.table-fixed__optional-stock tr th:nth-child(3),
.table-fixed__optional-stock tr td:nth-child(3) {
    background-color: #fff
}

.stock-bg-dark .table-fixed__optional-stock tr th:nth-child(1),
.stock-bg-dark .table-fixed__optional-stock tr td:nth-child(1),
.stock-bg-dark .table-fixed__optional-stock tr th:nth-child(2),
.stock-bg-dark .table-fixed__optional-stock tr td:nth-child(2),
.stock-bg-dark .table-fixed__optional-stock tr th:nth-child(3),
.stock-bg-dark .table-fixed__optional-stock tr td:nth-child(3) {
    /* background-color: #212534; */
    background-color: #0e0e2a;
}

.table-fixed__optional-stock.table-fixed__1td tr th:nth-child(1),
.table-fixed__optional-stock.table-fixed__1td tr td:nth-child(1),
.table-fixed__optional-stock.table-fixed__1td tr th:nth-child(2),
.table-fixed__optional-stock.table-fixed__1td tr td:nth-child(2),
.table-fixed__optional-stock.table-fixed__1td tr th:nth-child(3),
.table-fixed__optional-stock.table-fixed__1td tr td:nth-child(3) {
    position: sticky;
    left: 1px;
}

.table-fixed__optional-stock.table-fixed__3td tr th:nth-child(1),
.table-fixed__optional-stock.table-fixed__3td tr td:nth-child(1) {
    position: sticky;
    left: 1px;
}

.table-fixed__optional-stock.table-fixed__3td tr th:nth-child(2),
.table-fixed__optional-stock.table-fixed__3td tr td:nth-child(2) {
    position: sticky;
    left: 39px;
}

.table-fixed__optional-stock.table-fixed__3td tr th:nth-child(3),
.table-fixed__optional-stock.table-fixed__3td tr td:nth-child(3) {
    position: sticky;
    left: 73px;
}

.table-fixed__optional-stock.table-fixed__1td tr th:nth-child(3)::before,
.table-fixed__optional-stock.table-fixed__1td tr td:nth-child(3)::before,
.table-fixed__optional-stock.table-fixed__3td tr th:nth-child(1)::before,
.table-fixed__optional-stock.table-fixed__3td tr td:nth-child(1)::before {
    content: "";
    background: #f4f5ff;
    height: 100%;
    width: 2px;
    position: absolute;
    left: -2px;
    bottom: 0;
}

.stock-page.stock-bg-dark .table-fixed__optional-stock.table-fixed__1td tr th:nth-child(3)::before,
.stock-page.stock-bg-dark .table-fixed__optional-stock.table-fixed__1td tr td:nth-child(3)::before,
.stock-page.stock-bg-dark .table-fixed__optional-stock.table-fixed__3td tr th:nth-child(1)::before,
.stock-page.stock-bg-dark .table-fixed__optional-stock.table-fixed__3td tr td:nth-child(1)::before {
    background: #0e0e2a;
}

.stock-list h4,
.stock-list h5,
.stock-list p {
    margin-bottom: 0px;
}

.stock-list h5 {
    font-size: 18px;
}

.stock-list .font-color__light-red {
    /*font-weight: bolder;*/
}

.stock-item__icon,
.stock-item__title,
.stock-item__bicon,
.stock-item__num {
    display: inline-block;
}

.stock-item__icon,
.stock-item__title {
    vertical-align: top;
}

.stock-item__bicon,
.stock-item__num {
    vertical-align: middle;
}

.stock-item__icon {
    text-align: center;
    padding-right: 5px;
}

    .stock-item__icon div {
        margin-bottom: -3px;
    }

    .stock-item__icon .icon {
        font-size: 12px;
        vertical-align: middle;
    }

        .stock-item__icon .icon.fa-star {
            font-size: 12px;
        }

        .stock-item__icon .icon.icon-star-full {
            color: #FFC107;
        }

.stock-bg-dark .stock-item__icon .icon.icon-star-full {
    color: #fff;
}

.stock-item__bicon {
    margin-bottom: -5px;
}

    .stock-item__bicon .icon {
        font-size: 15px;
        font-weight: normal;
        padding-right: 2px;
    }

.stock-item__icon-drag .icon {
    font-size: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.stock-item__icon-delete .icon {
    font-size: 18px;
}

.stock-item__title h6 {
    padding-top: 1px;
    margin-bottom: 1px;
    font-size: 14px;
}

.stock-item__title__name {
    width: 75px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: normal;
    padding: 0;
}

    .stock-item__title__name h5 {
        word-wrap: break-word;
        word-break: break-all;
    }

.stock-item__title h5 {
    margin-bottom: 4px;
}

.stock-item__title .progress {
    height: 3px;
    background-color: #2b9d30;
    border-radius: 0;
}

.stock-item__title .progress-bar {
    background-color: #bf2c21;
}

/* stock-optional__col-main--------- */
.col-main .col-main__head,
.col-main__head {
    display: flex;
    align-items: end;
}

@media screen and (max-width: 1281px) {
    .col-main .col-main__head,
    .col-main__head {
        flex-direction: column;
        align-items: flex-start
    }
}

.col-main__head .main-head__stock {
    min-width: 420px;
    margin-right: 10px;
    margin-left: 3px;
}

@media screen and (max-width: 680px) {
    .col-main__head .main-head__stock {
        min-width: 100%;
    }
}

.stock-optional__inner-btn-row .nav-tabs .nav-link {
    border-radius: 0;
    padding: 0;
}

    .stock-optional__inner-btn-row .nav-tabs .nav-link:focus,
    .stock-optional__inner-btn-row .nav-tabs .nav-link:hover {
        isolation: unset;
    }

.stock-bg-dark .stock-optional__inner-btn-row .nav-tabs .nav-link:focus,
.stock-bg-dark .stock-optional__inner-btn-row .nav-tabs .nav-link:hover {
    color: #fff;
}

    .stock-bg-dark .stock-optional__inner-btn-row .nav-tabs .nav-link:focus.active,
    .stock-bg-dark .stock-optional__inner-btn-row .nav-tabs .nav-link:hover.active {
        color: var(--StockBgDarkPurple4);
    }

.stock-optional__inner-btn-row .nav-tabs .nav-link > div[type="button"] {
    padding: 7px 15px 5px 15px;
}

.stock-optional__inner-btn-row .nav-tabs > .nav-link:hover > .dropdown-menu {
    display: block;
}

@media screen and (min-width: 990px) {
    .stock-optional__inner-btn-row .nav-tabs > .nav-link:hover > .dropdown-menu {
        display: block;
    }
}

/*@media screen and (max-width: 991px) {
            [aria-current="stock-optional_top-tab"] {
                pointer-events: none;
            }
        }*/

.dropdown-menu.stock-optional__inner-btn-srow {
    min-width: fit-content;
    margin: 1.8px 0 0 2.5px;
}

@media screen and (max-width: 991px) {
    .dropdown-menu.stock-optional__inner-btn-srow {
        margin: 0;
    }
}

.stock-optional__inner-btn-srow {
    box-shadow: 0px 3px 9px 8px rgba(189, 189, 221, 0.30);
    padding: 0;
}

.stock-bg-dark .stock-optional__inner-btn-srow {
    box-shadow: 0px 3px 9px 8px rgba(69, 69, 196, 0.80);
}

.stock-optional__inner-btn-srow ul {
    flex-direction: column;
}

.stock-optional__inner-btn-srow:before {
    content: " ";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0px;
    border-color: transparent transparent #ffffff transparent;
    position: absolute;
    top: -9px;
    left: 0;
}

.stock-optional__inner-btn-row .stock-optional__inner-btn-srow .nav-link,
.stock-optional__inner-btn-row .stock-optional__inner-btn-srow .nav-link:hover,
.stock-optional__inner-btn-row .stock-optional__inner-btn-srow .nav-link:focus {
    color: var(--StockBgDarkPurple3);
    padding: 5px 10px;
    margin-bottom: 2px;
    width: 100%;
    text-align: left;
}

.stock-bg-dark .stock-optional__inner-btn-row .stock-optional__inner-btn-srow .nav-link,
.stock-bg-dark .stock-optional__inner-btn-row .stock-optional__inner-btn-srow .nav-link:hover,
.stock-bg-dark .stock-optional__inner-btn-row .stock-optional__inner-btn-srow .nav-link:focus {
    color: var(--StockBgDarkPurple3);
}

.stock-optional__inner-btn-row .stock-optional__inner-btn-srow .nav-link:hover {
    background: #ebebf7;
}


.col-main__inner {
    padding: 5px;
    position: relative;
}

    /* stock-optional__col-main__stock-line__col-line */
    .col-main__inner #stock-line > .dis-flex {
        align-items: flex-start;
    }

    .col-main__inner #stock-line .col-line {
        flex: 1;
    }

    .col-main__inner #stock-line .col-num {
        width: 380px;
        border-left: 1px solid #dcdde6;
    }

.stock-bg-dark .col-main__inner #stock-line .col-num {
    border-left: 1px solid #dce0f9;
}

.stock-bg-dark .col-main__inner #stock-line .col-num {
    border-left: 1px solid var(--StockBorderDarkPurple2);
}

@media screen and (max-width: 991px) {
    .col-main__inner #stock-line .dis-flex_o {
        flex-direction: column;
        align-items: flex-start;
    }

    .col-main__inner #stock-line .col-num {
        width: 100%;
    }
}

.col-line .stock-optional__line-row {
    height: calc(100vh - 250px);
    /* background: #fff; */
}

/* stock-optional__col-main__stock-line__col-info */
.stock-optional__col-head {
}

.col-stock.stock-optional__col .stock-optional__col-head {
    display: flex;
}

    .col-stock.stock-optional__col .stock-optional__col-head .left {
        /*flex-basis: 165px;*/
    }

    .col-stock.stock-optional__col .stock-optional__col-head .right {
        flex: 1;
    }

@media screen and (max-width: 991px) {
    .col-info .stock-optional__col-head {
        display: none;
    }
}

.stock-optional__summary-table {
    cursor: default;
}

    .stock-optional__summary-table .stock-page__price .font-color__light-red.stock-page__price-upper-limit,
    .stock-optional__fivegears-table .stock-page__price .font-color__light-red.stock-page__price-upper-limit {
        color: var(--PriceUpperLimitColor);
        background: var(--PriceUpperLimitBg);
        border-radius: 4px;
        padding: 0 2px;
    }

    .stock-optional__summary-table .stock-page__price .font-color__light-green.stock-page__price-lower-limit,
    .stock-optional__fivegears-table .stock-page__price .font-color__light-green.stock-page__price-lower-limit {
        color: var(--PriceLowerLimitColor);
        background: var(--PriceLowerLimitBg);
        border-radius: 4px;
        padding: 0 2px;
    }

.stock-optional__fivegears-table .table {
    cursor: default;
}

.stock-optional__immediate-row {
    /*height: calc(100% - 330px);*/
}

.stock-optional__immediate-table {
    overflow-y: auto;
    height: calc(100vh - 630px);
    cursor: default;
}

@media screen and (max-width: 1199px) {
    .col-info .stock-optional__summary-table,
    .col-info .stock-optional__fivegears-table,
    .col-info .stock-optional__immediate-row {
        margin-top: 24px;
    }

    .stock-optional__immediate-table {
        height: 500px;
    }
}

.stock-optional__immediate-table tr td:nth-child(2),
.stock-optional__immediate-table tr td:nth-child(3),
.stock-optional__immediate-table tr td:nth-child(4),
.stock-optional__immediate-table tr td:nth-child(5) {
    text-align: right;
}


.stock-optional__summary-table .table tr td,
.stock-optional__fivegears-table .table tr td,
.stock-optional__immediate-table .table tr td {
    padding: 1px 1px;
}

.stock-optional__immediate-table #RealTime_Details .stock-page__price tr .stock-page__price-upper-limit.font-color__light-red {
    color: white;
    background: #f60000;
}

.stock-optional__immediate-table #RealTime_Details .stock-page__price tr .stock-page__price-lower-limit.font-color__light-green {
    color: white;
    background: #1d9b1d;
}

/*stock-optional__col-main__stock-financial*/
.page-stitle {
    border-left: 4px solid #797fe6;
    padding-left: 4px;
    margin-top: 16px;
}

@media screen and (max-width: 1370px) {
    .page-stitle {
        margin-top: 0px;
    }
}

.col-main__inner .tab-content [id*="stock-financial__"] {
}

    .col-main__inner .tab-content [id*="stock-financial__"] .tool-row {
        display: flex;
    }

        .col-main__inner .tab-content [id*="stock-financial__"] .tool-row > div:first-child {
            width: 120px;
        }

@media screen and (max-width: 991px) {
    .col-main__inner .tab-content [id*="stock-financial__"] .tool-row > div:last-child .nav {
        width: calc(100% - 130px);
        overflow-x: auto;
        transition: all 0.2s;
        will-change: transform;
        user-select: none;
        cursor: pointer;
        flex-wrap: nowrap;
        flex-direction: row;
    }

    #stock-financial__balance-sheet .tool-row > div:nth-child(1),
    #stock-financial__income-statement .tool-row > div:nth-child(1),
    #stock-financial__cash-flow .tool-row > div:nth-child(1) {
    }

    #stock-financial__balance-sheet .tool-row > div:nth-child(2),
    #stock-financial__income-statement .tool-row > div:nth-child(2),
    #stock-financial__cash-flow .tool-row > div:nth-child(2) {
        width: calc(99% - 120px);
    }
}

.col-main__inner .tab-content [id*="stock-financial__"] .inner-row {
    padding-right: 10px;
    /*display: flex;*/
}

@media screen and (max-width: 1680px) {
    col-main__inner .tab-content [id*="stock-financial__"] .inner-row {
        flex-flow: column-reverse;
    }
}

/*w-auto mw-100 fit td*/
.col-main__inner .tab-content [id*="stock-financial__"] .table,
.col-main__inner .tab-content [id*="stock-info__"] .table {
    width: auto !important;
    max-width: 100% !important;
}

#stock-info__company-info .table {
    min-width: 240px;
}

.col-main__inner .tab-content [id*="stock-financial__"] .table-bordered > :not(caption) > *,
.stock-simulation .table-bordered > :not(caption) > * {
    border-color: #eeeff2;
}

.stock-bg-dark .col-main__inner .tab-content [id*="stock-financial__"] .table-bordered > :not(caption) > *,
.stock-bg-dark .stock-simulation .table-bordered > :not(caption) > * {
    border-color: #1f213f;
}

.col-main__inner .tab-content [id*="stock-financial__"] .table th,
.col-main__inner .tab-content [id*="stock-financial__"] .table td {
    padding: 5px 15px;
}

.stock-page .col-main__inner .tab-content [id*="stock-financial__"] .num-row .item {
    border: 1px solid #e2e2e2;
    padding: 12px;
    margin-right: 10px;
    margin-bottom: 5px;
    min-width: 120px;
    border-radius: 3px;
}

.stock-bg-dark .col-main__inner .tab-content [id*="stock-financial__"] .num-row .item {
    border: 1px solid #495370;
}

/*stock-optional__col-main__stock-info --company-info*/
.col-main__inner .tab-content [id*="stock-info__"] {
    /*overflow-y: auto;*/
}

/*#stock-info .stock-info__row {
    display: flex;
}

@media screen and (max-width: 1680px) {
    #stock-info .stock-info__row {
        flex-flow: column-reverse;
    }
}*/

.col-main__inner .tab-content #stock-info__company-info {
    width: 100%;
}

    .col-main__inner .tab-content #stock-info__company-info .col-left {
        padding-right: 16px;
        min-width: 300px;
        max-width: calc(60% - 10px);
    }

        .col-main__inner .tab-content #stock-info__company-info .col-left tr > td:first-child {
            width: 100px;
        }

    .col-main__inner .tab-content #stock-info__company-info .col-right {
        /*min-width: 300px;*/
    }

@media screen and (max-width: 1280px) {
    .col-main__inner .tab-content #stock-info__company-info .col-left,
    .col-main__inner .tab-content #stock-info__company-info .col-right {
        max-width: 100%;
        width: 100%;
    }
}

.col-main__inner .tab-content #stock-info__company-info .col-left > div,
.col-main__inner .tab-content #stock-info__company-info .col-right > div {
    max-height: calc(100vh - 245px);
    overflow-y: auto;
}

.col-main__inner .tab-content #stock-info__company-info .col-right > div {
    width: 250px;
}

.col-main__inner .tab-content #stock-info__stock-news {
    width: 100%;
    margin-bottom: 32px;
}

    .col-main__inner .tab-content #stock-info__stock-news .news-row .item {
        border-bottom: 1px solid #dcdde6;
        padding: 10px;
        display: flex;
    }

.stock-bg-dark .col-main__inner .tab-content #stock-info__stock-news .news-row .item {
    border-bottom: 1px solid #495370;
}

.col-main__inner .tab-content #stock-info__stock-news .news-row .item .day {
    color: #bdc2e8;
    padding-right: 10px;
}

.stock-bg-dark .col-main__inner .tab-content #stock-info__stock-news .news-row .item .day {
    color: #bdc2e8;
}

.col-main__inner .tab-content #stock-info__stock-news .news-row .item .news-title {
    /*text-decoration: underline;*/
    text-decoration-color: #a3a3a3;
    color: #333 !important;
}

.stock-bg-dark .col-main__inner .tab-content #stock-info__stock-news .news-row .item .news-title {
    color: #fff !important;
}

.col-main__inner .tab-content #stock-info__stock-news .news-row .item .news-title:hover {
    text-decoration: underline;
    text-decoration-color: #828282;
}

.col-main__inner .tab-content #stock-info__ex-dividend {
    /*width: 100%;*/
}

    .col-main__inner .tab-content #stock-info__ex-dividend .table td {
        padding: 10px 15px;
    }

    .col-main__inner .tab-content #stock-info__ex-dividend .table th {
        padding: 5px 15px;
    }

/* */
.col-hide {
    display: none;
}

.col-show {
    display: block;
}

/* stock-optional__add-stock */
.optionalstock_listnumber.mb-5px {
    display: inline-block;
    padding-left: 3px;
    padding-top: 2px;
    border-left: 5px solid #7a69ed;
    background: #383c5b;
}

.stock-optional__add-stock__word-search {
    width: 100%;
    max-width: 500px;
    margin-left: -1px;
}

.stock-optional__add-stock__ai-search,
.stock-intelligence__save-condition {
    width: 100%;
    max-width: 2000px;
}

.stock-page__condition-search__after .stock-optional__list-table p {
    margin-bottom: 0;
}

.stock-optional__condition-search__after-btn,
.bookmark-tab-inner__buysell__delete-btn {
    position: fixed;
    width: 70%;
    min-width: 400px;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    margin: 15px auto 0;
    border-radius: 5px;
    background: rgb(90 90 174 / 90%);
    display: flex;
    justify-content: center;
    box-shadow: 0 0 25px 0px #bea2ffab;
    z-index: 6;
}

.stock-page.stock-bg-dark .stock-optional__condition-search__after-btn,
.stock-page.stock-bg-dark .bookmark-tab-inner__buysell__delete-btn {
    background: rgba(40,40,76,0.90);
    box-shadow: 0 0 20px 0px #4d387cab;
}

.stock-optional__condition-search__after-btn .form-select {
    width: 200px;
}

.stock-optional__condition-search__after-btn.remove-fixed,
.bookmark-tab-inner__buysell__delete-btn.remove-fixed {
    position: relative;
}

.stock-optional__Inventory-btn {
    position: fixed;
    width: 170px;
    text-align: center;
    right: 96px;
    bottom: 0;
    background: #fff;
    color: #2b394f;
    box-shadow: 0 0 11px 0px #5b5b8f;
    transition: all 0.2s;
    z-index: 1;
    padding: 10px 12px;
    font-weight: 900;
    margin: auto;
    left: 0;
    right: 0;
    font-size: 17px;
    cursor: pointer;
}

.stock-optional__Inventory-inner {
    display: none;
    position: fixed;
    width: 80vw;
    bottom: 0;
    max-width: max-content;
    background: #fff;
    margin: auto;
    left: 0;
    right: 0;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 20px 6px #3a3a9e;
    color: #0e0e2a;
}

    .stock-optional__Inventory-inner.show {
        display: block;
    }

.stock-optional__Inventory-head {
    display: flex;
    padding: 9px 15px 4px;
    border-bottom: 1px solid #eee;
}

    .stock-optional__Inventory-head .title {
        flex: 1;
        font-weight: normal;
        font-size: 16px;
    }

    .stock-optional__Inventory-head .btn-row .icon {
        font-size: 16px;
        display: inline-block;
        border: 1px solid #2b394f;
        cursor: pointer;
    }

.stock-optional__Inventory-main {
    padding: 16px;
}

    .stock-optional__Inventory-main .stock-calculate {
        margin-bottom: 20px;
    }

        .stock-optional__Inventory-main .stock-calculate .stock-num {
            color: #8d8d9c;
            font-size: 18px;
        }

        .stock-optional__Inventory-main .stock-calculate .stock-name {
            color: #0e0e2a;
            font-size: 18px;
        }

        .stock-optional__Inventory-main .stock-calculate .stock-calculate-info {
        }

            .stock-optional__Inventory-main .stock-calculate .stock-calculate-info > div {
                padding-right: 16px;
                display: inline-block;
            }

                .stock-optional__Inventory-main .stock-row .item-inner span:first-child,
                .stock-optional__Inventory-main .stock-calculate .stock-calculate-info > div div:first-child {
                    padding-right: 10px;
                    color: #6b6b6b;
                }

    .stock-optional__Inventory-main .stock-table .table {
        color: #000;
    }

        .stock-optional__Inventory-main .stock-table .table * {
            border-color: #ddd !important;
        }

        .stock-optional__Inventory-main .stock-table .table > thead {
            background: #f0f0f8;
        }

.ui-sortable-handle.selected.ui-sortable-helper > td:nth-child(2) {
    border-right: 0px solid #000;
}

.ui-sortable-handle.selected.ui-sortable-helper > td:last-child {
    opacity: 0;
    display: none;
}

/*stock-optional__01-instructions*/
.stock-instructions.stock-optional__01-instructions,
.stock-instructions.stock-optional__02-instructions,
.stock-instructions.stock-optional__03-instructions,
.stock-instructions.stock-optional__04-instructions,
.stock-instructions.stock-optional__09-instructions,
.stock-instructions.stock-optional__10-instructions,
.stock-instructions.stock-optional__11-instructions,
.stock-instructions.stock-optional__12-instructions,
.stock-instructions.stock-optional__13-instructions,
.stock-instructions.stock-optional__14-instructions,
.stock-instructions.stock-optional__15-instructions,
.stock-instructions.stock-optional__16-instructions {
    width: 200px;
}

.stock-instructions.stock-optional__01-instructions {
    top: 50px;
}

    .stock-instructions.stock-optional__01-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        left: 40px;
        right: auto;
    }

/*stock-optional__02-instructions*/
.col-stock .stock-instructions.stock-optional__02-instructions {
    right: 0;
    top: 50px;
}

    .col-stock .stock-instructions.stock-optional__02-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        right: -4px;
    }

.col-num .stock-optional__col-head .right.open-instructions:after {
    position: absolute;
}

.col-num .stock-instructions.stock-optional__02-instructions {
    left: 0;
    top: 50px;
}

    .col-num .stock-instructions.stock-optional__02-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        left: -4px;
    }

.col-stock .stock-optional__col-head .right.open-instructions:before {
    box-shadow: -60vw 0px 60vw 100vw rgb(21, 21, 64, 0.6);
}

.col-num .stock-optional__col-head .right.open-instructions:before {
    box-shadow: 60vw 0px 60vw 100vw rgb(21, 21, 64, 0.6);
}

@media screen and (max-width: 1800px) {
    .col-stock .stock-optional__col-head .right.open-instructions:before {
        box-shadow: -70vw 20vw 70vw 100vw rgb(21, 21, 64, 0.6);
        /*box-shadow: -70vw 20vw 70vw 100vw red;*/
    }

    .col-num .stock-optional__col-head .right.open-instructions:before {
        /*box-shadow: 80vw 20vw 70vw 100vw blue;*/
        box-shadow: 80vw 20vw 70vw 100vw rgb(21, 21, 64, 0.6);
    }
}

@media screen and (max-width: 1280px) {
    .col-stock .stock-optional__col-head .right.open-instructions:before,
    .col-num .stock-optional__col-head .right.open-instructions:before {
        box-shadow: 0vw 0px 0vw 100vw rgb(21, 21, 64, 0.6);
    }
}

/*stock-optional__03-instructions*/
.stock-instructions.stock-optional__03-instructions {
    left: 0;
    bottom: -110px;
}

    .stock-instructions.stock-optional__03-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        right: 0;
        left: 0;
        text-align: center;
    }

/*stock-optional__04-instructions*/
.stock-instructions.stock-optional__04-instructions {
    left: 0;
    bottom: -125px;
}

    .stock-instructions.stock-optional__04-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        right: 0;
        left: 0;
        text-align: center;
    }

/*stock-optional__05-instructions*/
.stock-instructions.stock-optional__05-instructions,
.stock-instructions.stock-optional__06-instructions,
.stock-instructions.stock-optional__07-instructions,
.stock-instructions.stock-optional__08-instructions {
    width: 250px;
}

.stock-instructions.stock-optional__05-instructions {
    left: 0;
    top: -130px;
}

    .stock-instructions.stock-optional__05-instructions > div:before {
        transform: rotate(180deg);
        bottom: -30px;
        right: auto;
        left: -4px;
        text-align: left;
    }

/*stock-optional__06-instructions*/
.col-stock .table-tool.justify-content-end {
}

.stock-instructions.stock-optional__06-instructions {
    left: 0;
    bottom: 60px;
}

    .stock-instructions.stock-optional__06-instructions > div:before,
    .stock-instructions.stock-optional__07-instructions > div:before,
    .stock-instructions.stock-optional__08-instructions > div:before {
        transform: rotate(180deg);
        bottom: -30px;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
    }

/*stock-optional__07-instructions*/
.stock-instructions.stock-optional__07-instructions {
    right: 55px;
    bottom: 60px;
}

.stock-instructions.stock-optional__071-instructions .instructions-inner,
.stock-instructions.stock-optional__072-instructions .instructions-inner,
.stock-instructions.stock-optional__073-instructions .instructions-inner,
.stock-instructions.stock-optional__074-instructions .instructions-inner,
.stock-instructions.stock-optional__075-instructions .instructions-inner,
.stock-instructions.stock-optional__076-instructions .instructions-inner,
.stock-instructions.stock-optional__077-instructions .instructions-inner {
    font-size: 18px;
    color: #5955b3;
    font-weight: bolder;
}


/*stock-optional__08-instructions*/
.stock-instructions.stock-optional__08-instructions {
    right: -69px;
    bottom: 60px;
}


/*stock-optional__09-instructions  col-line*/
.instructions-mode .col-line .stock-page__btn-row {
    overflow-x: unset;
}

.stock-instructions.stock-optional__09-instructions,
.stock-instructions.stock-optional__10-instructions,
.stock-instructions.stock-optional__11-instructions,
.stock-instructions.stock-optional__12-instructions {
    top: 50px;
}

.stock-instructions.stock-optional__09-instructions {
    left: 0;
}

    .stock-instructions.stock-optional__09-instructions > div:before,
    .stock-instructions.stock-optional__10-instructions > div:before,
    .stock-instructions.stock-optional__11-instructions > div:before,
    .stock-instructions.stock-optional__12-instructions > div:before,
    .stock-instructions.stock-optional__13-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        left: 40px;
        right: auto;
    }


/*stock-optional__10-instructions*/
.stock-instructions.stock-optional__10-instructions {
    left: 150px;
}

    .stock-instructions.stock-optional__10-instructions > div:before,
    .stock-instructions.stock-optional__11-instructions > div:before,
    .stock-instructions.stock-optional__12-instructions > div:before {
        right: 0px;
        left: auto;
        text-align: right;
    }

.stock-optional__10-instructions .instructions-arrow {
    top: 20px;
    right: -100px;
    left: auto;
    animation: slideArrow07 2.2s infinite ease-in-out;
}

/*stock-optional__11-instructions*/
.stock-instructions.stock-optional__11-instructions {
    left: 256px;
}


/*stock-optional__12-instructions*/
.stock-instructions.stock-optional__12-instructions {
    left: 337px;
}


/*stock-optional__13-instructions*/
.stock-instructions.stock-optional__13-instructions {
    top: 75px;
    left: 0;
    right: 0;
    margin: auto;
}

    .stock-instructions.stock-optional__13-instructions > div:before {
        right: 0;
        left: 0;
        text-align: center;
    }

/*stock-optional__14-instructions*/
.stock-instructions.stock-optional__14-instructions {
    right: 50px;
    bottom: 100px;
}

    .stock-instructions.stock-optional__14-instructions > div:before {
        transform: rotate(180deg);
        bottom: -30px;
        right: 20px;
    }

/*stock-optional__15-instructions*/
.instructions-mode .col-main__head .main-head__btn-row.stock-optional__inner-btn-row {
    position: relative;
}

.stock-instructions.stock-optional__15-instructions {
    top: 75px;
    left: 0;
}

    .stock-instructions.stock-optional__15-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        left: 40px;
        right: auto;
    }

/*stock-optional__16-instructions*/
.stock-instructions.stock-optional__16-instructions {
    top: -110px;
    right: 20px
}

    .stock-instructions.stock-optional__16-instructions > div:before {
        transform: rotate(180deg);
        bottom: -30px;
        right: 20px;
    }





/* $$003-B-stock__optional-stock-tv ----------------------------------------------------------- */
.stock-optional-tv__mode-btn-row {
}

.instructions-mode .stock-optional-tv__mode-btn-row {
    overflow-x: unset;
}

.stock-optional-tv__bookmark-btn {
    border-bottom: 1px solid #ced1e7;
}

.stock-bg-dark .stock-optional-tv__bookmark-btn {
    border-bottom: 1px solid #606b7b;
}

.stock-optional-tv__bookmark-btn .bookmark-item {
    padding: 6px 10px 0px 10px;
    text-align: center;
    display: inline-block;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    cursor: pointer;
}

    .stock-optional-tv__bookmark-btn .bookmark-item .name {
        margin: 0;
        padding-left: 5px;
        padding-right: 5px;
        display: inline-block;
    }

    .stock-optional-tv__bookmark-btn .bookmark-item .icon-more-vertical {
        width: 25px;
        display: inline-block;
    }

    .stock-optional-tv__bookmark-btn .bookmark-item.collection,
    .stock-optional-tv__bookmark-btn .bookmark-item.add {
        /*padding: 5px 10px;*/
    }

    .stock-optional-tv__bookmark-btn .bookmark-item.collection {
        /*background: #fff;*/
        /*color: #0f0d2a;*/
    }

.col-bttom.stock-optional-tv__bookmark-inner {
}

.tv-stock-row > div {
    width: 33.333%;
    max-width: 310px;
    min-width: 300px;
    padding: 15px 15px 15px 10px;
    border-right: 1px solid #dbdffe;
    border-bottom: 1px solid #dbdffe;
    box-shadow: -1px -1px 0 #dbdffe;
}

.stock-bg-dark .tv-stock-row > div {
    border-right: 1px solid #606b7b;
    border-bottom: 1px solid #606b7b;
    box-shadow: -1px -1px 0 #4e5b6d;
}

@media screen and (max-width: 991px) {
    .tv-stock-row > div {
        width: 33.333%;
        max-width: auto;
        min-width: auto;
    }
}

@media screen and (max-width: 767px) {
    .tv-stock-row > div {
        width: 50%;
    }
}

.tv-stock-row .bottom {
    width: 280px;
    max-width: 280px;
    height: 150px;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media screen and (max-width: 991px) {
    .tv-stock-row .bottom {
        width: 100% !important;
    }
}

.tv-stock-row .bottom > div {
    width: 100% !important;
}

    .tv-stock-row .bottom > div > canvas {
        width: 100% !important;
    }

.stock-optional-tv__stock-detail {
}

.stock-optional-tv__stock-dinner {
}

    .stock-optional-tv__stock-dinner .stock-show__left-btn {
        display: none;
    }


/* $$004-stock__intelligence-stock ----------------------------------------------------------- */
.stock-intelligence__tab-nav-list {
    /* height: calc(100vh - 230px); */
}

.stock-intelligence .stock-page__condition-search__before .left .sort-row .detail-list {
    height: calc(100vh - 241px);
}

.stock-intelligence__condition-search-table {
    height: calc(100vh - 207px);
}

.stock-intelligence .stock-page__condition-search__before .stock-page__select-list {
    height: calc(100vh - 346px);
}

@media screen and (max-width: 991px) {
    .stock-intelligence__tab-nav-list,
    .stock-intelligence__condition-search-table,
    .stock-intelligence .stock-page__condition-search__before .stock-intelligence__select-list {
        height: auto;
        max-height: 500px;
    }
}

#stock-intelligence__popup__add-optional-stock .table tr td {
    padding: 14px;
}

.stock-intelligence__select-list .stock-page__btn-row .btn-group .btn-outline-primary {
    color: #9b9b9b;
    border-color: #6d6d6d;
    background: transparent;
}

.stock-intelligence__save-condition .condition-row {
    padding: 16px;
    align-items: center;
}

/*.stock-page .stock-intelligence__save-condition .condition-row .condition-item {
    width: 100%;
    max-width: 200px;
    background: #f8f8ff;
    border-left: 5px solid #616aac;
    padding: 8px;
    margin-right: 8px;
    margin-bottom: 8px;
    display: flex;
}*/

.stock-page .stock-intelligence__save-condition .condition-row .condition-item {
    display: flex;
    max-width: 200px;
    margin-right: 8px;
    margin-bottom: 8px;
}

    .stock-page .stock-intelligence__save-condition .condition-row .condition-item .not,
    .stock-page .stock-intelligence__save-condition .condition-row .item-group > .not {
        background: #5e6291;
        padding: 12px 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .stock-page .stock-intelligence__save-condition .condition-row .condition-item > div:nth-child(2) {
        background: #474b84;
        padding: 12px 8px;
    }

.stock-page .stock-intelligence__save-condition .condition-row .item-group {
    display: flex;
    margin-bottom: 8px;
    margin-right: 10px;
}

    .stock-page .stock-intelligence__save-condition .condition-row .item-group > div:nth-child(2) {
        display: flex;
        padding: 7px 7px 0 13px;
        /*background: #95759e;*/
        background: #8a739d;
        border-radius: 3px;
        align-items: center;
    }



/*.stock-bg-dark .stock-intelligence__save-condition .condition-row .condition-item {
    color: #fff;
    background: #232345;
}*/

.stock-intelligence__save-condition .condition-row .condition-item span {
    align-self: center;
}



.stock-intelligence__save-condition .btn-row .btn {
}

    .stock-intelligence__save-condition .btn-row .btn:nth-child(2):hover {
        color: #fff;
        border: 1px solid #ec443b;
        background: #ec443b;
    }


.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(1),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(1),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(2),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(2),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(3),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(3) {
    /*background-color: #fff;*/
}

.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(1),
.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(1),
.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(2),
.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(2),
.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(3),
.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(3) {
    /* background-color: #212534; */
    /*background-color: #0e0e2a;*/
}

.stock-page .stock-intelligence__save-condition .stock-page__list-table .table-hover.table-fixed__2td tr:hover th:nth-child(3),
.stock-page .stock-intelligence__save-condition .stock-page__list-table .table-hover.table-fixed__2td tr:hover td:nth-child(3) {
    background-color: #f3f4fd;
}

.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-hover.table-fixed__2td tr:hover th:nth-child(3),
.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-hover.table-fixed__2td tr:hover td:nth-child(3) {
    background-color: #2b2b58;
}

.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(1),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(1) {
    position: sticky;
    left: 0px;
}

.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(2),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(2) {
    position: sticky;
    left: 0px;
}

.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(3),
.stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(3) {
    position: sticky;
    left: 23px;
}

    .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(3)::before,
    .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(3)::before {
        content: "";
        background: #fff;
        height: 100%;
        width: 2px;
        position: absolute;
        left: -2px;
        bottom: 0;
    }

.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr th:nth-child(3)::before,
.stock-bg-dark .stock-intelligence__save-condition .stock-page__list-table .table-fixed__2td tr td:nth-child(3)::before {
    background: #0e0e2a;
}



#stock-page__popup__edit-condition .stock-page__price {
    margin-bottom: 0;
    align-self: center;
}

/*after*/
.stock-intelligence .stock-page__condition-search__after .stock-item__title {
    cursor: pointer;
}


.stock-intelligence .stock-page__condition-search__after2 {
}

    .stock-intelligence .stock-page__condition-search__after2 #OptionalStockList,
    .stock-intelligence .stock-page__condition-search__after2 .col-handline {
        display: none;
    }

    .stock-intelligence .stock-page__condition-search__after2 .col-line {
        width: 100%;
    }

    .stock-intelligence .stock-page__condition-search__after2 .stock-optional .col-main {
        width: calc(100vh - 125px);
    }


/*ai*/
#stock-tab__intelligence-ai .stock-page__price .line-head__icon .icon {
    margin-right: -5px;
}

.stock-intelligence__ai-search .input-group {
    width: 500px;
}

#stock-tab__intelligence-ai .stock-page__price .stock-page__price-upper-limit.font-color__light-red {
    color: white;
    background: #f60000;
    padding-left: 5px;
    padding-right: 5px;
}

#stock-tab__intelligence-ai .stock-page__price .stock-page__price-lower-limit.font-color__light-green {
    color: white;
    background: #1d9b1d;
    padding-left: 5px;
    padding-right: 5px;
}

.stock-intelligence__ai-line {
    width: calc(100% - 350px);
    background: #fff;
}

.stock-intelligence__ai-line-options {
    width: 350px;
    background: #3c3c76;
    padding: 16px;
}

    .stock-intelligence__ai-line-options .form-control {
        width: 80px;
        margin-left: 5px;
        margin-right: 5px;
    }

.stock-intelligence__ai-news .ai-news-item {
    padding: 16px 8px;
    border-bottom: 1px solid #495270;
    width: 100%;
}

    .stock-intelligence__ai-news .ai-news-item a {
        color: #fff;
        cursor: pointer;
    }

    .stock-intelligence__ai-news .ai-news-item:hover {
        background: #41516a;
    }


.stock-instructions.stock-intelligence__01-instructions,
.stock-instructions.stock-intelligence__02-instructions,
.stock-instructions.stock-intelligence__03-instructions,
.stock-instructions.stock-intelligence__04-instructions,
.stock-instructions.stock-intelligence__05-instructions,
.stock-instructions.stock-intelligence__07-instructions,
.stock-instructions.stock-intelligence__05-instructions {
    width: 250px !important;
}

.stock-instructions.stock-intelligence__01-instructions {
    left: 0;
    top: 50px;
}

    .stock-instructions.stock-intelligence__01-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        left: 15px;
    }

.stock-instructions.stock-intelligence__02-instructions {
    right: 0;
    top: 50px;
}

    .stock-instructions.stock-intelligence__02-instructions > div:before {
        transform: rotate(0deg);
        top: -30px;
        right: 15px;
    }

.stock-instructions.stock-intelligence__03-instructions {
    left: 160px;
    top: 50px;
}

    .stock-instructions.stock-intelligence__03-instructions > div:before {
        transform: rotate(-90deg);
        left: -20px;
        right: auto;
    }

.stock-instructions.stock-intelligence__04-instructions {
    left: 250px;
    margin: auto;
    top: 200px;
}

    .stock-instructions.stock-intelligence__04-instructions > div:before {
        transform: rotate(-90deg);
        left: -20px;
        right: auto;
    }

.stock-instructions.stock-intelligence__04-instructions .instructions-arrow {
    top: 23px;
    left: 20px;
    right: 0;
    animation: slideArrowi04 2.2s infinite ease-in-out;
}

@keyframes slideArrowi04 {
    0% {
        top: 50px;
        left: -40px;
        opacity: 0;
    }

    50%, 65% {
        top: -5px;
        left: -165px;
        opacity: 1;
    }

    100% {
        top: -5px;
        left: -165px;
        opacity: 0;
    }
}

.stock-intelligence .col-left .stock-page__tab-nav.open-instructions .nav-pills{
    position: relative;
    z-index: 50;
}

.stock-instructions.stock-intelligence__05-instructions {
    right: -290px;
    top: 50px;
}

    .stock-instructions.stock-intelligence__05-instructions > div:before {
        transform: rotate(-90deg);
        left: -20px;
        right: auto;
    }



.stock-instructions.stock-intelligence__06-instructions{
    width: 300px;
}


    .stock-instructions.stock-intelligence__06-instructions > div:before {
        transform: rotate(0deg);
        left: 30px;
        top: -30px;
    }

    .stock-instructions.stock-intelligence__06-instructions .table {
        color: #000;
        border-color: #ddd;
        cursor: default;
    }

    .stock-instructions.stock-intelligence__06-instructions .table > thead {
        background: #eee;
        color: #000;
        border-bottom: 3px solid #ddd;
    }

        .stock-instructions.stock-intelligence__06-instructions .table th,
        .stock-instructions.stock-intelligence__06-instructions .table td {
            border-color: #ddd !important;
        }

    .stock-instructions.stock-intelligence__06-instructions .btn-block {
        color: #000;
        border: 1px solid #eee;
        text-align: center;
        padding: 2px 8px 0px 8px !important;
        font-size: 14px;
        border-radius: 4px;
        margin-bottom: 5px;
        margin-top: 5px;
        cursor: default;
    } 




    .stock-instructions.stock-intelligence__07-instructions {
    }



.stock-page__condition-search__before #sort-row-1 .sort.open-instructions {
    overflow: unset;
}

.stock-page__condition-search__before #sort-row-1 .detail-list.open-instructions{
    overflow: unset;
}



/* $$005-stock__strategy-setting ----------------------------------------------------------- */
.stock-strategy__price-notice .table-fixed__strategy-notice-table .stock-page__price-upper-limit.font-color__light-red,
.stock-strategy__price-notice2 .table-fixed__strategy-notice-table .stock-page__price-upper-limit.font-color__light-red,
.stock-strategy__price-notice3 .table-fixed__strategy-notice-table .stock-page__price-upper-limit.font-color__light-red,
.stock-strategy__current-price .stock-page__price-upper-limit.font-color__light-red,
#popup-add-optionalStock-fields-body .stock-page__price-upper-limit.font-color__light-red,
#popup-add-optionalStock-fields-body2 .stock-page__price-upper-limit.font-color__light-red,
#popup-add-optionalStock-fields-body3 .stock-page__price-upper-limit.font-color__light-red {
    color: white;
    background: #f60000;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 4px;
}

.stock-strategy__price-notice .table-fixed__strategy-notice-table .stock-page__price-lower-limit.font-color__light-green,
.stock-strategy__price-notice2 .table-fixed__strategy-notice-table .stock-page__price-lower-limit.font-color__light-green,
.stock-strategy__price-notice3 .table-fixed__strategy-notice-table .stock-page__price-lower-limit.font-color__light-green,
.stock-strategy__current-price .stock-page__price-lower-limit.font-color__light-green,
#popup-add-optionalStock-fields-body .stock-page__price-lower-limit.font-color__light-green,
#popup-add-optionalStock-fields-body2 .stock-page__price-lower-limit.font-color__light-green,
#popup-add-optionalStock-fields-body3 .stock-page__price-lower-limit.font-color__light-green {
    color: white;
    background: #1d9b1d;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 4px;
}

#popup-add-optionalStock-fields-body .modal-body,
#popup-add-optionalStock-fields-body2 .modal-body,
#popup-add-optionalStock-fields-body3 .modal-body {
    padding: 0;
}


.stock-strategy__price-notice .btn-row .btn,
.stock-strategy__price-notice2 .btn-row .btn,
.stock-strategy__price-notice3 .btn-row .btn,
.table-fixed__aireport-single-table .btn-row .btn,
.table-fixed__aireport-multiole-table .btn-row .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}

    .stock-strategy__price-notice .btn-row .btn:nth-child(2):hover,
    .stock-strategy__price-notice2 .btn-row .btn:nth-child(2):hover,
    .stock-strategy__price-notice3 .btn-row .btn:nth-child(2):hover,
    .stock-user__colume-list .btn-row .btn:nth-child(2):hover,
    .table-fixed__aireport-single-table .btn-row .btn:nth-child(2):hover,
    .table-fixed__aireport-multiole-table .btn-row .btn:nth-child(2):hover {
        color: #dee2e6;
        border: 1px solid #ec443b;
        background: #ec443b;
    }



.table-fixed__strategy-notice-table tr th:last-child,
.table-fixed__strategy-notice-table tr td:last-child {
    background-color: #fff;
    position: sticky;
    right: 0px;
}

.stock-bg-dark .table-fixed__strategy-notice-table tr th:last-child,
.stock-bg-dark .table-fixed__strategy-notice-table tr td:last-child {
    background-color: #0e0e2a;
}

.stock-strategy__condition-setting-tab > .input-group {
    border: 1px solid #bdc4ed;
}

.stock-bg-dark .stock-strategy__condition-setting-tab > .input-group {
    border: 1px solid #f4f5ff;
}

.modal .stock-strategy__condition-setting-tab > .input-group {
    border-color: #ced4da;
}

.stock-strategy__condition-setting-tab .left {
    width: 85px;
}

.stock-strategy__condition-setting-tab .right {
    width: calc(100% - 89px);
}

.stock-strategy__condition-setting-tab .left .nav-link {
    width: 100%;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f5ff;
}

.stock-bg-dark .stock-strategy__condition-setting-tab .left .nav-link {
    color: #fff;
    background: #181a36;
}

.modal .stock-strategy__condition-setting-tab .left .nav-link {
    color: #272e40;
    border-color: #ced4da;
}

.stock-strategy__condition-setting-tab .left .nav-link:last-child {
    border-bottom: 0px solid;
}

.stock-strategy__condition-setting-tab .left .nav-link.active {
    background: #3447b6;
    color: #ffffff;
    border-color: #fff;
}

.stock-bg-dark .stock-strategy__condition-setting-tab .left .nav-link.active {
    background: #fff;
    color: #272d40;
}

.modal .stock-strategy__condition-setting-tab .left .nav-link.active {
    background: #4d555d;
    color: #ffffff;
    border-color: #ced4da;
}

.stock-strategy__condition-setting-tab .form-check .form-check-label .form-select {
    margin: -5px 0;
    display: inline-block;
}

.stock-strategy__input-row.stock-page__forms-row {
    max-width: 550px
}

.stock-strategy__input-row .stock-strategy__stock-num .flex-1.input-group > div:first-child {
    width: 275px;
}

@media screen and (max-width: 991px) {
    .stock-strategy__input-row .stock-strategy__stock-num .flex-1.input-group > div:first-child {
        width: 60%
    }

    .stock-strategy__input-row .stock-strategy__stock-num .flex-1.input-group > div:nth-child(2) {
        width: 40%
    }

    .stock-strategy__input-row .stock-strategy__current-price {
    }

    .stock-strategy__input-row .stock-strategy__price-range {
    }

    .stock-strategy__input-row .stock-strategy__turnover {
    }

    .stock-strategy__input-row .stock-strategy__notify {
    }

    .stock-strategy__input-row .stock-strategy__time {
    }

    .stock-strategy__input-row .stock-strategy__frequency {
    }

    .stock-strategy__input-row .stock-strategy__basic-price {
    }

    .stock-strategy__input-row .stock-strategy__percentage {
    }

    .stock-strategy__input-row .stock-strategy__condition-setting-tab {
    }
}

@media screen and (max-width: 560px) {
    .stock-strategy__input-row .stock-strategy__stock-num .flex-1.input-group > div:first-child {
        width: 100%
    }

    .stock-strategy__input-row .stock-strategy__stock-num .flex-1.input-group > div:nth-child(2) {
        width: 100%;
        padding: 0 !important;
    }

    .stock-strategy__input-row .stock-strategy__turnover {
        display: block;
    }

        .stock-strategy__input-row .stock-strategy__turnover .flex-1.input-group {
            padding-top: 8px;
        }

    .stock-strategy__input-row .form-select,
    .stock-strategy__input-row .form-control {
        margin-bottom: 8px;
    }
}

.stock-strategy__volume-settings-tab .form-control__percent {
}

.form-control__percent + span:after {
    content: '%';
    position: absolute;
    right: 11px;
    top: 7px;
    color: #000;
}



/* $$006-stock__calendar ----------------------------------------------------------- */

.stock-calendar > .col-left {
    max-width: 400px;
}

.stock-calendar > .col-right {
    max-width: calc(100% - 400px);
}

@media screen and (max-width: 991px) {
    .stock-calendar > .col-left,
    .stock-calendar > .col-right {
        width: 100%;
        max-width: 100%;
        padding: 0px 0px 15px 0px !important;
    }
}

.stock-calendar .col-left .checkbox-item .text {
    vertical-align: middle;
}

    .stock-calendar .col-left .checkbox-item .text span {
        padding-left: 2px;
        padding-right: 2px;
        margin-left: 1px;
    }

/*    .stock-calendar__head > .col-right .left .checkbox-item:nth-child(4) {
        line-height: 0.6;
    }

.stock-calendar__head > .col-right .right .checkbox-item {
    line-height: 1.4;
}*/

.stock-calendar .col-left .text-icon {
    line-height: 0.1;
}

.stock-calendar .col-left .checkbox-item:nth-child(1) .text-icon {
    font-size: 17px;
}

.stock-calendar .col-left .checkbox-item:nth-child(2) .text-icon {
    font-size: 18px;
}

.stock-calendar .col-left .checkbox-item:nth-child(3) .text-icon {
    font-size: 20px;
}

.stock-calendar .col-left .checkbox-item:nth-child(4) .text-icon {
    font-size: 26px;
}

.stock-calendar .col-left .checkbox-item .icon-edit,
.stock-aireport__etf__show-report .date-info .icon-edit {
    font-size: 16px;
    border-radius: 100px;
    transition: all ease 0.3s;
    padding: 5px;
    vertical-align: middle;
    color: #fff;
    background: #3a40b7;
    cursor: pointer;
}

.stock-bg-dark .stock-calendar .col-left .checkbox-item .icon-edit,
.stock-bg-dark .stock-aireport__etf__show-report .date-info .icon-edit {
    background: #56567c;
}

.stock-calendar .col-left .checkbox-item .icon-edit:hover,
.stock-aireport__etf__show-report .date-info .icon-edit:hover {
    color: #212534;
    background-color: #fff;
    cursor: pointer;
}

.stock-calendar__calendar-list {
    height: calc(100vh - 450px);
    overflow-y: auto;
}

@media screen and (max-width: 991px) {
    .stock-calendar__calendar-list {
        height: 500px;
    }
}

.stock-calendar .checkbox-item .bg-orange,
.stock-calendar .checkbox-item .bg-blue,
.stock-calendar .checkbox-item .bg-green {
    color: #fff;
}

/* $$008-stock__user ----------------------------------------------------------- */
.stock-page__social-row * {
    align-self: center;
}

.stock-page__social-row .stitle {
    color: #b2b2b7;
    position: relative;
    padding: 0;
}

    .stock-page__social-row .stitle::before {
        content: "";
        width: calc((100% / 2) - 70px);
        height: 1px;
        background: #dadae1;
        position: absolute;
        right: 0;
        top: 11px;
    }

    .stock-page__social-row .stitle::after {
        content: "";
        width: calc((100% / 2) - 70px);
        height: 1px;
        background: #dadae1;
        position: absolute;
        left: 0;
        top: 11px;
    }

.stock-page__social-row .img {
    width: 40px;
    border-radius: 100px;
}

.stock-user__terms a {
    color: #fff;
}

.stock-user .stock-user_account-input,
.stock-user .stock-user_id-input {
    background: #f4f5ff;
    padding: 6px;
}

.stock-bg-dark .stock-user .stock-user_account-input,
.stock-bg-dark .stock-user .stock-user_id-input {
    background: #36364e;
}

#stock-tab__custom-field .table tr th:last-child,
#stock-tab__custom-field .table tr td:last-child,
#stock-tab__customer-services .table tr th:last-child,
#stock-tab__customer-services .table tr td:last-child {
    background-color: #fff;
    position: sticky;
    right: 0px;
}

.stock-bg-dark #stock-tab__custom-field .table tr th:last-child,
.stock-bg-dark #stock-tab__custom-field .table tr td:last-child,
.stock-bg-dark #stock-tab__customer-services .table tr th:last-child,
.stock-bg-dark #stock-tab__customer-services .table tr td:last-child {
    background: #0e0e2a;
}

.stock-user .faq-type__item {
    width: 100%;
    border-bottom: 1px dotted #dfe3e6;
    padding: 16px;
}

    .stock-user .faq-type__item .faq-item__q {
        padding: 15px 15px 15px 30px;
        position: relative;
        cursor: default;
    }

        .stock-user.faq-type__item .faq-item__q::before {
            content: 'Q';
            position: absolute;
            left: -3px;
            display: block;
            background: #9eddff;
            text-align: center;
            border-radius: 100%;
            color: #fff;
            padding: 1px 7px 0px 7px;
        }

    .stock-user .faq-type__item .faq-item__a {
        padding: 0px 15px 0px 30px;
        word-break: break-all;
        line-height: 2;
        cursor: default;
        color: #0060a1;
    }

#stock-tab__customer-style .tool-item__zoom {
    margin-right: 10px;
    display: inline-flex;
    background: #eeeef2;
    border-radius: 13px;
    justify-content: center;
    align-items: center;
    padding: 2px 0 2px 10px !important;
}

@media screen and (max-width: 767px) {
    #stock-tab__customer-style .tool-item__zoom {
        display: none;
    }
}

.stock-bg-dark #stock-tab__customer-style .tool-item__zoom {
    background: #525260;
}

#stock-tab__customer-style .tool-item__zoom .zoom-item {
    padding: 0 3px;
    margin-right: 4px;
    margin-left: 4px;
    cursor: pointer;
    font-size: 12px;
}

#stock-tab__customer-style .tool-item__zoom .active {
    background: #fff;
    color: #000;
    border-radius: 17px;
    box-shadow: 0 0 20px #fff;
    line-height: 1.2;
}

#stock-tab__customer-style .tool-item__zoom > div > span {
    font-size: 10px;
}


#stock-tab__customer-style .show-size input[type="range"] {
    -webkit-appearance: none;
    outline: none;
    background: none;
}

    #stock-tab__customer-style .show-size input[type="range"]::-webkit-slider-thumb {
        background: #9b62ff;
        -webkit-appearance: none;
        transform: scale(1.2);
        transition: .2s;
    }

    #stock-tab__customer-style .show-size input[type="range"]:active::-webkit-slider-thumb {
        transform: scale(2.5);
    }



/* $$009-stock__register ----------------------------------------------------------- */
.stock-register__row {
    margin: auto;
    left: 0;
    right: 0;
    width: 95%;
    min-height: calc(100vh - 147px);
    justify-content: center;
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

    .stock-register__row > div:first-child {
        padding: 32px;
        background: #fff;
        color: #191e2f;
        border-radius: 4px;
        box-shadow: 0 0 18px 4px #191e2f;
        width: 95%;
        max-width: 800px;
    }

.stock-bg-dark .stock-register__row .form-control,
.stock-bg-dark .stock-login__row .form-control {
    /* background-color: #212533; */
    /* border: 0px; */
    /* box-shadow: 0 0 0; */
    /* color: #fff; */
}

    .stock-bg-dark .stock-register__row .form-control:focus,
    .stock-bg-dark .stock-register__row .form-control:focus {
        /* color: #212529;
  background-color: #fff;
  outline: 0;
  box-shadow: 0 0 0 0; */
    }

.stock-bg-dark .stock-register__row .form-select {
    /* background-color: #212533;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23fff' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  border: 0px;
  box-shadow: 0 0 0;
  color: #fff; */
}

    .stock-bg-dark .stock-register__row .form-select:focus {
        /* color: #212529;
  background-color: #fff;
  outline: 0;
  box-shadow: 0 0 0 0; */
    }


.stock-register__row .form-control.form-control_linebottom {
    background-color: #fff;
    border-top-color: #ced4da;
    border-left-color: #ced4da;
    border-right-color: #ced4da;
    border-bottom-color: #ced4da;
}

.stock-register__row .form-select.form-select_dark {
    color: #212529;
    background-color: #fff;
    border-color: #ced4da;
}


/* $$010-stock__login ----------------------------------------------------------- */
.stock-bg-dark.stock-login-page {
    background: var(--StockBgDarkPurple3);
}

.stock-login__row {
    margin: auto;
    left: 0;
    right: 0;
    width: 95%;
    height: calc(100vh - 147px);
    justify-content: center;
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

@media screen and (max-height: 800px) {
    .stock-login__row {
        height: 100%;
    }
}

.stock-login__row > div:first-child {
    padding: 32px;
    background: #fff;
    color: #191e2f;
    border-radius: 4px;
    box-shadow: 0 0 18px 4px #191e2f;
    width: 550px;
}

@media screen and (max-width: 767px) {
    .stock-login__row > div:first-child {
        width: 90%;
    }
}

.stock-login__fpw-btn {
    cursor: pointer;
}

.input-pw {
    position: relative;
}

    .input-pw span {
        cursor: pointer;
        /* color: #fff; */
        color: #5f6990;
        position: absolute;
        right: 10px;
        top: 11px;
    }


/* $$011-stock__simulation ----------------------------------------------------------- */
.stock-simulation {
}

.stock-simulation__loading {
    width: 60px;
}

    .stock-simulation__loading img {
        width: 100%;
    }

.stock-simulation__bookmark-btn {
    padding-left: 16px;
    border-bottom: 1px solid #dcdde6;
}

.stock-bg-dark .stock-simulation__bookmark-btn {
    border-bottom: 1px solid #606b7b;
}

.stock-page .stock-simulation__bookmark-btn .nav {
    display: inline-flex;
}

@media screen and (max-width: 991px) {
    .stock-simulation__bookmark-btn {
        padding-left: 0px;
        padding-top: 5px;
        /*position: sticky;*/
        top: 0;
        z-index: 5;
    }

    .stock-bg-dark .stock-simulation__bookmark-btn {
        background: #0e0e2a;
    }

    .stock-page .stock-simulation__bookmark-btn .nav {
        width: calc(100% - 130px);
        overflow-x: auto;
        transition: all 0.2s;
        will-change: transform;
        user-select: none;
        cursor: pointer;
        flex-wrap: nowrap;
        flex-direction: row;
    }
}

.stock-simulation__bookmark-btn .bookmark-item {
    padding: 6px 10px 0px 10px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 32px;
    cursor: pointer;
    word-break: keep-all;
    border-radius: 7px 7px 0 0;
}

    .stock-simulation__bookmark-btn .bookmark-item .name {
        margin: 0;
        padding-left: 5px;
        padding-right: 5px;
        display: inline-block;
    }

    .stock-simulation__bookmark-btn .bookmark-item .icon-more-vertical {
        width: 25px;
        display: inline-block;
    }

    .stock-simulation__bookmark-btn .bookmark-item.collection,
    .stock-simulation__bookmark-btn .bookmark-item.add {
        /*padding: 5px 10px;*/
    }

    .stock-simulation__bookmark-btn .bookmark-item.collection {
        /*background: #fff;*/
        /*color: #0f0d2a;*/
    }

    .stock-simulation__bookmark-btn .bookmark-item.add {
        border-radius: 2px 2px 0 0;
        background: none !important;
        border-left: 1px solid #dcdde6;
        border-top: 1px solid #dcdde6;
        border-right: 1px solid #dcdde6;
        margin-left: 10px;
    }

.stock-bg-dark .stock-simulation__bookmark-btn .bookmark-item.add {
    color: #fff !important;
    border-left: 1px solid #606b7b;
    border-top: 1px solid #606b7b;
    border-right: 1px solid #606b7b;
    display: inline-block;
}

.stock-simulation__bookmark-btn .add:hover {
    color: #fff !important;
    background: #5454a9 !important;
    border-color: #5454a9 !important;
}

#stock-simulation__popup__edit .fee-discount-item {
    margin-bottom: 12px;
    align-items: center;
    width: 100%;
}

    #stock-simulation__popup__edit .fee-discount-item .icon {
        font-size: 16px;
        padding: 3px;
        margin-right: 7px;
        background: #eff2ff;
        border-radius: 100%;
        width: 24px;
        height: 24px;
        text-align: center;
        cursor: pointer;
    }

    #stock-simulation__popup__edit .fee-discount-item .icon-plus1 {
        background: #9286eb;
        color: #fff;
    }

        #stock-simulation__popup__edit .fee-discount-item .icon-plus1:hover {
            background: #462dff;
        }

    #stock-simulation__popup__edit .fee-discount-item .icon-minus1:hover {
        background: #ff4644;
        color: #fff;
    }

.stock-simulation__bookmark-inner {
}

    .stock-simulation__bookmark-inner .col-left {
        width: 120px;
        padding: 16px 0px 16px 16px;
    }

@media screen and (max-width: 991px) {
    .stock-simulation__bookmark-inner .col-left {
        width: 100%;
        padding: 5px 0 0 0;
        position: sticky;
        top: 0px;
        background: #0e0e2a;
        z-index: 5;
    }

        .stock-simulation__bookmark-inner .col-left .nav {
            overflow-x: auto;
            transition: all 0.2s;
            will-change: transform;
            user-select: none;
            cursor: pointer;
            flex-wrap: nowrap;
            flex-direction: row;
        }

    .stock-page__two-column .col-left .stock-page__tab-nav .nav.nav-pills .nav-link {
        padding: 11px 16px !important;
    }

    .stock-page__two-column .col-left .stock-page__tab-nav .nav.nav-pills .nav-link,
    .stock-simulation__bookmark-inner .col-left .nav .nav-item {
        word-break: keep-all;
    }
}

.stock-simulation__bookmark-inner .col-left .nav-link {
    /*color: #fff;*/
    padding: 10px;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link.active:hover,
.nav-pills .show > .nav-link,
.nav-pills .nav-link:focus {
    background: #3a40b7;
    color: #fff;
}

.stock-bg-dark .nav-pills .nav-link.active,
.stock-bg-dark .nav-pills .nav-link.active:hover,
.stock-bg-dark .nav-pills .show > .nav-link {
    background: #fff;
    color: #0f0d2a;
}

.nav-pills .nav-link:hover {
    color: #3a40b7;
    background: #f4f5ff;
}

.stock-bg-dark .nav-pills .nav-link:hover {
    color: #fff;
    background: var(--StockBgDarkPurple2);
}

.stock-simulation__bookmark-inner .col-right {
    position: relative;
    width: calc(100% - 120px);
    padding-bottom: 16px;
    min-height: calc(100vh - 215px);
}

@media screen and (max-width: 991px) {
    .stock-simulation__bookmark-inner .col-right {
        width: 100%;
    }
}

.stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 10px;
}

    .stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow .tool {
        flex-basis: 30px;
    }

    .stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow h2 {
        flex: 1;
        flex-basis: 40%;
        margin-bottom: 0;
    }


    .stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow .table-responsive {
        flex: 1;
        flex-basis: 100%;
        padding-left: 27px;
        /*padding-top: 9px;*/
        padding-bottom: 40px;
        margin-right: 20px;
        border-bottom: 1px solid #606b7b;
    }

    .stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow .table {
        width: auto !important;
        max-width: 100% !important;
        min-width: 800px;
    }

@media screen and (max-width: 991px) {
    .stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow .table {
        min-width: 100%;
    }
}

.stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow .table thead {
    background: #f0f0f8;
}

.stock-page.stock-bg-dark .stock-simulation__bookmark-inner .bookmark-tab-inner__buysell .srow .table thead {
    background: #202042;
}

.stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__quotes {
    margin-bottom: 10px;
    /*border-left: 1px solid #606b7b;*/
}

.stock-simulation__calc-row {
    padding: 15px 5px 10px 5px;
    /* display: flex; */
}

    .stock-simulation__calc-row div {
        padding-right: 25px;
        display: inline-block;
        word-break: break-all;
    }

.stock-simulation__tool-row {
    display: flex;
}

    .stock-simulation__tool-row .item {
        width: 150px;
        margin-bottom: 10px;
    }

        .stock-simulation__tool-row .item + .item {
            margin-left: 16px;
        }

        .stock-simulation__tool-row .item.item-discount {
            width: auto;
            display: flex;
            flex-wrap: wrap;
        }

            .stock-simulation__tool-row .item.item-discount .sitem {
                background: #2f3865;
                border-left: 4px solid #5465ba;
                padding: 5px 5px 2px 6px;
                border-radius: 0 6px 6px 0;
                margin-right: 10px;
                margin-bottom: 10px;
            }

                .stock-simulation__tool-row .item.item-discount .sitem span:nth-child(1) {
                    padding-right: 3px;
                }

.bookmark-tab-inner__quotes .stock-item {
    width: 33.333%;
    max-width: 350px;
    min-width: 300px;
    padding: 0px 15px;
    border-right: 1px solid #dcdde6;
    border-bottom: 1px solid #dcdde6;
    box-shadow: -1px -1px 0 #dcdde6;
    position: relative;
    overflow: hidden;
}

.stock-bg-dark .bookmark-tab-inner__quotes .stock-item {
    border-right: 1px solid #606b7b;
    border-bottom: 1px solid #606b7b;
    box-shadow: -1px -1px 0 #4e5b6d;
}

@media screen and (max-width: 991px) {
    .bookmark-tab-inner__quotes .stock-item {
        width: 50%;
        max-width: none;
        min-width: auto;
    }
}

@media screen and (max-width: 690px) {
    .bookmark-tab-inner__quotes .stock-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

.stock-simulation .bookmark-tab-inner__quotes .stock-item.stock-error:before {
    content: "\ec16";
    font-family: 'icomoon' !important;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 44px;
    z-index: 1;
    margin: auto;
    padding-bottom: 11px;
    text-align: center;
    color: #ffffff;
}

.stock-simulation .bookmark-tab-inner__quotes .stock-item.stock-error::after {
    content: " ";
    width: 100%;
    height: 89px;
    position: absolute;
    bottom: 0px;
    left: 0;
    background: rgb(255, 0, 0, 0.45);
    box-shadow: inset 0 -5px 0 red;
}


.bookmark-tab-inner__quotes .stock-item .dis-flex {
    /* border: 1px solid #606b7b; */
    /* padding: 5px; */
}

    .bookmark-tab-inner__quotes .stock-item .dis-flex .left {
        width: calc(100% - 150px);
        padding-top: 15px;
    }

    .bookmark-tab-inner__quotes .stock-item .dis-flex .right {
        width: 150px;
        /*height: 150px;*/
        position: relative;
    }

        .bookmark-tab-inner__quotes .stock-item .dis-flex .right.stock-error:before {
            content: var(--my-after-text, "text inner");
            position: absolute;
            height: fit-content;
            width: fit-content;
            padding: 4px 5px;
            border-radius: 2px;
            background: #d91414;
            bottom: 0;
            top: 0;
            left: 0;
            right: 0;
            font-size: 12px;
            z-index: 1;
            margin: auto;
            text-align: center;
            color: #ffffff;
        }

        .bookmark-tab-inner__quotes .stock-item .dis-flex .right .text-right {
            margin-right: -32px;
            padding-top: 10px;
            position: absolute;
            right: 10px;
            top: 2px;
            z-index: 5;
        }

        .bookmark-tab-inner__quotes .stock-item .dis-flex .right .icon-more-vertical {
            cursor: pointer;
            font-size: 28px;
            padding: 10px;
            position: relative;
        }

            .bookmark-tab-inner__quotes .stock-item .dis-flex .right .icon-more-vertical:hover {
                color: #fff;
            }

                .bookmark-tab-inner__quotes .stock-item .dis-flex .right .icon-more-vertical:hover::after {
                    content: "";
                    background: #25254f;
                    border-radius: 44%;
                    width: 80px;
                    height: 80px;
                    position: absolute;
                    top: -32px;
                    right: -27px;
                    z-index: -1;
                }

    .bookmark-tab-inner__quotes .stock-item .dis-flex .bottom {
        width: 100%;
        padding: 5px 0px 15px 0px;
    }

        .bookmark-tab-inner__quotes .stock-item .dis-flex .bottom .stitle {
            margin: 5px 0 5px 0;
            font-weight: bolder;
            text-align: center;
            position: relative;
            color: #606b7b;
        }

            .bookmark-tab-inner__quotes .stock-item .dis-flex .bottom .stitle::before {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                margin: auto;
                width: calc(50% - 34px);
                height: 1px;
                border-bottom: 1px solid #606b7b;
            }

            .bookmark-tab-inner__quotes .stock-item .dis-flex .bottom .stitle::after {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                right: 0;
                margin: auto;
                width: calc(50% - 34px);
                height: 1px;
                border-bottom: 1px solid #606b7b;
            }



.stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__schedule {
}


.bookmark-tab-inner__schedule .stock-item {
    width: 25%;
    max-width: 250px;
    padding: 10px 15px 10px 0px;
}

    .bookmark-tab-inner__schedule .stock-item > div {
        border: 1px solid #dcdde6;
        padding: 10px 15px;
    }

.stock-bg-dark .bookmark-tab-inner__schedule .stock-item > div {
    border: 1px solid #71759e;
    border-left: 5px solid #71759e;
    transition: all 0.3s;
}

    .stock-bg-dark .bookmark-tab-inner__schedule .stock-item > div:hover {
        border: 1px solid #b9bfff;
        border-left: 5px solid #b9bfff;
        box-shadow: 0 0 20px #bbc2ff8a;
    }

@media screen and (max-width: 991px) {
    .bookmark-tab-inner__schedule .stock-item {
        width: 33%;
        max-width: 100%;
    }
}

@media screen and (max-width: 560px) {
    .bookmark-tab-inner__schedule .stock-item {
        width: 50%;
    }
}

@media screen and (max-width: 490px) {
    .bookmark-tab-inner__schedule .stock-item {
        width: 100%;
    }
}

.schedule-stock-row .stock-item .stock-id,
.schedule-stock-row .stock-item .stock-name {
    color: #d0d4ff;
}



.stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__dividend {
}

    .stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__dividend .table td,
    .stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__dividend .table th,
    .stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__financial .table td,
    .stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__financial .table th {
        padding: 10px;
    }

    .stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__dividend .table th,
    .stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__financial .table th {
        vertical-align: bottom;
    }

.stock-simulation .table-responsive .table .form-control {
    min-width: 90px;
}

.stock-simulation .table-responsive .table .form-select {
    min-width: 70px;
}


.stock-simulation__bookmark-inner .col-right .bookmark-tab-inner__financial {
}

.stock-simulation__btn-add {
    padding: 16px 16px 16px 0px;
}

.stock-simulation__stock-item {
    padding: 35px 10px 35px 35px;
    margin-bottom: 40px;
    border-top: 1px solid #c7bbf8;
    border-left: 10px solid #c7bbf8;
    border-right: 1px solid #c7bbf8;
    border-bottom: 1px solid #c7bbf8;
}

    .stock-simulation__stock-item:hover {
        border-top: 1px solid #3447b6;
        border-left: 10px solid #3447b6;
        border-right: 1px solid #3447b6;
        border-bottom: 1px solid #3447b6;
        background: #ffffff;
    }

.stock-bg-dark .stock-simulation__stock-item:hover .table > thead {
    background: #232748;
}

.stock-bg-dark .stock-simulation__stock-item {
    padding: 35px 10px 35px 35px;
    margin-bottom: 40px;
    border-top: 1px solid #3e336a;
    border-left: 10px solid #3e336a;
    border-right: 1px solid #3e336a;
    border-bottom: 1px solid #3e336a;
}

    .stock-bg-dark .stock-simulation__stock-item:hover {
        border-top: 1px solid #3e336a;
        border-left: 10px solid #6251a6;
        border-right: 1px solid #3e336a;
        border-bottom: 1px solid #3e336a;
        background: #242648;
    }

        .stock-bg-dark .stock-simulation__stock-item:hover .table > thead {
            background: #232748;
        }

.stock-simulation__head {
    display: flex;
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 560px) {
    .stock-simulation__head {
        flex-direction: column;
    }
}

.stock-simulation__head::after {
    content: "#";
    position: absolute;
    left: -21px;
    top: -47px;
    font-weight: bolder;
    font-size: 60px;
    opacity: 0.08;
    z-index: -1;
}

.stock-bg-dark .stock-simulation__head::after {
    opacity: 0.3;
}

.stock-simulation__head .form-control {
    border-radius: 3px;
}

.stock-simulation__tool .input-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: max-content;
    padding: 0 10px 0 10px;
    border-left: 5px solid #616aac;
    flex-wrap: wrap;
    background: #f9faff;
}

.stock-bg-dark .stock-simulation__tool .input-item {
    background: #333361;
}


.stock-simulation #stock-simulation_add_table tr {
    position: relative;
}

    .stock-simulation #stock-simulation_add_table tr:hover:before {
        /*content: "+";*/
        position: absolute;
        top: 0px;
        left: 0px;
        font-size: 20px;
        border: 1px solid #fff;
        background: #000;
    }

.stock-simulation__stock-edit {
}

.stock-simulation__stock-add {
}

.stock-simulation__stock-batch {
}

.stock-simulation__space {
    height: 200px;
}

.btn-row.stock-simulation__add-btn {
    position: fixed;
    width: 70%;
    min-width: 250px;
    bottom: 3%;
    left: 0;
    right: 0;
    text-align: center;
    margin: 15px auto 0;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    background: rgb(90 90 174 / 90%);
    box-shadow: 0 0 25px 0px #bea2ffab;
    z-index: 6;
}

.stock-bg-dark .btn-row.stock-simulation__add-btn {
    background: rgba(40, 40, 76, 0.90);
    box-shadow: 0 0 0px 3px #363076;
}

@media screen and (max-width: 991px) {
    .btn-row.stock-simulation__add-btn {
        width: 80%;
    }
}

@media screen and (max-width: 560px) {
    .btn-row.stock-simulation__add-btn {
        flex-direction: column;
    }
}

.stock-simulation__add-btn .btn {
    color: var(--StockBgDarkPurple4);
}

    .stock-simulation__add-btn .btn:nth-child(1) {
        width: 35%;
        max-width: 180px;
    }

    .stock-simulation__add-btn .btn:nth-child(2) {
        width: 60%;
        max-width: 300px;
    }

@media screen and (max-width: 560px) {
    .stock-simulation__add-btn .btn:nth-child(1),
    .stock-simulation__add-btn .btn:nth-child(2) {
        width: 95%;
        max-width: 95%;
    }

    .stock-simulation__add-btn .btn {
        margin: 10px auto;
    }
}

/*.stock-simulation__select option.simulation-option1 {
    background-color: blue;
}

.stock-simulation__select option.simulation-option2 {
    background-color: #007700;
}*/

.stock-bg-dark .stock-simulation__head .stock-simulation__batch-notes > div {
}

.table .stock-simulation__repeat-notes:hover,
.table .stock-simulation__repeat-notes:hover td {
    background-color: transparent !important;
}

.table .stock-simulation__repeat-notes td {
    padding: 0px 0 20px 10px !important;
    border-bottom-color: transparent;
}

.table .stock-simulation__repeat-notes div {
    background: none;
    border: 1px solid #2f3745;
    border-left: 5px solid #00e2ff;
    padding: 5px;
}

.table .stock-simulation__repeat-notes:hover div {
    background: #2f3745;
    border-left: 5px solid #00e2ff;
    padding: 5px;
}

.simulation-report__search {
    display: flex;
}

    .simulation-report__search .input-item {
        width: 100%;
        max-width: 200px;
    }

.simulation-report__report-row {
    padding-right: 16px;
}


.table-fixed__simulation-report thead tr:nth-child(1) th:nth-child(1),
.table-fixed__simulation-report tfoot tr td:nth-child(1) {
    background-color: #f4f5ff;
}

.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(1) {
    background-color: #fff;
    border-right: 3px solid #bdc4ed !important;
}


.stock-bg-dark .table-fixed__simulation-report thead tr:nth-child(1) th:nth-child(1),
.stock-bg-dark .table-fixed__simulation-report tfoot tr td:nth-child(1) {
    background-color: #292b4c;
}

.stock-bg-dark .table-fixed__simulation-report .stock-item tr:first-child td:nth-child(1) {
    background-color: #0e0e2a;
    border-right: 3px solid #404460 !important;
}


/*
.table.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(2),
.table.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(9),
.table.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(18),
.table.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(20) {
    border-right: 1px solid var(--StockBorderDarkPurple2);
}

.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(3),
.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(10),
.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(19),
.table-fixed__simulation-report .stock-item tr:first-child td:nth-child(21),
.table-fixed__simulation-report .stock-item tr td:nth-child(2),
.table-fixed__simulation-report .stock-item tr td:nth-child(9),
.table-fixed__simulation-report .stock-item tr td:nth-child(18),
.table-fixed__simulation-report .stock-item tr td:nth-child(20) {
    border-right: 3px solid #404460;
}

.table-fixed__simulation-report .stock-item tr:last-child td:nth-child(2),
.table-fixed__simulation-report .stock-item tr:last-child td:nth-child(9),
.table-fixed__simulation-report .stock-item tr:last-child td:nth-child(18),
.table-fixed__simulation-report .stock-item tr:last-child td:nth-child(20) {
    border-color: #404460;
}

.table-fixed__simulation-report tbody:hover tr:first-child td:nth-child(1) {
    background-color: #2b2b58;
}*/

.table-fixed__simulation-report.table-fixed__1td thead tr:nth-child(1) th:nth-child(1),
.table-fixed__simulation-report.table-fixed__1td .stock-item tr:first-child td:nth-child(1),
.table-fixed__simulation-report.table-fixed__1td tfoot tr td:nth-child(1) {
    position: sticky;
    left: 0px;
    border: 0px;
}

.simulation-report__report-row thead,
.simulation-report__report-row tfoot {
    background: #f4f5ff;
}

.stock-bg-dark .simulation-report__report-row thead,
.stock-bg-dark .simulation-report__report-row tfoot {
    background: #292b4c;
}

.simulation-report__report-row .table thead tr th,
.simulation-report__report-row .table tfoot tr td {
    border-color: #f4f5ff;
}

.stock-bg-dark .simulation-report__report-row .table thead tr th,
.stock-bg-dark .simulation-report__report-row .table tfoot tr td {
    border-color: #292b4c;
}

.simulation-report__report-row tfoot tr {
    border-top: 3px solid #404460;
}

.simulation-report__report-row .table-responsive .table .stock-item tr:first-child {
    border-top: 3px solid #bdc5ed;
}

.stock-bg-dark .simulation-report__report-row .table-responsive .table .stock-item tr:first-child {
    border-top: 3px solid #404460;
}

.stock-page .simulation-report__report-row .table-responsive .table .stock-item:hover tr:first-child td:first-child {
    background: #f3f4fd;
}

.stock-bg-dark .simulation-report__report-row .table-responsive .table .stock-item:hover tr:first-child td:first-child {
    background: #2b2b58;
}

/* $$012-stock__aireport ----------------------------------------------------------- */
/*.stock-aireport__single__add-report .search-row .form-control{
    width: auto;
}*/
.tab-stitle {
    border-left: 4px solid #797fe6;
    margin: 10px 8px 8px;
    padding-left: 3px;
}

.stock-aireport__single__add-report .stock-page__condition-search__before .search-row {
}

.stock-aireport__single__add-report .search-row .item,
.stock-aireport__more__add-report .search-row .item,
.stock-aireport__etf__add-report .search-row .item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-right: 16px;
    margin-bottom: 16px;
    width: 350px;
}

.stock-aireport__single__add-report .tab-pane .tab-pane__head {
    display: flex;
    padding: 10px;
    justify-content: right;
    border-bottom: 1px solid #495370;
}

.item label {
    flex-basis: 33px;
}

.item .input-row {
    flex: 1;
}

.item .btn {
    flex-basis: 100px;
    padding: 4px 4px 1px 4px;
}

.stock-aireport__single__show-report .stock-aireport__custom-time {
    display: flex;
    align-items: center;
    padding-left: 5px;
}

    .stock-aireport__single__show-report .stock-aireport__custom-time span {
        padding: 3px;
    }

.stock-aireport__single__show-report .table thead tr th ,
.stock-aireport__single__show-report .table tbody tr td {
    text-align: right;
}

    .stock-aireport__single__show-report .table thead tr th > div {
        white-space: normal;
        word-break: break-word;
        max-width: 140px;
        min-width: 40px;
        width: max-content;
    }

    .stock-aireport__single__show-report .table thead tr th:nth-child(1),
    .stock-aireport__single__show-report .table thead tr th:nth-child(2),
    .stock-aireport__single__show-report .table tbody tr td:nth-child(1),
    .stock-aireport__single__show-report .table tbody tr td > div {
        white-space: normal;
        word-break: keep-all;
    }

    .stock-aireport__single__show-report .table thead tr th:nth-child(1),
    .stock-aireport__single__show-report .table thead tr th:nth-child(2),
    .stock-aireport__single__show-report .table tbody tr td:nth-child(1),
    .stock-aireport__single__show-report .table tbody tr td:nth-child(2){
        position: sticky;
        left: 0;
    }

    .stock-aireport__single__show-report .table thead tr th:nth-child(2),
    .stock-aireport__single__show-report .table tbody tr td:nth-child(2){
        left: 60px;
    }


.stock-bg-dark .stock-aireport__single__show-report .table thead tr th:nth-child(1),
.stock-bg-dark .stock-aireport__single__show-report .table thead tr th:nth-child(2),
.stock-bg-dark .stock-aireport__single__show-report .table tbody tr td:nth-child(1),
.stock-bg-dark .stock-aireport__single__show-report .table tbody tr td:nth-child(2) {
    background: #0d0f2a;
}

.stock-bg-dark .stock-aireport__single__show-report .table.table-hover > tbody > tr:hover td:nth-child(1),
.stock-bg-dark .stock-aireport__single__show-report .table.table-hover > tbody > tr:hover td:nth-child(2) {
    background-color: #2b2b58;
}

.stock-aireport__single__show-report .table thead tr th:nth-child(1),
.stock-aireport__single__show-report .table thead tr th:nth-child(2),
.stock-aireport__single__show-report .table tbody tr td:nth-child(1),
.stock-aireport__single__show-report .table tbody tr td:nth-child(2) {
    background: #fff;
}

.stock-aireport__single__show-report .table.table-hover > tbody > tr:hover td:nth-child(1),
.stock-aireport__single__show-report .table.table-hover > tbody > tr:hover td:nth-child(2) {
    background-color: #f3f4fd;
}



    .table-fixed__aireport-single-table .condition-row,
    .table-fixed__aireport-multiole-table .condition-row {
        text-wrap: wrap;
    }

.stock-aireport__single__add-report .stock-page__condition-search__before .left .sort-row .detail-list {
    height: calc(100vh - 300px);
}

.stock-aireport__single__add-report .stock-page__condition-search__before .stock-page__select-list {
    height: calc(100vh - 375px);
}

@media screen and (max-height: 666px) {
    .stock-aireport__single__add-report .stock-page__condition-search__before .left .sort-row .detail-list {
        height: calc(100vh - 280px);
        /*height: calc(100vh - 243px);*/
    }

    .stock-aireport__single__add-report .stock-page__condition-search__before .stock-page__select-list {
        height: calc(100vh - 350px);
        /*height: calc(100vh - 300px);*/
    }
}

@media screen and (max-height: 645px) {
    .stock-aireport__single__add-report .stock-page__condition-search__before .left .sort-row .detail-list {
        /*height: 369px;*/
    }

    .stock-aireport__single__add-report .stock-page__condition-search__before .stock-page__select-list {
        /*height: 315px;*/
    }
}
.stock-aireport__multiple__show-report .table thead tr th:nth-child(1),
.stock-aireport__multiple__show-report .table thead tr th:nth-child(2),
.stock-aireport__multiple__show-report .table tbody tr td:nth-child(1),
.stock-aireport__multiple__show-report .table tbody tr td:nth-child(2) {
    position: sticky;
    left: 0;
}

.stock-bg-dark .stock-aireport__multiple__show-report .table thead tr th:nth-child(1),
.stock-bg-dark .stock-aireport__multiple__show-report .table thead tr th:nth-child(2),
.stock-bg-dark .stock-aireport__multiple__show-report .table tbody tr td:nth-child(1),
.stock-bg-dark .stock-aireport__multiple__show-report .table tbody tr td:nth-child(2) {
    background: #0d0f2a;
}

.stock-bg-dark .stock-aireport__multiple__show-report .table.table-hover > tbody > tr:hover td:nth-child(1),
.stock-bg-dark .stock-aireport__multiple__show-report .table.table-hover > tbody > tr:hover td:nth-child(2) {
    background-color: #2b2b58;
}

.stock-aireport__multiple__show-report .table thead tr th:nth-child(1),
.stock-aireport__multiple__show-report .table thead tr th:nth-child(2),
.stock-aireport__multiple__show-report .table tbody tr td:nth-child(1),
.stock-aireport__multiple__show-report .table tbody tr td:nth-child(2) {
    background: #fff;
}

.stock-aireport__multiple__show-report .table.table-hover > tbody > tr:hover td:nth-child(1),
.stock-aireport__multiple__show-report .table.table-hover > tbody > tr:hover td:nth-child(2) {
    background-color: #f3f4fd;
}

.stock-aireport__multiple__show-report .table thead tr th:nth-child(2),
.stock-aireport__multiple__show-report .table tbody tr td:nth-child(2) {
    left: 192px;
}


.stock-aireport__multiple__show-report .table tbody tr td:nth-child(1) > div {
    white-space: normal;
    word-break: break-all;
    width: 160px !important;
}


.stock-aireport__etf__show-report .table .stitle {
    background: #f0f0ff;
}

.stock-bg-dark .stock-aireport__etf__show-report .table .stitle {
    background: #29293e;
}

.stock-oldtag {
    margin-right: 6px;
    padding: 4px 10px;
    background: #f60000;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    vertical-align: middle;
}