[data-bs-theme=light] {
    --live-spinner: #fff;
    --card-footer-text: #a4a4a4;
    --card-background-color: #ffffffd1;
    --group1-background-color: #fff0c4a6;
    --group2-background-color: #f1f1f1;
    --group1-header-color: #131a3c;
    --etoz-scrollbar: #a0a0a0;
    --statbox-bg: #f9f9f9;
    --statbox-text: #000000;
    --related-background: #f1f1f1;
    --related-text: #e53a35;
    --footer-text: #fff;
}

[data-bs-theme=dark] {
    --live-spinner: #212529;
    --card-footer-text: #a5a5a5;
    --card-background-color: #ffffff12;
    --group1-background-color: #494b2e;
    --group2-background-color: #ffffff1a;
    --group1-header-color: #ffffffe0;
    --etoz-scrollbar: #adadad;
    --statbox-bg: #000;
    --statbox-text: #ffffff;
    --related-background: #111111;
    --related-text: #e53a35;
    --footer-text: #fff;
}

::-webkit-scrollbar {
    width: 6px;
    height: 4px;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-thumb {
    background: var(--etoz-scrollbar);
    border-radius: 1000px;
}

::-webkit-scrollbar-track {
    background: var(--bs-body-bg);
}

body,
html {
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
}

html[data-bs-theme="dark"] body {
    background-color: #232323;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: -0.01rem;
    color: var(--etoz-type);
}

h1 {
    font-size: 1.3rem;
    font-weight: 400;
    position: relative;
}

h2 {
    font-size: 1.1rem;
    font-weight: 400;
}

h3 {
    font-size: 0.9rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    color: var(--etoz-type);
    line-height: 1rem;
    font-size: 0.85rem;
}

a {
    color: var(--etoz-type);
    text-decoration: none;
    /* display: contents; */
}

a:hover {
    color: #e53a35;
}

hr {
    margin-top: -6px;
    margin-bottom: 10px;
}

.page-link {
    color: #e53a35;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #e53a35;
    border-color: #e53a35;
}

#logo {
    display: none;
}


#logo:hover {
    background-color: var(--etoz-strip-back);
    /* background-image: url("/assets/img/cw-logo-l.svg"); */
}



html[data-bs-theme="dark"] #header_color {
    /* background-color: #363636; */
    padding-bottom: 0;
    padding-top: 0;
    overflow: hidden;
    /* border-bottom: 2px solid rgb(0 0 0 / 21%); */
    font-size: 0;
    font-family: 'Roboto Condensed', sans-serif;
}

.row {
    margin-top: 0;
    margin-bottom: 0;
}

.row.mb-4 {
    margin-bottom: 1.5rem !important;
}


.card {
    border-radius: 4px;
}

/* .card:hover {
    background-color: #adadad45;
} */


.card .card-footer:hover {
    background-color: #adadad21;
}


.card-group {
    display: flex;
}

.card {
    flex: 1;
    /* border: none; */
    background-color: var(--card-background-color);
    border-radius: 0;
}

.card-img-top {
    border-radius: 0;
}

.col-md-12.img-left h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0rem;
}


html[data-bs-theme="dark"] .quick-links>li>a {
    color: #fff;
}


.live-cell a {
    color: #2d2d2d;
}


#liveScores::after {
    content: "";
    /* background-color: red; */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 91%, var(--live-back) 100%);
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    pointer-events: none;
}

/* .cw-header {
    -webkit-mask-image: url("/assets/img/vector-halftone3.svg");
    mask-image: url("/assets/img/vector-halftone3.svg");
    background-position: 1px 1px;
    -webkit-mask-position: -11px -62px;
    -webkit-mask-size: 198px 285px;
    -webkit-mask-repeat: no-repeat;
} */

.live-spin {
    display: flex;
    font-family: 'Roboto Condensed';
    font-size: 22px;
    font-weight: 600;
    color: var(--etoz-red);
}

.lds-facebook {
    overflow: hidden;
    display: inline-block;
    top: 1px;
    position: relative;
    width: 31px;
    height: 36px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 8px;
    background: var(--etoz-red);
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    border-radius: 5px;
}

.lds-facebook div:nth-child(1) {
    left: 0px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 9px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 18px;
    animation-delay: 0;
}

*[id^='revive-'] {
    display: flex!important;
    align-items: center !important;
    justify-content: space-around !important;
    height: 100% !important;
    /* background-color: #585858; */
}

@keyframes lds-facebook {
    0% {
        top: 0px;
        height: 36px;
    }

    50%,
    100% {
        top: 12px;
        height: 8px;
    }
}

.group-1 {
    /* border-radius: 16px; */
    /* border-top: 1px solid #4FC3F7; */
    /* border-bottom: 1px solid #4FC3F7; */
    background-color: var(--group1-background-color);
    padding: 12px 12px 12px 12px;
    /* margin: 40px 0 6px 0; */
    margin-top: 40px;
}

.group-2 {
    background-color: var(--group2-background-color);
    padding: 12px 12px 12px 12px;
    margin-top: 40px;
}


.card-footer {
    position: relative;
    background-color: #ffffff00;
    /* border-top: none; */
    /* text-align: right; */
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--card-footer-text);
}

.card-footer a {
    line-height: 22px;
    bottom: -2px;
    font-weight: 600;
    color: var(--etoz-red);
    font-size: 12px;
}

.icon-clock {
    /* Set the desired width and height of the background */
    background-color: var(--card-footer-text);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0Z' fill='%23ff0000'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0Z' fill='%23ff0000'%3E%3C/path%3E%3C/svg%3E");
    display: inline-block;
    width: 16px;
    height: 16px;
    top: 0.245rem;
    right: 0.3rem;
    position: relative;
}

.time {
    float: right;
    font-size: 12px;
}




@media(max-width:576px) {
    #header_color {
        height: 118px;
        margin-bottom: 9px;
        /* margin-top: 6px; */
        /* border-radius: 6px; */
    }

    #liveScores::after {
        content: "";
        /* background-color: red; */
        background: none;
        position: absolute;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        pointer-events: none;
    }
}

@media(min-width:576px) {
    h1 {
        font-size: 1.6rem;
        font-weight: 400;
        position: relative;
    }

    h2 {
        font-size: 1.3rem;
        font-weight: 400;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.4rem;
    }
}

@media(min-width:768px) {
    h1 {
        font-size: 1.6rem;
        font-weight: 400;
        position: relative;
    }

    h2 {
        font-size: 1.3rem;
        font-weight: 400;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 1.4rem;
    }
}

@media(min-width:992px) {
    h1 {
        font-size: 1.6rem;
        font-weight: 400;
        position: relative;
    }

    h2 {
        font-size: 1.3rem;
        font-weight: 400;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.3rem;
    }
}

@media (min-width: 1167px) {

    #logo {
        width: 200px;
        cursor: pointer;
        background-image: var(--etoz-logo);
        background-repeat: no-repeat;
        background-size: 194px;
        background-position: 0px 8px;
        display: block;
    }

    .infinate-lines {
        border-bottom: var(--etoz-line-grey);
        z-index: 100;
        position: relative;
        background-color: var(--etoz-strip-back);
    }

    .lines-noz {
        border-bottom: var(--etoz-line-grey);
        background-color: var(--etoz-strip-back);
    }


    #btnSwitch {
        background-position: 8px 9px;
    }

}


@media(min-width:1200px) {
    h1 {
        font-size: 1.6rem;
        font-weight: 400;
        position: relative;
    }

    h2 {
        font-size: 1.3rem;
        font-weight: 400;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 1.3rem;
    }
}

@media(min-width:1400px) {
    h1 {
        font-size: 1.6rem;
        letter-spacing: -0.06rem;
        font-weight: 400;
        position: relative;
    }

    h2 {
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    h4 {
        font-size: 1rem;
    }
}