.sc-launcher, .sc-launcher::before {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    -webkit-transition: -webkit-box-shadow .2s ease-in-out;
    transition: -webkit-box-shadow .2s ease-in-out;
    -o-transition: box-shadow .2s ease-in-out;
    transition: box-shadow .2s ease-in-out;
    transition: box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;
}
.sc-launcher {
    background-color: #59B210;
    border:2px solid #59B210;
    background-position: 50%;
    background-repeat: no-repeat;
    position: fixed;
    display: inline;
    right: 25px;
    bottom: 25px;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    z-index: 9999;
    display: none;
}
.sc-chat-window {
    width: 370px;
    height: calc(100% - 120px);
    max-height: 590px;
    position: fixed;
    right: 25px;
    bottom: 100px;
    z-index: 9999;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: 0 7px 40px 2px hsla(210,1%,58%,.3);
    box-shadow: 0 7px 40px 2px hsla(210,1%,58%,.3);
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    border-radius: 10px;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}

.sc-chat-window.inactive {
    opacity:0;
    visibility:hidden;
    bottom:90px
   }
.sc-header {
    background: #59B210;
    min-height: 75px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    color: #fff;
    padding: 10px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.sc-header--img {
    border-radius: 50%;
}
.sc-header {
    color: #fff;
}

.sc-header--team-name:hover {
    background: #77B210;
}
.sc-header--team-name {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    border-radius: 5px;
}
.sc-header--team-name.placeholder {
background-color: #77B210;
}
.sc-header--img, .sc-header--team-name {
    -ms-flex-item-align: center;
    align-self: center;
    padding: 10px;
}
.sc-header--close-button {
    width: 40px;
    -ms-flex-item-align: center;
    align-self: center;
    height: 40px;
    margin-right: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 5px;
}
.sc-header--close-button:hover{
    background:#77B210;
}

.sc-header--close-button img {
    width: 100%;
    height: 100%;
    padding: 13px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.sc-header--close-button {
    cursor: pointer;
}

.sc-message-list {
    height: 80%;
    overflow-y: auto;
    background-color: #fff;
    background-size: 100%;
    padding: 40px 0;
}

.sc-message--me {
    text-align:right
   }
   .sc-message--them {
    text-align:left
   }
   @media (max-width:450px) {
    .sc-chat-window {
     width:100%;
     height:100%;
     max-height:100%;
     right:0;
     bottom:0;
     border-radius:0;
     -webkit-transition:.1s ease-in-out;
     -o-transition:.1s ease-in-out;
     transition:.1s ease-in-out
    }
    .sc-chat-window.inactive {
     bottom:0
    }
   }

.sc-message, .sc-message--content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.sc-message {
    width: 300px;
    margin: auto;
    padding-bottom: 10px;
}
.sc-message--content.sent {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.sc-message--content {
    width: 100%;
}
.sc-message, .sc-message--content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.sc-message--avatar {
    background-image: url(profile.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50%;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50%;
    -ms-flex-item-align: center;
    align-self: center;
    margin-right: 15px;
}


.sc-message--content.sent .sc-message--text {
    color: #fff;
    background-color: #59B210;
    max-width: calc(100% - 120px);
    word-wrap: break-word;
}
.sc-message--text {
    padding: 17px 20px;
    border-radius: 6px;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4;
    -webkit-font-smoothing: subpixel-antialiased;
}


.sc-message--content.received .sc-message--text {
    color: #263238;
    background-color: #f4f7f9;
    margin-right: 40px;
}

.sc-user-input {
    min-height:55px;
    margin:0;
    position:relative;
    bottom:0;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    cursor: text;
    background-color:#f4f7f9;
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
    -webkit-transition:background-color .2s ease,-webkit-box-shadow .2s ease;
    transition:background-color .2s ease,-webkit-box-shadow .2s ease;
    -o-transition:background-color .2s ease,box-shadow .2s ease;
    transition:background-color .2s ease,box-shadow .2s ease;
    transition:background-color .2s ease,box-shadow .2s ease,-webkit-box-shadow .2s ease
   }

   .sc-user-input--text {
    width:300px;
    resize:none;
    border:none;
    outline:none;
    border-bottom-left-radius:10px;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    padding:18px;
    font-size:15px;
    font-weight:400;
    line-height:1.33;
    cursor: text;
    white-space:pre-wrap;
    word-wrap:break-word;
    color:#565867;
    -webkit-font-smoothing:antialiased;
    max-height:200px;
    overflow:scroll;
    bottom:0;
    overflow-x:hidden;
    overflow-y:hidden
   }
   .sc-user-input--text:empty:before {
    content:attr(placeholder);
    display:block;
    color:rgba(86,88,103,.3);
    outline:none
   }
   .sc-user-input--buttons {
    width:100px;
    position:absolute;
    right:30px;
    height:100%;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex
   }
   .sc-user-input--button:first-of-type {
    width:40px
   }
   .sc-user-input--button {
    width:30px;
    height:55px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center
   }
   .sc-user-input.active {
    -webkit-box-shadow:none;
    box-shadow:none;
    background-color:#fff;
    -webkit-box-shadow:0 -5px 20px 0 rgba(150,165,190,.2);
    box-shadow:0 -5px 20px 0 rgba(150,165,190,.2)
   }
   .sc-user-input--send-icon {
    height:20px;
    width:20px;
    cursor:pointer;
    -ms-flex-item-align:center;
    align-self:center;
    outline:none
   }
   .sc-user-input--send-icon path {
    fill:rgba(86,88,103,.3)
   }
   .sc-user-input--send-icon:hover path {
    fill:#565867
   }
   .sc-user-input--emoji-icon-wrapper,
   .sc-user-input--send-icon-wrapper {
    background:none;
    border:none;
    padding:0;
    margin:0
   }
   .sc-user-input--emoji-icon-wrapper:focus {
    outline:none
   }


.sc-user-input--emoji-icon {
    height: 18px;
    cursor: pointer;
    -ms-flex-item-align: center;
    align-self: center;
}


.sc-user-input--emoji-icon {
    cursor: pointer;
}

.sc-user-input--emoji-icon-wrapper, .sc-user-input--send-icon-wrapper {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.sc-user-input--send-icon {
    height: 20px;
    width: 20px;
    cursor: pointer;
    -ms-flex-item-align: center;
    align-self: center;
    outline: none;
}

.sc-user-input--send-icon path {
    fill:rgba(86,88,103,.3)
   }
   .sc-user-input--send-icon:hover path {
    fill:#565867
   }
   .sc-user-input--emoji-icon-wrapper,
   .sc-user-input--send-icon-wrapper {
    background:none;
    border:none;
    padding:0;
    margin:0
   }
   .sc-user-input--emoji-icon-wrapper:focus {
    outline:none
   }
   .sc-user-input--emoji-icon {
    height:18px;
    cursor:pointer;
    -ms-flex-item-align:center;
    align-self:center
   }
   .sc-user-input--emoji-icon circle,
   .sc-user-input--emoji-icon path {
    fill:rgba(86,88,103,.3)
   }

   .sc-user-input--emoji-icon-wrapper:focus .sc-user-input--emoji-icon circle,
.sc-user-input--emoji-icon-wrapper:focus .sc-user-input--emoji-icon path,
.sc-user-input--emoji-icon.active circle,
.sc-user-input--emoji-icon.active path,
.sc-user-input--emoji-icon:hover circle,
.sc-user-input--emoji-icon:hover path {
fill:#565867
}
