﻿.ti3__symbol-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ti3__symbol-header .symbol__logo {
    width: 100%;
    max-width: 48px;
    -webkit-margin-end: 13px;
    margin-inline-end: 13px;
}

.ti3__symbol-header .symbol__logo img {
    border-radius: 50%;
}

.ti3__symbol-header .header__col--left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    max-width: 390px;
}

.ti3__symbol-header .header__col--right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ti3__symbol-header .header__col--full {
    width: 100%;
    margin-top: 22px;
}

.ti3__symbol-header .symbol__info {
    width: 100%;
}

.ti3__symbol-header .symbol__title {
    margin-bottom: 6px;
    font-size: 22px;
    line-height: 1;
    font-weight: bold;
}

.ti3__symbol-header .symbol__description {
    display: block;
    font-size: 16px;
    line-height: 1.2;
}

.ti3__symbol-header .ti3__symbol-quotes {
    -webkit-margin-start: auto;
    margin-inline-start: auto;
}

.ti3__symbol-quotes {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ti3__symbol-quotes .symbol__quote {
    min-width: 185px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    -webkit-transition: opacity .25s ease;
    -o-transition: opacity .25s ease;
    transition: opacity .25s ease;
}

.ti3__symbol-quotes .symbol__quote:hover {
    color: #fff;
    text-decoration: none;
    opacity: .88;
}

.ti3__symbol-quotes .quote__label {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.ti3__symbol-quotes .symbol__quote--sell {
    -webkit-padding-start: 13px;
    padding-inline-start: 13px;
    -webkit-padding-end: 13px;
    padding-inline-end: 13px;
    border-radius: 5px 0 0 5px;
}

.ti3__symbol-quotes .symbol__quote--buy {
    -webkit-padding-start: 13px;
    padding-inline-start: 13px;
    -webkit-padding-end: 13px;
    padding-inline-end: 13px;
    text-align: right;
    border-radius: 0 5px 5px 0;
}

.ti3__symbol-quotes .quote__value {
    position: relative;
    display: inline-block;
    margin-bottom: 4px;
    font-size: 20px;
}

.ti3__symbol-quotes .fall {
    background-color: #fa5a4a;
}

.ti3__symbol-quotes .growth {
    background-color: #67ac5b;
}

.ti3__symbol-quotes .symbol__spread {
    position: absolute;
    display: inline-table;
    min-width: 30px;
    left: 50%;
    top: 10px;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    padding: 2px;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    color: #272e36;
    background-color: #fff;
    border-radius: 2px;
}

.symbol__change .change__label {
    color: #6f797e;
}

.symbol__change .increased {
    color: #67ac5b;
}

.symbol__change .decreased {
    color: #fa564d;
}

.block__title {
    margin-bottom: 21px;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 500;
}

.tabs__nav {
    margin-top: 50px;
    margin-bottom: 40px;
    overflow: auto;
}

.tabs__scroll {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e9edef;
    list-style-type: none;
}

.tabs__nav .tabs__btn {
    position: relative;
    -webkit-margin-end: 45px;
    margin-inline-end: 45px;
    padding: 5px 3px 20px 3px;
    font-weight: 700;
    cursor: pointer;
    -webkit-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
}

.tabs__nav .tabs__btn:last-child {
    -webkit-margin-end: 0;
    margin-inline-end: 0;
}

.tabs__nav .tabs__btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: transparent;
    -webkit-transition: background-color .2s ease;
    -o-transition: background-color .2s ease;
    transition: background-color .2s ease;
}

.tabs__nav .tabs__btn.active::after {
    background-color: #68ad5c;
}

.tabs__content .tabs__panel {
    display: none;
}

.tabs__content .tabs__panel.active {
    display: block;
}

.ti3__specification-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ti3__specification-tabs .tab__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ti3__specification-tabs .tab__col:first-child {
    -webkit-margin-end: 30px;
    margin-inline-end: 30px;
}

.ti3__specification-tabs .ti3__symbol-tab-item {
    -webkit-margin-end: 8px;
    margin-inline-end: 8px;
    margin-bottom: 15px;
    padding: 4px 20px;
    font-size: 14px;
    color: #272e36;
    background-color: #f4f5f7;
    border-radius: 20px;
    outline: none;
    border: none;
    cursor: pointer;
}

.ti3__specification-tabs .ti3__symbol-tab-item.active {
    background-color: #272e36;
    color: #fff;
}

.ti3__specification-tabs .ti3__symbol-tab-item:last-child {
    -webkit-margin-end: 0;
    margin-inline-end: 0;
}

.ti3__specification-tabs .ti3__symbol-tab-item[data-account_type_id="Crypto"] {
    display: none;
}

.tab__head {
    margin-bottom: 15px;
}

.profile__content {
    max-width: 560px;
}

.profile__occupation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 620px;
    margin-top: 50px;
}

.profile__occupation .occupation__col {
    width: 100%;
    max-width: 340px;
}

.profile__occupation .occupation__col:first-child {
    -webkit-margin-end: 20px;
    margin-inline-end: 20px;
}

.profile__occupation .occupation__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.profile__occupation .occupation__title {
    margin-bottom: 20px;
    color: #6f797e;
}

.profile__occupation .occupation__icon {
    width: 48px;
    height: 48px;
    -webkit-margin-end: 15px;
    margin-inline-end: 15px;
    background-color: #f3f5f6;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.profile__occupation .occupation__name {
    font-weight: 700;
}

.profile__content h2 {
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 500;
}

.profile__occupation .occupation__icon.deu {
    background-image: url(../image/deu.svg);
}

.profile__occupation .occupation__icon.fra {
    background-image: url(../image/fra.svg);
}

.profile__occupation .occupation__icon.gbr {
    background-image: url(../image/gbr.svg);
}

.profile__occupation .occupation__icon.ita {
    background-image: url(../image/ita.svg);
}

.profile__occupation .occupation__icon.usa {
    background-image: url(../image/usa.svg);
}

.profile__occupation .occupation__icon.healthcare {
    background-image: url(../image/healthcare.svg);
}

.profile__occupation .occupation__icon.basic_materials {
    background-image: url(../image/basic_materials.svg);
}

.profile__occupation .occupation__icon.industrials {
    background-image: url(../image/industrials.svg);
}

.profile__occupation .occupation__icon.communication_services {
    background-image: url(../image/communication_services.svg);
}

.profile__occupation .occupation__icon.technology {
    background-image: url(../image/technology.svg);
}

.profile__occupation .occupation__icon.consumer_defensive {
    background-image: url(../image/consumer_defensive.svg);
}

.profile__occupation .occupation__icon.utilities {
    background-image: url(../image/utilities.svg);
}

.profile__occupation .occupation__icon.financial {
    background-image: url(../image/financial.svg);
}

.profile__occupation .occupation__icon.real_estate {
    background-image: url(../image/real_estate.svg);
}

.profile__occupation .occupation__icon.energy {
    background-image: url(../image/energy.svg);
}

.profile__occupation .occupation__icon.commondities {
    background-image: url(../image/commondities.svg);
}

.profile__occupation .occupation__icon.indexes {
    background-image: url(../image/indexes.svg);
}

.ti3__symbol-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ti3__symbol-tabs .tab__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ti3__symbol-tabs .tab__col:first-child {
    -webkit-margin-end: 65px;
    margin-inline-end: 65px;
}

.ti3__symbol-tabs .ti3__symbol-tab-item {
    -webkit-margin-end: 8px;
    margin-inline-end: 8px;
    margin-bottom: 15px;
    padding: 4px 20px;
    font-size: 14px;
    color: #272e36;
    background-color: #f4f5f7;
    border-radius: 20px;
    outline: none;
    border: none;
    cursor: pointer;
}

.ti3__symbol-tabs .ti3__symbol-tab-item.active {
    background-color: #272e36;
    color: #fff;
}

.ti3__symbol-tabs .ti3__symbol-tab-item:last-child {
    -webkit-margin-end: 0;
    margin-inline-end: 0;
}

.ti3__symbol-tabs .ti3__symbol-tab-item[data-account_type_id="Crypto"] {
    display: none;
}

.ti3__symbol-details {
    margin-top: 8px;
    padding-top: 24px;
    padding-bottom: 4px;
    border-top: 1px solid #e9edef;
}

.ti3__symbol-details .details__row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
}

.ti3__symbol-details .details__item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9edef;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.ti3__symbol-details .details__item-title {
    position: relative;
    margin-bottom: 15px;
    padding-inline-end: 26px;
    color: #6f797e;
    line-height: 1;
}

.ti3__symbol-details .details__item-value {
    font-family: Inter, Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    direction: ltr;
}

.ti3__symbol-details .details__item-value a {
    display: inline-block;
    color: #252e37;
    text-decoration: underline;
}

.hide {
    display: none !important;
}

.ti3_symbol_data__node:not(.active),
.ti3_symbol_data__account_type:not(.active),
.ti3_symbol_account_types__node:not(.active) {
    display: none;
}

.increased {
    color: green;
}

.decreased {
    color: red;
}

.not-changed {
    color: gray;
}

.details__item-tooltip {
    position: absolute;
    inset-inline-end: 0;
    top: 1px;
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-image: url(../image/tooltip_icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    cursor: help;
}

.ui-tooltip {
    padding: 0;
    z-index: 9;
}

.ui-tooltip-content {
    max-width: 268px;
    padding: 12px;
    background-color: rgba(62, 66, 69, 0.95);
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 129%;
    color: #fff;
}

.ui-tooltip-content a {
    text-decoration: underline;
    color: #fff;
}

@media (max-width: 1200px) {
    .ti3__symbol-details .details__row {
        -webkit-column-gap: 12px;
        -moz-column-gap: 12px;
        column-gap: 12px;
        -ms-grid-columns: 1fr 12px 1fr 12px 1fr;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .ti3__symbol-quotes .symbol__quote {
        min-width: 150px
    }

    .ti3__symbol-quotes .quote__value {
        font-size: 16px;
    }

    .ti3__symbol-quotes .quote__label {
        font-size: 18px;
    }

    .ti3__symbol-quotes .symbol__spread {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .ti3__symbol-header {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .ti3__symbol-header .header__col--full {
        max-width: 90px;
        margin-top: 0;
        -webkit-margin-start: auto;
        margin-inline-start: auto;
    }

    .symbol__change {
        text-align: right;
    }

    .ti3__symbol-header .header__col--right,
    .symbol__change .change__label,
    .ti3__symbol-header .ti3__symbol-quotes {
        display: none;
    }

    .ti3__symbol-quotes--mobile {
        margin: 25px 0;
    }

    .ti3__symbol-quotes--mobile .symbol__quote {
        min-width: 50%;
    }

    .ti3__symbol-tabs {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .profile__occupation {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .profile__occupation .occupation__col {
        margin-bottom: 20px;
    }

    .profile__occupation .occupation__col:first-child {
        -webkit-margin-end: 0;
        margin-inline-end: 0;
    }

    .profile__occupation .occupation__title {
        margin-bottom: 8px;
    }

    .ti3__specification-tabs {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .ti3__specification-tabs .tab__col:first-child {
        -webkit-margin-end: 0;
        margin-inline-end: 0;
        margin-bottom: 20px;
    }

    .ti3__symbol-details .details__row {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .ti3__symbol-details .details__item {
        -webkit-box-flex: 0;
        -ms-flex: none;
        flex: none;
        max-width: 200px;
    }

    .ti3__symbol-details .details__item.details__item-trading-hours {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ti3__symbol-header .symbol__logo {
        max-width: 42px;
    }

    .ti3__symbol-header .symbol__title {
        margin-bottom: 4px;
        font-size: 16px;
    }

    .ti3__symbol-header .symbol__description {
        font-size: 14px;
    }

    .symbol__change .change__value-positive {
        font-size: 12px;
    }

    .block__title {
        font-size: 18px;
    }

    .tab__title {
        font-size: 14px;
    }

    .ti3__symbol-tabs .ti3__symbol-tab-item {
        padding: 4px 12px;
        font-size: 14px;
    }

    .ti3__symbol-details .details__item-title {
        font-size: 14px;
    }

    .ti3__symbol-details .details__row {
        -ms-grid-columns: 1fr 12px 1fr;
        grid-template-columns: 1fr 1fr;
        -webkit-column-gap: 12px;
        -moz-column-gap: 12px;
        column-gap: 12px;
    }

    .tabs__nav .tabs__btn {
        -webkit-margin-end: 30px;
        margin-inline-end: 30px;
    }

    .profile__content {
        font-size: 14px;
    }

    .profile__occupation .occupation__icon {
        width: 38px;
        height: 38px;
    }

    .tab__title,
    .profile__content h2 {
        font-size: 18px;
    }

    .ui-tooltip-content {
        max-width: 156px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .ti3__symbol-header .symbol__logo {
        max-width: 38px;
    }

    .ti3__symbol-header .symbol__title {
        font-size: 14px;
    }

    .ti3__symbol-header .symbol__description {
        font-size: 12px;
    }

    .ti3__symbol-details .details__item:nth-child(-n+6) {
        padding-bottom: 15px;
    }

    .ti3__symbol-details .details__item-title,
    .ti3__symbol-tabs .ti3__symbol-tab-item {
        font-size: 12px;
    }
}

@media (min-width: 767px) {
    .ti3__symbol-quotes--mobile {
        display: none;
    }
}

/* RTL STYLES START */
.rtl .ti3__symbol-quotes .symbol__quote--sell {
    text-align: right;
    border-radius: 0 5px 5px 0;
}

.rtl .ti3__symbol-quotes .symbol__quote--buy {
    text-align: left;
    border-radius: 5px 0 0 5px;
}

.rtl .ti3__symbol-quotes .quote__value,
.rtl .ti3__symbol-quotes .symbol__spread {
    direction: ltr;
    font-family: Inter, Roboto, Helvetica, Arial, sans-serif;
}

.rtl .symbol__change {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.rtl .change__value {
    margin-right: 5px;
    font-family: Inter, Roboto, Helvetica, Arial, sans-serif;
    direction: ltr;
}

@media (max-width: 767px) {
    .rtl .change__value {
        margin-right: auto;
        text-align: left;
    }
}

@media (hover: hover) and (pointer: fine) {
    .tabs__nav .tabs__btn:not(.active):hover {
        color: #6f797e;
    }

    .ti3__symbol-details .details__item-value a:hover {
        text-decoration: none;
    }
}
