@charset "utf-8";

.shares-main {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shares-main-img {
    margin-bottom: 10px;
    max-width: calc(100vw - 20px);
    width: 1000px;
    overflow: hidden;
    border-radius: 4px;
    line-height: 0;
}

.shares-main-img img {
    width: 100%;
}

.shares-main-img[new-year] {
    display: none;
}

.shares-main-text {
    white-space: pre-wrap;
    width: 100%;
}

.products-container {
    margin-top: 10px;
}


table {
    border-collapse: collapse;
    border: 1px solid black;

}

td {
    padding: 5px;
    ;
    border: 1px solid black;
    /* text-align: center; */
    position: relative;
}

td.dlo {
    border: none;
}

td.top-dlo {
    border-bottom: 1px dashed gray;
}

tbody {
    position: relative;
}

.head-table {
    position: sticky;
    top: 141px;
    background-color: lightgray;
    z-index: 1;
}

.head-table-date {
    position: sticky;
    top: 169px;
    background-color: lightgray;
    z-index: 1;
}

.td-date::before {
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    background-color: black;
    position: absolute;
    top: -1px;
    left: 0;
}

.td-date::after {
    /* content: ''; */
    width: 100%;
    height: 1px;
    display: block;
    background-color: black;
    position: absolute;
    top: 33px;
    left: 0;
}

.head-table-element::after {
    /* content: ''; */
    width: 100%;
    height: 1px;
    display: block;
    background-color: black;
    position: absolute;
    top: 67px;
    left: 0;
}

.product .question {
    left: 20px;
    bottom: 20px;
}

@media (max-width: 600px) {
    .shares-main-text {
        overflow: scroll;
    }

    .head-table {
        top: 95px;
        position: initial;
    }

    .head-table-date {
        top: 117px;
        position: initial;
    }

    .head-table-element::after {
        top: 43px;
    }

    .td-date::after {
        top: 21px;
    }

    table {
        font-size: 9px;
    }

    td {
        padding: 3px;
    }

    .product .question {
        bottom: 50px;
        left: 32px;
    }
}