* {
    box-sizing: border-box;
    -moz-appearance: none; -webkit-appearance: none; appearance: none;
}

html {
    min-height:100%;/* make sure it is at least as tall as the viewport */
    position:relative;
}

body {
    height: 100vh;
    width: 99vw;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    div.banner-nav {
        display:none;
    }

    .header {
        display: grid;
        grid-template: 'logo-nav language-nav';
        grid-template-columns: 6fr 6fr;
        grid-template-rows: 75px;
        background-color: #ffffff;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding: 0px;
        padding-left: 0px;
        text-indent: 0px;
        align-items: center;
        margin-top: 15px;
    }

    .main_container {
        display: grid;
        grid-template: 'main_form';
        grid-template-columns: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding-top: 60px;
        padding-left: 0px;
        text-indent: 0px;
        position: relative;
        min-height: 87vh;
        font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }    

    div.logo-nav {
        padding-top: 10px;
        padding-left: 10px;
    }

    div.language-nav {
        text-align: right;
    }

    div.language-nav select {
        text-align: center;
        padding-right: 20px;
    }

    #language_dropdown { 
        background: #404040 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23404040" d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"/></svg>') right 0.3rem center/8px 10px no-repeat;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    div.banner-nav {
        display:none;
    }

    .header {
        display: grid;
        grid-template: 'logo-nav language-nav';
        grid-template-columns: 7fr 5fr;
        grid-template-rows: 80px;
        background-color: #ffffff;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding: 0px;
        padding-left: 0px;
        text-indent: 0px;
        align-items: center;
        margin-top: 20px;
    }

    .main_container {
        display: grid;
        grid-template: 'main_form';
        grid-template-columns: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding-top: 60px;
        padding-left: 0px;
        text-indent: 0px;
        position: relative;
        min-height: 87vh;
        font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    div.logo-nav {
        height: 100%;
        width: 100%;
        padding-left: 120px;
    }

    div.language-nav {
        text-align: right;
    }

    div.language-nav select {
        text-align: center;
        padding-right: 20px;
    }

    #language_dropdown { 
        background: #404040 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23404040" d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"/></svg>') right 0.1rem center/8px 10px no-repeat;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    div.logo-nav,
    div.banner-nav,
    div.language-nav {
        display:inline;
    }

    .header {
        display: grid;
        grid-template:
            'logo-nav banner-nav language-nav';
        grid-template-columns: 3fr 7fr 2fr;
        grid-template-rows: 90px;
        background-color: #ffffff;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding: 0px;
        padding-left: 0px;
        text-indent: 0px;
        align-items: center;
    }
    
    .main_container {
        display: grid;
        grid-template: 'main_form';
        grid-template-columns: 1fr;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding-top: 100px;
        padding-left: 0px;
        text-indent: 0px;
        position: relative;
        min-height: 87vh;
        font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    div.logo-nav {
        height: 100%;
        width: 100%;
        padding-left: 0px;
    }

    div.language-nav {
        text-align: right;
    }

    .language-nav select {
        text-align: center;
        padding-right: 20px;
    }

    #language_dropdown { 
        background: #404040 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%23404040" d="M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z"/></svg>') right 1rem center/8px 10px no-repeat;
    }
}

.main_form {
    align-content: center;
    justify-self: center;
    color: #747678;
    width: 300px;
}

div.language-nav {
    color: #302c2c;
    text-decoration: none;
    line-height: 0.8;
    padding-right: 15px;
}

/* Dropdown */
#language_dropdown,
#language_dropdown:visited {
    color: #404040;
    background-color: #fff;
    border: none;
    text-decoration: none;
    font-size: 0.7em;
}

#language_dropdown:focus {
    outline: none;
    box-shadow: none;    
}

.signin_label {
    color: #858888;
    font-size: 1.2em;
    text-decoration: none;
}

div.form_username {
    margin-top: 10px;
    font-size: 0.9em;
}

div.form_username input {
    width: 300px;
    height: 30px;
    padding-left: 5px;
    border-radius: 5px;
    border: 1px solid rgb(133, 133, 133);
}

:focus {
    outline: none;
}

div.form_password {
    margin-top: 6px;
    font-size: 0.9em;    
}

div.form_password input {
    width: 300px;
    height: 30px;    
    margin-top: 5px;
    padding-left: 5px;
    border-radius: 5px;
    border: 1px solid rgb(133, 133, 133);
}

div.form_btn_submit {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 5px;    
}

div.license_disclaimer {
    margin-top: 10px;
}

div.form_btn_submit button {
    width: 300px;
    height: 30px;
    background-color: #4E888F;
    color: #ffffff;
    border: none;
    font-size: 0.9em;
    border-radius: 4px;
}

a {
    font-size: 0.8em;
}

.footer {
    display: grid;
    grid-template: 'about';
    grid-template-rows: 35px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 0px;
    padding-left: 0px;
    text-indent: 0px;
    background-color: #48463e;
    align-items: center;
    justify-items: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}