.slchat-block-holder{
    border-radius: 3px 30px 0 0 !important;
    min-width: 300px !important;
    z-index: 2147483647;
    -webkit-transition: all .3s cubic-bezier(.39, .24, .21, .99) !important;
    transition: all .3s cubic-bezier(.39, .24, .21, .99) !important;
    -webkit-animation-fill-mode: forwards !important;
    animation-fill-mode: forwards !important;
    position: fixed !important;
    transform: scale(1) !important;
    transform-origin: 0 100%;
    min-width: 38px !important;
    max-width: 100% !important;
    display: inline-block !important;
    background: transparent !important;
    max-height: 100% !important;
    min-height: 0 !important;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 0;
    margin: 0;
    bottom: 0px;
    width: 300px;
    max-height: 479px;
    right: 30px;
    overflow: visible;
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.slchat-block-holder:after {
    background: transparent;
    position: absolute !important;
    width: 100% !important;
    bottom: 0 !important;
    right: 0 !important;
    border-radius: 3px 30px 0 0 !important;
    content: " " !important;
    height: 100% !important;
    height: 100%;
    -webkit-box-shadow: 0 12px 25px 8px rgba(0,0,0,0.17);
    -moz-box-shadow: 0 12px 25px 8px rgba(0,0,0,0.17);
    box-shadow: 0 12px 25px 8px rgba(0,0,0,0.17);
}

.slchat-block-holder .slchat-messages-holder{
    padding: 10px;
}

.slchat-block{
    height: 0px;
    overflow: hidden;
    transition: all .5s ease;
    moz-transition: all .5s ease;
    background: #fff;
    line-height: 1.4em!important;
    overflow-y: auto;
    max-height: calc( 100vh - 50px );
}
.slchat-block.slchat-qu{
    
}
.slchat-block.slchat-success{
    display: none;
    position: relative;
    z-index: 2147483648;
}
.slchat-block.slchat-success a{
    color: #007acc;
    text-decoration: underline;
}
.slchat-block.slchat-success a:hover{
    color: #00548d;
}
.slchat-block.slchat-success .slchat-success-message{
    position: absolute;
    width: 280px;
    left: 10px;
    top: 50%;
    transform: translate(0, -50%);
    text-align: center;
}
.slchat-block-holder.slchat-trig .slchat-block{
    height: 410px;
}
.slchat-block-holder.slchat-trig .slchat-block.slchat-qu{
    height: auto;
}
.slchat-block-holder.slchat-no-agents .slchat-block.slchat-dialog{
    display: none;
}
.slchat-block-holder.slchat-no-agents .slchat-block.slchat-qu{
    display: block;
}
.slchat-block-holder:not(.slchat-no-agents) .slchat-block.slchat-qu{
    display: none;
}

.slchat-block-header{
    cursor: pointer;
    color: #f0f1f1;
    background: ;
    padding: 0px 20px;
    line-height: 50px;
    height: 50px;
    background: #23283c;
    background: #ec7f24;
    z-index: 2147483649;
    position: relative;
}
.slchat-block-title{
    position: relative;
    z-index: 2147483649;
}

.slchat-avatar.middle img{
    height: 40px;
    width: 40px;
}
.slchat-avatar.big img{
    height: 100px;
    width: 100px;
}

.slchat-messages-holder{
    position: relative;
    z-index: 2147483648;
    margin-bottom: 8px;
    width: 600px;
    overflow-y: auto;
    max-height: calc( 100vh - 100px );
}
.slchat-block .slchat-messages-holder{
    height: 360px;
}
.slchat-message-holder{
    margin-top: 8px;
    display: flex;
    position: relative;
}
.slchat-message-holder .slchat-avatar{
    margin-right: 15px;
    border-radius: 40px;
    overflow: hidden;
    min-width: 40px;
}
.slchat-message-holder .slchat-avatar img{
    border-radius: 40px;
}
.slchat-message-holder .time{
    vertical-align: middle;
    line-height: 45px;
    font-size: 13px;
}
.slchat-message{
    border-radius: 5px;
    padding-top: 1px;
    background: #f2f4fb;
    display: inline-block;
}
.slchat-message.my{
    background: rgb(225, 189, 232);
}
.slchat-message-row{
    padding: 11px;
    word-break: break-word;
}

.slchat-block .slchat-message-holder .slchat-avatar{
    display: none;
}
.slchat-block .slchat-message{
    max-width: 245px;
}

.slchat-send-post-form{
    display: flex;
    padding-bottom: 10px;
    position: relative;
    z-index: 2147483648;
}
.slchat-send-post-form .slchat-avatar{
    padding-right: 15px;
    border-radius: 40px;
    overflow: hidden;
}
.slchat-send-post-form .slchat-avatar img{
    border-radius: 40px;
    overflow: hidden;
}
.slchat-send-post-form .slchat-send-form-area{
    aheight: 42px;
    padding-right: 95px;    
    max-width: calc( 100% - 55px );
}
.slchat-block .slchat-send-post-form .slchat-send-form-area{
    padding-right: 0px;
}
.slchat-send-post-form .slchat-send-button,
.slchat-send-post-form .slchat-attach-button{
    display: block;
    box-sizing: border-box;
    asvisibility: hidden;
    font-size: 18px;
    height: calc( 100% - 8px );
    width: 42px;
    position: absolute;
    top: 0px;
    right: 0px;
    line-height: 42px;
    text-align: center;
    cursor: pointer;
    padding: 0px;
}
.slchat-send-post-form .slchat-attach-button{
    right: 42px;
}
.slchat-send-post-form .slchat-attach-input{
    display: none;
}
.slchat-send-post-form .slchat-send-button:hover,
.slchat-send-post-form .slchat-attach-button:hover{
    background: rgba(0, 0, 0, .05);
}
.slchat-send-post-form .slchat-attach-button .count{
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 16px;
    color: #fff;
    background: red;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    position: absolute;
    right: 5px;
    top: 5px;
}
.slchat-send-post-form .slchat-attach-button .count:empty{
    display: none;
}

.icon{
    background: none;
    border: none;
    position: relative;
    height: 2em;
    vertical-align: top;
    color: rgba(255,255,255,0.52);
    color: rgba(0,0,0,0.52);
    transition: .22s color;
}
button.icon:hover, a.icon:hover{
    cursor: pointer;
    color: #fff;
    color: #000;
}
.slchat-block i.icon{
    width: auto!important;
    line-height: 1em!important;
}

.slchat-form{
    position: relative;
    z-index: 2147483648;
    padding: 10px;
}
.slchat-form input.slchat-field{
    margin-bottom: 10px;
}

.slchat-form fieldset{
    border: none;
    margin: 10px 0px;
    padding: 0px;
    outline: none;
    display: block;
}
.slchat-fieldset-file{

}
.slchat-fieldset-file input{
    display: none;
}

.slchat-label{
    font-size: 13.3px;
    color: #555;
    margin: 10px 0px 6px;
    display: block;
}

input.slchat-field[type="text"],
select.slchat-field,
div.slchat-send-form-area{
    border: none;
    padding: 6px 12px 7px 12px;
    width: 100%;
    background: #2b2b30;
    background: #f5f8fa;
    color: rgba(255,255,255,0.52);
    color: rgba(0,0,0,0.56);
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}
select.slchat-field{
    box-shadow: inset 0 0 0 1px #fff !important;
    margin: -1px;
    padding-left: 6px;
    cursor: pointer;
}
div.slchat-send-form-area:empty:before{
    content: attr(placeholder);
    display: block;
}
input.slchat-field[type="text"]:empty{
    font-family: "Segoe UI";
}
.slchat-field:hover, .slchat-field:active, .slchat-field:focus, .slchat-field:target, .icon:hover, .icon:focus, .icon:target, div.slchat-send-form-area{
    outline: none;
}

.slchat-button{
    border: none;
    padding: 8px 12px 9px 12px;
    width: 100%;
    font-size: 13.3px;
    background: #ec7f24;
    display: inline-block;
    color: #fff;
    min-width: 190px;
    text-align: center;
    box-sizing: border-box;
    transition: all .2s ease;
    moz-transition: all .2s ease;
    margin-top: 3px;
    z-index: 2147483648;
}
.slchat-button:hover, a.slchat-button:hover {
    cursor: pointer;
    background: #04722f;
    background: #d5711e;
}

.slchat-button.slchat-button-gray{
    background: #2b2b30;
    color: #fff;
}
.slchat-button.slchat-button-gray:hover{
    background: #f5f8fa;
    color: #333;
}

abbr.time{
    text-decoration: none;
    color: #999;
    padding: 0px 8px;
}