@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

*, ::before, ::after {
    box-sizing: border-box;
    line-height: 1.5rem;
    margin: 0;
    padding: 0;
}

body {
    --primary-color: #007078;
    --primary-text-color: white;
    background: #DADFE1;
    font-family: "Lato", sans-serif;
    margin-bottom: 2rem;
}

button {
    background-color: var(--primary-color);
    border: none;
    color: var(--primary-text-color) !important;
    cursor: pointer;
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem;
    text-decoration: none;
}

.aru-header {
    align-items: center;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.aru-header div {
    padding: 1rem 1.5rem;
}

.aru-header p {
    color: var(--primary-text-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.aru-header h1 {
    color: var(--primary-text-color);
    font-size: 1.4em;
    margin: 0 0 0.5rem;
}

.aru-header h2 {
    color: var(--primary-text-color);
    font-size: 1em;
    font-weight: 700;
    margin: 0;
}

.aru-header.compact h1 {
    margin-bottom: 0;
}

main {
    width: 100%;
}

section {
    background: white;
    margin: 1.5rem auto 0 auto;
    max-width: 1200px;
    padding: 1em;
    text-align: center;
    width: 100%;
}

section p {
    margin-top: 1em;
}

section h1 {
    color: black;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

section h2 {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
}

section h3 {
    margin-top: 0.5rem;
}

section a button {
    background: var(--primary-color);
    border: 0;
    color: white;
    display: inline-block;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
}

.aru-tabs-section {
    padding: 0;
}

.aru-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    text-align: left;
}

.aru-tabs a {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    background: #333;
    color: #fff;
    display: inline-block;
    flex: 1 0 auto;
    font-weight: 700;
    min-width: 150px;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
}

.aru-tabs a:hover,
.aru-tabs a.is-active {
    background: var(--primary-color);
    color: var(--primary-text-color);
}

.aru-location {
    display: none;
}

.aru-location.is-active {
    display: block;
}

.aru-location-heading {
    margin-bottom: 1rem;
}

.aru-location-heading p {
    color: #666;
}

table {
    border-collapse: collapse;
    font-size: 0.9rem;
    width: 100%;
}

tr {
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

tr.highlighted {
    background: #666;
    color: white;
}

th,
td {
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    padding: 0.5rem;
    text-align: left;
    vertical-align: top;
}

th {
    background: #333;
    color: #fff;
}

td:nth-child(2) {
    white-space: nowrap;
    width: 80px;
}

td.live {
    background: #cc0000;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

td.live:hover {
    background: red;
}

td.live a {
    color: white;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

td.complete {
    color: grey;
    font-weight: bold;
    text-align: center;
}

td.watch {
    background: dodgerblue;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}

td.watch:hover {
    background: deepskyblue;
}

td.watch a {
    color: white;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.stream {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 1rem;
    width: 100%;
}

.video-container {
    border-radius: 0.5rem;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.video-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

footer {
    color: #666;
    margin: 1rem auto 0;
    max-width: 1200px;
    padding: 0 1rem;
    text-align: center;
}

@media screen and (max-width: 820px) {
    .aru-header {
        display: block;
    }

    .aru-tabs a {
        min-width: 135px;
    }

    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
    }

    tr {
        border-right: 0;
        margin-top: 0.75rem;
    }

    tr.highlighted {
        margin-top: 1rem;
    }

    tr.highlighted td {
        border-right: 1px solid #ccc;
    }

    td:nth-child(2) {
        width: 100%;
    }

    td::before {
        color: #666;
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    tr.highlighted td::before,
    td.live::before,
    td.watch::before,
    td.complete::before {
        display: none;
    }
}
