﻿/*** general-items ***/

:root {
    --color-purple-3: #642c6c;
    --color-purple-4: #B093B4;
    --color-purple-5: #D2C0D3;
    --color-purple-6: #F0EAF0;
    --color-dark-grey-1: #0B0C0C;
    --color-light-grey-2: #555858;
    --color-light-grey-3: #999E9F;
    --color-light-grey-5: #D1D3D4;
    --color-error: #E70000;
    --color-white: #fff;
    --color-black: #000;
    --mobile-input-and-buttons-width: 345px;
    --input-and-buttons-width: 380px;
    --googleSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/google.svg');
    --googleWhiteSvgPreload: url('https://strphb2cprod.blob.core.windows.net/cc2/google-white.svg');
    --googleWhiteSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/google-white.svg');
    --facebookSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/facebook.svg');
    --facebookWhiteSvgPreload: url('https://strphb2cprod.blob.core.windows.net/cc2/facebook-white.svg');
    --facebookWhiteSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/facebook-white.svg');
    --phoneSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/phone.svg');
    --phoneWhiteSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/phone-white.svg');
    --phoneWhiteSvgPreload: url('https://strphb2cprod.blob.core.windows.net/cc2/phone-white.svg');
    --emailSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/email.svg');
    --emailWhiteSvg: url('https://strphb2cprod.blob.core.windows.net/cc2/email-white.svg');
    --emailWhiteSvgPreload: url('https://strphb2cprod.blob.core.windows.net/cc2/email-white.svg');
    --otp-digits: 6;
    --otc-ls: 2ch;
    --otc-gap: 1.25;
    --_otp-bgsz: calc(var(--otc-ls) + 1ch);
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('https://strphb2cprod.blob.core.windows.net/cc2/open-sans-v20-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('https://strphb2cprod.blob.core.windows.net/cc2/open-sans-v20-latin-700.woff2') format('woff2');
}

body {
    background-color: var(--color-white);
    color: var(--color-dark-grey-1);
    font-family: "Open Sans", sans-serif;
    margin: 0;
}

input, select, textarea, button {
    font-family: inherit;
}

#api {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#api .heading {
    margin-top: 85px;
    width: 100%;
}

#api .heading h1 {
    margin: 0;
    font-weight: 700;
    line-height: 62px;
    font-size: 44px;
    font-family: sans-serif;
}

#api .claims-provider-list-buttons {
    order: 3;
}

#api .divider {
    order: 2;
}

#api .localAccount {
    order: 1;
    display: flex;
    flex-direction: column-reverse;
}

#api .entry {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#api input {
    display: block;
    margin-top: 0.5rem;
    margin-left: auto;
    margin-right: auto;
}

#attributeVerification,
#attributeList .attr,
#attributeVerification .verificationControlContent {
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media only screen and (max-width: 599px) {
    #api .heading {
        width: auto;
        margin-top: 55px;
    }

    #api .heading h1 {
        font-size: 28px;
        line-height: 36px;
    }

}

#GoogleExchange:before,
#PasswordResetUsingGoogleExchange:before {
    content: var(--googleSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

/* It is required to preload hover image */
#GoogleExchange:after,
#PasswordResetUsingGoogleExchange:after {
    content: var(--googleWhiteSvgPreload);
    position: absolute;
    top: -9999rem;
    left: -9999rem;
    opacity: 0;
}

#GoogleExchange:hover:before,
#PasswordResetUsingGoogleExchange:hover:before {
    content: var(--googleWhiteSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

#FacebookExchange:before,
#PasswordResetUsingFacebookExchange:before {
    content: var(--facebookSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

/* It is required to preload hover image */
#FacebookExchange:after,
#PasswordResetUsingFacebookExchange:after {
    content: var(--facebookWhiteSvgPreload);
    position: absolute;
    top: -9999rem;
    left: -9999rem;
    opacity: 0;
}

#FacebookExchange:hover:before,
#PasswordResetUsingFacebookExchange:hover:before {
    content: var(--facebookWhiteSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

#PasswordResetUsingPhoneNumberExchange:before,
#PhoneNumberExchange:before {
    content: var(--phoneSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

/* It is required to preload hover image */
#PasswordResetUsingPhoneNumberExchange:after,
#PhoneNumberExchange:after {
    content: var(--phoneWhiteSvgPreload);
    position: absolute;
    top: -9999rem;
    left: -9999rem;
    opacity: 0;
}

#PasswordResetUsingPhoneNumberExchange:hover:before,
#PhoneNumberExchange:hover:before {
    content: var(--phoneWhiteSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

#PasswordResetUsingEmailAddressExchange:before,
#EmailExchange:before,
#PasswordResetUsingConnectedEmailAddressExchange:before {
    content: var(--emailSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

/* It is required to preload hover image */
#PasswordResetUsingEmailAddressExchange:after,
#EmailExchange:after,
#PasswordResetUsingConnectedEmailAddressExchange:after {
    content: var(--emailWhiteSvgPreload);
    position: absolute;
    top: -9999rem;
    left: -9999rem;
    opacity: 0;
}

#PasswordResetUsingEmailAddressExchange:hover:before,
#EmailExchange:hover:before,
#PasswordResetUsingConnectedEmailAddressExchange:hover:before {
    content: var(--emailWhiteSvg);
    padding-right: 0.4rem;
    padding-top: 0.2rem;
}

h3 {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
}

p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

a {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
    color: var(--color-dark-grey-1);
    text-decoration: underline;
}

input[type=text],
input[type=password],
select[id=countryCode] {
    border: 1px solid var(--color-light-grey-3);
    box-sizing: border-box;
    border-radius: 5px;
    width: 385px;
    height: 40px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-black);
    padding-left: 10px;
}

input[type=text],
input[type=password] {
    padding-top: 14px;
    padding-bottom: 15px;
}

input[type=text]:hover,
input[type=password]:hover,
select[id=countryCode]:hover {
    border-color: var(--color-purple-3);
    box-shadow: 0.0625rem 0.0625rem var(--color-purple-5), -0.0625rem -0.0625rem var(--color-purple-5);
    color: var(--color-dark-grey-1);
}

input[type=text]:focus,
input[type=password]:focus,
select[id=countryCode]:focus,
input[type=text]:focus-visible,
input[type=password]:focus-visible,
select[id=countryCode]:focus-visible {
    border: 0.0625rem solid var(--color-light-grey-2);
    box-shadow: 0 0 1rem var(--color-purple-5);
    color: var(--color-dark-grey-1);
    outline: none;
}

input[type=checkbox] {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-light-grey-3);
    background-color: var(--color-white);
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-appearance: none;
    outline: none;
    margin-right: 10px;
}

input[type=checkbox]:checked {
    background-color: var(--color-light-grey-3);
}

.hidden {
    display: none;
}

.error.itemLevel {
    color: var(--color-error);
}

.error.pageLevel {
    color: var(--color-error);
    text-align: center;
}

.verificationErrorText {
    color: var(--color-error);
}

@media only screen and (max-width: 599px) {
    input[type=text],
    input[type=password],
    select[id=countryCode] {
        max-width: var(--mobile-input-and-buttons-width);
    }
}

.options {
    display: flex;
    flex-direction: column;
}

/*** buttons-style ***/
#LinkFacebookExchange,
#LinkGoogleExchange,
#UnlinkFacebookExchange,
#UnlinkGoogleExchange,
button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--input-and-buttons-width);
    height: 44px;
    background: var(--color-purple-3);
    border-radius: 5px;
    color: var(--color-white);
    cursor: pointer;
    border: 0;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    outline: none;
}

#LinkFacebookExchange:hover,
#LinkGoogleExchange:hover,
#UnlinkFacebookExchange:hover,
#UnlinkGoogleExchange:hover,
button:hover {
    color: var(--color-light-grey-5);
    background-color: var(--color-purple-4);
    border-color: var(--color-purple-4);
}

#LinkFacebookExchange:focus,
#LinkGoogleExchange:focus,
#UnlinkFacebookExchange:focus,
#UnlinkGoogleExchange:focus,
button:focus {
    color: var(--color-white);
    background-color: var(--color-purple-3);
    border-color: var(--color-purple-3);
}

.buttons > #cancel,
button.secondary {
    margin-top: 1rem;
    color: var(--color-purple-3);
    background-color: transparent;
    border: 2px solid var(--color-purple-3);
    box-sizing: border-box;
    border-radius: 5px;
}

.buttons > #cancel:hover,
button.secondary:hover {
    color: var(--color-light-grey-5);
    background-color: var(--color-purple-4);
    border-color: var(--color-purple-4);
}

button[aria-disabled=false]:hover {
    color: var(--color-light-grey-5);
    background-color: var(--color-purple-4);
    border-color: var(--color-purple-4);
}

button[aria-disabled=false]:focus {
    color: var(--color-white);
    background-color: var(--color-purple-3);
    border-color: var(--color-purple-3);
}

button[aria-disabled=true] {
    background-color: var(--color-light-grey-5);
    color: var(--color-white);
}

.accountButton {
    color: var(--color-purple-3);
    background-color: transparent;
    border: 2px solid var(--color-purple-3);
    box-sizing: border-box;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.accountButton:hover {
    color: var(--color-white);
    background: var(--color-purple-3);
    border-color: var(--color-purple-3);
}

#forgotPassword {
    font-weight: normal;
    margin-top: 2em;
    color: var(--color-light-grey-3);
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 599px) {
    button {
        width: var(--mobile-input-and-buttons-width)
    }

    #UnlinkFacebookExchange,
    #UnlinkGoogleExchange {
        width: calc(var(--mobile-input-and-buttons-width) - 1rem);
    }
}

/*** cc-specific-items ***/
.container {
    width: 100%;
    max-width: 1440px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
}

.login-content {
    display: flex;
    flex-direction: column;
    width: var(--input-and-buttons-width);
    margin: 0 auto;
    padding-bottom: 90px;
}

.text-login-header-wrapper {
    margin-top: 85px;
    text-align: center;
}

.text-login-header {
    font-weight: 700;
    line-height: 24px;
    font-size: 1em;
    margin-bottom: 2em;
}

.text-login-details {
    max-width: 580px;
    font-weight: 400;
    line-height: 24px;
    font-size: 1em;
    margin-bottom: 3em;
}

@media only screen and (min-height: 768px) and (max-height: 1200px) and (min-width: 768px) and (max-width: 1200px) {
    .login-content {
        padding-bottom: 30px;
    }
}

.ph-company-logo {
    display: block;
}

.ph-company-logo-mobile {
    width: 60px;
    height: auto;
    display: none;
}

.cc-col {
    display: flex;
    flex-direction: column;
}

.cc-row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.content-center {
    justify-content: center;
    text-align: center;
    align-items: center;
}

.header-text-row {
    margin-top: 12px;
}

.align-center {
    align-items: center;
}

.content-header {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
}

.content-box {
    font-size: 16px;
    line-height: 21.79px;
    font-weight: 300;
    display: flex;
    margin-top: 70px;
}

.login-description {
    margin-top: 11px;
}

.login-description-wrapper {
    text-align: center;
}

.intro {
    display: block;
    max-width: 580px;
    margin-bottom: 40px;
}

@media only screen and (max-width: 599px) {
    .intro {
        max-width: 345px;
        margin-bottom: 20px;
    }
}

ul {
    list-style-type: none;
    padding: 0;
}

.attrEntry > .helpLink {
    display: none;
}

label[for=logonIdentifier],
label[for=password],
label[for=signInName] {
    color: var(--color-light-grey-2)
}

.rememberMe {
    display: flex;
    margin-top: 15px;
    align-items: center;
}

.entry {
    position: relative;
}

.entry-item {
    margin-top: 24px;
}

.buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#attributeVerification .buttons > button {
    margin-top: 16px;
}

#attributeVerification .buttons {
    margin-top: 14px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    width: var(--input-and-buttons-width);
}

.divider h2 {
    color: var(--color-light-grey-2);
    font-size: 1rem !important;
    font-weight: normal;
    order: 0 !important;
    text-transform: lowercase;
}

.divider::before {
    height: 1px;
    width: 100%;
    background-color: var(--color-light-grey-3);
    content: '';
    margin-right: 1.5rem;
}

.divider::after {
    height: 1px;
    width: 100%;
    background-color: var(--color-light-grey-3);
    content: '';
    margin-left: 1.5rem;
}

@media only screen and (max-width: 599px) {
    .login-content {
        padding-bottom: 60px;
        width: unset;
    }

    .ph-company-logo {
        display: none;
    }

    .ph-company-logo-mobile {
        display: block;
    }

    .text-login-header-wrapper {
        justify-content: center;
        align-items: center;
        margin-top: 55px;
    }

    .text-login-header-wrapper > .text-login-header {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
    }

    .text-login-header-wrapper > .text-login-details {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        width: var(--mobile-input-and-buttons-width);
    }

    .phoneNumber {
        text-align: center;
    }

    .language-selector {
        right: 21px;
        top: 48px;
    }

    .header-text-row {
        display: none;
    }

    .divider {
        width: var(--mobile-input-and-buttons-width);
    }

}

/*** cc-footer ***/
.login-footer-background {
    background-color: var(--color-purple-6);
    flex-grow: 1;
}

.login-footer {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.footer-block {
    width: 50%;
}

.footer-block.left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 440px;
}

.footer-left-content > h3 {
    margin: 0 0 14px 0;
}

.footer-left-content > button {
    margin-top: 25px;
}

.footer-block.right {
    max-height: 310px;
    overflow: hidden;
}

.footer-block.right img {
    max-height: 310px;
}

#register-button {
    margin: 30px 0 0 0;
}

.password-reset-options-wrapper {
    display: flex;
    flex-direction: column-reverse;
    border: 1px solid var(--color-light-grey-5);
    border-radius: 0.5rem;
    padding: 1rem;
}

.password-reset-options-wrapper .helper-text {
    margin-bottom: 2rem;
}

.password-reset-options-wrapper #PasswordResetUsingGoogleExchange {
    margin-bottom: 0.25rem;
}

@media only screen and (max-width: 599px) {
    .login-footer {
        height: 100%;
    }

    .footer-block {
        width: 100%;
    }

    .footer-left-content {
        text-align: center;
        align-items: center;
        padding-top: 40px;
    }

    .footer-left-content > h3 {
        margin: 0 0 11px 0;
        font-size: 20px;
        line-height: 28px;
    }

    #register-button {
        margin: 24px 0 40px 0;
    }

    .footer-block.right {
        display: none;
    }

    .password-reset-options-wrapper {
        align-items: center;
        padding: 1rem 0.5rem;
        margin: auto 0.5rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
    .login-footer {
        flex-direction: column;
    }

    .footer-block {
        width: 100%;
    }

    .footer-block.right {
        display: none;
    }
}

@media only screen and (max-height: 999px) and (max-width: 1024px) {
    .footer-block.right {
        display: none;
    }
}

@media only screen and (min-height: 1125px) {
    .footer-block.right {
        display: flex;
        overflow: hidden;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1259px) {
    .login-footer {
        flex-direction: column;
    }

    .footer-block {
        width: 100%;
    }

    .footer-left-content {
        text-align: center;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .footer-block.right {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 1300px) and (orientation: landscape) {
    .footer-block.right {
        display: none;
    }

    .login-footer {
        justify-content: center;
        margin-top: 20px;
    }
}

#simplemodal-container > .simplemodal-wrap {
    display: flex;
    align-items: center;
    color: white;
}

.languages-box {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
    margin: 0 15px;
}

.language-selector {
    right: 21px;
    top: 38px;
}

.social-photo {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-top: 5rem;
}