body {
    position: relative;
    background: #FFFFFF;
}

.suggestChat {
    position: fixed;
    width: 281px;
    height: 133px;
    right: 41px;
    bottom: 120px;
}

.line1 {
    width: 281px;
    height: 0px;
    border: 1px solid #ECECEC;
}

.closeSuggestChat {
    position: absolute;
    right: 7px;
    top: 7px;
    color: #E7B624;
    cursor: pointer;
}

.headtextSuggestChat {
    width: 207px;
    height: 31px;

    font-family: 'Mitr';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 31px;

    color: #062045;

}

.ptextSuggestChat {
    width: 270px;
    height: 40px;

    font-family: 'Mitr';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;

    color: #333333;

}

.textToChat {
    width: 126px;
    height: 25px;
    margin-top: 15px;
    margin-left: 60px;

    font-family: 'Mitr';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;

    color: #E7B624;
    cursor: pointer;

}

.boxSuggestChat {
    display: block;
    width: 281px;
    height: 133px;

    background: #FFFFFF;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 9px;
}

.bottomLogo {
    width: 60px;
    height: 60px;
    position: fixed;
    right: 41px;
    bottom: 50px;
    cursor: pointer;
}
@media only screen and (min-width: 500px){
    .chat-box {
        background: #ffffff;
        position: fixed;
        right: 121px;
        bottom: 10px;
        width: 373px;
        height: 763px;
        max-width: 373px;
        max-height: 763px;
        border-radius: 15px;
        /*   box-shadow: 0px 5px 35px 9px #464a92; */
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    }
    .chat-box-body {
        position: relative;
        overflow-y: scroll;
        overflow-x: hidden;
        margin-top: 5px;
        height: 592px;
        width: 367px;
        font-family: 'Sarabun';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 21px;
        background-color: white;
    }
    .chat-input {
        background-color: white;
        height: 118px;
        position: relative;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    .textAndEmoji {
        width: 265px;
        height: 92px;
        background: #F5F5F5;
        border-radius: 18.5px;
        border-style: none;
        margin: 13px;
        position: absolute;
        left: 56px;
    }
}
@media only screen and (max-width: 499px){
    .chat-box {
        background: #ffffff;
        position: fixed;
        width: 100%;
        height: auto;
        top:60px;
        bottom: 0px;
        border-radius: 15px;
        /*   box-shadow: 0px 5px 35px 9px #464a92; */
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
        z-index: 1000;
    }
    .chat-box-body {
        position: fixed;
        bottom: 120px;
        top: 115px;
        overflow-y: scroll;
        overflow-x: hidden;
        margin-top: 5px;
        height: auto;
        width: 100%;
        font-family: 'Sarabun';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 21px;
        background-color: white;
    }
    .chat-input {
        background-color: white;
        height: 118px;
        width: 100%;
        position: fixed;
        bottom: 0px;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }
    .textAndEmoji {
        width: auto;
        height: 92px;
        background: #F5F5F5;
        border-radius: 18.5px;
        border-style: none;
        margin: 13px;
        position: absolute;
        left: 56px;
        right: 30px;
    }
    #expand{
        display: none;
    }
}

.chat-box-toggle {
    margin-left: auto;
    margin-right: 15px;
    cursor: pointer;
    color: #E7B624;
}

.chat-box-header {
    background: white;
    height: 55px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #062045;
    font-size: 20px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #E1E1E1;
    display: flex;
    align-items: center;
}


.chat-box-body::-webkit-scrollbar {
    width: 5px;
}

.chat-box-body::-webkit-scrollbar-thumb {
    background: #D8DCDE;
    border-radius: 10px;
    width: 5px;
}


.otherChat {
    max-width: 228px;
    background: #E1E1E1;
    border-radius: 10px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ownChat {
    max-width: 228px;
    background: #E7B624;
    border-radius: 10px;
    margin-bottom: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.autoReplyContainer {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: left;
    align-items: center;
    overflow-x: auto;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #E1E1E1;
    font-size: 16px;
}

.autoReplyContainer::-webkit-scrollbar {
    height: 5px;
}

.autoReplyContainer::-webkit-scrollbar-thumb {
    background: #D8DCDE;
    border-radius: 10px;
    height: 5px;
}

.autoReplyChat {
    max-width: 228px;
    border-color: #E7B624;
    border-style: solid;
    background-color: white;
    border-radius: 10px;
    margin: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.closeAutoReplyContainerIcon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    background-color: grey;
    color: white;
    border-radius: 50%;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.chat-3dot {
    width: 12px;
    height: 20px;
    align-self: flex-end;
    cursor: pointer;
}

.manageMessage {
    display: none;
    position: absolute;
    width: 97px;
    height: 73px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
    border-radius: 7px;

    font-family: 'Mitr';
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 22px;
    color: #333333;
}


.image-upload {
    display: flex;
}

.image-upload>input {
    display: none;
}


.emojiBlock {
    display: none;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 63px;
    background: #F5F5F5;
    border-radius: 0px 0px 15px 15px;
}

.textInput {
    background-color: rgb(245, 245, 245);
    border-style: none;
    height: 68px;
    width: 230px;
    resize: none;
    font-family: 'Sarabun';
    font-style: normal;
    font-weight: 300;
    font-size: 17px;
    line-height: 22px;
    margin-top: 10px;
    margin-left: 5px;
}

.textInput:focus {
    outline: none;
}

.textInput::-webkit-scrollbar {
    width: 5px;
}

.textInput::-webkit-scrollbar-thumb {
    background: #D8DCDE;
    border-radius: 10px;
    width: 5px;
}

.fileManage {
    display: none;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 63px;
    background: #F5F5F5;
    border-radius: 0px 0px 15px 15px;
}

.fileManage>input {
    display: none;
}

.large-chat-box {
    position: fixed;
    bottom: 0;
    top: 26px;
    width: 1177px;
    background: #FFFFFF;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 29px;
}

.large-chat-box-body {
    position: fixed;
    top: 130px;
    bottom: 137px;
    overflow-y: scroll;
    width: 1177px;
    font-family: 'Sarabun';
    font-style: normal;
    font-weight: 300;
    font-size: 20.9501px;
    line-height: 27px;
    background-color: white;
}

.large-chat-box-body::-webkit-scrollbar {
    width: 5px;
}

.large-chat-box-body::-webkit-scrollbar-thumb {
    background: #D8DCDE;
    border-radius: 10px;
    width: 5px;
}

.large-otherChat {
    max-width: 529px;
    background: #E1E1E1;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 8px 0;
}

.large-ownChat {
    max-width: 529px;
    background: #E7B624;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 8px 0;
}

.large-3dot {
    /* width: 15.71px;
    height: 3.93px; */
    width: 16px;
    height: 20px;
    margin-bottom: 8.5px;
    align-self: flex-end;
    cursor: pointer;
}

.greyArea {
    width: 1021px;
    height: 109px;
    background: #F5F5F5;
    border-radius: 25px;
    margin: 14px 0 0 21px;
}

.greyArea>input {
    display: none;
}

.large-textInput {
    background-color: rgb(245, 245, 245);
    border-style: none;
    height: 46.96px;
    width: 989px;
    resize: none;
    font-family: 'Sarabun';
    font-style: normal;
    font-weight: 300;
    font-size: 20.95px;
    line-height: 27px;
    margin-top: 12px;
    margin-left: 16px;
}

.large-textInput:focus {
    outline: none;
}

.large-textInput::-webkit-scrollbar {
    width: 5px;
}

.large-textInput::-webkit-scrollbar-thumb {
    background: #D8DCDE;
    border-radius: 10px;
    width: 5px;
}

.largeEmojiBlock {
    position: absolute;
    left: 741px;
    bottom: 60px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 322px;
    height: 177px;
    background: #FFFFFF;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.sendMessageBTN {
    background-image: url("/static/images/top-to-right-paper-plane.png");
    position: absolute;
    right: 10px;
    top: 22px;
    height: 19px;
    width: 20px;
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;

}

.sendMessageLargeBTN {
    background-image: url("/static/images/Group 9bigplane.png");
    margin: 23px 0 0 19px;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
}