.conversation {
    padding-top: 70px;
}

.all-conversations-plu-btns {
    display: flex;
    justify-content: space-between;
}

.new-chat-group-chat-btn {
    display: flex;
}
.send-message .attachment {
    text-decoration: none;
    background: #474545;
    display: block;
    padding: 0px 10px;
    font-size: 14px;
}

.for-coversations-heading h3 {
    color: #228dd3;
    font-family: "basement";
    font-size: 40px;
}

.Create-Group-Chat button {
    border: 1px solid #228dd3;
    color: #228dd3;
    font-size: 16px;
    height: 50px;
    width: 220px;
    background-color: white;
}

.Create-Group-Chat button img {
    margin-right: 10px;
}

/* .new-chat {
    margin-left: 25px;
} */

.new-chat button img {
    margin-right: 10px;
}

.new-chat button {
    border: 0px;
    color: #ffffff;
    font-size: 16px;
    height: 50px;
    width: 100%;
    background-color: #228dd3;
    padding: 0px 20px;
}

.all-friends {
    height: 740px;
    overflow: auto;
    background: #ebebeb;
    border-right: 1px solid #0000001c;
}

.message-sender {
    margin-left: 12px;
}

.chat-main.active {
    padding: 20px 25px;
    position: relative;
    background-color: #228dd3;
}

.for-side {
    display: flex;
    align-items: center;
}

.chat-main.active .for-side .message-sender .name-of-sender {
    font-size: 15px;
    font-family: "aileron-light";
    color: #ffffff;
}

.chat-main.active .for-side .latest-message {
    font-size: 10px;
    font-family: "aileron-light";
    color: #ffffff;
}

.chat-main.active .for-side .message-sender {
    width: calc(100% - 60px);
}

.chat-main.active .for-side .message-sender .latest-message {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.chat-main.active .for-side .sended-on {
    color: #ffffff;
    font-size: 9px;
    font-family: "aileron-light";
    position: absolute;
    right: 18px;
}

.img-friend {
    position: relative;
}

.active-friend {
    position: absolute;
    top: 0px;
    right: 5px;
}

.all-chats {
    margin-top: 40px;
    margin-bottom: 50px;
}

.chat-main {
    padding: 20px 25px;
    position: relative;
    background-color: #ebebeb;
    border-top: 1px solid #70707029;
    border-right: 1px solid #70707029;
}

.chat-main .for-side .message-sender .name-of-sender {
    font-size: 15px;
    font-family: "aileron-light";
    color: #000000;
}

.chat-main .for-side .latest-message {
    font-size: 10px;
    font-family: "aileron-light";
    color: #000000;
}

.chat-main .for-side .sended-on {
    position: absolute;
    right: 18px;
    bottom: 16px;
}

.chat-main.active .for-side .sended-on span {
    color: #ffffff;
    font-size: 9px;
    font-family: "aileron-light";
}

.chat-main .for-side .sended-on span {
    color: #00000094;
    font-size: 9px;
    font-family: "aileron-light";
}

.my-chat {
    /* padding: 30px 30px 0px 0px; */
    position: relative;
    height: 640px;
    overflow: auto;
}

.the-chats {
    height: 100%;
    position: relative;
    padding-bottom: 100px;
    background: #ebebeb;
    padding: 25px;
}

.my-chat-inner {
    height: 100%;
    margin-top: 34px;
}

.send-message {
    text-align: right;
    margin: 12px 0 0 auto;
    display: table;
    max-width: 50%;
}

.message-body {
    padding: 10px 19px;
    background-color: #228dd3;
    font-family: "aileron-light";
    text-align: left;
    position: relative;
}

.message-body span {
    color: #ffffff;
    font-size: 12px;
}

.send-on {
    text-align: right;
    clear: both;
    margin-top: 0;
}

.send-on span {
    color: #000000;
    font-size: 10px;
    opacity: 0.5;
}

.recive-message {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.message-recieved {
    margin: 0 auto 0 0;
    display: table;
    position: relative;
    max-width: 50%;
}

.that-message {
    background-color: #d9d9d9;
    padding: 10px 20px;
}

.that-message span {
    color: #000000;
    font-family: "aileron-light";
    font-size: 12px;
}

.recieved-on {
    text-align: right;
}

.recieved-on span {
    color: #000000;
    font-size: 10px;
    opacity: 0.5;
}

.send-new-message {
    position: absolute;
    width: 100%;
    bottom: 20px;
    display: flex;
    left: 0;
    padding: 0 30px 0 25px;
}

.for-new-message {
    width: 98%;
}

.for-new-message input {
    width: 100%;
    height: 57px;
    border: 0px !important;
    padding: 0 10px;
}

.for-new-message input::placeholder {
    color: #000000;
    font-size: 14px;
    font-family: "aileron-light";
    padding-left: 10px;
    opacity: 0.5;
}
.for-send-msg-btn button {
    background-color: #228dd3;
    border: 0px;
    width: 150px;
    height: 57px;
    color: #ffffff;
    font-family: "aileron-regular";
    font-size: 16px;
    position: relative;
    z-index: 9;
}

/* Modal Start Here */

.modal-content {
    background-color: #ebebeb !important;
    margin-left: -84px;
    width: 125%;
}

.modal-body {
    padding: 0px !important;
}

#exampleModalLabel {
    text-align: center !important;
    width: 100%;
    color: #343434;
    font-size: 20px;
    font-family: "basement";
}

.for-group-name {
    display: flex;
    padding: 1rem;
}

.enter-group-name {
    margin-left: 30px;
    margin-top: 20px;
}

.enter-group-name input {
    background-color: #ebebeb;
    border: 0px;
    height: 57px;
    width: 350px;
    border-bottom: 1px solid #7070703b;
}

.friends-list {
    margin-top: 50px;
}

.img-of-my-friend {
    position: relative;
}

.add-this-friends .fiend-info .img-of-my-friend img.userprofile1 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

section.conversation .my-chat .recive-message .recieve-from-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.img-friend img.userprofile1 {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.is-online {
    position: absolute;
    top: 5px;
    right: 2px;
}

.add-this-friends {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #7070703b;
    padding: 15px 25px;
}

.fiend-info {
    display: flex;
    align-items: center;
}

.name-of-my-friend {
    margin-left: 15px;
}

.name-of-my-friend span {
    color: #000000;
    font-family: "aileron-light";
    font-size: 18px;
}

.add-this-friend input {
    border: 10px solid #228dd3;
    border-radius: 50%;
}

.create-group-btn {
    margin-top: 95px;
}

.create-group-btn button {
    width: 100%;
    background-color: #228dd3;
    border: 0px;
    height: 51px;
    color: #ffffff;
    font-family: "aileron-regular";
    font-size: 16px;
}

.all-friends::-webkit-scrollbar {
    width: 0;
    /* Remove scrollbar space */
}

.my-chat::-webkit-scrollbar {
    width: 0;
    /* Remove scrollbar space */
}

.for-group-name label.group_image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.friends-list .img-of-my-friend img:nth-child(1) {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

@media screen and (max-width: 900px) {
    .modal-content {
        margin-left: 0px;
        width: 100%;
    }

    .all-conversations-plu-btns {
        display: block;
        justify-content: unset;
    }
}

@media screen and (max-width: 555px) {
    .my-chat {
        padding: 30px 0px 0px 0px;
    }

    .enter-group-name input {
        width: 320px;
    }

    .Create-Group-Chat button {
        width: 100%;
    }

    .sended-on {
        margin-bottom: 20px;
    }

    .new-chat {
        margin-left: unset;
    }

    .for-side {
        display: block;
    }

    .new-chat-group-chat-btn {
        display: block;
    }

    .for-coversations-heading h3 {
        color: #228dd3;
        font-family: "basement";
        font-size: 20px;
    }

    .for-space-bw-col {
        margin-top: 30px !important;
        padding: 0px !important;
    }

    .the-chats {
        padding-left: 10px;
        padding-right: 10px;
    }

    .send-new-message {
        position: unset;
        display: block;
        padding: 0;
    }

    .for-new-message {
        width: 100%;
    }

    .for-send-msg-btn {
        margin-top: 10px;
    }

    .for-send-msg-btn button {
        width: 100%;
    }

    .new-chat {
        margin-top: 10px;
    }

    .new-chat button {
        width: 100%;
    }
}

@media screen and (max-width: 501px) {
    .for-group-name {
        display: block;
    }
}

.chat-main .for-side .sended-on span.the_drop_down {
    font-size: 25px !important;
    line-height: 7px;
}

ul.dropdown-menu.for_the_min_width.show {
    min-width: unset;
    padding: 0px;
    border-radius: 0px;
}

ul.dropdown-menu.for_the_min_width.show
    li
    a.dropdown-item.delete_stories_comment {
    font-size: 12px;
    padding: 0.25rem 12px 0.25rem 9px;
}

.comment_drop_down.conversation_drop_position {
    top: 0px;
    position: absolute;
    right: 18px;
}

.message_drop_down.conversation_drop_position {
    position: absolute;
    left: -16px;
    top: 5%;
}

.message_drop_down.conversation_drop_position span {
    color: #000;
    font-size: 19px;
    cursor: pointer;
    white-space: normal;
}

.message-recieved .message_drop_down.conversation_drop_position {
    position: absolute;
    right: -24px;
    top: 5%;
}

.chat-contain.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 0px;
    background-color: #308fd1;
    width: 98.5%;
    left: 0px;
    padding: 13px 20px;
    z-index: 9;
    border-bottom: 1px solid #0000001c;
}

.chat-contain.chat-header .user-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.chat-contain.chat-header span {
    color: #fff;
}
