﻿/* Common */
.sa-layout-section {
    padding-top: 0;
    padding-bottom: 0;
}

table thead tr th {
    border-top: 1px solid #ddd !important;
    font-weight: 500 !important;
}

table tr:last-child,
table tbody tr:last-child td:last-child {
    border-bottom: 1px solid #dfdfdf;
}
/* Container */
.exe-content-container {
    align-self: stretch;
    border-radius: 3px;
    height: 100%;
}

/* StickyTab */
.stickytab img {
    opacity: 1;
}

@media(max-width:991.98px) {
    .stickytab span {
        font-size: 12px;
    }
}

/* Header */
.header .survey-btn,
.header .price-jobs-btn {
    font-size: .875rem !important;
}

.header .survey-btn {
    background-image: unset !important;
    background-color: #ED7A23 !important;
}

.header .survey-banner {
    border-radius: 10px;
    flex-direction: column;
    background: linear-gradient(180deg, #f1fced 0%, #fff 100%);
    border: 1px solid #dff0d8;
}

/* Ranking */
.ranking .data-year {
    background-color: #f2f8ff;
    border: 1px solid #e6e7e8;
    border-radius: 10px;
}

    .ranking .data-year .year a,
    .ranking .data-year .sal-custom-option a,
    .ranking .data-year .trend-analysis {
        display: inline-block;
    }

    .ranking .data-year .year,
    .ranking .data-year .trend-analysis {
        height: 32px;
        padding: 6px 10px;
        flex-grow: 1;
        border-radius: 3px;
        background-color: #fff;
    }

    .ranking .data-year .year {
        flex-basis: 110px;
        max-width: 110px;
    }

    .ranking .data-year .trend-analysis {
        flex-basis: 120px;
        max-width: 120px;
    }

    .ranking .data-year .icon-calendar {
        background-color: #fff;
        color: #29abe2;
        font-size: 24px;
    }

    .ranking .data-year .container-year {
        flex-grow: 1;
    }

    .ranking .data-year .sal-custom-select-el {
        max-width: 200px;
    }

    .ranking .data-year .sal-custom-select__trigger {
        background-color: #fff;
    }

    .ranking .data-year .icon-triangle-down {
        color: #ccc;
    }

.ranking > p {
    max-width: 100%;
    margin-top: 20px;
}

.ranking .data-year .current-year {
    background-color: #007dbc;
}

.ranking .ranking-chart .description {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.ranking .ranking-chart .components {
    border: 1px solid #ddd;
    padding: 10px;
    display: flex;
    gap: 80px;
}

@media (max-width: 991.98px){
    .ranking .ranking-chart .description {
        flex-direction: column;
    }

    .ranking .ranking-chart .components {
        gap: 20px;
        font-size: 14px;
    }

    .ranking .ranking-chart .year {
        align-self: end;
    }
}

.ranking .ranking-chart .component {
    display: flex;
    gap: 5px;
}

.ranking .ranking-chart .square {
    width: 20px;
    height: 20px;
}

.ranking .ranking-chart .square-equity {
    background: #29ABE2;
}

.ranking .ranking-chart .square-cash {
    background: #77D5F3;
}

.ranking .ranking-chart .square-other {
    background: #FEDD0E;
}

/* company-bar-container */
.table > tbody > tr > td {
    padding-right: 10px !important;
}

.sa-table.sa-table tbody td {
    vertical-align: middle !important;
}

.ranking table.sa-table td.total-compensation {
    min-width: 200px;
}

.ranking .company-bar-container, .company-bar-container {
    width: 100%;
    margin: 5px 0;
    position: relative;
    overflow: visible;
}

.ranking .chart-bar {
    width: 100%;
    height: 40px;
    background-color: transparent;
    position: relative;
    overflow: visible;
}

.ranking .chart-bar-stack {
    height: 30px;
    display: flex;
    align-items: center;
    border-radius: 3px;
    overflow: hidden;
}

.ranking .bar-segment {
    height: 30px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .ranking .bar-segment.equity {
        background-color: #29ABE2;
    }

    .ranking .bar-segment.cash {
        background-color: #77D5F3;
    }

    .ranking .bar-segment.other {
        background-color: #FEDD0E;
    }

    .ranking .bar-segment:hover {
        opacity: 0.8;
        transform: scaleY(1.1);
        z-index: 10;
    }

    .ranking .bar-segment.equity:hover {
        background-color: rgba(31,151,220,1);
    }

    .ranking .bar-segment.cash:hover {
        background-color: rgba(119,213,243,0.9);
    }

    .ranking .bar-segment.other:hover {
        background-color: rgba(233,201,0,1);
    }

.chart-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-style: normal;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

    .chart-tooltip.show {
        opacity: 1;
    }

.tooltip-color-square {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

.ranking td .company-bar-container {
    min-width: 500px;
    margin: 0;
    overflow: visible;
}

.ranking table.sa-table td:last-child {
    width: auto;
    min-width: 500px;
    overflow: visible;
}

/* responsive */
@media (min-width: 481px) and (max-width: 768px) {
    .ranking td .company-bar-container {
        min-width: 0;
        max-width: 460px !important;
        overflow: hidden;
    }

    .ranking table.sa-table td:last-child {
        min-width: 0;
        max-width: 460px !important;
        overflow: hidden;
    }

    .bar-container {
        max-width: 430px !important;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .ranking td .company-bar-container,
    .ranking td .compay-bar-container {
        min-width: 0;
        max-width: 350px !important;
        overflow: hidden;
        width: 336px;
    }

    .ranking table.sa-table td:last-child {
        min-width: 0;
        max-width: 330px !important;
        overflow: hidden;
    }

    .bar-container {
        max-width: 350px !important;
        overflow: hidden;
    }
}

/* SearchForm */
@media (min-width: 1280px) {
    .searchform form {
        width: 45% !important;
    }
}

/* ChartDesc */
.chartdesc .description p {
    padding-bottom: 24px;
    max-width: unset;
}


/* Members */


/* Alphabets */
.alphabets .alphabets-div {
    margin-left: -20px;
}

    .alphabets .alphabets-div a {
        margin-bottom: .8em;
        width: 44px;
        height: 34px;
        font-size: 15px;
    }

/* DisclaimerDesc */
.disclaimerdesc p {
    max-width: unset;
}

.disclaimerdesc h4 {
    font-weight: 600;
    margin-top: 30px;
}