@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');


body{
    font-size: calc(15px + 0.390625vw);
    margin: 0;
    font-family: 'Roboto', sans-serif;
}
h1{
   font-size: 1.9rem;
    padding: 20px 0;
}
h2{
    font-size: 1.5rem;
    padding-top: 10px;
}

#footer{
    display: grid;
    grid-template-columns: none;
    grid-column-gap: 5rem;
    padding: 0 1rem;
    color: lightgray;
    background-color: black;
}
#subfooter {
    text-align: center;
    border-top: solid 1px lightgray;
    background-color: black;
    color: lightgray;
    padding: 1rem 1rem;
}

#footer a, #footer a:visited, #subfooter a, #subfooter a:visited{
    text-decoration: none;
    color: lightgray;
}
#footer a:hover, #subfooter a:hover{
    text-decoration: underline;
}

#footer h3 {
   color:white;
}

#index #locations{
    display: flex;
    flex-direction: column;
}
#index #locations .locgrp{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/*#index #locations a, #index #locations a:visited {*/
/*    display: block;*/
/*    aspect-ratio: 1;*/
/*    width: 25vw;*/
/*    padding: 3vw;*/
/*    margin: 1vw;*/
/*    text-decoration: none;*/
/*    text-align: center;*/
/*    color: black;*/
/*    border: solid 1px black;*/
/*    font-size: 1.3rem;*/
/*}*/
#index #locations a, #index #locations a:visited {
    display: block;
    background-position: center;
    background-size: contain;
    border-radius: 2rem;
    width: 40rem;
    height: 20rem;
    margin: 1rem;
    text-decoration: none;
    text-align: center;
    color: black;
    border: solid 1px black;
    font-size: 2.6rem;
}
#index #locations a div{
    background: black;
    color: white;
    margin-top: 8.7rem;
    padding: 0.2rem;
}

#index #locations a:hover div {
    background: white;
    color: black;
}

#location {
    display: flex;
    flex-direction: column;
}

#infobar {
    display: flex;
    flex-flow: column;
    padding: 2rem;
}
#infobar h1 {
    text-align: center;
}

#legend{
    padding: 1rem;
    height: fit-content;;
}

#legend ul {
    list-style: none;
    padding: 0;
}

#legend li {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin: 1rem 0;
    align-items: center;
}

#titlebar {
    padding: 5px;

}
#titlebar h1, #titlebar h2{
    margin:0;
    width: 100%;
    height: 100%;
}
#titlebar img{
    max-width: 50%;
}

#schedule{
}

.contentline {
    display: grid;
    grid-template-columns: 2fr 3fr;

}
.contentline.weekend .calendar {
    color: red;
}

.contentline .location {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    border-bottom: solid 1px black;
    border-left: solid 1px black;
}

.contentline .location span, .contentline .calendar span {
    padding: 10px 2px;
}

.contentline:not(.curcalweek) {
    filter: brightness(85%);
}

.contentline .calendar {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    background-color: azure;
    padding-left: 0.5rem;
}

.contentline .calendar .day {
    text-align: right;
    padding-right: 0.5rem;
}

#internal{
    display: flex;
    flex-direction: column;
}
#internal #schedule{
    display: flex;
}
#internal #locations h2{
    width: 40rem;
}
#internal #contentarea{
    display: flex;
    flex-direction: row;
}
#internal .contentcol{
    display: flex;
    flex-direction: column;
    width: 10rem;
}

#internal .location{
    display: flex;
    flex-direction: column;
}
@media screen and (min-width: 992px) {

    #footer{
        grid-template-columns: 2fr 3fr 2fr;
        grid-column-gap: 5rem;
        padding: 0 5rem;
    }
    #subfooter {
        padding: 1rem 5rem;
    }
    #index #locations{
        padding: 1rem 5rem;
    }
    #location{
        padding: 1rem 5rem;
    }


    #schedule{
        max-width: 900px;
    }
    #titlebar img{
        max-width: 350px;
    }


    #legend{
        width: 20rem;
        border: solid 2px;
        margin: 20rem 0;
        padding: 1rem;
        height: fit-content;;
    }

    #legend ul {
        list-style: none;
        padding: 0;
    }

    #legend li {
        display: grid;
        grid-template-columns: 1fr 3fr;
        margin: 1rem 0;
        align-items: center;
    }
}

@media print{
    :root{
        font-size: 20pt;
        width: 5000pt;
    }
    body{
        overflow-x: visible;
    }

}