.application {
    overflow: auto;
}

.startpageForm {
    width: 464px;
    min-height: 300px;
    position: absolute;
    max-width: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.startpageForm.loading {
    transform: translate(-50%, -50%) rotateY(90deg);
    transition: transform 0.3s;
}

@media (max-width: 360px) {
    #loginButtons td {
        display: block;
        width: 100%;
    }
}

#registerForm.startpageForm {
    /*margin: -290px 0 0 0;*/
    top: 20px;
    margin-bottom: 20px;
    transform: none;
}
.startpageForm h2 {
    font-size: 14px;
    margin: 20px 0 10px;
}
.startpageForm .langSelect {
    float: right;
    margin: -17px -12px 0 0;
}

.startpageForm .langSelect .langIcon {
    margin-left: 7px;
}

.startpageForm .langSelect img {
    max-height: 16px;
    vertical-align: middle;
}

.startpageForm .langSelect .selected {
    transform: scale(1.2);
    border: 1px solid;
    border-radius: 2px;
}

.startpageForm .padding {
    padding: 40px;
    background: #FFF;
    box-shadow: 0 0px 3px rgba(0,0,0,0.20);
    border-radius: 5px;
}

.contextBox .startpageForm {
    border: none;
    position: static;
    margin: 0;
    padding: 0;
}

.startpageForm h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.startpageForm p {
    padding-bottom: 16px;
}

.loginInput {
    margin-bottom: 16px;
    position: relative;
}

/*#userPass {
    margin-bottom: 25px;
}*/

.spacer {
    padding-bottom: 9px;
}

.startpageForm .loginInput input,
.startpageForm .loginInput textarea,
.startpageForm .loginInput .label {
    width: 100%;
    background: none;
    font-size: 18px;
    border: none;
    padding: 8px 0;
    position: relative;
    z-index: 2;
    margin-top: 5px;
    border-bottom: 1px solid #CCC;
    
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.startpageForm .loginInput input:focus,
.startpageForm .loginInput textarea:focus,
.startpageForm .loginInput .label:focus {
    outline: none;
    border-bottom: 1px solid #0b6485;
}

.startpageForm .loginInput textarea {
    font-size: 14px;
}

.startpageForm .loginInput .label {
    display: none;
    color: #999;
    position: absolute;
    z-index: 1;
}

.startpageForm .loginInput .borderHelper {
    display: none;
}

/*.startpageForm .loginInput .borderHelper {
    height: 3px;
    border: solid #bbb;
    border-width: 0 1px 1px 1px;
    margin-top: -4px;
}*/

/*.startpageForm .inputMouseOver .borderHelper,
.startpageForm .inputSelected .borderHelper,
.startpageForm .loginInput .borderHelper.active {
    border-color: #0b6485;
}*/

.startpageForm #loginError {
    color: #F00;
    font-size: 14px;
    margin-bottom: 25px;
}

#loginError span {
    margin: 0 10px 0 7px;
}

#loginButtons {
    width: 100%;
}

.secondaryAction,
#loginBtn {
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 3px;
}

.secondaryAction {
    cursor: pointer;
    /*width: 226px;*/
    background: #ebebeb;
    color: #999;
    font-size: 15px;
    text-align: center;
}

.secondaryAction .icon {
    font-size: 14px;
    margin-right: 8px;
}

.secondaryAction:hover {
    opacity: 0.9;
}

#loginBtn {
    cursor: pointer;
    /*width: 100px;*/
    background: #0b6485;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    border: none;
}

#loginBtn:hover {
    opacity: 0.9;
}
