html {
    height: 100%;
}

body {
    padding: 0 0 43px 0;
    position: relative;
    min-height: 100%;
    -ms-overflow-style: scrollbar;
}

body,
html {
    min-width: 420px;
    font-size: 13px;
    background-color: #f2f2f2;
}

    body > header {
        position: relative;
        z-index: 20;
        height: 100px;
        background: #00406e url(../images/Header.png) no-repeat left top;
        border-bottom: solid 4px #f5a113;
    }

        body > header > a.root-link {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 210px;
            height: 80px;
        }

        body > header h1 {
            color: white;
            position: absolute;
            top: 20px;
            left: 0;
            font-size: 28px;
            width: 50%;
            margin: 0 0 0 28%;
            padding: 0;
            text-align: center;
        }


        body > header .logged-user-dropdown {
            position: absolute;
            right: 10px;
            top: 20px;
        }

            body > header .logged-user-dropdown > .btn-link {
                font-size: 16px;
                color: white;
            }

                body > header .logged-user-dropdown > .btn-link:focus,
                body > header .logged-user-dropdown > .btn-link:hover {
                    color: #cbcbcb;
                }

            body > header .logged-user-dropdown .dropdown-menu button > .icon {
                margin-right: 4px;
            }

        body > header .application-version {
            position: absolute;
            bottom: 6px;
            right: 10px;
            color: #9cb5c7;
        }

@media (max-width: 700px) {
    body > header {
        background: #00406e url(../images/Header_narrow.png) no-repeat left top;
    }

        body > header h1 {
            top: 65px;
            left: 90px;
            width: auto;
            font-size: 18px;
            margin: unset;
        }
}

body > .container-fluid {
    padding-top: 20px;
}

.control-label {
    text-align: left !important;
}

.required:after {
    content: " *";
}

.field-validation-error {
    font-weight: bold;
}

.panel-heading {
    background-color: #00406e !important;
    color: white !important;
}

/*Fix pour éviter que les nested elements des boutons soient considérés comme "event.target" dans les évènements qui bubblent en js */
button > *, a.btn > * {
    pointer-events: none;
}

.menu {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

    .menu .menu-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 5px;
    }

        .menu .menu-item .menu-item-title {
            padding: 0 20px 0 0px;
        }
