ul {
    margin: 0;
    padding: 0;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.nopading {
    padding: 0 !important;
}
.display-table {
    display: table;
}
.display-cell {
    display: table-cell;
}
html,
body {
    height: 100%;
    background: white;
}

body {
    font-family: 'Ubuntu', Arial;
}
h4 {
    background: #F9FAFC;
    padding: 4px;
    font-size: 14px;
    font-weight: normal;
}
.app-login {
    background: url("../img/login/sc9_bg.jpg") #28394d;
    height: 100%;
}
.app-login .login-form {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -225px;
    margin-top: -300px;
    width: 450px;
}
.login-form .checkbox {
    margin-top: 0;
}
.login-form .checkbox span {
    margin-left:7px;
}
.app-login .login-form form {
    background: #f5f7f8;
    border-radius: 5px;
    margin: 30px 0;
    padding: 10px 30px;
    color: #31455c;
    display:block;
}
.app-login .login-form form input.form-control:focus { 
    box-shadow: 0 0 10px rgba(0,0,0,.1); 
}
.app-login .login-form form .form-group {
    margin: 20px 0;
    position: relative;
}
.app-login .login-form form .form-group.left {
    float: left;
}
.app-login .login-form form .form-group.right {
    float: right;
}
.app-login .login-form form .form-group:after {
    content: "";
    display: block;
    clear: both;
}
.app-login .login-form form label.form-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
    text-align: left;
}
.app-login .login-form form input.form-control {
    border-radius: 4px;
    background: white;
    border: 1px solid #e2e5e8;
    width: 100%;
    height: 40px;
    padding: 10px;
    box-shadow: none;
}
.app-login .login-form form .btn {
    display: block;
    border: none;
    color: white;
    padding: 5px 10px;
    height: 50px;
    width: 100%;
    text-transform: uppercase;
}
.app-login .login-form .language {
    position: relative;
    height: 50px;
    padding: 15px 0;
    float:  right;
}
.app-login .login-form .language > a {
    text-decoration: none;
    color: #31455c;
}
.app-login .login-form .language > a img.flag {
    float: left;
    position: relative;
    top: -3px;
    margin-right: 3px;
}
.app-login .login-form .language > a img.bullet {
    float: right;
    position: relative;
    margin-left: 4px;
}
.app-login .login-form .language ul {
    list-style: none;
    margin: 0;
    width: 350px;
    padding: 5px;
    background: white;
    position: absolute;
    right: -38px;
    top: 45px;
    display: none;
    border-radius: 4px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
    z-index: 999;
}
.app-login .login-form .language ul:after,
.app-login .login-form .language ul:before {
    bottom: 100%;
    left: 82.7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.app-login .login-form .language ul:after {
    border-color: rgba(136, 183, 213, 0);
    border-bottom-color: white;
    border-width: 15px;
    margin-left: 0px;
}
.app-login .login-form .language ul li {
    float: left;
    width: 50%;
}
.app-login .login-form .language ul li a {
    display: block;
    border-radius: 4px;
    padding: 8px 5px;
    font-size: 11px;
    text-decoration: none;
    color: #31455c;
    font-weight: bold;
    text-align: left;
}
.app-login .login-form .language ul li a:hover {
    background: #eee;
}
.app-login .login-form .language ul li a img {
    width: 24px;
    float: left;
    position: relative;
    top: -5px;
    margin-right: 10px;
}
.app-login .login-form .language ul.visible {
    display: block;
}
.app-login .login-form .clearfix,
.app-login .login-form .clearfix:after,
.app-login .login-form .clearfix:before {
    clear: both;
}
.forgot {
    color: #31455c;
    text-align: left;
    float:  right;
}
#forgotPass {
    font-size: 11px;
}
.app-login .login-form .forgot a {
    color: #31455c;
    text-decoration: none;
    font-size: 11px;
}
.app-login .login-form .forgot a:hover {
    text-decoration: underline;
}

.app-login #btn_login {
    background: #5580C1;
    border-radius: 3px;
}

.app-login footer {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    padding: 13px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.app-login footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.app-login footer a:hover {
    text-decoration: underline;
    color: white;
}
.app-login footer .left {
    float: left;
}
.app-login footer .right {
    float: right;
}
.app-login footer .social {
    margin-top: -4px;
    margin-left: 15px;
}
.app-login footer .social a {
    opacity: .5;
}
.app-login footer .social a:hover {
    opacity: 1;
}
#loginErroDiv {
    display:none;
}
#trial {
    position: relative;
    color: #FFF;
    text-align: center;
    top: -moz-calc(-20% + 80px);
    top: -webkit-calc(-20% + 80px);
    top: calc(-20% + 80px);
    font-weight: bold;
    font-size:13px;
    margin-top: 40px;
}
.login-form .close span {
    font-size: 21px;
}
.form-footer {
    margin:60px 0 10px;
    height: 50px;
    clear: both;
}

.form-footer .left {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
    text-align: center;
}
.form-footer .right {
    float: right;
    width: 50%;
    margin: 0 !important;
}
#welcome-tooltip > span {
    padding:3px 4px;
    background:none!important;
    border:1px solid white!important;
    cursor: default;
}

@media screen and ( max-height: 655px ) {
    .app-login .login-form .language ul{
        bottom: 45px;
        top: unset;
        box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
    }
    
    .app-login .login-form .language ul:after,
    .app-login .login-form .language ul:before{
        top: 100%;
        bottom: unset;
        transform: rotate(180deg);
    }
}