﻿* {
    box-sizing: border-box;
    margin: 1px;
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    min-height: 300px;
    overflow: hidden;
}

body {
    background-image: url("BGImages/BG1.jpg");
    background-position: 0 0;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    background-size: cover;
}

@font-face {
    font-family: 'FontomasCustomRegular';
    src: url('../Login/Fonts/fontomas-webfont.eot?#iefix') format('embedded-opentype'), url('../Login/Fonts/fontomas-webfont.woff') format('woff'), url('../Login/Fonts/fontomas-webfont.ttf') format('truetype'), url('../Login/Fonts/fontomas-webfont.svg#FontomasCustomRegular') format('svg'),url('../Login/Fonts/fontomas-webfont.eot');
    font-weight: normal;
    font-style: normal;
}

#TopPanel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 50px;
}

#CoLogoBlock, #LoginBlock {
    border: solid 1px rgba(0,0,0,0.1);
    background-color: rgba(255,255,255,.5);
    border-radius: 10px;
    margin: 5px;
}

#CoLogoBlock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 480px;
}

#LoginBlock {
    padding: 10px;
    min-height: 140px;
    width: 500px;
}

    #LoginBlock .DataIcon, #PasswordBlock .DataIcon {
        position: relative;
        margin-right: -22px;
        font-family: FontomasCustomRegular;
        font-size: 15pt;
        color: Black;
    }

.DataIcon {
    position: absolute;
}

#LoginBlock input[type="text"], #LoginBlock input[type="password"], #PasswordBlock input[type="password"] {
    width: 100%;
    padding: 10px 30px;
    border-radius: 25px;
    border: solid 1px rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,.5);
    font-size: 12pt;
}

#LoginBlock input[type="submit"], #LoginBlock input[type="button"], #PasswordBlock input[type="button"] {
    border: solid 2px #3B3939;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
    padding: 6px 15px 6px 15px;
    transition: all 0.2s linear 0s;
    background-color: rgba(255,255,255,.1);
    color: black;
    font-size: 14pt;
}

    #LoginBlock input[type="submit"]:hover, #LoginBlock input[type="button"]:hover, #PasswordBlock input[type="button"] :hover {
        background-color: rgba(255,255,255,.4);
    }

    #LoginBlock input[type="submit"]:focus, #LoginBlock input[type="button"]:focus, #PasswordBlock input[type="button"]:focus {
        background-color: rgba(255,255,255,.4);
        border-color: rgba(0,0,0,.8);
    }

#LoginBlock input.Invalid {
    background-color: rgba(255, 180, 180, 0.7);
    border: solid 2px red;
}

#LoginBlock .PlaceHolder, #PasswordBlock .PlaceHolder {
    font-size: 14pt;
    margin-left: 5px;
    margin-top: -25px;
}

#FooterSection {
    position: absolute;
    width: 100%;
    z-index: 1;
    bottom: 0px;
    left: 0px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}

#divEkkLogo, #divLinks {
    display: inline-block
}

    #divLinks a {
        display: inline-block;
        border: solid 1px rgba(255,255,255,.9);
        border-radius: 10px;
        color: White;
        background-color: rgba(0,0,0,.5);
        padding: 5px 20px;
        transition: all 0.5s linear 0s;
        text-decoration: none;
        font-size: 12pt;
        z-index: 5;
    }

        #divLinks a:hover {
            background-color: rgba(255,255,255,.8);
            color: Black;
            border: solid 1px rgba(0,0,0,.9);
        }



.hide {
    opacity: 0;
    transform: scale(0.3,0.3);
    z-index: -1 !important;
}


.CloseButton {
    display: inline-block;
    float: right;
    margin: -50px;
}


#ChangePassword {
    width: 400px;
    height: 450px;
    padding: 2px;
    left: calc(50% - 150px);
    background-color: white;
    border: solid 3px rgba(255,255,255,.9);
    border-radius: 20px;
    top: 70px;
}



#divResetPassword {
    width: 350px;
    padding: 2px;
    left: calc(50% - 150px);
    background-color: white;
    border: solid 3px rgba(255,255,255,.9);
    border-radius: 20px;
    top: 70px;
}

#divBlockDongle {
    width: 450px;
    height: 550px;
    padding: 2px;
    left: calc(50% - 150px);
    background-color: white;
    border: solid 3px rgba(255,255,255,.9);
    border-radius: 20px;
    top: 70px;
}

#divPopupUserSetting {
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

#divUserSetting {
    width: 450px;
    height: 560px;
    padding: 2px;
    left: calc(50% - 150px);
    background-color: white;
    border: solid 3px rgba(255,255,255,.9);
    border-radius: 20px;
    top: 70px;
}

#divPopupSetPassword {
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

#divParaImage {
    max-width: 1000px;
}


#divSetPassword input[type="password"], #divSetPassword input[type="text"] {
    width: 100%;
    padding: 10px 12px 10px 30px;
    border-radius: 25px;
    border: solid 1px rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,.5);
    font-size: 12pt;
}

#divChangeLoginName input[type="text"], #divChangePassword input[type="password"], #fldDongleDetails input[type="text"], #fldDongleDetails input[type="password"] {
    width: 100%;
    padding: 10px 30px;
    border-radius: 25px;
    border: solid 1px rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,.5);
    font-size: 12pt;
}

#divChangeLoginName .DataIcon, #divChangePassword .DataIcon, #divSetPassword .DataIcon {
    position: relative;
    margin-right: -17px;
    font-family: FontomasCustomRegular;
    font-size: 15pt;
    color: Black;
}

#ChangePasswordBlock {
    padding: 20px;
}

    #ChangePasswordBlock input[type="submit"], #ChangePasswordBlock input[type="button"], #SetPasswordBlock input[type="button"] {
        border: solid 2px #3B3939;
        border-radius: 12px;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
        padding: 6px 15px 6px 15px;
        transition: all 0.2s linear 0s;
        background-color: rgba(255,255,255,.1);
        color: black;
        font-size: 14pt;
    }

        #ChangePasswordBlock input[type="submit"]:hover, #ChangePasswordBlock input[type="button"]:hover, #SetPasswordBlock input[type="button"]:hover {
            background-color: rgba(255,255,255,.4);
        }

        #ChangePasswordBlock input[type="submit"]:focus, #ChangePasswordBlock input[type="button"]:focus, #SetPasswordBlock input[type="button"]:focus {
            background-color: rgba(255,255,255,.4);
            border-color: rgba(0,0,0,.8);
        }

#divBlockDongleLoginName input[type="text"], #divBlockDonglePassword input[type="password"] {
    width: 100%;
    padding: 10px 30px;
    border-radius: 25px;
    border: solid 1px rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,.5);
    font-size: 12pt;
}

#divBlockDongleLoginName .DataIcon, #divBlockDonglePassword .DataIcon {
    position: relative;
    margin-right: -17px;
    font-family: FontomasCustomRegular;
    font-size: 15pt;
    color: Black;
}

#divBlockDongleBlock {
    padding: 20px;
}

    #divBlockDongleBlock input[type="submit"], #divBlockDongleBlock input[type="button"] {
        border: solid 2px #3B3939;
        border-radius: 12px;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 0 0 rgba(250, 250, 250, 0.5);
        padding: 6px 15px 6px 15px;
        transition: all 0.2s linear 0s;
        background-color: rgba(255,255,255,.1);
        color: black;
        font-size: 14pt;
    }

        #divBlockDongleBlock input[type="submit"]:hover, #divBlockDongleBlock input[type="button"]:hover {
            background-color: rgba(255,255,255,.4);
        }

        #divBlockDongleBlock input[type="submit"]:focus, #divBlockDongleBlock input[type="button"]:focus {
            background-color: rgba(255,255,255,.4);
            border-color: rgba(0,0,0,.8);
        }

.RequiredMark {
    color: red;
    font-size: 18pt;
    display: inline-block;
    top: 5px;
    position: relative;
    margin-top: -5px;
    margin-left: 5px;
    margin-bottom: -5px;
    margin-right: 5px;
}

.ValidationMessage {
    color: red;
}


fieldset {
    padding: 2px;
    border-radius: 12px;
}

.divImageParase {
    overflow: auto;
    /*height: 400px;
            max-width: 530px;*/
    height: 350px;
    max-width: 483px;
    padding: 3px;
}

#divLoginAuthParaImage {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

    #divLoginAuthParaImage img {
        /* width: 150px;
                height: 100px;*/
        width: 130px;
        height: 80px
    }


.SelectedImage {
    background-color: red;
}

.Paraphrase {
    border-radius: 10px 10px 10px 10px !important;
    border: solid 0.5px black;
    background-color: rgba(228,223,233,87.9);
    padding: 2px 2px 3px 2px;
    width: 100%;
    overflow: hidden;
    text-align: left;
}

.SelectedPhrase {
    background-color: red;
    border: solid 1px black;
}

#imgAbout_eOFFICEWeb {
}

#imgAbout_eOFFICEWeb {
    width: 100%;
    max-width: 1000px;
    height: auto;
}

#divBrowserNotSupported {
    color: yellow;
    background-color: red;
    border: solid 1px black;
    padding: 10px;
    width: 100%;
    font-size: 20pt;
    font-weight: bold;
    text-align: center;
}

    #divBrowserNotSupported span {
        font-size: 14pt;
        color: white;
    }

#divBrowserInfo {
    color: white;
    position: fixed;
    bottom: 10px;
    left: 10px;
}



@media screen and (max-width:1023px) {
    body {
        overflow: auto;
        height: calc(100% - 20px);
    }

    .AppVersion {
        font-size: 10px;
        bottom: 0px !important;
    }

    #TopPanel {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        padding-top: 5px;
    }

    #CoLogoBlock, #LoginBlock {
        width: auto;
        padding: 5px;
        flex-grow: 0;
        flex-shrink: 0;
    }

        #LoginBlock table {
            max-width: 500px;
            margin: auto;
        }

    #ChangePassword {
        margin: 2px;
        width: calc(100% - 4px) !important;
        height: calc(100% - 4px) !important;
        background-color: white;
        max-height: 450px;
        overflow: auto;
        left: 0px;
        top: 0px;
    }

    #divResetPassword {
        margin: 2px;
        width: calc(100% - 4px) !important;
        height: calc(100% - 4px) !important;
        background-color: white;
        overflow: auto;
        left: 0px;
        top: 0px;
    }

    #PasswordBlock {
        /*height: 500px;*/
        height: 0px;
    }

    #divUserSetting {
        width: 100%;
        height: auto;
        padding: 2px;
        background-color: white;
        border: solid 3px rgba(255,255,255,.9);
        border-radius: 5px;
        overflow: auto;
        margin: auto;
        max-width: 600px;
    }

    #SetPassword {
        width: 100%;
        height: auto;
        padding: 2px;
        background-color: white;
        border: solid 3px rgba(255,255,255,.9);
        border-radius: 5px;
        overflow: auto;
        margin: auto;
        max-width: 600px;
    }

    #divParaImage > div {
        width: 19% !important;
        padding: 5px !important;
    }

    #divParaImage img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width:639px) {

    .eOFFICEWeb_imgAbout {
        flex-grow: 1;
        flex-shrink: 1;
    }

    #CoLogoBlock, #LoginBlock {
        width: auto;
        padding: 5px;
        flex-grow: 0;
        flex-shrink: 0;
    }

    #PasswordBlock {
        height: auto;
    }

    #fldLogAuth {
        font-size: 10pt;
    }

        #fldLogAuth > span {
            position: static !important;
            padding-right: 0 !important;
        }

        #fldLogAuth > div {
            position: static !important;
            padding-right: 0 !important;
            display: flex;
            flex-direction: column;
        }

    .divImageParase {
        height: auto !important;
    }

    #divLoginAuthParaImage div {
        padding: 5px !important;
        width: 32%;
    }

    #divLoginAuthParaImage img {
        width: 100% !important;
        height: auto !important;
    }

    #divLoginAuthParaPhrase {
        font-size: 10pt;
    }

    #divParaImage > div {
        width: 32% !important;
        padding: 5px !important;
    }
}
