.bg-body {
    background-color: $body-bg;
}

#region-main {
    overflow-x: visible; // Prevents drop down action menu's from looking odd!
    padding-right: 15px;
    > .card {
        min-height: auto;
        padding-bottom: 1px; // Odd!  Prevents scroll bar from appearing on a course.
    }
}

#region-main,
.block {
    border: none;
}

@include media-breakpoint-up(sm) {
    .context-header-settings-menu,
    .region-main-settings-menu {
        margin-top: 0;
    }
}

@include media-breakpoint-down(md) {
    .pagelayout-mydashboard #region-main {
        padding: 5px;
    }
}

.pagelayout-report,
#page-mod-assign-grading {
    #region-main {
        display: flex;
        flex-direction: column;
        min-width: 100%;
        width: auto;
    }
}

.hasstickyfooter #page-wrapper {
    height: auto;
    margin-bottom: $stickyfooter-height;
}

.pagelayout-popup #page {
    margin-top: 0;
}

#page-header .card {
    border: none;
}

.page-context-header {
    padding: 0;
}

#page-footer a {
    color: inherit;
    text-decoration: none;

    &:hover,
    &:focus,
    &:active {
        text-decoration: underline;
    }
}
