@media (max-width: 1500px) {
    .col-auto.pl-xl-50px {
        padding: 0 5px;
    }

    .chat-container {
        max-height: 77vh;
        min-height: 77vh;
    }
}

/*bootstrap-xl*/
@media (max-width: 1199px) {
    .feed, .col-auto.pl-xl-50px, .profile {
        padding: 0 5px;
    }
    .profile .top {
        margin: 0 -30px;
    }

    body.login {
        height: auto;
        margin-top: 2rem;
        max-height: unset;
    }

    body.login #content {
        padding: 0 3rem;
    }

    .loginbox, .registerbox {
        margin: 0;
    }

    body.login #footer {
        position: relative;
    }
}

/*bootstrap-lg*/
@media (max-width: 991px) {
    .chat-container {
        max-height: 68vh;
        min-height: 68vh;
    }

    .profile .top {
        margin: 0;
    }

    .mobile-none {
        display: none;
    }

    .mobile-only {
        display: inherit;
    }

    .profile-feed {
        margin: 0;
    }

    ul.sidebar .toggle {
        display: inherit;
    }

    .feed {
        padding: 0;
        margin-top: 1rem;
    }

    .feed .item {
        padding: 15px 5px;
    }

    .feed .postcontainer .d-flex {
        display: block !important;
        position: relative;
    }

    .feed .postcontainer .post {
        display: block !important;
        margin-top: 1rem;
        margin-left: 0;
        position: relative;
        width: -webkit-fill-available;
        max-width: 100%;
    }

    .feed .postcontainer .userimg {
        text-align: center;
        display: block;
        margin: auto;
    }

    nav {
        position: fixed;
        width: 100%;
        bottom: 0;
        box-shadow: 0 0 10px 0 #191a1c;
        height: 60px;
    }

    nav .imgcontainer img {
        display: none;
    }

    nav .tt .tt-tt {
        top: -100%;
    }

    ul.sidebar .sidebarcontent {
        max-height: 0;
        visibility: hidden;
    }

    ul.sidebar .sidebarcontent.show {
        animation: 2s sidebar forwards alternate;
    }

    @keyframes sidebar {
        0% {
            max-height: 0;
            visibility: hidden;
        }
        100% {
            visibility: inherit;
            max-height: 2000px;
        }
    }
    .page-chat .chat.mobile-none.show {
        display: block;
        position: absolute;
        max-height: 100%;
        max-width: 100%;
        z-index: 20;
        opacity: 1;
        padding: 0;
        margin: 1rem .5rem;
        top: 0;
        left: 0;
        background: #19191c;
    }

    .chat-container {
        padding-right: 0;
    }

    ul.sidebar:first-of-type {
        padding-top: 0;
    }

    .md-text-center {
        text-align: center;
    }

    .feed .item .footer .tipbutton {
        display: inline-block;
        position: absolute;
        width: auto;
        right: 15px;
    }

    #footer {
        padding-bottom: 60px;
    }
}

@media (max-height: 840px) {
    .chat-container {
        max-height: 62vh;
        min-height: 62vh;
    }
}

@media (max-height: 715px) {
    .chat-container {
        max-height: 54vh;
        min-height: 54vh;
    }
}

@media (max-height: 615px) {
    .chat-container {
        max-height: 52vh;
        min-height: 52vh;
    }
}

@media (max-height: 540px) {
    .chat-container {
        max-height: 45vh;
        min-height: 45vh;
    }
}

@media (max-height: 470px) {
    .chat-container {
        max-height: 39vh;
        min-height: 39vh;
    }
}

@media (max-width: 550px) {
    #content {
        padding: 0 10px!important;
    }
}

@media (max-width: 430px) {
    nav li {
        padding: 10px;
    }
    .profile .top .body .content {
        margin-left: 0;
        padding-top: 80px;
    }
    .profile .top .body .content input, .profile .top .body .content textarea {
        width: auto;
        margin-right: 0;
        width: -webkit-fill-available;
    }
    .profile .mobile-full-width {
        margin-left: 0px;
        margin-right: 0px;
    }
    .profile .top .body .profilebuttons {
        float: none;
        margin-top: 1rem;
    }
    .profile .top .body .profilebuttons button {
        width: 100%;
        min-height: 45px;
        height: auto;
    }
    .profile .top .body .profilebuttons button:not(:first-of-type) {
        margin-top: 1rem;
    }
    .profile .top .body .profilebuttons span {
        display: inline-block;
    }
    .profile .top .body .content {
        padding: 10px;
        padding-top: 70px;
    }
}

@media (max-width: 380px) {
    .feed .item .footer .tipbutton {
        display: block;
        float: none;
        position: relative;
        text-align: center;
        margin: 0 auto;
        right: -50px;
    }
}