body.theme-fresk.path-mod-forum {
    #page-content {
        #region-main-box {
            #region-main {
                [role="main"] {
                    .discussionname {
                        font-size: 30px;
                        display: none;
                    }
                    [data-content="forum-discussion"] {
                        .discussion-nav.clearfix {
                            display: none;
                        }
                        .d-flex.flex-row.mb-1 {
                            [data-container="discussion-tools"] {
                                background: white;
                                font-size: 14px;
                            }
                        }
                        article.forum-post-container {
                            background-color: #fff;
                            box-shadow: 0 0 10px rgb(0 0 0 / 6%);
                            border-radius: 8px;
                            padding: 1em;
                            margin-top: 1em;
                            .forumpost {
                                border: 0 !important;
                                header.header {
                                    margin-bottom: 0 !important;
                                    .flex-column {
                                        padding: 1em 1em 0;
                                        background-color: #f9f9f9;
                                        width: calc(100% - 53px);
                                        h3 {
                                            font-size: 14px;
                                        }
                                        .mb-3 {
                                            font-size: 12px;
                                        }
                                    }
                                }
                                .body-content-container {
                                    .content-alignment-container {
                                        .post-content-container {
                                            padding: 1em;
                                            background-color: #f9f9f9;
                                            .text_to_html,
                                            p {
                                                font-size: 14px !important;
                                                color: $graytext;
                                            }
                                        }
                                        .d-flex.flex-wrap {
                                            background-color: #f9f9f9;
                                            .post-actions {
                                                [data-region="post-action"] {
                                                    font-size: 12px;
                                                    color: #6D6C83;
                                                    &:hover {
                                                        color: $primary;
                                                        text-decoration: none;
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                            .indent {
                                article.forum-post-container {
                                    background-color: transparent;
                                    box-shadow: none;
                                    border-radius: 0;
                                    padding: 0;
                                    margin-top: 0;
                                }
                            }
                        }
                    }
                    .tertiary-navigation {
                        .row {
                            flex-wrap: nowrap;
                            .navitem {
                                &:first-child {
                                    flex-direction: row-reverse;
                                    align-items: center;
                                    .simplesearchform {
                                        .input-group {
                                            input {
                                                min-width: 300px;
                                                box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
                                                border-radius: 8px;
                                            }
                                            .input-group-append {
                                                display: none;
                                            }
                                        }
                                    }
                                    [role="button"] {
                                        background-color: $secondary;
                                        width: 17px;
                                        height: 17px;
                                        margin-left: 10px;
                                        display: flex;
                                        flex-flow: row nowrap;
                                        justify-content: center;
                                        align-items: center;
                                        i.icon {
                                            font-size: 12px;
                                            color: white;
                                            margin-right: 0;
                                        }
                                        &:hover,
                                        &:active,
                                        &:focus {
                                            text-decoration: none;
                                            i.icon {
                                                text-decoration: none;
                                            }
                                        }
                                    }
                                }
                                &.ml-sm-auto {
                                    .btn-secondary {
                                        background-color: white;
                                        border-color: white;
                                        color: $primary !important;
                                        box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
                                        font-size: 14px;
                                    }
                                }
                            }
                        }
                    }
                    div[id^='discussion-list-']{
                        background-color: white;
                        box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
                        border-radius: 8px;
                        padding: 1em;
                        border-top: 0;
                        .py-3 {
                            display: none;
                        }
                        .discussion-list {
                            thead {
                                border-bottom: 1px solid $primary;
                                tr {
                                   th {
                                       font-size: 14px;
                                       font-weight: bold;
                                       color: $graytext !important;
                                       a {
                                           color: $graytext !important;
                                           &:hover {
                                               color: $primary;
                                           }
                                       }
                                       &.lastpost {
                                           display: flex;
                                           flex-flow: row nowrap;
                                           align-items: center;
                                       }
                                   }
                                    th:has(a i.icon) {
                                        width: 100px !important;
                                        a i.icon {
                                            margin-right: 0 !important;
                                        }
                                    }
                                }
                            }
                            th,
                            td {
                                border: 0;
                            }
                            tbody {
                                .discussion {
                                    border-bottom: 1px solid #e5e5e5;
                                    .icon-no-margin.align-middle {
                                        .btn-link {
                                            .menu-action-text {
                                                display: flex;
                                                height: 22px;
                                                width: 22px;
                                                background: #e9ecef;
                                                border-radius: 4px;
                                                align-items: center;
                                                justify-content: center;
                                                .icon.favorite {
                                                    color: white;
                                                }
                                            }
                                            &:hover,
                                            &:active,
                                            &:focus {
                                                text-decoration: none;
                                                .menu-action-text {
                                                    text-decoration: none;
                                                    .icon.favorite {
                                                        text-decoration: none;
                                                    }
                                                }
                                            }
                                        }
                                    }
                                    &.favourited {
                                        .icon-no-margin.align-middle {
                                            .menu-action-text {
                                                background: $secondary;
                                                .icon.favorite {
                                                    color: white;
                                                }
                                            }
                                        }
                                    }
                                    .topic {
                                        a.d-block {
                                            color: $graytext !important;
                                            font-size: 14px;
                                            &:hover {
                                                color: $primary !important;
                                            }
                                        }
                                    }
                                    .author,
                                    .author + td {
                                        .author-info {
                                            .text-truncate {
                                                color: $graytext;
                                                font-size: 14px;
                                            }
                                            .line-height-3 {
                                                time {
                                                    color: $graytext;
                                                    font-size: 12px;
                                                }
                                            }
                                        }
                                    }
                                    .custom-control.custom-switch {
                                        .custom-control-label {
                                            &:before {
                                                border-color: $primary;
                                            }
                                            &:after {
                                                background-color: $primary;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 440px) {
    body.theme-fresk.path-mod-forum {
        #page-content {
            #region-main-box {
                #region-main {
                    .discussionname {
                        display: none;
                    }
                }
            }
        }
    }
}
