:root {
    --blue: #64b5e5;
    --dark-grey: #25303b;
    --white: white;

    --dark-blue: #1972D2;
    --red: #C52625;
    --orange: #f39224;
    --green: #007d44;
}

@media (prefers-color-scheme: light) {
    :root {
        --dark-grey: #f0f0f0;
        --white: #25303b;
    }
}

html,
body {
    margin: 0px;
    padding: 0px;
    background-color: var(--dark-grey);
    font-family: 'GrandParis', 'IDFVoyageurs', 'Parisine', sans-serif;
}

div#home,
div#loading {
    font-size: 1.15em !important;
}

div#title-bar {
    width: 100%;
    height: 6vh;
    background-color: var(--blue);
    text-align: right;
    padding: 1vh;
    box-sizing: border-box;
    font-size: 2.5vh;
    line-height: 4vh;
    font-weight: bold;
    color: var(--dark-grey);
    user-select: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

div#button-home {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 1.5vh;
    height: 3vh;
    font-size: 2vh;
    line-height: 3vh;
    cursor: pointer;
    display: none;
    background-color: var(--blue);
    color: var(--dark-grey)
}

div#lines-grid {
    margin: 2vh 0px;
    user-select: none;
}

div.screen {
    color: var(--white);
    width: 100vw;
    height: 94vh;
    overflow-y: scroll;
    padding: 2vh 2vw;
    box-sizing: border-box;
    text-align: center;
    font-size: 0em;
}

button {
    border: .2vh solid var(--white);
    margin: 2vh 0px;
    padding: 1vh 1vw;
    background-color: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    box-sizing: border-box;
    color: var(--white);
    border-radius: 1vh;
}

div.bus-search-res {
    width: calc(100% - 2vh);
    border: .2vh solid var(--white);
    border-radius: 1vh;
    margin: 1vh 1vw;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    user-select: none;
}

a {
    text-decoration: none;
    color: var(--white)
}

input.text-input {
    width: calc(100% - 2vw);
    font-size: 1.25rem;
    background-color: transparent;
    border: 0px;
    border-bottom: .2vh solid var(--white);
    color: var(--white);
    text-align: center;
    margin: 0px 1vw;
    padding: 0px;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

.clickable {
    cursor: pointer;
}

div.line-list-item {
    border: .2vh solid var(--white);
    border-radius: 1vh;
    margin: 1vh 1vw;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    user-select: none;
}

div.stops-list-item,
a.stops-list-item {
    margin: 1vh 1vw;
    padding: .8vh calc(1vw - .2vh);
    border-radius: 1vh;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    border: .2vh solid var(--white);
    display: block;
    text-decoration: none;
    color: var(--white);
}

div.stops-list-title {
    font-weight: bold;
    font-size: 1.25rem;
    display: inline;
}

div.stops-list-city {
    font-style: italic;
    display: inline;
    margin-left: 1vh;
}

div.stops-list-subtitle {
    margin-top: .5vh;
}

div.stops-list-footer {
    margin-top: .5vh;
    margin-bottom: .5vh;
    font-style: italic;
}

div.li {
    border: .2vh solid var(--white);
    border-radius: 1vh;
    height: 6vh;
    width: 6vh;
    padding: .5vh;
    margin: 1vh;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

div.li-label:hover,
div.li:hover {
    cursor: pointer;
}

div.li-label {
    width: 18vh;
    height: 6vh;
    padding: .5vh .5vh .5vh 1vh;
    margin: 1vh 1vh 1vh 0px;
    display: inline-block;
    overflow: auto;
    line-height: 3vh;
    font-size: 2.5vh;
    text-align: left;
    vertical-align: middle;
}

div.metroIcon {
    height: inherit;
    width: inherit;
    border-radius: 6vh;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

div.tramIcon {
    height: 4vh;
    line-height: 4vh;
    width: inherit;
    border-top: .75vh solid;
    border-bottom: .75vh solid;
    margin-top: .25vh;
    margin-bottom: .25vh;
    font-size: 2.75vh;
    font-weight: bold;
    text-align: center;
}

div.basicIcon {
    height: inherit;
    width: inherit;
    border-radius: 1vh;
    font-weight: bold;
    font-size: 3vh;
    line-height: 6vh;
    padding: 0px 1vh;
    box-sizing: border-box;
}

img.svgObject {
    position: absolute;
    bottom: -1vh;
    right: -1vh;
    width: 3vh;
    height: 3vh;
}

div.bsr-text {
    display: inline-block;
    overflow: hidden;
    overflow-y: auto;
    margin: 2vh;
    font-size: 1rem;
    flex: 1;
}

@media screen and (max-width: 800px) {
    div.bsr-text {
        display: inline-block;
        overflow: hidden;
        overflow-y: auto;
        margin: 2vh;
        font-size: 1rem;
        flex: 1 auto;
    }
}

div#flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


div#line-left,
div#line-right,
div#home-left,
div#home-right {
    flex: 1 50%;
    display: inline-block;
    overflow: hidden;
    max-width: 1000px;
}

@media screen and (max-width: 1000px) {

    div#line-left,
    div#line-right,
    div#home-left,
    div#home-right {
        flex: 1 auto;
        display: inline-block;
        overflow: hidden;
        max-width: 1000px;
    }
}

div.noborder {
    border-color: transparent;
    display: inline-block;
    text-align: center;
    margin-right: 0px;
}

div.checkbox-container {
    font-size: 1.15rem;
    display: inline-block;
    overflow: hidden;
    height: 2rem;
    line-height: 2rem;
    margin: 1vh 1vw;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: left;
    user-select: none;
}