#dashboard_entry_ban .Frame-banner,
#dashboard_entry_ban .Frame-footer,
.PageNotFound .Frame-banner, .PageNotFound .Frame-footer {
    display: none;
}

.PageNotFound .Frame-row {
    justify-content: center;
}

.PageNotFound .Content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.PageNotFound .Content .SplashInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3% 20px;
    padding-top: calc((100vh - 800px) / 2);
}

.PageNotFound .Content .SplashInfo img {
    margin-bottom: 0 !important;
    width: initial;
}

.PageNotFound .Content .SplashInfo a {
    margin-top: 0 !important;
    font-size: 18px !important;
    line-height: 21px !important;
    padding: 15px 35px !important;
}

.PageNotFound .Content .SplashInfo h1 {
    font-size: 28px;
    line-height: 31px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.PageNotFound .Content .SplashInfo #Message {
    font-size: 18px;
    line-height: 21px;
    margin-bottom: 30px;
}

#dashboard_entry_ban .Frame#page,
.PageNotFound .Frame#page {
    margin-bottom: 0 !important;
}

#dashboard_entry_index .sidebar,
#dashboard_entry_ban .sidebar,
#dashboard_entry_ban .discussion-sticky-mobile,
#dashboard_home_filenotfound .discussion-sticky-mobile,
#dashboard_home_filenotfound .sidebar {
    display: none !important;
}

.PageNotFound.BanPage {
    display: none;
}

@media screen and (max-width: 958px) {
    .PageNotFound.BanPage {
        display: block;
    }

    .BanPopup {
        display: none;
    }

    .PageNotFound .Content .SplashInfo #Message {
        font-size: 15px;
    }

    .PageNotFound .Content .SplashInfo {
        padding-bottom: 10%;
        padding-top: calc((100vh - 500px) / 2);
    }

    .PageNotFound .Content .SplashInfo img {
        width: 50%;
    }

    .PageNotFound .SplashInfo .btn {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 767px) {
    .PageNotFound .Content .SplashInfo img {
        width: 148px;
    }
}

@media screen and (max-width: 360px) {
    .PageNotFound .Content .SplashInfo {
        padding-top: calc((100vh - 450px) / 2);
    }

    .PageNotFound .Content .SplashInfo img {
        width: 120px;
    }
}