*{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    outline: none;
}
.chat-main-btn{
    border-radius: 50%;
    height: 60px;
    width: 60px;
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 15px;
    background-color: #000000;
    color: #FFF;
    z-index: 100;
    font-size: 26px;
    padding: 10px;
}
#chat-modal-selection{
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin: 15px;
    z-index: 100;
    background-color: transparent;
    border-radius: 15px;
    padding: 10px;
    min-width: 150px;
    min-height: 150px;
    display: none;
    transform: rotate(0deg);
    animation: rotate 1s;
}
@keyframes rotate{
    0%{
        transform: rotate(90deg);
        right: -90px;
    }
    100%{
        transform: rotate(0deg);
        right: 0;
    }
}
#chat-modal-selection button{
    padding: 15px;
    width: 60px;
    height: 60px;
    border: none;
    background-color: #000000;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    border-radius: 50%;
}
#chat-modal-selection button:hover{
    background-color: blueviolet;
}
#chat-modal-selection button:nth-child(1){
    position: absolute;
    left: 0;
    bottom: 0;
}
#chat-modal-selection button:nth-child(2){
    position: absolute;
    left: 30px;
    top: 30px;
}
#chat-modal-selection button:nth-child(3){
    position: absolute;
    right: 0;
    top: 0;
}
hr{
    height: 1px;
    width: 70%;
    display: block;
    margin: auto;
    background-color: #FFF;
    border: none;
}

.sidenav-new {
    box-sizing: border-box;
    height: 100%;
    width: 300px;
    margin-right: -300px;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 120px;
}
.sidenav-new p{
    font-size: 29px;
    float: left;
    vertical-align: middle;
    width: fit-content;
    display: inline-block;
    border-bottom: 1px solid #818181;
}
.sidenav-new a {
    padding: 8px 32px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
    width: calc(100% - 0px);
    cursor: pointer;
}
.sidenav-new a i{
    float: right;
}
.sidenav-new a:hover {
    color: #f1f1f1;
}
.sidenav-new button{
    margin: 20px 10px;
    width: calc(100% - 20px);
    padding: 15px 0;
    text-align: center;
    font-size: 18px;
    color: #FFF;
    background-color: indigo;
    border: none;
    border-radius: 15px;
}
.sidenav-new button:hover{
    background-color: blueviolet;
}
.sidenav-new .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    width: calc(100% - 52px);
    text-align: right;
    padding: 4px;
    padding-top: 60px;
}

@media screen and (max-height: 450px) {
    .sidenav-new {padding-top: 15px;}
    .sidenav-new a {font-size: 18px;}
}

#chat-modal-user, #chat-modal-group, #chat-modal-help{
    min-width: 400px;
    min-height: 300px;
    height: auto;
    border-radius: 15px;
    position: fixed;
    bottom: 100px;
    right: 0;
    margin: 15px;
    box-shadow: 2px 3px 5px #CCC;
    display: none;
    background-color: #FFF;
}
#chat-modal-user .header, #chat-modal-group .header, #chat-modal-help .header{
    height: 70px;
    background-color: #000000;
    width: 100%;
    border-radius: 15px 15px 0 0;
    position: relative;
}
#chat-modal-user .header .user-icon, #chat-modal-group .header .user-icon, #chat-modal-help .header .user-icon{
    width: 60px;
    height: 60px;
    color: #000000;
    border-radius: 50%;
    border: 5px solid #000000;
    background-color: #FFF;
    position: absolute;
    left: 15px;
    top: -15px;
    font-size: 26px;
    padding: 9px;
}
#chat-modal-user .header .user-details, #chat-modal-group .header .user-details, #chat-modal-help .header .user-details{
    color: #FFF;
    position: absolute;
    left: 85px;
    top: 0;
    font-size: 18px;
    padding: 10px;
}
#chat-modal-user .header .user-details p, #chat-modal-group .header .user-details p, #chat-modal-help .header .user-details p{
    margin: 3px 0;
    font-size: 14px;
}
#chat-modal-user .chat, #chat-modal-group .chat, #chat-modal-help .chat{
    position: relative;
    max-width: 400px;
    text-align: center;
    color: #818181;
    font-size: 18px;
    padding: 30px;
}
#chat-modal-user .chat-box, #chat-modal-group .chat-box, #chat-modal-help .chat-box{
    border-top: 1px solid #818181;
    position: absolute;
    bottom: 0;
    width: calc(100% - 0px);
    padding: 20px;
    color: #818181;
}
#chat-modal-user .chat-box p, #chat-modal-group .chat-box p, #chat-modal-help .chat-box p{
    display: inline-block;
    margin: 0;
    padding-left: 15px;
}
.chat-container{
    width: 100%;
    position: relative;
}
.chat-container .profile-ico{
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    line-height: 20px;
    text-align: center;
    font-size: 10px;
    color: #FFF;
    background-color: #000000;
    display: inline-block;
    padding: 5px;
}
.chat-container .chat-bubble{
    padding: 15px;
    width: fit-content;
    border-radius: 15px 15px 15px 0;
    border: none;
    color: #FFF;
    background-color: indigo;
    display: inline-block;
}
.chat-txt{
    padding-left: 15px;
    border: none;
    background-color: transparent;
}