.stat_box {
    padding: 0 3rem;
}

.left_sidebar {
    background-color: var(--color-background);
    padding: 0 12px 0px;
    padding-bottom: 340px;
}

.company_description {
    padding: 0px;
    margin-bottom: 0px;
    border-top: 1px solid var(--color-borderline);
    width: 100%;
    padding-top: 24px;
}

/* .price_summary .updated_price {
    position: static;
} */

.price_range_wrapper_desktop {
    display: flex;
    margin-right: 25px;
}

.price_range_wrapper_mobile {
    display: none;
}

.price_slider_scale {
    margin: 6px 0px;
}

.price_low {
    margin-right: 16px;
}

.price_high {
    margin-left: 16px;
}

.company_overview {
    border-bottom: unset;
    padding: 0 10px;
}


/* Key stats section start*/

.key_stats_wrapper {
    display: flex;
    justify-content: space-between;
}

.key_stats {
    justify-content: flex-start;
}



.price_range {
    width: 310px;
}



/* Key stats section end */


/* Constituents table start */

.table_sort_icons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.table_wrapper {
    padding-bottom: 0px;
    height: 430px;
}

#constituents_table tfoot {
    position: sticky;
    bottom: 0;
    background: var(--color-borderline-secondary);
    /* Ensure background hides the content behind */
    z-index: 1;
}

.peers_table td,
.peers_table th {
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1;
    color: var(--color-table-header);
    text-align: right;
    font-weight: 500;
}

.peers_table tbody td:first-child {
    color: var(--color-semibold-font);
}

.peers_table th:first-child span.dt-column-title {
    justify-content: flex-start;
}

.peers_table tfoot td:first-child .dt-column-title {
    justify-content: flex-start;
}

span.dt-column-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}


.peers_table th {
    color: var(--color-semibold-font);
}

.peers_table thead tr {
    height: 50px;
}

.peers_table thead th {
    color: var(--color-semibold-font);
    padding: 0px 1rem;
    cursor: pointer;
}

.peers_table thead th:first-child {
    display: table-cell;
    text-align: left;
    box-sizing: border-box;
    width: unset;
}

/* Constituents table end */


/* event section */

.event_item_wrapper {
    border-top: 1px solid var(--color-axisline);
    margin: 15px 0;
}

.event_category_title h3 {
    font-size: 1rem;
    color: var(--color-dark-gray);
}

#events {
    height: 430px;
    overflow-y: auto;
    border-radius: 4px;
    border: 1px solid var(--color-borderline-secondary);
    background: var(--color-bg);
    box-shadow: 0px 0px 8px 0px rgba(213, 213, 213, 0.16);
    padding: 15px;
}

.event_item_header,
.event_item_body {
    display: flex;
    width: 100%;
    border-bottom: 1px solid var(--color-axisline);
    gap: 30px;
}

.event_item_wrapper .event_heading {
    font-weight: 500;
    padding: 10.5px 0;
    font-size: 0.875rem;
    color: var(--color-table-header);
    font-family: Inter;
    font-style: normal;
    line-height: normal;
}

.event_item_body {
    color: var(--color-font);
    font-size: 12px;
    margin: 0;
    padding: 14px 0;
    align-items: center;
}

.event_item_body .event_col {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--color-font);

}


.event_col.unit {
    text-transform: capitalize;
}

.event_item_body .event_col:nth-child(3),
.event_heading:nth-child(3),
.event_item_body .event_col:nth-child(4),
.event_heading:nth-child(4),
.event_item_body .event_col:nth-child(5),
.event_heading:nth-child(5),
.event_item_body .event_col:nth-child(6),
.event_heading:nth-child(6),
.event_item_body .event_col:nth-child(7),
.event_heading:nth-child(7) {
    width: 10%;
    padding: 10.5px 25px;
}

.event_item_body .event_col:nth-child(2),
.event_heading:nth-child(2),
.event_item_body .event_col:nth-child(3),
.event_heading:nth-child(3) {
    text-align: left;
}

.event_item_body .event_col.timemarker,
.event_heading.timemarker_head {
    width: 15%;
}

.event_col:nth-child(2),
.event_heading:nth-child(2) {
    width: 42%;
    padding-right: 20px;
}

.event_item_body .event_col:nth-child(4),
.event_item_body .event_col:nth-child(5) {
    display: flex;
    align-items: baseline;
    gap: 3px;
    flex-wrap: wrap;
}

.event_logo {
    display: none;
}

.event_col .unit {
    color: var(--color-secondary-font);
    font-size: 10px !important;
}

.event_col .hover-text .fa-circle-info {
    font-size: 12px;
    opacity: 0.65;
}

.event_col .hover-text {
    font-size: 12px;
    text-align: left;
    font-weight: 400;
}

.event_col .tooltip-text {
    font-size: 11px;
    width: 245px;
    text-align: left;
    color: var(--color-primary-font);
    border: 1px solid var(--color-borderline-tertiary);
    background-color: var(--color-background-secondary);
}


.detailed_description {
    display: none;
}

.description-link {
    color: #0059c1;
    font-size: 0.875rem;
    text-decoration-style: dotted;
    white-space: nowrap;
}

.event_col .sub-title {
    margin-top: 2px;
    color: var(--color-medium-gray);
    margin-top: 2px;
    font-size: 0.875rem;
    text-align: justify;
    line-height: 1.4;
    font-weight: 400;
}

.green,
.green .unit {
    color: #3bb87a;
}

.red,
.red .unit {
    color: #ff423d;
}

.powered-by-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 15px;
    gap: 10px;
}

.powered-by-text {
    color: var(--color-medium-gray);
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}

.hide_desktop_block {
    display: none;
}

.hide_mobile_block {
    display: block;
}

@media (max-width:1300px) {
    .table_wrapper {
        height: 425px;
    }

    .left_sidebar {
        padding-bottom: 325px;
    }
}

@media (max-width:1250px) {
    .stat_box {
        padding: 0 2rem;
    }
}


@media (max-width:1200px) {
    
    /* .table_sort_icons .asc_icon {
        display: none;
    }
    
    .table_sort_icons .desc_icon {
        display: none;
    } */

    .dt-column-title span{
        line-height: 9px;
    }
    
}

@media (max-width: 992px) {
    .price_range {
        width: 100%;
    }

    .price_slider_scale {
        width: 100%;
    }

    .price_range_wrapper_desktop {
        display: none;
    }

    .price_range_wrapper_mobile {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 16px 0px;
    }

    .key_stats_wrapper {
        padding: 12px 0;
        margin-top: 20px;
    }

    .key_stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: unset;

    }

    .key_stats .text_light {
        margin-bottom: 0px;
    }


    .stat_box {
        gap: 0px;
        padding: 2px 22px;
        border-left: none;
        align-items: center;
        height: 25px;
    }

    .key_stats .stat_box:nth-child(1),
    .key_stats .stat_box:nth-child(3) {
        border-right: 1px solid var(--color-borderline-tertiary);
        ;
    }


}

@media (max-width: 768px) {

    /*  */

    .company_overview {
        margin-bottom: 22px;
    }

    .price_summary .updated_price {
        padding-left: 16px;
    }

    .company_description {
        padding: 0px;
        margin-bottom: 0px;
        border-bottom: unset;
        padding-top: 16px;
    }

    .hide_on_desktop.sign_up {
        margin-top: 16px;
    }

    .table_wrapper {
        height: 380px;
    }

    /* .table_sort_icons {
        display: none;
    } */


    .slick-list {
        height: 100%;
    }

    .left_sidebar {
        padding: 0;
        margin-bottom: unset;
        background: var(--color-bg);
    }

    .company_title {
        width: unset;
    }


    .price_summary {
        align-items: start;
    }


    .price_summary {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-left: 1px solid var(--color-borderline);
        padding-left: 16px;
        position: relative;
        min-width: 130px;
    }

    /* Constituents table -- start*/
    .peers_table thead tr {
        height: unset;
    }

    .peers_table thead tr th{
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* Constituents table -- end */

    .section_header {
        margin-bottom: 16px;
    }

    /* Events start */

    .event_item_body .event_col {
        font-size: 12px;
    }

    .event_col .sub-title {
        font-size: 12px;
    }

    .event_item_wrapper .event_heading {
        font-size: 12px;
    }



    /* Events end */
}

@media (max-width: 430px) {

    .price_summary .updated_price {
        padding-left: 0px;
    }

    .price_summary {
        padding-left: 0px;
    }

    .stat_box {
        padding: 2px 18px;
    }

    /* ratios --start*/

    .company_overview_summary {
        gap: 0px;
        justify-content: space-between;
        flex-direction: column;
    }

    .price_summary {
        align-items: end;
    }

    .price_summary {
        border-left: none;
        align-items: flex-start;
        margin-top: 10px;
    }

    /* ratios --end */



    /* constituents table -- start */

    .peers_table td {
        color: var(--color-table-header);

    }

    .peers_table td,
    .peers_table th {
        padding: 1rem 0.3rem !important;
    }

    .peers_table thead th:first-child {
        display: table-cell;
    }
    
    .peers_table td:first-child,
    .peers_table th:first-child {
        padding-left: 1rem !important;
    }

    .peers_table td:last-child,
    .peers_table th:last-child {
        padding-right: 1rem !important;
    }

    .peers_table th:first-child,
    .peers_table td:first-child {
        width: 50px !important;
    }



    /* constituents table -- end */




    .event_item_wrapper .event_col .date {
        font-weight: 400;
        color: var(--color-medium-gray);
        line-height: 2;
    }

    .event_item_wrapper .event_col,
    .event_item_wrapper .event_col span {
        font-size: 12px;
        padding-right: 10px !important;
    }

    .event_item_body .event_col:nth-child(2),
    .event_heading:nth-child(2),
    .event_item_body .event_col:nth-child(3),
    .event_heading:nth-child(3),
    .event_item_body .event_col:nth-child(4),
    .event_heading:nth-child(4),
    .event_item_body .event_col:nth-child(5),
    .event_heading:nth-child(5),
    .event_item_body .event_col:nth-child(6),
    .event_heading:nth-child(6),
    .event_item_body .event_col:nth-child(7),
    .event_heading:nth-child(7) {
        width: 15%;
        padding: 10.5px;
        gap: 0;
    }

    .event_item_body .event_col.timemarker,
    .event_heading.timemarker_head {
        width: 54%;
        text-align: left;
        padding-left: 0;
    }

    .event_item_header,
    .event_item_body {
        gap: 0;
        padding-bottom: 0;
    }

    .event_item_body .event_col:nth-child(3) {
        padding: 0 10.5px 0 0;
    }


    .event_col .sub-title,
    .description-link {
        text-align: left;
    }

    .event_category_title {
        position: sticky;
        top: -16px;
        background: var(--color-bg);
        padding: 9px 0px;
    }



    .event_item_header {
        position: sticky;
        top: 15px;
        background: var(--color-bg);
        border-top: 1px solid var(--color-axisline);
    }

    .event_item_wrapper {
        margin-top: 0;
    }

    .hide_desktop_block {
        display: block;
    }

    .hide_mobile_block {
        display: none;
    }

    /* Events section end */

}

@media (max-width: 360px) {
    .peers_table td:first-child {
        padding-left: 10px;
    }

    .peers_table td,
    .peers_table th {
        padding: 1rem 0.3rem;
    }
}