/*----------------------------------------
  Email App - Content Page
------------------------------------------*/
.app-email-content .content-area
{
    width: calc(100% - 280px);
    margin-top: 49px;
}

.app-email-content .content-area.content-left
{
    float: right;
}

.app-email-content .content-area.content-right
{
    float: left;
}

.app-email-content .content-area .app-wrapper hr
{
    margin: .75rem -1rem 1rem;

    border-top: 1px solid lightgrey;
}

.app-email-content .content-area .app-wrapper .app-search
{
    position: relative;
}

.app-email-content .content-area .app-wrapper .app-search .search-icon
{
    position: absolute;
    top: 15px;
    right: 15px;

    color: #bdbdbd;
}

.app-email-content .content-area .app-wrapper .app-search .app-filter
{
    max-width: calc(100% - 3rem);
    margin-bottom: .5rem;
    padding: .2rem;
    padding-right: 2.75rem;

    border: none;
    border-radius: .4rem;
    background-color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2);
}

.app-email-content .content-area .app-wrapper .app-search .app-filter:focus
{
    border-bottom: none !important;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .12), 0 1px 5px 0 rgba(0, 0, 0, .2) !important;
}

.app-email-content .content-area .app-wrapper .email-header
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
            align-items: baseline;
}

.app-email-content .content-area .app-wrapper .email-header .subject
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
            align-items: baseline;
}

.app-email-content .content-area .app-wrapper .email-header .subject .back-to-mails
{
    margin-left: 1rem;
}

.app-email-content .content-area .app-wrapper .email-header .subject .back-to-mails a
{
    color: #424242;
}

.app-email-content .content-area .app-wrapper .email-header .subject .email-title
{
    font-size: 1.5rem;
    line-height: 1.5;

    margin-top: 1rem;
}

.app-email-content .content-area .app-wrapper .email-header .header-action
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    width: 175px;

    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
            justify-content: space-around;
}

.app-email-content .content-area .app-wrapper .email-header .header-action .badge
{
    font-size: .75rem;

    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
    float: right;

    margin-right: 0;
    padding-left: 8px;

    color: #616161;
    border-radius: 2px;
}

.app-email-content .content-area .app-wrapper .email-header .header-action i
{
    cursor: pointer;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    margin-bottom: 2rem;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
            align-items: center;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area .user-media
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
            align-items: center;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area .user-media img
{
    width: 40px;
    height: 40px;
    margin-left: 1rem;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area .user-media .list-title
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
            flex-direction: column;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area .user-media .list-title .to-person
{
    font-size: .85rem;

    color: #757575;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area .title-right
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    width: 250px;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
            align-items: center;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area .title-right .mail-time
{
    font-size: .75rem;

    letter-spacing: .035rem;

    color: #616161;
}

.app-email-content .content-area .app-wrapper .email-content .list-title-area .title-right i
{
    cursor: pointer;

    color: #616161;
}

.app-email-content .content-area .app-wrapper .email-content .email-desc p
{
    margin: 1rem auto;
}

.app-email-content .content-area .app-wrapper .email-footer
{
    margin: 1rem 0;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-title
{
    margin: 1rem 0;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
            align-items: baseline;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action .attachment-list
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action .attachment-list .attachment
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
            flex-direction: column;

    margin-left: 1rem;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
            align-items: center;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action .attachment-list .attachment .attached-image
{
    max-width: 75px;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action .attachment-list .attachment .size
{
    font-size: .75rem;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action .attachment-list .attachment .links
{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;

    width: 100%;
    margin-top: .25rem;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
            justify-content: space-between;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action .attachment-list .attachment .links a i
{
    font-size: 1.35rem;

    color: #9e9e9e;
}

.app-email-content .content-area .app-wrapper .email-footer .footer-action .footer-buttons .forward i
{
    -webkit-transform: scaleX(-1);
        -ms-transform: scaleX(-1);
            transform: scaleX(-1);
    /* standard */

    -webkit-filter: FlipH;
            filter: FlipH;
    /* IE 6/7/8 */
}

.app-email-content .content-area .app-wrapper .email-footer .reply-box,
.app-email-content .content-area .app-wrapper .email-footer .forward-box
{
    margin-top: 1rem;
}

.app-email-content .content-area .app-wrapper .email-footer .reply-box.d-none,
.app-email-content .content-area .app-wrapper .email-footer .forward-box.d-none
{
    display: none;
}

.snow-container
{
    padding: 1rem;

    border: 1px solid #dfe3e7;
    border-radius: 4px;
}

.snow-container .ql-snow,
.snow-container .ql-toolbar
{
    border: none;
}

.snow-container .ql-container
{
    min-height: 80px;
}

.snow-container .ql-tooltip
{
    right: 0 !important;
}

.snow-container .ql-tooltip input[type=text]
{
    width: 100px;
}

@media (max-width: 900px)
{
    .content-area
    {
        margin-top: -110px !important;
    }
    .content-area.content-right,
    .content-area.content-left
    {
        z-index: 1;

        float: none !important;

        width: 100%;
    }
}

@media screen and (max-width: 768px)
{
    .app-email-content .content-area
    {
        float: none;

        width: 100%;
    }
}

@media (max-width: 600px)
{
    .app-email-content .content-area .app-wrapper .email-header
    {
        display: block;
    }
    .app-email-content .content-area .app-wrapper .email-header .header-action
    {
        width: 100%;

        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
                justify-content: flex-end;
    }
    .app-email-content .content-area .app-wrapper .email-header .header-action span,
    .app-email-content .content-area .app-wrapper .email-header .header-action div
    {
        margin-right: 1rem;
    }
}

@media screen and (max-width: 540px)
{
    .app-email-content .content-area .app-wrapper .email-footer .footer-action
    {
        display: block;
    }
    .app-email-content .content-area .app-wrapper .email-footer .footer-action .footer-buttons .btn.reply,
    .app-email-content .content-area .app-wrapper .email-footer .footer-action .footer-buttons .btn.forward
    {
        margin-top: 5px;
    }
}
