/* General Chat Layout */
.chat {
    margin-top: -10px;
    margin-bottom: -10px;
}

/* Card Layout */
.card2 {
    height: 470px;
    border-radius: 15px !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
}

/* Contact Body */
.contacts_body, .msg_card_body {
    padding: 0.75rem 0 !important;
    overflow-y: auto;
}

.contacts_body {
    white-space: nowrap;
}

/* Search Bar */
.search, .type_msg, .attach_btn, .send_btn, .search_btn {
    border: 0 !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    border-radius: 15px !important;
}

.search:focus, .type_msg:focus {
    box-shadow: none !important;
    outline: 0 !important;
}

/* Message Input */
.type_msg {
    height: 60px !important;
    overflow-y: auto;
}

/* Buttons */
.attach_btn, .send_btn, .search_btn {
    cursor: pointer;
}

/* User Image */
.user_img, .user_img_msg, .img_cont, .img_cont_msg {
    height: 40px;
    width: 40px;
}

.user_img, .user_img_msg {
    border: 1.5px solid #f5f6fa;
}

.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 */
.user_info {
    margin: auto 15px;
}

.user_info span {
    font-size: 20px;
    color: white;
}

.user_info p {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

/* Video Camera */
.video_cam {
    margin-left: 50px;
    margin-top: 5px;
}

.video_cam span {
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
}

/* Message Container */
.msg_cotainer, .msg_cotainer_send {
    margin-top: auto;
    margin-bottom: auto;
    border-radius: 25px;
    position: relative;
    padding: 0;
}

.msg_time, .msg_time_send {
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.msg_time {
    left: 0;
    bottom: -15px;
}

.msg_time_send {
    right: 0;
    bottom: -15px;
}

/* Action Menu */
#action_menu_btn {
    position: absolute;
    right: 10px;
    top: 10px;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.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;
}

.action_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.action_menu ul li {
    padding: 10px 15px;
    margin-bottom: 5px;
}

.action_menu ul li:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Media Queries */
@media(max-width: 576px) {
    .contacts_card {
        margin-bottom: 15px !important;
    }

    .buttons-html5 {
        display: none;
    }

    .dt-buttons {
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .dataTables_info {
        width: 50%;
        float: left;
    }

    .paging_simple_numbers {
        width: 49.5%;
        float: left;
    }
}

/* Modal and Table Styling */
.modal-header {
    padding: 0.9rem;
}

.table td, .table th {
    padding: 2px !important;
}

.dataTables_filter {
    width: 40%;
    float: left;
}

.dt-buttons {
    float: left;
}

.dt-buttons button {
    font-size: 0.77rem;
}

/* Body Styling */
body {
    font-size: 0.90rem;
    font-weight: 0;
    line-height: 1.5;
}

/* Form Control */
.form-control {
    font-size: 0.70rem;
}

/* Modal Body */
.modal-body {
    padding-top: 0.2rem !important;
}

.modal-title {
    font-size: 1.2rem;
}

/* Select2 */
.select2-selection {
    width: 100% !important;
}

/* Misc */
.min-100 {
    min-height: 85vh;
}

.min-50 {
    min-height: 45vh;
}

.min-502 {
    min-height: 32vh;
}

.teclas1 {
    min-height: 85vh;
}

#resize_wrapper {
    height: 40vh;
    min-height: 40vh;
    line-height: 1em;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
    border: 1px solid;
}

/* Button Styles */
.divefectivo {
    background-color: #dc3545;
    font-size: 20px;
}

.divnumero {
    background-color: #3498db;
    font-size: 22px;
}

.divnormal {
    background-color: #6c757d;
    font-size: 13px;
}

.divcategoria {
    background-color: #727445;
    font-size: 13px;
}

.texto-centrado {
    font-weight: bold;
    line-height: 1.42857143;
    text-align: center;
    font-size: 18px;
}

.botonesdiv2, .botonesdiv {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-weight: bold;
}

.botonesdiv2 {
    min-width: 6vh;
    height: 10vh !important;
    max-height: 6vh;
    width: 50%;
    border-radius: 0px;
    border: 2px solid #33393f;
    line-height: 200px;
    background-image: none;
    color: #ffffff;
}

.botonesdiv2:hover {
    box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.6);
    background-color: #5a6268;
}

.botonesdiv {
    min-height: 5.5vh;
    height: 5.5vh;
    max-height: 5.5vh;
    border: 2px solid #33393f;
    width: 17vh;
    font-size: 12px;
    text-align: center !important;
    line-height: 1.1em;
    font-weight: bold;
}

.botonesdiv:hover {
    box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.6);
    background-color: #5a6268;
}

.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: 0px !important;
}

tr.dtrg-group td:first-child {
    padding-left: 2em !important;
}

.alinearderecha {
    text-align: right !important;
}
