﻿html, body, #logform {
    min-height: 100vh;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

div {
    background-color: #E6E6E6;
}

body {
    font-family: Arial, Helvetica, Droid, sans-serif;
    font-size: 16px;
    color: #666;
    background-color: #e6e6e6;
}

h1 {
    font-size: 2.21rem;
    color: #4D4D4D;
}

a:link,
a:visited,
a:focus,
a:hover {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
}

a.forgotpw:link,
a.forgotpw:visited,
a.forgotpw:focus,
a.forgotpw:hover {
    color: #004f9f;
    font-size: 1.2rem;
}

#picelse {
    display: none;
}

#logoelse {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

    #logoelse img {
        width: 64px;
        height: auto;
    }

#logform {
    padding: 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 20.5rem;
}

    #logform h1 {
        text-align: center;
    }

    #logform input {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        border: none;
        width: 75%;
        padding: 1rem 1rem 0.5rem 1rem;
        font-size: 1.2rem;
        background-color: transparent;
    }

    #logform p {
        text-align: right;
    }

        #logform p.inputframe {
            border-bottom: 1px solid #333;
            text-align: left;
            vertical-align: middle;
        }

            #logform p.inputframe > img {
                vertical-align: middle;
                margin-bottom: 0.5rem;
            }

    #logform button {
        border: none;
        background-color: #004f9f;
        padding: 1.2rem;
        color: #fff;
        width: 80%;
        text-align: left;
        text-indent: 43px;
        font-size: 1.2rem;
        cursor: pointer;
        max-width: 14rem;
    }

.logformbutton {
    border: none;
    background-color: #004f9f;
    padding: 1.2rem;
    color: #fff;
    width: 80%;
    text-align: left;
    text-indent: 43px;
    font-size: 1.2rem;
    cursor: pointer;
    max-width: 14rem;

}
.pwlabel {
    margin-left: 5px;
    margin-right: 5px;
}
#btnframe input {
    background-color: #004f9f;
}

    #btnframe input:hover {
        background-color: #00509fe3;
    }

    #btnframe input:active {
        -webkit-transform: scale(.995) translate(2px, 2px);
        -ms-transform: scale(.995) translate(2px, 2px);
        transform: scale(.995) translate(2px, 2px);
    }

#Login1_LoginButton {
    background: #004f9f url("../images/anmelden_weiss32x32.png") no-repeat 0.5rem center;
    margin-top: 1.2rem;
    background-size: 2rem;
}

#letsConnectButton {
    background: #004f9f url("../images/letsconnect_weiss32x32.png") no-repeat 0.7rem center;
}

#winauthButton {
    background: #004f9f url("../images/windows_weiss32x32.png") no-repeat 0.5rem center;
    background-size: 2rem;
}
/* #winlogon {
             display: none;
        }*/
#logform footer {
    margin-top: auto;
}

#logform .flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin-bottom: 1rem;
}

    #logform .flex-container div {
        min-width: 164px;
    }

    #logform .flex-container a ~ span::after {
        font-weight: bold;
        padding-left: 5px;
        content: ">";
        -webkit-transition: padding-left 0.5s ease;
        -o-transition: padding-left 0.5s ease;
        transition: padding-left 0.5s ease;
    }

    #logform .flex-container a:hover ~ span::after {
        padding-left: 15px;
    }

#logform .copy {
    font-size: 0.9rem;
    margin-top: auto;
}

    #logform .copy .praxis-logo {
        font-family: 'Times New Roman', Times, serif;
        font-style: italic;
    }





@media only screen and (min-width: 320px) {

    /* Small screen, non-retina */
    h1 ::after {
        content: "Small screen, non-retina";
    }

    h1 {
        color: #4D4D4D;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px) and (orientation: landscape), only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px) and (orientation: landscape), only screen and ( min-device-pixel-ratio: 2) and (min-width: 320px) and (orientation: landscape), only screen and ( -webkit-min-device-pixel-ratio: 2) and (min-width: 320px) and (orientation: landscape), only screen and ( min-resolution: 192dpi) and (min-width: 320px) and (orientation: landscape), only screen and ( min-resolution: 2dppx) and (min-width: 320px) and (orientation: landscape) {

    /* Small screen, retina, stuff to override above media query */
    h1 ::after {
        content: "Small screen, retina, stuff to override above media query";
    }

    h1 {
        color: #4D4D4D;
    }

    .orientationframe {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-top: 0rem;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

        .orientationframe div {
            -webkit-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
        }

    #logoelse {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

        #logoelse img {
            margin-right: 20px;
        }

    #logform h1 {
        margin: 0;
    }

    #picelse {
        display: none;
    }

    #logform {
        min-width: 100vw;
    }

        #logform button {
            font-size: 0.9rem;
        }
}


@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px) and (orientation: portrait), only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px) and (orientation: portrait), only screen and ( min-device-pixel-ratio: 2) and (min-width: 320px) and (orientation: portrait), only screen and ( -webkit-min-device-pixel-ratio: 2) and (min-width: 320px) and (orientation: portrait), only screen and ( min-resolution: 192dpi) and (min-width: 320px) and (orientation: portrait), only screen and ( min-resolution: 2dppx) and (min-width: 320px) and (orientation: portrait) {

    /* Small screen, retina, stuff to override above media query */
    h1 ::after {
        content: "Small screen, retina, stuff to override above media query";
    }

    h1 {
        color: #4D4D4D;
    }

    #logform button {
        font-size: 1.2rem;
    }
}

@media only screen and (min-width: 700px) {

    /* Medium screen, non-retina */
    h1 {
        color: #4D4D4D;
    }

    #mainwrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    #picelse {
        display: block;
        background: url("../images/Anzeige_Mutter.png") no-repeat center;
        background-size: cover;
        width: 70vw;
    }

    .orientationframe {
        margin-top: 10rem;
    }

    #logform button {
        font-size: 1.2rem;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 700px), only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 700px), only screen and ( min-device-pixel-ratio: 2) and (min-width: 700px), only screen and ( -webkit-min-device-pixel-ratio: 2) and (min-width: 700px), only screen and ( min-resolution: 192dpi) and (min-width: 700px), only screen and ( min-resolution: 2dppx) and (min-width: 700px) {

    /* Medium screen, retina, stuff to override above media query */
    h1 ::after {
        content: "Medium screen, retina, stuff to override above media query ";
    }

    h1 {
        color: #4D4D4D;
    }

    .orientationframe {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-top: 0rem;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

        .orientationframe div {
            -webkit-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
        }

    #logoelse {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

        #logoelse img {
            margin-right: 20px;
        }

    #logform h1 {
        margin: 0;
    }

    #picelse {
        display: none;
    }

    #logform {
        min-width: 100vw;
    }

        #logform button {
            font-size: 1.2rem;
        }
}


@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 700px) and (orientation: portrait), only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 700px) and (orientation: portrait), only screen and ( min-device-pixel-ratio: 2) and (min-width: 700px) and (orientation: portrait), only screen and ( -webkit-min-device-pixel-ratio: 2) and (min-width: 700px) and (orientation: portrait), only screen and ( min-resolution: 192dpi) and (min-width: 700px) and (orientation: portrait), only screen and ( min-resolution: 2dppx) and (min-width: 700px) and (orientation: portrait) {

    /* Medium screen, retina, stuff to override above media query */
    h1 ::after {
        content: "Medium screen, retina, stuff to override above media query ";
    }

    h1 {
        color: #4D4D4D;
    }

    #mainwrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    #picelse {
        display: block;
        background: url("../images/Anzeige_Mutter.png") no-repeat center;
        background-size: cover;
        min-width: 50vw;
        width: 50vw;
    }

    .orientationframe {
        margin-top: 10rem;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #logform {
        min-width: 50vw;
        width: 50vw;
    }

        #logform button {
            font-size: 1.2rem;
        }
}


@media only screen and (min-width: 1300px) {

    /* Large screen, non-retina */

    h1 {
        color: #4D4D4D;
    }

    #mainwrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    #picelse {
        display: block;
        background: url("../images/Anzeige_Mutter.png") no-repeat center;
        background-size: cover;
        min-width: 70vw;
        width: 70vw;
    }

    .orientationframe {
        margin-top: 10rem;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #logform button {
        font-size: 1.2rem;
    }

    #logoelse img {
        width: 120px;
    }

    #logoelse {
        flex-direction: column;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1300px), only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 1300px), only screen and ( min-device-pixel-ratio: 2) and (min-width: 1300px), only screen and ( -webkit-min-device-pixel-ratio: 2) and (min-width: 1300px), only screen and ( min-resolution: 192dpi) and (min-width: 1300px), only screen and ( min-resolution: 2dppx) and (min-width: 1300px) {

    /* Large screen, retina, stuff to override above media query */
    h1 ::after {
        content: " Large screen, retina, stuff to override above media query";
    }

    h1 {
        color: #4D4D4D;
    }

    #mainwrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    #picelse {
        display: block;
        background: url("../images/Anzeige_Mutter.png") no-repeat center;
        background-size: cover;
        width: 80vw;
    }

    .orientationframe {
        margin-top: 10rem;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #logform button {
        font-size: 1.2rem;
    }

    #logform {
        flex-direction: row;
    }
}
