@font-face {
    font-family: "SportGuru-icons";
    src: url("/Uploads/iconsss.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/*
Updated color scheme (Charcoal + Cyan + Green)
*/
:root {
    --primary-color: #1F2933;        /* was #172d51 (blue) */
    --secondary-color: #34BFD8;      /* was #40BEDD */
    --green-color: #22C55E;          /* was #00AC77 */
    --red-color: #DC2626;            /* was #A22616 */
    --yellow-color: #F59E0B;         /* was #E09D00 */

    --white: #FFFFFF;
    --light-background-gray: #F3F4F6; /* was #e3e5e6 */
    --dark-gray: #393939;
    --black: #000000;

    --low-stake: #FFE2C6;
    --medium-stake: #FFF3C4;
    --high-stake: #DFF7E6;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 62.5%;
}

body {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.6rem;
    font-weight: 400;
    font-family: 'Titillium Web', sans-serif;
    color: var(--primary-color);
    background-color: var(--light-background-gray);
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
    font-weight: unset;
}

.probability {
    display: flex;
    align-items: baseline;
}

.probability span {
    margin-right: 20px;
}

.probability .progressbar {
    display: flex;
    flex: 1;
    align-items: center;
    background: linear-gradient(90deg, var(--secondary-color) var(--value), var(--light-background-gray) var(--value) 100%);
    height: 30px;
    padding: 0 10px;
    margin-bottom: 10px;
    animation-duration: 10s;
    animation-name: bar_animate;
    color: var(--white);
}

sub {
    vertical-align: baseline;
    font-size: 1rem;
}

.best-odds-table {
    border-collapse: collapse;
    margin: 25px 0;
    width: 100%;
    overflow-x: auto;
}

.best-odds-table thead tr {
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 5px;
    text-align: left;
    border-bottom: 1px solid var(--light-background-gray);
}

.best-odds-table tbody tr {
    border-bottom: 1px solid var(--light-background-gray);
}

.best-odds-table th {
    padding: 10px 15px;
    line-height: 10px;
    font-weight: 600;
}

.best-odds-table th:nth-of-type(2) {
    padding-left: 20px;
}

.best-odds-table th:last-of-type {
    text-align: right;
    padding-right: 27px;
}

.best-odds-table td {
    padding: 10px 15px;
    line-height: 25px;
}

.best-odds-table td sub {
    margin-left: -10px;
}

.best-odds-table tbody tr:last-of-type {
    border: none;
}

h2.bet-pick {
    font-size: 2rem;
    font-weight: 200;
    padding: 25px 0 30px 0;
    text-transform: none;
    box-shadow: none;
}

.container:after,
.bet:after,
.bet-header:after {
    content: "";
    display: table;
    clear: both;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
    font-weight: 600;
    margin-top: 10px;
}

p, summary {
    margin: 20px 0;
    line-height: 2.5rem;
    font-size: 1.6rem;
}

.stats-description p {
    color: #767676;
}

.stats-description {
    margin: 30px 0;
}

summary::marker {
    content: "";
}

summary::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border: 2px solid var(--secondary-color);
    border-left: none;
    border-bottom: none;
    transform: translateY(0px) rotate(45deg);
    transition: 0.3s;
}

summary:hover:after {
    border-color: var(--primary-color);
}

details {
    margin-bottom: 10px;
    cursor: pointer;
}

details[open] > p {
    cursor: auto;
}

details[open] summary::after {
    transform: translateY(0) rotate(-45deg);
    margin-left: 5px;
}

summary::-webkit-details-marker {
    display: none
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.yellow-bg {
    background-color: var(--yellow-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    transition: ease .3s;
    color: var(--secondary-color)
}

header {
    height: 60px;
}

footer {
    margin-top: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px;
}

footer .container {
    margin: 0 auto;
    text-align: center;
}

footer a {
    color: var(--white);
}

footer a:hover {
    color: var(--secondary-color);
}

footer ul {
    text-align: center;
    margin: 30px 0 20px 0;
}

footer li {
    display: inline-block;
    padding: 0 5px;
    border-right: 1px solid var(--white);
    line-height: 1.5rem;
    font-size: 1.5rem;
}

footer li:last-of-type {
    border-right: 0;
}

footer p {
    font-size: 1.3rem;
    line-height: 1.6rem;
    text-align: left;
}

footer p.copyright {
    font-size: 1rem;
    line-height: 1.6rem;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 10px auto 0;
}

section {
    width: 100%;
    float: right;
}

section p > a {
    color: var(--secondary-color);
}

section p > a:hover {
    color: var(--primary-color);
}

table.stats {
    font-size: 1.4rem;
    width: 100%;
    border-collapse: unset;
    border-spacing: 5px;
    background-color: var(--white);
}

table.stats th {
    font-size: 1rem;
    text-transform: uppercase;
}

table.stats th,
table.stats td {
    width: 25%;
    vertical-align: middle;
    text-align: center;
}

table.stats th:first-of-type,
table.stats td:first-of-type {
    width: 25px;
}

aside#right-bar {
    width: 100%;
    float: right;
}

aside ul {
    margin-bottom: 10px;
}

aside ul li {
    display: flex;
}

aside ul li a {
    text-align: left;
    width: 100%;
    border-bottom: 1px solid var(--primary-color);
    margin-top: 10px;
}

aside .top-competitions-yield {
    background-color: var(--green-color);
    color: var(--white);
    text-transform: uppercase;
    display: inline-block;
    font-size: 11px;
    line-height: 25px;
    width: 35px;
    text-align: center;
}

aside .top-competitions-name {
    display: inline-block;
    font-size: 14px;
    line-height: 25px;
    width: calc(100% - 39px);
}

.date-time {
    text-transform: uppercase;
    font-size: 1rem;
    text-align: left;
}

h1 {
    color: var(--primary-color);
    font-size: clamp(2.1rem, 2.7vw, 2.7rem);
    line-height: clamp(1.7rem, 2vw, 2.3rem);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 400;
    padding-top: 10px;
}

h2.competition-header {
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 2rem;
    clear: both;
}

h2.subtitle {
    background: none;
    color: var(--dark-gray);
    font-size: 1.6rem;
    line-height: 1.6rem;
    text-transform: uppercase;
}

h2 a {
    color: var(--white);
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.5rem;
    background-color: inherit;
    color: var(--primary-color);
    padding: 10px 0;
    box-shadow: inset 0 -6px 0 -1px var(--primary-color);
    clear: both;
}

.competition-header.no-predictions {
    background: var(--red-color);
}

article,
h2.competition-header,
.calendar,
.button,
.stats,
.accumulator {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

article {
    background: var(--white);
    border-bottom: 1px solid rgba(31, 41, 51, 0.25); /* softened */
    padding: 5px 10px 10px 10px;
}

section h2 {
    position: relative;
}

section h2 span {
    padding: 10px 15px;
    display: inline-block;
}

section h2 .competition-name {
    padding: 10px 15px;
    display: inline-block;
    max-width: calc(100% - 152px);
}

section h2 .show-all-header {
    position: absolute;
    top: 0;
    right: 0;
    width: 135px;
    height: 100%;
    padding: 0 5px 0 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background: linear-gradient(-75deg, var(--secondary-color) 134px, var(--primary-color) 135px 100%);
}

section h2 .show-all-header a {
    color: var(--white);
    font-size: 10px;
    font-weight: 400;
    line-height: 10px;
    width: 125px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: inherit;
    text-align: right;
}

section h2 .show-all-header a:hover {
    color: var(--primary-color);
}

article h3 {
    display: block;
    font-size: clamp(1.6rem, 2.7vw, 2rem);
    font-weight: 600;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.home, .away, .score {
    line-height: clamp(2rem, 2.7vw, 2.3rem);
}

.home {
    width: calc((100% - 75px) / 2);
    text-align: left;
    float: left;
}

.away {
    width: calc((100% - 75px) / 2);
    text-align: right;
    float: right;
}

.score {
    width: 75px;
    text-align: center;
    float: left;
}

a.match-details-button {
    float: left;
    position: relative;
    background: var(--white);
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 12px;
    line-height: 20px;
    width: 70px;
    text-align: center;
}

a.match-details-button:after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border: 2px solid var(--secondary-color);
    border-left: none;
    border-top: none;
    transform: translateY(-50%) rotate(-45deg);
    top: 50%;
    right: 5px;
}

a.match-details-button:hover,
a.match-details-button.active {
    color: var(--primary-color);
}

a.match-details-button:hover::after,
a.match-details-button.active::after {
    transition: .3s;
    border-color: var(--primary-color);
}

.bet-details {
    margin-bottom: 20px;
    outline: 1px solid black;
}

.bet-header {
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 5px;
}

.bet {
    line-height: 2.5rem;
    margin: 0 0 5px;
}

.tip {
    float: left;
    text-align: left;
    max-width: calc(100% - 120px);
}

.offer {
    display: block;
    float: right;
    text-align: right;
    max-width: 120px;
}

.bookie {
    font-size: 1.2rem;
}

.pick {
    display: block;
    float: left;
    width: calc(100% - 32px)
}

/* Odds box: slightly cleaner */
.odds {
    font-size: 1.4rem;
    display: block;
    float: right;
    min-width: 35px;
    margin-left: 4px;
    padding: 0 3px;
    text-align: center;
    background: #E5E7EB; /* was #d6d6d6 */
    box-sizing: border-box;
}

.odds.won {
    border-right: 5px solid var(--green-color);
}

.odds.lost {
    border-right: 5px solid var(--red-color);
}

.pick.short {
    display: none;
}

.stake.low {
}

.stake.medium {
    background-color: var(--medium-stake);
}

.stake.high {
    background-color: var(--high-stake);
}

.stake {
    display: block;
    float: left;
    width: 27px;
    height: 27px;
    margin-right: 5px;
    text-align: center;
    line-height: 25px;
    color: var(--primary-color);
    background: var(--white);
}

.filter-container {
    margin: 20px 0;
    height: 45px;
    width: 100%;
}

.filter-container span {
    width: calc((100% - 30px) / 4);
    overflow: hidden;
    float: left;
    display: block;
    text-align: center;
    margin-right: 10px;
}

.filter-container span:last-child {
    margin-right: 0;
}

.filter-container a {
    width: 100%;
}

a.button {
    box-sizing: border-box;
    display: inline-block;
    border: 5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px;
    line-height: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
    overflow: hidden;
    height: 45px;
}

a.button:hover,
a.button.active {
    background-color: var(--secondary-color);
    border: 5px solid var(--secondary-color);
    color: var(--white);
}

a.button.details {
    background: var(--white);
    color: var(--red-color);
    border: 0;
    height: 35px;
}

a.button.details:hover,
a.button.details.active {
    background: var(--red-color);
    color: var(--white);
    border: 0;
}

input.burger-input {
    display: none;
}

a.social {
    font-family: beftw-icons, serif;
    text-decoration: none;
    color: var(--white);
    margin: 0 6px;
    line-height: 32px;
    font-size: 32px;
    display: inline-block;
    width: 32px;
    height: 32px;
}

.facebook:before {
    content: "\E6F4";
}

.twitter:before {
    content: "\E6F7";
}

.navbar {
    position: fixed;
    top: 0;
    display: block;
    width: 100%;
    height: 60px;
    background: var(--primary-color);
    z-index: 10;
}

.navbar-logo {
    margin: 8px 20px 8px 10px;
    float: left;
}

/* CHANGED: no more background-image here */
.navbar-logo a {
    height: 44px;
    display: block;
    float: left;
}

/* NEW: logo img style */
.navbar-logo img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    display: block;
}

.menu-list {
    margin: 0;
    padding: 0;
}

.menu-list li {
    display: block;
    float: left;
    margin: 0;
}

.menu-list li a {
    display: block;
    padding: 16px 20px;
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
}

.menu-list li.active, .menu-list li:active, .menu-list li:hover {
    transition: ease .3s;
    box-shadow: inset 0 -6px 0 -1px var(--secondary-color);
}

.burger-label, .menu-overlay {
    display: none;
}

.calendar {
    background: var(--white);
    display: block;
    width: 100%;
    font-size: 1.5rem;
    line-height: 4.5rem;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

.calendar:last-of-type {
    margin-top: 20px;
}

.calendar, .prev, .next, .today {
    display: block;
    text-decoration: none;
    text-align: center;
    height: 45px;
    -webkit-font-smoothing: antialiased;
}

.calendar .prev {
    float: left;
    width: 45px;
    font-size: 4rem;
    line-height: 4rem;

}

.calendar .prev:hover:after,
.calendar .next:hover:after {
    transition: ease 0.3s;
    border-color: var(--primary-color);
}

.calendar .prev:after,
.calendar .next:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border: 3px solid var(--secondary-color);
    top: 50%;
}

.calendar .prev:after {
    border-right: none;
    border-top: none;
    transform: translateY(-50%) rotate(45deg);
    left: 15px;
}

.calendar .next:after {
    border-left: none;
    border-top: none;
    transform: translateY(-50%) rotate(-45deg);
    right: 15px;
}

.calendar .next {
    float: right;
    width: 45px;
    font-size: 4rem;
    line-height: 4rem;
}

.calendar .today {
    float: left;
    width: calc(100% - 90px);
}

@media (max-width: 359px) {
    .pick.short {
        display: inline;
    }

    .pick.long {
        display: none;
    }
}

/* Phablet */
@media (max-width: 768px) {
    aside {
        margin-top: 0;
    }

    .container {
        margin: 10px auto;
    }

    .burger-label {
        display: block;
        float: right;
        padding: 20px 20px;
        -webkit-user-select: none;
        user-select: none;
        margin-bottom: 0;
        z-index: 4;
    }

    .burger-lines {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        transition: transform .3s cubic-bezier(.25, .01, .75, 1);
    }

    .burger-label .burger-lines span {
        display: block;
        width: 30px;
        height: 3px;
        margin-top: 2px;
        margin-bottom: 2px;
        background-color: var(--white);
        transition: all .3s cubic-bezier(.25, .01, .75, 1);
        opacity: 1;
    }

    .burger-input:checked ~ .burger-label .burger-lines span:nth-child(1) {
        transform: translateY(7px) rotate(45deg); /* height + 2x margin */
    }

    .burger-input:checked ~ .burger-label .burger-lines span:nth-child(2) {
        opacity: 0;
    }

    .burger-input:checked ~ .burger-label .burger-lines span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .burger-input:checked ~ .menu-wrap {
        right: 0;
    }

    .burger-input:checked ~ .menu-overlay {
        display: block;
    }

    .menu-overlay {
        background: var(--black);
        opacity: 0.4;
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        top: 60px;
        bottom: 0;
        z-index: 2;
        margin: 0;
        overflow: hidden;
    }

    .menu-wrap {
        border-top: 1px solid #fff;
        background-color: var(--primary-color);
        padding: 10px;
        overflow: hidden;
        transition: all 0.3s;
        position: fixed;
        width: 230px;
        top: 60px;
        right: -250px;
        bottom: 0;
        z-index: 3;
    }

    .menu-list {
        display: block;
        overflow: hidden;
    }

    .menu-wrap:hover .menu-list {
        overflow-y: auto;
    }

    .menu-list li {
        width: 100%;
    }

    .menu-list li:first-child {
        border-top: medium none;
    }

    .menu-list li a {
        display: block;
        padding: 10px;
        font-size: 22px;
        color: var(--white);
        text-decoration: none;
    }

    .menu-list li.active, .menu-list li:active, .menu-list li:hover {
        border-left: solid 5px var(--secondary-color);
        box-shadow: none;
    }

    .social-icons {
        border-top: solid var(--white) 1px;
        border-bottom: solid var(--white) 1px;
        padding: 10px 0;
        text-align: center;
        width: 230px;
        position: inherit;
        bottom: 20px;
    }
}

/*  Desktop */
@media (min-width: 769px) {
    .navbar {
        padding-left: calc((100% - 1000px) / 2);
    }

    .social-icons {
        display: none;
    }

    section {
        width: calc(100% - 320px);
        float: left;
    }

    aside {
        margin-top: 30px;
    }

    aside#right-bar {
        width: 300px;
    }
}

.adsbygoogle {
    margin: 20px 0;
}

.adsbygoogle[data-ad-status='unfilled'] {
    margin: 0;
    display: none !important;
}

.ad-rectangle {
    width: 300px;
    height: 266px;
}

.ad-rectangle.large {
    max-height: 600px;
}

.ad-horizontal {
    width: 100%;
    height: 100px;
}

@media (min-width: 400px) {
    .ad-horizontal {
        height: 280px;
    }
}

.accumulator-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-items: stretch;
    margin: -10px 0 0 -10px;
}

.accumulator {
    position: relative;
    flex-grow: 1;
    margin: 10px 0 0 10px;

    /* CHANGED: charcoal gradient instead of flat blue */
    background: linear-gradient(180deg, var(--primary-color) 0%, #111827 100%);

    color: var(--white);
    display: inline-block;
    padding-bottom: 65px;
    width:100%;
}

@media (min-width: 769px) {
    .accumulator {
        max-width: calc(100% * (1 / 2) - 10px);
    }
}

.accumulator h2 {
    background: var(--white);
    color: var(--primary-color);
    margin: 0 0 20px 0;
    line-height: 2rem;
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 10px;
    border: 1px solid var(--primary-color);
}

.accumulator > div {
    padding: 5px 10px;
}

.accumulator .match-line {
    font-size: 10px;
    color: rgba(255,255,255,0.75); /* clearer on dark */
    text-transform: uppercase;
    padding-bottom: 0;
}

.accumulator .pick-line {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    padding-top: 0;
}

.accumulator .odds {
    color: var(--primary-color);
    background: white;
    padding: 2px 5px;
}

.accumulator .total {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding: 20px 10px;
    bottom: 0;
    position: absolute;
    width: calc(100% - 20px);
}
