﻿
/*All of the SSO forms content*/
.sso-content {
    width: 100%;
}


    /*Page title*/
    .sso-content .page-header-placeholder {
        margin: -15px 0 10px 0;
    }

    .sso-content .sso-page-header {
        text-transform: uppercase;
        font-weight: 700;
        color: black;
        font-size: 50px;
        margin-bottom: 20px;
        text-align:center;
    }

    .sso-content .sso-page-header_small {
        text-transform: uppercase;
        font-weight: 600;
        color: black;
        font-size: 28px;
        margin-bottom: 10px;
        text-align: center;
        margin-top: 10px;
    }


.sso-page-headertext_small {
    color: black;
    font-size: 2em;
}

    /*form controls (textbox etc)*/
    .sso-content input[type=text],
    .sso-content input[type=password],
    .sso-content select {
        border: none;
        height: 54px;
        box-shadow: none;
        width: 100%;
        display: block;
        width: 100%;
        padding: 0.375rem 0.75rem;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        background-clip: padding-box;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 10px;
        position: relative;
        border: 1px solid;
        border-color: grey;
        border-radius: 5px;
    }

        .sso-content input[type=text].input-validation-error,
        .sso-content input[type=password].input-validation-error {
            padding-right: calc(1.5em + 0.75rem);
            background-image: url('../images/forms/exclamation.svg');
            background-repeat: no-repeat;
            background-position: right calc(0.375em + 0.1875rem) center;
            background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
        }


            .sso-content input[type=text].input-validation-error:focus,
            .sso-content input[type=password].input-validation-error:focus {
                border-color: #dc3545;
                box-shadow: 0 0 0 0.2rem #dc3545;
                box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
            }

    .sso-content input[type=text]:not(.readonly):focus,
    .sso-content input[type=password]:focus {
        color: #495057;
        background-color: #fff;
        border-color: transparent;
        outline: 0;
        box-shadow: inset 0 1px 1px #000000, 0 0 0 0.05rem #c3c3c3;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.05rem rgba(195, 195, 195, 0.5);
    }

    .sso-content .readonly:focus,
    .sso-content .readonly:focus-visible {
        outline: none;
    }

    .sso-content input[type=checkbox], input[type=radio] {
        box-sizing: border-box;
        padding: 0;
    }

    .sso-content .dropdowncontainer {
        display: flex
    }

.readonly {
    background-color: #000000 !important;
    background-color: rgba(0, 0, 0, 0.09) !important;
    border: 1px solid;
    border-color: black;
    height: 54px;
}

.dob {
    display: flex;
}

.required:after {
    content: "*";
    color: red;
    margin-left: 5px; 
    font-size: 1.2em; 
    vertical-align: middle; 
    position:absolute;
    /* top: 50%; */
    left: 89%;
    transform: translateY(-226%);
}

.required-select:after {
    transform: translateY(-205%);
}

.disabled-button {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}


/*Fieldset = placeholder for control + label*/

.sso-content .fieldset {
    width: 100%;
    margin-bottom: 1rem;
    margin-left: 5px;
}

    .sso-content .fieldset label {
        text-transform: uppercase;
        font-size: 16px;
        line-height: normal;
        letter-spacing: normal;
    }

    .sso-content .fieldset .optional:after {
        content: " (optionnel)";
        text-transform: uppercase;
        font-size: 12px;
        color: #6c757d !important;
    }


/*button + placeholder*/
.sso-content .defaultButton {
    display: flex;
    height: 54px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    position: relative;
    align-self: stretch;
    width: 100%;
    background-color: #0033a0;
    text-decoration: none;
    margin-top: -1px;
    font-family: "ff-good-headline-web-pro-con", Helvetica;
    font-weight: 500;
    color: white;
    font-size: 18px;
    letter-spacing: 0.55px;
    line-height: 22px;
    white-space: nowrap;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.buttonArea {
    background: transparent;
    text-align: right;
    margin: 20px 0 20px 0;
}



.sso-content .backlink {
    float: left;
}




/*Profile edit pencils positioning*/
.relative_position {
    position: relative;
}

.absolute-position {
    position: absolute;
    top: 5px;
    right: 20px;
}

/*Profile group headers*/
.group-heading,
.group-heading-edit {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.width90 {
    width: 90%;
}

.width10 {
    width: 10%;
}

.right {
    float: right;
}

.pro6pp-err {
    background-color: #f2dede !important;
    border-color: #b94a48 !important;
}

.input-validation-error {
    background-color: #f2dede !important;
    border-color: #b94a48 !important;
}

/*Mobile*/
@media (max-width: 600px) {
    .backlink {
        width: 100%;
    }

    #LoginButtons {
        display: flex;
        /* justify-content: space-between; */
        flex-direction: column-reverse;
    }

    .defaultButton {
        margin-top: 10px;
        min-height: 40px;
        padding: 0 !important;
        text-align: center;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .sso-content .sso-page-header_small {
        font-size: 34px;
        text-wrap: auto;
    }

    .sso-page-headertext_small {
        font-size: 1.3em;
        text-wrap: auto;
    }

}
