.invalid {
    border: 1px solid #CC0000;
}

label.invalid {
    text-align: left;
    display: block;
}

body {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #eff3f7;
    margin-bottom: 0px;
}

#user-login h1 {
    color: #fff;
    font-size: 22px;
    text-align: center;
    position: relative;
    height: 58px;
    line-height: 58px;
    background: #282e79;
    border-radius: 5px 5px 0 0;
    margin: 8px 0 0 0 ;
}



    #user-login .form-signin-heading {
        font-size: 18px;
        margin:0 0 15px 0;
    }

    #user-login #user-form-button {
        background: #00B9EE;
        border-color: #00B9EE;
        border-radius: 6px;
        font-size: 18px;
        line-height: 1.33333;
        padding: 10px 16px;
        width: 100%;
        height: auto;
    }

#user-login h1::before {
    background: transparent url("/images/user/login-sprite.png") no-repeat scroll 0 0px;
    border: medium none;
    content: " ";
    display: inline-block;
    height: 201px;
    left: calc(50% - 110px);
    position: absolute;
    text-indent: -4999px;
    top: -242px;
    width: 200px;
}

    #user-login #user-form-button:hover,
    #user-login #user-form-button:active,
    #user-login #user-form-button:focus {
        border-color: #65abd0;
    }
.input-wrap{
    position: relative;
    height: 38px;
}

#user-login{
    width: 632px;
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
    overflow: visible;
    padding: 240px 0 5px;
    background: transparent;
}

.form-block {
    border: 1px solid #eaedf1;
    border-radius: 4px;
    float: left;
    margin: 5px 0 0 5px;
    width: 48.7%;
    padding: 10px 5px 25px 40px;
    text-align: left;
}

.form-block h2 {
    color: #323a45;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    margin-bottom: 8px;
}

.form-block h2:before {
    content: "1";
    border-radius: 14px;
    padding: 4px 8px;
    background: #d87373;
    color: #fff;
    position: absolute;
    left: -33px;
    top: -4px;
}

.form-block.b-1 h2:before {
    content: "1";
}

.form-block.b-2 h2:before {
    content: "2";
}

.form-block.b-3 h2:before {
    content: "3";
}

.form-block.b-4 h2:before {
    content: "4";
}

.form-signin{
    /*background: #fff;*/
    overflow: visible;
    border-radius: 0 0 5px 5px;
    padding-bottom: 0px;
    text-align: center;
}

.form-block .description {
    color: #505965;
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
}

.form-block .download{
    background-color: #eaedf1;
    background-image: none;
    border: none;
    border-radius: 2px 0 0 2px;
    box-shadow: none;
    color: #555;
    display: block;
    font-size: 14px;
    height: 38px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 176px;
    float: left;
}

.form-block .download{
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0.1px;
    z-index: -1;

}

.form-block .ico{
    background-color: #eaedf1;
    background-image: none;
    border: none;
    border-radius: 0px 2px 2px 0;
    box-shadow: none;
    color: #555;
    display: block;
    font-size: 14px;
    height: 38px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 38px;
    float: left;
    margin-left: 2px;
    position: relative;
}

.form-block .ico::before {
    background: transparent url("/images/user/login-sprite.png") no-repeat scroll 0 -209px;
    content: " ";
    height: 16px;
    left: 13px;
    position: absolute;
    top: 11px;
    width: 16px;
}
.form-block #label_download_key{
    background-color: #efba00;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    width: 216px;
    overflow: hidden;
    height: 38px;
    line-height: 26px;
    white-space: nowrap;
    padding: 6px 12px;
    color: #fff;
    position: relative;
    border-radius: 0 2px 2px 0;
    margin-bottom: 0;
    font-weight: normal;
}

.form-block #label_download_key span {
    background: #b89500 none repeat scroll 0 0;
    cursor: pointer;
    margin-left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
}

.form-block #label_download_key span::before {
    background-position:  0 -274px;
    left: 13px;
}

#user-login #user-form-button {
    background: #282e79 none repeat scroll 0 0;
    clear: both;
    color: #fff;
    display: inline-block;
    float: none;
    font-size: 14px;
    height: 34px;
    line-height: 34px;
    margin: 25px auto 10px;
    padding: 0;
    width: 100px;
}

.input-wrap label{
    display: none;
}

.input-wrap label.error {
    background: #d87373 none repeat scroll 0 0;
    border-radius: 2px;
    color: #fff;
    height: 34px;
    left: 0;
    line-height: 34px;
    padding: 0 10px;
    position: absolute;
    text-align: left;
    top: 49px;
    width:auto;
    font-weight: normal;
    display: block;
    max-width: 500px;
    white-space: nowrap;
}

label.error::before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent transparent #d87373 transparent;
    border-image: none;
    border-style: solid;
    border-width: 9px 5px;
    content: "";
    left: 15px;
    position: absolute;
    top: -18px;
}

input.error {
    border: 1px solid #d87373 !important;
}

.error-info{
    display: none;
}

.error-info.error{
    background: #d87373 none repeat scroll 0 0;
    border-radius: 2px;
    color: #fff;
    height: 34px;
    line-height: 34px;
    padding: 0 10px 0 35px;
    text-align: left;
    width: 100%;
    font-weight: normal;
    margin: 5px 5px 0;
    position: relative;
    display: block;
}


.error-info:before{
    background: transparent url("/images/user/login-sprite.png") no-repeat scroll 0 -306px;
    content: " ";
    height: 16px;
    left: 11px;
    position: absolute;
    top: 9px;
    width: 16px;
}

input[type=password] {font:small-caption; font-size:14px; -webkit-text-security: circle; text-security:circle; line-height: 20px}

input[type=password]::-webkit-input-placeholder {
    font-size:20px;
    line-height: 32px;
}

input[type=password]:-moz-placeholder { /* Firefox 18- */
    font-size:20px;
    line-height: 32px;
}

input[type=password]::-moz-placeholder {  /* Firefox 19+ */
    font-size:20px;
    line-height: 32px;
}

input[type=password]:-ms-input-placeholder {
    font-size:20px;
    line-height: 32px;
}

#show-loader {
    background-color: rgba(94, 94, 94, 0.3);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 15;
}

#show-loader:before {
    background: url(../images/spin.gif);
    display: inline-block;
    text-indent: -9999px;
    width: 64px;
    height: 64px;
    background-size: 64px 64px;
    content: " ";
    position: relative;
    left: calc(50% - 32px);
    top: calc(50% - 32px);
}

.form-group.reg-or-not {
    background: #eff3f7 none repeat scroll 0 0;
    padding: 15px 0 5px;
    text-align: center;
}

.form-group.reg-or-not {
    background: #eff3f7 none repeat scroll 0 0;
    padding: 15px 0 5px !important;
    text-align: center;
    margin: 0 -1px -4px;
}

.form-group.reg-or-not a {
    padding-left: 8px;
    color: #5cafde;
}

.form-group.reg-or-not a .fa {
    padding: 0 0 2px 4px;
}

#download-key {
    color: transparent;
    display: none;
}

#download-key::-webkit-file-upload-button {
    visibility: hidden;
    display: none;
}

#download-key-certs {
    color: transparent;
    display: none;
}

#download-key-certs::-webkit-file-upload-button {
    visibility: hidden;
    display: none;
}

#main-container > #login-container {
    position: relative;
}