@charset "UTF-8";

.mplogo {
    display: flex;
    font-size: 0.8em;
    font-style: italic;
    align-items: center;
    gap: 5px;
}

    .mplogo img {
        width: 150px;
    }

.menu-form {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    gap: 50px;
    position: sticky;
    top: 120px;
    background-color: white;
}

    .menu-form span {
        font-weight: bold;
    }

    .menu-form select {
        border-radius: 8px
    }

.sticky {
    border-bottom: 1px solid rgba(54, 56, 61, 0.15);
}

.date-input {
    width: unset;
}

.sport-filter span::before {
    Content: 'Change Sport:'
}

.date-filter span::before {
    Content: 'Select Date:'
}

.class-filter {
    display: flex;
    flex-grow: 1;
    gap: 7px;
}

    .class-filter button {
        border: 1px solid rgba(54, 56, 61, 0.15);;
        color: #494949;
        flex-grow: 1;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
        padding: 4px 8px;
        background-color: rgba(54,56,61,0.05);
        text-align: center;
        text-decoration: none;
    }

        .class-filter button.activated {
            color: white;
            background-color: #183349;
        }

        .class-filter button:hover {
            color: white;
            background-color: #1b7ea6;
        }

.scores-wrapper {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    background-color: rgba(54, 56, 61, 0.05);
    border-radius: 8px;
    padding: 20px;
}

.boxscore {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 15px 15px 20px;
    border: 1px solid rgba(54, 56, 61, 0.15);
    background: white;
    border-radius: 8px;
    gap: 15px;
}

    .boxscore a {
        text-decoration: none;
    }

    .boxscore:last-child {
        border-bottom: none;
    }

.top,
.bottom {
    display: flex;
    justify-content: space-between;
}

.top {
    margin-bottom: 5px;
}

.bottom {
    margin-top: 5px;
}

.type,
.details,
.division {
    color: rgba(54, 56, 61, 0.4);
    font-size: 0.9em;
}

.time {
    color: #161616;
    background-color: rgba(54, 56, 61, 0.05);
    padding: 5px;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.9em;
}

.score {
    font-weight: bold;
    margin-left: auto;
}

.team-info {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 1.1em;
}

.link a {
    border: 1px solid #1b7ea6;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.9em;
}

    .link a:hover {
        color: white;
        background-color: #1b7ea6;
    }

article .team a {
    color: #183345
}

    article .team a:hover,
    article .score a:hover,
    article .team-info.L .team a:hover {
        color: #1b7ea6
    }


article .score a {
    color: #161616;
}

.team-info.L .team a,
.team-info.L .score a {
    color: rgba(54, 56, 61, 0.55)
}

.team-info.L .

.team-info.W .team {
    font-weight: bold;
}

@media (max-width: 1200px) {

    .sport-filter span::before {
        Content: 'Sport:'
    }

    .date-filter span::before {
        Content: 'Date:'
    }
}

@media (max-width: 1015px) {

    .scores-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .sport-filter span,
    .date-filter span {
        display: none;
    }

        .sport-filter span::before,
        .date-filter span::before {
            Content: ''
        }
}

@media (max-width: 844px) {

    .menu-form {
        gap: 10px;
    }

    .scores-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .class-filter {
        gap: 5px;
    }
}

@media (max-width: 755px) {
    .menu-form,
    .class-filter {
        flex-wrap: wrap;
    }

    .menu-form {
        position: unset;
    }

    .sticky {
        border-bottom: none;
    }

    .sport-filter,
    .date-filter {
        flex-grow: 1;
    }

    .sport-filter select,
    .date-filter input {
        width: 100%!important;
    }

    .class-filter {
        order: 2;
    }

    .scores-wrapper {
        background-color: white;
        padding: 0;
    }

    .boxscore {
        border-top: none;
        border-left: none;
        border-right: none;
        border-radius: unset;
        padding: 0 0 20px;
    }

}