
.inbox-tabs.nav-tabs > li > a {
    background-color: #fafafa;
}

.inbox-tabs.nav-tabs > li.active:not(.open) > a, .inbox-tabs.nav-tabs > li.active:not(.open) > a:hover, .inbox-tabs.nav-tabs > li.active:not(.open) > a:focus {
    background-color: #f1f5fa;
    box-shadow: 0 -2px 3px 0 rgba(0,0,0,0.1);
    color: #48768e;
}

.inbox-tabs.nav-tabs > li > a.btn-new-mail {
    background-color: transparent;
    border: none!important;
    padding: 0!important;
}

    .inbox-tabs.nav-tabs > li > a.btn-new-mail > .btn {
        border-width: 0!important;
        border-radius: 3px!important;
        padding: 0 6px!important;
        position: relative;
        transition: none!important;
    }

.inbox-tabs.nav-tabs > li.active > a.btn-new-mail {
    box-shadow: none!important;
}

    .inbox-tabs.nav-tabs > li.active > a.btn-new-mail > .btn:before {
        content: "";
        display: block;
        position: absolute;
        top: 100%;
        left: 35%;
        left: calc(50% - 6px);
        border-width: 6px 8px;
        border-style: solid;
        border-color: transparent;
        border-top-color: inherit;
    }

.inbox-tabs.nav-tabs.tab-size-bigger > li > a {
    padding: 5px 15px 7px;
    font-size: 14px;
}

    .inbox-tabs.nav-tabs.tab-size-bigger > li > a > [class*="icon-"]:first-child {
        margin-bottom: 5px;
    }

    .inbox-tabs.nav-tabs.tab-size-bigger > li > a.btn-new-mail > .btn {
        padding: 10px!important;
        border-radius: 7px!important;
    }

.inbox-tabs.nav-tabs.tab-size-bigger > li.active > a.btn-new-mail {
    margin-top: 0!important;
    top: 1px;
}

    .inbox-tabs.nav-tabs.tab-size-bigger > li.active > a.btn-new-mail > .btn:before {
        left: 35%;
        left: calc(50% - 8px);
        border-width: 8px 10px;
    }

@media only screen and (max-width:475px) {
    .inbox-tabs > .li-new-mail {
        display: block;
        text-align: right;
        margin-bottom: 8px!important;
        float: none!important;
    }

        .inbox-tabs > .li-new-mail > .btn-new-mail {
            display: inline-block;
            width: auto;
        }
}

.message-container {
    position: relative;
}

.message-list {
    position: relative;
}

.message-item {
    border: 1px solid #eaedf1;
    border-bottom-width: 0;
    padding: 12px 12px 14px;
    line-height: 18px;
    position: relative;
    background-color: #FFF;
}

    .message-item:first-child {
        border-top-width: 0;
    }

    /*.message-item:hover {
        border-color: #e2eaf2;
        background-color: #f2f6f9;
    }

        .message-item:hover + .message-item {
            border-top-color: #e2eaf2;
        }

            .message-item:hover + .message-item.selected {
                border-top-color: #FFF;
            }*/

    .message-item.selected {
        background-color: #eff4f7;
        border-color: #FFF #e2eaf2;
    }

        .message-item.selected + .message-item {
            border-top-color: #FFF;
        }

            .message-item.selected + .message-item:hover + .message-item {
                border-top-color: #FFF;
            }

    .message-item .sender {
        margin: 0 6px 0 4px;
        vertical-align: middle;
        color: #467287;
        display: inline-block;
        width: 110px;
        height: 18px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        cursor: pointer;
    }

    /*.message-item.message-unread .sender {
        color: #6a9cba;
        font-weight: bold;
    }*/

    .message-item .summary {
        vertical-align: middle;
        display: inline-block;
        position: relative;
        margin-left: 30px;
        max-width: 250px;
        max-width: calc(100% - 300px);
        min-width: 200px;
        white-space: nowrap;
    }

        .message-item .summary .text {
            color: #555;
            vertical-align: middle;
            display: inline-block;
            width: auto;
            max-width: 100%;
            height: 18px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            cursor: pointer;
        }

            .message-item .summary .text:hover {
                text-decoration: underline;
            }

        .message-item .summary .message-flags {
            display: block;
            position: absolute;
            right: 101%;
            right: calc(100%+4px);
            height: 18px;
            white-space: nowrap;
        }

    /*.message-item.message-unread .summary .text {
        color: #609fc4;
        font-weight: bold;
    }*/
    .message-item.message-unread {
        background-color:rgba(96, 159, 196, 0.19);
    }
    .message-item .time {
        float: right;
        width: 100px;
        height: 18px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        color: #666;
    }

    /*.message-item.message-unread .time {
        font-weight: bold;
        color: #609fc4;
    }*/

    .message-item .attachment {
        color: #999;
        font-size: 18px;
        vertical-align: middle;
        float: right;
        margin: 0 12px;
        position: relative;
    }

    /*.message-item.message-unread .attachment {
        color: #4f99c6;
    }*/

.message-content .time {
    font-weight: normal;
}

.message-star {
    vertical-align: middle;
    margin: 2px 4px 0 6px;
    font-size: 15px;
    cursor: pointer;
}

    .message-star:hover {
        color: #feb902!important;
        text-decoration: none;
    }

.mail-tag:empty {
    display: inline-block;
    width: 8px;
    height: 11px;
    padding: 0;
    line-height: normal;
    vertical-align: middle;
    margin: 0 1px 0 0;
}

.badge.mail-tag {
    border-radius: 2px;
}

@media only screen and (max-width:979px) {
    .message-item .summary {
        min-width: 0;
    }

    .message-item .sender {
        width: 110px;
    }
}

@media only screen and (max-width:550px) {

    .message-item .schedule-time {
        margin-top:30px;
    }
    .message-item .summary {
        margin: 8px 0 0 70px;
        max-width: 95%;
        min-width: 0;
        display: block;
    }

    .message-item .sender {
        width: auto;
        max-width: 150px;
    }

    .message-item .summary .text {
        max-width: 95%;
    }
}

.btn-message, .btn-message:hover, .btn-message:focus, .btn-message:active, .open .btn-message.dropdown-toggle {
    background-color: #FFF!important;
    border: 1px solid #94b9ce!important;
    color: #7ca3ba!important;
    text-shadow: none!important;
}

.message-content {
    padding: 16px 12px;
    border: 1px solid #e9e9e9;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.02);
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.02);
    background-color: rgba(255,255,255,0.8);
    border-top-width: 0;
}

.message-item .message-content {
    margin-top: 16px;
    border-top-width: 1px;
}

.message-body {
    padding: 0 9px;
    color: #6a7177;
}

.message-navbar {
    line-height: 24px;
    padding: 10px 12px;
    border: 1px solid #d6e1ea;
    border-color: #d6e1ea transparent;
    background-color: #f1f5fa;
    position: relative;
}

    .message-navbar .dropdown-toggle, .message-content .dropdown-toggle {
        color: #777;
    }

        .message-navbar .dropdown-toggle:hover, .message-content .dropdown-toggle:hover, .message-navbar .dropdown-toggle:focus, .message-content .dropdown-toggle:focus {
            text-decoration: none;
            color: #2283c5;
        }

.message-bar {
    display: inline-block;
    min-height: 28px;
}

@media only screen and (max-width:480px) {
    .message-bar {
        display: block;
        min-height: 60px;
    }
}

.message-footer {
    background-color: #f1f1f1;
    padding: 12px 16px;
    border: 1px solid #e6e6e6;
    border-width: 1px 0;
    border-top: 1px solid #e4e9ee;
}

    .message-footer .pagination {
        margin: 0;
    }

        .message-footer .pagination > li {
            margin: 0;
            padding: 0;
        }

            .message-footer .pagination > li > a, .message-footer .pagination > li > span {
                color: #777;
                padding: 3px;
                margin-left: 3px;
                margin-right: 3px;
                background-color: transparent;
                border: 0;
            }

            .message-footer .pagination > li.disabled > span {
                color: #bbb;
                cursor: default;
            }

            .message-footer .pagination > li > a:hover {
                color: #2283c5;
                text-decoration: none;
            }

    .message-footer input[type=text] {
        font-size: 12px;
        width: 34px;
        height: 24px;
        line-height: 20px;
        margin-bottom: 0;
        padding: 3px;
        vertical-align: middle;
        text-align: center;
    }

.message-footer-style2 .pagination > li > a, .message-footer-style2 .pagination > li > span {
    border: 1px solid #b5b5b5;
    border-radius: 100%!important;
    width: 26px;
    height: 26px;
    line-height: 24px;
    display: inline-block;
    text-align: center;
    padding: 0;
}

.message-footer-style2 .pagination > li > span {
    border-color: #CCC;
}

.message-footer-style2 .pagination > li > a:hover {
    border-color: #84afc9;
    background-color: #f7f7f7;
}

.message-item.message-inline-open {
    background-color: #f2f6f9;
    border: 1px solid #DDD;
    border-bottom-color: #CCC;
}

    .message-item.message-inline-open:first-child {
        border-top-color: #EEE;
    }

    .message-item.message-inline-open:last-child {
        border-bottom-color: #DDD;
    }

    .message-item.message-inline-open + .message-item {
        border-bottom-color: transparent;
    }

.message-loading-overlay {
    position: absolute;
    z-index: 14;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(255,255,255,0.5);
    text-align: center;
}

    .message-loading-overlay > [class*="icon-"] {
        position: absolute;
        top: 15%;
        left: 0;
        right: 0;
        text-align: center;
    }

.message-content .sender {
    color: #6a9cba;
    font-weight: bold;
    width: auto;
    text-overflow: inherit;
    vertical-align: middle;
    margin: 0;
}

.message-content .time {
    width: auto;
    text-overflow: inherit;
    white-space: normal;
    float: none;
    vertical-align: middle;
}

ul.attachment-list {
    margin: 6px 0 4px 8px;
}

    ul.attachment-list > li {
        margin-bottom: 3px;
    }

.message-attachment {
    padding-left: 10px;
    padding-right: 10px;
}

.attached-file {
    color: #777;
    width: 200px;
}

    .attached-file > [class*="icon-"] {
        display: inline-block;
        width: 16px;
        margin-right: 2px;
    }

    .attached-file:hover {
        text-decoration: none;
        color: #438eb9;
    }

        .attached-file:hover .attached-name {
            color: #2283c5;
        }

    .attached-file .attached-name {
        display: inline-block;
        max-width: 175px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

.messagebar-item-left, .messagebar-item-right {
    position: absolute;
    bottom: 14px;
    left: 12px;
    text-align: left;
}

.messagebar-item-right {
    right: 12px;
    left: auto;
}

.message-navbar .nav-search {
    right: auto;
    left: 60px;
    top: auto;
    bottom: 11px;
}

.message-form {
    border: 1px solid #ddd;
    border-top: 0;
    padding-top: 22px;
}

@media only screen and (max-width:480px) {
    .message-form {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.message-form .form-actions {
    margin-bottom: 0;
}

.message-form .wysiwyg-editor {
    overflow: auto;
    min-height: 150px;
    max-height: 250px;
    height: auto;
}

.btn-send-message {
    position: relative;
    top: 6px;
}

.btn-back-message-list {
    color: #777;
}

    .btn-back-message-list:hover {
        color: #478fca;
        text-decoration: none;
    }

.message-condensed .message-item {
    padding-top: 8px;
    padding-bottom: 9px;
}

.message-condensed .message-navbar, .message-condensed .message-footer {
    padding-top: 7px;
    padding-bottom: 7px;
}

.message-condensed .messagebar-item-left, .message-condensed .messagebar-item-right {
    bottom: 9px;
}

.message-condensed .message-navbar .nav-search {
    bottom: 7px;
}

@media only screen and (max-width:480px) {
    .message-condensed .message-bar {
        min-height: 42px;
    }
}

.inbox-folders .btn-block {
    margin-top: 0;
}

@media only screen and (max-width:767px) {
    .inbox-folders.inbox-folders-responsive .btn-block {
        width: 24%;
    }
}

@media only screen and (max-width:600px) {
    .inbox-folders.inbox-folders-responsive .btn-block {
        width: 48%;
    }
}

@media only screen and (max-width:320px) {
    .inbox-folders.inbox-folders-responsive .btn-block {
        width: 99%;
    }
}

.inbox-folders .btn-lighter, .inbox-folders .btn-lighter.active {
    background-color: #f4f4f4!important;
    text-shadow: none!important;
    color: #7c8395!important;
    border: 1px solid #FFF!important;
    padding: 5px 11px;
}

    .inbox-folders .btn-lighter.active {
        background-color: #edf2f8!important;
        color: #53617c!important;
    }

    .inbox-folders .btn-lighter:hover {
        background-color: #efefef!important;
        color: #6092c4!important;
    }

.inbox-folders .btn > [class*="icon-"]:first-child {
    display: inline-block;
    width: 14px;
    text-align: left;
}

.inbox-folders .btn-lighter + .btn-lighter {
    border-top-width: 0!important;
}

.inbox-folders .btn.active:before {
    display: block;
    content: "";
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: -1px;
    border-left: 3px solid #4f99c6;
}

.inbox-folders .btn.active:after {
    display: none;
}

.inbox-folders .btn .counter {
    border-radius: 3px;
    position: absolute;
    right: 8px;
    top: 8px;
    padding-left: 6px;
    padding-right: 6px;
    opacity: .75;
    filter: alpha(opacity=75);
}

.inbox-folders .btn:hover .badge {
    opacity: 1;
    filter: alpha(opacity=100);
}




