.letters-module {
    padding: 0;
}
.folders li{
    text-align:left;
}
.mail__search-mobile {
    position: relative;
}
#mail_letters .pagination{
    margin:15px 0;
}
.mail__search-mobile .open-settings{
    display: none;
    width: 20px;
    height: 20px;
    text-align: center;
}
.mail-attachments::after{
    content:"";
    display:block;
    clear:both;
}
.add-letter-mobile {
    display: none;
}

.open-folder{
    display: none;
}

.letter-row{
    display: flex;
    height: 70px;
    align-items: center;
    border-bottom: 1px solid #FFF;
    position: relative;
    padding:0px 10px;
    /*max-width: Calc(100% - 95px);*/
}

.letter-row:hover {
    background: aliceblue;
    cursor: pointer;
}

.letter-row.mail-unseen span {
    font-weight: bold;
}

.letter__content{
    /*display: flex;*/
    flex-direction: row;
    height: 100%;
    width: 100%;
    padding-left:10px;
}



.letters__wrapper{
    display: grid;
    grid-template-rows: minmax(20px, 1fr);
    width: 100%;
    /*min-height: 100%;
    height:100%;*/
    align-items: start;
    /* grid-template-columns: 30px 30px 30px minmax(300px, 1fr) 50px; */
}

.letters__wrapper a {
    text-decoration: none;
    color: unset;
    display: flex;
    min-height: 50px;
    align-items: center;
    /*border-bottom: 1px solid #FFF;*/
    position: relative;
    width: 100%;
}

.letters__header{
    display: flex;
    align-items: center;
    border-bottom: 3px double #a89cee;
    padding:10px 10px 10px 8px;
}

.letters__header span, .letter-row span {
    width: 50px;
    /*padding: 0 10px;*/
    font-size: 13px;
    text-align:center;
}
.letter-row span:first-child, span.letter__attach, span.letter__flagged{
    width:25px;
    text-align:center;
}
span.mail-in-row-icon{
    width:50px!important;
}
.letter-row .letter__from-name {
    width: auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.letter__content-title{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.letters__header .letters__title, .letter-row .letter-content{
    width: 100%;
    max-width: 300px;
    text-align: left;
}

.letters__header-date{
    margin-left: auto;
}
.letter__from-name{
    text-align: left!important;
    padding-right: 55px;
}
.letter-row span.letter__from-name{
    font-size: 14px;
}


.letter__content .letter__subject{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    align-self: center;
    min-width: 0;
    width: unset;
}

.letter__subject{
    color:#666;
    font-style: italic;
}

.letter-row .letter__date{
    padding: 0;
    position: absolute;
    right: 0;
    top: 35%;
    width: unset;
}

.letter__attach-mobile, .letter__flagged-mobile{
    display: none;
}
.mail-body .mail-attach{
    float: left;
    margin: 0px 15px 15px 0px;
    font-size: 14px;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: transparent;
    padding: 10px;
    /*color: #fff;*/
    /* bordeR: 1px dashed #e5e5e5; */
    border-radius: 3px;
    box-shadow: 1px 0 4px #ccc;
}