#messages-content-frame {
    margin: 20px auto;
    width: 100%;
    max-width: 920px;
    min-width: 390px;
}

.send-mesg-attach-list{
    display:flex;
    align-content: space-evenly;
    flex-wrap:wrap;
}

.send-mesg-attach-list div{
    font-size: 12px;
    font-weight: 500;
}

.msg_list
{
    margin-top: 40px;
}
.msg_list table th
{
    cursor: pointer;
    font-weight: 300;
}
.msg_list table th:hover
{
    background-color: var(--pax-bttn-hov);
}
.msg_notify
{
    font-size: 24px;
    font-weight: 500;
    color: var(--pax-red-1);
    text-align: center;
    padding: 20px 10px;
}

.msg_sms_tr{
    cursor: pointer;
    color: var(--pax-fg-3);
}
.msg_sms_th{
    font-weight: 300;
    font-size: 13px;
    vertical-align: top;
}
.msg_sms_td{
    font-size: 12px;
    vertical-align: top;
}
.msg_sms_pre{
    font-size: 13px;
    color: var(--pax-fg-3);
    padding:4px;
    margin:0px;
    background-color: var(--pax-bg-2);
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
.msg_sms_tr:hover .msg_sms_td{
    background-color: unset;
}
.msg_sms_tr:hover{
    background-color: var(--pax-row-hov);
    color: #ffffff;
}
.msg_row_even {
    background-color: var(--pax-row-1);
    color: var(--pax-fg-3);
    cursor: pointer;
}
.msg_row_odd {
    background-color: var(--pax-row-2);
    color: var(--pax-fg-3);
    cursor: pointer;
}
.msg_row_even .vip_patient_label,.msg_row_odd .vip_patient_label{
    color:#2b0c7e;
    font-weight: 500;
}
.msg_row_even:hover, .msg_row_odd:hover, .msg_row_even:hover .vip_patient_label, .msg_row_odd:hover .vip_patient_label {
    background-color: var(--pax-row-hov);
    color: #ffffff;
    font-weight: 400;
}
.msg_read {
    font-weight: 400;
    font-size: 12px;
}
.msg_unread {
    font-weight: 500;
    font-size: 12px;
}
.msg_inactive {
    font-weight: 400;
    font-size: 12px;
    color:#a5a5a5;
}
.msg_details{
    padding: 10px 10px;
}
.msg_details table{
    border: none;
}
.msg_details table th, .msg_details table td{
    border:none;
}
.msg_details table th.msg_label, .msg_details table td.msg_label{
    font-weight: 500;
    width:100px;
}
.msg_label{
    font-size: 15px;
}
div.msg_label, span.msg_label{
    font-weight: 500;
}
.msg_value, .msg_value span{
    font-size: 15px;
    font-weight: 400;
}
.compose_send_icon {
    background-image: var(--pax-ctrl-send);
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: center;
}
.compose_btn_icons {
    cursor: pointer;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: bottom;
}
.msg_icons {
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: center;
    width:14px;
    height:14px;
    display:inline-block;
}
.reply_icon {
    background-image: var(--pax-ctrl-reply);
}
.msg_bttns:hover > .reply_icon {
    background-image: var(--pax-ctrl-reply-hov);
}
.forward_icon {
    background-image: var(--pax-ctrl-fwd);
}
.msg_bttns:hover > .forward_icon {
    background-image: var(--pax-ctrl-fwd-hov);
}
.archive_icon {
    background-image: var(--pax-ctrl-arch);
}
.msg_bttns:hover > .archive_icon {
    background-image: var(--pax-ctrl-arch-hov);
}
.delete_icon {
    background-image: var(--pax-ctrl-trash);
}
.msg_bttns:hover > .delete_icon {
    background-image: var(--pax-ctrl-trash-hov);
}
.msg_bttns{
    border-radius: 11px;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 1px;
    text-align: center;
    border: 1px solid var(--pax-bttn-bord);
    background-color: var(--pax-bttn-bg);
    padding: 4px 16px 4px 8px;
    cursor: pointer;
    display: inline-block;
    color: var(--pax-bttn-fg-1);
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.msg_bttns:hover{
    background-color: var(--pax-bttn-hov);
    color: #00c5ec;
}
.msg_link_value
{
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: underline;
    display: inline-block;
    color: var(--pax-link-1);
    font-size: 14px;
    cursor: pointer;
}
.msg_hilite_value
{
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    font-size: 22px;
    color: var(--pax-fg-3);
}
.msg_read_value
{
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-block;
    font-size: 14px;
}
.msg_read_label
{
    font-weight: 400;
    display: inline-block;
    width: 76px;
    font-size: 14px;
}
.msg_read
{
    font-size: 14px;
}
.msg_unread
{
    font-size: 14px;
}
.msg_inactive {
    font-size: 14px;
}

.ops_msg_unread
{
    font-size: 12px;
    font-weight: 500;
}
.msg_link_value:hover
{
    color: var(--pax-link-1-hov);
    text-decoration: none;
}
.msg_controls
{
    padding: 10px;
    height: 56px;
}
.msg_nav_bttns
{
    border-radius: 18px;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 1px;
    border: 1px solid var(--pax-bttn-bord);
    background-color: var(--pax-bttn-bg);
    padding: 8px 16px;
    cursor: pointer;
    display: inline-block;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing:border-box;
}
.msg_nav_bttns:hover
{
	background-color: var(--pax-bttn-hov);
}
.msg_compose_bttn
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 130px;
    height: 32px;
    text-align: right;
}
.msg_compose_bttn:hover
{
    background-color: var(--pax-bttn-hov);
}
.msg_nav
{
    position: absolute;
    top: 0px;
    left: 140px;
    width: 130px;
    height: 32px;
    text-align: left;
}
.msg_nav_menu
{
    height: 0px;
    position: absolute;
    top: 34px;
    left: 140px;
    width: 176px;
    background-color: var(--pax-menu-bg);
    box-shadow: 4px 4px 4px #666666;
    border-radius: 6px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    box-sizing:border-box;
}
.msg_nav_menu_opt
{
    background-color: var(--pax-menu-bg);
    cursor: pointer;
    width: 174px;
    height: 40px;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 2px;
    padding: 12px 0px 12px 28px;
    box-sizing:border-box;
}
.msg_nav_menu_opt:hover
{
    background-color: var(--pax-menu-opt-hov-bg);
    color: var(--pax-menu-opt-hov-fg);
}
.msg_plus
{
    background-image: var(--pax-ctrl-plus);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: inline-block;
    position: absolute;
    top: 4px;
    left: 4px;
}
.msg_dropdown
{
    background-image: var(--pax-ctrl-dropdown);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: inline-block;
    position: absolute;
    top: 4px;
    right: 4px;
}
.msg_sort_asc
{
    background-image: var(--pax-ctrl-dropup);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: center;
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: inline-block;  
    margin-bottom: -3px;
    margin-left: 8px;
}
.msg_sort_desc
{
    background-image: var(--pax-ctrl-dropdown);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: center;
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-bottom: -3px;
    margin-left: 8px;
}
.msg_sort_hide
{
    display: none;  
    width: 16px;
    height: 16px;
}
.pax_msg_bttn
{
    width: 200px;
    margin: 40px 0px 60px 0px;
}
.msg_row_even
{
    background-color: var(--pax-row-1);
    color: var(--pax-fg-3);
    cursor: pointer;
}
.msg_row_odd
{
    background-color: var(--pax-row-2);
    color: var(--pax-fg-3);
    cursor: pointer;
}
.msg_row_even:hover, .msg_row_odd:hover
{
    background-color: var(--pax-row-hov);
    color: #ffffff;
    font-weight: 500;
}
.msg_read
{
    font-weight: 400;
}
.msg_unread
{
    font-weight: 500;
}
.msg_read_header
{
    margin-top: 40px;
}
.msg_list_menu_icons
{
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    display: inline-block;
    margin-bottom: -2px;
    padding-top: 2px;
}
.msg_menu_inbox
{
    background-image: var(--pax-ctrl-inbox);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
}
.msg_menu_send
{
    background-image: var(--pax-ctrl-send);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
}
.msg_menu_archive
{
    background-image: var(--pax-ctrl-arch);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
}
.msg_menu_trash
{
    background-image: var(--pax-ctrl-trash);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
}
.msg_menu_drafts
{
    background-image: var(--pax-ctrl-save);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
}
div.msg_attachments{
    display:inline-block;
    height:18px;
    cursor:pointer;
    margin-top:7px;
}
div.msg_attachments div.fm-icon{
    vertical-align:top;
    height:12px;
    width:12px;
    margin:0px 5px;
    background-size:12px 12px;
    background-position:center right;
    padding-top:0px;
}
div.msg_attachments span.sys_links{
    vertical-align:top;
    line-height:1;
}
div.msg_attachments span:not(.sys_links){
    vertical-align:top;
    font-weight:300;
    font-size:10px;
}

@media screen and (max-width: 600px) {
    .msg_link_value
    {
        font-weight: 500;
        letter-spacing: 0px;
        text-decoration: underline;
        display: inline-block;
        color: var(--pax-link-1);
        font-size: 13px;
        cursor: pointer;
    }
    .msg_hilite_value
    {
        font-weight: 700;
        display: inline-block;
        font-size: 14px;
        color: var(--pax-fg-3);
    }
    .msg_read_value
    {
        font-weight: 500;
        letter-spacing: 0px;
        display: inline-block;
        font-size: 11px;
    }
    .msg_read_label
    {
        font-weight: 400;
        display: inline-block;
        width: 62px;
        font-size: 11px;
        padding-left: 6px;
    }
    .msg_read
    {
        font-size: 11px;
    }
    .msg_unread
    {
        font-size: 11px;
    }
    .msg_inactive {
        font-size: 11px;
    }
    .ops_msg_unread
    {
        font-size: 10px;
    }
}
