html,
body {
    font-family: 'Open Sans', sans-serif !important;
    height: 100%;
}

.company-logo-cover img{ max-width: 230px; max-height: 175px; object-fit: cover;}

.login-container .vertical-center:before {
    /* create a full-height inline block pseudo=element */
    content: " ";
    display: inline-block;
    vertical-align: middle;
    /* vertical alignment of the inline element */
    height: 100%;
}

.login-container .vertical-center>.center {
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    /* vertical alignment of the inline element */
}

.ng-scope .panel-heading {border-top-left-radius: 0;
border-top-right-radius: 0;}

.login-container .panel {
    text-align: left;
    border: 0 !important;
    /*border-radius: 10px;*/
    -webkit-box-shadow: 10px -5px 100px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px -5px 100px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 10px -5px 100px 0px rgba(0, 0, 0, 0.75);
}

.login-container #mCSB_2_scrollbar_vertical,#mCSB_1_scrollbar_vertical {
   opacity: 1;
}

.login-container .jumbotron {
    margin-bottom: 0px;
    color: inherit;
    background-color: transparent;
}

.login-container #announcementText {
    height:355px;
}

.login-container .border-top-radius {
    /*border-top-left-radius: 9px;
    border-top-right-radius: 9px;*/
}

.login-container .logoutMessage {
    padding-bottom: 50px;
    font-size: 24px;
}

.login-container #welcomeText {
    height:85px;
}

.login-container .welcomeTextScroll {
    padding: 10px 0px;
    height:85px;
}

.login-container .welcomeTextScroll div.mCSB_container {
    height: inherit;
    display: table;
}

.login-container .welcomeTextContent {
    display:table-cell;
    vertical-align:middle;
    padding-right: 10px;
    margin-bottom:0;
}

.login-container #companyImg {
    max-height: 130px;
}

.login-container .login-error-message-invalid {
    height: 50px;
    padding-top: 7px;
    color:red;
    font-size:13px;
}

.login-container .border-bottom-radius {
    /*border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;*/
}

.login-container input.form-control {
    font-size: 16px;
    font-style: normal;
}

.login-container button.login {
    font-size: 16px;
    font-weight: bold;
}

.login-container button.login:hover,
.login-container button.login:focus {
    color: #fff;
    background-color: #0096FF;
    border-color: #0096FF;
}

.login-container .copyrightText {
    margin-bottom: 0px !important;
    color: white;
}

.login-container .appVersion::before {
    content: "-\00a0";
}

.login-container .appServerName {
    display: none;
}

.login-container .btn:focus, .btn:active {
    outline: none !important;
}

.login-container .login-error-message p{
    color: red;
    padding-top: 4px;
    height: 10px;
    font-size: 13px;
}

.login-container .panel {
    background-color: transparent;
}

.login-container .login-panel .panel .panel-heading {
    height: 175px;
    background-color: #fff;
}

.login-container .login-panel .panel .panel-body {
    background-color: #F8F8F8;
}

.login-container .announcement-panel .panel {
    opacity: 0.8;
}

.login-container .announcement-panel {
    transform-style: preserve-3d;
}

.login-container .announcement-panel .panel-heading {
    padding: 0px 15px;
    overflow: hidden;
    height: 85px;
    max-height: 85px;
    background-color: #585858;
    font-size: 25px;
    color: white;
}

.login-container .announcement-panel .panel-body {
    background-color: #fff;
    opacity: 0.9;
}

.login-container .announcement-panel .panel-body .announcement-title {
    font-weight: 600;
    font-size: 16px;
}

.login-container .announcement-panel hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-width: 1px;
    color: #5bc0de;
    background-color: #5bc0de;
    height: 1px;
}

.login-container .announcement-panel .panel-body .announcement-content {
    overflow: hidden;
    height: 280px;
    padding-right: 15px;
    font-size: 14px;
    font-weight: normal;
}

.login-container .announcement-panel .panel-body .announcement-content > div {
    padding-top: 20px;
}

.login-container .announcement-content>div {
    overflow: hidden;
}

.login-container .companyName {
    cursor: pointer;
    position: relative;
    display: block;
    display: -webkit-box;
    max-width: 100%;
    margin: 0 auto;
    font-size: 21px;
    text-align: center;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.login-container iframe {
    width: 100%;
    height: 100%;
}

.login-container .companyNameProp {
    display: table-cell;
    vertical-align: middle;
    width: 8.33333333%;
    height: 175px;
}

.login-container .footer-container {
    width: 100%;
    position: relative;
    bottom: 5px;
    margin-bottom: 0px;
}

body.bg-image
{
    background-attachment: fixed;
    /* Center the background image */
    background-position: center center;
    /* Set the background image to no repeat */
    background-repeat: no-repeat;
    /* Scale the background image to be as large as possible */
    background-size: cover;
}


.mCustomScrollBox {
    position: relative;
    overflow: hidden;
    height: 100%;
    max-width: 100%;
    outline: 0;
    direction: ltr;
}

/* ................@media .....................*/

@media (min-width:1200px) {
    body.bg-image {
        /* Set background image to fixed (don't scroll along with the page) */
        background-attachment: fixed;
        /* Center the background image */
        background-position: initial;
        /* Set the background image to no repeat */
        background-repeat: no-repeat;
        /* Scale the background image to be as large as possible */
        background-size: cover;
        background: url('images/login-bg.png');
    }
}

@media (min-width:900px) and (max-width:1199px) {
    body.bg-image {
        /* Set background image to fixed (don't scroll along with the page) */
        background-attachment: fixed;
        /* Center the background image */
        background-position: -159px;
        /* Set the background image to no repeat */
        background-repeat: no-repeat;
        /* Scale the background image to be as large as possible */
        background-size: cover;
    }
}

@media (min-width:701px) and (max-width:899px) {
    body.bg-image {
        /* Set background image to fixed (don't scroll along with the page) */
        background-attachment: fixed;
        /* Center the background image */
        background-position: -472px;
        /* Set the background image to no repeat */
        background-repeat: no-repeat;
        /* Scale the background image to be as large as possible */
        background-size: cover;
    }
}

@media (min-width:500px) and (max-width:700px) {
    body.bg-image {
        /* Set background image to fixed (don't scroll along with the page) */
        background-attachment: fixed;
        /* Center the background image */
        background-position: -22px;
        /* Set the background image to no repeat */
        background-repeat: no-repeat;
        /* Scale the background image to be as large as possible */
        background-size: cover;
    }
}

@media  (max-width:499px) {
    body.bg-image {
        /* Set background image to fixed (don't scroll along with the page) */
        background-attachment: fixed;
        /* Center the background image */
        background-position: -356px;
        /* Set the background image to no repeat */
        background-repeat: no-repeat;
        /* Scale the background image to be as large as possible */
        background-size: cover;
    }
}

@media (max-width:700px) {
    .login-container .vertical-center {
        width: 100%;
        text-align: center;
        /* align the inline(-block) elements horizontally */
    }
}

@media (min-width:701px) {
    .login-container .vertical-center {
        height: 100%;
        width: 100%;
        text-align: center;
        /* align the inline(-block) elements horizontally */
    }
}

@media (max-width:449px) {
    .login-container .appVersion {
        margin-bottom: 0px !important;
        color: white;
    }
    .login-container .powered-logo {
        text-align: center;
    }
    .footer-text-wrapper {
        padding-top: 5px;
        text-align: center;
    }
}

@media (min-width:450px) {
    .login-container .powered-logo {
        padding-left: 20px;
        float: left;
    }
    .login-container .appVersion {
        margin-bottom: 0px !important;
        color: white;
        padding-right: 20px;
    }
    .footer-text-wrapper {
        float: right;
        padding-top: 20px;
    }
}

