html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
strong,
b,
u,
i,
ol,
ul,
li,
fieldset,
form,
label,
legend,
input,
textarea,
select {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.s1-body-white-background {
    background-color: white;
}

#s1-chat-wrapper * {
    box-sizing: border-box;
}

#s1-chat-wrapper,
#s1-chat-wrapper #uploadBtnIconSendPnl,
#s1-chat-wrapper #chat-again {
    display: none;
}

#s1-chat-wrapper .hidden {
    display: none !important;
}

#s1-chat-wrapper .inline {
    margin: 5px;
    display: inline-block;
}

#s1-chat-wrapper .center {
    text-align: center;
}

#s1-chat-wrapper .left {
    text-align: left;
}

#s1-chat-wrapper .right {
    text-align: right;
}

#s1-chat-wrapper .label {
    display: none;
    color: #000;
    text-align: left;
    width: 100%;
    font-size: 13px;
    white-space: pre-wrap;
}

#s1-chat-wrapper.show-labels .label,
#s1-chat-wrapper .label.not-hidden {
    display: block;
}

#s1-chat-wrapper {
    box-sizing: border-box;
    font-family: Arial, Sans-Serif;
    position: relative;
    background: none;
    width: 100%;
    height: 100%;
    border: none;
}

#s1-chat-wrapper label,
#s1-chat-wrapper a,
#s1-chat-wrapper input,
#s1-chat-wrapper button,
#s1-chat-wrapper p,
#s1-chat-wrapper select,
#s1-chat-wrapper textarea {
    font-family: Arial, Sans-Serif;
    margin: 0;
    font-size: 13px;
    vertical-align: middle;
    font-weight: normal;
}

#s1-chat-wrapper input+span {
    margin-left: 5px;
}

#s1-chat-wrapper textarea {
    resize: none;
    width: 100%;
    height: 50px;
}

#s1-chat-wrapper .material-icons {
    color: #000;
    font-size: 20px;
}

#s1-chat-wrapper .s1-header {
    display: block;
    width: 100%;
    padding: 5px 10px;
    z-index: 1;
    background: #f8f8f8;
    min-height: 35px;
}

#s1-chat-wrapper .s1-header img {
    position: relative;
    float: left;
    height: 35px;
}

#s1-chat-wrapper .s1-header img.align-left {
    float: left;
}

#s1-chat-wrapper .s1-header img.align-center {
    float: none;
    display: block;
    margin: 0 auto;
}

#s1-chat-wrapper .s1-header img.align-right {
    float: right;
}

#s1-chat-wrapper .s1-header .s1-header-title {
    line-height: 35px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #000000;
    text-align: left;
}

#s1-chat-wrapper .action-btn {
    position: absolute;
    cursor: pointer;
    z-index: 2;
    width: 20px;
    text-align: center;
}

#s1-chat-wrapper #close-chat,
#s1-chat-wrapper #return-prev-step {
    right: 20px;
    top: 0px;
    display: none;
}

#s1-chat-wrapper .modal {
    display: none;
    position: absolute;
    z-index: 5;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-align: center;
}

#s1-chat-wrapper .modal .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    width: 70%;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#s1-chat-wrapper .modal .close {
    position: absolute;
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    top: -10px;
    right: -10px;
    background: #fff;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#s1-chat-wrapper .modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#s1-chat-wrapper .modal .modal-message {
    margin: 10px;
    position: relative;
    font-size: 14px;
}

#s1-chat-wrapper .modal .modal-loading {
    display: none;
    margin: 0 auto;
}

#s1-chat-wrapper .modal .modal-buttons {
    display: none;
}

#s1-chat-wrapper .modal.modal-close-chat .modal-buttons {
    display: block !important;
}

#s1-chat-wrapper .modal.show-loading .modal-loading {
    display: block !important;
}

#s1-chat-wrapper .modal.reload-chat-history .close,
#s1-chat-wrapper .modal.loading-modal .close {
    display: none !important;
}

#s1-chat-wrapper .modal button {
    width: 100px;
    text-align: center !important;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    background: #fff;
    color: #2C2C2C;
    border: 1px solid #A3A3A3;
    padding: 10px;
    margin: 2px auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#s1-chat-wrapper .modal button:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

#s1-chat-wrapper #email-modal .field-block {
    margin: 10px 0px;
    position: relative;
    text-align: center;
    clear: both;
}

#s1-chat-wrapper #email-modal .field-block label {
    margin-right: 10px;
}

#s1-chat-wrapper #email-modal #email-to-send {
    height: 35px;
    padding: 5px;
    width: 70%;
}

#s1-chat-wrapper #email-modal #email-send-error {
    color: #BB0000;
    margin: 10px;
}

#s1-chat-wrapper #email-modal #email-send-ok {
    color: #0C8A00;
    margin: 10px;
}

#s1-chat-wrapper .options-dropdown {
    right: 40px;
    top: 0px;
    display: none
}

#s1-chat-wrapper .options-dropbtn {
    font-family: inherit;
    background-color: transparent;
    font-size: 16px;
    border: none;
    padding: 0;
    cursor: pointer;
}

#s1-chat-wrapper .dropdown-content {
    display: none;
    right: 0;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 70px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    font-size: 10px;
    text-align: center;
}

#s1-chat-wrapper .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

#s1-chat-wrapper .dropdown-content a:hover,
.dropdown-content button.attach-btn-hover {
    background-color: #f1f1f1
}

#s1-chat-wrapper .dropdown-content button {
    font-size: 10px;
    background: #f9f9f9;
    border: none;
    padding: 10px;
    width: 100%;
}

#s1-chat-wrapper .icon-version .dropdown-content {
    min-width: 90px;
}

#s1-chat-wrapper .icon-version .dropdown-content a {
    text-align: center;
}

#s1-chat-wrapper .dropdown-content.show {
    display: block;
}

#s1-chat-wrapper .dropdown-content .icon-version {
    display: block;
}

#s1-chat-wrapper .dropdown-content .text-version {
    display: none;
}

#s1-chat-wrapper .attach-progress-wrapper {
    position: absolute;
    z-index: 1031;
    left: 0;
    width: 100%;
    height: 3px;
}

#s1-chat-wrapper .attach-progress-bar {
    display: block;
    position: absolute;
    left: 0px;
    width: 0px;
    height: 100%;
    background-color: #FF0000;
}

#s1-chat-wrapper .wdt-emoji-popup {
    height: 163px;
    bottom: 66px !important;
    right: 0 !important;
    width: 100%;
    border: none;
}

#s1-chat-wrapper .wdt-emoji-popup.half-width {
    width: 49%;
}

#s1-chat-wrapper img.emoji {
    height: 20px !important;
    vertical-align: middle;
}

#s1-chat-wrapper .wdt-emoji {
    padding: 4px !important;
    margin-right: 1.5px !important;
}

#s1-chat-wrapper .wdt-emoji-popup .wdt-emoji-scroll-wrapper {
    height: 130px;
}

#s1-chat-wrapper #wdt-emoji-search {
    display: none;
}

#s1-chat-wrapper .wdt-emoji-tab {
    width: 26px;
    padding: 2px 0px;
}

#s1-chat-wrapper #wdt-emoji-menu-header {
    padding: 2px 0 0 2px;
    border-top: 1px solid rgba(0, 0, 0, .15);
}

#s1-chat-wrapper .wdt-emoji-picker {
    display: block;
    position: fixed;
    bottom: 3px;
    z-index: 1;
    right: 46px;
}

#s1-chat-wrapper .embeded-iframe {
    display: block !important;
    overflow: hidden;
    width: 100% !important;
}

#s1-chat-wrapper .survey-iframe {
    display: block !important;
    overflow: hidden;
    width: 100% !important;
    height: 1000px !important;
}

#s1-chat-wrapper #chat-history {
    padding: 0;
    margin: 0;
    overflow-y: auto;
    font-size: 13px;
    list-style: none;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

#s1-chat-wrapper #status-msgs-wrapper {
    font-size: 10px;
    color: #000;
    padding: 5px 10px;
    float: left;
}

#s1-chat-wrapper #status-msgs-wrapper #typingdiv #typing-agent {
    width: 100%;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#s1-chat-wrapper #s1-legend {
    display: none;
}

#s1-chat-wrapper #s1-block {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ccc !important;
    width: inherit;
    height: 24px;
    padding-top: 2px;
}

#s1-chat-wrapper #s1-block a {
    top: 2px;
    position: absolute;
    right: 5px;
}

#s1-chat-wrapper #s1-block #s1_footer_logo {
    opacity: 0.7;
    height: 10px;
}

#s1-chat-wrapper #s1-block #s1_footer_logo:hover {
    opacity: 1;
}

#s1-chat-wrapper .s1-chat-panel #s1-send-panel #ta-msg {
    font-size: 13px;
    border: 1px solid #ccc;
}

.iOS #s1-chat-wrapper .s1-chat-panel #s1-send-panel #ta-msg {
    font-size: 16px;
}

#s1-chat-wrapper .s1-id-val,
#s1-chat-wrapper .s1-step1,
#s1-chat-wrapper .s1-step2 {
    display: none;
}

/*--Identity Validation Button styles --*/
#s1-chat-wrapper.id-val .s1-id-val {
    display: block;
    overflow: auto;
    clear: both;
}

#s1-chat-wrapper.id-val .s1-step1 {
    display: none
}

#s1-chat-wrapper.id-val .s1-step2 {
    display: none
}

#s1-chat-wrapper #s1-id-val .loginBtn {
    position: relative;
    margin: 0.2em;
    padding: 0 15px 0 46px;
    border: none;
    text-align: center;
    line-height: 34px;
    white-space: nowrap;
    border-radius: 0.2em;
    font-size: 13px;
    color: #fff;
    width: 175px;
}

#s1-chat-wrapper #s1-id-val .loginBtn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
}

#s1-chat-wrapper #s1-id-val .loginBtn:focus {
    outline: none;
}

#s1-chat-wrapper #s1-id-val .loginBtn:active {
    box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}

#s1-chat-wrapper #s1-id-val .s1-btn-container {
    width: 80%;
    text-align: center;
    display: none;
    border-top: 1px solid #ccc;
    padding: 10px;
    margin: 0px auto;
}

/* Loading in iframe */
#s1-chat-wrapper #s1-iframe-loading-modal {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    padding-top: 30%;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: white;
    justify-content: center;
}

#s1-chat-wrapper #s1-iframe-loading-modal .s1-iframe-loading-img {
    align-self: flex-start;
    width: 25%;
    margin-top: 25%;
}

/*--Manual Login Button styles --*/
#s1-chat-wrapper #s1-mnl-login {
    display: none;
}

#s1-chat-wrapper #s1-mnl-login.s1-btn-container {
    border-top: none;
}

#s1-chat-wrapper #s1-mnl-login .loginBtn-manual {
    background-color: #bdbdbd;
    background-image: linear-gradient(#bdbdbd, #818181);
    text-shadow: 0 -1px 0 #818181;
}

#s1-chat-wrapper #s1-mnl-login .loginBtn-manual:before {
    border-right: #7b7b7b 1px solid;
    background: url('../../images/chat_btn_login_manual.png') 5px 5px no-repeat;
}

#s1-chat-wrapper #s1-mnl-login .loginBtn-manual:hover,
#s1-chat-wrapper #s1-mnl-login .loginBtn-manual:focus {
    background-color: #d3d3d3;
    background-image: linear-gradient(#d3d3d3, #9c9c9c);
}

/*--FB Login Button styles --*/
#s1-chat-wrapper #s1-fb-login {
    display: none;
}

#s1-chat-wrapper #s1-fb-login #s1-fb-status {
    color: #FF0000;
    font-size: 11px;
}

#s1-chat-wrapper #s1-fb-login .loginBtn-facebook {
    background-color: #4C69BA;
    background-image: linear-gradient(#4C69BA, #3B55A0);
    text-shadow: 0 -1px 0 #354C8C;
}

#s1-chat-wrapper #s1-fb-login .loginBtn-facebook:before {
    border-right: #364e92 1px solid;
    background: url('../../images/chat_btn_login_fb.png') 6px 6px no-repeat;
}

#s1-chat-wrapper #s1-fb-login .loginBtn-facebook:hover,
#s1-chat-wrapper #s1-fb-login .loginBtn-facebook:focus {
    background-color: #5B7BD5;
    background-image: linear-gradient(#5B7BD5, #4864B1);
}

/*--GMail Login Button styles --*/
#s1-chat-wrapper #s1-gm-login {
    display: none;
}

#s1-chat-wrapper #s1-gm-login #s1-gm-status {
    color: #FF0000;
    font-size: 11px;
}

#s1-chat-wrapper #s1-gm-login .loginBtn-gmail {
    background-color: #dc4a38;
    background-image: linear-gradient(#dc4a38, #BD4031);
    text-shadow: 0 -1px 0 #BD4031;
}

#s1-chat-wrapper #s1-gm-login .loginBtn-gmail:before {
    border-right: #A62415 1px solid;
    background: url('../../images/chat_btn_login_gm.png') 6px 8px no-repeat;
}

#s1-chat-wrapper #s1-gm-login .loginBtn-gmail:hover,
#s1-chat-wrapper #s1-gm-login .loginBtn-gmail:focus {
    background-color: #EC4F3C;
    background-image: linear-gradient(#EC4F3C, #dc4a38);
}

/*--Step1 styles --*/
#s1-chat-wrapper.step1 .s1-step1 {
    display: block;
    overflow: auto;
    clear: both;
}

#s1-chat-wrapper.step1 .s1-step2 {
    display: none
}

#s1-chat-wrapper.step1 #s1-legend {
    display: block;
    padding: 5px 10px 0 10px;
    width: 100%;
    font-size: 13px;
    color: #666;
}

#s1-chat-wrapper.step1.inactive-text #s1-legend {
    display: none;
}

#s1-chat-wrapper.step1.closed-session-view #s1-legend {
    display: none;
}

#s1-chat-wrapper.step1.closed-session-view div.close-session-text {
    width: 100%;
    text-align: center;
    margin-top: 1em;
}

#s1-chat-wrapper.step1.closed-session-view .s1-form-panel {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

#s1-chat-wrapper.step1.showed_id_val #return-prev-step {
    display: block;
}

#s1-chat-wrapper .s1-step1 {
    background: #e8e8e8
}

#s1-chat-wrapper .s1-step1 .s1-form-panel {
    padding: 0 10px;
}

#s1-chat-wrapper .s1-step1 .field-block {
    position: relative;
    margin: 10px 0px;
    clear: both;
}

#s1-chat-wrapper .s1-step1 .field-block.inline {
    margin: 0px 5px 10px 5px;
    clear: none;
    float: left;
}

#s1-chat-wrapper .s1-step1 .field-block.highlight {
    background: #f3f3f3;
}

#s1-chat-wrapper .s1-step1 input[type='text'],
#s1-chat-wrapper .s1-step1 textarea {
    display: block;
    width: 100%;
    padding: 5px 5px;
    font-size: 12px;
    line-height: 12px;
    color: #555;
    background-color: #ffffff;
    background-image: none;
    height: 30px;
    border-radius: 0;
    border: 1px solid #464646;
}

#s1-chat-wrapper .s1-step1 textarea {
    height: 60px;
}

#s1-chat-wrapper .s1-step1 input:active,
#s1-chat-wrapper .s1-step1 input:focus {
    border: 1px solid #c4161c;
    outline: none;
}

#s1-chat-wrapper .s1-step1 button {
    width: 140px;
    outline: none;
    background-color: #880c10;
    border: none;
    height: 30px;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
}

#s1-chat-wrapper .s1-step1 .small {
    font-size: 11px;
    margin: 2px;
}

#s1-chat-wrapper .s1-step1 .center {
    text-align: center;
}

#s1-chat-wrapper .s1-step1 .error {
    color: #FF0000;
}

#s1-chat-wrapper .s1-step1 label.inline {
    margin: 5px;
    display: inline-block;
}

#s1-chat-wrapper .s1-step1 #chat-again {
    width: 25%;
    height: 35px;
    cursor: pointer;
    vertical-align: middle;
    z-index: 2;
}

/*--End Step1 styles --*/

/*--Step2 styles --*/
#s1-chat-wrapper.step2 .s1-step2 {
    display: block;
    overflow: auto;
    clear: both;
}

#s1-chat-wrapper.step2 .s1-step1 {
    display: none
}

#s1-chat-wrapper.step2 #close-chat {
    display: block;
}

#s1-chat-wrapper .s1-step2 {
    background: #e8e8e8
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel {
    padding: 0 5px;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel iframe {
    height: inherit;
    width: inherit;
    border: none;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel {
    padding: 5px 0px;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #ta-msg {
    resize: none;
    width: 75%;
    height: 35px;
    display: inline-block;
    outline: none;
    vertical-align: middle;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #s1sndbtn {
    width: 23%;
    height: 35px;
    display: inline-block;
    vertical-align: top;
    outline: none;
    border: none;
    background: #C8C7B9;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #s1sndbtn:hover {
    opacity: 0.8;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #s1sndbtn i {
    color: inherit;
    line-height: 23px;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #chat-again {
    width: 100%;
    height: 35px;
    cursor: pointer;
    vertical-align: middle;
    outline: none;
    border: none;
    background: #C8C7B9;
    z-index: 2;
}

#s1-chat-wrapper.step2 #close-chat {
    display: block;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg-in-attach {
    display: block;
    min-height: 40px;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg-in-attach img {
    float: left;
    width: 35px !important;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg-in-attach .filename {
    font-size: 11px;
    display: block;
    padding-left: 40px;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg-in-attach .filesize {
    font-size: 10px;
    display: block;
    padding-left: 40px;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .reply-msg {
    background-color: #c8c7b9;
    clear: both;
    padding: 5px;
    margin-bottom: 2px;
    margin-top: 4px;
    border-radius: 2px;
    border-left: 2px solid #000000;
}

#s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .reply-msg .msg-in .dt {
    display: none;
}

/*--End Step2 styles --*/

/*-- Chat Only text --*/
.onlytext #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block {
    margin-top: 5px;
    position: relative;
    clear: both;
    margin: 5px;
    margin-bottom: 10px;
}

.onlytext #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .user-name {
    font-weight: bold;
    font-size: 11px;
}

.onlytext #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .dt {
    font-size: 10px;
    float: left;
    margin-right: 10px;
}

.onlytext #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .dt .material-icons {
    font-size: 10px;
    vertical-align: text-bottom;
    margin-right: 2px;
    color: inherit;
    display: none;
}

.onlytext #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block {
    background: none;
}

.onlytext #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg {
    clear: both;
    word-wrap: break-word;
}

.onlytext #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg img {
    max-width: 100%;
}

/*-- Chat Bubbles --*/
.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block {
    margin-top: 5px;
    position: relative;
    padding: 4px 8px 4px 8px;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .user-name {
    font-weight: bold;
    font-size: 11px;
    line-height: 12px;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .dt {
    font-size: 10px;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .dt .material-icons {
    font-size: 10px;
    vertical-align: top;
    margin-right: 2px;
    color: inherit;
    line-height: 13px;
    display: none;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg {
    word-wrap: break-word;
    clear: both;
    width: 100%;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .msg img {
    max-width: 100%;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out {
    margin-right: 20%;
    background: #B8D1EC;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out .dt {
    float: left;
    margin-right: 5px;
    margin-top: 1px;
    line-height: 12px;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out .user-name {
    text-align: left;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out .reply {
    position: absolute;
    opacity: 0;
    transition: all ease 0.1s;
    top: calc(50% - 10px);
    right: -25px;
    border-radius: 25px;
    width: 20px;
    height: 20px;
    background: #00000010;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out .reply i {
    font-size: 1rem;
    line-height: 18px;
    width: 100%;
    text-align: center;
    color: #000000;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out:hover .reply {
    opacity: 1;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-in {
    margin-left: 20%;
    background: #c8c7b9;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-in .dt {
    float: right;
    margin-left: 5px;
    margin-top: 1px;
    line-height: 12px;
}

.bubbles #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-in .user-name {
    text-align: right;
}

/*--Template 1 styles --*/
.template1 #s1-chat-wrapper #close-chat i,
#s1-chat-wrapper .options-dropbtn i,
.template1 #s1-chat-wrapper #return-prev-step i {
    color: #ffffff;
}

.template1 #s1-chat-wrapper .s1-header {
    background: #005abb;
    min-height: 35px;
}

.template1 #s1-chat-wrapper .s1-header img {
    width: 35px;
    height: 35px;
}

.template1 #s1-chat-wrapper .s1-header .s1-header-title {
    line-height: 35px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #ffffff;
    text-align: left;
}

.template1 #s1-chat-wrapper .s1-step1,
#s1-chat-wrapper .s1-step2 {
    background: #ffffff;
}

.template1 #s1-chat-wrapper .s1-step1 input[type='text'],
#s1-chat-wrapper .s1-step1 textarea {
    display: block;
    width: 100%;
    padding: 5px 5px;
    font-size: 12px;
    line-height: 12px;
    color: #000;
    background-color: #f0f4fb;
    background-image: none;
    border-radius: 0;
    border: 1px solid #f0f4fb;
}

.template1 #s1-chat-wrapper .s1-step1 textarea {
    height: 60px;
}

.template1 #s1-chat-wrapper .s1-step1 input:active,
.template1 #s1-chat-wrapper .s1-step1 input:focus {
    border: 1px solid #0555ad;
    outline: none;
}

.template1 #s1-chat-wrapper .s1-step1 select {
    height: 30px;
    width: 100%;
    background: #f0f4fb;
    border: 1px solid #f0f4fb;
    color: #000;
    margin: 0px 0px;
}

.template1 #s1-chat-wrapper .s1-step1 button {
    width: 100px;
    background-color: #005abb;
    border: none;
    height: 30px;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    border: 1px solid #005abb;
    border-radius: 10px;
}

/*--Template 2 styles --*/
.template2 #s1-chat-wrapper #close-chat i,
.template2 #s1-chat-wrapper .options-dropbtn i,
.template1 #s1-chat-wrapper #return-prev-step i {
    color: #ffffff;
}

.template2 #s1-chat-wrapper .s1-header {
    background: #005abb;
    min-height: 14px;
}

.template2 #s1-chat-wrapper .s1-header img {
    width: 0px;
    height: 0px;
}

.template2 #s1-chat-wrapper .s1-header .s1-header-title {
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

.template2 #s1-chat-wrapper .s1-step1,
#s1-chat-wrapper .s1-step2 {
    background: #ffffff;
}

.template2 #s1-chat-wrapper .s1-step1 input[type='text'],
.template2 #s1-chat-wrapper .s1-step1 textarea {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.template2 #s1-chat-wrapper .s1-step1 input:active,
.template2 #s1-chat-wrapper .s1-step1 input:focus {
    border: 1px solid #0555ad;
    outline: none;
}

.template2 #s1-chat-wrapper .s1-step1 select {
    height: 30px;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    color: #000;
    margin: 0px 0px;
    border-radius: 5px;
}

.template2 #s1-chat-wrapper .s1-step1 button {
    width: 100px;
    background-color: #005abb;
    border: none;
    height: 30px;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    border: 1px solid #005abb;
    border-radius: 10px;
}

.template2 #s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #s1sndbtn {
    width: 35px;
    height: 35px;
    background: #0555ad;
    border-radius: 50%;
    color: #fff;
    padding: 7px;
}

/*--Template 3 styles --*/
.template3 #s1-chat-wrapper #close-chat i,
.template3 #s1-chat-wrapper .options-dropbtn i,
.template1 #s1-chat-wrapper #return-prev-step i {
    color: #ffffff;
}

.template3 #s1-chat-wrapper .s1-header {
    background: #005abb;
    min-height: 14px;
}

.template3 #s1-chat-wrapper .s1-header img {
    width: 0px;
    height: 0px;
}

.template3 #s1-chat-wrapper .s1-header .s1-header-title {
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

.template3 #s1-chat-wrapper .s1-step1,
#s1-chat-wrapper .s1-step2 {
    background: #ffffff;
}

.template3 #s1-chat-wrapper .s1-step1 input[type='text'],
.template3 #s1-chat-wrapper .s1-step1 textarea {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.template3 #s1-chat-wrapper .s1-step1 input:active,
.template3 #s1-chat-wrapper .s1-step1 input:focus {
    border: 1px solid #0555ad;
    outline: none;
}

.template3 #s1-chat-wrapper .s1-step1 select {
    height: 30px;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    color: #000;
    margin: 0px 0px;
    border-radius: 5px;
}

.template3 #s1-chat-wrapper .s1-step1 button {
    width: 100px;
    background-color: #005abb;
    border: none;
    height: 30px;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    border: 1px solid #005abb;
    border-radius: 10px;
}

.template3 #s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #s1sndbtn {
    width: 45px;
    height: 45px;
    background: #0555ad;
    border-radius: 50%;
    color: #fff;
    padding: inherit;
}

/*--Template 4 styles --*/
.template4 #s1-chat-wrapper *::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.template4 #s1-chat-wrapper #close-chat i,
.template4 #s1-chat-wrapper .options-dropbtn i,
.template4 #s1-chat-wrapper #return-prev-step i {
    color: #ffffff;
}

.template4 #s1-chat-wrapper .s1-header {
    background: #7269ef;
    min-height: 14px;
    border-bottom: 1px solid #f0eff5;
}

.template4 #s1-chat-wrapper .s1-header img {
    width: 0px;
    height: 0px;
}

.template4 #s1-chat-wrapper .s1-header .s1-header-title {
    line-height: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

.template4 #s1-chat-wrapper .s1-step1,
#s1-chat-wrapper .s1-step2 {
    background: #ffffff;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block {
    margin-top: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    -webkit-animation: flyIn .6s ease-in-out;
    animation: flyIn .6s ease-in-out;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out {
    margin-left: 8px;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-out::before {
    content: " ";
    width: 0;
    height: 0;
    border-width: 0 0 10px 8px;
    border-color: transparent transparent #f5f7fb transparent;
    border-style: solid;
    position: absolute;
    left: -8px;
    bottom: 0;
    box-shadow: rgb(0 0 0 / 10%) 0px 1px 0px 0px, rgb(0 0 0 / 6%) 0px 1px 0px 0px;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-in {
    margin-right: 8px;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block.msg-in::before {
    content: " ";
    width: 0;
    height: 0;
    border-width: 10px 0 0 8px;
    border-color: transparent transparent transparent #7269ef;
    border-style: solid;
    position: absolute;
    right: -8px;
    bottom: 0;
    box-shadow: rgb(0 0 0 / 10%) 0px 1px 0px 0px, rgb(0 0 0 / 6%) 0px 1px 0px 0px;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel ul li.chat-msg-block .reply-msg {
    border: 0;
    border-radius: 5px;
}

.template4 #s1-chat-wrapper .s1-step1 input[type='text'] {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 15px;
}

.template4 #s1-chat-wrapper .s1-step1 textarea {
    background-color: #fff;
    border-radius: 10px;
}

.template4 #s1-chat-wrapper .s1-step1 input:active,
.template4 #s1-chat-wrapper .s1-step1 input:focus {
    border: 1px solid #7269ef;
    box-shadow: 0 0 0 0.2rem #7269ef40;
    outline: none;
}

.template4 #s1-chat-wrapper .s1-step1 select {
    height: 30px;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    color: #000;
    margin: 0px 0px;
    border-radius: 5px;
}

.template4 #s1-chat-wrapper .s1-step1 button {
    width: 100px;
    background-color: #7269ef;
    border: none;
    height: 30px;
    font-weight: bold;
    font-size: 12px;
    color: #ffffff;
    cursor: pointer;
    outline: none;
    border: 1px solid #7269ef;
    border-radius: 10px;
    margin: 20px 0px 10px 0px;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #ta-msg {
    border: none;
    margin-right: 2px;
    padding: 10px;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #s1sndbtn {
    background: #7269ef;
    border-radius: 10px;
    color: #fff;
    padding: 7px;
}

.template4 #s1-chat-wrapper .s1-step2 .s1-chat-panel #s1-send-panel #chat-again {
    position: relative;
}

.template4 #s1-chat-wrapper .wdt-emoji-picker {
    display: block;
    position: absolute;
    bottom: 8px;
    z-index: 1;
    right: 54px;
}

.template4 #s1-chat-wrapper .modal .modal-content {
    border: 0;
}

.template4 #s1-chat-wrapper .modal .modal-buttons button {
    border-radius: 5px;
    border-color: #cccccc;
}

/*--Bot Carousel --*/
#s1-chat-wrapper .chat-msg-block.s1-carousel-container {
    width: 100%;
}

/*--Custom Scroll bars in chat history --*/
#s1-chat-wrapper *::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#s1-chat-wrapper *::-webkit-scrollbar-track {
    background: transparent;
}

#s1-chat-wrapper *::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}

#s1-chat-wrapper *::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(204, 204, 204, 0.8);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    visibility: hidden;
}

#s1-chat-wrapper *:hover::-webkit-scrollbar-thumb {
    background: rgba(161, 161, 161, 0.8);
    visibility: visible;
}

#s1-chat-wrapper *::-webkit-scrollbar-thumb:active {
    background: #4b4b4b;
    visibility: visible;
}

#s1-chat-wrapper *::-webkit-scrollbar-corner {
    background: transparent;
}

#s1-chat-wrapper *::-webkit-scrollbar-button {
    width: 5px;
    height: 5px;
}

/*iOS*/
.phone.iOS #s1-chat-wrapper .s1-step1 .s1-form-panel input,
.phone.iOS #s1-chat-wrapper .s1-step1 .s1-form-panel textarea,
.phone.iOS #s1-chat-wrapper .s1-step1 select {
    font-size: 16px !important;
}

/*Audio Styles*/
#s1-chat-wrapper #s1-send-audio-panel {
    display: none;
    height: 35px;
    max-width: 200px;
    margin: 0 auto;
}

#s1-chat-wrapper #s1-send-audio-panel span {
    width: 33%;
    float: left;
    text-align: center;
}

#s1-chat-wrapper .audioRecording #s1-send-audio-panel {
    display: block;
}

#s1-chat-wrapper .audioRecording #s1-send-text-panel {
    display: none;
}

#s1-chat-wrapper .audioRecording .btn-audio-action {
    outline: none;
    background: #ffffff;
    border: 2px solid #aada7f;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    cursor: pointer;
}

#s1-chat-wrapper .audioRecording .btn-audio-action i {
    line-height: 30px;
}

#s1-chat-wrapper .audioRecording .btn-audio-action#send-audio {
    border: 2px solid #aada7f;
}

#s1-chat-wrapper .audioRecording .btn-audio-action#send-audio:hover {
    background: #ecffda;
}

#s1-chat-wrapper .audioRecording .btn-audio-action#send-audio i {
    color: #aada7f;
}

#s1-chat-wrapper .audioRecording .btn-audio-action#cancel-audio {
    border: 2px solid #f17474;
}

#s1-chat-wrapper .audioRecording .btn-audio-action#cancel-audio:hover {
    background: #ffeeee;
}

#s1-chat-wrapper .audioRecording .btn-audio-action#cancel-audio i {
    color: #f17474;
}

/*Image pasted Styles*/
#s1-chat-wrapper #paste-img {
    max-height: 225px;
    max-width: 100%;
    height: auto;
}

#s1-chat-wrapper .modal#paste-img-modal {
    padding: 10% 0;
}

#s1-chat-wrapper .modal#paste-img-modal #paste-img-wrapper,
#s1-chat-wrapper .modal#paste-img-modal #paste-img-caption {
    margin-bottom: 10px;
}

#s1-chat-wrapper .modal#paste-img-modal .modal-buttons {
    display: block !important;
}

/*Hide reply area Styles*/
#s1-chat-wrapper.hide-reply-panel #s1-send-audio-panel,
#s1-chat-wrapper.hide-reply-panel #s1-send-text-panel {
    display: none !important;
}

/*On Off new message notification*/
#s1-chat-wrapper .sound-toggle {
    float: right;
    margin-right: 22px;
    cursor: pointer;
}

#s1-chat-wrapper .sound-toggle .material-icons {
    display: none;
    color: #aaaaaa;
}

#s1-chat-wrapper .sound-toggle .material-icons:hover {
    color: #333333;
}

#s1-chat-wrapper .sound-toggle.on .on,
#s1-chat-wrapper .sound-toggle.off .off {
    display: block;
}

#s1-chat-wrapper.step1 .sound-toggle {
    display: none !important;
}

/* Unsent message style */
#s1-chat-wrapper .unsent-msg,
#s1-chat-wrapper .sent-status-msg {
    margin-left: 0.3rem;
    float: right;
    font-size: 12px;
    color: inherit;
}

#s1-chat-wrapper .main-wrapper {
    display: inline-block;
    /* margin-left: auto; */
    margin-right: 0;
}

/* Suggestions */
#s1-chat-wrapper .suggestions-wrapper {
    display: inline-block;
    height: fit-content;
    margin-right: 5px;
}

#s1-chat-wrapper .suggestions-wrapper.floating {
    position: absolute;
    width: 97% !important;
    left: 7px;
    z-index: 4;
    top: calc(100% - 15em);
    max-width: 400px;
}

@media (max-width: 400px) {
    #s1-chat-wrapper .suggestions-wrapper.floating {
        display: table;
        margin: auto !important;
        height: inherit !important;
        max-height: 40% !important;
    }
}

#s1-chat-wrapper #close-suggestions {
    position: relative;
    float: right;
}

#s1-chat-wrapper .btn-suggestions {
    /* position: relative !important; */
    /* float: left; */
    margin-bottom: 5px;
    cursor: pointer;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    /* font: inherit; */
    /* outline: inherit; */
    z-index: 1;
}

#s1-chat-wrapper #s1-suggestion-header-title {
    display: inline-block;
    line-height: 21px !important;
}

#s1-chat-wrapper .suggestions-body {
    min-height: 100px;
    overflow: auto;
    overflow-y: scroll !important;
}

/* Suggestions options */
#s1-chat-wrapper .suggestions-body ul {
    list-style-type: none;
    margin: 1rem;
    padding: 0;
}

#s1-chat-wrapper .suggestions-option {
    width: 100%;
    border-radius: 5px;
    padding: 2px 10px;
    margin: 5px 0px;
}

#s1-chat-wrapper .suggestions-option button {
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    outline: inherit;
}

.invisible {
    visibility: hidden !important;
    display: none;
}

.hideModal {
    z-index: -1;
    opacity: 0;
    animation: hide .25s;
    transform: scale(0);
}

@keyframes hide {
    from {
        z-index: 2;
        transform: scale(1);
        opacity: 1;
    }

    to {
        z-index: -1;
        transform: scale(0);
        opacity: 0;
    }
}

.showModal {
    opacity: 1;
    z-index: 2;
    animation: show .2s;
    transform: scale(1);
}

@keyframes show {
    from {
        transform: scale(0);
        opacity: 0;
        z-index: -1;
    }

    to {
        transform: scale(1);
        opacity: 1;
        z-index: 2;
    }
}

#quote-panel {
    margin-left: 2px;
}

#quote-panel .quote-window {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 5px;
    width: 81%;
    margin-bottom: 14px;
}

#quote-panel .quote-window .quote-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#quote-panel .quote-window .quote-content {
    display: flex;
    flex-direction: column;
}

#quote-panel .quote-window .quote-content .quote-msg {
    margin-bottom: 0.5rem;
}

#quote-panel .quote-window .quote-content .quote-name,
#quote-panel .quote-window .quote-content .quote-msg {
    font-size: 12px;
}

#s1-chat-wrapper button.close-quote-panel,
#s1-chat-wrapper button.quote-msg-btn {
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
}

.emoji-picker__emojis {
    overflow-x: clip;
}

#typing {
    width: 61px;
}

.s1-chat-loader {
    width: 12px;
    margin-left: 10px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}
@keyframes l5 {
    0%  {box-shadow: 15px 0 #000, -15px 0 #0002;background: #000 }
    33% {box-shadow: 15px 0 #000, -15px 0 #0002;background: #0002}
    66% {box-shadow: 15px 0 #0002,-15px 0 #000; background: #0002}
    100%{box-shadow: 15px 0 #0002,-15px 0 #000; background: #000 }
}