.PreView{
    background-color: #f4f5f5; background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f5f5), to(#dfdddd));
    background-image: -webkit-linear-gradient(top, #f4f5f5, #dfdddd);
    background-image: -moz-linear-gradient(top, #f4f5f5, #dfdddd);
    background-image: -ms-linear-gradient(top, #f4f5f5, #dfdddd);
    background-image: -o-linear-gradient(top, #f4f5f5, #dfdddd);
    background-image: linear-gradient(to bottom, #f4f5f5, #dfdddd);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f4f5f5, endColorstr=#dfdddd);
    border-radius: 3px;
    border:1px solid #CCCCCC;-webkit-box-shadow: #FEFFFF 0px 1px 1px ;-moz-box-shadow: #FEFFFF 0px 1px 1px ; box-shadow: #FEFFFF 0px 1px 1px ; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:14px;font-family:arial, helvetica, sans-serif; padding: 10px 10px 10px 10px; text-decoration:none; display:inline-block;text-shadow: 0px 1px 0 rgba(255,255,255,1);font-weight:bold; color: #4A4A4A;
    height: calc(100% - 20px);
    min-height: 150px;
    height:calc(100% - 25px);
    min-width: 250px;
    width: calc(100% - (100% - 302px));
    top: 20px;
    right: 0px;
    /*position: absolute;*/
    /*position: relative;*/
    overflow-y: auto;
}
.pre-head{
    position: absolute;
    background-color: #E6E6E6;
    border-radius: 3px;
    width:calc(100% - 22px);
    /*width:150px;*/
    height: 32px;
}
.pre-body{
    border: darkgray solid thin;
    height: calc(100% - 140px);
    min-height: 325;
    margin-top: 35px;
    width: 100%;

}
/*.scrollY{*/
    /*width: 100%;*/
    /*overflow-y: auto;*/
/*}*/
.preICO{
    font-size: 25px;
    padding: 10px;
    margin-right: 20px;
}
.row-action {
    /*background-color:#aab000;*/
    /*padding:10px 12px;*/
    width: 66px;
    height: 25px;
    right: 5px;
    /*position: relative;*/
    position: absolute;
    margin:0px;
    padding:0px;


}
.rowaction{
    /*left: 10px;*/
    /*top: 5px;*/
    /*background-color: #27ae60;*/
    margin-top: 3px;
    width: 100%;
    height: 80%;
    /*margin:0px;*/
    padding:0px;
    /*z-index: 100;*/
}
.rowaction{
    list-style:none;
}
.rowaction ul{
    list-style:none;
}
.rowaction > li {
    float:left;
}
.rowaction li a {
    border:1px solid #ffffff;
    border-radius: 2px;
    background-color:#E6E6E6;
    color:#aaaaaa;
    text-decoration:none;
    padding:7px 7px;
    display:block;
}

.rowaction li a:hover {
    background-color:#ffffff;
    color: #008BFF;
}

.rowaction li ul {
    right: 1px;
    display:none;
    position:absolute;
    min-width:80px;
    z-index: 20;
}

.rowaction li:hover > ul {
    display:block;
}

.rowaction li ul li {
    position:relative;
}

.rowaction li ul li ul {
    right:-140px;
    top:0px;
}
#map {
    min-height: 200px;
    height: 300px;
}
/*.more{*/
    /*background-color: #c0c0c0;*/
    /*width: 98%;*/
    /*height: 30px;*/
    /*display: block;*/
    /*position: relative;*/
    /*bottom: 1px;*/
/*}*/
/*.more a{*/
    /*color: #4183d7;*/
    /*text-decoration: none;*/
/*}*/
.smsChat{
    /*width: 300px;*/
    /*height: 400px;*/
    /*background-color: #01ff70;*/
    /*position: absolute;*/
    /*right: 0px;*/
    /*bottom: 0px;*/
    /*z-index: 300;*/
    position: fixed;
    bottom: 0px;
    right: 0px;
    background: #fff;
    max-width: 200px;
    width: 100%;
    bottom: 0px;
    border-radius: 10px;
    box-shadow: 0 0 128px 0 rgba(0,0,0,0.1),
    0 32px 64px -48px rgba(0,0,0,0.5);
    z-index: 90;
}
.smsChat img{
    object-fit: cover;
    border-radius: 50%;
}
.users{
    padding: 10px 10px;
}
.users header,
.users-list a{
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid #e6e6e6;
    justify-content: space-between;
}
.users header img{
    height: 20px;
    width: 20px;
}
:is(.users, .users-list) .content{
    display: flex;
    align-items: center;
}
:is(.users, .users-list) .content .details{
    color: #000;
    margin-left: 5px;
}
:is(.users, .users-list) .details span{
    font-size: 10px;
    font-weight: 500;
}
.users .search{
    margin: 10px 0;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
}
.users .search .text{
    font-size: 13px;
}
.users .search input{
    position: absolute;
    height: 22px;
    /*width: 100%;*/
    width: calc(100% - 50px);
    font-size: 12px;
    padding: 0 13px;
    border: 1px solid #e6e6e6;
    outline: none;
    border-radius: 5px 0 0 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}
.users .search input.show{
    opacity: 1;
    pointer-events: auto;
}
.users .search button{
    position: relative;
    z-index: 1;
    width: 47px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    background: #fff;
    color: #333;
    outline: none;
    border-radius: 0 5px 5px 0;
    transition: all 0.2s ease;
}
.users .search button.active{
    background: #333;
    color: #fff;
}
.search button.active i::before{
    content: '\f00d';
}
.users-list{
    max-height: 350px;
    overflow-y: auto;
}
:is(.users-list, .chat-box)::-webkit-scrollbar{
    width: 0px;
}
.users-list a{
    padding-bottom: 5px;
    margin-bottom: 10px;
    padding-right: 10px;
    border-bottom-color: #f1f1f1;
}
.users-list a:last-child{
    margin-bottom: 0px;
    border-bottom: none;
}
.users-list a img{
    height: 30px;
    width: 30px;
}
.users-list a .details p{
    font-size: 8px;
    font-weight: 500;
    color: #67676a;
}
.users-list a .status-dot{
    font-size: 12px;
    color: #468669;
    padding-left: 10px;
}
.users-list a .status-dot.offline{
    color: #ccc;
}

/* Chat Area CSS Start */
.chat-area header{
    display: flex;
    align-items: center;
    padding: 5px 10px;
}
.chat-area header .back-icon{
    color: #333;
    font-size: 12px;
}
.chat-area header img{
    height: 30px;
    width: 30px;
    margin: 0 0px;
}
.chat-area header span{
    font-size: 12px;
}
.chat-area header p{
    font-size: 10px;
}
.chat-area header .details span{
    font-size: 13px;
    font-weight: 500;
}
.chat-box{
    position: relative;
    /*min-height: calc(100% - 50%);*/
    /*max-height: calc(100% - 50%);*/
    min-height: 300px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px 5px 5px 5px;
    background: #f7f7f7;
    box-shadow: inset 0 32px 32px -32px rgb(0 0 0 / 5%),
    inset 0 -32px 32px -32px rgb(0 0 0 / 5%);
}
.chat-box .text{
    position: absolute;
    top: 15%;
    left: 10%;
    width: calc(100% - 10px);
    text-align: center;
    transform: translate(-50%, -50%);
}
.chat-box .chat{
    margin: 5px 0;
}
.chat-box .chat p{
    word-wrap: break-word;
    padding: 5px 5px;
    box-shadow: 0 0 32px rgb(0 0 0 / 8%),
    0rem 16px 16px -16px rgb(0 0 0 / 10%);
}
.chat-box .outgoing{
    display: flex;
}
.chat-box .outgoing .details{
    margin-left: auto;
    max-width: calc(100% - 10px);
}
.outgoing .details p{
    font-size: 12px;
    background: #333;
    color: #fff;
    border-radius: 18px 18px 0 18px;
}
.chat-box .incoming{
    display: flex;
    align-items: flex-end;
}
.chat-box .incoming img{
    height: 25px;
    width: 25px;
}
.chat-box .incoming .details{
    margin-right: auto;
    margin-left: 5px;
    max-width: calc(100% - 10px);
}
.incoming .details p{
    font-size: 12px;
    background: #fff;
    color: #333;
    border-radius: 18px 18px 18px 0;
}
.typing-area{
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
}
.typing-area input{
    height: 25px;
    width: calc(100% - 25px);
    font-size: 13px;
    padding: 0 13px;
    border: 1px solid #e6e6e6;
    outline: none;
    border-radius: 5px 0 0 5px;
}
.typing-area button{
    color: #fff;
    width: 25px;
    border: none;
    outline: none;
    background: #333;
    font-size: 13px;
    cursor: pointer;
    opacity: 0.7;
    pointer-events: none;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s ease;
}
.typing-area button.active{
    opacity: 1;
    pointer-events: auto;
}
/* Responive media query */
@media screen and (max-width: 450px) {
    .form, .users{
        padding: 20px;
    }
    .form header{
        text-align: center;
    }
    .form form .name-details{
        flex-direction: column;
    }
    .form .name-details .field:first-child{
        margin-right: 0px;
    }
    .form .name-details .field:last-child{
        margin-left: 0px;
    }

    .users header img{
        height: 45px;
        width: 45px;
    }
    .users header .logout{
        padding: 6px 10px;
        font-size: 12px;
    }
    :is(.users, .users-list) .content .details{
        margin-left: 15px;
    }

    .users-list a{
        padding-right: 10px;
    }

    .chat-area header{
        padding: 5px 10px;
    }
    .chat-box{
        min-height: 300px;
        padding: 5px 10px 5px 10px;
    }
    .chat-box .chat p{
        font-size: 12px;
    }
    .chat-box .outogoing .details{
        max-width: 230px;
    }
    .chat-box .incoming .details{
        max-width: 265px;
    }
    .incoming .details img{
        height: 20px;
        width: 20px;
    }
    .chat-area form{
        padding: 5px;
    }
    .chat-area form input{
        height: 20px;
        width: calc(100% - 10px);
    }
    .chat-area form button{
        width: 45px;
    }
}