/*
 * BANNNER
 */
#banner {
    background-color: black;
    height: 300px;
}
#banner > div {
    background: radial-gradient(circle, transparent 40%, black 75%), center / cover no-repeat url("/static/bds/banner.jpg");
    height: 100%;
    max-width: 1500px;
    margin: auto;
}
/*
 * CONTAINER
 */
* {
    --container-width: 1250px;
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
}
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
}

/*
 * NAVIGATION
 */
div.navigation {
    text-align: center;
}
div.navigation h1 {
    font-size: 2.5em;
    margin-bottom: 1rem;
    margin-top: 0.75rem;
}
div.navigation a.back {
    color: #777777;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

/*
 * SPORT
 */
a.sport {
    color: inherit;
    display: block;
    max-width: 1000px;
    margin: 0 auto 2rem 0;
    text-decoration: none;
    transition: background-color ease 300ms;
}
a.sport:hover {
    background-color: rgba(236, 229, 12, 0.02);
    border-color: #efe40c;
}
.sport:nth-child(2n+1) {
    max-width: 1000px;
    margin: 0 0 2rem auto;
}
.sport .infos h3 {
    font-size: 1.5em;
    margin: 0 0 0.5rem;
}
.sport .infos p {
    margin: 0;
}

/*
 * TEAM
 */
.team .photo {
    width: 350px;
}
.team .photo img {
    border-radius: 15px;
    max-height: 300px;
    max-width: 100%;
    padding: 0 20px;
}

/*
 * RIBBON
 */
div.ribbon {
    background-color: #efe40c;
    color: #444444;
    padding: 3px 15px;
}
div.ribbon p {
    font-family: "Muli", sans-serif;
    margin: 2px auto;
    max-width: var(--container-width);
}
div.ribbon span {
    font-weight: 500;
}

div.ribbon a {
    bottom: 1px;
    color: black;
    font-size: 0.9em;
    position: relative;
}
@media (max-width: 600px) {
    div.ribbon {
        display: none;
    }
}

/*
 * TIMETABLE
 */
table.timetable {
    border-collapse: collapse;
}
table.timetable thead th {
    background-color: #efe40c;
    padding: 3px 5px;
}
table.timetable tbody th {
    background-color: #eeeeee;
    padding: 3px 5px;
}
table.timetable tbody td {
    width: calc(100% / 8);
    padding: 7px 2px;
    text-align: center;
}
table.timetable tbody td p {
    margin: 0;
}

/*
 * MATCH RESULT
 */
div.match-result {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    margin: 0 auto;
    padding: 10px;
    width: 275px;
}
div.match-result span {
    display: block;
}
div.match-result span.team_name {
    font-family: Oswald, sans-serif;
    font-size: 1.35em;
    letter-spacing: 0.075rem;
    margin-bottom: 0;
    text-align: left;
    text-transform: uppercase;
}
div.match-result span.sport_name {
    font-family: Oswald, sans-serif;
    font-size: 1em;
    letter-spacing: 0.075rem;
    margin-bottom: 0;
    text-align: left;
    text-transform: uppercase;
}
div.match-result span.date {
    color: #878787;
    display: block;
    font-size: 0.95em;
    text-align: right;
}
div.match-result span.year {
    color: #878787;
    display: block;
    font-size: 1.05em;
    text-align: right;
}
div.match-result .score {
    margin-top: 10px;
    width: 100%;
}
div.match-result .score > div {
    border-radius: 10px;
    flex: 1;
    padding: 2px 3px 5px 3px;
    text-align: center;
}
div.match-result .score > div.winner {
    background-color: #efe40c;
}
div.match-result .score > div span {
    display: block;
}
div.match-result .score > div span.score {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 3em;
}
div.match-result .score > div span.team {
    font-size: 1em;
}
a.match-result {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    color: #888888;
    display: block;
    font-size: 1.5em;
    font-weight: 600;
    height: 100%;
    margin: 0 auto;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color ease 300ms;
    width: 250px;
}
a.match-result:hover {
    color: #555555;
}

/*
 * MATCH NOTICE
 */
div.match-notice {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    margin: 0 auto;
    padding: 10px;
    width: 250px;
}
div.match-notice > span,
div.match-notice > a {
    display: block;
}
div.match-notice span.sport_name {
    color: #888888;
    font-family: Raleway, sans-serif;
    font-size: 0.8em;
    letter-spacing: 0.1rem;
    margin-bottom: 2px;
    text-align: center;
    text-transform: uppercase;
}
div.match-notice span.team {
    font-family: Oswald, sans-serif;
    font-size: 1.5em;
    letter-spacing: 0.075rem;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
}
div.match-notice span.opponent::before {
    color: #efe40c;
    content: "vs";
    font-family: Raleway, sans-serif;
    font-weight: 600;
    margin-right: 4px;
}
div.match-notice span.opponent {
    text-align: center;
}
div.match-notice > dl {
    font-size: 0.9em;
    margin-top: 7px;
}
div.match-notice > dl > * {
    display: inline-block;
}
div.match-notice > dl dt {
    margin: 0 0 4px 0;
    text-align: center;
    width: 25px;
}
div.match-notice > dl dd {
    margin: 0 0 4px 0;
    text-transform: uppercase;
    width: calc(100% - 30px);
}
div.match-notice > dl dd a {
    color: #444444;
}

@media (max-width: 1000px) {
    .map-mobile {
        display: block;
    }
    .map-desktop {
        display: none;
    }
}
@media (min-width: 1000px) {
    .map-mobile {
        display: none;
    }
    .map-desktop {
        display: block;
    }
}

/*
 * PLANNING
 */
#planning .content {
    padding: 0 0 0 25px;
}
#planning .content > div {
    border-left: 4px solid #4f4f4f;
    padding: 1px 0;
}
#planning .content > div > .item {
    margin-top: 3rem;
    position: relative;
    padding: 0 25px 0 25px;
}
#planning .content > div > .item > i.marker {
    --size: 20px;
    border: 4px solid #4f4f4f;
    border-radius: 50%;
    display: block;
    height: var(--size);
    position: absolute;
    left: calc(-2px - var(--size)/2);
    top: calc(50% - var(--size)/2);
    width: var(--size);
    background-color: #efe40c;
}
#planning .content > div > .item h3 {
    font-size: 1.5em;
    margin: 0;
}
#planning .content > div > .item h4 {
    color: #777777;
    margin: 0.25rem 0 0 0;
}
#planning .content > div > .item p {
    font-size: 0.9em;
    margin-top: 0.5rem;
}
@media (max-width: 600px) {
    #planning .content {
        padding: 0 0 0 10px;
    }
    #planning .content > div > .item {
        padding: 0 0 0 15px;
    }
    #planning .content > div > .item > i.marker {
        top: 5px;
    }
    #planning .content > div > .item .label {
        display: none;
    }
}

/*
 * MEMBERS
 */
#members {
    margin-top: 25px;
    --item-width: 275px;
}
#members .item {
    text-align: center;
    margin-bottom: 15px;
}
#members .item img {
    margin: auto;
    max-width: 100%;
    width: 250px;
}
#members .item h4 {
    font-size: 1.25em;
    margin: 5px 0 5px;
}
#members .item h5 {
    font-size: 1em;
    margin: 0;
}
@media (max-width: 600px) {
    #members {
        --item-width: 225px;
    }
    #members .item img {
        width: 200px;
    }
}

/*
 * HISTORY
 */
.bds-entity {
    border-radius: 10px;
    color: unset;
    display: block;
    max-width: 450px;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
}
.bds-entity:hover {
    background-color: #f5f5f5;
    color: unset;
}
.bds-entity .logo {
    max-width: 350px;
    margin: auto;
}
.bds-entity h2 {
    font-size: 2em;
    margin: 5px 0 7px 0;
    text-transform: uppercase;
}
.bds-entity h3 {
    color: #828282;
    margin: 0;
}