﻿/*This is the new login stylesheet starting with 1.25.0*/

html, body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: #1bb9da;
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    font-size: 14px;
    color: #333333;
    position: fixed; /* prevent scroll or bounce effect on ios */
}

.content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100vw - 20px);
}

#login_container {
    box-sizing: border-box;
    max-width: calc(100vw - 20px);
    width: 400px;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.1);
    padding: 50px;
    z-index: 2;
    transition:width linear 0.1s;
}

    #login_container.abc_login #header_message {
        font-size: 14px;
    }
    #login_container.abc_login #login_button {
        padding:12px 16px;
        width: 125px;
    }

    #login_container.abc_login #login_button.disabled {
        text-align: left;
    }

    #login_container #header_logo {
        width: 100%;
        height: 100px;
        max-height: 100px;
        background-color: #f6f6f6;
        border: dashed 2px #ccc;
        font-size: 20px;
        font-weight: bolder;
        color: rgba(0,0,0,0.5);
        text-align: center;
        vertical-align: middle;
        line-height: 100px;
        margin: auto;
        margin-bottom: 16px;
    }
    #login_container #header_logo.have_image{
        background-color: #ffffff;
        border: none;
    }
    #header_logo img{
        height:100%;
    }
    #login_container.website_selector {
        width:500px;
        padding-bottom:10px;
    }
    #login_container.website_selector ul {
        padding: 0 10px;
        max-height: 300px;
        overflow-y: auto;
        user-select: none;
    }
    #login_container.website_selector li {
        list-style: none;
        border: 1px solid #ccc;
        border-radius: 10px;
        height: 40px;
        padding: 20px;
        position: relative;
        user-select:none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    #login_container.abc_login li {
        height: unset;
    }

    #login_container.website_selector li:not(:first-of-type) {
        margin-top: 20px;
    }
    #website_selector_container .website_name{
        display: block;
        font-weight: bold;
        font-size: 15px;
        margin-bottom: 4px;
    }
    #website_selector_container .website_key {
        margin-left:20px;
    }
    .abc_login  #website_selector_container .website_key {
        margin-left:0;
    }
    #website_selector_searchbox {
        font-size: 16px;
        border: 1px solid #ccc;
        padding: 10px;
        height: 40px;
        margin-left: 10px;
        border-radius: 10px;
    }
    #login_container.twofactor_setup_screen {
        padding-bottom: 30px;
    }

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset;
}

#email, #password, #twofactor_code, #main_email {
    width: 209px;
    height: 50px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: solid 1px #e0e3e5;
    border-left: none;
    padding: 0 19px;
    color: #333333;
}

    #email::-webkit-input-placeholder, #password::-webkit-input-placeholder, #twofactor_code::-webkit-input-placeholder,
    #email::-moz-placeholder, #password::-moz-placeholder, #twofactor_code::-moz-placeholder,
    #email:-ms-input-placeholder, #password:-ms-input-placeholder, #twofactor_code:-ms-input-placeholder,
    #email:-moz-placeholder, #password:-moz-placeholder, #twofactor_code:-moz-placeholder {
        color: #929699;
    }

#email_container, #main_email_container {
    display: flex;
    margin-bottom: 20px;
}

#password_container, #twofactor_code_container {
    display: flex;
    margin-bottom: 26px;
}

#twofactor_code::-webkit-inner-spin-button, #twofactor_code::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:focus {
    outline: none;
}

.input_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: solid 1px #e0e3e5;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

    .input_icon svg {
        fill: #e0e3e5;
    }

#password_icon svg {
    transform: rotate(-45deg);
}

.focus .input_icon, .focus input {
    border-color: #9b9b9b !important;
}

.focus svg {
    fill: #9b9b9b !important;
}

.error {
    border-color: #f9402d !important;
}

    .error svg {
        fill: #f9402d !important;
    }

#disclaimer, #copyright {
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    font-size: 11px;
    color: #ffffff;
    line-height: 1.67;
    text-align: center;
    margin-top: 20px;
    width: 400px;
    max-width: 100%;
}

    #disclaimer a, #copyright a {
        color: #ffffff;
    }

#avatar {
    position: absolute;
    top: -90px;
    left: calc(50% - 90px);
    z-index: -1;
    transition: transform ease 1s;
    transform: scale(0.6) translateY(-50px);
    pointer-events: none;
    user-select: none;
}

#avatar_hands {
    position: absolute;
    top: -15px;
    left: calc(50% - 121px);
}

#avatar_eye_whites {
    position: absolute;
    top: 162px;
    left: 36px;
}

#avatar_eyes {
    position: absolute;
    top: 183px;
    left: 62px;
    transition: transform ease 0.3s;
}

#avatar_head {
    position: absolute;
}

#avatar_blink {
    position: absolute;
}

#helmet {
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: 100;
}

.hidden {
    display: none !important;
}

.login-btn-center {
    margin-left: 30%;
}

.login_options, #twofactor_verify_container, #twofactor_auth_container, #sso_auth_container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}
#sso_auth_container {
    display: inline-block;
}

.rtl-lang input, .rtl-lang .login_options, .rtl-lang [insidelabel], .rtl-lang #maintenanceMessage {
    direction: rtl;
}

#maintenanceMessage {    
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    font-size: 15px;
    text-align: center;
    color: #333333;
}

    #maintenanceMessage .maintTitle {
        font-weight: bold;
        color: #ff0e3e;
    }

#ssoMessageText {
    text-align: center;
}

#autoLoginMessage {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 100%;
    color: #fff;
    font-size: 18px;
}

.maintTitleLarge {
    font-size: 22px;
    font-weight: 800;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.42px;
    text-align: center;
    color: #333333;
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    box-sizing: border-box;
    margin: 0 10px 10px 10px !important;
    /*margin-top: 0px !important;*/
}

::-webkit-input-placeholder {
    text-transform: capitalize;
}

:-moz-placeholder {
    text-transform: capitalize;
}

::-moz-placeholder {
    text-transform: capitalize;
}

:-ms-input-placeholder {
    text-transform: capitalize;
}

#login_button, #forgot_button, #twofactor_verify_login_button, #twofactor_auth_login_button, #twofactor_enter_code_button,
#website_selector_container .abcConnectButton, #goBackToAbcLink {
    width: 100px;
    border-radius: 8px;
    background-color: #1bb9da;
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    font-size: 18px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    border: none;
    outline: none;
    padding: 12px 10px 12px 10px;
    text-transform: capitalize;
    white-space: nowrap;
}
.abc_login #website_selector_container .abcConnectButton {
    width: unset;
    padding: 12px 18px 12px 18px;
}


    #login_button:hover, #forgot_button:hover, #twofactor_verify_login_button:hover,
    #twofactor_auth_login_button:hover, #twofactor_enter_code_button:hover {
        background-color: #5CCBE2;
    }
    #login_button:active, #forgot_button:active, #twofactor_verify_login_button:active,
    #twofactor_auth_login_button:active, #twofactor_enter_code_button:active {
        background-color: #169DB9;
    }
    #login_button::first-letter {
        text-transform: capitalize;
    }

#autoLoginMessage .loadingAnimation {
    position: absolute;
    margin-top: 70px;
    transform: translateX(-15px);
}
#login_button.disabled {
    opacity: 0.5;
    pointer-events: none;
    padding-right: 20px;
}

    #login_button.disabled::after, #autoLoginMessage .loadingAnimation::after {
        content: "";
        position: absolute;
        border: 6px solid #ffffff;
        border-top: 6px solid transparent;
        border-radius: 50%;
        width: 12px;
        height: 12px;
        animation: spin 2s linear infinite;
        margin-left: 10px;
    }

.rtl-lang #login_button.disabled {
    padding-left: 40px;
    padding-right: 10px;
}
    .rtl-lang #login_button.disabled::after, .rtl-lang #autoLoginMessage .loadingAnimation::after {
        margin-left: 0;
        margin-right: 5px;
    }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#twofactor_enter_code_button {
    width: 140px;
    margin-top: 32px;
    margin-left: 80px;
}

#twofactor_auth_container, #sso_auth_container {
    justify-content: center;
}

#twofactor_auth_login_button {
    width: 128px;
}

#forgot, #back_to_login, #forgot_back, #twofactor_verify_container a, #twofactor_reset_back_button {
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #929699;
    cursor: pointer;
    user-select: none;
}
#forgot {
    text-align: left !important;
}

    #forgot:hover, #back_to_login:hover, #forgot_back:hover, #twofactor_verify_container a:hover, #twofactor_reset_back_button:hover {
        color: #1bb9da;
    }

#logo {
    margin-top: 33px;
    text-align: center;
}

#header {
    margin: auto;
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.42px;
    text-align: center;
    color: #333333;
}

#header_message {
    margin-bottom: 16px;
    text-align: center;
    font-size: 15px;
    color: #333333;
}

#footer_message {
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left;
    min-height: 5px;
    font-size: 14px;
}

#inside_holder .inside_chatPane {
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.25);
}

.incidentHolder {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    width: 700px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    z-index: 900000;
}

.incidentContent {    
    color: #333333;
    padding: 10px;
    margin-left: auto;
    box-sizing: border-box;
    background: white;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    animation: slideIn 1s ease-out;
}

    .incidentContent .close-icon {
        position: absolute;
        right: 10px;
        top: 10px;
        cursor: pointer;
        font-size: 23px;
        width: 20px;
        height: 20px;
        text-align: center;
        line-height: 18px;
        color: #333333;
    }

    .incidentContent h2 {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

.post-icon {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 34px;
    height: 24px;
    display: inline-block;
    margin-right: 10px;
}

    .post-icon img {
        height: 100%;
    }

.post-message-desc {
    border-radius: 5px;
    background-color: #f9f9f9;
    border: 1px solid #d6d6d6;
    padding: 11px 15px;
    min-height: 15px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    line-height: 15px;
}
.post-message-status {
    text-transform: capitalize;
}

    .post-message-status img {
        height: 17px;
        display: inline-block;
        vertical-align: middle;
    }

.post-message-date {
    margin-left: 15px;
    color: #9b9b9b;
    margin-top: 10px;
    line-height: 12px;
    text-align: right;
    font-size: 11px;
}

h2 {
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    font-weight: normal;
}

@keyframes slideIn {
    0% {
        transform: translateY(100%)
    }

    100% {
        transform: translateY(0%)
    }
}

/* embedded iframe in minified mode (eg. salesforce sidebar extension) */
#embeddedUI {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

    #embeddedUI img, #embeddedUI svg {
        display: block;
        margin-bottom: 14px;
        cursor: pointer;
        max-width: 100%;
    }

    #embeddedUI span {
        font-size: 60px;
        text-align: center;
        cursor: pointer;
        color: #1bbada;
    }

        #embeddedUI span.button {
            height: 60px;
            vertical-align: middle;
            line-height: 60px;
        }

            #embeddedUI span.button:hover {
                background: #1bbada;
                color: white;
            }

        #embeddedUI span.frameOpen {
            white-space: nowrap;
            vertical-align: middle;
            cursor: pointer;            
            font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
            font-size: 16px;
            color: #333333;
            top: 60px;
            left: 20px;
            position: absolute;
            background: transparent;
        }

.checkMark {
    margin-left: 102px;
}

#abc_connect_success .checkMark, #abc_connect_success .exclaimMark {
    margin: auto;
    display: block;
    margin-bottom: 20px;
}

.passwordResetMessage_01, .passwordResetMessage_02 {
    text-align: center;
    color: #333333;
    padding: 0 14px;
}

.passwordResetMessage_02 {
    font-weight: normal;
}

.redirect-to-login {
    margin-top: 20px;
    text-align: center
}
.redirect-to-login #back_to_login{
    margin-top: 20px;
}


/* #region Inside Checkbox */

.inside-checkbox {
    outline: 0;
    left: 0;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 20px;
    margin-right: 28px;
}

    .inside-checkbox:after {
        content: '';
        width: 15px;
        height: 15px;
        position: absolute;
        border: 2px solid #666666;
        border-radius: 2px;
        left: 0;
    }

    .inside-checkbox span {
        color: #333333;
        font-size: 14px;
        font-weight: normal !important;
        position: relative;
        left: 28px;
        white-space: nowrap;
        text-align: left;
        user-select: none;
    }

    .inside-checkbox:focus {
        border: 1px solid #4d90fe;
    }

        .inside-checkbox:focus:after {
            border: 1px solid #4d90fe;
        }

    .inside-checkbox:hover {
        border-collapse: collapse;
    }

    .inside-checkbox.active {
        border-color: #1bb9da;
        color: #1bb9da;
    }

        .inside-checkbox.active:after {
            border-color: #1bb9da;
        }

        .inside-checkbox.active:before {
            font-family: 'icoinside';
            content: "\e9a9";
            position: absolute;
            left: 0;
            top: -3px;
        }

/* #endregion */

/*#region Two Factor Auth*/

#twofactor_qrcode {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
}

#twofactor_rememberme_container {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.43;
    color: #333333;
}

#twofactor_reset_emailauth_container hr {
    border: none;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.13);
}

#twofactor_reset_emailauth {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

#twofactor_reset_emailauth_msg {
    padding-left: 8px;
}

#twofactor_qrcode_unabletoscan {
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
    color: #1bb9da;
}

#twofactor_qrcode_manualcode_container {
    padding: 8px;
    margin-bottom: 16px;
    text-align: center;
}

#twofactor_qrcode_manualcode {
    font-weight: bold;
}

/*#endregion*/

/*#region Media Queries*/

@media only screen and (max-width: 79px) {
    .content {
        display: none;
    }

    #embeddedUI, #embeddedUI img, #embeddedUI svg, #embeddedUI span {
        display: block !important;
    }

    #embeddedUI {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

        #embeddedUI span {
            font-size: 60px;
            text-align: center;
            cursor: pointer;
            color: #1bbada;
            height: 40px;
        }
            #embeddedUI span img.insideBrandLogo {
                max-height: 36px;
                width: 100%;
            }

    #inside_holder {
        display: none !important;
    }

    body {
        background-color: white;
    }
}

@media only screen and (max-width : 79px) {
    body * {
        display: none !important;
    }

    #embeddedUI, #embeddedUI img, #embeddedUI svg, #embeddedUI span {
        display: block !important;
    }

        #embeddedUI .frameOpen {
            display: none !important;
        }
}

@media only screen and (min-width : 80px) {
    #embeddedUI .frameClosed {
        display: none;
    }
}

@media only screen and (max-height: 760px) {
    .content.twofactor_setup_screen {
        top: 80%;
    }
}
 @media only screen and (max-width: 370px) {
    #login_container {
        padding: 40px 25px 25px 25px;
    }
 }

@media only screen and (max-width: 320px) {
    #disclaimer {
        font-size: 9px;
    }

    .login_container, .forgot_container {
        padding: 30px;
    }

    #avatar {
        left: calc(50vw - 94px);               
    }

    #avatar_hands {
        left: calc(50vw - 129px);
    }
}


@media only screen and (min-width : 80px) and (max-width : 480px) {
    
}


 #website_selector_container .website_info > span:last-child{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
 }
/* #website_selector_container .abcConnectButton{
    position:absolute;
    right:15px;
    bottom:15px;
} */
/* thin scroll*/
.thinscroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.thinscroll::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 4px;
}

.thinscroll::-webkit-scrollbar-track {
    background-color: #f2f2f2;
}

.thinscroll.notrack::-webkit-scrollbar-track {
    background: none;
}
/* thin scroll end*/
#goBackToAbcLink {
    text-decoration: none;
    margin: auto;
    display: block;
    width: 300px;
    margin-bottom: 10px;
    margin-top: 20px;
}
#sso_auth_login_button {
    border: 1px solid #1BB9DA;
    background-color: #ffffff;
    color: #1BB9DA;
    text-decoration: none;
    margin: auto;
    display: block;
    width: 100%;
    margin-bottom: 16px;
    font-family: "Nunito Sans", Helvetica, Sans-serif, serif;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    padding: 12px 0 12px 0;
    border-radius:8px;
}
    #sso_auth_login_button:hover {
        border-color: #5CCBE2;
        color: #5CCBE2;
    }

    #sso_auth_login_button:active {
        border-color: #169DB9;
        color: #169DB9;
    }
#contToInsideLink, #sso_logout_button {
    display: block;
    margin: auto;
    color: rgba(0,0,0,0.5);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor:pointer;
}
#sso_logout_button {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 16px;
    color: #666666
}
#abc_connect_success .nextStepMessage {
    display: block;
    margin: auto;
    text-align: center;
}
input::-ms-clear, input::-ms-reveal {
    display: none;
}
#sso_seperator_container {
    display: flex;
    margin-bottom:14px;      
}
#sso_seperator_container div {
    border: 1px solid #E7E7E7;
    width: 100%;
    margin: auto
}
    #sso_seperator_container span {
        font-family: 'Nunito Sans', serif;
        font-style: normal;
        font-weight: bold;
        font-size: 14px;
        line-height: 19px;
        /* identical to box height */
        text-align: center;
        color: #929699;
        padding:0 10px 0 10px;
    }
/*#endregion*/