html {
    height: 100%;
    min-width: 800px;
    font-weight: 400;
    -moz-user-select: none;
    -webkit-user-select: text;
    -ms-user-select: none;
    user-select: text;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    .general-rules-color-set();

    position: absolute;
    width: 100%;
    left: 0;
    height: 100%;
    min-width: 800px;
    background-color: @body-bg-color;
    overflow: hidden;
    font-family: @font-family-sans-serif;

    .igz-main-wrapper {
        padding: 64px 0 0 104px;
        width: 100%;
        height: 100%;
    }

    .igz-main-view {
        height: 100%;
        position: relative;
    }

    .igz-general-content {
        position: absolute;
        height: 100%;
        overflow: hidden;
        z-index: 996;
        width: 100%;

        // Emulate main header section bottom shadow (independently of it's structure)
        &:before {
            content: "";
            height: 12px;
            position: absolute;
            width: 100%;
            z-index: 3;
        }
    }

    > .no-overflow {
        overflow: hidden;
    }

    &.login, &.forgot-password, &.reset-password {
        .container-fluid {
            background: @login-bg;
        }
    }
}

.igz-scrollable-container {
    height: 100%;

    &.edit-mode {
        padding-bottom: 32px;
    }
}

h1, h2, h3, h4, h5, h6, .title, .btn {
    font-family: @font-family-sans-serif;
}

ul, ol {
    margin: 0;

    /* modern */
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 14px;

    /* older */
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 14px;
}

.row {
    margin: 0;
}

.btn-xs {
    font-weight: 500;
    padding: 0 2em;
    line-height: 1.7;
}

.btn.sqrd {
    border-radius: 0;
}

.dropdown-menu.compact {
    > li {
        padding: 0;

        > a {
            line-height: 1.5;
        }
    }
}

.igz-main-view {
    .general-rules-color-set();

    header {
        padding: 11px 0 10px;

        .breadcrumbs {
            color: @header-breadcrumbs-color;
            font-weight: 400;
            font-size: 1.2em;
        }

        span {
            vertical-align: middle;
        }
    }
}

.modal-backdrop {
    .general-rules-color-set();

    position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    left: 0;
    background-color: @modal-backgrop-bg-color;
}

.hint-text {
    .general-rules-color-set();

    color: @hint-text-color;
}
