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;
    align-items:        center;
    padding:            0 5px;
    align-items:        center;
    margin:             0;

    touch-action: none;
}

header .translink-logo {
    display: inline-block;
    background-image: url( "images/translink-logo-white.svg" );
    background-position: right;
    background-repeat: no-repeat;
    height: 40px;
    width: 200px;
    min-width: 200px;
    margin-right: 10px;
}

header .translink-logo::before {
    content: '';
    display: inline-block;
    background-image: url( "images/gov_bc_logo.svg" );
    background-position: left;
    background-repeat: no-repeat;
    height: 40px;
    width: 100px;
}

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

#logo {
    cursor: pointer;
}

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

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

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

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 50em;
    max-height: calc( 100% - 5em );
    font-family:"Meta W01 Medium", Arial, Helvetica, sans-serif;
    z-index: 3;
    padding: 0;
    border: none;
    min-height: auto;
    height: unset;
    background-color: transparent;
}

dialog form {
    display:        flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    background-color: white;
}

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;
}
