﻿.chat-container {
    font-size:1.1em;
    min-height: 300px;
    width: 60%;
    position: fixed;
    right: 0;
    bottom: 0;
    margin: 0;
    border-radius: 15px !important;
    background: #e6f3ff;
    background: -webkit-linear-gradient(to right, #e6f3ff, #cce6ff, #b3d9ff);
    background: linear-gradient(to right, #e6f3ff, #cce6ff, #b3d9ff);
    z-index: 1000;
}

.chat {
    margin-top: auto;
    margin-bottom: auto;
}

.card {/*rgba(0,0,0,0.4)*/
    height:500px;
    border-radius: 15px !important;
    background-color: rgba(111,179,224,0.5)/*white*/ !important;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
}
.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
    background-color: white;
}
.card-header {
    border-radius: 15px 15px 0 0 !important;
    padding: 1.25rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(111,179,224,0.3) /*rgba(0,0,0,.03)*/;
    border-bottom: 0 !important;
    /*border-bottom: 1px solid rgba(0,0,0,.125);*/
}
.contacts_body {
    padding: 0.75rem 0 !important;
    overflow-y: auto;
    white-space: nowrap;
}

.msg_card_body {
    overflow-y: auto;
}

.card-footer {
    padding: .75rem 1.25rem;
    background-color: rgba(0,0,0,.03);
    border-radius: 0 0 15px 15px !important;
    border-top: 0 !important;
}

.card-footer:last-child {
    border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}
.container {
    align-content: center;
}

.search {
    border-radius: 15px 0 0 15px !important;
    background-color: rgba(0,0,0,0.3) !important;
    border: 0 !important;
    color: white !important;
}

    .search:focus {
        box-shadow: none !important;
        outline: 0px !important;
    }

.type_msg {
    background-color: rgba(255,255,255,0.5) !important;
    border: 0 !important;
    color: black !important;
    height: 60px !important;
    overflow-y: auto;
}
.type_msg:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.attach_btn {
    border-radius: 15px 0 0 15px !important;
    background-color: rgba(255,255,255,0.5) !important;
    border: 0 !important;
    color: white !important;
    cursor: pointer;
}
.send_btn {
    border-radius: 0 15px 15px 0 !important;
    background-color: rgba(255,255,255,0.5) !important;
    border: 0 !important;
    color: white !important;
    cursor: pointer;
}

.search_btn {
    border-radius: 0 15px 15px 0 !important;
    background-color: rgba(255,255,255,0.5) !important;
    border: 0 !important;
    color: white !important;
    cursor: pointer;
}

.contacts {
    list-style: none;
    padding: 0;
    margin-left: 0 !important;
}

    .contacts li {
        width: 100% !important;
        padding: 5px 10px;
        margin-bottom: 15px !important;
    }

.case_items {
    list-style: none;
    padding: 0;
    margin: 0 !important;
}

    .case_items li {
        width: 100% !important;
        padding: 5px 0 !important;
        margin: 0 !important;
        background-color:white;
    }
        .case_items li:hover {
            background-color: #6FB3E0 !important;
            color: white !important;
        }
.i-active {
    background-color: #cce6ff !important /*rgba(111,179,224,0.6)*/;
}

.user_img {
    height: 50px;
    width: 50px;
    border: 1.5px solid #f5f6fa;
}
.user_img_sub {
    height: 20px;
    width: 20px;
    border: 1.5px solid #f5f6fa;
}
.user_img_msg {
    height: 40px;
    width: 40px;
    border: 1.5px solid #f5f6fa;
}

.img_cont {
    position: relative;
    height: 50px;
    width: 50px;
}
.img_cont_sub {
    position: relative;
    height: 20px;
    width: 20px;
}
.img_cont_msg {
    height: 40px;
    width: 40px;
}
.case_img_sub {
    height: 25px;
    width: 25px;
    border: 1.5px solid #f5f6fa;
    margin-top: -10px;
}
.online_icon {
    position: absolute;
    height: 15px;
    width: 15px;
    background-color: #4cd137;
    border-radius: 50%;
    bottom: 0.2em;
    right: 0.4em;
    border: 1.5px solid white;
}

.offline {
    background-color: #c23616 !important;
}

.user_info {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    white-space: normal !important;
    cursor:pointer;
}

.user_info span {
    font-size: 20px;
    color: #003f59;
}

.user_info p {
    font-size: 0.9em;
    color: rgba(0,0,0,0.6);
}

.video_cam {
    margin-left: 50px;
    margin-top: 5px;
}

.video_cam span {
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
}
.div_container {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    position: relative;
    max-width:70%;
}

.div_container_send {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10px;
    position: relative;
    max-width:70%;
}
.msg_container {
    border-radius: 25px;
    background-color: #8ED9F8/*#cce6ff*/;
    padding: 10px;
    color: black/*#003f59*/
}

.msg_container_send {
    border-radius: 25px;
    background-color: #e6f2f8/*#f2f2f2 #99d6ff*/;
    padding: 10px;
    color:#003f59
}
.user_time {
    left: 0;
    top: 0;
    color: rgba(0,0,0,0.6);
    font-size: 0.9em;
}

.user_time_send {
    right: 0;
    top: 0;
    color: rgba(0,0,0,0.6);
    font-size: 0.9em;
    text-align: right;
    margin-right: 5px;
}
/*************************/
.msg_cotainer {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 10px;
    border-radius: 25px;
    background-color: #cce6ff;
    padding: 10px;
    position: relative;
}

.msg_cotainer_send {
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10px;
    border-radius: 25px;
    background-color: #99d6ff;
    padding: 10px;
    position: relative;
}

.msg_time {
    position: absolute;
    left: 0;
    top: 0;
    /*bottom: -15px;*/
    color: rgba(0,0,0,0.6);
    font-size: 10px;
}

.msg_time_send {
    position: absolute;
    right: 0;
    top: 0;
    /*bottom: -15px;*/
    color: rgba(0,0,0,0.6);
    font-size: 10px;
}

.msg_head {
    position: relative;
}

#chat_action_menu_btn {
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.chat_action_menu {
    z-index: 1;
    position: absolute;
    padding: 15px 0;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border-radius: 15px;
    top: 30px;
    right: 15px;
    display: none;
}

.chat_action_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat_action_menu ul li {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 5px;
}

.chat_action_menu ul li i {
    padding-right: 10px;
}

.chat_action_menu ul li:hover {
    cursor: pointer;
    background-color: rgba(0,0,0,0.2);
}

@media(max-width: 576px) {
    .contacts_card {
        margin-bottom: 15px !important;
    }
}
.user_img {
    height: 50px;
    width: 50px;
    border: 1.5px solid #f5f6fa;
}
.rounded-circle {
    border-radius: 50%!important;
}
.d-flex {
    display: -ms-flexbox!important;
    display: flex!important;
}

.mb-4, .my-4 {
    margin-bottom: 1.5rem!important;
}
.justify-content-start {
    -ms-flex-pack: start!important;
    justify-content: flex-start!important;
}
.justify-content-end {
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
}
.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}
.input-group-append {
    margin-left: -1px;
}
.input-group-append, .input-group-prepend {
    display: -ms-flexbox;
    display: flex;
}
.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}
.input-group>.custom-file, .input-group>.custom-select, .input-group>.form-control {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1% !important;
    margin-bottom: 0;
}
.input-group>.custom-select:not(:first-child), .input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
#newid .tabbable .tab-content {
    padding: 0 !important
}