﻿html, html > body, html > body > form {
    height: 100vh;
    margin: 0;
    overflow: hidden;
    width: 100vw;
}

html {
    font-size: 62.5%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: #ffffff;
    /*font-family: 'Roboto Condensed';*/
    font-size: 1.4rem;
}

p {
    margin-top: 3px;
}

#divBody,
.sy-content,
.sy-content > .sy-container,
.sy-login-wrapper,
.sy-well {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    -moz-box-sizing: border-box;
    -ms-flex-direction: column;
    -ms-flex-wrap: nowrap;
    -webkit-align-items: center;
    -webkit-box-sizing: border-box;
    -webkit-flex-direction: column;
    -webkit-flex-wrap: nowrap;
}

    .sy-content,
    .sy-content > .sy-container {
        flex-basis: auto;
        flex-grow: 1;
        flex-shrink: 1;
        -webkit-flex-grow: 1;
    }

        .sy-content > .sy-container {
            padding-right: 2em !important;
            padding-left: 2em !important;
            overflow-y: auto;
        }

.sy-login-logo {
    flex-grow: 0;
    flex-shrink: 0;
    position: relative;
    text-align: center;
    -webkit-flex-grow: 0;
}

.sy-login-wrapper, .sy-well {
    width: 400px;
}

.sy-login-wrapper {
    flex-grow: 1;
    flex-shrink: 0;
    margin-top: 15px;
    -webkit-flex-grow: 1;
}

.sy-well {
    background-color: rgba(75, 149, 175, 1);
    /*background-color: rgba(48, 152, 27, 1);*/
    min-width: 300px;
    padding: 1em 1em;
}

    .sy-well > .sy-row:not(:first-of-type) {
        margin-top: 0.26em;
    }

    .sy-well label {
        color: #fff;
        display: block;
        margin: 0 0 0.1em 0;
    }

    .sy-well [type=text].k-input, [type=number].k-input, .k-multiselect .k-input, .k-picker-wrap .k-input, .k-textbox, .k-textbox > input,
    .sy-well span.sy-input-group-add-on, .sy-well span.k-dropdown, .sy-well span.k-dropdown span.k-dropdown-wrap {
        border: 0;
        border-radius: 0;
        outline: 1px solid #c6c6c6;
    }

.k-popup .k-list .k-state-focused {
    border-radius: 0;
}

.sy-login-companycode-ddl, .sy-login-language-ddl {
    width: 100%;
}

.sy-login-remember {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    -moz-box-sizing: border-box;
    -webkit-align-items: center;
    -webkit-box-sizing: border-box;
    -webkit-justify-content: space-around;
    white-space: pre-line;
    width: 100%;
}

.sy-login-forget {
    background: transparent;
    color: cadetblue;
    /*font-family: 'Roboto Condensed';*/
    font-size: 1.4rem;
    height: auto;
    line-height: 1;
    padding: 0.8em !important;
    width: auto;
}

    .sy-login-forget:hover {
        background: cadetblue;
        color: #fff;
    }

.sy-login-server-date {
    color: #cccccc;
    font-size: 3rem;
    font-weight: bold;
    margin: 0.2em;
    width: 100%;
}

span#lblSignServerDate {
    background: #333333;
    display: block;
    padding: 0.2em;
}

.sy-login-actions {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

    .sy-login-actions > .sy-login-button {
        /* background: #2983d9; */
        /*background-color: rgba(75, 149, 175, 1);*/
        background-color: rgba(48, 152, 27, 1);
        border: none;
        border-radius: 0;
        color: #fff;
        cursor: pointer;
        /*font-family: 'Roboto Condensed';*/
        font-size: 1.4rem;
        height: auto;
        line-height: 1;
        -moz-border-radius: 0;
        padding: 1em !important;
        -webkit-border-radius: 0;
        width: 32%;
    }

.sy-login-button, .sy-login-forget {
    -moz-transition: all 200ms cubic-bezier(.14, .59, 1, 1.01);
    -o-transition: all 200ms cubic-bezier(.14, .59, 1, 1.01);
    -webkit-transition: all 200ms cubic-bezier(.14, .59, 1, 1.01);
    transition: all 200ms cubic-bezier(.14, .59, 1, 1.01);
}

    .sy-login-actions > .sy-login-button:active, .sy-login-forget:active {
        -moz-transform: scale(0.94);
        -ms-transform: scale(0.94);
        -o-transform: scale(0.94);
        -webkit-transform: scale(0.94);
        transform: scale(0.94);
    }

.sy-login-warning {
    color: rgb(51, 51, 51);
    font-size: 12px;
    line-height: 1.2;
    /*margin-top: 5px;*/
    padding: 0 0.5em;
}

@media (max-width:760px) {
    .sy-login-wrapper, .sy-well {
        width: 100%;
        /*width: 400px;*/
        /*margin: auto;*/
    }
}
