﻿/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 07.03.2018, 19:17:45
    Author     : cripp
*/

/*
  **************************************************************************
  Vorab: Farbschema per Variable definieren
  **************************************************************************
*/
:root {
    --etagis-selected: #f29910;
    --etagis-background: #3e3e33;
    --etagis-mouseover-text: white;
    --etagis-mouseover-background: #264E72;
    --etagis-text-default: var(--etagis-background);
    --etagis-text-nav: #afabab;
    --etagis-graph-nav: var(--etagis-text-nav);
    --etagis-button-background: white;
    --etagis-button-border: #353535;
    --etagis-button-back-hover: var(--etagis-selected);
    --etagis-dialog-background: white;
    --etagis-pageselect-back: #eee;
    --etagis-pageselect-active: white;
    --etagis-pageselect-active-border: var(--etagis-selected);
    --etagis-headline: var(--etagis-mouseover-background);
}

/************************************************
* Das bildschirmfüllende Login-Hintergrundbild
************************************************/
html {
    background: url(/img/login.jpg) no-repeat;
    background-color: white;
    background-size: cover;
    background-attachment: fixed;
    font-family: sans-serif;
    font-size: 10pt;
}
html,body {
    height: 100%;
    margin: 0;
}
div.centerwrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

div.mainbox {
    background-color: lightgray;
    opacity: 0.95;
    max-width: 90%;
    width: 700px;
    height: 300px;
}
h1 {
    font-size: 11pt;
    border-bottom: 1px solid var(--etagis-headline);
    margin: 20px 20px 10px;
}
p {
    text-align: center;
    margin: 0;
}
.errorText {
    color: darkred;
}
p.message {
    text-align: left;
    font-size: 10pt;
    margin: 0px 20px 30px;
}
form {
    margin: 10px;
    width: 300px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
form p {
    margin: 10px;
}
input {
    width: 80%;
    border-radius: 5px;
    border: 1px;
    border-style: solid;
    padding: 3px;
    padding-left: 30px;
}
input#loginuser {
    background: url(/img/login_user.png) no-repeat;
    background-color: white;
}
input#loginpw {
    background: url(/img/login_pw2.png) no-repeat;
    background-color: white;
}
button {
    background-color: var(--etagis-button-background);
    opacity: 1;
    width: 150px;
    height: 20px;
    color: var(--etagis-text-default);
    border: var(--etagis-button-border) solid 1px;
    margin: 5px 10px;
}
button:hover:enabled {
    background-color: var(--etagis-button-back-hover);
}
button:disabled {
    background-color: gray;
}
.loginform button:hover:enabled {
    background-color: #F19810;
}
img {
    max-width: 300px;
    max-height: 100px;
}
.hidden {
    display: none;
}

/* /* */
 
