﻿@media only screen and (min-width: 440px) {
    .loginMain {
        position: absolute;
        left: 50%;
        top: 20%;
        margin-left: -220px;
    }

    .Login {
        width: 440px;
        display: flex;
        border-radius: 10px;
        height: 275px;
        background-position: center center;
        background-size: cover;
        flex-direction: column;
        -moz-box-shadow: 6px 10px 19.95px 1.05px rgba(0, 0, 0, 0.75);
        -webkit-box-shadow: 6px 10px 19.95px 1.05px rgba(0, 0, 0, 0.75);
        box-shadow: 6px 10px 19.95px 1.05px rgba(0, 0, 0, 0.75);
        position: relative;
        background-image: url('BaseLoginForm.png');
    }

    .loginFirstRow {
        position: relative;
        height: 45px;
        display: flex;
        align-items: flex-start;
        vertical-align: top;
        justify-content: center;
    }

    .loginVersion {
        position: relative;
        justify-content: flex-end;
        padding-right: 40px;
        height: 15px;
        display: flex;
    }

    .Login > .loginForm {
        height: auto;
        position: relative;
        justify-content: flex-end;
        padding-top: 23px;
        padding-right: 20px;
    }

        .Login > .loginForm > .row {
            margin-bottom: 2px;
            width: auto !important;
            clear: both;
            justify-content: flex-end;
            display: flex;
        }

            .Login > .loginForm > .row > .label {
                width: 60px !important;
                display: inline-block;
            }

            .Login > .loginForm > .row > .editor {
                display: inline;
                width: 240px;
            }

                .Login > .loginForm > .row > .editor > input[type="button"] {
                    height: 30px;
                    width: 70px;
                    background: -webkit-linear-gradient(white, rgb(101,95,95));
                    background: -o-linear-gradient(white, rgb(101,95,95));
                    background: -moz-linear-gradient(white, rgb(101,95,95));
                    background: linear-gradient(white, rgb(101,95,95));
                    border: 1px solid rgb(60,60,60);
                    border-radius: 5px;
                    font-family: Verdana, Geneva, sans-serif;
                    font-size: 14px;
                    -webkit-text-fill-color: black;
                    -webkit-text-stroke: 0.1px rgb(163,163,163);
                    -moz-box-shadow: 1px 2px 1.9px 0.1px rgba(0, 0, 0, 0.75);
                    -webkit-box-shadow: 1px 2px 1.9px 0.1px rgba(0, 0, 0, 0.75);
                    box-shadow: 1px 2px 1.9px 0.1px rgba(0, 0, 0, 0.75);
                }

        .Login > .loginForm form {
            height: 100%;
        }

    .loginForm form > div {
        height: 30%;
    }

    .Copyright {
        padding-top: 8px;
        width: 440px;
        position: relative;
        justify-content: center;
        text-align: center;
    }
}

@media only screen and (max-width: 440px) {
    .loginMain {
        max-width: 360px;
        min-width: 100px;
        position: absolute;
        left: 50%;
        top: 20%;
        transform: translate(-50%);
        padding: 15px;
    }

    .Login {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 275px;
        border-radius: 10px;
        background-size: cover;
        -moz-box-shadow: 6px 10px 19.95px 1.05px rgba(0, 0, 0, 0.75);
        -webkit-box-shadow: 6px 10px 19.95px 1.05px rgba(0, 0, 0, 0.75);
        box-shadow: 6px 10px 19.95px 1.05px rgba(0, 0, 0, 0.75);
        background-image: url('BaseLoginForm_nocube.png');
        background-size: 360px 275px;
    }

    .loginFirstRow {
        position: relative;
        justify-content: center;
        height: 45px;
        display: flex;
        align-items: flex-end;
        padding-top: 10px
    }

    .loginVersion {
        display: none;
    }

    .Login > .loginForm {
        position: relative;
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 30px;
    }

        .Login > .loginForm > .row {
            margin-top: 2px;
            margin-bottom: 2px;
            width: auto !important;
            clear: both;
        }

            .Login > .loginForm > .row > .label {
                width: 60px !important;
                display: inline-block;
            }

            .Login > .loginForm > .row > .editor {
                display: inline;
            }

                .Login > .loginForm > .row > .editor > input[type="text"] {
                    width: 240px;
                }

                .Login > .loginForm > .row > .editor > input[type="password"] {
                    width: 240px;
                }

                .Login > .loginForm > .row > .editor > input[type="button"] {
                    height: 30px;
                    width: 70px;
                    background: -webkit-linear-gradient(white, rgb(101,95,95));
                    background: -o-linear-gradient(white, rgb(101,95,95));
                    background: -moz-linear-gradient(white, rgb(101,95,95));
                    background: linear-gradient(white, rgb(101,95,95));
                    border: 1px solid rgb(60,60,60);
                    border-radius: 5px;
                    font-family: Verdana, Geneva, sans-serif;
                    font-size: 14px;
                    -webkit-text-fill-color: black;
                    -webkit-text-stroke: 0.1px rgb(163,163,163);
                    -moz-box-shadow: 1px 2px 1.9px 0.1px rgba(0, 0, 0, 0.75);
                    -webkit-box-shadow: 1px 2px 1.9px 0.1px rgba(0, 0, 0, 0.75);
                    box-shadow: 1px 2px 1.9px 0.1px rgba(0, 0, 0, 0.75);
                }

        .Login > .loginForm form {
            height: 100%;
        }

    .loginForm form > div {
        height: 30%;
    }

    .Copyright {
        display: none;
    }

    .ozekiMiniLogo {
        display: initial !important;
    }
}

@media only screen and (max-width: 390px) {
    .Login {
        background-size: 100% 100%;
    }
}

@media only screen and (max-width: 340px) {
    .Login > .loginForm > .row > .editor > input[type="text"] {
        width: calc(100% - 30px);
    }

    .Login > .loginForm > .row > .editor > input[type="password"] {
        width: calc(100% - 30px);
    }
}

.brandTitle {
    font-size: 32px;
    font-weight: bold;
    color: red;
}

.programTitle {
    font-size: 32px;
    font-weight: bold;
}

.Display {
    padding-top: 8px;
    position: relative;
    justify-content: center;
    text-align: center;
    display: block;
}

.LicenseMessage > label {
    text-decoration: underline;
}

.TitleList {
    padding-top: 15px;
}

@media only screen and (max-width: 250px) {
    .programTitle {
        display: none;
    }

    .ozekiMiniLogo {
        display: none !important;
    }
}

.ozekiMiniLogo {
    display: none;
    width: 32px;
    height: 32px;
}

.Login > .loginForm > .row > .editor > input[type="text"] {
    font-size: 16px;
    padding-left: 5px;
    padding-right: 5px;
}

.Login > .loginForm > .row > .editor > input[type="password"] {
    font-size: 16px;
    padding-left: 5px;
    padding-right: 5px;
}

@media (max-height: 400px) {
    .loginMain {
        top: 0 !important;
    }
}
