body
{
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    
    background: rgb(77,0,57);
    background: linear-gradient(180deg, rgba(77,0,57,1) 0%, rgba(136,160,170,1) 100%); 

    font-family: arial, helvetica, sans-serif;
}
    a
    {
        text-decoration: none;
    }

    input
    {
        color: #000;
        padding: 8px;
        font-size: 1em;
    }
    input[type=checkbox]
    {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }
        input[type=checkbox]:hover
        {
            background-color: yellow;
        }

    select
    {
        padding: 6px;
    }

    button
    {
        padding: 2px;
        font-size: 1.2em;
        min-height: 35px;
    }

    .title
    {
        margin: 10px;
        text-align: center;
        color: #fff;
    }

    .label
    {
        display: block;
        width: 150px;
        margin-top: 10px;
    }

    .inlineblock 
    {
        display: inline-block;
        vertical-align: middle;
    }

    .none
    {
        display: none;
    }
    .hidden
    {
        opacity: 0;
    }

    .minitext
    {
        font-size: 0.9em;
    }
    .center
    {
        text-align: center;
    }

    .closex
    {
        position: fixed;
        width: 30px;
        height: 30px;
        margin: auto;
        right: 5px;
        top: 5px;
        font-size: 1.5em;
        line-height: 32px;
        text-align: center;
        background-color: rgba(0,0,0, 0.5);
        border: solid 1px #fff;
        padding: 6px;
        border-radius: 50%;
        cursor: pointer;
    }

        .closex:hover
        {
            background-color: #fff;
        }




    .goback
    {
        position: fixed;
        width: 30px;
        height: 30px;
        margin: auto;
        right: 5px;
        top: 5px;
        line-height: 32px;
        text-align: center;
        color: #fff;
        background-color: rgba(0,0,0, 0.5);
        border: solid 1px #fff;
        padding: 6px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.5em;
    }
        .goback:hover
        {
            color: #000;
            background-color: #fff;
        }
/*



*/

    #mainform
    {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        position: absolute;
        margin: auto;
        width: 300px;
        height: 240px;
        top: 40vh;
        bottom: 30vh;
        left: 0;
        right: 0;
        padding: 10px;
        border: solid 2px #dddddd;
        border-radius: 6px;
    }
        .loglabel
        {
            width: 240px;
            margin-top: 15px;
            text-align: left; 
            color: #ffffff;
        }
        #loginbut
        {
            width: 75px;
            margin-top: 15px;
            margin-bottom: 15px;
        }
        #pw_upd_butt
        {
            width: 100px;
            margin-top: 15px;
            margin-bottom: 15px;
        }

        .abutt
        {color: #f00;}





        #logologin
        {
            display: block;
            position: absolute;
            margin: auto;
            width: 90%;
            max-width: 350px;
            min-width: 250px;
            top: 10vh;
            bottom: 80vh;
            left: 0;
            right: 0;
        }

        #logolobile
        {
            display: none;
        }


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

    #mainform
    {
        width: 280px;
        top: 50vh;
        bottom: 20vh;
        padding: 0;
    }

        #logologin
        {
            display: none;
        }

        #logolobile
        {
            display: block;
            position: absolute;
            margin: auto;
            width: 90%;
            max-width: 652px;
            min-width: 250px;
            top: 20vh;
            bottom: 80vh;
            left: 0;
            right: 0;
        }

}