:root {
    --bg-white: #ffffff;
    --bg-white-80: rgba(255, 255, 255, 0.8);
    --bg-dark: #222;
    --bg-grey: #f3f3f5;

    --primary: #0079c2;
    --secondary: #feef26;
    --white: #fff;
    --text-color: #212529;

    --green: #008000;
    --red: #e50000;
    --color-button: #008cc1;
    --hover-button: #006a92;


    --font-family: 'psl_display_pro';
}

.cover-stock {
    padding: 120px 0px !important;
}

.cover-FH {
    padding: 120px 9% 170px 9% !important;
}

.stock-tab-content {
    margin-top: 24px;
}

.container-stock {
    display: flex;
    justify-content: center;
}

.cover-stock-index {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    padding: 16px 0;
    background: none !important;
}

.cover-stock-index img {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.container-stock-index {
    text-align: center;
    margin: 10px auto;
    display: table;
    background-color: var(--bg-white);
    padding: 24px 48px 24px 48px;
}

.stock-name-crop {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cover-stock-price {
    margin-right: 20px;
    padding: 21px 0px 15px;
}

.market-text-main {
    font-family: var(--font-family);
    font-size: 36px;
    font-weight: normal;
    color: var(--text-color);
    line-height: 41px;
    padding-top: 3px;
    font-weight: 600;
}

.stock-tex{
    color: var(--text-color) !important;
}

span.market-text-main{
    color: var(--primary);
}

.market-text-set {
    font-size: 32px;
    font-family: var(--font-family);
    font-weight: 700;
}


.tex-sub-market01 {
    color: #3a3a44;
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: bold;
}

.stock-name {
    color: var(--primary);
}

.tex-sub-market-main {
    position: relative;
    top: 4px;
}

.color-arrow-market {
    color: var(--green);
    margin-bottom: 0;
    width: 24px;
    height: 24px;
    position: relative;
    top: -6px;
}

.hr-in-box {
    color: #3a3a44;
    margin: auto;
    text-align: left;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}


.box-set-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 12px 0px 12px;
    align-items: start;
}

.box-set-price-grid>div {
    background: none;
    padding: 0;
    text-align: left;
    height: 80px;
}

.market-text-symbol {
    text-align: center;
    font-size: 24px;
    display: block;
    margin-bottom: 0px;
    font-weight: bold;
    color: var(--text-color);
}

.market-text-detail {
    text-align: center;
    font-size: 32px !important;
    margin-top: 0px;
    font-weight: normal;
    color: var(--primary);
    font-weight: 600;
}

.market-text-small {
    text-align: center;
    font-size: 20px;
    color: var(--text-color);
}

.btn-s-news {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 24px !important;
    font-size: 20px;
    font-family: var(--font-family);
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.btn-s-news:hover,
.btn-s-news:focus {
    background: var(--hover-button);
    color: #fff;
}

.news {
    text-decoration: inherit;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

.box-detail-updeat-set {
    margin-top: 24px;
}

.stock-inline-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.market-text-set-flex {
    display: flex;
    align-items: center;
}

.br-1400px {
    display: none;
}

.stock-tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.stock-tab-btn {
    background: var(--bg-white);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 24px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    transition: background 0.2s, color 0.2s;
}

.stock-tab-btn.active,
.stock-tab-btn:hover {
    background: var(--primary);
    color: #fff;
}

.stock-tab-panel[style*="display: block"] {
    display: block;
}

.text-center {
    align-items: center;
}

.container-stock-bt {
    padding: 0 !important;
}

.btn-custom-1 {
    display: inline-block;
    position: relative;
    border: var(--color-button) solid 1px;
    color: var(--color-button);
    background-color: #ffffff;
    font-size: 21px;
    transition: ease 0.5s;
    font-family: var(--font-family);
    text-transform: uppercase;
    height: 45px;
    width: 215px;
    text-align: center;
    padding-top: 9px;
}

.btn-custom-1:active {
    text-decoration: none;
}

.btn-custom-1:hover {
    background-color: var(--color-button);
    /* border: #008cc1 solid 1px; */
    color: #ffffff;
    text-decoration: none;
}

.btn-custom-2 {
    display: inline-block;
    position: relative;
    border: var(--color-button) solid 1px;
    color: #ffffff;
    background-color: var(--color-button);
    font-size: 21px;
    transition: ease 0.5s;
    font-family: var(--font-family);
    text-transform: uppercase;
    height: 45px;
    width: 215px;
    text-align: center;
    padding-top: 9px;
}

.btn-custom-2:hover {
    background-color: #006a92;
    /* border: #008cc1 solid 1px; */
    color: #ffffff;
    text-decoration: none;
}

.sub-stock {
    padding-top: -15px;
}

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}


@media (min-width: 1869.98px) {
    .cover-FH {
        padding: 120px 9% 202px 9% !important;
    }
}


@media (max-width: 1689.98px) {
    .br-en{
        display: none;
    }
}

@media (max-width: 1327.98px) {
    .br-1327{
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .stock-tab-content {
        margin-top: 24px;
    }

    .container-stock-index {
        padding: 24px 48px 24px 48px;
        margin: 0px auto;
    }

    .btn-custom-1 {
        height: 45px;
        width: 150px;
    }

    .btn-custom-2 {
        height: 45px;
        width: 180px;
    }
}

@media (max-width: 991.98px) {
    .market-text-main {
        font-size: 36px !important;
    }

    .stock-name-crop {
        padding-bottom: 16px;
    }

    .market-text-set,
    .market-text-detail {
        font-size: 34px !important;
    }

    .market-text-symbol {
        font-size: 24px
    }

    .market-text-small {
        font-size: 18px
    }

    .box-set-price-grid {
        gap: 16px;
        padding: 32px 12px 0px 12px;
    }

    .box-set-price-grid>div {
        height: 100px;
    }

    .btn-custom-1 {
        height: 45px;
        width: 215px;
    }

    .btn-custom-2 {
        height: 45px;
        width: 215px;
    }

    .br-1327{
        display: block;
    }

    .cover-stock {
        padding: 100px 5% !important;
    }


}

@media (max-width: 664.98px) {
    .br-1327{
        display: none;
    }
}

@media (max-width: 575.98px) {

    .btn-custom-1 {
        height: 45px;
        width: 150px;
    }

    .btn-custom-2 {
        height: 45px;
        width: 180px;
    }

    .cover-stock {
        padding: 100px 0px !important;
    }
}

@media (max-width: 500.98px) {

    .btn-custom-1 {
        height: 45px;
        width: 215px;
    }

    .btn-custom-2 {
        height: 45px;
        width: 215px;
    }

    .stock-name-crop {
        padding: 0px 16px 16px 16px;
    }
}


@media (max-width: 479.98px) {
    .container-stock-bt {
        display: block;
        margin: auto;
        text-align: center;
        padding: 5px 0px 30px 0px;
    }
    .stock-bt-1 {
        float: none;
        float: unset;
        margin-right: 0px;
        margin-bottom: 15px;
    }
    .stock-bt-2 {
        float: none;
        float: unset;
    }
}
@media (max-width: 425.98px) {
    .cover-stock-price {
        margin-right: 0px;
    }

    .stock-name-crop {
        padding-bottom: 0px;
    }

    .market-text-set,
    .market-text-detail {
        font-size: 28px !important;
    }

    .tex-sub-market01 {
        font-size: 20px;
    }

    .stock-name-crop {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 auto;
        text-align: center;
        margin-bottom: 24px;
    }

    .box-set-price-grid {
        gap: 16px;
        padding: 4px 0 8px 0;
        grid-template-columns: 1fr 1fr;
        padding-bottom: 20px;
    }

    .box-set-price-grid>div {
        height: 80px;
    }

    .market-text-symbol,
    .market-text-small {
        font-size: 18px
    }

    .br-1400px {
        display: block;
    }

    .tex-sub-market-main {
        position: relative;
        top: 4px;
    }

    .btn-custom-1 {
        height: 45px;
        width: 215px;
    }

    .btn-custom-2 {
        height: 45px;
        width: 215px;
    }

    .br-425 {
        display: none;
    }
}




/* From other css */

.cover-stock-text p:first-child {
    padding: 0 5%;
}

.container-stock-bt {
    margin-top: 24px;
}

.cover-FH {
    padding: 120px 9% 110px 9%;
}