figure {
    margin: 0;
}
figure img {
    width: 95%;
}

.game-header {
    height: 100%;
    display: flex;
    align-items: center;
}

.game-header .details {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    color: white;
    text-shadow: 1px 1px 1px black;
    font-weight: 300;
    font-size: 1.3rem;

    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.details > * {
    margin: .3rem 1rem;
    display: flex;
    align-items: center;
}

.details > * img {
    width: 1.3rem;
}

.game-header .container .row .col {
    padding: 0;
}

.game-header .club-name {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px black;
}

.separator {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.separator > * {

}

.separator #finished {
    font-weight: 300;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 1px black;
    margin: 10px 0;
}

.separator #score {
    font-weight: 600;
    font-size: 2.7rem;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px black;
    vertical-align: middle;
}

.separator #penalties {
    color: white;
    text-shadow: 1px 1px 3px black;
    font-weight: 600;
}

.game-header .container .row {
    display: flex;
    align-items: center;

}

.parallax {
    background-color: black;
}

.parallax-container .parallax img {
    opacity: 0.7;
}

#countdown > span {
    font-size: 2rem;
    font-weight: 200;
    color: white;
    padding: 5px 0;
    width: 100%;
    background-color: #2f60ff;
}

#countdown table {
    color: #ffffff;
    border: none;
    background-color: rgba(1,1,1,0.3);
    border-radius: 3px;
}

#countdown table td {
    padding: 0 .5rem;
    text-align: center;
}

#countdown table .time td {
    text-align: center;
    font-weight: 600;
    font-size: 1.0rem;
}

#countdown table .description {
    font-weight: 200;
    font-size: 0.9rem;
    text-align: center;
    vertical-align: top;
}

.goal-overview {

    border-bottom: 1px solid #7b7b7b;
}

.goal-overview > a {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.goal-overview > a:hover {
    background-color: rgba(1,1,1,0.1);
}

.goal-overview:nth-child(1) {
    border-top: 1px solid #7b7b7b;
}

.goal-overview .player-name {
    font-size: 1.15rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.goal-overview > a > * {
    margin: 5px 10px;
    color: black;
}

.goal-overview figure {
    width: 50px;
}

.goal-overview figure img {
    border-radius: 2px;
}

.ref-overview {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
}

.ref-overview .ref-info .ref-name {
    font-size: 1.2rem;
    width: 100%;
}

.ref-overview .ref-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 .5rem;
    color: #3a3a3a;
}

.ref-overview .ref-info .ref-type {
    font-size: 0.7rem;
    width: 100%;
}

.ref-overview figure img {
    width: 50px;
    border-radius: 3px;
}

.live-score-animation {
    animation: live-score-animation-frames 2s linear infinite;
    border-radius: 10px;
    padding: .1rem .5rem;
}

@keyframes live-score-animation-frames {
    0% {
        border: 2px solid white;
        background-color: rgba(1,1,1,0.10);
    }

    50% {
        border: 2px solid red;
        background-color: rgba(1,1,1,0.25);
    }

    100% {
        border: 2px solid white;
        background-color: rgba(1,1,1,0.10);
    }
}

.add-goal-btn {
    margin: 1rem 0 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.mvp-list > li > a > img {
    width: 50px;
    margin: 0 10px 0 0;
    border-radius: 3px;
}

.mvp-selected {
    background-color: rgb(168, 255, 165);
}

#man_of_the_match {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#man_of_the_match > span {
    margin-bottom: 5px;
    color: white;
    text-shadow: 1px 1px 1px #000000, 0 0 2px rgba(0, 0, 0, 0.88);
}

.past-game-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid black;
}

.past-game-item:hover {
    background-color: #eaeaea;
    cursor: pointer;
}

.past-game-item span {
    color: black;
    font-size: 18px;
    padding-top: 2px;
}

.past-game-item:nth-child(1) {
    border-top: 1px solid black;
}

.past-game-item img {
    width: 30px;
    height: auto;
    margin: 0 7px 0 7px;
}

.performance-labels a {
    color: white;
    padding: 2px 8px;
    text-align: center;
    font-weight: bold;
    background-color: black;
    margin: 0 2px;
}
