﻿.intro {
    display: none;
}

main.signup .box-placement li {
    padding-top: 0px;
}

main.aftersignup #attributeList {
    display: none;
}

div#api {
    width: 100%;
}

#api .heading h1 {
    margin: 0px;
}

#api .heading h1 {

    display: none;
}

#attributeList ul {
    padding-left: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.profil form #attributeList ul,
.passwordreset form #attributeList ul,
.signup form #attributeList ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profil form #attributeList ul {
    padding-bottom: 16px;
}

.profil .verificationErrorText.error:not(:empty):not([style*="display: none"]) {
    margin-bottom: 0;
}

.create p {
    margin-top: 24px;
}

.entry-item label,
.attrEntry label {
    font-family: "OpenSans";
    color: #161616;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

.entry-item input:has(~ .error.itemLevel[style*="display: block"]),
.attrEntry input:has(~ .error.itemLevel:not(:empty)[style*="display: block"]) {
    border-color: #BB121A;
}

.error.itemLevel,
#emailVerificationControl-reset_error_message,
#emailVerificationControl_error_message {
    color: #BB121A;
    /* Corps-de-texte/Petit/Regular */
    font-family: "OpenSans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
}

.error.itemLevel p {
    margin: 0px;
}

.error.itemLevel p::before,
.error.itemLevel:not(:has(p)).error.itemLevel:not(:empty)::before,
#emailVerificationControl-reset_error_message:not(:empty)::before,
#emailVerificationControl_error_message:not(:empty)::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('https://clientele-statique.solutions.hydroquebec.com/config/auth/prd/images/danger-plein.svg') no-repeat center center / contain;
    vertical-align: bottom;
    padding-right: 8px;
}

.verificationErrorText.error:not(:empty):not([style*="display: none"]) {
    margin-bottom: 16px;
}

.entry {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.box-placement li {
    list-style-type: none;
}

.tuile-compacte li {
    list-style-type: none;
}

.signuporsignin .box-placement ul:last-child {
    padding-bottom: 20px;
}

.signuporsignin .box-placement #attributeList ul:last-child {
    padding-bottom: 24px;
}

.signuporsignin {
    padding-bottom: 0 !important;
}

.box-placement #attributeList ul:last-child {
    padding-bottom: 16px;
}

.block-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    margin-bottom: 40px;
}

.block__title {
    color: var(--Texte-texte-primaire, #161616);
    font-family: var(--Styles-de-texte-Titre-4-Famille, Hydro-Quebec);
    font-size: var(--Styles-de-texte-Titre-4-TailleDeTexte, 20px);
    font-style: normal;
    font-weight: 500;
    line-height: var(--Styles-de-texte-Titre-4-Interlignage, 26px);
}

.divider {
    display: none;
}

.helpLink {
    display: none;
}

.reveal {
    height: 30px;
    width: 30px;
    margin-top: -46px;
    margin-right: 0;
}

.reveal:focus {
    background-color: none;
    border-color: none;
    box-shadow: none;
}

.reveal-container {
    width: calc(100% - 5px);
    display: flex;
    flex-direction: row-reverse;
}

.show-pw-button {
    position: absolute;
    cursor: pointer;
    color: #1b75bb;
    font-size: 2em;
    height: 30px;
    width: 30px;
    margin-top: -38px;
    border-radius: 8px;
}

.show-pw-button:focus-visible {
    outline: 2px solid #1224b8;
    outline-offset: -4px;
}

.visibility:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    background: url('https://clientele-statique.solutions.hydroquebec.com/config/auth/prd/images/visibility.svg') no-repeat center center / contain;
}

.visibility_off:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 5px;
    margin-top: 5px;
    background: url('https://clientele-statique.solutions.hydroquebec.com/config/auth/prd/images/visibility_off.svg') no-repeat center center / contain;
}

#forgotPassword {
    margin-top: 24px;
    margin-bottom: 8px;
    display: inline-block;
}

.working {
    display: none !important;
}


#emailVerificationControl-reset_success_message:not(:empty),
#emailVerificationControl_success_message:not(:empty) {
    display: block !important;
    padding-bottom: 24px;
}

.VerificationControl.emailVerificationControl_li {
    padding-top: 0;
}

/* masquer la section d'erreur dans le formulaire. On la copie au-dessus du formulaire via javascript. */
#api .error.pageLevel {
    display: none !important;
}

.error-container {
    display: flex;
    padding: 12px 16px;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;

    border-radius: 6px;
    border: 2px solid var(--Couleurs-Rouges-rouge-80, #BB121A);
    background: var(--Couleurs-Rouges-rouge-10, #F8E7E8);
}

/* Masquer la zone d'erreur si aucun message */
.error-container:not(:has(.error[style*="display: block"])),
.error-container:empty {
    display: none;
}

.error-container::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('https://clientele-statique.solutions.hydroquebec.com/config/auth/prd/images/danger-plein.svg') no-repeat center center / contain;
    vertical-align: top;
    flex-shrink: 0;
}

.error-container .error {
    align-self: stretch;
    color: #161616;
    margin: 0px;

    font-family: "OpenSans";
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
}

.error-container .error p {
    margin: 0;
}

/* aftersignup */
main.aftersignup #redirectUri,
main.afterpasswordreset #redirectUri {
    display: none;
}

.description-mdp {
    align-self: stretch;
    color: #555;
    font-family: "OpenSans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-top: 4px;
}

#emailVerificationControl-reset>ul,
#emailVerificationControl>ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.verifying-modal {
    display: none !important;
}

#verifying_blurb {
    display: none !important;
}

.TextBox.VerificationCode_li.VerificationCode .attrEntry {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
