#nodechat-wrapper,
#nodechat-wrapper * {
    font-family: 'PT Sans', sans-serif;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#start-prewiew {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    color: #bfcbf1;
    margin-top: 10%;
    line-height: 33px;
}


#nodechat-wrapper {
    position: relative;
    float: left;
    width: 100%;
    display: block;
    background-color: #f6f8ff;
    border-radius: 4px;
}

.nodechat-container {
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
    position: relative;
    float: none;
}

#nodechat-header {
    position: relative;
    float: left;
    width: 100%;
}

#nodechat-header-wrapper {
    position: relative;
    float: none;
    display: flex;
    margin: 10px 10px 0px 10px;
    border-radius: 5px;
}


#nodechat-header .chat-header-controls {
    position: relative;
    float: left;
    width: 100%;
    display: block;
}


#nodechat-header .chat-header-controls #next {
    background-color: #c53686;
    color: #fff;
    padding: 0 30px;
    line-height: 55px;
    font-size: 24px;
    border: medium none;
    border-radius: 5px;
    font-weight: bold;
    position: relative;
    float: left;
    cursor: pointer;
}

#nodechat-body #start-preview-bt {
    background-color: #c53686;
    color: #fff;
    padding: 0 50px;
    line-height: 75px;
    font-size: 26px;
    border: medium none;
    border-radius: 5px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    margin: 25px auto 0 auto;
}

#nodechat-header .chat-header-controls #next.find-lock {
    background-color: #d3dedc !important;
    cursor: wait;
}




#nodechat-header .online-info {
    position: relative;
    float: right;
    line-height: 55px;
    font-size: 26px;
    color: #7d8fc6;
    font-weight: bold;
}



#nodechat-body {
    position: relative;
    float: left;
    width: 100%;
    display: block;
}

#nodechat-feed-wrapper {
    position: relative;
    float: none;
    display: flex;
    background-color: #fff;
    margin: 10px;
    border-radius: 5px;
}

#nodechat-feed {
    padding: 0;
    position: relative;
    float: left;
    display: block;
    background-color: #fff;
    overflow-y: auto;
    margin: 10px 0;
    width: 100%;
}

#nodechat-feed.has-scrollbar {
    padding-right: 10px;
}


#nodechat-feed .chat-message {
    list-style: none;
    position: relative;
    float: left;
    width: 100%;
    display: block;

}

#nodechat-feed .system-message {
    text-align: center;
    padding: 5px;
    color: #757575;
    margin: 0px 0px 10px 0px;
    background-color: #f1f1f1;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
}

#nodechat-feed .system-message.type-info {
    color: #7d8fc6;

}

#nodechat-feed .system-message.type-warn {
    color: #b32675;
}

#nodechat-feed .my-message {
    position: relative;
    float: left;
    width: auto;
    min-width: 100px;
    max-width: 90%;
    color: #1d1d1d;
    /* margin: 0 0px 30px 0; */
    margin: 0 0px 20px 0;
    background-color: #7d8fc6;
    border-radius: 10px 20px 20px 10px;
}

#nodechat-feed .partner-message {
    position: relative;
    float: right;
    width: auto;
    min-width: 100px;
    max-width: 90%;
    color: #1d1d1d;
    /* margin: 0 0px 30px 0; */
    margin: 0 0px 20px 0;
    background-color: #6f6f6f;
    border-radius: 20px 10px 10px 20px;
}



#nodechat-feed .system-message .messgae {}

#nodechat-feed .system-message .time-stamp {}



#nodechat-feed .my-message .nic-wrapper {
    position: relative;
    float: left;
    width: auto;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    line-height: 18px;
    min-height: 20px;
}

#nodechat-feed .my-message .messgae {
    position: relative;
    padding: 10px 15px 10px 15px;
    background-color: #f1f1f1;
    border-radius: 0 10px 10px 0;
    display: flex;
    font-weight: bold;
    min-height: 38px;
    color: #323232;
}

#nodechat-feed .my-message .time-stamp {
    position: absolute;
    float: left;
    left: 15px;
    margin-top: 2px;
    font-size: 12px;
    color: #b3b3b3;
}





#nodechat-feed .partner-message .nic-wrapper {
    position: relative;
    float: right;
    width: auto;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    line-height: 18px;
    min-height: 20px;
}

#nodechat-feed .partner-message .messgae {
    position: relative;
    padding: 10px 15px 10px 15px;
    background-color: #f1f1f1;
    border-radius: 10px 0 0 10px;
    display: flex;
    font-weight: bold;
    color: #323232;
    min-height: 38px;
}

#nodechat-feed .partner-message .time-stamp {
    position: absolute;
    float: right;
    right: 15px;
    margin-top: 2px;
    font-size: 12px;
    color: #b3b3b3;
}

#nodechat-wrapper #typing-status {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 5px;
    font-size: 14px;
    color: #c53686;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.76);
}


#nodechat-footer {
    position: relative;
    float: left;
    width: 100%;
    display: block;
}

#nodechat-footer-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

#nodechat-footer textarea#message_text {
    width: 83%;
    resize: none;
    line-height: 20px;
    height: 52px;
    padding: 4px;
    border: 1px solid #dedede;
    border-radius: 4px;
}

#nodechat-footer button#send_message {
    position: relative;
    float: right;
    width: 14%;
    height: 52px;
    border: medium none;
    background-color: #c53686;
    font-size: 24px;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}


@media screen and (max-width: 769px) {
    #nodechat-footer button#send_message {
        position: relative;
        float: right;
        width: 16%;
        height: 52px;
        border: medium none;
        background-color: #c53686;
        font-size: 17px;
        color: #ffffff;
        border-radius: 4px;
        cursor: pointer;
    }

    #nodechat-footer textarea#message_text {
        width: 80%;
        resize: none;
        line-height: 20px;
        height: 52px;
        padding: 4px;
        border: 1px solid #dedede;
        border-radius: 4px;
    }

    #nodechat-header .online-info {
        position: relative;
        float: right;
        line-height: 55px;
        font-size: 19px;
        color: #7d8fc6;
        font-weight: bold;
    }


}


@media screen and (max-width: 570px) {
    .nodechat-container {
        width: 100%;
        margin: 0 auto;
        display: block;
        position: relative;
        float: none;
        padding: 0px 10px;
    }


    #nodechat-header .chat-header-controls #next {
        background-color: #c53686;
        color: #fff;
        padding: 0 20px;
        line-height: 44px;
        font-size: 20px;
        border: medium none;
        border-radius: 5px;
        font-weight: bold;
        position: relative;
        float: left;
        cursor: pointer;
        width: 100%;
    }


    #nodechat-header .online-info {
        position: relative;
        float: left;
        line-height: 12px;
        font-size: 12px;
        color: #7d8fc6;
        font-weight: bold;
        width: 100%;
        text-align: right;
        margin-top: 7px;
    }

    #nodechat-header-container {
        width: 100%;
    }


}


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

    #nodechat-footer textarea#message_text {
        width: 73%;
        resize: none;
        line-height: 20px;
        height: 52px;
        padding: 4px;
        border: 1px solid #dedede;
        border-radius: 4px;
    }

    #nodechat-footer button#send_message {
        position: relative;
        float: right;
        width: 20%;
        height: 52px;
        border: medium none;
        background-color: #c53686;
        font-size: 11px;
        color: #ffffff;
        border-radius: 4px;
        cursor: pointer;
    }
}


/* Emoji */

#emoji-bt {
    position: relative;
    float: none;
    width: 30px;
    height: 30px;
    margin-right: -30px;
    display: inline-block;
    margin-left: -45px;
    top: -11px;
    background-image: url(../images/smile-icon.png);
    z-index: 99999;
    cursor: pointer;
    background-position: center center;
    background-size: 32px;
    background-repeat: no-repeat;
}

#nodechat-footer-wrapper.find-lock #emoji-bt {
    display: none;
}


#emoji-wrapper.closed {
    display: none;
}

#emoji-wrapper {
    background-color: rgba(255, 255, 255, 0.93);
    width: 96%;
    position: absolute;
    bottom: 87px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    float: none;
    box-shadow: 0 0 10px -4px #848484;
    padding: 10px 10px 10px 10px;
    left: 1%;
}

#emoji-wrapper>img {
    margin: 2px;
    padding: 0;
    width: 24px;
    height: 24px;
    position: relative;
    float: left;
    cursor: pointer;

}

#nodechat-feed .system-message a.textchatSignUp {
    display: inline-block;
    padding: 2px 7px;
    margin: 4px 10px;
    border-radius: 6px;
    border: 2px solid;
}

#nodechat-feed .system-message a.textchatSignUp:hover,
#nodechat-feed .system-message a.textchatSignUp:focus,
#nodechat-feed .system-message a.textchatSignUp:active {
    text-decoration: none;
    background-color: rgba(128, 128, 128, 0.2);
}