/* 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;
    }