
body {
    font-family: 'Open Sans', sans-serif;
}

.top-bar .logo img {
    margin: 0.4em 1em;
    height: 36px;
    width: auto;
}

.top-bar .logo img[src="/images/games/logo_labeled.svg"] {
    transform: scale(1.6);
    transform-origin: left center;
}

.match {
    padding: 3.6em 2em;
}

main .center {
    display: flex;
    align-items: flex-start;
    max-width: none;
}

.content {
    flex: 1 1 72%;
    padding-right: 2em;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar {
    flex: 1 1 28%;
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.match {
    margin-bottom: 2em;
}

.match .info {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}

.match .date {
    font-size: 14px;
}

.match .teams {
    font-size: 20px;
    font-weight: bold;
}

.match .label {
    font-weight: bold;
    font-size: 20px;
    color: #FFD600;
    margin-bottom: 0.6em;
}

.matches .info {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}

.match .best-odds {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.match .best-odd {
    margin-bottom: 1em;
}

.matches .teams {
    flex: 1 1 auto;
    display: flex;
    padding: 0 0 0 2em;
    align-items: center;
    justify-content: space-between;
}

.matches .th:nth-child(2),
.matches .th:nth-child(3),
.matches .th:nth-child(4),
.matches .td:nth-child(2),
.matches .td:nth-child(3),
.matches .td:nth-child(4) {
    max-width: 180px;
}

.matches .teams .divider {
    margin: 0 1em;
    text-transform: uppercase;
    color: #AAAAAA;
    width: 80px;
    text-align: center;
}

.matches .teams .team {
    flex: 1 1 50%;
    font-weight: 600;
    text-align: center;
}

.matches .hour {
    font-weight: 600;
    font-size: 14px;
}

.matches .day {
    color: #989898;
    font-size: 12px;
}

.matches .teams {
    display: flex;
}

.matches .odd {
    width: 100%;
    box-sizing: border-box;
    background: #E9F2FF;
    border: 1px solid #BCDCFF;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    padding: .4em .8em;
    font-weight: 600;
    font-size: 14px;
    justify-content: space-between;
}

.matches .odd img {
    display: block;
    margin-right: .5em;
    max-height: 24px;
    max-width: 76px;
}

.matches .odd img[data-bookmaker="413"] {
    margin-top: 7px;
    margin-bottom: 7px;
}

.matches .more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration-line: underline;
    color: #05274E;
}

.matches .more svg {
    height: 1em;
}

.casinoHeader {
    width: 100%;
    height: 256px;
    border-radius: 20px;
}

.casinoHeader img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.cards {
    display: flex;
    flex-flow: row wrap;
    margin: 20px 20px;
    gap: 15px;
}

.cards a {
    display: flex;
}

.card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.card > .isNew{
    width: 45px;
    height: 20px;
    text-transform: uppercase;
    position: absolute;
    top: 5px;
    right: 10px;
    color: white;
    background-color: #00369b;
    border-radius: 0.5em;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.cardInfo {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
}

.cardTag {
    color: #fff;
    font-weight: bold;
    flex: 1 1 auto;
    padding: 0 0 0 15px;
    border-radius: 15px 0 0 0;
    font-size: 14px;
}

.cardDate {
    color: #000;
    font-weight: bold;
    flex: 1 1 auto;
    padding: 0 15px 0 0;
    text-align: end;
}

.cardsItem {
    width: 300px;
    background: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(18,49,83,0.6);
    border-radius: 16px;
    box-shadow: 10px 10px 11px 0px rgba(18,49,83,0.6);
    position: relative;
}

.cardCasino[data-owner="lottomatica"] {
    border: 5px solid rgba(18,49,83,0.6);
    border-radius: 22px;
}

.cardsItem[data-stagional='true'] .stagionalImg {
    position: absolute;
    width: 38px;
    top: -24px;
    right: -20px;
    transform: rotate(23deg);
    z-index: 1;
}

.cardsItem[data-stagional='false'] .stagionalImg {
    display: none;
}

.match-group {
    position: relative;
}

.match-group .stagionalImg {
    position: absolute;
    width: 44px;
    top: -23px;
    right: -19px;
    transform: rotate(23deg);
    z-index: 1;
}

.cardsItem[data-owner='lottomatica'] {
    border-color: #CC7722;
}

.cardImage {
    width: 100%;
}

.cardImage img {
    width: 100%;
    border-radius: 16px 16px 0 0;
    height: 168px;
    object-fit: cover;
    object-position: center;
}

.cardImage img.noRadius {
    width: 100%;
    border-radius: 0;
}

.cardTitle {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.cardContent {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.cardDescription {
    margin: 0 0 15px 0;
    flex-basis: 140px;
}

.cardCallToAction {
    font-weight: 800;
}

.sidebar .bonus {
    padding: 1.2em 2em;
}

.sidebar .bonus > div {
    flex-grow: 1;
} 

.sidebar .bonus .info {
    font-size: 22px;
    font-weight: bold;
}

.sidebar .bonus .counter {
    color: #FFD600;
    margin-right: .3em;
}

.sidebar .bonus .description {
    font-size: 14px;
}

.sidebar .bonus .call-to-action {
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, .25);
    font-size: 14px;
    border-radius: 4px;
    padding: 0.4em 0.8em;
    display: flex;
    align-items: center;
    margin-left: 1em;
    font-weight: 600;
}

.sidebar .bonus .call-to-action span {
    padding-left: .5em;
}

@media (max-width: 1600px) {
    .matches .th:last-child,
    .matches .td:last-child {
        display: none;
    }
}

@media (max-width: 599px) {

    .content {
        padding: 0 0.6em;
    }

    .match {
        margin-left: -.6em;
        margin-right: -.6em;
        padding: 1em;
    }

    .match .info .teams {
        margin-bottom: 1em;
    }

    .match .info {
        display: block;
        text-align: center;
    }

    .matches {
        margin-bottom: 1.6em;
    }

    .matches .odd {
        display: block;
        padding: .4em;
    }

    .matches .odd img {
        max-width: 50px;
        margin: 0 auto;
    }

    .matches .info {
        padding-left: 1em;
        display: block;
    }

    .matches .divider {
        display: none;
    }

    .matches .date,
    .matches .teams {
        width: 100%;
    }

    .matches .date {
        display: flex;
        justify-content: flex-start;
        font-size: 11px;
    }

    .matches .date .hour {
        color: #989898;
        font-size: inherit;
        font-weight: normal;
    }

    .matches .date .hour:after {
        content: "-";
        padding: 0 .4em;
    }

    .matches .teams {
        display: block;
        padding-left: 0;
    }

    .matches .teams .team {
        text-align: left;
        font-size: 13px;
    }

    .matches .th:last-child {
        display: none;
    }

    .matches .td.more {
        display: flex;
        position: absolute;
        right: 0;
        width: 66%;
        box-sizing: border-box;
        bottom: 0;
        justify-content: flex-end;
        font-size: 11px;
    }

    .matches .odd img[data-bookmaker="413"] {
        margin: 12px auto !important;
    }

    .matches .td.more span {
        padding-right: .4em;
    }

    .matches .tr {
        position: relative;
    }

    .matches .td:nth-child(2),
    .matches .td:nth-child(3),
    .matches .td:nth-child(4) {
        margin-bottom: 1.5em;
    }

    .cards {
        justify-content: center;
    }

}

footer .center {
    max-width: none;
}
