body {
    font-family: 'Source Sans Pro', sans-serif;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.125rem;
    font-weight: 600;
}

h3 {
    font-size: 0.875rem;
    font-weight: 600;
}

p {
    margin: 1.25rem 0;
}

strong {
    font-weight: bold;
}

li {
    list-style: disc;
    margin-left: 1.25rem;
}

main {
    display: flex;
    justify-content: flex-start;
    /* align-items: center; */
    flex-direction: column;
    margin: 3rem 0;
    font-size: 0.875rem;
    min-height: calc(100vh - 500px);
    /* width: 200vw; */
}

.container {
    width: 100%;
    grid-template-columns: 1fr;
    display: grid;
    justify-items: start;
}

main a {
    color: #0045db;
    text-decoration: underline;
}

main a:hover, main a:focus {
    background-color: #e1e1e1;
    cursor: pointer;
}

/*
.container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 1150px;
} */

/* .container {
    width: 200vw;
    grid-template-columns: 100vw 100vw;
    display: grid;
    justify-items: start;
    max-width: 200vw;
} */

footer {
    font-size: 0.875rem;
}

nav.competition-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    margin-top: 20px;
}

/* a.nav__link {
    margin: 0;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 5px 10px;
    height: unset;
} */

a.nav__link {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    border: unset;
    border-radius: unset;
}

a.nav__link:hover, a.nav__link:focus {
    box-shadow: inset 0 -4px 0 0 #6d6d72;
    color: #212129;
}

#competition-banner img {
    height: 40px;
}

/* div.scoreboard-main {
    display: flex;
    flex-flow: row nowrap;
} */

div.scoreboard-main {
    display: grid;
    align-items: stretch;
    grid-template-rows: 1fr 2rem 1fr;
    grid-template-columns: 2rem 1fr;
    width: 100%;
    column-gap: 10px;
    row-gap: 1em;
    margin-bottom: 1rem;
}

/* .scoreboard-main--meta {
    display: block;
    overflow: hidden;
    background: #ccc;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 1;
} */

.pie {
    --b:3px;
    --c:#0cc55d;
    --w:32px;
    
    width: var(--w);
    aspect-ratio: 1;
    position: relative;
    display: inline-grid;
    place-content: center;
    margin: 5px;
  }
  .pie:before {
    content: "";
    position: absolute;
    border-radius: 50%;
    inset: 0;
    background: conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
    -webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
            mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
  }

  .hidden {
    display: none;    
  }

.scoreboard-main--meta {
    display: flex;
    overflow: hidden;
    background: #f3f4f5;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 1;
    border-radius: 18px;
    width: 30px;
    height: 30px;
    align-content: center;
    justify-content: center;
    align-items: center;
    line-height: 1;
    color: #000;
    font-weight: 600;
    margin-bottom: 20px;
}

div.scoreboard-main {
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 1px 3px 0 rgb(45 50 56 / 15%), 0 0 0 1px rgb(45 50 56 / 5%);
    border-radius: 4px;
    background: #f3f4f5;
}

.verse-old {
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: #9d9d9d;
    margin: 2rem 0;
    font-family: 'Saira Semi Condensed', sans-serif;
    grid-row-start: 2;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
}

.verse {
    display: flex;
    justify-content: flex-start;
    font-weight: bold;
    color: #9d9d9d;
    margin: 20px 0;
    font-family: 'Saira Semi Condensed', sans-serif;
    grid-row-start: 2;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    flex-direction: column;
}

.scoreboard-home, .scoreboard-away {
    /* margin: 1rem;
    flex-basis: 50%;
    max-width: 50%; */
    background: #fff;
    padding: 1rem;
    grid-row-start: 2;
}

div.scoreboard-main {
    margin-bottom: 2rem;
}

.scoreboard-main table {
    width: 100%;
}

.scoreboard-main table tr td {
    padding: 5px 10px;
    border-bottom: 1px solid #d9d9d9;
    vertical-align: top;
}

.scoreboard-main table tr:last-child td {
    border-bottom: none;
}

.scoreboard-main table tr:nth-child(+n+8) {
    background: #f5f5f5;
}

.scoreboard-main table tr:nth-child(8) {
    border-top: 2px solid #ccc;
}

td.player-status--icon {
    padding: 5px;
    width: 16px;
}

td.player-status--icon .icon {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16z' fill='rgba(149,164,166,1)'/%3E%3C/svg%3E");
    background-size: contain;
}

.player-status--d td.player-status--icon .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-.997-4L6.76 11.757l1.414-1.414 2.829 2.829 5.656-5.657 1.415 1.414L11.003 16z' fill='rgba(47,204,113,1)'/%3E%3C/svg%3E");
}

.player-status--a td.player-status--icon .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM10.622 8.415a.4.4 0 0 0-.622.332v6.506a.4.4 0 0 0 .622.332l4.879-3.252a.4.4 0 0 0 0-.666l-4.88-3.252z' fill='rgba(15,197,93,1)'/%3E%3C/svg%3E");
}

.player-status--u td.player-status--icon .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm0-9.414l2.828-2.829 1.415 1.415L13.414 12l2.829 2.828-1.415 1.415L12 13.414l-2.828 2.829-1.415-1.415L10.586 12 7.757 9.172l1.415-1.415L12 10.586z' fill='rgba(149,164,166,1)'/%3E%3C/svg%3E");
}

.bbfl .player-status--m-bbfl td.player-status--icon .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M16.05 12.05L21 17l-4.95 4.95-1.414-1.414 2.536-2.537L4 18v-2h13.172l-2.536-2.536 1.414-1.414zm-8.1-10l1.414 1.414L6.828 6 20 6v2H6.828l2.536 2.536L7.95 11.95 3 7l4.95-4.95z' fill='rgba(230,142,34,1)'/%3E%3C/svg%3E");
}

.hfl .player-status--m-hfl td.player-status--icon .icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M16.05 12.05L21 17l-4.95 4.95-1.414-1.414 2.536-2.537L4 18v-2h13.172l-2.536-2.536 1.414-1.414zm-8.1-10l1.414 1.414L6.828 6 20 6v2H6.828l2.536 2.536L7.95 11.95 3 7l4.95-4.95z' fill='rgba(230,142,34,1)'/%3E%3C/svg%3E");
}

td.goals, td.behinds {
    width: 2.5rem;
    /* text-align: right; */
}

/* FOCUS option */

.focus tr.player-status--, .focus tr.player-status--d, .focus tr.player-status--u {
    display: none;
}

/* REMAINING option */

.remaining tr.player-status--d, .remaining tr.player-status--u {
    display: none;
}


.scoreboard-summary {
    display: grid;
    grid-template-columns: 7fr 3fr;
    font-family: 'Saira Semi Condensed', sans-serif;
}

.scoreboard-detail table {
    margin-top: 20px;
}

.scoreboard-summary--team-name {
    font-weight: 600;
    font-size: 1.25rem;
    flex-basis: 100%;
    min-width: 100%;
}

.scoreboard-summary--team-name {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.scoreboard-summary--coach {
    color: #666;
    line-height: 1;
}

/* .scoreboard-summary--coach {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
} */

span.team-submission {
    width: 25px;
    margin-left: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
}

span.team-submission--yes svg {
    fill: #2fcc71;
}

span.team-submission--no svg {
    fill: red;
}

.scoreboard-summary--icon {
    display: block;
    width: 40px;
    height: 40px;
    background: #ccc;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center center;
}

.scoreboard-summary--team-side {
    margin-left: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
}

.scoreboard-summary--score-side {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
}

.scoreboard-summary--total {
    min-width: 100%;
    flex-basis: 100%;
    font-weight: 600;
    font-size: 2.25rem;
    text-align: center;
    line-height: 1.25;
}

.scoreboard-summary--behinds, .scoreboard-summary--goals {
    font-size: 1.25rem;
    color: #838383;
}

.scoreboard-summary--goals::after {
    content: '.';
    margin: 0 5px;
}

/* GLOBAL  -------------------------------------------------------------- */

/* header {
    width: 200vw;
}

div.global-nav {
    width: 100vw;
}

div.global-banner {
    position: sticky;
    width: 100vw;
} */

div.global-banner {
    background: #222f3c;
}

div#user-profile {
    font-weight: 600;
    color: #fff;
    font-size: 0.875rem;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 10px 14px;
    border-radius: 4px;
}

div#user-profile:hover, div#user-profile:focus {
    background: #40bd95;
    cursor: pointer;
}

div#user-profile svg {
    height: 17px;
    margin-right: 10px;
    fill: #fff;
}

footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    border-top: 1px solid #ccc;
    padding: 3rem 0;
    min-height: 100px;
}

footer {
    background: #2b3237;
    color: #b3b3b3;
    padding: 40px;
}

div#footer {
    /* width: 1150px;
    max-width: 1150px; */
    width: 100%;
}

/* BASE STYLES ----------------------------------------------------- BASE */

div#competition-banner {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.sidebar div.sidebar-card {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* box-shadow: 0 1px 3px 0 rgb(45 50 56 / 15%), 0 0 0 1px rgb(45 50 56 / 5%); */
    margin-bottom: 15px;
}

/* ---------------------------------------------------------------------------------- ADJUST FOR MOBILE -- */

@media (max-width: 992px) {

    main {
        margin-top: 1rem;
    }

    .container {
        width: 100%;
        display: grid;
        justify-items: start;
        grid-template-columns: 1fr 300px;
        column-gap: 0;
    }

    .global-nav {
        background: #ccc;
        display: block;
        overflow: hidden;
        padding: 10px;
    }

    nav.competition-menu {
        margin-top: 0;
    }

    .dashboard-header {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: flex-start;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .dashboard-controls {
        margin: 10px 0;
    }

    div.scoreboard-main {
        display: grid;
        grid-template-rows: 1fr 50px 1fr;
        grid-template-columns: none;
        width: 100%;
    }

    div.scoreboard-home, div.scoreboard-away {
        width: 100%;
    }
    
    div#app, div.sidebar { 
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    div.scoreboard-home {
        grid-row-start: 1;
    }
    
    .verse {
        grid-row-start: 2;
        margin: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    .scoreboard-main--meta.pie {
        margin: 0 10px;
    }
    
    div.scoreboard-away {
        grid-row-start: 3;
    }

    .ui-text-option:first-child {
        margin-left: 0;
    }

}

@media (max-width: 576px) {

    .container {
        grid-template-columns: 1fr;
    }

    a.nav__link {
        font-family: 'Saira Semi Condensed', sans-serif;
        text-align: center;
    }

}

/* ----------------------------------------------------------------------------------------------- NON MOBILE STYLES ------ */


/* @media (min-width: 576px) { */

@media (min-width: 992px) {

    main {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        margin: 3rem 0;
        font-size: 0.875rem;
        min-height: calc(100vh - 500px);
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    header {
        width: 100%;
    }
    
    div.global-nav {
        width: 100%;
    }
    
    div.global-banner {
        position: unset;
        width: 100%;
    }
    
    .container {
        width: 100%;
        max-width: 1150px;
        display: grid;
        justify-items: start;
        grid-template-columns: 1fr 300px;
        column-gap: 2rem;
    }
    
    nav.competition-menu {
        all: unset;
    }
    
    a.nav__link {
        margin: 0 2rem 0 0;
        height: 60px;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        border: unset;
        border-radius: unset;
    }
    
    a.nav__link:hover, a.nav__link:focus {
        box-shadow: inset 0 -4px 0 0 #6d6d72;
        color: #212129;
        cursor: pointer;
    }
    
    .dashboard-header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }
    
    
    div.scoreboard-main {
        display: grid;
        align-items: stretch;
        grid-template-columns: 1fr 2rem 1fr;
        grid-template-rows: unset;
        width: 100%;
        column-gap: 10px;
        row-gap: 1em;
        margin-bottom: 2rem;
    }
    
    div.global-banner {
        background: #222f3c;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0 20px;
    }
    
    div.global-nav {
        background: #e1e1e1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        border-bottom: 1px solid #ccc;
        padding: 0 20px;
    }
    
    nav.nav {
        height: 60px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        max-width: 1150px;
        flex-basis: 1150px;
    }
    
    div#competition-banner {
        height: 70px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        max-width: 1150px;
        flex-basis: 1150px;
        justify-content: space-between;
        padding: 20px 0;
    }
    
    
    
    div#app {
        /* flex-grow: 1; */
        width: 100%;
    }
    
    div.sidebar {
        min-width: 100%;
        /* flex-basis: 300px; */
        /* background: #f5f5f5; 
        border: 1px solid #ccc;
        border-radius: 6px; */
    }

}

@media (min-width: 1200px) {

    main {
        padding: 0;
    }

    div.global-banner {
        padding: 0;
    }
    
    div.global-nav {
        padding: 0;
    }

}


/*

@media (min-width: 576px) {

    main {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        margin: 3rem 0;
        font-size: 0.875rem;
        min-height: calc(100vh - 500px);
        width: 100%;
        max-width: 100%;
    }
    
    header {
        width: 100%;
    }
    
    div.global-nav {
        width: 100%;
    }
    
    div.global-banner {
        position: unset;
        width: 100%;
    }

    .container {
        width: 100%;
        max-width: 1150px;
        display: grid;
        justify-items: start;
        grid-template-columns: 1fr 300px;
        column-gap: 2rem;
    }

    nav.competition-menu {
        all: unset;
    }

    a.nav__link {
        margin: 0 2rem 0 0;
        height: 60px;
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        border: unset;
        border-radius: unset;
    }
    
    a.nav__link:hover, a.nav__link:focus {
        box-shadow: inset 0 -4px 0 0 #6d6d72;
        color: #212129;
        cursor: pointer;
    }

    .dashboard-header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }

}

*/









/* 

@media (min-width: 768px) {

    div.scoreboard-main {
        display: grid;
        align-items: stretch;
        grid-template-columns: 1fr 2rem 1fr;
        grid-template-rows: unset;
        width: 100%;
        column-gap: 10px;
        row-gap: 1em;
        margin-bottom: 2rem;
    }

    div.global-banner {
        background: #222f3c;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
    }

    div.global-nav {
        background: #e1e1e1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        border-bottom: 1px solid #ccc;
    }

    nav.nav {
        height: 60px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        max-width: 1150px;
        flex-basis: 1150px;
    }

    div#competition-banner {
        height: 70px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        max-width: 1150px;
        flex-basis: 1150px;
        justify-content: space-between;
        padding: 20px 0;
    }



    div#app {
        width: 100%;
    }

    div.sidebar {
        min-width: 100%;
    }

}

*/


@media (min-width: 992px) {

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}

/* ----------------------------------------------------- COMMON UI --------- */

.green-button {
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    background: #0ec55d;
    color: #fff;
    font-weight: 600;
    font-family: 'Saira Semi Condensed', sans-serif;
    cursor: pointer;
    margin-left: 20px;
}

.green-button:hover {
    background: #069a47;
}

.clear-button {
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    /* background: #d2d2d2; */
    color: #a82247;
    font-weight: 600;
    font-family: 'Saira Semi Condensed', sans-serif;
    cursor: pointer;
    margin-left: 20px;
    border: 1px solid #a82247;
}

.clear-button:hover {
    background: #a82247;
    color: white;
}

/* DASHBOARD UI =----------------------------------- */

/* .dashboard-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
} */

.dashboard-header h1 {
    margin-bottom: 0;
}

.dashboard-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}

.dashboard-sub-header {
    width: 100%;
    color: rgb(145, 145, 145);
    margin-top: 5px;
}

.ui-text-option {
    display: block;
    margin-left: 10px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 10px;
    text-transform: uppercase;
}

.ui-text-option:hover, .ui-text-option:focus {
    border: 1px solid rgb(53, 53, 53);
    cursor: pointer;
}

.ui-text-option.active {
    font-weight: 600;
    border: 1px solid #000;
}

.ui-text-option.ui-icon-option {
    height: 24px;
    background-size: 60%;
    width: 27px;
    background-repeat: no-repeat;
    background-position: center center;
}

a.ui-text-option.ui-text-link {
    color: #000;
    text-decoration: none;
    margin-left: 0;
    margin-right: 10px;
    font-size: 1rem;
}

div#section-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
}


/* LOADER ---------- */

.loader {
    width: 100%;
    height: 4.8px;
    display: inline-block;
    position: relative;
    background: rgba(194, 194, 194, 0.15);
    overflow: hidden;
  }
  .loader::after {
    content: '';
    width: 192px;
    height: 4.8px;
    background: rgb(77, 77, 77);
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    animation: animloader 2s linear infinite;
  }
  
  @keyframes animloader {
    0% {
      left: 0;
      transform: translateX(-100%);
    }
    100% {
      left: 100%;
      transform: translateX(0%);
    }
  }
      

  /* --------- CLUB PAGES --------------------------------------- */

.team-flag {
    flex-basis: 20%;
    margin-right: 10px;
}

div#team-premierships {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
}

@media (max-width: 992px) {

    .team-flag {
        flex-basis: 30%;
        margin-right: 10px;
    }

}

/* ---------- STATS --------------------------------------- */

.stat-container {
    margin-top: 3rem;
}

/* ---------- NOTIFICATINONS ------------------------------ */

.notification-container {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.sidebar-notification-container {
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.sidebar-notification-container:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sidebar-notification-container h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

div#sidebar-notifications {
    background: #f3f4f5;
}

.sidebar-notifications-header {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 15px;
}

.notifications-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}

.notifications-controls a.ui-text-option {
    text-decoration: none;
    color: #000;
}

/* --------------------------------------------------------------------- MATCHES ------------ */

#matches .match-detail {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: flex-start;
    margin-bottom: 20px;
}

.match-detail table {
    width: 100%;
}

.match-detail .home {
    width: 100%;
    margin-bottom: 20px;
}

.match-detail .away {
    width: 100%;
}

td.player-row--goals {
    width: 2rem;
}

td.player-row--behinds {
    width: 4rem;
}

#matches .summary {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-end;
    font-weight: 600;
}

#matches .team-name {
    flex-grow: 1;
    padding: 10px 5px;
}

#matches .goals, #matches .behinds {
    width: 2rem;
    padding: 10px 5px;
}

#matches tr.player-row:nth-child(7) {
    border-bottom: 1px solid #ccc;
}

#matches tr.player-row:nth-child(n+8) {
    background: #f3f3f3;
}

#matches tr.player-row td {
    padding: 3px 5px;
    border-bottom: 1px solid #e1e1e1;
}

/* ---- CONTROLS ----*/

.matches-selector-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

#matches .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#matches .col {
    /* min-width: 33%; */
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

#matches .col:first-child {
    padding-right: 20px;
}

#matches label {
    font-weight: bold;
    margin-right: 20px;
}

select#year, select#round {
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-grow: 1;
    padding: 5px 30px 5px 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 5px top 50%;
}

select#round:hover, select#year:hover {
    border: 1px solid #000;
}

/* #matches-button {
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    background: #0ec55d;
    color: #fff;
    font-weight: 600;
    font-family: 'Saira Semi Condensed', sans-serif;
    cursor: pointer;
    margin-left: 20px;
}

#matches-button:hover {
    background: #069a47;
} */

h2.matches-displayed-round {
    margin-bottom: 20px;
}

/* DESKTOP */

@media (min-width: 992px) {

    #matches .match-detail {
        /* width: 80%; */
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-content: flex-start;
    }

    .match-detail table {
        width: 100%;
    }
    
    .match-detail .home {
        width: 50%;
        margin-right: 10px;
        margin-bottom: 0;
    }

    .match-detail .away {
        width: 50%;
        margin-left: 10px;
    }

    /* ---- CONTROLS ---- */

    .matches-selector-controls{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        /* width: 80%; */
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ccc;
    }

}


/* --------------------------------------------------------------------- PLAYERS ------------ */

.hfl div#section-nav.hfl-hidden {
    display: none;
}

/* ---- CONTROLS ----*/

.players-selector-controls {
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

#players .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

#players .row:last-child {

    margin-bottom: 0;

}

#players .col {
    /* min-width: 33%; */
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

#players .col.reverse {
    justify-content: flex-end;
}

#players .col:first-child {
    padding-right: 20px;
}

.field-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-right: 20px;
}

.field-container:last-child {
    margin-right: 0;
}

#players label {
    font-weight: bold;
    margin-right: 20px;
}

#players select {
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-grow: 1;
    padding: 5px 30px 5px 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 13.172l4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 5px top 50%;
}

#players select:hover {
    border: 1px solid #000;
}

#players input[type="checkbox"] {
    border: 1px solid #ccc;
    height: 20px;
    width: 20px;
    border-radius: 4px;
    margin-right: 10px;
}

#players input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z'/%3E%3C/svg%3E");
    background-size: contain;
    border: 1px solid #000;
}


/* #player-button {
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    background: #0ec55d;
    color: #fff;
    font-weight: 600;
    font-family: 'Saira Semi Condensed', sans-serif;
    cursor: pointer;
    margin-left: 20px;
}

#player-button:hover {
    background: #069a47;
} */


/* DESKTOP */

@media (min-width: 992px) {

    /* ---- CONTROLS ---- */

    .players-selector-controls {
        width: 100%;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ccc;
    }

}

/* ------- PLAYER DB ----- */

#player-results--table {
    width: 100%;
}

#player-results--table td {
    padding: 5px;
}
#player-results--table tr {
    border-bottom: 1px solid #ccc;
}

#players table {
    width: 100%;
}

#players table td {
    padding: 5px;
}
#players table tr {
    border-bottom: 1px solid #ccc;
}

.player-query-summary--row {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 5px;
}

.player-result-summary h3 {
    margin-bottom: 10px;
}

.player-query-summary .stat {
    margin-right: 20px;
}

.player-result-summary {
    padding: 10px 5px;
    border-bottom: 1px solid #000;
}

/* TERMINAL MODE */

div#player-query-stack {
    background: #373737;
    color: #7ae940;
    font-family: 'share tech mono';
    padding: 20px;
    height: 600px;
    overflow: scroll;
    text-transform: uppercase;
    overflow-x: hidden;
    border-radius: 4px;
}

.query-result-container {
    margin-bottom: 40px;
    display: block;
    overflow: hidden;
}

#player-query-stack table th {
    padding: 5px;
    background: #4b6b39;
    /* color: #373737; */
    border-bottom: 2px solid #79e940;
}

#player-query-stack table tr {
    border-bottom: 1px solid #445a3a;
}

#player-query-stack table tr:hover {
    background: #79e940;
    color: #373737;
}

#player-query-stack table.hide-detail {
    display: none;
}

.player-result-summary {
    border-bottom: 2px solid #79e940;
    border-top: 2px solid #79e940;
}

.player-query-show-details {
    padding: 5px;
    margin-top: 10px;
    background: #4b6b39;
    border: 2px solid #79e940;
    cursor: pointer;
}

.player-query-show-details:hover, .player-query-show-details.active {
    background: #79e940;
    border: 2px solid #79e940;
    color: #373737;
}

    /* width */
    #player-query-stack::-webkit-scrollbar {
        width: 10px;
      }
      
      /* Track */
      #player-query-stack::-webkit-scrollbar-track {
        background: #4b6b3a;
      }
      
      /* Handle */
      #player-query-stack::-webkit-scrollbar-thumb {
        background: #79e940;
      }
      
      /* Handle on hover */
      #player-query-stack::-webkit-scrollbar-thumb:hover {
        background: #79e940;
      }

      /* .hfl .nav__link.results {
          display: none;
      } */


      /* --------------------------------------------------------------------- TEAMS TABLES ------------ */

      .team-summary table {
        border-collapse: collapse;
        margin: 25px 0;
        font-size: 0.9em;
        min-width: 400px;
        border-radius: 5px 5px 0 0;
        overflow: hidden;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        width: 100%;
      }
      
      .team-summary table thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
        font-weight: bold;
      }
      
      .team-summary table th,
      .team-summary table td {
        padding: 12px 15px;
      }
      
      .team-summary table tbody tr {
        border-bottom: 1px solid #dddddd;
      }
      
      .team-summary table tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
      }
      
      .team-summary table tbody tr:last-of-type {
        border-bottom: 2px solid #009879;
      }
      
      .team-summary table tbody tr.active-row {
        font-weight: bold;
        color: #009879;
      }
      
      
      .team-summary table td p:first-child {
          margin: 0;
      }