:root {
    --thematic-container-backgroundcolor: #fff;
    --thematic-main-heading-fontsize: 32px;
    --thematic-main-heading-fontweight: bold;
    --thematic-main-heading-color: #191970;
    --thematic-content-fontsize: 18px;
    --thematic-content-fontweight: 500;
    --thematic-content-color: #575757;
    --thematic-portfolios-container-backgroundcolor: rgba(25, 25, 112, 0.05);
    --thematic-portfolios-heading-fontsize: 24px;
    --thematic-portfolios-heading-fontweight: bold;
    --thematic-portfolios-heading-color: #191970;
    --thematic-portfolios-content-fontsize: 18px;
    --thematic-portfolios-content-fontweight: 500;
    --thematic-portfolios-content-color: #575757;
    --thematic-heading-fontsize: 20px;
    --thematic-heading-fontweight: bold;
    --thematic-cards-wrapper-backgroundcolor: #fff;
    --return-content-fontsize: 10px;
    --return-content-fontweight: bold;
    --return-content-fontfamily: 'Raleway';
    --return-content-color: #191970;
    --percentage-number-fontsize: 12px;
    --percentage-number-fontweight: 900;
    --percentage-number-fontfamily: 'Roboto';
    --percentage-number-color: #191970;
    --ratio-content-fontsize: 10px;
    --ratio-content-fontweight: bold;
    --ratio-content-color: #191970;
    --ratio-number-fontsize: 12px;
    --ratio-number-fontweight: 900;
    --ratio-number-fontfamily: 'Roboto';
    --ratio-number-color: #191970;
    --volatility-content-fontsize: 14px;
    --volatility-content-fontweight: 900;
    --volatility-content-color: #666666;
    --value-fontsize: 14px;
    --value-fontweight: 900;
    --thematic-draw-backgroundcolor: #191970;
    --value-fontfamily: 'Lato';
    --value-color: #666666;
    --name-fontsize: 14px;
    --name-fontweight: bold;
    --name-color: #191970;
    --percentage-fontsize: 14px;
    --percentage-fontweight: 900;
    --percentage-fontfamily: 'Roboto';
    --percentage-color: #191970;
    --draw-micro-backgroundcolor: #191970;
    --draw-visa-backgroundcolor: #515293;
    --draw-card-backgroundcolor: #8c8cb7;
    --draw-com-backgroundcolor: #c5c5dc;
    --draw-corp-backgroundcolor: #deddea;
    --month-year-fontsize: 16px;
    --month-year-fontweight: normal;
    --month-year-fontfamily: 'Roboto';
    --month-year-color: #8c8cb7;
    --carousal-types-fontsize: 18px;
    --carousal-types-fontweight: bold;
    --carousal-types-color: #8c8cb7;
    --carousal-wrapper-backgroundcolor: #ececf3;
    --scroll-backgrouncolor: #8c8cb7;
    --multi-asset-tabs-container-backgroundcolor: #deddea;
    --tab-links-fontsize: 18px;
    --tab-links-backgroundcolor: #f3f3f8;
    --active-tab-backgroundcolor: transparent;
    --tab-links-fontweight: bold;
    --tab-links-color: #191970;
    --tab-content-fontsize: 18px;
    --tab-content-fontweight: 500;
    --tab-content-color: #575757;
    --next-round-fontsize: 38px;
    --next-round-color: #191970;
    --next-round-fontweight: 500;
    --next-round-backgroundcolor: #fff;
    --global-round-fontsize: 38px;
    --global-round-color: #191970;
    --global-round-fontweight: 500;
    --global-round-backgroundcolor: #fff;
    --strategy-name-section-backgroundcolor: rgba(0, 0, 0, 0.5);
    --strategy-names-fontsize: 17px;
    --strategy-names-fontfamily: 'Raleway';
    --strategy-names-fontweight: 600;
    --strategy-names-color: #fff;
    --strategies-name-fontsize: 11px;
    --strategies-name-fontfamily: 'Raleway';
    --strategies-name-color: #fff;
   
}

@media only screen and (max-width: 768px) {
    :root {
        --thematic-main-heading-fontsize: 24px;
        --thematic-main-heading-fontweight: bold;
        --thematic-content-fontsize: 14px;
        --thematic-content-fontweight: 500;
        --thematic-portfolios-heading-fontsize: 16px;
        --thematic-portfolios-heading-fontweight: bold;
        --thematic-portfolios-content-fontsize: 14px;
        --thematic-portfolios-content-fontweight: 500;
        --tab-links-fontsize: 12px;
        --tab-links-backgroundcolor: #f3f3f8;
        --tab-links-fontweight: 900;
        --tab-links-borderradius: 4px;
        --tab-links-border: 0;
        --tab-content-fontsize: 12px;
        --tab-content-fontweight: 500;
        --tab-content-color: #575757;
    }
}

.thematic-container {
    background-color: var(--thematic-container-backgroundcolor);
}

.thematic-main-heading {
    font-size: var(--thematic-main-heading-fontsize);
    font-weight: var(--thematic-main-heading-fontweight);
    color: var(--thematic-main-heading-color);
    line-height: 1.25; 
    
}

.thematic-content {
    font-size: var(--thematic-content-fontsize);
    font-weight: var(--thematic-content-fontweight);
    color: var(--thematic-content-color);
    line-height: 1.33;
}

.traditional-section {
    position: relative;
}

.traditional-section img {
    width: 150px;
    height: 200px;
    border-radius: 16px;
}

.thematic-portfolios-container {
    background-color: var(--thematic-portfolios-container-backgroundcolor);
}

.scedule-button {
    box-shadow: 1px 1px 10px #8fa0af;
}

.thematic-portfolios-heading {
    font-size: var(--thematic-portfolios-heading-fontsize);
    font-weight: var(--thematic-portfolios-heading-fontweight);
    color: var(--thematic-portfolios-heading-color);
}

.thematic-portfolios-content {
    font-size: var(--thematic-portfolios-content-fontsize);
    font-weight: var(--thematic-portfolios-content-fontweight);
    color: var(--thematic-portfolios-content-color);
    line-height: 1.33;
    
}

.thematic-cards-wrapper {
    background-color: var(--thematic-cards-wrapper-backgroundcolor);
    border-radius: 8px;
}

.thematic-heading {
    font-size: var(--thematic-heading-fontsize);
    font-weight: var(--thematic-heading-fontweight);
}

.thematic-draw {
    background-color: var(--thematic-draw-backgroundcolor);
    border-radius: 8px;
}

.return-content {
    font-size: var(--return-content-fontsize);
    font-weight: var(--return-content-fontweight);
    font-family: var(--return-content-fontfamily);
    color: var(--return-content-color);
}

.percentage-number {
    font-size: var(--percentage-number-fontsize);
    font-weight: var(--percentage-number-fontweight);
    font-family: var(--percentage-number-fontfamily);
    color: var(--percentage-number-color);
}

.ratio-content {
    font-size: var(--ratio-content-fontsize);
    font-weight: var(--ratio-content-fontweight);
    color: var(--ratio-content-fontfamily);
}

.ratio-number {
    font-size: var(--ratio-number-fontsize);
    font-weight: var(--ratio-number-fontweight);
    font-family: var(--ratio-number-fontfamily);
    color: var(--ratio-number-color);
}

.volatility-content {
    font-size: var(--volatility-content-fontsize);
    font-weight: var(--volatility-content-fontweight);
    color: var(--volatility-content-color);
}

.value {
    font-size: var(--value-fontsize);
    font-weight: var(--value-fontweight);
    font-family: var(--value-fontfamily);
    color: var(--value-color);
}

.name {
    font-size: var(--name-fontsize);
    font-weight: var(--name-fontweight);
    color: var(--name-color);
}

.percentage {
    font-size: var(--percentage-fontsize);
    font-weight: var(--percentage-fontweight);
    font-family: var(--percentage-fontfamily);
    color: var(--percentage-color);
}

.draw-micro {
    background-color: var(--draw-micro-backgroundcolor);
    border-radius: 2px;
}

.corporaion-section {
    justify-content: space-between;
}

.content {
    align-items: center;
    width: 140px;
    justify-content: space-between;
}

.draw-visa {
    background-color: var(--draw-visa-backgroundcolor);
    border-radius: 2px;
}

.draw-card {
    background-color: var(--draw-card-backgroundcolor);
    border-radius: 2px;
}

.draw-com {
    background-color: var(--draw-com-backgroundcolor);
    border-radius: 2px;
}

.draw-corp {
    background-color: var(--draw-corp-backgroundcolor);
    border-radius: 2px;
}

.month-year {
    font-size: var(--month-year-fontsize);
    font-weight: var(--month-year-fontweight);
    font-family: var(--month-year-fontfamily);
    color: var(--month-year-color);
}

.carousal-wrapper {
    position: relative;
}

.carousal-wrapper .carousal-section {
    background-color: var(--carousal-wrapper-backgroundcolor);
}

.carousal-wrapper .carousal-section:first-child {
    border-radius: 26px 0 0 26px;
}

.carousal-wrapper .carousal-section:last-child {
    border-radius: 0 26px 26px 0;
}

.carousal-types {
    font-size: var(--carousal-types-fontsize);
    font-weight: var(--carousal-types-fontweight);
    color: var(--carousal-types-color);
}

.scroll {
    width: 103px;
    height: 4px;
    background-color: var(--scroll-backgrouncolor);
    border-radius: 24px;
    position: absolute;
    top: 54px;
    left: 18px;
}

.multi-asset-tabs-container {
    background-color: var(--multi-asset-tabs-container-backgroundcolor);
}

.tablinks {
    font-size: var(--tab-links-fontsize);
    font-weight: var(--tab-links-fontweight);
    color: var(--tab-links--color);
    background-color: var(--tab-links-backgroundcolor);
    border: 0;
    border-radius: 4px;
    width: 500px;
}

.tablinks.active {
    background-color: var(--active-tab-backgroundcolor);
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .tablinks {
        width: 290px;
    }

    .tabcontent {
        width: 80%;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .tablinks {
        width: 432px;
    }

    .tabcontent {
        width: 80%;
    }
}

.left-tabs button:hover {
    background-color: #fff;
}

.left-tabs button:active {
    background-color: #f3f3f8;
}

.tabcontent {
    font-size: var(--tab-content-fontsize);
    font-weight: var(--tab-content-fontweight);
    color: var(--tab-content-color);
}

.year-number-section,
.heading-section {
    overflow: hidden;
}

.multi-asset-portfolios__container {
    justify-content: space-between;
    overflow: hidden;
}

.global-balanced-container {
    overflow: hidden;
}

.next-round {
    font-size: var(--next-round-fontsize);
    color: var(--next-round-color);
    font-weight: var(--next-round-fontweight);
    background-color: var(--next-round-backgroundcolor);
    box-shadow: 0 1px 3px #888;
    border-radius: 38px;
    position: absolute;
    top: 190%;
    height: 50px;
    width: 50px;
    right: -23px;
}

.global-round {
    font-size: var(--global-round-fontsize);
    color: var(--global-round-color);
    font-weight: var(--global-round-fontweight);
    box-shadow: 0 1px 3px #888;
    background-color: var(--global-round-backgroundcolor);
    border-radius: 38px;
    position: absolute;
    top: 280%;
    height: 50px;
    width: 50px;
    right: -23px;
}

:root {
    --portfolio-heading-color: #191970;
    --portfolio-heading-fontsize: 18px;
    --portfolio-heading-fontweight: bold;
    --portfolio-heading-lineheight: normal;
}

@media only screen and (max-width: 768px) {
    :root {
        --portfolio-heading-fontsize: 14px;
        --portfolio-heading-lineheight: 1.29;
    }
}

/* New Code */
.thematic-portfolios {
    overflow: hidden;
}

.portfolio-section {
    max-width: 250px;
    min-width: 250px;
    background-color: #fff;
    border-radius: 8px;
}

.portfolio-heading {
    color: var(--portfolio-heading-color);
    font-size: var(--portfolio-heading-fontsize);
    font-weight: var(--portfolio-heading-fontweight);
    line-height: var(--portfolio-heading-lineheight);
    max-width: 220px;
    text-align: center;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}

.one-line__ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.portfolio-heading__border {
    width: 95%;
    height: 8px;
    border-radius: 8px;
    background-color: var(--portfolio-heading-color);
    margin: 0 auto;
}

.returns__section .field-caption {
    color: #191970;
    font-size: 10px;
    font-weight: bold;
    line-height: normal;
}

.returns__section .field-value {
    color: #191970;
    font-size: 12px;
    font-weight: 900;
    line-height: normal;
}

.portfolios-image__container img {
    height: 65px;
    width: 130px;
}

.bar-draw {
    width: 16px;
    border-radius: 2px;
    background-color: #191970;
}

.constituent-name {
    font-family: 'Lato';
    color: #191970;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    width: 150px;
}
.constituent-value {
    font-family: 'Lato';
    color: #191970;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
}

#carousel-options {
    display: flex;
    flex-wrap: nowrap;
    background-color: #ececf3;
    border-radius: 26px;
    padding: 0 16px;
    gap: 20px;
}

#carousel-options li {
    padding: 16px 0 12px 0;
    cursor: pointer;
    white-space: nowrap;
}

#carousel-options li.active {
    border-bottom: 4px solid #8c8cb7;
    border-radius: 4px;
}

#carousel-options li.active a{
    opacity: 1;
    cursor: auto;
    font-weight: bold;
}

#thematic-cards-wrapper {
    overflow: auto;
}

.strategy-genre__container {
    overflow: scroll;
    border-radius: 26px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.strategy-genre__container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.strategy-genre__container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

@media only screen and (max-width: 768px) {
    .portfolio-section {
        max-width: 225px;
        min-width: 200px;
        border-radius: 4px;
    }
    .portfolio-heading {
        font-size: var(--portfolio-heading-fontsize);
        line-height: var(--portfolio-heading-lineheight);
        margin-bottom: 8px;
    }
    .portfolio-heading__border {
        height: 4px;
        border-radius: 2px;
    }
    .returns__section .field-caption {
        font-size: 10px;
        font-weight: 500;
    }
    .portfolios-image__container img {
        height: 39px;
        width: 78px;
    }
    .constituent-name {
        font-size: 10px;
        font-weight: 500x;
        line-height: 1.6;
    }
    .constituent-value {
        font-size: 10px;
        font-weight: 500x;
        line-height: 1.6;
    }
    .tablinks{
        width: 155px;
    }

    .tabcontent {
        width: 90%;
    }
    
    .traditional-section img {
        height: 130px;
        width: 100px;
    }
    
}


/*Datagrid*/
.table-container {
    text-align: center;
    overflow-x: auto;
    overflow-y: hidden;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

table thead tr th {
    white-space: normal;
    line-height: 20px !important;
    text-align: right;
}


table th,
table td {
    white-space: nowrap;
    padding: 16px;
    /* width: 50%; */
}

table tr th:first-child {
    z-index: 11;
}

@media only screen and (max-width: 991px) {
    table tr th:first-child,
    table td:first-child {
        position: sticky;
        width: 100px;
        left: 0;
        z-index: 10;
        background: #fff;
    }
    
    table tr th {
        position: sticky;
        top: 0;
        z-index: 9;
        background: #fff;
    }
}

.portfolios-section {
    background-color: #fff;
    border-radius: 5px;
}

table tr {
    background-image: linear-gradient(to right, #c5c5dc 60%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 27px 1px;
    background-repeat: repeat-x;
    font-family: 'Lato';
    font-weight: 400;
    color: #575757;
    font-size: 16px;
}

.competitor-analysis__instruction {
    line-height: 80px;    
}

table tbody tr td .highlight-value,
.competitor-analysis__instruction .highlight-value {
    background-image: url('../images/multi-asset/top-performer-indicator.png');
    background-position: center;
    background-size: 72px;
    background-repeat: no-repeat;
}

table tbody tr td:last-child .highlight-value {
    /* padding-right: 16px; */
}

.competitor-analysis__instruction .highlight-value {
    background-position: left;
    background-size: 56px;
    font-size: 18px;
    font-weight: 500;
    color: #191970;
    padding-left: 16px;
}

.competitor-analysis__instruction .as-of__date,
.thematic-portfolios__instruction .as-of__date {
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 400;
    color: #8c8cb7;
}

table tbody tr td:last-child .highlight-value {
    background-position: right;
}

table tr th:last-child,
table tr td:last-child {
    text-align: right;
}

/* table tbody tr td:last-child div, */
table tfoot tr td:last-child div {
    padding-right: 16px;
}

table tbody tr:last-child,
table tfoot tr {
    background-image: none;
    font-size: 18px;
    color: #191970;
}

table tfoot {
    background-color: #fff;
}

table tfoot tr td:first-child {
    vertical-align: middle;
}

table tfoot tr td {
    vertical-align: bottom;
}

table tfoot tr td:first-child {
    border-radius: 12px 0 0 12px;
}

table tfoot tr td:last-child {
    border-radius: 0 12px 12px 0;
}

table tfoot tr td:last-child div:first-child {
    margin-right: 16px !important;
}

table tr th, table tr td {
    padding-top: 15px;
    padding-bottom: 20px;
    line-height: 50px;
}

table tr td:first-child,
table tr th:first-child {
    color: #8c8cb7;
    text-align: left;
    font-weight: 400;
    width: 60px;
}

table tr th:first-child {
    font-family: Raleway;
    font-weight: 500;
}

table tr td:nth-child(2) {
    color: #191970;
    font-weight: bold;
}

.cards-value {
    font-size: 28px;
    font-family: 'Lato';
    font-weight: bold;
    color:#fff;
    position: absolute;
    top: 46px;
    width: 150px;
    text-align: center;
}

.strategy-name-section {
    background-color: var(--strategy-name-section-backgroundcolor);
    border-radius: 8px;
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 134px;
}

.strategy-names {
    font-size: var(--strategy-names-fontsize);
    font-family: var(--strategy-names-fontfamily);
    font-weight: var(--strategy-names-fontweight);
    color: var(--strategy-names-color );
}

.strategies-name {
    font-size: var(--strategies-name-fontsize);
    font-family: var(--strategies-name-fontfamily);
    color: var(--strategies-name-color);
}