html {
    box-sizing: border-box;
    font-size: 100%;
    height: 100%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    height: 100%;
    background-color: #ebebeb;
    overflow-y: scroll;
}

#table {
    display: table;
    width: 100%;
    height: 100%;
}

#table #tableCell {
    display: table-cell;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}

#container {
    margin: 0px auto;
    width: 400px;
    text-align: left;
}

#container > form {
    padding: 15px;
    margin-bottom: 20px;
    background-color: #ffffff;

    border-radius:          4px;
    -moz-border-radius:     4px;
    -webkit-border-radius:  4px;

    box-shadow:         0px 1px 5px rgba(0,0,0,0.2);
    -moz-box-shadow:    0px 1px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
}

#container > form h1 {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 8px;
    border-bottom: 1px solid #ebebeb;
}

#container > form p {
    padding-top: 15px;
    overflow: hidden;
}

#container > form p.error {
    color: #ff0000;
    overflow: visible;
    text-align: center;
    font-weight: bold;
    line-height: 120%;
}

#container > form p label {
    color: #333333;
    cursor: pointer;
    display: block;
    padding: 0px 0px 5px 3px;
}

#container > form p input[type=text],
#container > form p input[type=password] {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

    display: block;
    width: 100%;
    padding: 5px;
    border: 2px solid #ebebeb;
    border-radius: 2px;
}

#container > form p input[type=text]:hover,
#container > form p input[type=password]:hover {
    border-color: #cccccc;
}

#container > form p input[type=text]:focus,
#container > form p input[type=password]:focus {
    border-color: #bbbbbb;
    outline: none;
}

#container > form p input[type=submit] {
    cursor: pointer;
    position: relative;
    float: right;
    font-size: 12px;
    border-radius: 2px;
    color: #444444;
    padding: 6px 30px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #9bc135;

    background: #aacd4b;
    background: -moz-linear-gradient(top, #aacd4b 0%, #b5d954 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#aacd4b), color-stop(100%,#b5d954));
    background: -webkit-linear-gradient(top, #aacd4b 0%,#b5d954 100%);
    background: -o-linear-gradient(top, #aacd4b 0%,#b5d954 100%);
    background: -ms-linear-gradient(top, #aacd4b 0%,#b5d954 100%);
    background: linear-gradient(to bottom, #aacd4b 0%,#b5d954 100%);

    text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
    -moz-text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
    -webkit-text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
}

#container > form p input[type=submit]:hover {
    background: #b5d954;
    background: -moz-linear-gradient(top, #b5d954 0%, #aacd4b 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b5d954), color-stop(100%,#aacd4b));
    background: -webkit-linear-gradient(top, #b5d954 0%,#aacd4b 100%);
    background: -o-linear-gradient(top, #b5d954 0%,#aacd4b 100%);
    background: -ms-linear-gradient(top, #b5d954 0%,#aacd4b 100%);
    background: linear-gradient(to bottom, #b5d954 0%,#aacd4b 100%);

     text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
    -moz-text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
    -webkit-text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
}