/*==============================================================================

LOGIN CSS STYLESHEET

Table Of Contents:
    -LOGIN
*/

/*============================================================================*/
/*LOGIN*/
/*============================================================================*/

#titlebar {
    display: none;
}

#bodyBack, #bodyBackFull, #mainblock {
    margin: 0px;
    height: 100%;
    position: fixed;
    width: 100%;
    padding: 0px;
    max-height: 100vh;
}

body.windowed #body {
    margin: 0px;
}

#body{
    text-align: right;
    margin: 0;
    overflow: hidden;
    position: relative;
    height: 100%;
}

h1:empty {
    display: none
}

h1 {
    color: white;
    text-align: center;
    /*vertical centering*/
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#body h1 {
    word-break: normal;
}

#rightmenu {
    display: none;
}

/*remove default border and padding*/
#loginform table {
    border: 0px;
    padding: 0px;
    width: 100%;
    text-align: center;
}

#loginform table td {
    color: #ffffff;
    background: #365373;
}

/*horizontal centering inside + margins*/
#loginform {
    width: auto;
    margin: 0;
}

.login-body {
    background-attachment: fixed;
    background-color: #72879e;
    background-image: url("../img/logo-01.png");
    background-position: calc(100% - -50px) calc(100% - -175px);
    background-repeat: no-repeat;
    background-size: 700px auto;
    height: 100%;
    width: 100%;
}

.login-body .box-logo {
    display: inline-block;
    width: 20em;
    height: 9em;
    padding: 1em;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
}

.login-body .box-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.login-body .box-login {
    color: #ffffff;
    background: #365373 none repeat scroll 0 0;
    border-radius: 0.8em;
    padding: 1em;
    /*vertical centering*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*flexi width*/
    width: 60%;
    max-width: 400px;
    min-width: 9em;
}

#loginform input {
    width: 97%;
}

#loginform input[type="submit"].login-button {
    background: #72879e;
    float: right;
    text-align: center;
    width: auto;
    font-weight: bold;
}

#loginform input[type="submit"].login-button:hover {
    background: #00bdb3;
    box-shadow: none;
}

.login-body input[type="text"], .login-body input[type="password"] {
    min-width: inherit;
}

div#bodyBack.sidebarFixedSpace, div#bodyBackFull.sidebarFixedSpace {
    margin-left: 0px;
}

/*============================================================================*/