﻿
#yearChangeContainer
{
    font-size: 25px;
}

#YearDropDown {
    width: 110px;
    font-size: 23px;
    height: 40px;
    margin-top: 10px;
}

figure {
    margin: 0;
}

#footballTeamImageImagesContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footballTeamImageTeamContainer {
    width: Calc(100% / 3 - 20px);
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.footballTeamImageTeamContainer img {
    vertical-align: top;
    /* Part below needed if portrait images should be cut above and below. Without this the image is only cut below*/
    object-fit: cover;
    width: 100%;
    max-height: 100%;
    /*        aspect-ratio: 4/3;*/
}


.footballTeamImageTeamName {
    margin: 10px 0 10px 0;
    font-size: 22px;
}

.footballTeamImageTeamContent
{
    font-size: 16px;
}

.footballTeamImageTeamContent p {
    padding: 0 0 15px 0;
}


.footballTeamImageTeamContainer a,
.footballTeamImageTeamContainer a:visited,
.footballTeamImageTeamContainer a:hover {
    text-decoration: none;
    color: #333;
}

#footballTeamImageYearNavigationContainer
{
    margin-top: 50px;
}

#footballTeamImageYearNavigationContainer a {
    text-decoration: none;
    color: #fff;
}

.footballTeamImageYearNavigationItem.button {
    padding: 0;
}

.footballTeamImageYearNavigationItem.button a {
    padding: 12px 15px 12px 15px;
    display: block;
}

.footballTeamImageYearNavigationItem.button.current {
    background-color: #0A8137;
}

@media screen and (max-width: 1279.9px) {
    .footballTeamImageTeamContainer {
        width: Calc(100% / 3 - (30px / 3 * 2));
    }
}

@media screen and (max-width: 1023.9px) {

    #footballTeamImageImagesContainer {
        gap: 20px;
    }

    .footballTeamImageTeamContainer {
        width: Calc(100% / 2 - 10px);
    }
}


@media screen and (max-width: 580px) {

    #yearChangeContainer {
        font-size: 20px;
    }

    #YearDropDown {
        width: 100px;
        font-size: 19px;
        height: 35px;
    }

    #footballTeamImageImagesContainer {
        gap: 0;
        display: block;
    }

    .footballTeamImageTeamContainer {
        width: 100%;
        margin-bottom: 30px;
    }
}
