.ivapix-gol {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
}

.ivapix-gol svg {
    width: 20px;
}

span.igrac {
    color: white;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1px;
}

span.minute {
    line-height: 1px;
    color: #779dd2;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
}

.ivapix-golovi-igraca {
    display: flex;
}

.ivapix-column {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ivapix-column.golovi-domacina {
    align-items: flex-end;
}

.ivapix-column.golovi-domacina .ivapix-gol {
    flex-direction: row-reverse;
}

.ivapix-svi-igraca {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}

.ivapix-igrac {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ivapix-igrac img {
    height: 40px;
    background: white;
    border-radius: 20px;
}

.ivapix-igraci-column.igraci-domacina .ivapix-igrac {
    flex-direction: row-reverse;
}

.ivapix-igraci-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
}

span.ime {
    font-size: 14px;
}

span.broj {
    font-size: 13px;
    font-weight: bold;
}

.ivapix-players-heading {
    text-align: center;
    text-transform: uppercase;
}

.subheading {
    text-align: center;
    text-transform: uppercase;
    margin-top: 30px;
    font-weight: 700;
}

.zuti-karton {
    width: 10px;
    height: 15px;
    background: #ffe101;
    border-radius: 2px;
    position: absolute;
    top: 0;
    right: 0;
}

.crveni-karton {
    width: 10px;
    height: 15px;
    background: #ff1541;
    border-radius: 2px;
    position: absolute;
    top: 0;
    right: 0;
}

.ivapix-igrac {
    position: relative;
}

.izlazak,
.ulazak {
    background: white;
    width: 30px;
    border-radius: 4px;
    font-size: 10px;
    position: absolute;
    bottom: -5px;
    right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 600;
}

.izlazak:before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-style: solid;
    border-width: 4.5px 5px 4.5px 0;
    border-color: transparent #ff1541 transparent transparent;
}

.ulazak:after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-style: solid;
    border-width: 4.5px 5px 4.5px 0;
    border-color: transparent #ff1541 transparent transparent;
    border-width: 4.5px 5px 4.5px 0;
    border-color: transparent #00BB2C transparent transparent;
    transform: rotate(180deg);
}

.ivapix-igraci-column.igraci-gosta .zuti-karton {
    right: unset;
    left: 0;
}

.ivapix-igraci-column.igraci-gosta .crveni-karton {
    right: unset;
    left: 0;
}

.ivapix-klub-red {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid #edeef2;
    padding: 15px;
}

.ivapix-klub-red .klub {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ivapix-klub-red .klub img {
    width: 30px;
}

.ivapix-klub-red span.godina-igranja {
    font-weight: 500;
}

.ivapix-igraci-column.igraci-domacina h6 {
    text-align: right;
}

.fksd-rezultat-utakmice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.fksd-rezultat-utakmice h5 {
    height: 77px;
    width: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1b203b;
    border-radius: 5px;
    font-size: 2.7rem;
    color: white;
}

.fksd-rezultat-utakmice h5.loser {
    opacity: .5
}

div#fksd-stadion:before,
.fksd-game-icons:first-of-type:before {
    content: '';
    background: url(/wp-content/uploads/2024/06/location-filled-svgrepo-com.svg);
    width: 20px;
    height: 20px;
    position: absolute;
    left: -25px;
    top: -3px;
    background-position: center;
    background-size: contain;
    opacity: .5;
}

div#fksd-sudija:before,
.fksd-game-icon:first-of-type:before {
    content: '';
    background: url(/wp-content/uploads/2024/06/whistle-svgrepo-com.svg);
    width: 20px;
    height: 20px;
    position: absolute;
    left: -25px;
    top: 0;
    background-position: center;
    background-size: contain;
    opacity: .5;
}

.tabela-klub img {
    height: 30px;
}

.tabela-klub {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

table.fksd-tabela td {
    text-align: center;
}

table.fksd-tabela th:nth-of-type(2) {
    text-align: left !important;
}

table.fksd-tabela * {
    border: none !important;
    font-family: "Exo 2", Sans-serif !important;
    vertical-align: middle;
}

/*table.fksd-tabela tr:nth-of-type(2) * {
    background: #779dd2;
    color: white;
}*/

tr.fksd-table-row:nth-child(-n+7) {
    border-left: 5px solid #779dd2 !important;
}

tr.fksd-table-row:nth-child(n+7) {
    border-left: 5px solid #eb3d3d !important;
}

tr.fksd-table-row:nth-child(7) {
	margin-top: 40px;
}

tr.fksd-table-row.fksd * {
    background: #283051;
    color: white;
}

tr.fksd-table-row img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

table.fksd-tabela tr:first-of-type {
    background: white;
}

table.fksd-tabela tr, td {
    border: 8px solid #f4f4f4 !important;
}

tr.fksd-table-row {
    border-radius: 20px;
}

tr.fksd-table-row td {
    background: white !important;
}

table.fksd-tabela tr:first-of-type {
    background: transparent !important;
}

tr.fksd-table-row.fksd td {
    background: #283051 !important;
}

/* head to head */

.teams-infos img {
    width: 40px;
    height: 50px;
    object-fit: contain;
}

.single-game {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.single-inner {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 30px;
}

.teams-infos {
    display: flex;
    align-items: center;
    flex-basis: 70%;
    justify-content: flex-start;
    gap: 10px;
}

.fksd-last-games {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-title {
    flex-basis: 40%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
}

.team-title h5 {
    text-transform: uppercase;
    letter-spacing: .6px;
    font-size: 14px !important;
    line-height: 1;
    display: block;
    color: #1a2434;
    margin: 0 !important;
}

.fksd-skorasnji {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

.fksd-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.fksd-logos img {
    height: 50px;
}

.fksd-logos img:last-of-type,
.teams-infos img:last-of-type {
    margin-left: -15px;
}

.fksd-skorasnji h3 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.skorasnji-inner span {
    height: 25px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 14px;
    color: white;
}

.fksd-poraz {
    background: #ff1541;
}

.fksd-pobeda {
    background: #1AE000;
}

.fksd-nereseno {
    background: rgba(26, 36, 52, 0.45)
}

.skorasnji-column-left,
.skorasnji-column-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.skorasnji-column-left {
    border-right: 1px solid lightgrey;
    padding-right: 20px;
}

.skorasnji-column-right {
    padding-left: 20px;
}

.skorasnji-inner {
    display: flex;
}

.team-goals {
    display: flex;
    gap: 10px;
    align-items: center;
}

.team-goals p {
    height: 35px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1b203b;
    border-radius: 5px;
    font-size: 1.2rem;
    color: white;
    margin: 0 !important;
}

.team-goals p.loser {
    opacity: .6
}

.single-game small {
    color: lightgray;
}

.head-to-head-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hth-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding-bottom: 50px;
}

.hth-score div {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    background: #1b203b;
    width: 30%;
    border-radius: 5px;
    color: white;
    opacity: .5;
}

.hth-score div:first-child {
    opacity: 1;
}

.hth-score div h4 {
    font-size: 40px;
}

.sum-keepers-line,
.sum-goals-line {
    width: 100%;
    height: 3px;
    background: #d7d7d7;
    margin-bottom: 20px;
}

img.fksd-logo-z {
    z-index: 2;
}

body .game-logos img {
    position: relative;
}

.keeper-track {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.goal-track {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.fksd-line {
    height: 3px;
    background: #6ca6fa;
}

.goal-track p,
.keeper-track p {
    margin-bottom: 5px;
}

.table-score-team {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fksd-table-score {
    width: 100%;
    padding-top: 40px;
}

.fksd-table-score h3,
.fksd-table-score>p {
    text-align: center;
}

.table-score-team .single-game .game-logos img {
    margin: 0 !important;
}

.ivapix-igrac * {
    font-family: "Exo 2", sans-serif !important;
}

.ivapix-head-to-head * {
    font-family: "Exo 2", sans-serif !important;
}

.table-score-team .single-game .game-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-basis: 37%;
}

.table-score-team .single-game .game-logos p {
    font-weight: bold;
    margin: 0;
    width: 25%;
    flex-basis: 25%;
    text-align: center;
}

.fksd-last-games>h5 {
    text-align: center;
}

h5#countdown {
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h5#countdown span {
    color: #6ba4f7;
    font-size: 14px;
    text-transform: uppercase;
    margin-right: 15px;
    margin-left: 5px;
}

.ivapix-igraci-column.igraci-gosta .ivapix-igrac .izlazak,
.ivapix-igraci-column.igraci-gosta .ivapix-igrac .ulazak {
    left: 6px;
}

@media screen and (max-width: 900px) {
    h5#countdown {
        font-size: 20px;
    }

    h5#countdown span {
        font-size: 12px;
    }

    table.fksd-tabela th[title="Dati golovi"],
    table.fksd-tabela th[title="Primljeni golovi"],
    table.fksd-tabela th[title="Gol razlika"],
    table.fksd-tabela td:nth-child(7),
    table.fksd-tabela td:nth-child(8),
    table.fksd-tabela td:nth-child(9) {
        display: none;
    }

    table.fksd-tabela th,
    table.fksd-tabela td {
        padding: 5px;
    }

    .fksd-rezultat-utakmice h5 {
        height: 47px;
        width: 44px;
    }

    .ivapix-golovi-igraca {
        width: 100% !important;
        justify-content: center;
        margin-top: 20px;
    }

    .ivapix-column {
        width: 50%;
    }

    span.igrac,
    span.minute {
        text-align: right;
        font-weight: 600;
        font-size: 9px;
    }

    .ivapix-gol svg {
        width: 13px;
    }

    .fksd-rezultat-utakmice h5 {
        font-size: 18px;
    }

}