/*inbox*/
.bs_legend .message_icon_type.read:before,
#message_center_messages .read td:first-child:before {
    font-family: "FontAwesome";
    content: "\f00c";
    display: inline-block;
    color: #abc97e;
}

.bs_legend .message_icon_type.bold:before,
#message_center_messages .bold td:first-child:before{
     font-family: "FontAwesome";
    content: "\f0e0";
    display: inline-block;
    color: inherit;
}
.bs_legend .message_icon_type.urgent:before,
#message_center_messages .urgent td:first-child:before{
    font-family: "FontAwesome";
    content: "\f071";
    display: inline-block;
        color: red;
}

span.message_icon_type {
    margin-right: 7px;
}

body.fep4540454 tr.pagination_row.nohover.pagination_no_hover {
    background-color: #313131;
}

body.fep4540454 .table_header_titles th {
    background: #2a2a2a;
    line-height: 30px;
    border: 0;
}

body.fep4540454 .stat{
    background-color: #2a2a2a;
    text-align: center;
}

body.fep4540454 th.ttl {
    font-size: 12px;
    text-transform: uppercase;
    
}

body.fep4540454 th.ttl.align_left {
    padding-left: 20px;
}

body.fep4540454 .bs_alternate_table tr td{
    border: 0;
}

.read_msg_col{
    text-align: center;
}

.read_msg_btn{
    padding: 7px;
    background-color: #a5f200;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    color: #222222;
}

/*thread*/
.message_content_tbl .header{
    width: 110px;
}

.message_content_tbl .fake_th {
    font-weight: bold;
    margin-top: 10px;
    align-content: baseline; /* needed for desktop table */
}

.messages_ico:before {
    font-family: "FontAwesome";
    font-size: 20px;
    font-weight: normal;
    color: #909090;
    content: "\f003";
    display: inline-block;
    margin-right: 5px;
}

.message_center_new_messages_container .messages_area{
    border-right: 1px solid #383838;
    line-height: 40px;
    font-size: 12px;
    color: #f2dd37;
    position: relative;
    font-weight: bold;
    display: inline-block;
    /* margin: 0 15px; */
    cursor: pointer;
    text-decoration: none;
    top: -13px;
    padding: 0 10px;
    padding-right: 8px;
}

.message_center_count{  
    background-color: red;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: relative;
    color: #fff;
    font-size: 8px;
    box-sizing: border-box;
    position: absolute;
    left: 21px;
    top: 4px;
    line-height: 15px;
    text-align: center;
}

.message_thread_cb #cboxLoadedContent {
    background: #202020;
}

.message_content_tbl{
    padding: 20px;
    padding-right: 0;
    padding-bottom: 20px;
    position: relative;
}

.message_thread_cb #cboxLoadedContent{
    overflow: unset !important;
    /*background: #000000 !important;*/
}

#send_thread{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #393939;
    padding: 0;
}

.read_message_page .bs_data_wrapper.bs_filters{
    display: block !important;
}

/* add wrapping space to message content */
.read_message_page .bs_filters {
    padding: 20px;
    box-sizing: border-box;
}

#message_input{
    width: 100%;
    height: 35px;
    padding: 15px;
    position: relative;
}

.message_thread_box {
    max-height: 223px;
    min-height: 223px;
}

.read_message_page .bs_toggle_filters{
    display: none;
}

/* width */
.message_thread_box::-webkit-scrollbar, 
.message_content_tbl .content::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.message_thread_box::-webkit-scrollbar-track,
.message_content_tbl .content::-webkit-scrollbar-track {
  background: var(--scroll_track, #666);
}
 
/* Handle */
.message_thread_box::-webkit-scrollbar-thumb,
.message_content_tbl .content::-webkit-scrollbar-thumb {
  background: var(--scrollbar, #999);
}

/* Handle on hover */
.message_thread_box::-webkit-scrollbar-thumb:hover,
.message_content_tbl .content::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar_hover, #555);
}

.read_full_message_section {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 136px;
    font: normal normal normal 14px/1 FontAwesome;
} 

.read_full_message_txt{    
    font-family: arial;
    font-size: 11px;
    padding-left: 5px;
    position: relative;
    top: -1px;
}

.go_back_section{
    position: absolute;
    left: 182px;
    bottom: 20px;
}

span.read_full_message_ico:after{
    content: "\f0b2";
}
span.read_full_message_ico:hover{cursor: pointer;}

.section_title_bar{
    background: #313131;
    border-bottom: 2px solid #0e0e0e;
}

td.content {
    height: 100px;
    display: block;
    overflow-y: scroll;
    background-color: #3d3d3d;
    padding: 0 15px;
}

td.content.full{
    height: auto;
    max-height: 500px;
    line-height: 1.5;
}

.message_thread_box{
  height: 100%;  
} 

table.bs_full_width.message_content_tbl tr {
    height: 30px;
}

.read_message_page .section_title_bar{
    background: #313131;
    border-bottom: 2px solid black;
}

form#send_thread > .send_button {
    position: absolute;
    right: 1px;
    height: 33px;
    top: 1px;
    font-size: 20px;
    color: #a5a5a5;
    border-radius: 0;
    padding: 0 10px;
    background-color: #dddddd;
}

body#fe_body.inbox-message-center #cboxClose{
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 10px;
    border: 1px solid white;
    width: 21px;
    height: 21px; 
    background-position: -51px -1px; 
}

span.go_back{font: normal normal normal 14px/1 FontAwesome; float: left; }
span.go_back:hover{cursor: pointer;}
span.go_back:before {content: "\f053";}

.go_back_section{
    cursor: pointer;
}

.go_back_txt{
    font-family: arial;
    font-size: 11px;
    padding-left: 5px;
    position: relative;
    top: -1px;
}

.message_center_count{
    display: none;
}
.message_center_count:not(:empty){
    display: block;
}

.send_button,
#message_input:focus{
    outline: 0;
    border-radius: 0px;
    border:none;
    box-shadow: none;
}

.bs_toggle_filters{
    display: none;
}

.message_center_txt b{
    color: red;
}

.forced_message_content {
    min-width: 520px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 15px;
    border-radius: var(--popup_border_radius, 0);
    box-sizing: border-box;

    .btn_wrapper {
        flex-basis: 100%;
        text-align: center;
    }

    a {
        display: inline-block;
        background-color: var(--forced_msg_btn_bg, var(--primary_btn, red));
        color: var(--forced_msg_btn_txt, var(--primary_btn_txt, #fff));
        padding: var(--btn_padding, 7px 10px);
        border: var(--btn_border, 0);
        border-radius: var(--btn_border_radius, 0);
        text-decoration: none;
        position: relative;
    }
}

body.portable-device .forced_message_content {
    min-width: 320px;
    text-align: center;
}

.solid_message_icon {
    position: relative;
}

.solid_message_icon:before {
    font-family: "FontAwesome";
    font-size: 20px;
    font-weight: normal;
    color: #909090;
    content: "\f003";
    display: inline-block;
    margin-right: 5px;
    line-height: 1;
}

.solid_message_icon .fm_count {
    position: absolute;
    top: -2px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 11px;
    height: 11px;
    line-height: 1;
    font-size: 8px;

    background-color: red;
    color: var(--forced_msg_txt, inherit);
    border-radius: 50%;
    box-sizing: border-box;
    text-align: center;
}

/* .message_center_txt {
    position: relative;
    left: 3px;
    top: 20px;
} */


body.portable-device .message_center_txt {
    display: block;
}
