﻿@import url("https://use.typekit.net/ujg2uxj.css");

body {
    background-color: var(--gray-lighter2,#f1f2f3);
    font-family: sofia-pro, sans-serif;
    color: var(--gray-darker2,#232e3a);
    font-size: 16px;
    box-sizing: border-box;
}

.cs-container {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

.content {
    background-color: var(--white,#ffffff);
    height: 100%;
    overflow: hidden;
    width: 100%;
    background-image: url("/images/welcome-back.svg");
    background-size: 200px;
    background-repeat: no-repeat;
    background-position-y: calc(100% + 34px);
    background-position-x: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.forms {
    flex-grow: 1;
}

.visual {
    display: none;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    margin: 40px;
    background-image: url("/images/foci-logo-kleur.svg");
    background-size: contain;
    background-repeat: no-repeat;
    min-width: 20%;
    max-width: calc(100% - 72px);
    height: 40px;
}

@media (min-width: 992px) {
    .content {
        max-width: 50%;
    }

    .visual {
        width: 50%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        background-image: url("/images/laptop-phone.png");
        background-size: cover;
        background-position: center;
    }
}

@media only screen and (orientation: landscape) and (max-width: 991px) {
    .logo {
        width: 40px;
        min-width: unset;
        max-width: unset;
        background-size: cover;
        background-position: 0 0;
        margin: 12px;
    }
}

.login-form,
.forgot-password-form {
    max-width: 480px;
    margin: 0 auto;
}

    .login-form form,
    .forgot-password-form form {
        margin: 0 40px;
    }

    .login-form.has-providers fieldset.email-password {
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: 0.4s all;
        transform: translateY(40px);
    }

    .login-form fieldset.email-password {
        opacity: 1;
        height: auto;
        overflow: visible;
        transition: 0.4s all;
        transform: unset;
    }

    .login-form.has-providers fieldset.login-options {
        opacity: 1;
        height: auto;
        overflow: visible;
        transition: 0.4s all;
        transform: unset;
    }

    .login-form fieldset.login-options h1 {
        display: none;
    }

    .login-form.has-providers fieldset.login-options h1 {
        display: block;
    }

    .login-form.has-providers fieldset.login-options button {
        margin-bottom: 8px;
    }

    .login-form fieldset.login-options {
        opacity: 0;
        height: 0;
        overflow: hidden;
        transition: 0.4s all;
        transform: translateY(-40px);
    }

h1 {
    font-size: 1.2rem;
}

label {
    font-size: 0.75rem;
    display: block;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 4px;
}

.form-group.checkbox {
    padding: 12px 12px 12px 0;
}

    .form-group.checkbox input:hover {
        cursor: pointer;
    }

    .form-group.checkbox label {
        display: inline-block;
    }

        .form-group.checkbox label:hover {
            cursor: pointer;
        }

    .form-group.checkbox:hover {
        cursor: pointer;
    }

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.email-password {
    margin-top: 16px;
}

input[type="email"],
input[type="password"] {
    padding-left: 12px;
    height: 48px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid var(--gray-lighter1,#c8cbce);
    box-sizing: border-box;
    border-radius: var(--global-radius, 3px);
    font-family: sofia-pro, sans-serif !important;
    font-weight: 300;
}

input:focus {
    outline: none;
    border: 1px solid var(--color-secondary, #1053d6);
    transition: 0.24s border;
}

button:focus {
    outline: none;
    transition: box-shadow .24s ease-in-out .1s;
    box-shadow: 0 0 0 1px #1053d6;
}

.checkbox > input:focus + label {
    color: #1053d6;
    transition: color .24s ease-in-out .1s;
}

.button,
.text-button {
    font-size: 16px;
    line-height: 1rem;
    border: none;
    font-family: sofia-pro, sans-serif;
    font-weight: 600;
}

    .button:hover {
        opacity: 0.9;
        transition: 0.24s opacity;
        cursor: pointer;
    }

.text-button {
    background-color: var(--white, white);
    color: var(--gray, #a8abae);
    text-decoration: underline;
    padding: 12px 12px 12px 0;
}

    .text-button:hover {
        color: var(--gray-darker2, #232e3a );
        transition: 0.24s color;
        cursor: pointer;
    }

    .text-button:focus {
        box-shadow: none;
        color: #1053d6;
        transition: all .24s ease-in-out .1;
    }

.button {
    background-color: var(--color-primary, #27e0ae);
    color: var(--white, white);
    padding: 12px;
}

    .button span {
        margin-right: 12px;
    }

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.identity-provider-button,
#manual-login-button {
    background-color: var(--white, white);
    border-radius: var(--global-radius, 3px);
    border: 1px solid var(--gray-lighter2, #f4f5f6);
    box-sizing: border-box;
    color: var(--gray-darker2, #232e3a );
    display: flex;
    font-family: sofia-pro, sans-serif;
    font-size: 0.9rem;
    font-size: 1rem;
    height: 48px;
    line-height: 2.8rem;
    padding: 0;
    text-align: left;
    width: 100%;
}

.has-providers .identity-provider-button .icon.AzureAd {
    width: 48px;
    height: 48px !important;
    background-image: url("/images/azure-ad-icon.png");
    background-size: cover;
    margin: 0 !important;
}

.has-providers .identity-provider-button .icon.Adfs {
    width: 48px;
    height: 48px !important;
    background-image: url("/images/adfs-icon@2x.png");
    background-size: cover;
    margin: 0 !important;
}

.has-providers .identity-provider-button .icon.Saml2 {
    width: 48px;
    height: 48px !important;
    background-image: url("/images/saml2-icon.png");
    background-size: cover;
    margin: 0 !important;
}

.has-providers .identity-provider-button .icon.SuccessFactors {
    width: 48px;
    height: 48px !important;
    background-image: url("/images/sf-icon@2x.png");
    background-size: cover;
    margin: 0 !important;
}

.identity-provider-button .name,
#manual-login-button .name {
    height: 48px;
    display: inline-block;
    flex-grow: 1;
}

.identity-provider-button i.fal,
#manual-login-button i.fal {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    text-align-last: center;
    line-height: 2.8rem;
}

.identity-provider-button:hover,
#manual-login-button:hover {
    box-shadow: 0 10px 20px var(--box-shadow-rgba, rgba(0, 10, 5, 0.08));
    transition: 0.24s box-shadow;
    cursor: pointer;
}

.forgot-password-form {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.content.forgot .forgot-password-form {
    opacity: 1;
    height: auto;
    overflow: visible;
    transition: 0.4s all;
    transform: translateY(0);
}

.content.forgot .login-form {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: 0.4s all;
    transform: translateY(40px);
}

.content .forgot-password-form {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: 0.4s all;
    transform: translateY(-40px);
}

.content .login-form {
    opacity: 1;
    height: auto;
    overflow: visible;
    transition: 0.4s all;
    transform: translateY(0);
}

.alert {
    margin-top: -38px;
    margin-bottom: 16px;
    opacity: 0;
}

    .alert.show {
        margin-top: 16px;
        opacity: 1;
        transition: margin-top 0.24s ease-in-out, opacity 0.24s ease-out 0.24s;
    }

.alert-error i {
    color: var(--color-warning, orange);
    margin-right: 8px;
}

.alert-success i {
    color: var(--color-primary, #27e0ae);
    margin-right: 8px;
}
