#themeDellorto{

}
#themeRw{
    .chat-messages-notify a{
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .chat-message{
        color: #333;
    }
}
@media (max-width: 1008px){
    #themeRw {
        .chat-messages-notify a {
            padding-top: 5px !important;
            padding-bottom: 5px !important;
        }
        div.navbar.navbar-default.navbar-fixed-top div.container div#navbar-main.navbar-collapse.collapse.in ul.nav.navbar-nav.navbar-right li.dropdown.logged-menu.chat-messages-notify{
            display: none !important;
        }
    }
}
.chat-unread-row{
    position: relative;
}
.chat-unread-row .badge{
    position: relative !important;
}
.chat-messages-notify {
    position: relative;
}
.chat-messages-notify .badge{
    font-size: 6pt;
    position: absolute;
    right: 0px;
    top: -3px;
}
#themeAthena {
    .chat-messages-notify ul li {
        white-space: nowrap;
    }
    .chat-messages-notify .badge {
        background-color: #cd0000;
        right: 17px;
        top: 10px;
    }
    .chat-unread-row .badge{
        position: relative !important;
        top: auto;
        right: auto;
    }
}
.chat-bell{
    font-size: 18px;
}
#themeNzi{
    .chat-bell{
        font-size: 12pt;
    }
}
.alert-bell{
    -webkit-animation: ring 8s .10s ease-in-out infinite;
    -webkit-transform-origin: 50% 4px;
    -moz-animation: ring 8s .10s ease-in-out infinite;
    -moz-transform-origin: 50% 4px;
    animation: ring 8s .7s ease-in-out infinite;
    transform-origin: 50% 4px;
}
@-webkit-keyframes ring {
    0% { -webkit-transform: rotateZ(0); }
    1% { -webkit-transform: rotateZ(30deg); }
    3% { -webkit-transform: rotateZ(-28deg); }
    5% { -webkit-transform: rotateZ(34deg); }
    7% { -webkit-transform: rotateZ(-32deg); }
    9% { -webkit-transform: rotateZ(30deg); }
    11% { -webkit-transform: rotateZ(-28deg); }
    13% { -webkit-transform: rotateZ(26deg); }
    15% { -webkit-transform: rotateZ(-24deg); }
    17% { -webkit-transform: rotateZ(22deg); }
    19% { -webkit-transform: rotateZ(-20deg); }
    21% { -webkit-transform: rotateZ(18deg); }
    23% { -webkit-transform: rotateZ(-16deg); }
    25% { -webkit-transform: rotateZ(14deg); }
    27% { -webkit-transform: rotateZ(-12deg); }
    29% { -webkit-transform: rotateZ(10deg); }
    31% { -webkit-transform: rotateZ(-8deg); }
    33% { -webkit-transform: rotateZ(6deg); }
    35% { -webkit-transform: rotateZ(-4deg); }
    37% { -webkit-transform: rotateZ(2deg); }
    39% { -webkit-transform: rotateZ(-1deg); }
    41% { -webkit-transform: rotateZ(1deg); }

    43% { -webkit-transform: rotateZ(0); }
    100% { -webkit-transform: rotateZ(0); }
}

@-moz-keyframes ring {
    0% { -moz-transform: rotate(0); }
    1% { -moz-transform: rotate(30deg); }
    3% { -moz-transform: rotate(-28deg); }
    5% { -moz-transform: rotate(34deg); }
    7% { -moz-transform: rotate(-32deg); }
    9% { -moz-transform: rotate(30deg); }
    11% { -moz-transform: rotate(-28deg); }
    13% { -moz-transform: rotate(26deg); }
    15% { -moz-transform: rotate(-24deg); }
    17% { -moz-transform: rotate(22deg); }
    19% { -moz-transform: rotate(-20deg); }
    21% { -moz-transform: rotate(18deg); }
    23% { -moz-transform: rotate(-16deg); }
    25% { -moz-transform: rotate(14deg); }
    27% { -moz-transform: rotate(-12deg); }
    29% { -moz-transform: rotate(10deg); }
    31% { -moz-transform: rotate(-8deg); }
    33% { -moz-transform: rotate(6deg); }
    35% { -moz-transform: rotate(-4deg); }
    37% { -moz-transform: rotate(2deg); }
    39% { -moz-transform: rotate(-1deg); }
    41% { -moz-transform: rotate(1deg); }

    43% { -moz-transform: rotate(0); }
    100% { -moz-transform: rotate(0); }
}

@keyframes ring {
    0% { transform: rotate(0); }
    1% { transform: rotate(30deg); }
    3% { transform: rotate(-28deg); }
    5% { transform: rotate(34deg); }
    7% { transform: rotate(-32deg); }
    9% { transform: rotate(30deg); }
    11% { transform: rotate(-28deg); }
    13% { transform: rotate(26deg); }
    15% { transform: rotate(-24deg); }
    17% { transform: rotate(22deg); }
    19% { transform: rotate(-20deg); }
    21% { transform: rotate(18deg); }
    23% { transform: rotate(-16deg); }
    25% { transform: rotate(14deg); }
    27% { transform: rotate(-12deg); }
    29% { transform: rotate(10deg); }
    31% { transform: rotate(-8deg); }
    33% { transform: rotate(6deg); }
    35% { transform: rotate(-4deg); }
    37% { transform: rotate(2deg); }
    39% { transform: rotate(-1deg); }
    41% { transform: rotate(1deg); }

    43% { transform: rotate(0); }
    100% { transform: rotate(0); }
}
.draguploadClass{
    background-color: #00dc7a !important;
}
.flex-row{
    display: flex;
}
.flex-col{
    flex: 1;
}
#chatFrame div.content div.messages ul{
    padding: 0px 0px 0px 0px;
}
#chatFrame {
    height: 92vh;
    min-height: 300px;
    max-height: 720px;
}
#themeDellorto{
    #chatFrame {
        max-height: 680px;
    }
}
#themeNzi{
    #chatFrame {
        max-height: 680px;
    }
}
#themeRw{
    #chatFrame {
        max-height: 680px;
    }
}
#themeAthena{
    #chatFrame {
        max-height: 680px;
    }
}
@media screen and (max-width: 360px) {
    #chatFrame {
        width: 100%;
        height: 100vh;
    }
}
#chatFrame #chatSidePanel {
    float: left;
    min-width: 280px;
    max-width: 340px;
    width: 40%;
    height: 100%;
    background: #2c3e50;
    color: #f5f5f5;
    overflow: hidden;
    position: relative;
}
@media screen and (max-width: 735px) {
    #chatFrame #chatSidePanel {
        width: 58px;
        min-width: 58px;
    }
    #chatFrame .btn{
        white-space: break-spaces !important;
    }
    .btn-nowrap{
        white-space: break-spaces !important;
    }
}
#chatFrame #chatSidePanel #bottom-bar {
    position: absolute;
    width: 100%;
    bottom: 0;
}
#chatFrame #chatSidePanel #bottom-bar button {
    float: left;
    border: none;
    width: 50%;
    padding: 10px 0;
    background: #32465a;
    color: #f5f5f5;
    cursor: pointer;
    font-size: 0.85em;
    font-family: "proxima-nova",  "Source Sans Pro", sans-serif;
}
@media screen and (max-width: 735px) {
    #chatFrame #chatSidePanel #bottom-bar button {
        float: none;
        width: 100%;
        padding: 15px 0;
    }
}
#chatFrame #chatSidePanel #bottom-bar button:focus {
    outline: none;
}
#chatFrame #chatSidePanel #bottom-bar button:nth-child(1) {
    border-right: 1px solid #2c3e50;
}
@media screen and (max-width: 735px) {
    #chatFrame #chatSidePanel #bottom-bar button:nth-child(1) {
        border-right: none;
        border-bottom: 1px solid #2c3e50;
    }
}
#chatFrame #chatSidePanel #bottom-bar button:hover {
    background: #435f7a;
}
#chatFrame #chatSidePanel #bottom-bar button i {
    margin-right: 3px;
    font-size: 1em;
}
@media screen and (max-width: 735px) {
    #chatFrame #chatSidePanel #bottom-bar button i {
        font-size: 1.3em;
    }
}
@media screen and (max-width: 735px) {
    #chatFrame #chatSidePanel #bottom-bar button span {
        display: none;
    }
}
#chatFrame .content {
    /*float: right;*/
    /*width: 60%;*/
    height: 100%;
    overflow: hidden;
    position: relative;
}
@media screen and (max-width: 735px) {
    #chatFrame .content {
        /*width: calc(100% - 58px);*/
        /*min-width: 300px !important;*/
    }
}
@media screen and (min-width: 900px) {
    #chatFrame .content {
        /*width: calc(100% - 340px);*/
    }
}
#chatFrame .content .contact-profile {
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: #f5f5f5;
}
#chatFrame .content .contact-profile img {
    width: 40px;
    border-radius: 50%;
    float: left;
    margin: 9px 12px 0 9px;
}
#chatFrame .content .contact-profile p {
    float: left;
}
#chatFrame .content .contact-profile .social-media {
    float: right;
}
#chatFrame .content .contact-profile .social-media i {
    margin-left: 14px;
    cursor: pointer;
}
#chatFrame .content .contact-profile .social-media i:nth-last-child(1) {
    margin-right: 20px;
}
#chatFrame .content .contact-profile .social-media i:hover {
    color: #435f7a;
}
#chatFrame .content .messages {
    height: auto;
    min-height: calc(100% - 0px);
    max-height: calc(100% - 0px);
    overflow-y: scroll;
    overflow-x: hidden;
}
@media screen and (max-width: 735px) {
    #chatFrame{
        max-height: 600px !important;
    }
    #chatFrame .content .messages {
        max-height: calc(100% - 0px);
    }
}
#chatFrame .content .messages::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}
#chatFrame .content .messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}
#chatFrame .content .messages ul li {
    display: inline-block;
    clear: both;
    float: left;
    margin: 15px 0px 5px 0px;
    /*width: calc(100% - 25px);*/
    width: 100%;
    font-size: 0.9em;
}
#chatFrame .content .messages ul li:nth-last-child(1) {
    margin-bottom: 20px;
}
/*#chatFrame .content .messages ul li.sent img {*/
/*    margin: 6px 8px 0 0;*/
/*}*/
#chatFrame .content .messages ul li.sent div.chat-message {
    background: #cc0000;
    color: #f5f5f5;
    font-size: 11pt;
}
/*#chatFrame .content .messages ul li.replies img {*/
/*    float: right;*/
/*    margin: 6px 0 0 8px;*/
/*}*/
#chatFrame .content .messages ul li.replies div.chat-message {
    background: #f5f5f5;
    float: right;
    font-size: 11pt;
}
#chatFrame .content .messages ul li .profile-icon img{
    width:100%;
    height: auto;
}
#chatFrame .content .messages ul li.replies .profile-icon {
    float: right;
    background-color: #a2a2a2;
    font-weight: bold;
    color: #fff;
}
#chatFrame .content .messages ul li .profile-icon {
    overflow: hidden;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    background-color: #fff;
    float: left;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
}
#chatFrame .content .messages ul li div.chat-message {
    display: inline-block;
    padding: 12px 15px;
    border-radius: 20px;
    max-width: 75%;
    line-height: 130%;
    word-break: break-word !important;
}
@media screen and (min-width: 735px) {
    #chatFrame .content .messages ul li div.chat-message {
        max-width: 75%;
    }
}
#chatFrame .content .message-input {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 99;
}
#chatFrame .content .message-input .wrap {
    position: relative;
}
#chatFrame .content .message-input .wrap input {
    font-family: "proxima-nova",  "Source Sans Pro", sans-serif;
    float: left;
    border: none;
    width: calc(100% - 90px);
    padding: 11px 32px 10px 8px;
    font-size: 0.8em;
    color: #32465a;
}
@media screen and (max-width: 735px) {
    #chatFrame .content .message-input .wrap input {
        padding: 15px 32px 16px 8px;
    }
}
#chatFrame .content .message-input .wrap input:focus {
    outline: none;
}
#chatFrame .content .message-input .wrap .attachment {
    position: absolute;
    right: 60px;
    z-index: 4;
    margin-top: 10px;
    font-size: 1.1em;
    color: #435f7a;
    opacity: .5;
    cursor: pointer;
}
@media screen and (max-width: 735px) {
    #chatFrame .content .message-input .wrap .attachment {
        margin-top: 17px;
        right: 65px;
    }
}
#chatFrame .content .message-input .wrap .attachment:hover {
    opacity: 1;
}
#chatFrame .content .message-input .wrap button {
    float: right;
    border: none;
    width: 50px;
    padding: 12px 0;
    cursor: pointer;
    background: #32465a;
    color: #f5f5f5;
}
@media screen and (max-width: 735px) {
    #chatFrame .content .message-input .wrap button {
        padding: 16px 0;
    }
}
#chatFrame .content .message-input .wrap button:hover {
    background: #435f7a;
}
#chatFrame .content .message-input .wrap button:focus {
    outline: none;
}