@media screen and (max-width: 768px) {
    .chatsidebar-footer {
        display: none;
        width: 100%;
    }

    #header {
        display: none;
    }

    #mobileHeaderUserProfile {
        display: block;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1200;
        height: 100%;
        position: sticky;
        top: 0;
        right: 0;
    }

    .login-container {
        margin: 0;
    }

    .login-container .login-sideimage {
        display: none;
    }

    .input-group-custom {
        max-width: 100%;
    }

    .main-content {
        height: 100vh;
    }

    .chatsidebar {
        width: 100%;
        position: sticky;
        z-index: 5;
        display: none !important;
    }

    #sidebarshow {
        display: block;
        background: #fff;
    }

    .logo-toggler {
        display: none !important;
    }

    .sidebar-toggler {
        display: flex !important;
    }

    .sidebar-footer-toggler {
        display: block !important;
    }

    .logo>img {
        margin: 3% 0 0;
        object-fit: cover;
    }

    .user-info {
        flex-direction: column;
    }

    .user-info>div {
        display: none;
    }

    .user-info>img {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }

    .user-info>.toggle-userinfo {
        display: flex;
        flex-wrap: wrap;
        width: 93px;
        position: sticky;
    }

    .logo-under-icon {
        justify-content: flex-start;
    }

    .message {
        max-width: 100%;
        overflow: visible;
    }

    .message.user>p {
        text-align: justify;
        font-family: Source Sans Pro;
        font-weight: 400;
        font-size: 16px;
        color: rgba(27, 37, 89, 1);
        background-color: rgba(254, 254, 254, 1);
        border: 1px solid rgba(226, 232, 240, 1);
    }

    .ai>.message-response-icon {
        height: 100%;
        width: 16%;
    }

    .header h1 {
        display: none;
    }

    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1030;
        /* higher than navbar (usually 1020 in Bootstrap) */
    }

    #newchatscreen {
        width: 100%;
        padding-top: 103px;
    }

    #newchatscreen>.welcome-title,
    #newchatscreen>.welcome-title>.highlight {
        font-size: 35px;
    }

    .sidebar-body-toggler {
        display: none !important;
    }

    .chat-container {
        padding-top: 142px;
    }

    .user-icon {
        width: 50px;
    }
}

@media (min-width: 1440px) {
    .ai>.message-response-icon>img {
        margin-bottom: 212%;
    }
}

@media screen and (min-width: 768px) {

    .ai>.message-response-icon {
        height: 100%;
        width: 30%;
    }
}

@media screen and (max-width: 500px) {

    .ai>.message-response-icon {
        height: 100%;
        width: 48%;
    }

    .user-icon {
        width: 172px;
    }

}

@media screen and (min-width: 763px) and (max-width: 900px) {
    .input-group-custom {
        width: 36rem;
    }
}