﻿html, body {
    height: 100%;
    margin: 0;
}

.standard-ui-body {
    font-family: Tahoma;
    font-size: 13px;
    color: #000;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}
.error-page-label{
	font-family: 'Open Sans', 'Helvetica Neue', helvetica, arial, verdana, sans-serif;
	font-size: 16px;
    color: #53565a;	
}

/*--- Login page styles BEGIN ---*/

/*-- login page background --*/
.login-bg {
    background-image: url(images/bg.jpg);
    background-position: top center;
    background-size: cover;
    min-height: 100%;
}

/*-- Logo image --*/
.login-form-logo {
    background-image: url(Scripts/logolarge.png);
    width: 194px;
    height: 0;
    visibility: hidden;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*-- position forms --*/
.login-container {
    text-align: center;
    position: relative;
    top: 20%;
    -webkit-transform: translateY(-20%);
    -moz-transform: translateY(-20%);
    -ms-transform: translateY(-20%);
    -o-transform: translateY(-20%);
    transform: translateY(-20%);
}

    /*- hyper-links -*/
    .login-container a {
        color: #157ab5;
        text-decoration: none;
    }

        .login-container a:hover,
        .login-container a:focus {
            color: #157ab5;
            text-decoration: underline;
        }

/*-- Forms border, background, position --*/
.two-factor-contents {
    width: 420px;
}

.login-form-content {
    width: 450px;
    color: #53565a;
    margin: auto;
    padding: 0 15px 20px 15px;
    border: 1px solid #d5d7d7;
    background-color: rgb(223, 232, 246);
    background-color: rgba(223, 232, 246, 0.7) !important;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 6px #e3e5e6;
    -moz-box-shadow: 0 0 6px #e3e5e6;
    box-shadow: 0 0 6px #e3e5e6;
    filter: progid:DXImageTransform.Microsoft.shadow(direction=120, color=#e3e5e6, strength=6);
}

.login-form-content-mobile {
    width: 85%;
}

/*-- Form input fields --*/
.login-form-table {
    display: inline-table;
}

    .login-form-table .first-column {
        width: 35%;
    }

    .login-form-table td {
        padding: 3px;
    }

    .login-form-table textarea {
        resize: vertical;
    }

    .login-form-table input[type="text"],
    .login-form-table input[type="password"],
    .login-form-table textarea {
        width: 90%;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555555;
        background-color: #ffffff;
        background-image: none;
        border: 1px solid #cccccc;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -moz-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }

    .login-form-table input[type="text"]:focus,
    .login-form-table input[type="password"]:focus,
    .login-form-table textarea:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
        -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    }

/*-- Username and password inputs at login page --*/
.login-form-control {
    display: block;
    height: 20px;
    padding: 8px 12px;
}

/*-- Username and password label at login page --*/
.login-form-label {
    font-size: 16px;
    font-weight: bold;
    color: #53565a;
}

/*-- Button style --*/
.login-form-btn {
    cursor: pointer;
    min-width: 100px;
    border: 1px solid #1874c1;
    background-color: #1979ca;
    background-image: none;
    border-radius: 3px;
    color: white;
    font-size: 16px;
    font-weight: normal;
    text-shadow: none;
    padding: 5px 10px 5px 10px;
}

    .login-form-btn:hover {
        background-color: #1c87e1;
        border-color: #1b81d8;
        background-image: none;
    }

    .login-form-btn:active {
        background-color: #1566aa;
        border-color: #1461a1;
    }

.login-form-links-block {
    margin-top: 20px;
}

/*-- Language combo-box --*/
.login-form-language {
    margin: auto;
    margin-top: 10px;
}

.login-form-language select {
    cursor: pointer;
}

.login-form-language-icon {
    width: 20px;

}
    .login-form-language-icon img {
        vertical-align: middle;
        width: 16px;
        height: 16px;
    }

.login-form-table-caption-cell {
    height: 24px;
    text-align: center;
}

    .login-form-table-caption-cell span {
        font-weight: bold;
        font-size: 25px;
        color: #15428B;
    }

/*-- Success label style --*/
.login-form-table-error-text {
    font-weight: 600;
}

/*-- Error label style --*/
.login-form-table-success-text {
    font-weight: 600;
}

/*-- Remember me checkbox --*/
.login-form-remember {
    text-align: center;
}

    .login-form-remember input[type="checkbox"] {
        cursor: pointer;
        margin-top: 2px;
    }

    .login-form-remember label {
        vertical-align: top;
    }

.login-form-error-message {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100px;
}
/*--- Login page styles END ---*/



/*--- Loading mask styles BEGIN ---*/

.loading-mask {
    position: absolute;
    top: 0;
    display: block;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: white;
}

.loading {
    position: relative;
    height: 100%;
    z-index: 2;
}

.loading-message {
    position: absolute;
    vertical-align: middle;
    line-height: 3em;
    padding-top: 1em;
    text-align: center;    
    padding-left: 1em;
    padding-right: 1em;
    /*background-image: url(Images/loading.gif);
    background-position: top center;
    background-repeat: no-repeat;*/
    font-size: 1.5em !important;
    margin: 0;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}

.lds-ring {
    width: 80px;
    height: 80px;
    position: absolute;  
    top: -40%;
    left: 50%;    
    transform: translate(-50%, -50%);
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #424242;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #424242 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

html[dir=rtl] .loading-message {
    direction: rtl !important;
}

/*--- Loading mask styles END ---*/
    /*--- Auth0 login theme BEGIN ---*/
    .auth0-lock-header-logo {
    max-height: 58px !important;
    height: auto !important;
}

.auth0-lock-custom-icon {
    max-width: 16px !important;
    max-height: 16px !important;
}

.auth0-lock.auth0-lock .auth0-lock-name {
    font-size: 18px !important;
    line-height: normal !important;
    white-space: normal !important;
}
/*--- Auth0 login theme END ---*/

/*- for soem reason this css rule is not compiled by sass*/
.x-btn-over .x-btn-icon .hc-fa-icon, .x-btn-over .hc-user-avatar {
    filter: brightness(85%);
}
