/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 29/05/2017, 11:17:03
    Author     : GFreccero
*/
/*
#header {
    overflow: hidden !important;
}
*/


.msg-template-full {
    position: absolute;
    height: 100%;
    display: inline-block;
    box-sizing: border-box;
    table-layout: fixed;
    margin-bottom: -60px;
    border-radius: 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    background: #f9f9f9;
}

.msg-template-full h4.content-header {
    position: relative;
    top: 9px;
    margin-top: 0;
    margin-bottom: 20px;
}

/*PRIMER PANEL*/

.msg-template-full div#list-msg,
.msg-template-full div#options-msg {
    width: 25%;
    background: #FFF;
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

.msg-template-full div#options-msg {
    box-shadow: inset -1px 0px 9px 0px rgba(0, 0, 0, 0.07);
    z-index: 1;
    height: 100%;
    display: inline-block;
}



.msg-template-full div#msg-viewer {
    background: #f5f5f5;
    width: 40%;
    display: inline-block;
    overflow: hidden;
    height: 100%;
    box-shadow: inset 8px 0px 13px -11px rgba(0, 0, 0, 0.1);
}

.msg-template-full ul.action-list li.selected ,
.msg-template-full ul.action-list li:hover {
    font-weight: bold;
    background: #fff;
}

.msg-template-full ul.action-list li.selected{
    box-shadow: inset -1px 1px 8px 0px rgba(0, 0, 0, 0.08);
}

.msg-template-full ul.action-list li {
    height: 50px;
    border-top: 1px solid #eaeaea;
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    background: rgba(107, 107, 107, 0.04);
    cursor:pointer;
    transition: 0.4s;
}

.msg-template-full li.msg-separator {
    height: 0 !important;
    border: 1px solid #eaeaea !important;
}

.msg-template-full ul.action-list li:last-child {
    border-bottom: 1px solid #eaeaea;
}

.msg-template-full span.badge {
    background: rgba(33, 150, 243, 0.82);
    padding: 4px 7px;
    margin-left: 5px;
}

/*SEGUNDO PANEL*/

/*SIN CONTENIDO*/

.msg-template-full div#list-msg {
    width: 74%;
    background: #f9f9f9;
    height: 100%;
}

.msg-template-full ul.msg-list {
    margin: 1px auto;
    overflow: auto;
    height: 100%;
    z-index: 1;
}

.msg-template-full li.empty-list i{
    font-size: 250px; 
    margin-top: 10%; 
    color: rgba(0, 0, 0, 0.11);
    display: block;
}
li.empty-list span {
    color: rgba(0, 0, 0, 0.37);
    font-size: 18px;
}
.msg-template-full li.empty-list {
    font-size: 16px;
    text-align: center;
    line-height: 16px;
}

[data-msg="after-icon"].empty-list:before {
    content: 'No hay mensajes para mostrar';
    display: block;
    padding-bottom: 10px;
}

/*CON CONTENIDO*/

.msg-template-full div#list-msg.withContent {

    position: relative;
    height: 100%;
}

div#list-msg.withContent li.empty-list {
    display: none;
}
div#list-msg.withContent li:hover{
    background-color: #FFF !important;
}

div[data-msg="list-msg-actions"] {
    width: 100%;
    display: inline-flex;
    text-align: left;
    background: #efefef;
    padding-top: 9px;
    padding-bottom: 10px;
}
div[data-msg="list-msg-actions"] .check-msg-container {
    margin: auto;
}

div#list-msg.withContent li {
    position: relative;
    border-bottom: 1px solid #eaeaea;
    cursor:pointer;
    background: #f5f5f5;
    transition: 0.4s;
    overflow: hidden;
    display: inline-flex;
    width: 100%;
}
div#list-msg.withContent li.unread{
    background: #f1f1f1;
}
div#list-msg.withContent li.unread ,
div#list-msg.withContent li.unread h4.subject,
div#list-msg.withContent li.unread p.message{
    font-weight: bold !important;  
}

div#list-msg.withContent h4.subject {
    font-size: 20px;
    margin: 4px;
    text-align: left;
    max-height: 23px;
    overflow: hidden;
    max-width: 345px;
    word-break: break-all;
}

div#list-msg.withContent p.message {
    margin: 4px;
    text-align: left;
    font-weight: 400;
    overflow: hidden;
    /*max-height: 43px;*/
}

div#list-msg.withContent span.date {
    position: absolute;
    top: 2px;
    right: 2px;
}

li.msg-inlist.selected-msg-list {
    background: #FFF !important;
    box-shadow: inset -1px 0px 8px 0px rgba(0, 0, 0, 0.05);
}

/*TERCER PANEL*/

.msg-full-container {
    text-align: left;
    margin: 0 0 0 10px;
    height: 100%;
    overflow-y: auto;
}

span.from-to{
    font-weight: bold;
}

span.from-to:before {
    font-weight: 400;
}

span.from-to.from:before {
    content: 'Enviado por: ';
}

span.from-to.to:before {
    content: 'Enviado a: ';
}

span.date {
    float: right;
}

h3.subject {
    margin-top: 10px;
    font-size: 25px;
}

.msg-full-container p.message {
    font-size: 14px;
}

/*NUEVO MENSAJE*/

.new-msg {
    margin: 0px;
    text-align: left;
    height: 100%;
    padding-bottom: 60px;
}

.new-msg input, 
.new-msg textarea {
    background: #FFF;
    padding: 0 5px !important;
    margin: 0px;
}

.new-msg textarea#message-textarea {
    min-height: 150px;
    resize: vertical;
}

.new-msg .btn-list {
    text-align: left;
    margin-bottom: 20px;
}

.new-msg button#cancel-new-msg {
    margin-left: 15px;
}

.new-msg button#send-new-msg {
    min-width: 98px;
}

.form-relative{
    position: relative;
        margin-top: 20px;
}

ul#list-addressee {
    list-style: none;
    z-index: 10;
    position: absolute;
    background: #ececec;
    width: 100%;
}

li.userLi .nameDiv, li.userLi .aliasDiv {
    display: inline-block;
    margin-left: 15px;
}

li.userLi:hover {
    background-color: #FFF;
}

li.userLi {
    cursor: pointer;
    transition: 0.3s;
    min-height: 30px;
    vertical-align: middle;
    line-height: 30px;
    border-bottom: 1px solid #FFF;
    font-size: 13px;
}

ul#list-users-selected {
    list-style: none;
}

ul#list-users-selected li.min-user-li {
    display: inline-block;
    background: #FFF;
    padding: 5px;
}

ul#list-users-selected li.min-user-li .min-user-nameDiv, 
ul#list-users-selected li.min-user-li .min-user-btnDiv {
    display: inline-block;
}

ul#list-users-selected li.min-user-li button.min-user-btn-close {
    border: 0;
    background: #FFF;
    margin-left: 5px;
    color: #F00;
    vertical-align: middle;
}

ul#list-users-selected li.min-user-li {
    display: inline-block;
    background: #FFF;
    padding: 5px;
    border: 1px solid rgba(33, 150, 243, 0.24);
    margin-right: 4px;
    margin-top: 2px;
    margin-bottom: 2px;
}

/*ACTION BUTTONS*/

#msg-viewer .btn-list-action {
    text-align: left;
    background: #efefef;
    padding-top: 9px;
    padding-left: 10px;
    padding-bottom: 10px;
    box-shadow: inset 8px 0px 13px -11px rgba(0, 0, 0, 0.1);
}

#msg-viewer .btn-list-action button {
    margin-right: 10px;
}
#msg-viewer .btn-list-action button:empty {
    display: none;
}

li.msg-inlist .check-msg-container {
    vertical-align: middle;
    margin: auto;
}

.scroll-new-msg {
    overflow-y: auto;
    height: 100%;
}
.msg-template-full .content-list-scroll {
    position: relative;
    padding-bottom: 115px;
    padding-top: 0;
    height: 100%;
}
.scroll-new-msg .btn-list,
.scroll-new-msg .form-group{
    margin-left: 20px;
    margin-right: 20px;
}

.msg-full-container span, .msg-full-container h3, .msg-full-container p {
    margin-right: 15px;
}