/* =============================================================
|                                                              |
|   Some styles for the website's page                         |
|                                                              |
|   --------------------------------------------------------   |
|                                                              |
|   Author: MiMiMi Community                                   |
|       > www.mimimi.software                                  |
|   Licensed under CC BY 4                                     |
|       > www.creativecommons.org/licenses/by/4.0              |
|                                                              |
============================================================= */

    /* ---------------------------------------------------------
    |                                                          |
    |   Reset styles                                           |
    |                                                          |
    --------------------------------------------------------- */

    * {
        background: transparent;
        border: none;
            outline: none;
            border-radius: 0;
            box-sizing: border-box;
            box-shadow: none;
        color: inherit;
        font-family: inherit;
            font-size: inherit;
            font-style: normal;
            font-weight: normal;
            line-height: inherit;
        display: block;
            max-width: 100%;
            margin: 0 auto;
            padding: 0;
        text-align: left;
            text-decoration: none;
            text-shadow: inherit;
            text-transform: none;
        vertical-align: top;
        position: relative;
    }

    em, i {
        display: inline;
        font-style: italic;
    }

    strong {
        background: #263238;
            border-radius: 3px;
            color: #eceff1;
        display: inline-block;
            padding: 0 8px;
            white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
        font-weight: normal;
    }

    b {
        display: inline;
        font-weight: bold;
    }

    u {
        display: inline;
        text-decoration: underline;
    }

    small {
        display: inline;
        font-size: 75%;
    }

    span {
        display: inline;
    }

    a {
        color: #1e88e5;
        cursor: pointer;
        display: inline;
        text-decoration: underline;
    }
    a:hover,
    a:active,
    a:focus {
        outline: none;
        color: #d32f2f;
        text-decoration: underline;
    }

    ul, ol {
        padding-left: 64px;
    }

        li {
            display: list-item;
                margin: 16px 0 0;
        }

    hr {
        background: #263238;
            border-radius: 3px;
        display: block;
            clear: both;
            height: 3px;
            margin: 24px 0 8px;
    }

    button,
    .btn {
        background: #1e88e5;
            border-radius: 6px;
            color: #eceff1;
        cursor: pointer;
        font-size: 20px;
        display: inline-block;
            padding: 8px 16px;
            white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
        text-decoration: none;
    }
    button:hover,
    button:active,
    button:focus,
    .btn:hover,
    .btn:active,
    .btn:focus {
        background: #d32f2f;
            outline: none;
            color: #eceff1;
        text-decoration: none;
    }

    head,
        head *,
    link,
    meta,
    style,
    script,
    template,
        template *,
    slot,
        slot *,
    [hidden],
    .hidden {
        display: none !important;
    }

    [disabled],
        [disabled] *,
    :disabled,
        :disabled *,
    .disabled,
    .disabled * {
        cursor: default !important;
        pointer-events: none !important;
    }

    /* ---------------------------------------------------------
    |                                                          |
    |   Init document styles                                   |
    |                                                          |
    --------------------------------------------------------- */

    html {
        background: #eceff1;
        font-family: monospace;
            font-size: 17px;
            line-height: 1.75;
            letter-spacing: normal;
        min-height: 100vh;
            overflow-x: hidden;
            -ms-overflow-style: scrollbar;
        -webkit-text-size-adjust: 100%;
           -moz-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
             -o-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }

        body {
            color: #263238;
            min-height: 100vh;
                overflow-x: hidden;
            padding: 0 24px;
        }

    /* ---------------------------------------------------------
    |                                                          |
    |   The block icon                                         |
    |                                                          |
    --------------------------------------------------------- */

    .icon {
        display: block;
            height: 48px;
            width: 48px;
            margin: 4px 16px 0 -64px;
        float: left;
    }

    /* ---------------------------------------------------------
    |                                                          |
    |   The page header                                        |
    |                                                          |
    --------------------------------------------------------- */

    header {
        max-width: 640px;
        margin-bottom: 16px;
        padding: 8px 0 0;
        font-size: 12px;
        text-align: center;
    }

        header p {
            display: inline-block;
                margin: 0 8px 8px;
                padding: 0;
                white-space: normal;
                    overflow: hidden;
                    text-overflow: ellipsis;
            text-align: inherit;
        }

    /* ---------------------------------------------------------
    |                                                          |
    |   The page content                                       |
    |                                                          |
    --------------------------------------------------------- */

    main {
        background: #fff;
            border: #263238 6px solid;
                border-radius: 12px;
        max-width: 640px;
        padding: 24px;
    }

        h1 {
            display: block;
            font-size: 24px;
                font-weight: bold;
        }

            h1 strong {
                font-size: 50%;
                    vertical-align: middle;
            }

        h2 {
            display: block;
                padding: 16px 0 0;
            font-size: 20px;
        }

        h3 {
            display: block;
                padding: 16px 0 0;
            font-size: 18px;
                font-weight: bold;
        }

        h4,
        h5,
        h6 {
            display: block;
                padding: 16px 0 0;
            font-size: 16px;
                font-weight: bold;
        }

        p {
            line-height: 1.75;
            padding: 16px 0 0;
        }
        p.iconized {
            padding-left: 64px;
            overflow: hidden;
        }

            em {
                color: #00a542;
                display: inline-block;
                    white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
            }

            p .icon {
            }

        p.remove {
            border-left: #ff7043 6px solid;
                border-radius: 6px;
                color: #ff7043;
            margin: 16px 0 0 32px;
            padding: 8px 0 8px 16px;
            font-size: 12px;
        }

            p.remove span {
                background: #eceff1;
                    border-radius: 3px;
                    color: #ff7043;
                display: inline-block;
                    padding: 0 8px;
                    white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                font-weight: normal;
            }

        p.success {
            border-left: #00a542 6px solid;
                border-radius: 6px;
                color: #00a542;
            margin: 16px 0 0 32px;
            padding: 8px 0 8px 16px;
            font-size: 12px;
        }

            p.success span,
            p.success strong {
                border-radius: 3px;
                display: inline-block;
                    padding: 0 8px;
                    white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                font-weight: normal;
            }
            p.success span {
                background: #eceff1;
                    color: #00a542;
            }
            p.success strong {
                background: #00a542;
                    color: #fff;
            }

        ul + ul li:first-child {
            border-top: #263238 3px solid;
                border-radius: 3px;
            margin-top: 16px;
            padding-top: 16px;
        }

        /* -----------------------------------------------------
        |                                                      |
        |   The warning                                        |
        |                                                      |
        ----------------------------------------------------- */

        .warning {
            background: #ff7043;
                border-radius: 6px;
                color: #fbe9e7;
            display: block;
                width: 75%;
                    max-width: 400px;
                margin: 16px auto 0;
                padding: 16px;
            font-size: 12px;
        }

            .warning a {
                background: #fbe9e7;
                    border-radius: 3px;
                display: inline-block;
                    padding: 0 8px;
                    white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                text-decoration: none;
            }

            .warning em {
                background: #fbe9e7;
                    border-radius: 3px;
                display: inline-block;
                    padding: 0 8px;
                    white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
            }

        .warning + form blockquote {
            display: none;
        }

        /* -----------------------------------------------------
        |                                                      |
        |   The form                                           |
        |                                                      |
        ----------------------------------------------------- */

        form {
            display: block;
        }

            fieldset {
                border: #b0bec5 1px solid;
                    border-radius: 6px;
                display: block;
                    margin: 16px 0 0;
                    padding: 4px 12px 16px;
                    overflow: hidden;
            }
            fieldset + fieldset {
                margin: 32px 0 0;
            }

                legend {
                    background: #fff;
                        color: #b0bec5;
                    display: block;
                        margin: 0 0 0 16px;
                        padding: 0 8px;
                        white-space: nowrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                    font-size: 12px;
                }

                form label {
                    display: block;
                        float: left;
                        width: 50%;
                        padding: 8px;
                }
                form label.size2 {
                    width: 20%;
                }
                form label.size25 {
                    width: 25%;
                }
                form label.size3 {
                    width: 30%;
                }
                form label.size33 {
                    width: 33.33333%;
                }
                form label.size35 {
                    width: 35%;
                }
                form label.size4 {
                    width: 40%;
                }
                form label.size45 {
                    width: 45%;
                }
                form label.size5 {
                    width: 50%;
                }
                form label.size55 {
                    width: 55%;
                }
                form label.size6 {
                    width: 60%;
                }
                form label.size65 {
                    width: 65%;
                }
                form label.size66 {
                    width: 66.66666%;
                }
                form label.size7 {
                    width: 70%;
                }
                form label.size75 {
                    width: 75%;
                }
                form label.size8 {
                    width: 80%;
                }
                form label.size100 {
                    width: 100%;
                }
                form label.required:before {
                    background: #d32f2f;
                        border-radius: 50%;
                    content: ' ';
                    display: block;
                        height: 8px;
                        width: 8px;
                    position: absolute;
                        top: 34px;
                        left: 5px;
                        z-index: 1;
                }

                    form label .caption {
                        display: block;
                            padding: 0 0 8px;
                            white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                        font-size: 12px;
                    }
                    form .disabled .caption {
                        color: #b0bec5;
                    }

                    form label .flag {
                        border-radius: 6px;
                        cursor: pointer;
                        display: block;
                            max-width: none;
                            margin: -8px 0 0 -8px;
                            padding: 8px 8px 2px 12px;
                            white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                    }
                    form .disabled .flag {
                        background: #eceff1;
                            color: #b0bec5;
                    }

                        form input[type="checkbox"] {
                            display: inline-block;
                                height: 18px;
                                width: 18px;
                                margin: 0 8px 0 0;
                            vertical-align: baseline;
                        }

                    form input[type="text"],
                    form input[type="number"],
                    form input[type="tel"],
                    form input[type="email"],
                    form input[type="password"],
                    form select,
                    form textarea {
                        border: #78909c 1px solid;
                            border-radius: 6px;
                        display: block;
                            height: 48px;
                            width: 100%;
                            padding: 0 8px;
                    }
                    form textarea {
                        height: 140px;
                        resize: none;
                    }
                    form input[type="text"]:focus,
                    form input[type="number"]:focus,
                    form input[type="tel"]:focus,
                    form input[type="email"]:focus,
                    form input[type="password"]:focus,
                    form select:focus,
                    form textarea:focus {
                        border-color: #263238;
                    }
                    form .disabled input[type="text"],
                    form .disabled input[type="number"],
                    form .disabled input[type="tel"],
                    form .disabled input[type="email"],
                    form .disabled input[type="password"],
                    form .disabled select,
                    form .disabled textarea {
                        background: #eceff1;
                            border-color: #b0bec5 !important;
                            color: #b0bec5;
                    }

                    form label .error {
                        color: #d32f2f;
                        display: block;
                            padding: 6px 0 0;
                        font-size: 12px;
                    }
                    form label .error:empty {
                        display: none;
                    }

                    form label .changed {
                        color: #00a542;
                        display: block;
                            padding: 6px 0 0;
                        font-size: 12px;
                    }
                    form label .changed:empty,
                    form label .error:not(:empty) ~ .changed {
                        display: none;
                    }

        /* -----------------------------------------------------
        |                                                      |
        |   The remark                                         |
        |                                                      |
        ----------------------------------------------------- */

        blockquote {
            background: #eceff1;
                border-radius: 6px;
                color: #607d8b;
            display: block;
                margin: 16px 0 0;
                padding: 16px;
            font-size: 75%;
        }
        fieldset + blockquote {
            margin: 32px 0 0;
        }
        blockquote.iconized {
            padding-left: 80px;
            overflow: hidden;
        }

            blockquote .icon {
                opacity: .85;
            }

        /* -----------------------------------------------------
        |                                                      |
        |   The page navigator                                 |
        |                                                      |
        ----------------------------------------------------- */

        main nav {
            display: block;
            text-align: center;
        }

            main nav button,
            main nav .btn {
                margin: 16px 8px 0;
            }

        /* -----------------------------------------------------
        |                                                      |
        |   The bottom line                                    |
        |                                                      |
        ----------------------------------------------------- */

        main footer {
            display: block;
                padding: 16px 0 0;
            font-size: 75%;
            text-align: right;
        }

    @media (max-width: 511.99px) {
        fieldset {
            padding-bottom: 24px;
            overflow: visible;
        }
            form label,
            form label.size2,
            form label.size25,
            form label.size3,
            form label.size33,
            form label.size35,
            form label.size4,
            form label.size45,
            form label.size5,
            form label.size55,
            form label.size6,
            form label.size65,
            form label.size66,
            form label.size7,
            form label.size75,
            form label.size8,
            form label.size100 {
                float: none;
                width: 100%;
                padding: 8px 8px 0;
            }
            form label.required:before {
                left: -3px;
            }
            form .disabled .flag {
                margin: 0 auto;
            }
    }

    /* ---------------------------------------------------------
    |                                                          |
    |   The GDPR notice                                        |
    |                                                          |
    --------------------------------------------------------- */

    aside {
        background: #fff;
            border-radius: 6px;
        display: block;
            max-width: 480px;
            margin: 24px auto 0;
            padding: 16px;
        font-size: 12px;
        text-align: center;
    }

        aside svg {
            display: none;
                height: 48px;
                width: 48px;
            position: absolute;
                top: calc(50% - 24px);
                left: calc(50% - 24px);
            opacity: .5;
        }

        aside div {
        }

            aside strong {
                background: #263238;
                    border-radius: 3px;
                    color: #eceff1;
                display: inline-block;
                    padding: 0 8px;
                    white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                vertical-align: middle;
            }

        aside button {
            margin-top: 12px;
            font-size: inherit;
        }

        /* -------------------------------------
        |                                      |
        |   Its behavior                       |
        |                                      |
        ------------------------------------- */

        aside.hidden {
            display: none;
        }

        aside.error:after {
            background: #d32f2f;
                border-radius: 3px;
                color: #eceff1;
            content: 'Error: Something went wrong!';
            display: block;
                margin-top: 12px;
                white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
        }

        aside.busy:after {
            background: #00a542;
                border-radius: 3px;
                color: #eceff1;
            content: 'Sending your request to the website';
            display: block;
                margin-top: 12px;
                white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
        }

            aside.busy div {
                visibility: hidden;
            }
            aside.busy button {
                visibility: hidden;
            }
            aside.busy svg {
                display: block;
                animation: asideSpinner 3s infinite linear;
            }
            @keyframes asideSpinner {
                0%   { transform: rotate(0deg); }
                100% { transform: rotate(360deg); }
            }

    /* ---------------------------------------------------------
    |                                                          |
    |   The page footer                                        |
    |                                                          |
    --------------------------------------------------------- */

    body > footer {
        max-width: 640px;
        margin-top: 16px;
        padding: 0 0 8px;
        font-size: 12px;
        text-align: center;
    }

        body > footer p {
            display: inline-block;
                margin: 8px 8px 0;
                padding: 0;
                white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
        }

        body > footer menu {
            display: inline;
        }

            body > footer a {
                color: #90a4ae;
                display: inline-block;
                    margin: 8px 8px 0;
                    white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
            }
