body.theme-fresk[id^='page-admin-'] {

    #page {
        #topofscroll {
            transition: all .5s ease;
            max-width: 100%!important;
            width: 100% !important;
            #page-content {
                margin-top: unset;
                #region-main-box {
                    #region-main {
                        border-radius: 8px;
                        padding: 14px;
                        box-shadow: 0 0 10px rgb(0 0 0 / 10%);
                        .tab-content {
                            .list-unstyled {
                                li {
                                    a {
                                        color: $graytext;
                                        &:hover {
                                            color: $primary;
                                            cursor: pointer;
                                        }
                                    }
                                }
                            }
                        }
                        .float-left,
                        .mt-2.mb-1.float-right {
                            display: flex;
                            flex-flow: row nowrap;
                            gap: 5px;
                            justify-content: flex-start;
                            align-items: center;
                            margin-bottom: .5em !important;
                        }
                        #addadmisform {
                            #assignform {
                                > div {
                                    max-width: 100%;
                                    overflow-x: auto;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .reportbuilder-report {
        .reportbuilder-wrapper {
            .dropdown.d-flex.justify-content-end {
                justify-content: flex-start !important;
            }
        }
    }
    &#page-admin-tasklogs {
        .reportbuilder-report {
            .table-dynamic {
                > div {
                    /*max-width: 100%;
                    overflow-x: auto;*/
                }
            }
        }
    }
    &#page-admin-tool-capability-index {
        #region-main {
            #capability-overview-form {
                overflow-x: auto;
            }
        }
    }
    &#page-admin-tasklogs,
    &#page-admin-comment-index {
        #page-wrapper {
            [data-region="mainpage"] {
                .fresk-drawers-content {
                    #topofscroll {
                        #page-content {
                            #region-main-box {
                                #region-main {
                                    [role="main"] {
                                        .reportbuilder-wrapper {
                                            .table-dynamic {
                                                max-width: 100%;
                                                overflow-x: auto;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    &#page-auth-oauth2-linkedlogins {
        .singlebutton {
            margin: 0 5px 5px 0;
            + .singlebutton {
                margin-left: 0;
            }
        }
    }
    &#page-admin-roles-permissions {
        #region-main {
            .generalbox.capbox {
                max-width: 100%;
                overflow-x: auto;
            }
        }
    }
    &#page-admin-report-configlog-index {
        #region-main {
            .table-dynamic {
                max-width: 100%;
                overflow-x: auto;
            }
        }
    }
}

body.theme-fresk[id="page-admin-reportbuilder-view"] #page-wrapper {
    overflow-x: hidden;
    #page #topofscroll #page-content {
        width: 100%;
        #region-main-box {
            background-color: white;
            border-radius: 8px;
            #region-main {
                padding: 14px;
                box-shadow: none;
                background-color: transparent !important;
                .reportbuilder-report {
                    .table-dynamic {
                        > div:first-child {
                            overflow-x: auto;
                            margin-bottom: 15px;
                        }
                    }
                }
            }
        }
    }
}


#course-category-listings {
    .listitem > div .flex-shrink-0.ml-auto {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        .idnumber {
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            display: inline-block;
            @media screen and (max-width: 1240px) {
                max-width: 60px;
            }
        }
    }
}

body#page-admin-setting-themesettingfresk.theme-fresk {
    .settingsform {
        .nav-tabs {
            li.nav-item a.nav-link {
                color: $primary;
                &.active {
                    color: $graytext;
                }
            }
        }
    }
}