.refresh {
    position: fixed;
    bottom: 0;
    right: 5%;
    display: inline-block;
    width: 180px;
    padding: 9px;
    border: none;
    background-color: #0ca9ec;
    border-radius: 10px 10px 0 0;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    font-size: 0.8em;
}
.refresh:hover {
    color: white;
}

.chat-widget {
    position: fixed;
    bottom: 0;
    /*left: 50%;*/
    display: inline-block;
    width: 100%;
    max-width: 300px;
    background-color: white;
    box-shadow: 0 0 2px #aaa;
    display: none;
    margin: 10px 10px 0;
    border-radius: 10px 10px 0 0;
    z-index: 9999999999999999999;
}

.chat-header {
    background-color: #0ca9ec;
    color: white;
    padding: 4% 5%;
    border-radius: 5px 5px 0 0;
    font-weight: 700;
}
.chat-header .toggle-controls {
    float: right;
}
.chat-header .toggle-controls > div {
    margin-left: 10px;
    float: left;
}
.chat-header .toggle-controls .fa {
    color: white;
    font-size: 18px;
    line-height: 20px;
}
.chat-header .toggle-controls .fa:hover {
    color: rgba(255, 255, 255, 0.8);
}

.chat-window {
    width: 100%;
    height: auto;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}
.chat-window .chat-log {
    width: 100%;
    padding: 3% 5% 0;
    max-height: 300px;
    overflow-y: scroll;
}
.chat-window .chat-login {
    margin: 1em auto;
    width: 80%;
}
.chat-window .chat-log .chat-message {
    border-top: 1px solid #ddd;
    padding: 3% 0;
}
.chat-window .chat-log .chat-message:first-child {
    border-top: none;
    padding-top: 0;
}
.chat-window .chat-log .chat-message .sender {
    width: 100%;
    display: block;
    clear: both;
}
.chat-window .chat-log .chat-message .sender .sender-avatar {
    float: left;
    margin-right: 10px;
}
.chat-window .chat-log .chat-message .sender .sender-avatar img {
    border-radius: 50%;
}
.chat-window .chat-log .chat-message .sender .sender-name {
    float: left;
    line-height: 25px;
    font-weight: 700;
}
.chat-window .chat-log .chat-message .sender .sender-name.friend {
    color: #0ca9ec;
}
.chat-window .chat-log .chat-message .sender .sender-name.me {
    color: #f9a51a;
    text-align: right;
}
.chat-window .chat-log .chat-message .message {
    width: 100%;
    display: block;
    clear: both;
}
.chat-window input[type="text"] {
    width: 80%;
    padding: 2%;
    margin: 2% 1%;
    border: 1px solid #ddd;
    border-radius: 100px;
}
.btn-send{
    width: 13%;
    text-align: center;
    margin: 0;
    padding: 2%;
    border-radius: 100px;
    color: white;
    background-color: #0ca9ec;
    border: 0;
    height: 2.4em;
}
.btn-start{
    width: 50%;
    text-align: center;
    margin: 0;
    padding: 2%;
    border-radius: 100px;
    color: white;
    background-color: #0ca9ec;
    border: 0;
}
#addUser input[type = 'text']{
    border-radius: 5px;
    width: 100%;
}
.chat-window .spinner-border{
    margin: 8em;
}





/* -------- */
.chat-widget2 {
    min-width: 25%;
    background-color: #f9a518;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    overflow: hidden;
    display: inline-block;
    position: fixed;
    bottom: -0.92em;
    margin: auto 1em;
    right: 25%;
}
.chat-widget2 .success {
    display: none;
}
.chat-widget2.chat-widget-submitted .pristine {
    display: none;
}
.chat-widget2.chat-widget-submitted form {
    display: none;
}
.chat-widget2.chat-widget-submitted .success {
    display: block;
    /* color: white; */
}
.chat-widget2 .chat-widget-header {
    cursor: pointer;
    color: white;
    padding: 0.4em;
    border-bottom: 0;
}
.chat-widget2 .chat-widget-body {
    background-color: #444;
    padding: 0.66em 0.66em 0.1em;
    color: white;
}
.chat-widget2 .chat-widget-body p {
    margin: 0.33em 0 1.5em;
    color: white;
    text-align: center;
}
.chat-widget2.chat-widget-closed {
    right: 25%;
    height: 2.35em;
    position: fixed;
    bottom: 0;
}
.chat-widget2.chat-widget-closed .chat-widget-header-icon:before {
    content: '+';
}
.chat-widget2 form {
    /* border-top: 1px dotted #222; */
    padding: 1em 0  0;
}
.chat-widget2 form input[type='text'],
.chat-widget2 form input[type='email'],
.chat-widget2 form textarea {
    font-size: 1.1em;
    padding: 1em;
    border: none;
}
.chat-widget2 form input[type='submit'] {
    /*margin: 1em 0 0;*/
    /*font-size: 1em;*/
    /*padding: 1em 1em 2.33em;*/
}

