﻿
/* CUSTOMIZE THE LIVE BAR
-------------------------------------------------- */
.live-bar, .live-sign, .live-currencies {
    align-items: center;
}

.live-bar {
    border-top: 1px solid #9e9e9e;
    border-bottom: 1px solid #9e9e9e;
}

.list-values {
    display: flex;
    align-items: center;
    height: 100%;
}

@media (max-width: 767px) {
    .container-md.row.mx-0.d-flex.mx-auto.justify-content-between {
        padding: 0;
    }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.live-sign {
    align-items: center;
    text-transform: uppercase;
    padding: 1rem;
    border-right: 1px solid #9E9E9E;
    color: #686C80;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
}

span.light {
    width: 10px;
    height: 10px;
    background-color: red;
    margin: 5px;
    border-radius: 6px;
}

.live-bar .form-check.form-switch {
    margin-bottom: 0;
}

.live-currencies {
    flex-wrap: nowrap;
}


.charts-prices {
    background-color: #E1B637;
    padding: 1rem;
    text-align: center;
}

.list-values li:not(:first-child) {
    margin-left: 10px;
}

.list-values li {
    overflow: hidden;
    flex-wrap: nowrap;
    display: flex;
    text-transform: uppercase;
    font-size: 14px;
    white-space: nowrap;
}

.switchToggleCurrency input[type=checkbox], .switchToggleWeight input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}

.switchToggleCurrency label, .switchToggleWeight label {
    cursor: pointer;
    text-indent: -9999px;
    width: 80px;
    max-width: 80px;
    height: 30px;
    background: #9e9e9e;
    display: block;
    border-radius: 10px;
    position: relative;
    font-size: 12px;
}

    .switchToggleWeight label:after {
        content: "OZ";
        text-indent: 8px;
    }

.switchToggleWeight input:checked + label:after {
    content: "KG";
    text-indent: 10px;
}

.switchToggleCurrency label:after {
    content: "AUD";
    text-indent: 4px;
}

.switchToggleCurrency input:checked + label:after {
    content: "USD";
}

.switchToggleCurrency label:after, .switchToggleWeight label:after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 36px;
    height: 22px;
    background: #F0F3F3;
    border-radius: 7px;
    transition: 0.3s;
    color: #000;
    line-height: 22px;
}

.switchToggleCurrency input + label:before, .switchToggleCurrency input + input + label:before {
    content: "USD";
    left: 45px;
}

.switchToggleCurrency input:checked + label:before, .switchToggleCurrency input:checked + input + label:before {
    content: "AUD";
    left: 7px;
}

.switchToggleCurrency input + label:before, .switchToggleCurrency input + input + label:before,
.switchToggleWeight input + label:before, .switchToggleWeight input + input + label:before {
    position: absolute;
    top: 6px;
    width: 26px;
    height: 26px;
    border-radius: 90px;
    transition: 0.3s;
    text-indent: 0;
    color: #2B2B2B;
    opacity: 0.7;
}

.switchToggleCurrency input:checked + label:before, .switchToggleCurrency input:checked + input + label:before,
.switchToggleWeight input:checked + label:before, .switchToggleWeight input:checked + input + label:before {
    position: absolute;
    top: 6px;
    width: 26px;
    height: 26px;
    border-radius: 90px;
    transition: 0.3s;
    text-indent: 0;
    color: #2B2B2B;
    opacity: 0.7;
}

.switchToggleWeight input + label:before, .switchToggleCurrency input + input + label:before {
    content: "KG";
    left: 49px;
}

.switchToggleWeight input:checked + label:before, .switchToggleCurrency input:checked + input + label:before {
    content: "OZ";
    left: 12px;
}

.switchToggleCurrency input:checked + label:after, .switchToggleCurrency input:checked + input + label:after,
.switchToggleWeight input:checked + label:after, .switchToggleWeight input:checked + input + label:after {
    left: calc(100% - 4px);
    transform: translateX(-100%);
}

.switchToggleCurrency label:active:after,
.switchToggleWeight label:active:after {
    width: 60px;
}

.toggle-switchArea {
    margin: 10px 0 10px 0;
}

.wrapp-list-values::-webkit-scrollbar,
.wrapp-list-values::-moz-scrollbar,
.wrapp-list-values::-webkit-scrollbar-width,
.wrapp-list-values::-webkit-scrollbar-track {
    display: none;
}

.wrapp-list-values {
    max-width: 65%;
}

.charts-prices.col {
    width: 5%;
    min-width: 176px;
}

.live-currencies.overflow-hidden.col {
    width: 10%;
    min-width: 211px;
}

.live-bar.mobile .wrapp-list-values {
    max-width: 73%;
}

.slick-slide {
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1400px) {
    .wrapp-list-values {
        max-width: 58%;
    }
}

@media (max-width: 1200px) {
    .wrapp-list-values {
        max-width: 52%;
    }
}

@media (max-width: 991px) {
    .wrapp-list-values {
        max-width: 33%;
    }

    .slick-slide {
        padding: 0 5px;
    }
}

@media (max-width: 767px) {
    .wrapp-list-values {
        max-width: 80%;
        border-top: 1px solid #9e9e9e;
        margin-top: -1px;
    }
}

@media (max-width: 1199px) {
    .live-currencies, .charts-prices {
        border-bottom: 1px solid #9e9e9e;
    }
}

@media (max-width: 400px) {
    .wrapp-list-values {
        max-width: 78%;
    }
}

@media (min-width: 1200px) {
    .charts-prices {
        max-width: 177px;
    }
}
/* MOBILE LIVE BAR
-------------------------------------------------- */
.wrapp-con-charts.d-flex {
    border-bottom: 1px solid #9e9e9e;
}









span.light {
    width: 10px;
    height: 10px;
    background-color: green;
    margin: 5px;
    border-radius: 6px;
}

.movement-img {
    height: 14px;
    margin-left: 5px;
}

.ticker-item {
    min-width: 130px;
    padding: 12px 0;
}

.currency-wrapper {
    font-size: 70%;
}

.item-label {
    font-weight: 600;
    font-size: 70%;
    text-transform: uppercase;
    top: 2px;
}

@media (min-width: 768px) {
    .gspitem-label {
        position: absolute;
    }
}

@media (max-width: 767px) {
    .btm-row:not(.btm-row ~ .btm-row) {
        padding-left: 1rem;
    }

    .btm-row {
        background-color: white;
        padding-top: 20px;
        border-top: 1px solid #bbb;
    }

    .gsp-item {
        padding: 0px 1rem;
    }

    .item-label:not(.gspitem-label) {
        top: 10px;
    }

    .prices-wrapper {
        background-color: #eee;
        padding: 0;
    }
}



/* MARQUEE
-------------------------------------------------- */

.marquee-settings-btn {
    font-size: 70%;
    border: none;
    background: none;
    right: 0;
    bottom: 0;
}
.marquee-text {
    overflow: clip;
}

.marquee-text-track {
    display: flex;
    /*padding-left: 4.8rem;*/
    gap: 0.22rem;
    width: max-content;
    animation: marquee-move-text var(--speed, 10s) linear infinite var( --direction, forwards );
}

.marquee-text p {
    margin-top: 0;
    margin-bottom: 0;
    /*border: 1px solid white;
    background-color: #141414;
    border-radius: 999px;
    padding: 1rem 2.5rem;*/
}

@keyframes marquee-move-text {
    to {
        transform: translateX(-50%);
    }
}

.marquee-text:hover .marquee-text-track {
    animation-play-state: paused;
}


/*
.marquee {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    height: 20px;*/ /* Adjust as needed */
/*display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 16px;
}

.marquee span {
    display: inline-block;
    white-space: nowrap;
    padding-right: 5px;

}

.marquee:hover span {
    animation-play-state: paused;
}*/
