/* WB price ticker icon sprite — 40 icons, cells 36x28 */
.price_ticker_icon {
	display: inline-block;
	width: 36px;
	height: 28px;
	margin-left: 16px;
	margin-right: 10px;
	vertical-align: bottom;
	flex: 0 0 auto;
	background-image: url(/wp-content/plugins/wb-elementor/widgets/price-ticker/img/wb-ticker-icons.svg);
	background-repeat: no-repeat;
	background-size: 36px 1120px;
	background-position: 0 0;
}

.ti-AMAZON { background-position: 0 -0px; }
.ti-AUDUSD { background-position: 0 -28px; }
.ti-BCHUSD { background-position: 0 -56px; }
.ti-BIDU { background-position: 0 -84px; }
.ti-BTCJPY { background-position: 0 -112px; }
.ti-BTCUSD { background-position: 0 -140px; }
.ti-ETHUSD { background-position: 0 -168px; }
.ti-EURUSD { background-position: 0 -196px; }
.ti-GBPUSD { background-position: 0 -224px; }
.ti-GER30 { background-position: 0 -252px; }
.ti-GLD_ETF { background-position: 0 -280px; }
.ti-GOOG { background-position: 0 -308px; }
.ti-IWM_ETF { background-position: 0 -336px; }
.ti-JP225 { background-position: 0 -364px; }
.ti-LTCUSD { background-position: 0 -392px; }
.ti-NATGAS { background-position: 0 -420px; }
.ti-NETFLIX { background-position: 0 -448px; }
.ti-NVDA { background-position: 0 -476px; }
.ti-QQQ_ETF { background-position: 0 -504px; }
.ti-TSLA { background-position: 0 -532px; }
.ti-UK100 { background-position: 0 -560px; }
.ti-UKBRENT { background-position: 0 -588px; }
.ti-US100 { background-position: 0 -616px; }
.ti-US30 { background-position: 0 -644px; }
.ti-US500 { background-position: 0 -672px; }
.ti-USCRUDE { background-position: 0 -700px; }
.ti-USDCAD { background-position: 0 -728px; }
.ti-USDCHF { background-position: 0 -756px; }
.ti-USDJPY { background-position: 0 -784px; }
.ti-VEA_ETF { background-position: 0 -812px; }
.ti-XAGUSD { background-position: 0 -840px; }
.ti-XAUUSD { background-position: 0 -868px; }
.ti-XLE_ETF { background-position: 0 -896px; }
.ti-XLF_ETF { background-position: 0 -924px; }
.ti-XPTUSD { background-position: 0 -952px; }
.ti-XRPUSD { background-position: 0 -980px; }
.ti-ui-down { background-position: 0 -1008px; }
.ti-ui-tooltip { background-position: 0 -1036px; }
.ti-ui-tooltip-active { background-position: 0 -1064px; }
.ti-ui-up { background-position: 0 -1092px; }

html[dir="rtl"] .price_ticker_icon {
	margin-left: 10px;
	margin-right: 16px;
}
/* Light Mode
.light-mode {
    background-color: #ffffff;
    color: #000000;
}

.light-mode table {
    border: 1px solid #ddd;
}

.dark-mode {
    background-color: #222;
    color: #ffffff;
}

.dark-mode table {
    border: 1px solid #444;
} */

.price_ticker_tables * {
    font-family: "Inter", Sans-serif;
    /*font is added on wordpress*/
}

.editor_display {
    text-align: center;
}

.price_ticker_tables {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    border-top: 2px solid var(--Stroke-Neutral-primary, rgba(229, 231, 235, 1));
    margin-top: -2px;
    margin-bottom: 0px;
    width: 100%;
    border-collapse: collapse;
}

.price_ticker_tables.show {
    opacity: 1;
    transform: translateY(0);
    /* Move to original position */
    display: table;
    /* Show the table */
}

#price_ticker_tabs .show {
    border-bottom: 2px solid var(--Stroke-Neutral-primary, rgba(107, 114, 128, 1));
    color: #111928;
}

#price_ticker_tabs {
    display: flex;
    z-index: 99;
    position: relative;
}

#price_ticker_tabs span {
    cursor: pointer;
    padding: 14px 18px 14px 16px;
    color: #6B7280;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
    border-bottom: solid 2px rgba(255, 255, 255, 0);
}

#price_ticker_tabs span:hover {
    border-bottom: 2px solid var(--Stroke-Neutral-primary, rgba(107, 114, 128, 1));
    color: #111928;
    vertical-align: middle;
}

#price_ticker {
    width: 100%;
    max-width: 920px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 20px -8px rgba(52, 64, 84, 0.12);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin: auto;
}

.price_ticker_tables thead th {
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    text-transform: uppercase;
    color: #6B7280;
    background: rgba(249, 250, 251, 1);
    text-align: left;
    padding-left: 16px;
    height: 68px;
    vertical-align: middle;
    border: none;
    border-bottom: 2px solid var(--Stroke-Neutral-primary, rgba(229, 231, 235, 1));
}

.price_ticker_tables thead th .hover-text {
    position: relative;
    display: inline-block;
    background-image: url(./img/tooltip.svg);
    height: 16px;
    width: 17px;
	margin-left:4px;
	top: 3px;
	
}

.price_ticker_tables thead th .hover-text:hover {
    background-image: url(./img/tooltipActive.svg);
}
.price_ticker_tables thead th .hover-text:hover .tooltip-text {
    visibility: visible;
}
.price_ticker_tables thead th .tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 10;
    width: 280px;
    color: #6B7280;
    font-size: 12px;
	line-height:18px;
    background-color: #FFF;
    border-radius: 10px;
    padding: 12px;
	text-transform: capitalize;
	font-weight:400;
}
.price_ticker_tables thead th #left {
    top: 18px;
    right: -2px;
    box-shadow: 0px 2px 10px 1px rgba(52, 64, 84, 0.12);	
}
.price_ticker_tables thead th #left::before {
    top: -4px;
    left: 264px;
}
.price_ticker_tables thead th .tooltip-text::before {
    content: "";
    position: absolute;
    transform: rotate(45deg);
    background-color: #FFF;
    padding: 5px;
    z-index: 1;
}
.price_ticker_tables tbody td {
    height: 68px;
    vertical-align: middle;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    border: none;
    border-bottom: 2px solid var(--Stroke-Neutral-primary, rgba(229, 231, 235, 1));
    background: rgba(255, 255, 255, 1) !important;
}

.price_ticker_tables tbody td:nth-of-type(2) span,
.price_ticker_tables tbody td:nth-of-type(3) span {
    width: 82px;
    display: inline-block;
}

.price_ticker_tables tbody td:nth-of-type(1) {
    min-width: 150px;
}

.price_ticker_tables tbody tr:last-child td {
    border: none;
}

.price_ticker_tables tbody tr td img {
    padding-right: 10px;
    vertical-align: bottom;
    padding-left: 16px;
}

/* .elementor-widget-container {
    display: flex;
    justify-content: center;
    align-items: center;
} */

.price_ticker_up .price_ticker_changebox,
.price_ticker_down .price_ticker_changebox {
    color: rgba(0, 113, 36, 1);
    background: rgba(232, 248, 235, 1);
    border: 1px solid var(--Stroke-Green-secondary, rgba(139, 215, 160, 1));
    padding: 4px;
    border-radius: 8px;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    height: 26px;
    min-width: 74px;
    display: inline-block;
}

.price_ticker_up .price_ticker_changebox_img,
.price_ticker_down .price_ticker_changebox_img {
    background: url(/wp-content/plugins/wb-elementor/widgets/price-ticker/img/up.svg);
    display: inline-block;
    height: 13px;
    width: 15px;
    margin-right: 4px;
}

.price_ticker_down .price_ticker_changebox {
    color: rgba(181, 37, 31, 1);
    border: 1px solid var(--Stroke-Red-secondary, #FFAC9A);
    background: var(--Fill-Red-light, #FFEEE9);
}

.price_ticker_down .price_ticker_changebox_img {
    background: url(/wp-content/plugins/wb-elementor/widgets/price-ticker/img/down.svg);
}

@media only screen and (max-width: 768px) {
    #price_ticker {
        overflow-x: auto;
        white-space: nowrap;
    }

    .price_ticker_tables {
        min-width: 565px;
    }

    #price_ticker_tabs span {
        padding: 10px 14px 10px 10px;
    }

    .price_ticker_tables thead th {
        height: 50px;
    }

    .price_ticker_tables tbody td {
        height: 64px;
    }
}

html[dir="rtl"] .price_ticker_tables thead th {
    text-align: right;
    padding-right: 16px;
}

    html[dir="rtl"] .price_ticker_tables thead th .tooltip-text {
        direction: ltr;
    }

    html[dir="rtl"] .price_ticker_tables thead th #left {
        right:auto;
        left: -2px;
    }

        html[dir="rtl"] .price_ticker_tables thead th #left::before {
            left:auto;
            right: 264px;
        }

    html[dir="rtl"] .price_ticker_tables thead th .tooltip-text {
        text-align: left;
        direction: ltr;
    }