@import url(https://fonts.googleapis.com/css?family=PT+Sans);

body {
	width: 100% !important;
	height:100% !important;
	font-size: 14px;
	font-family: 'PT Sans', sans-serif !important;
}

.all0 {
	margin: 0 !important;
	padding: 0 !important;
}

.container_header {
	width: 100% !important;
}

#tot {
	position: fixed;
	left:0;
	top: 0;
	width: 100% !important;
	height: 100% !important;
	z-index: 1001;
	background-color: black;
	opacity:0.7;
	display: none;
}

#tot3 {
    position: fixed;
    left:0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1041 !important;
    background-color: black;
    opacity:0.7;
    display: none;
}

.modal-content {
	border-radius: 3px;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background-clip: inherit;
}

.modal-title {
    text-align: center;
    font-size: 22px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.modal-body {
    background-color: #f8fafb;
}

.modal-body table tr td {
	background-color: white;
}

.modal-footer {
	margin-top: 0;
	padding-top: 15px;
	padding-bottom: 15px;
}

.btn-primary {
	background-color: #3d4e60 !important;
    border: none !important;
    border-radius: 2px !important;
    border-color: #3d4e60 !important;
}

.btn-default {
	color: grey !important;
    font-weight: normal !important;
    border-radius: 2px !important;
    border-color: lightgrey !important;
}

.form-control {
    border: 1px solid #E6E6E6;
    height: 40px !important;
    border-radius: 3px !important;
    outline: none !important;
    box-shadow: none !important;
    padding-left: 10px !important;
}

.btn-danger {
	background-color: #DF0101 !important;
    border: none !important;
}

.btn-success {
    background-color: #5FB404 !important;
    border: none !important;
}

.hide-class {
    display: none !important;
}

.relativepos {
    position: relative;
}

/* MESSAGES */
.messages-box {
    width: 100%;
    background-color: white;
    height: 89%;
}

.conversations {
    float: left;
    width: 25%;
    background-color: #EFEFEF;
    border-right: 1px solid #E6E6E6;
    padding: 10px;
    height: 100%;
}

.chat-box {
    padding: 10px;
    float: left;
    width: 75%;
    height: 100%;
}

.conversation-title {
    font-size: 16px;
    font-weight: bold;
    color: #555;
    padding-bottom: 10px;
    border-bottom: 1px solid #FAFAFA;
    margin-bottom: 15px;
}

.chat-header {
    height: 50px;
    background-color: #FAFAFA;
    padding: 5px;
}

.chat-messages {
    width: 100%;
    height: 85%;
    overflow: auto;
    border-left: 1px solid #FAFAFA;
    border-right: 1px solid #FAFAFA;
    padding: 10px;
}

.chat-actions {
    width: 100%;
}

.chat-textarea {
    width: 85%;
    float: left;
}

.chat-button {
    float: right;
    width: 15%;
    height: 40px;
}

.ul-left-actions {
    list-style: none;
    border-bottom: 1px solid #FAFAFA;
}

.ul-left-actions li {
    display: inline-block;
    padding: 4px;
    margin-right: 5px;
    cursor: pointer;
}

.ul-left-actions li.active {
    background-color: #FAFAFA;
    font-weight: bold;
    color: grey;
}

.conversations-tabs {
    width: 100%;
}

.conversationsTable thead {
    display: none;
}

#conversationsTab div.dataTables_info {
    display: none !important;
}

.conversationsTable.dataTable.no-footer {
    border-bottom: 0 !important;
}

.contactsTable thead {
    display: none;
}

#contactsTab div.dataTables_info {
    display: none !important;
}

.contactsTable.dataTable.no-footer {
    border-bottom: 0 !important;
}

.each-conv-tab {
    width: 100%;
    height: 95%;
    overflow: auto;
    overflow-x: hidden;
}

.each-conv-tab::-webkit-scrollbar { 
    /*display: none; */
    background: transparent !important;
    width: 5px !important;
}

.each-conv-tab::-webkit-scrollbar-track {
    background: whitesmoke;

}

.each-conv-tab::-webkit-scrollbar-thumb {
    background-color: grey;
    border-radius: 5px !important;
}

.no-conversation-selected {
    text-align: center;
    padding-top: 150px;
    font-size: 24px;
    font-weight: bold;
    color: lightgrey;
}

.no-conversation-selected i {
    font-size: 26px;
    color: grey;
    margin-right: 12px;
}

.conv-users {
    font-style: italic;
    color: #555;
    font-weight: bold;
    font-size: 13px;
}

.conv-users label {
    float: left;
    margin-right: 10px;
    color: #444;
    font-weight: normal;
    font-style: normal;
}

.no-chat-message {
    padding: 8px;
    border: 1px dotted #EFEFEF;
    font-style: italic;
    background-color: #FAFAFA;
}

.each-user-conv {
    float: left;
    margin-right: 8px;
    border-right: 1px solid #EFEFEF;
    padding-right: 8px;
    font-style: normal;
}

.each-user-conv small {
    font-style: italic;
}

.conv-message {
    width: 60%;
    background-color: #EFEFEF;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 8px;
    position: relative;
}

.conv-message.right {
    background-color: #3c86f5;
    color: white;
    float: right;
}

.conv-message.left {
    float: left;
}

.message-user {
    font-weight: bold;
    margin-bottom: 4px;
}

.message-time {
    font-size: 12px;
    text-align: right;
    margin-top: 4px;
}

.table-conversation {
    width: 100%;
    cursor: pointer;
    position: relative;
}

.conversation-user {
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

.conversation-user span {
    font-weight: normal;
    margin-right: 5px;
}

.last-message {
    font-size: 13px;
    margin-top: 2px;
    border-top: 1px solid #FAFAFA;
}

.chat-loader {
    position: absolute;
    width: 100%;
    margin-left: -10px;
    margin-top: -10px;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    text-align: center;
    color: white;
    font-size: 32px;
    padding-top: 200px;
}

.a-notifications {
    margin-right: 15px;
    color: red;
    text-decoration: none;
    position: relative;
    left: -5px;  
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: grey;
    border-radius: 40%;
    font-size: 10px;
    text-align: center;
    color: white;
    margin-top: -6px;
    z-index: 9;
    margin-right: -4px;
}

.notifications-box {
    position: absolute;
    width: 250px;
    padding: 5px;
    background-color: grey;
    border: 1px solid #FAFAFA;
    z-index: 99;
    margin-left: -40px;
}

.ul-notifications {
    list-style: none;
}

.ul-notifications li {
    padding-left: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.ul-notifications li i {
    color: lightgrey;
    margin-right: 8px;
}

.table-conversation.unread {
    background-color: #EFEFEF;
    font-style: italic;
}

.delete-conversation {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    text-align: center;
    padding-top: 2px;
    right: 0;
    margin-right: -10px;
    color: red;
    font-size: 14px;
    cursor: pointer;
    z-index: 99;
}

.delete-message {
    position: absolute;
    right: 0;
    margin-right: 15px;
    cursor: pointer;
}

.close-messages {
    position: absolute;
    top: -55px;
    right: -25px;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.edited-select {
    border: 1px solid #E6E6E6;
    padding: 10px !important;
    border-radius: 2px !important;
}

.edited-input {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    border-radius: 2px;
    border: 1px solid #E6E6E6;
    outline: none;
}

.w100 {
    width: 100% !important;
}

.checkbox-edited {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    background-color: white;
    border-radius: 2px;
    text-align: center;
    padding-top: 2px;
    color: #478586;
    font-size: 16px;
    cursor: pointer;
}

.checkbox-edited i {
    display: none;
}

.checkbox-edited.checked i {
    display: block;
}

.messages-action {
    text-decoration: none;
    color: #3d4e60;
    font-size: 15px;
    font-weight: bold;
    margin-right: 15px;
    padding-right: 10px;
    border-right: 1px solid #FAFAFA;
    display: inline-block;
}

.messages-action:hover {
    text-decoration: none;
}

.messages-action i {
    color: #81ca00;
    margin-right: 8px;
    font-size: 16px;
}

.close-conversations {
    float: right;
    font-size: 16px;
    color: #81ca00;
}

@media (max-width:768px) {
    .messages-box {
        position: relative;
        width: 100%;
        background-color: white;
        margin-left: 0;
        z-index: 0;
        margin-top: 0;
        height: 86%;
    }

    .conversations {
        position: absolute;
        z-index: 8;
        width: 100%;
        display: none;
        top: -28px;
        height: 106%;
    }

    .chat-box {
        width: 100%;
        padding: 0;
        margin-top: 10px;
    }

    .chat-textarea {
        width: 75%;
    }

    .chat-button {
        width: 25%;
    }

    .new-conversation-tab-phone {
        height: 85%;
    }

    .btn-new-conversation {
        position: absolute;
        bottom: 6px;
        width: 80%;
        margin-left: 7%;
        height: 40px;
    }

    .chat-messages {
        height: 81%;
    }
}

.phone-nr-messages {
    float: left;
    margin-left: 10px;
    font-size: 12px;
    padding: 2px;
    background-color: red;
    width: 25px;
    text-align: center;
    border-radius: 2px;
    color: white;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    top: 4px;
}

.nr-messages-phone {
    float: right;
}

.chat-bar {
    background-color: rgba(61, 78, 96,.9);
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.chat-bar img {
    max-height: 50px;
}

.btn-back-site {
    background-color: white;
    padding: 10px 15px;
    border: 0;
    color: black;
    font-weight: bold;
    border-radius: 2px;
}

@media (max-width:768px) {
    .chat-bar img {
        max-height: 38px;
    }

    .chat-bar {
        margin-bottom: 5px;
    }
}

.chat-error {
    width: 100%;
    height: 100%;
    background-color: #E6E6E6;
    position: relative;
}

.chat-error-box {
    width: 400px;
    height: 200px;
    padding: 20px;
    background-color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -200px;
    margin-top: -100px;
    font-size: 28px;
    font-weight: bold;
    color: red;
    text-align: center;
    box-shadow: 0px 2px 1px rgba(0,0,0,.1);
    border-radius: 5px;
}

.error-title {
    font-size: 45px;
    color: #444;
    margin-bottom: 10px;
}