/* FONTS */
@font-face {
    font-family: HydroMobile;
    font-style: normal;
    src: url('https://clientele-statique.solutions.hydroquebec.com/config/auth/prd/fonts/hydro_mobile-font-icon.woff2') format('woff2'), url('https://clientele-statique.solutions.hydroquebec.com/config/auth/prd/fonts/hydro_mobile-font-icon.woff') format('woff'), url('https://clientele-statique.solutions.hydroquebec.com/config/auth/prd/fonts/hydro_mobile-font-icon.ttf') format('truetype');
}

.fhq {
    font-family: 'HydroMobile';
    display: inline-block;
    font-family: HydroMobile;
    font-size: 30px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.show-pw-button {
    margin-top: -40px;
    cursor: pointer;
    color: #1b75bb;
    font-size: 2em;
    height: 33px;
    width: 33px;
}

.fhq-eye:before {
    content: "\e11b";
}

.fhq-eye_close:before {
    content: "\e11c";
}

/* BODY */
body {
    font-family: "Open Sans";
    margin: 0;
    color: rgb(51, 51, 51);
    font-size: 14px;
    line-height: 1.4em;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
}

.header a {
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 400;
    color: #373330;
    font-family: "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", sans-serif;
}

.header a.logo {
    font-size: 25px;
    font-weight: bold;
}

.header-left {
    display: flex;
    margin-top: 40px;
    align-items: flex-end;
}

.header-left h1 {
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0px 0px 25px 50px;
}

.header-right {
    margin-right: -30px;
    display: flex;
    height: 50px;
}

.menuToggle {
    display: none;
    align-self: flex-start;
    top: 50px;
    left: 50px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    background-color: #888888;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
} 

/* Désactiver le outline quand le focus est effectué programmatiquement sur un élément de menu */
a.focus-not-visible {
    outline: none;
}

/* Désactive le password reveal button natif de Edge - on ne conserve que le nôtre */
::-ms-reveal {
    display: none;
}

nav ul {
    align-items: center;
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 5px;
    justify-content: flex-end;
}

nav li {
    list-style-type: none;
}

@media screen and (max-width: 767px) {
    .hq-footer-util-menu li {
        margin: 24px 0px;
    }

    .header {
        flex-direction: column;
    }

    .header-right {
        display: none;
        flex-direction: column;
        height: auto;
        border-top: 1px solid #e7e7e7;
    }

    .header-right.toogle {
        display: flex;
    }

    .header-left {
        display: flex;
        justify-content: space-between;
    }

    .menuToggle {
        display: block;
        margin-right: 10px;
        padding: 5px;
        background-color: transparent;
    }

    .menuToggle:hover {
        background-color: lightgrey;
    }
}

/* MAIN */
main {
    background: -webkit-gradient( linear , left top, right top , color-stop(60%, #101692), to(#6cd2ba));
    background: -o-linear-gradient( left , #101692 60%, #6cd2ba 100%);
    background: linear-gradient( 90deg , #101692 60%, #6cd2ba 100%);
    width: 100%;
    height: auto;
}

.main-center {
    width: 520px;
    margin-left: 20%;
    margin-right: auto;
    box-sizing: border-box;
}

main.signuporsignin, main.verifyemail, main.login, main.profil, main.passwordreset, main.aftersignup {
    min-height: calc(100vh - 450px)!important
}

@media screen and (max-width: 900px) {
    .main-center {
        margin-left: 5%;
    }
}

@media screen and (max-width: 768px) {
    main {
        background: #F2F2F3 none center center no-repeat;
        background-size: cover;
    }

    .main-center {
        margin-left: 0;
        width: auto;
    }

    .entry-container {
        background: transparent !important;
    }

    input {
        background-color: white !important;
    }
}

#createAccount {
    margin-left: 0.3rem;
}

.create {
    margin-top: -10px;
}

.divider {
    display: none;
}

.divider h2 {
    text-align: center;
}

.entry-item {
    display: flex;
    flex-direction: column;
}

.entry-item label {
    font-weight: bold;
}

#createAccount-mobile,
.liens-additionnels {
    margin-top: 10px;
    padding: 10px 0 25px 0;
    border-top: solid 1px #c6c4c3;
}

#liens-alternatifs {
    text-align: center;
    margin: 10px 0;
}

#liens-alternatifs a {
    font-size: 14px;
    padding-top: 20px;
}

.rememberMe {
    display: flex;
    margin-top: 20px;
}

.rememberMe input {
    width: unset;
}

.rememberMe label {
    margin: 1px 0 0 5px;
}

.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: 100%;
    display: flex;
    flex-direction: row-reverse;
}

.api-box-placement {
    max-width: 96%;
    margin: 5% 2%;
}

.api-box-placement-mobile {
    background-color: #fff;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.26);
}

a {
    color: #337ab7;
}

input {
    background-color: #f2f2f3;
    border: 1px solid #b2b2b2;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-sizing: border-box;
    color: rgb(85, 85, 85);
    font-size: 1.1em;
    line-height: 2em;
    margin: 5px 5px 15px 0;
    padding: 0 5px;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    width: 100%;
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    opacity: 1;
}

input:focus:not([readonly="readonly"]) {
    background-color: #ffffff;
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

input:focus-visible {
    outline: none;
}

input::placeholder {
    color: transparent;
}

li {
    list-style-type: none;
}

#api:last-child {
    padding-bottom: 20px;
}

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

.attrEntry label {
    font-weight: bold;
}

.buttons {
    clear: both;
}

.buttons button {
    background-color: #1b75bb;
    border: 1px solid transparent;
    border-color: #1b75bb;
    border-radius: 5px;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 3.4em;
    margin: 10px 0;
    padding: 0 0.5rem;
    width: 100%;
}

.buttons button:hover {
    background-color: #fff;
    border: 1px solid;
    color: #1b75bb;
}

#emailVerificationControl_but_send_new_code,
#emailVerificationControl-reset_but_send_new_code,
.buttons button.inverse {
    background-color: #fff;
    color: #1b75bb;
}

#emailVerificationControl_but_send_new_code:hover,
#emailVerificationControl-reset_but_send_new_code:hover,
.buttons button.inverse:hover {
    background-color: #1b75bb;
    color: #fff;
}

/* 
    btn (car sémantiquement il s'agit d'une action) 
    mais qui doit avoir l'apparence d'un lien
*/
.buttons button#cancel {
    background-color: transparent;
    text-align: center;
    color: #337ab7;
    text-decoration: underline;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.entry-container {
    background: white none center center no-repeat;
    padding: 1.5rem 3%;
    width: 94%;
}

.error {
    color: #c20000;
}

.error p {
    margin-block-start: 0.5em;
    margin-block-end: 0;
}

.error.pageLevel {
    margin: 10px 0;
}

.helpLink {
    display: none;
}

.imprint-en:lang(en),
.imprint-fr:lang(fr) {
    display: inherit !important;
}

.imprint {
    display: none;
}

.intro h2 {
    font-size: 1.75em;
    letter-spacing: 1px;
}

@media screen and (max-width: 480px) {
    .intro h2 {
        font-size: 1.4em;
        letter-spacing: 0;
    }
}

.verifying-modal {
    background-color: whitesmoke;
    display: none;
}

/* LANGUAGE */
@media screen and (max-width: 768px) {
    .header-left h1.imprint {
        display: none !important;
    }
}


/* FOOTER */
body {
    margin-bottom: 0px;
}

#footer {
    position: static;
    height: auto;
    background-color: #0b2f4b;
    color: #ffffff;
    font-family: "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", sans-serif;
    font-weight: 300;
}

.footer {
    bottom: 0;
    /*width: 100%;*/
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding: 10px;
}

.footer .container {
    padding-left: 20%;
    padding-right: 20%;
}

@media screen and (max-width: 1320px) {
    .footer .container {
        padding-left: 5%;
        padding-right: 5%;
    }
}

.inner {
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
}

#footer a {
    color: #ffffff;
}

@media screen and (min-width: 768px) {
    #footer img {
        width: 160px;
    }
}

@media screen and (max-width: 768px) {
    #footer img {
        width: 140px;
        margin-bottom: 20px;
    }
}

.legal {
    width: 100%;
}

.hq-footer-util-menu {
    list-style: none;
    padding-left: 0px;
}

.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .hq-footer-util-menu {
        display: flex;
        border-top: 1px solid #ced5db;
        border-bottom: 1px solid #ced5db;
        justify-content: center;
        padding: 10px 0;
        margin-top: 24px;
    }

    .copyright {
        flex-direction: row;
        justify-content: center;
    }
}

@media screen and (min-width: 768px) {

    .hq-footer-util-menu li:not(:nth-last-child(-n+2)):after {
        content: "|";
        margin: 0px 20px;
    }
}

@media screen and (max-width: 768px) {
    .hq-footer-util-menu li {
        margin: 24px 0px;
    }
}

.description-mdp{
    margin-bottom: 10px;
    display: none;
}

/*profil*/
@media screen and (max-width: 768px) {
    main.profil {
        margin-bottom: 20px;  
    }
}

main.profil {
    background: none;
    border-top: solid 1px #c6c4c3;
}

.profil div#api {
    border: solid 1px #c6c4c3;
    padding: 1rem;
}

.profil form#attributeVerification {
    padding: 0 0.5rem;
    border: solid 1px #c6c4c3;
}

.profil .intro p {
    padding: 10px 0 0 10px;
    font-size: 18px;
    font-weight: bold;
}

.profil .verificationSuccessText{
    padding-bottom: 10px;
}

/*verifyemail*/
.verifyemail .verificationSuccessText{
    padding-bottom: 10px;
}

.verificationErrorText {
    padding-bottom: 10px;
}

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

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

/* passwordreset*/
.email-verification-message {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

.passwordreset .verificationSuccessText{
    padding-bottom: 10px;
}
