article {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
}

header {
    border-bottom:      2px solid #fcba19;
    background-color: #036;
    font-family:        Helvetica,Arial,sans-serif;
    color:            white;

    display:            flex;
    flex-direction:     row;
    justify-content:    space-between;
    align-items:        center;
    padding:            0 5px;
}

header .translink-logo {
    background-image: url( "https://tlweblibs.translink.ca/TransLink-logo-white.svg" );
    background-position: center;
    background-repeat: no-repeat;
    height: 40px;
    width: 80px;
    margin-right: 10px;
}

header h1 {
    display:        flex;
    justify-content:center;
    align-items:    center;
    font-size:      18px;
    margin: 0;
    padding: 0;
}

header h3 {
    margin: 0;
    padding: 0;
}

header h3 .release {
    font-weight:    bold;
    font-size:      14px;
    font-style:     italic;
}

.version {
    font-size:      12px;
    opacity:        50%;
}

#logo {
    cursor: pointer;
}

#smk-map-frame {
    flex-grow: 1;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

dialog {
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    max-width: 50em;
    max-height: 55em;
    transform: translateY(-50%) translateX(-50%);
    font-family:"Meta W01 Medium", Arial, Helvetica, sans-serif;
    z-index: 3;
    padding: 0;
    border: none;      
    min-height: auto;
}

dialog form {
    display:        flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

dialog header {
    flex: none;
}

dialog section {
    display:flex;
    flex-direction:column;

    font-size:18px;
    overflow-y: auto;
    padding-bottom: 18px;
}

dialog section p {
    margin-bottom: 0;
    margin-left:18px;
    margin-right:18px;
}

dialog menu {
    flex: none;
    margin: 0;
    padding: 5px;
    display: flex;
    justify-content: center;
}

dialog menu button {
    background-color:rgb(0, 53, 95);
    border: none;
    color:rgb(255, 255, 255);
    cursor:pointer;
    font-size:14px;
    outline: none;
    padding: 9px;
}

dialog::backdrop {
    background-color: black;
    opacity: 0.8;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

dialog + .backdrop {
    background-color: black;
    opacity: 0.8;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}
