

.mbmessageicon {
    display: inline;
    position: relative;
    cursor: pointer;
}

.mbmessageicon .mbthreadmessagescounter {
    position: absolute;
    padding: 0 4px 0 4px;
    font-size: 0.7em;
    display: inline;
    top: -9px;
    right: -8px;
    color: #820262;
    background-color: white;
    font-size: 0.8em;
    font-weight: normal;
    border: 0px solid black;
    border-radius: 8px;
}

.mbmessageicon .mbmessagecounter {
    position: absolute;
    padding: 0 3px 0 3px;
    display: inline;
    top: -5px;
    right: 1px;
    color: black;
    background-color: white;
    font-size: 0.7em;
    font-weight: normal;
    border: 1px solid black;
    border-radius: 8px;
}

.mbmessageicon .mbsubscriberscounter {
    position: absolute;
    padding: 0 3px 0 3px;
    display: inline;
    top: -5px;
    right: -11px;
    color: #820262;
    background-color: white;
    font-size: 0.8em;
    font-weight: normal;
    border: 0px solid black;
    border-radius: 8px;
}

.mbmessageicon .mbsubscriberlistscounter {
    position: absolute;
    padding: 0 4px 0 3px;
    display: inline;
    top: -5px;
    right: -16px;
    color: #820262;
    background-color: white;
    font-size: 0.7em;
    font-weight: normal;
    border: 0px solid black;
    border-radius: 8px;
}

.mbmessageicon .mbmessageimg {
    padding-right: 8px;
    vertical-align: -3px;
}

.mbmessagepopup {
    background: white; 
    display: none;
    width: 385px;
    position: absolute; 
    z-index: 100000;
    margin-top: 70px;
    margin-left: -80px;
    -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 10px rgba(0,0,0,0.4); 
    box-shadow:0 0 10px rgba(0,0,0,0.4);
    border-radius: 5px;
    border: 5px;
    
}

.mbmessagepopup .mbmessagetitle {
    font-size: 0.9em;
    text-transform: none;
    text-align: left;
    font-weight: bold;
}

.mbmessagelist {
    overflow-y: auto;
    max-height: 75vh
}
.mbmessagelist .mbmessage {
    border: 1px solid gray;
    border-color: white;
    border-radius: 10px;
    cursor: pointer;
}
 
.mbmessagelist .msgleftside {
   float: left;
   margin-right: 10px;
   margin-top: 4px;
   cursor: pointer;
}
.mbmessagelist .msgrightside {
   float: left;
   padding: 5px;
   cursor: pointer;
   width: 290px;
}

.mbmessagelist .msgtopline {
    position: relative;
    height: 20px;
    text-transform: none;
    cursor: pointer;
}  

.mbmessagelist .msgtime {
    font-size: 0.8em;
    font-weight: normal;
    color: black;
    float: left;
}
.mbmessagelist .msgreadunread {
    position: relative;
    top: -3px;
    right: 10px;
}
.mbmessagelist .msgthread {
    font-size: 0.9em;       
    font-weight: bold;    
    color: black;
    padding-bottom: 3px;
    text-align: left;
    white-space: nowrap;
    z-index: 99999999;
    /*overflow-x: hidden;*/
}
.mbmessagelist .msgtext {
    font-size: 0.9em;
    font-weight: normal;
    color: black;
    padding-bottom: 5px;
    text-align: left;
    text-transform: none;
}

.mbmessagelist .msgtext a {
    text-decoration: none;
}

#mbmessageditform {
    background: #f1f1f1;
    -webkit-box-shadow:0 0 1px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 1px rgba(0,0,0,0.4); 
    box-shadow:0 0 1px rgba(0,0,0,0.4);
}

#mbmessageeditdialog textarea {
    background-color: white;
    width: 298px;
    height: 60px;
    max-height: 60px;
    mex-width: 305px;
    margin-top: 5px;
    resize: none;
}

#mbmessageeditdialog #mbmessageshistory {
    height: 280px;
    width: auto;
    overflow-y: auto; 
    background-color: white;
}
#mbmessageeditdialog .mbmessage {
    position: relative;
}

#mbmessageeditdialog .mbmessagetext {
    display: inline-block;
    margin-top: 0px; 
    padding: 7px;
    min-height: auto;
    border-radius: 15px;
    text-align: left;
}
#mbmessageeditdialog .mbmessage .mbmessagefrom {
    padding: 0px;
    font-size: 1.0em;
    border-radius: 0px;
}
#mbmessageeditdialog .mbmessage .mbmessagetime {
    font-size: 0.7em;
    forn-weight: normal;
    color: gray;
    margin-left: 2px;
    padding: 1px;
}
#mbmessageeditdialog .mbmessage .mbmessageunread {
    font-size: 0.8em;
    right: 100px;
}

#mbmessageeditdialog .mbmessage-fromme .mbmessagetext {
    float: right;
    background-color: lightblue;
    font-size: 1.0em;
    font-weight: normal;
}

#mbmessageeditdialog .mbmessage-fromother .mbmessagetext {
    font-size: 1.0em;
    text-align: left;
    font-weight: normal;
    background-color: #f1f1f1;
}

#mbmessageeditdialog #mbmessagethreadcontainer {
    width: auto;
    height: 135px;
}

#mbmessageeditdialog #mbmessagethreadleft {
}

#mbmessageeditdialog #mbmessagethreadtitle {
    font-size: 1.1em;
    font-weight: bold;
    color: #820262;
}
#mbmessageeditdialog #mbmessagethreadreceivers {
    font-size: 1.1em;
    font-weight: bold;
    color: #444;
}
#mbmessageeditdialog #mbmessagethreaddetails {
    color: gray;
}

.notificationicon {
    display: inline;
    position: relative;
    cursor: pointer;
}

.notificationicon .notificationcounter {
    position: absolute;
    padding: 0 3px 0 3px;
    display: inline;
    top: -5px;
    right: 8px;
    color: black;
    background-color: white;
    font-size: 0.7em;
    font-weight: normal;
    border: 1px solid black;
    border-radius: 8px;
}

.notificationicon .notificationimg {
    padding-right: 5px;
    vertical-align: -3px;
}

.notificationpopup {
    z-index: 1000000;
    position: relative;
    width: 385px;
    display: none;
    background: white;
    -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 10px rgba(0,0,0,0.4); 
    box-shadow:0 0 10px rgba(0,0,0,0.4);
    border-radius: 5px;
    border: 5px;
}

.notificationtooltip {
    z-index: 1000000;
    position: fixed;
    display: none;
    background: white;
    -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 10px rgba(0,0,0,0.4); 
    box-shadow:0 0 10px rgba(0,0,0,0.4);
    border-radius: 5px;
    border: 5px;
    font-size: 0.9em;
    font-weight: normal;
    overflow-y: auto;
    max-height: 47vh;
    max-width: 1000px;
    text-align: left;
    text-transform: none;
    color: black;
    padding: 5px;
}

.notificationpopup .notificationtitle {
    font-size: 0.9em;
    text-transform: none;
    padding: 10px;
    text-align: left;
}

.notificationlist {
    overflow-y: auto;
    max-height: 75vh
}

.notificationlist .notification {
    text-transform: none;
    text-align: left;
    padding: 4px;
    border-bottom: 1px solid white;
    border: 1px solid gray;
    border-color: white;
    border-radius: 10px;
    cursor: pointer;
}

.notificationlist .notleftside {
   float: left;
   width: 60px;
}
.notificationlist .notrightside {
   float: left;
   width: 290px;
}

.notificationlist .nottext {
    font-size: 0.9em;
    font-weight: normal;
    color: black;
    padding-bottom: 3px;
}

.notificationlist .nottext a {
    text-decoration: none;
}

.notificationlist .nottime {
    font-size: 0.9em;
    font-weight: normal;
    color: black;
    float: left;
}

.notificationlist .notreadunread {
    font-size: 0.9em;
    font-weight: normal;
    float: right;
}

.notificationlist .noticon {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 3px;
}

.notificationlist .notshowall {
    text-transform: none;
    font-size: 0.9em;
    font-weight: normal;
    color: black;
    text-align: center;
    background-color: white;
    float: right;
    height: 20px;
    width: 100%;
    cursor: pointer;
}
.notificationlist .notshowall:hover {
    color: red;
}

.notificationlist .notdismiss {
    text-transform: none;
    font-size: 0.8em;
    font-weight: normal;
    color: gray;
    float: right;
    cursor: pointer;
}
.notificationlist .notdismiss:hover {
    color: red;
}

.notificationlist .notdismissall {
    text-align: center;
}
