﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('glacial-indifference/stylesheet.css');
@import url('karla/stylesheet.css');
@import url('branch_updated/stylesheet.css');

:root {
    --mhb-black: #101820;
    --mhb-green-bold: #183029;
    --mhb-green: #7F9C90;
    --mhb-green-light: #B7CDC2;
    --mhb-cyan: #A4BCC2;
    --mhb-pink: #C4A4A7;
    --mhb-red: #D6938A;
    --mhb-beige: #E1BBB4;
    --mhb-blue: #CBD3EA;
    --mhb-white: white;

}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    -webkit-box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPj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DA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: var(--mhb-white);
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.page {
    height: 100%;
}

.flat-button {
    border-style: none;
    border-radius: 32px;
    background-color: var(--mhb-blue);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; /* center the content horizontally */
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* center the content vertically */
    --padding-x: 1.2em;
    border-color: transparent; /* hide button border */
    padding: 0;
    color: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* make sure properties affecting height have same value */
    font-size: 1em;
    line-height: 1.2;
    padding: 0.5em var(--padding-x);
    height: 42px;
}

    .flat-button > p, .text-button > p {
        padding-top: 16px;
        font-weight: bold;
        font-size: 16px;
        font-family: 'glacial_indifferencebold';
    }
.flat-button-tablet {
    padding: 3vw;
    /* à ajouter à flat-button pour la tablette*/
}
    .flat-button-tablet > p {
        font-size: calc(5px + 2vw);
        font-family: 'glacial_indifferencebold';
        color: #183029;
        margin-top: 3px
    }

.text-button {
    border-style: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center; /* center the content horizontally */
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; /* center the content vertically */
    --padding-x: 1.2em;
    border-color: transparent; /* hide button border */
    padding: 0;
    color: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* make sure properties affecting height have same value */
    font-size: 1em;
    line-height: 1.2;
    padding: 0.5em var(--padding-x);
    height: 42px;
    background-color: transparent;
}



.align-center {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.login > p {
    font-family: 'karla';
    text-align: center;
    color: var(--mhb-green-bold);
}

#account > div > input {
    background-color: #EEEEEE;
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 35px;
    padding-left: 25px;
    font-family: 'karla';
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-style: none;
    outline: none;
}

    #account > div > input > input::-webkit-input-placeholder {
        color: var(--mhb-black);
        opacity: 0.3;
    }

    #account > div > input::-moz-placeholder {
        color: var(--mhb-black);
        opacity: 0.3;
    }

    #account > div > input:-ms-input-placeholder {
        color: var(--mhb-black);
        opacity: 0.3;
    }

    #account > div > input::-ms-input-placeholder {
        color: var(--mhb-black);
        opacity: 0.3;
    }

    #account > div > input::placeholder {
        color: var(--mhb-black);
        opacity: 0.3;
    }

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

    h1 {
        font-size: 40px;
        font-family: 'branchupdated';
        line-height: 48px;
        font-weight: normal;
        color: var(--mhb-green-bold);
    }

    h2 {
        font-size: 20px;
        font-family: 'glacial_indifferenceregular';
        line-height: 30px;
        color: var(--mhb-green-bold);
    }

    h3 {
        font-size: 16px;
        font-family: 'karlaregular';
        line-height: 29px;
        font-weight: normal;
    }

    p {
        font-size: 18px;
        font-family: 'karlaregular';
        line-height: 27px;
        font-weight: lighter;
    }

    ::placeholder {
        font-size: 16px;
        font-family: 'karlaitalic';
        line-height: 29px;
    }

    .login {
        width: 100%;
        height: 100%;
        background-color: white;
        background-image: url("/res/00-page-connexion-ambassadrices.jpg");
        margin: 0;
    }

    .login-bo {
        width: 100%;
        height: 100%;
        background-color: white;
        background-image: url("/res/interface back - cliente ambassadrice et admin.jpg");
        margin: 0;
    }

    .dome {
        position: absolute;
        bottom: 0;
        left: 1000px;
        background-color: var(--mhb-white);
        border-radius: 500px 500px 0px 0px;
        width: 779px;
        height: 860px;
    }

        .dome > .dome-content {
            margin-top: 137px;
            margin-left: 140px;
            margin-right: 140px;
        }

            .dome > .dome-content > img {
                margin-left: 80px;
                width: 338px;
                height: 196px;
                margin-bottom: 50px;
            }

            .dome > .dome-content > form > button {
                width: 191px;
                position: absolute;
                bottom: 162px;
                left: 295px;
            }

            .dome > .dome-content > form > div > a {
                font-family: 'karlaregular';
                font-weight: 600;
                font-size: 18px;
                text-decoration: none;
                color: var(--mhb-black);
            }

                .dome > .dome-content > form > div > a::after {
                    content: '';
                    display: block;
                    width: 45px;
                    height: 2px;
                    background: #000;
                    transition: width .3s;
                }

                .dome > .dome-content > form > div > a:hover::after {
                    width: 100%;
                }

            .dome > .dome-content > form > button:hover {
                background-color: var(--mhb-green-light);
                transition: 0.2s;
            }

            .dome > .dome-content > form > div > label {
                font-family: 'karlaregular';
                font-size: 16px;
                text-decoration: none;
                color: var(--mhb-black);
            }


    .passForgot {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-image: url("/res/page-reset-forgot-mdp.jpg");
        background-repeat: no-repeat;
        background-size: 100%;
        height: 100%;
    }

        .passForgot > img {
            width: 30%;
            align-self: flex-start;
            margin-left: 10%;
            margin-top: 5%;
        }

        .passForgot > .content {
            background-color: rgba(251,251,251,0.66);
            padding: 50px;
            border-radius: 20px;
            position: relative;
        }
        .passForgot > .content-confirmation {
            background-color: rgba(251,251,251,0.66);
            padding: 20px;
            border-radius: 20px;
            margin-top: 10%;
            position: relative;
            padding: 20px 30px;
        }

            .passForgot > .content > .header {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-top: 1%;
                padding-bottom: 2%;
            }
                .passForgot > .content-confirmation > h1 {
                    font-family: "branchupdatedregular";
                    font-size: 60px;
                    color: #2F1500;
                }

                .passForgot > .content > .header > h1 {
                    font-family: "branchupdatedregular";
                    font-size: 60px;
                    color: #2F1500;
                }

                .passForgot > .content > .header > h2 {
                    font-family: karlaitalic;
                    font-weight: lighter;
                    letter-spacing: 3px;
                    color: #461F00;
                }

            .passForgot > .content > form {
                display: flex;
                flex-direction: column;
                
            }

                .passForgot > .content > form > input {
                    background-color: #DBB3AF !important;
                    border-radius: 100px;
                    font-size: 20px;
                    font-family: 'karlaregular';
                    border-width: 0px;
                    height: 60px;
                    margin-bottom: 1%;
                }

                    .passForgot > .content > form > input::placeholder {
                        color: black;
                        font-size: 20px;
                        margin-left: 10px;
                        color: #461F00;
                    }

                .passForgot > .content > form > button {
                    align-self: center;
                    border-radius: 30px;
                    background-color: rgba(251,251,251,0.66);
                    margin-top: 4%;
                    color: black;
                    border: 0px;
                    padding: 0px;
                    color: #D19993;
                    font-family: 'branchupdatedregular';
                    font-size: 60px;
                    position: absolute;
                    top:105%;
                    width: 60%;
                    font-weight: bold;
                }

}

@media only screen and (max-width: 1200px) {
    .login {
        width: 1200px;
        height: 2000px;
        background-color: aqua;
        background-image: url("/res/Tablet/bo-front-tablet.jpg");
        background-size: 100%;
        margin: 0;
    }

    .login-bo {
        width: 1200px;
        height: 2000px;
        background-color: aqua;
        background-image: url("/res/Tablet/bo-login-tablet.jpg");
        background-size: 100%;
        margin: 0;
    }

    .dome {
        position: absolute;
        left: 183px;
        top: 339px;
        background-color: var(--mhb-white);
        border-radius: 500px 500px 500px 500px;
        width: 826px;
        height: 1223px;
    }

        .dome > .dome-content {
            margin-top: 220px;
            margin-left: 132px;
            margin-right: 132px;
        }

            .dome > .dome-content > img {
                margin-bottom: 50px;
                margin-left: 80px;
                width:400px;
            }

            .dome > .dome-content > form > button {
                position: absolute;
                top: 873px;
                left: 253px;
                height: 81px;
                width: 319px;
            }

            .dome > .dome-content > form > div > input {
                width: 561px;
                height: 65px !important;
                font-size: 25px;
                font-family: 'karlaregular';
                font-weight: lighter;
            }

            .dome > .dome-content > form > div > a {
                font-family: 'karlaregular';
                font-weight: bold;
                font-size: 30px;
                text-decoration: none;
                color: var(--mhb-black);
            }

                .dome > .dome-content > form > div > a::after {
                    content: '';
                    display: block;
                    width: 45px;
                    height: 2px;
                    background: #000;
                    transition: width .3s;
                }

                .dome > .dome-content > form > div > a:hover::after {
                    width: 100%;
                }

            .dome > .dome-content > form > button:hover {
                background-color: var(--mhb-green-light);
                transition: 0.2s;
            }

            .dome > .dome-content > form > div > label {
                height: 50px !important;
                font-family: 'karlaregular';
                font-size: 25px;
                text-decoration: none;
                color: var(--mhb-black);
            }
    .flat-button > p {
        padding-top: 16px;
        font-weight: 900;
        font-size: 27px;
        font-family: "glacial_indifferenceregular";
    }

    .passForgot {
        width:100vw;
        height:100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-image: url("/res/Tablet/forgot-password-page.png");
        background-repeat: no-repeat;
        background-size: cover;
    }

        .passForgot > img {
            width: 30%;
            align-self: flex-end;
            margin-right: 10%;
            margin-top: 13%;
        }

        .passForgot > .content {
            background-color: rgba(251,251,251,0.66);
            padding: 3vw;
            border-radius: 20px;
            margin-top: 20vh;
            position: relative;
        }
        .passForgot > .content-confirmation {
            background-color: rgba(251,251,251,0.66);
            padding: 3vw;
            border-radius: 20px;
            margin-top: 30%;
            position: relative;
            padding: 20px 30px;
        }

            .passForgot > .content > .header {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-top: 1%;
                padding-bottom: 2%;
            }
        .passForgot > .content-confirmation > h1 {
            font-family: 'branchupdatedregular';
            color: #2F1500;
            font-size: 5vw;
        }

        .passForgot > .content > .header > h1 {
            font-family: 'branchupdatedregular';
            color: #2F1500;
            font-size: 8vw;
        }

            .passForgot > .content > form {
                display: flex;
                flex-direction: column;
            }

                .passForgot > .content > form > input {
                    background-color: #DBB3AF !important;
                    border-radius: 100px;
                    font-size: 2vw;
                    font-family: 'karlaregular';
                    border-width: 0px;
                    height: 6vw;
                    margin-bottom: 1%;
                }

                    .passForgot > .content > form > input::placeholder {
                        color: black;
                        font-size: 2vw;
                        margin-left: 10px;
                        color: #461F00;
                    }

                .passForgot > .content > form > button {
                    align-self: center;
                    border-radius: 20px;
                    background-color: rgba(251,251,251,0.66);
                    margin-top: 4%;
                    color: black;
                    border: 0px;
                    padding: 0px;
                    color: #D19993;
                    font-family: 'branchupdatedregular';
                    font-size: 8vw;
                    position: absolute;
                    width: 50%;
                    top: 105%;
                    font-weight: bold;
                }
}

#account > div.text-danger.validation-summary-errors > ul {
    font-family: 'karlaregular';
}
