#buttonInHeader {
    display: flex;
    align-items: center;
    gap: 12px;
}

#meControl {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 0;
    width: 100%;
}

.tabcontent.active {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Side message Bar */
.dc-message-flyout-container-openBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 42px;
    cursor: pointer;
    margin-left: 8px;
    padding: 5px !important;
}

.dc-message-flyout-container-openBtn > img {
    height: 20px;
    width: 20px;
}

.dc-message-flyout-container-openBtn > div { 
    display: flex;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background-color: #2266E3;
    position: relative;
    right: -12px;
    bottom: 27px;
    border: 1px solid #FFFFFF;
    justify-content: center;
    align-items: center;
}

.dc-message-flyout-container-openBtn > div > span {
    font-size: 10px;
    letter-spacing: -0.5px;
    text-align: center;
    width: 100%;
    color: #FFFFFF;
    cursor: pointer;
}

.dc-message-flyout-container {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 85%;
    width: 0px;
    position: fixed;
    z-index: 1999;
    top: 8%;
    right: 1%;
    bottom: 5%;
    border-radius: 6px;
    background-color: #FFFFFF;
    overflow-x: hidden;
    padding: 0;
    box-shadow: 0px 0.6px 1.8px 0px rgba(0, 0, 0, 0.11), 0px 3.2px 7.2px 0px rgba(0, 0, 0, 0.13);
    box-sizing: content-box;
}

.dc-message-flyout-container.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 85%;
    width: 340px;
    position: fixed;
    z-index: 1999;
    top: 8%;
    right: 1%;
    bottom: 5%;
    border-radius: 6px;
    background-color: #FFFFFF;
    overflow-x: hidden;
    padding: 12px 24px;
    box-shadow: 0px 0.6px 1.8px 0px rgba(0, 0, 0, 0.11), 0px 3.2px 7.2px 0px rgba(0, 0, 0, 0.13);        
}
/* width */
.dc-message-flyout-container::-webkit-scrollbar {
  width: 3px;
}

/* Track */
.dc-message-flyout-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.dc-message-flyout-container::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.dc-message-flyout-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.dc-message-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
}

.dc-message-flyout-header > div {
    display: flex;
    gap: 8px; 
    align-items: center;
}

.dc-message-flyout-header > div > p{
    font-family: Segoe UI;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: default;
    color: #000;
    margin: 0px;
}
.dc-message-flyout-header > i { 
    font-size: 14px; 
    font-weight: 500; 
    cursor: default;
    color: var(--cmty-black);
    margin: 0px;
}

.dc-message-flyout-header > div > a > img {
    height: 14px;
    width: 14px;
    vertical-align: initial;
}
.dc-settingIcon{
    height: 14px;
    width: 14px;
}
.dc-message-flyout-header > i:hover {
    cursor: pointer;
}

.dc-message-flyout-content {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.dc-message-flyout-content-tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

.dc-message-flyout-content-tab-line {
    display: flex;
    align-items: flex-end;
    align-self: stretch;
    border-bottom: 1px solid #C8C6C4;
    margin-bottom: 11px;
}

.dc-message-flyout-content-tab-line-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid transparent;
    width: 100%;
    transition: border-bottom 0.3s;
}

.dc-message-flyout-content-tab-line-item:hover {
    border-bottom: 1px solid #2266E3;
    cursor: pointer;
}

.dc-message-flyout-content-tab-line-item.active {
    border-bottom: 1px solid #2266E3;
}

.dc-message-flyout-content-tab-line-item > div {
    display: flex;
    padding: 4px 16px;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
}

.dc-message-flyout-content-tab-line-item > div > p {
    color: #000;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Segoe UI;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0px;
    transition: font-weight 0.3s;
}

.dc-message-flyout-content-tab-line-item:hover > div > p {
    font-weight: 600;
}

.dc-message-flyout-content-tab-line-item.active > div > p {
    font-weight: 600;
}

.dc-message-flyout-content-message-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.dc-message-content-element-card {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #605E5C;
    padding: 4px 0;
    width: 100%;
    gap: 12px;

}

.dc-message-content-element-card-avatar-type-container {
    position: relative;
    width: 50%;
    max-width: 44px;
    min-width: 44px;
    height: 32px;
}

.dc-message-content-element-card-avatar-type-container > div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    width: 25px;
    position: sticky;
    border: 3px solid var(--cmty-white);
    border-radius: 50%;
    background: var(--cmty-neutrals-web-gray310);
    margin-top: 16px;
    margin-left: 20px;
}

.dc-message-content-element-card-avatar {
    position: absolute;
    border-radius: 50%;
    height: 32px;
    width: 32px;
}

.dc-message-content-element-card-initials {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    border: 0 !important;
    border-radius: 50% !important;
    height: 32px !important;
    width: 32px !important;
    background: #4f6bed !important;
    margin: 0px !important;
}

.dc-message-content-element-card-initials > span {
    font-family: 'Segoe UI';
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

.dc-message-content-element-card-type {
    position: sticky;
    height: 16px;
    width: 16px;
    border-radius: inherit;
    background: var(--cmty-neutrals-web-gray310);
}

.dc-message-content-element-card-inner-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 4px !important;
}

.dc-message-content-element-card-inner-cell > p {
    font-family: Segoe UI;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0px;
}

.dc-message-content-element-card-inner-cell > a {
    overflow: hidden;
    color: var(--dynamics-primary-2266-e-3, #2266E3);
    font-feature-settings: 'clig' off, 'liga' off;
    text-overflow: ellipsis;
    font-family: Segoe UI;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    max-height: 40px;
    overflow: hidden;
    word-break: break-word;
}

.dc-message-content-element-card-sender-date {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
}

.dc-message-content-element-card-sender-date > p, .dc-message-content-element-card-sender-date > span, .dc-message-content-element-card-sender-date > a  {
    color: var(--type-secondary-605-e-5-c, #605E5C);
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Segoe UI;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

.dc-message-flyout-all-message_Btn {
    display: flex !important;
    padding: 6px 20px !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 2px !important;
    background-color: #0078D4 !important;
    width: 100% !important;
    margin-top: 8px;
    text-decoration: none !important;
    color: #fff !important;
}

.dc-message-flyout-all-message_Btn > span {
    font-family: Segoe UI;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    color: #FFF;
    text-align: center;
}

p.no-record {
    font-size: var(--cmty-font-size-sm);
    line-height: 20px;
    font-family: "Segoe UI";
}
#closemessageBar_Btn{
    height: 18px;
}

@media only screen and (max-width : 1023.9px){
    .dc-message-flyout-container.active{
        right: auto;
        left: 0; 
        height: 100%;
        box-sizing: border-box;
    }
}
@media only screen and (max-width : 639.9px){
    .dc-message-flyout-container.active{
        right: auto;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
    }
} 