.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 160px;
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    background-color: white;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown:hover .dropdown-content {
    display: block;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #999;
}
input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}

label.checkbox-switch {
    cursor: pointer;
    text-indent: -9999px;
    width: 30px;
    height: 15px;
    background: grey;
    display: block;
    border-radius: 10px;
    position: relative;
}

label.checkbox-switch:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 11px;
    height: 11px;
    background: #fff;
    border-radius: 11px;
    transition: 0.3s;
}

input:checked + label.checkbox-switch {
    background: #bada55;
}

input:checked + label.checkbox-switch:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

label.checkbox-switch:active:after {
    width: 30px;
}


#ClientChatCommunication-input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: #333;
    font-size: 15px;
    min-height: 74px;
    margin: 10px 55px 0px 55px;
    padding: 0;
    width: 230px;
    box-shadow: none;
}
#ClientChatCommunication-messages-div {
    height: 384px;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}
.has-connected-user #ClientChatCommunication-messages-div {
    height: 347px;
}
#ClientChatCommunication-typing-div {
    position: relative;
    border-top: 1px solid #c4c4c4;
}
#ClientChatCommunication-send {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 17px;
    height: 33px;
    width: 33px;
    position: absolute;
    right: 11px;
    top: 11px;
}
#ClientChatCommunication-files {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 17px;
    height: 33px;
    width: 33px;
    position: absolute;
    left: 11px;
    top: 11px;
}
#ClientChatCommunication-files-input {
    display: none;
}
.communication-item {
    padding-bottom: 14px;
}
a.communication-file {
    color: black;
    text-decoration: none;
}
#ClientChatCommunication-messages-div .communication-item.outbound .body-text {
    background-color: white;
}
#ClientChatCommunication-messages-div .communication-item .body-text {
    border-radius: 5px;
    padding: 3px 5px;
}
/*
*= require publicChat/_dropdown
*= require publicChat/_scrollbar
*= require publicChat/_switch
*= require publicChat/ClientChatCommunication
 */
html, body {
    min-height: 100%;
    padding: 0;
    margin: 0;
    font-family: "Noto Sans", sans-serif;
    font-size: 14px;
    color: #333;
}
* {
    box-sizing: border-box;
}
#start-chat-btn {
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    padding: 10px 20px 10px 20px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 0px;
    right: 5px;
    width: 280px;
    transition: bottom 0.5s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#start-chat-btn .label {
    font-size: 16px;
}
#start-chat-btn i {
    font-size: 22px;
}
#start-chat-btn i::before {
    content: "\F12CA"; /* mdi-chat-processing-outline */
}
#start-chat-btn:hover i::before {
    content: "\F0B7B"; /* mdi-chat-processing */
}
#chat-window {
    position: fixed;
    bottom: -10px;
    right: 5px;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    z-index: 9;
    height: 555px;
    width: 350px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.shadow {
    box-shadow: #00000066 0px 3px 5px;
}
.shadow-light {
    box-shadow: #00000022 0px 3px 5px;
}
.shadow-light-hover {
    transition: box-shadow 0.15s ease-in-out;
    box-shadow: #00000022 0px 3px 5px;
}
.shadow-light-hover:hover {
    box-shadow: #00000044 0px 3px 5px;
}
.p-10px {
    padding: 10px;
}
.unread-badge:empty {
    display: none;
}
.unread-badge {
    background-color: #dc3545;
    color: white;
    border: 1px solid white;
    position: absolute;
    left: 8px;
    top: 12px;
    display: block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    animation: blinker 2s infinite;
}

@keyframes blinker {
    50% {
        background-color: #e16673;
    }
}
.btn {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.header-form {
    padding: 12px;
}
#connected-user {
    display: flex;
}
#connected-user .user-avatar {
    margin-right: 12px;
    position: relative;
    font-size: 16px;
}
#connected-user .user-avatar .dot {
    height: 12px;
    width: 12px;
    background-color: #00bb00; /* red #bb0000 yellow #ffb700 */
    border-radius: 50%;
    display: inline-block;
    border: solid white 2px;
    position: absolute;
    bottom: -2px;
    right: -2px;
}
.header-title {
    position: relative;
    font-weight: bold;
    font-size: 17px;
    /*
    text-align: center;
    */
}
.header-title .right-icons {
    position: absolute;
    top: -6px;
    right: 0;
    font-size: 26px;
}
.header-title i {
    cursor: pointer;
}
.footer-form {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    padding: 4px;
    background: #f1f1f1;
}
.footer-form img {
    margin-left: 3px;
    height: 14px;
}
.w-100 {
    width: 100%;
}
.start-form {
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
}
#public-chat-div {
    height: 470px;
    overflow: auto;
    box-shadow: inset 0px 7px 7px -10px #00000099, inset 0px -7px 7px -10px #00000099;
}
#public-chat-div .communication-item .body-text {
    min-width: inherit;
}
#public-chat-div.has-connected-user {
    height: 432px;
}
input, select, textarea {
    width: 100%;
    border: 1px solid #ccc;
    box-shadow: #00000011 0px 3px 5px;
    appearance: none;
    background-color: #F8F8F8;
    font-family: inherit;
    border-radius: 3px;
    color: #333;
    padding: 4px 7px;
    resize: none;
}
input:focus, select:focus, textarea:focus {
    outline: none;
}
input::placeholder, select::placeholder, textarea::placeholder {
    color: #333;
}
.input-group {
    margin-bottom: 14px;
}
#close-confirm {
    display: none;
    z-index: 999999;
    width: 240px;
    padding: 15px;
    margin: 1.75rem auto;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 0px 500px rgba(0, 0, 0, 0.1);
}
#close-confirm .btn-no {
    margin-bottom: 10px;
}
#notAvailableView {
    background-color: white;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
}
.h-100 {
    height: 100%;
}

@keyframes bell-ring {
    0% { content: "\F009C"; }
    2% { content: "\F009F"; }
    4% { content: "\F009C"; }
    6% { content: "\F009F"; }
    8% { content: "\F009C"; }
    10% { content: "\F009F"; }
    12% { content: "\F009C"; }
    14% { content: "\F009F"; }
    16% { content: "\F009C"; }
    18% { content: "\F009F"; }
    20% { content: "\F009C"; }
    100% { content: "\F009C"; }
}
.mdi-bell-outline::before {
    animation: bell-ring 5s infinite;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
