html {
    height: 100%;
    font-size: 14px;
}

body {
    background: #F7F8F9;  /* fallback for old browsers */
    background: -webkit-linear-gradient(120deg, #F7F8F9 0%, #DEE2E6 100%);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(120deg, #F7F8F9 0%, #DEE2E6 100%); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    direction: ltr;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: 360px;
    height: 100%;
}

.blockUI_bgoverlay {
    z-index: 1000;
    position: absolute; 
    border: none; 
    margin: 0px; 
    padding: 0px; 
    width: 100%; 
    height: 100%; 
    top: 0px; 
    left: 0px; 
    background-color: rgb(49, 62, 71); 
    opacity: 0.1; 
    cursor: wait; 
}

.blockUI_msgoverlay {
    z-index: 1001;
    position: absolute;
    border: 0px;
    margin: 0px;
    padding: 10px 15px;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    background-color: rgb(49, 62, 71);
    text-align: center;
    color: rgb(255, 255, 255);
    cursor: wait;
}

.container {
    max-width: 960px;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer !important;
}

form .form-actions {
    border-top: 1px solid #D3DCE9;
    padding: 20px 0;
    margin-top: 20px;
}

.btn-main:active,
.btn-main:hover {
    filter: brightness(95%);
}

.forgot-pass:visited {text-decoration: none;}

.input-inner-addon {
    position: relative;
}
.input-inner-addon input {
    padding-right: 35px !important;
    padding-left: 35px !important;
    line-height: 2.5rem;
}
.input-inner-addon i.left {
    position: absolute;
    padding: 10px 12px;
    pointer-events: none;
}
.input-inner-addon i.right {
    position: absolute;
    right: 0px;
    padding: 10px 12px;
    /* pointer-events: none; */
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #a7b8d3;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 5px;
}

.icon-spin {
    display: inline-block;
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

.light-text {
    color: #A0B2B8;
}

#frmLoginBlock {
    max-width: 355px !important;
    min-height: 450px;
    position: relative;
}
.login-image-container {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}
.login-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.login-image-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 123px;
    height: 32px;
}
.login-powered-by {
    position: absolute;
    bottom: 15rem;
    right: 9px;
    width: 65px;
    height: 25px;
    text-align: center;
}
.login-powered-by-text {
    font-size: 7px;
    color: white;
    line-height: 10px;
}
.login-description {
    position: absolute;
    top: 195px;
    left: 30px;
    color: white;
}
.login-description-intro {
    font-size: 16px;
    line-height: 31.2px;
}
.login-description-title {
    font-size: 24px;
    line-height: 20.8px;
}
.login-description-subtitle {
    font-size: 12px;
    width: 258px;
    line-height: 15.6px;
    margin-top: 12px;
}
.login-ubiquity-logo {
    width: 65px;
    height: 16px;
}

.service-portal-link { text-decoration: underline; }

/* SSO tab switch */
.login-tabs { display: flex; margin-bottom: 1.25rem; }
.login-tab-btn {
    flex: 1; padding: 0.6rem; border: none; background: none;
    font-weight: 600; color: #aaa; cursor: pointer;
    border-bottom: 2px solid #ddd;
    outline: none; box-shadow: none;
}
.login-tab-btn:focus,
.login-tab-btn:focus-visible { outline: none; box-shadow: none; }
.login-tab-btn.active { color: #185990; border-bottom: 2px solid #185990; }
.login-tab-content { display: none; }
.login-tab-content.active { display: block; }
.sso-provider-btn {
    display: block; width: 100%; padding: 0.65rem 1rem; margin-bottom: 0.75rem;
    border: 1px solid #185990; border-radius: 4px; color: #185990; background: #fff;
    font-weight: 600; text-align: center; text-decoration: none;
}
.sso-provider-btn:hover { background: #185990; color: #fff; text-decoration: none; }

/* Responsive */
@media (max-width: 767px) {
    #frmLoginBlock {
        width: calc(100% - 2rem) !important;
        max-width: 355px !important;
        min-height: auto !important;
        height: auto !important;
        margin: 1.5rem auto !important;
        padding: 2rem 1.5rem !important;
    }
    body { align-items: flex-start; padding-top: 0; }
}

@keyframes spin {
  0% {
    -webkit-transform : rotate(0deg);
       -moz-transform : rotate(0deg);
         -o-transform : rotate(0deg);
            transform : rotate(0deg);
  }
  100% {
    -webkit-transform : rotate(360deg);
       -moz-transform : rotate(360deg);
         -o-transform : rotate(360deg);
            transform : rotate(360deg);
  }
}