/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------                                      ----------------------------- */
/* ------------------------------     Default Menutile-Stylesheets     ----------------------------- */
/* ------------------------------                                      ----------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */

nav#menuOverview2,
nav#menuOverview1,
.tmplWorkarea nav.mainMenu,
.tmplWorkarea nav.dmMenu{
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    grid-auto-rows: minmax(250px, 250px);
    grid-gap: 10px;
    align-items: stretch;
    justify-content: center;
}

.tmplWorkarea nav.dmMenu{
    grid-template-columns: repeat(auto-fit, 160px);
    grid-auto-rows: minmax(160px, 160px);
}

div.menuOverviewItem {
    color: var(--color-card-font);
    text-align: left;
    position: relative;
    z-index: 0; /* <- neuer Stapel ab hier*/
    box-shadow: var(--shadow-cards);
    background: var(--color-card-background);
    border-radius: var(--border-radius-menu-item);
    transition: background 300ms;
    overflow: hidden;
}
.menuOverviewItem.doubleheightMenuItem {
    grid-row: span 2;
}

.menuOverviewItem.doublewidthMenuItem {
    grid-column: span 2;
}

.menuOverviewItem.triplewidthMenuItem {
    grid-column: span 3;
}

.dndActive .menuOverviewItem {
    transition: margin 0.5s;
}

.menuOverviewItem.moving {
    /*opacity: 0.1;*/
}

.menuOverviewItem.moving.ready {
    opacity: 0;
    margin-right: -255px;
}

.doublewidthMenuItem.moving.ready {
    opacity: 0;
    margin-right: -515px;
}

.dndActive .menuOverviewItem.overLeft {
    transform: translate3d(100px, 0, 0);
}

.dndActive .menuOverviewItem.overRight {
    transform: translate3d(-100px, 0, 0);
}

.menuOverviewItemEnabled {
    cursor: pointer;
}

.menuOverviewItem .menuItemContent {
    font-family: "Roboto", Arial, "Tahoma", sans-serif;
    font-weight: 300;
}

.menuOverviewItem .menuItemContent .menuOverviewItemDescription {
    height: 100%;
}
#MENU_HOME_COLLEGUES .menuItemContent {
    height: 100%;
}

#MENU_HOME_COLLEGUES .overviewwrap {
    max-height: 80%;
    overflow: hidden;
}

#MENU_HOME_COLLEGUES .legenddiv {
    margin-top: 4px;
}

@media screen and (max-width: 799px)  {
    #MENU_HOME_COLLEGUES .overviewwrap {
        max-height: 70%;
    }
}

.menuOverviewItem h1 {
    margin-top: 0;
    font-weight: normal;
    color: inherit;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    /*border-bottom: solid 1px rgba(0, 0, 0, .1); siehe unten*/
}

div.menuOverviewItem h1::after {
    display: block;
    content: '';
    border-bottom: solid 1px currentColor;
    opacity: 0.25;
    position:relative;
    top: 8px;
}

.menuOverviewItem h2 {
    color: inherit;
    font-family: Roboto, Arial, "Tahoma", sans-serif;
}

.menuOverviewItem img.menuItemIcon {
    margin-top: 15px;
}

.menuOverviewItem div.menuOverviewItemInner {
    color: inherit;
    font-size: 11px;
    height: 100%;
    padding: var(--padding-menu-item);
    box-sizing: border-box;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menuOverviewItemInner .menuItemTitle {
    font-weight: 400;
}

.menuOverviewItem .dijitContentPaneError {
    display: none;
}

.menuOverviewItemEnabled:hover {
    box-shadow: 0 0 5px var(--color-menu1-back-hover);
    background-color: var(--color-menu1-back-hover);
    color: var(--color-menu1-font-hover);
    /* Manches ist hier nicht mehr lesbar */
    --color-status-red: var(--color-menu1-font-hover);
    --color-status-green: var(--color-menu1-font-hover);
}

.menuOverviewItemEnabled:hover h1,
.menuOverviewItemEnabled:hover h2,
.menuOverviewItemEnabled:hover p,
.menuOverviewItemEnabled:hover p.miElementCaption,
.menuOverviewItemEnabled:hover #workdaypreshow td.attendance {
    color: inherit;
    border-color: currentColor;
}

.menuOverviewItem.miBack .menuOverviewItemInner {
    background: none;
    content-visibility: auto;
}

.menuOverviewItem.miBack .menuOverviewItemInner .menuItemContent {
    position: relative;
    z-index: 5;
    height: 100%;
}

.pfMenu .actionMenuItem {
    display: inline-block;
    width: 48px;
    height: 48px;
    padding: 4px;
    cursor: pointer;
}

.pfMenu .actionMenuItem .menuActionInner {
    opacity: 0.5;
    transition: opacity 0.25s;
}

.pfMenu .actionMenuItem:hover .menuActionInner {
    opacity: 1;
    /*box-shadow: 0px 1px 3px rgba(0,0,0,0.25);*/
}

.actionMenuItem .menuActionInner {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.actionMenuItem.edit .menuActionInner {
    background-image: url(action/edit.svg);
}

.actionMenuItem.save .menuActionInner {
    background-image: url(action/save.svg);
}

.actionMenuItem.reset .menuActionInner {
    background-image: url(action/reset.svg);
}

.actionMenuItem.cancel .menuActionInner {
    background-image: url(action/cancel.svg);
}

.pfMenu .actionMenuItem.reset,
.pfMenu .actionMenuItem.save,
.pfMenu .actionMenuItem.cancel,
.pfMenu.editOn .actionMenuItem.edit,
.pfMenu .menuOverviewItemHidden,
.pfMenu .dndHandle {
    display: none;
}

.pfMenu.editOn .actionMenuItem.reset,
.pfMenu.editOn .actionMenuItem.save,
.pfMenu.editOn .actionMenuItem.cancel,
.pfMenu.editOn .menuOverviewItemHidden,
.pfMenu.dndActive .dndHandle {
    display: inline-block;
}

.pfMenu.editOn .menuOverviewItemHidden {
    box-shadow: none;
}

.pfMenu.editOn .menuOverviewItemHidden .menuOverviewItemInner {
    opacity: 0.5;
    filter: grayscale(1);
}

.alertMenuItem div.menuOverviewItemInner {
    background: #ffa84c;
    /* Old browsers */
    background: linear-gradient(135deg, #ffa84c 0%, #ff7b0d 100%);
    /* W3C */
}

.menuOverviewItemInner .loading {
    opacity: 0;
    -moz-transition: 0.5s opacity;
    -webkit-transition: 0.5s opacity;
    -o-transition: 0.5s opacity;
    transition: 0.5s opacity;
}

.menuOverviewItemInner .finished {
    opacity: 100;
}

.menuOverviewItem .userpicMenuItem {
    float: left;
    margin: 0 20px 10px 0;
}

.menuOverviewItem .userpicMenuItem img {
    box-shadow: 1px 1px 3px #333;
}

.menuOverviewItem .menuItemWelcometext {
    font-size: 12px;
    text-align: left;
    hyphens: auto;
    padding: 10px;
}

.menuOverviewItem div.colleagues {
    margin: 0 0 4px 0;
    border-radius: 0;
    overflow: hidden;
}

.menuOverviewItem div.colleaguesLegend table {
    border-radius: 2px;
    overflow: hidden;
}

table.colleagues {
    width: 100%;
}
table.colleagues col.empty { width:0; }
table.colleagues col.std { max-width: 20%; }

table.colleagues th{
    text-align: left;
    font-weight: normal;
}

table.colleagues th:first-child{
    font-weight: bold;
}
table.colleagues th:not(:first-child),
table.colleagues td:not(:first-child) {
    padding-left: 1px;
}
table.colleagues td {
    height: 120px;
    vertical-align: top;
    max-width: 180px;
    min-width: 60px;
}
table.colleagues td.collapse {
    min-width: 0;
}


table.colleagues div.atc {
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1px;
    margin-right: 1px;
    padding-right: 1px;
}


table.colleagues div.atc.dark { color: #FFF;}
table.colleagues div.atc.light { color: #000;}


table.colleagues div.atc > fp-inline-svg{
    --icon-size: 14px;
    padding-right: 1px;
}

table.colleagues div.atc > fp-format-entity{
    max-width: 80px;
}


.miBack .menuOverviewItemInner {
    background-repeat: no-repeat;
    background-position: bottom right;
}

.miBack_welcome .menuOverviewItemInner {
    background-image: url(back/welcome.png);
}

.miBack_colleagues .menuOverviewItemInner {
    background-image: url(back/colleagues.png);
}

.miBack_todo .menuOverviewItemInner {
    background-image: url(back/todo.png);
}

.miBack_project .menuOverviewItemInner {
    background-image: url(back/project.png);
}

.miBack_time .menuOverviewItemInner {
    background-image: url(back/time.png);
}

.miBack_vacation .menuOverviewItemInner {
    background-image: url(back/vacation.png);
}

.miBack_travel .menuOverviewItemInner {
    background-image: url(back/travel.png);
}

.miBack_config .menuOverviewItemInner {
    background-image: url(back/config.png);
}

.miBack_sync .menuOverviewItemInner {
    background-image: url(back/sync.png);
}

.miBack_search .menuOverviewItemInner {
    background-image: url(back/search.png);
}


/* .miBack_report          .menuOverviewItemInner { background-image: url(standard/back/report.png);}  gibts nicht mehr*/

.miBack_calc .menuOverviewItemInner {
    background-image: url(back/calc.png);
}

.miBack_money .menuOverviewItemInner {
    background-image: url(back/money.png);
}

.miBack_calendar .menuOverviewItemInner {
    background-image: url(back/calendar.png);
}

.miBack_myevents .menuOverviewItemInner {
    background-image: url(back/calendar.png);
}

.miBack_message .menuOverviewItemInner {
    background-image: url(back/message.png);
}

.miBack_videonews .menuOverviewItemInner {
    background-image: url(back/videonews.png);
    background-position: bottom center;
}

.miBack_customer .menuOverviewItemInner {
    background-image: url(back/customer.png);
}

.miBack_contact .menuOverviewItemInner {
    background-image: url(back/contact.png);
}

.miBack_topics .menuOverviewItemInner {
    background-image: url(back/topics.png);
}

.miBack_polls .menuOverviewItemInner {
    background-image: url(back/polls.png);
}

.miBack_resourceplan .menuOverviewItemInner {
    background-image: url(back/resourceplan.png);
}

.menuOverviewItemCloser,
.menuOverviewItemAdder {
    display: none;
    width: 24px;
    height: 24px;
    position: absolute;
    right: -8px;
    top: -8px;
}

.pfMenu.editOn .menuOverviewItemNotHidden .menuOverviewItemCloser,
.pfMenu.editOn .menuOverviewItemHidden .menuOverviewItemAdder {
    display: inline;
}

.menuOverviewItemCloser img,
.menuOverviewItemAdder img {
    width: 24px;
    height: 24px;
}

.menuOverviewItem .numUnreadMsgCount {
    font-size: 26px;
    line-height: 22px;
    color: inherit;
    display: inline-block;
    padding-right: 2px;
}

.menuOverviewItem .numUnreadMsgText {
    font-size: 10px;
    line-height: 11px;
    color: inherit;
    display: inline-block;
}
div.miFooter{
    position: absolute;
    bottom: 4px;
    left: var(--padding-menu-item, 4px);
    right: var(--padding-menu-item, 4px);
}

.pfNewestPostBubble {
    height: 72px;
    overflow: visible;
    display: flex;
    align-items: center;
}

.pfNewestPostBubble .poster {
    width: 64px;
}

.pfNewestPostBubble .poster img {
    width:64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #666;
}

.pfNewestPostBubble .bubble {
    flex-grow: 1;
    padding-left:4px;
    position: relative;
}

.pfNewestPostBubble .bubble .innerbubble {
    background: var(--color-shade-none);
    border: 2px solid var(--color-shade-3-contrast);
    border-radius: 3px 12px 12px 12px;
    padding: 6px;
    max-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: var(--font-small);
    line-height: 1.1;
    color: var(--color-main-font);

}

.pfNewestPostBubble .bubble::before {
    content: '';
    border: 4px solid transparent;
    border-right: 8px solid var(--color-shade-3-contrast);
    position:absolute;
    left: -8px;
    top: 1px;
    display: block;
}

.pfNewestPostBubble>span.small {
    position: relative;
    top: -9px;
    opacity: 0.5;
}

fp-menu-item .miContentTable,
.menuOverviewItem .miContentTable {
    width: 100%;
    table-layout: fixed;
}

.menuOverviewItem .miContentTable td:not(:first-child) { padding-left: 2px; }
.menuOverviewItem .miContentTable td:not(:last-child) { padding-right: 2px; }

h2.miElementListHeader {
    color: var(--color-secondary-for-text);
    text-align: left;
    font-size: 10px;
    line-height: 10px;
    margin: 1px 0 1px 0;
    padding: 0 2px 0 2px;
}

fp-menu-item.active > [slot="description"] h2.miElementListHeader,
fp-menu-item:hover > [slot="description"] h2.miElementListHeader {
    color: inherit;
}

table.miElementList col.miLeftColumn,
table.miElementList col.miRightColumn {
    width: 34px;
}

table.miElementListSmall col.miLeftColumn,
table.miElementListSmall col.miRightColumn{
    width: 26px;
}

table.miElementList.miElementListRightStamp col.miRightColumn,
table.miElementListSmall.miElementListRightStamp col.miRightColumn{
    width: 72px;
}

table.miElementList td.miElementLeft > .jmlImageContainer,
table.miElementList td.miElementLeft > img,
table.miElementList td.miElementLeft > fp-inline-svg{
    margin-left: -2px; /* Safe-zone des Icons bei der Ausrichtung berücksichtigen*/
}

table.miElementListSmall td.miElementLeft > .jmlImageContainer,
table.miElementListSmall td.miElementLeft > img,
table.miElementListSmall td.miElementLeft > fp-inline-svg{
    margin-left: -1.5px; /* Safe-zone des Icons bei der Ausrichtung berücksichtigen*/
}

table.miElementList {
    border-spacing: 0 4px;
    table-layout: fixed;
}

table.miElementListSmall {
    border-spacing: 0 2px;
}

table.miElementList tr {
    height: 46px;
}

table.miElementListSmall tr {
    height: 24px;
}

table.miElementList table tr {
    height: auto;
}

table.miElementList td.miElementCell {
    padding-top: 2px;
    padding-bottom: 2px;
}

table.miElementListSmall td.miElementCell {
    padding-top: 1px;
    padding-bottom: 1px;
}

table.miElementList tr.clickable:hover td.miElementCell {
    background-color: #FEE580;
}

table.miElementList td.miElementMain {
    text-align: left;
    vertical-align: middle;
}

table.miElementList td.miElementLeft,
table.miElementList td.miElementRight {
    font-size: 20px;
    line-height: 28px;
    font-weight: normal;
    vertical-align: middle;
    white-space: nowrap;
}

table.miElementList td.miElementLeft {   text-align: left; }
table.miElementList td.miElementRight {   text-align: right; }

.menuOverviewItemEnabled:hover table.miElementList td.miElementLeft,
.menuOverviewItemEnabled:hover table.miElementList td.miElementRight {
    color: var(--color-menu1-font-hover);
}

table.miElementListSmall td.miElementLeft,
table.miElementListSmall td.miElementRight {
    font-size: 15px;
    line-height: 20px;
}

table.miElementList td.miElementLeft img:not(.jmlImageOverlay),
table.miElementList td.miElementRight img:not(.jmlImageOverlay) {
    vertical-align: middle;
    height: 32px;
    width:32px;
    --icon-size: 32px;
}


table.miElementListSmall td.miElementLeft img:not(.jmlImageOverlay),
table.miElementListSmall td.miElementRight img:not(.jmlImageOverlay) {
    vertical-align: middle;
    height: 24px;
    width:24px;
    --icon-size: 24px;
}

table.miElementList p {
    overflow: hidden;
    text-overflow: ellipsis;
}

p.miElementCaption {
    padding: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

p.miElementTopCaption {
    font: var(--font-small);
    line-height: 1;
    opacity: 0.8;
}

p.miElementTopLeftCaption {
    font: var(--font-small);
    line-height: 1;
    opacity: 0.8;
}

p.miElementTopRightCaption {
    font: var(--font-small);
    line-height: 1;
    opacity: 0.8;
}

p.miElementMainCaption {
    font: var(--font-normal);
    line-height: 25px;
}


table.miElementList td.miIconBig{
    padding-top: 4px;
}


table.miFooter td.miMultiline p.miElementCaption{
    white-space: normal;
    line-height: 18px;
}

td.miIconBig p.miElementMainCaption {
    display: flex;
    justify-content: center;
    --icon-size: 72px;
}


p.miElementBottomCaption {
    font: var(--font-small);
    opacity: 0.8;
    text-align: right;
}

p.miElementBottomLeftCaption {
    font: var(--font-small);
    opacity: 0.8;
    text-align: right;
}

p.miElementBottomRightCaption {
    font: var(--font-small);
    opacity: 0.8;
    text-align: right;
}


/* Spezialfälle */

table.miEvents col.miRightColumn {
    width: 60px;
}

table.miEvents td.miElementRight {
    font: var(--font-normal);
    text-align: right;
}
table.miEvents td.miElementRight .day{
    font: var(--font-xsmall);
    font-weight: bold;
    line-height: 0.7;
}

table.miEventsNow td.miElementCell {
    background: none !important;
}

table.miEvents p.miElementBottomCaption {
    text-align: left;
}

table.miEvents span.location {
    background-image: url("../../css/embed/base_ce_location.svg");
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 0.4;
    padding-left: 12px;
}

table.miEventsNow tr {
    background: var(--color-selected-item);
}

table.miMyProjects col.miRightColumn {
    width: 60px;
}

table.miMyProjectsStatus {
    border-spacing: 1px 4px;
}

table.miMyProjectsStatus td.miElementCell {
    text-align: center;
}

table.miMyProjects td.miElementRight,
table.miMyProjectsStatus td.miElementRight {
    text-align: right;
}



table.miMyProjectsStatus .miElementCell p {
    display: inline-flex;
    justify-content: space-between;
}

table.miMyProjectsStatus .miElementCell span.part {
    line-height: 20px;
    font-weight: normal;
    display: inline-block;
}

table.miMyProjectsStatus .miElementCell span.part:last-child {
    padding: 0 0 0 0;
}

table.miMyProjectsStatus .miElementCell span.part img {
    margin-right: 3px;
    vertical-align: text-bottom;
    width: 16px;
}

table.miWorktime col.miRightColumn {
    width: 80px;
}

table.miWorktime td.miElementRight {
    text-align: right;
}

table.currentTopics td.miElementRight {
    vertical-align: top;
    text-align: right;
    padding-right: 0;
}

table.currentTopics col.miRightColumn {
    width: 3px;
}

table.currentTopics td.miElementRight .newPostNotificator {
    width: 100%;
}

span.pollwinner {
    display: inline-block;
    padding: 5px;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 9px;
    line-height: 10px;
}

.pollvoted {
    color: green !important;
    font-size: 9px;
}

.pollunvoted {
    color: #990000 !important;
    font-size: 9px;
}

table.miNewestContact {
    table-layout: fixed;
}

table.miNewestContact col.miLeftColumn {
    width: 50px;
}

.miNewestContact .miElementLeft img {
    height: 40px;
    width: 40px;
    vertical-align: middle;
    object-fit: contain;
}

.miContactStatsContainer .miContactStats {
    table-layout: auto;
}

table.miCallStats td.miElementRight{
    font-size: 13px;
    /*text-align: left;*/
    line-height: 10px;
}

table.miCallStats td.miElementRight .count{
    font-size: 13px;
    /*text-align: left;*/
    line-height: 10px;
}

table.miCallStats tr{
    height: 30px;
}
table.miCallStats table{
    width: 100%;
}
/*
.menuOverviewItem .miContactStats td.miElementLeft{
  font-size:38px;
  line-height:30px;
  font-weight: bold;
  color:#666;
  padding:0px 0px 4px 2px;
  vertical-align:middle;
}*/

.menuOverviewItem .miContactStats td.miElementMain {
    padding-bottom: 4px;
}

.menuOverviewItem .miContactStats td.miElementRight {
    padding: 0;
    font-size: 12px;
}

.miContactStats p.miElementMainCaption {
    line-height: 10px;
}

.miContactStats p.miElementBottomCaption {
    text-align: left;
}

.menuOverviewItem .miContactStats td.count {
    padding: 2px;
    line-height: 10px;
    white-space: nowrap;
}

.menuOverviewItem .miCustomerStats {
    table-layout: auto;
}

.menuOverviewItem .miCustomerStats td.miElementMain {
    padding: 4px 0 4px 0;
}

.miCustomerStats p.miElementBottomCaption,
.miCustomerStats p.miElementTopCaption {
}

.miCustomerStats p.miElementMainCaption {
    line-height: 10px;
}

table.miBooked {
    table-layout: fixed;
}

table.miBooked img {
    table-layout: auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

table.miBooked p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-height: 32px;
}

table.miBooked td.miElementRight {
    white-space: nowrap;
    text-align: right;
}

.menuItemContent .miTwitterContainer {
    position: relative;
    font: var(--font-small);
}

/*noinspection CssInvalidPropertyValue*/
.fade-to-transparent{
    /*noinspection CssInvalidPropertyValue ist nämlich kein Fehler*/
    -webkit-mask-image: linear-gradient(to top,rgba(0, 0, 0, 0) 8px, rgba(0, 0, 0, 1) 80px);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 8px, rgba(0, 0, 0, 1) 80px);
    height: 100%;
}
.miElementListContainer.fade-to-transparent  {
    height: 180px;
    overflow: hidden;
}

.menuItemContent .fade-to-transparent{
    height: 180px;
}

[size="2x4"] > [slot="description"] .miElementListContainer.fade-to-transparent,
[size="4x4"] > [slot="description"] .miElementListContainer.fade-to-transparent {
    height: 440px;
}

table.miTwitter {
    table-layout: auto;
}

table.miTwitter p.miElementMainCaption {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    min-height: 26px;
}

table.miTwitter p.miElementTopCaption span.feed-right-text {
    text-align: right;
    float: right;
}

table.miTwitter span.feed-left-text {
    text-align: left;
    float: left;
}

table.miTwitter p.miElementBottomCaption {
    margin-bottom: 10px;
}

div.newsFeedLinks ul.newsPopup {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
}

div.miTwitterContainer table.miTwitter p.miElementCaption.miElementTopCaption {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

fp-menu-item[size="2x4"] table.miTwitter p.miElementCaption.miElementTopCaption,
fp-menu-item[size="2x2"] table.miTwitter p.miElementCaption.miElementTopCaption,
fp-menu-item[size="2x1"] table.miTwitter p.miElementCaption.miElementTopCaption {
    flex-direction: column;
}
div.miTwitterContainer table.miTwitter p.miElementCaption.miElementTopCaption span.feed-title {
    flex: 1;
    overflow: hidden;
    font-weight: bold;
    width: 100%;
    text-overflow: ellipsis;
    line-height: 1.4;
}

div.miTwitterContainer table.miTwitter p.miElementCaption.miElementTopCaption span.feed-date {
    flex: 0;
    margin-left: 5px;
}

fp-menu-item[size="2x4"] table.miTwitter p.miElementCaption.miElementTopCaption span.feed-date,
fp-menu-item[size="2x2"] table.miTwitter p.miElementCaption.miElementTopCaption span.feed-date,
fp-menu-item[size="2x1"] table.miTwitter p.miElementCaption.miElementTopCaption span.feed-date {
    margin-left: 0;
}

div.miTwitterContainer table.miTwitter td.miElementCell.twitterUserIcon {
    vertical-align: top;
}
div.miTwitterContainer table.miTwitter td.miElementCell.twitterUserIcon img {
    vertical-align: top;
    margin-left: 0;
}

@media screen and (min-width: 1200px) {
    div.newsFeedLinks ul.newsPopup li span.jmlImageContainer img {
        height: 64px;
        width: 64px;
    }
}

fp-menu-item table.miTwitter p.miElementMainCaption {
    font: var(--font-small);
    line-height: 1;
}

table.miTwitter p.miElementBottomCaption {
    font-size: 9px;
    line-height: 9px;
    white-space: nowrap;
}

table.miTwitter td.darkBackground p.miElementCaption {
    color: #F3F3F3;
}

div.twitterPopup {
    padding: 0 10px 0 0;
    margin-bottom: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
}

fp-async-content > div.twitterPopup {
    width: 100%;
    overflow-y: hidden;
}
.twitterPopup > .miElementListContainer.fade-to-transparent.miTwitterContainer {
    height: 100%;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

.menuItemContent > .menuOverviewItemDescription .miElementListContainer.fade-to-transparent.miTwitterContainer  td.miElementCell.miElementLeft.rssFeedIcon > img {
    width: 32px;
}
 td output img.rssFeedIcon {
    width: 64px;
    height: 64px;
}

.twitterPopup table.miElementList td.miElementLeft.rssFeedIcon {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom: 1px solid #CCC;
}

.rssFeedIcon img {
    border-radius: 8px;

}

table.miElementList.miTwitter tr {
    height: auto;
}

.twitterPopup table.miElementList td.miElementMain {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: 1px solid #CCC;
}

h4.newsPopup {
    text-align: center;
    font-size: 16px;
    margin-top: 4px;
    margin-bottom: 12px;
}

ul.newsPopup {
    padding: 0;
    margin-top: 0;
}

ul.newsPopup li {
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    line-height: 32px;
    font-weight: bold;
}

ul.newsPopup li:hover {
    color: var(--color-card-header);
}

ul.newsPopup li img {
    height: 32px;
    width: 32px;
    margin-right: 4px;
    transform: scale(0.75);
    transition: transform 250ms;
}

ul.newsPopup li:hover img {
    transform: scale(1);
}

fp-sidebar ul.newsPopup li {
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    flex-basis: 15%;
}

fp-sidebar ul.newsPopup {
    display: flex;
    justify-content: space-around;
}

.tundra #helpPopupdiv.jml_formDialog .about {
    padding-left: 16px;
    color: #444;
}

table.miIssues {
    /*table-layout:auto;*/
}

table.miIssues td.miElementMain {
    vertical-align: bottom;
}

table.miIssues p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-height: 32px;
    min-height: 10px;
}

table.miFinance col.miLeftColumn {
    width: 23px;
}

table.miFinance td.miElementRight {
    text-align: right;
}

div.menudescr_calendar {
    display: block;
    margin: auto;
    width: 110px;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
}

div.menudescr_calendarday {
    background-color: rgba(100, 100, 100, 0.5);
    color: white;
    width: 110px;
    height: 20px;
    font-size: 14px;
    padding: 6px 0 0 0;
}

div.menudescr_calendardate {
    background-color: rgba(230, 230, 230, 0.75);
    font-size: 72px;
    text-align: center;
    letter-spacing: -3px;
    font-family: "Roboto", Arial, "Tahoma", sans-serif;
    width: 110px;
    height: 84px;
}

div.menudescr-calendar-month .calendarnav{
    display: none;
}


.menudescr-myworkplace {
    width: 100%;
    table-layout: fixed;
}
.menudescr-myworkplace tr:not(:first-child) h2.miElementListHeader{
    margin-top: 8px;
}
.menudescr-myworkplace td,
.menudescr-workplaceoverview td {
    padding: 0;
}
.menudescr-myworkplace td div {
    height: 20px;
    --icon-size: 16px;
    --category-color: #99999; /* wird vom server überschrieben */
    padding: 6px 4px 4px 4px;
    background-blend-mode: screen;
    background-size: cover;
    background-position: center;
    background-color: var(--category-color);
    font: var(--font-normal);
    font-weight: bold;
}
.menudescr-myworkplace td div.compact {
    font: var(--font-small);
}
.menudescr-myworkplace td[colspan="2"] div {
    font: var(--font-medium);
    font-weight: bold;
}
.menudescr-myworkplace  td[rowspan="2"] div {
    padding: 26px 4px 4px 4px;
    --resource-image-display: inline-block;
}
.menudescr-myworkplace td div .at-detail {
    --icon-size: inherit;
}
.menudescr-myworkplace td div.dark {
    color: #FFFFFF;
    /*text-shadow: 0 0 1px rgb(0,0,0), -1px -1px 2px var(--category-color, #000), 1px 1px 2px var(--category-color, #000);*/
}
.menudescr-myworkplace td div.light {
    color: #000000;
    /*text-shadow: 0 0 1px rgb(255,255,255), -1px -1px 2px var(--category-color, #FFF), 1px 1px 2px var(--category-color, #FFF);*/
}

.menudescr-myworkplace td div.dark > fp-format-entity{
    padding-right: 4px;
    background-color: var(--category-color, #000);
    border-radius: calc(var(--icon-size) / 2);
    /*text-shadow: 0 0 1px rgb(0,0,0), -1px -1px 2px var(--category-color, #000), 1px 1px 2px var(--category-color, #000);*/
}
.menudescr-myworkplace td div.light > fp-format-entity {
    padding-right: 4px;
    background-color: var(--category-color, #FFF);
    border-radius: calc(var(--icon-size) / 2);
    /*text-shadow: 0 0 1px rgb(255,255,255), -1px -1px 2px var(--category-color, #FFF), 1px 1px 2px var(--category-color, #FFF);*/
}



.menudescr-workplaceoverview {
    width: 100%;
}
.menudescr-workplaceoverview table {
    width: 100%;
    table-layout: fixed;
}
.menudescr-workplaceoverview tr:not(:first-child) h2.miElementListHeader{
    margin-top: 20px;
}
.menudescr-workplaceoverview td.occupancy {
    font-weight: bold;
}
.menudescr-workplaceoverview td div {
    --icon-size: 16px;
    padding: 6px 4px 4px 4px;
    font: var(--font-small);
    float:left;
    overflow: hidden;
}
.menudescr-workplaceoverview .error {
    color: var(--color-status-red);
}


.opres-colleagues fp-format-entity.colleague{
    --icon-size: 24px;
    padding: 0px;
    margin-right: 4px;
    margin-bottom: 10px;
    width: auto;
    font: var(--font-normal);
}
.opres-colleagues {
    margin-bottom: 8px;
}
