/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------                                      ----------------------------- */
/* ------------------------------     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);
}

.menuOverviewItem {
    /* ist nun grid display: inline-block;*/
    border-color: #DDD;
    border-style: solid;
    border-width: 0;
    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);
    transition: background 300ms;
}
.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 {
    margin-left: 265px;
}

.dndActive .menuOverviewItem.overRight {
    margin-right: 265px;
}

.menuOverviewItemEnabled {
    cursor: pointer;
}

.menuOverviewItem .menuItemContent {
    font-family: "Roboto", Arial, "Tahoma", sans-serif;
    font-weight: 300;
}

.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*/
}

.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: 15px;
    box-sizing: border-box;
    text-decoration: none;
    overflow: hidden;
}

.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);
}

.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;
}

.menuOverviewItem.miBack .menuOverviewItemInner .menuItemContent {
    position: relative;
    z-index: 5;
}

.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;
    background: var(--color-card-background);

}

.pfMenu.editOn .menuOverviewItemNotHidden {
    background: var(--color-card-background);
}

.pfMenu.editOn .menuOverviewItemHidden .menuOverviewItemInner {
    opacity: 0.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 th,
table.colleagues td {
    padding: 4px 2px;
}
table.colleagues td {
    height: 120px;
    vertical-align: top;
}
.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;
}

.pfNewestPostBubble {
    max-height: 70px;
    overflow: visible;
    position: relative;
}

.pfNewestPostBubble .poster {
    top: 0;
    position: absolute;
    z-index: 10;
    width: 90px;
    text-align: center;
}

.pfNewestPostBubble .poster img {
    /*max-width:64px;*/
    max-height: 64px;
    position: relative;
    background-color: #666;
}

.pfNewestPostBubble .bubble {
    min-height: 70px;
    position: relative;
    z-index: 11;
    padding-left: 60px;
    opacity: 0.75;
}

.pfNewestPostBubble .bubble .innerbubble {
    background: var(--color-shade-none);
    border: 2px solid var(--color-shade-3);
    border-radius: 10px;
    border-top-left-radius: 0;
    padding: 3px;
    max-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    line-height: 12px;
    color: var(--color-main-font);
    position: relative;
}

.pfNewestPostBubble>span.small {
    position: relative;
    top: -9px;
    opacity: 0.5;
}

.menuOverviewItem .miContentTable {
    width: 100%;
}

.menuOverviewItem .miContentTable td {
    padding: 2px;
}

h2.miElementListHeader {
    color: var(--color-secondary);
    text-align: left;
    font-size: 10px;
    line-height: 10px;
    margin: 1px 0 -1px 0;
    padding: 0 2px 0 2px;
}

table.miElementList col.miLeftColumn,
table.miElementList col.miRightColumn {
    width: 34px;
}

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.miElementList td:first-child {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    padding: 2px 0 2px 2px;
}

table.miElementList td:last-child {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    padding: 2px 4px 2px 0;
}

table.miElementList td.miElementMain:last-child {
    padding-right: 2px;
}

table.miElementList td.miElementMain:first-child {
    padding-left: 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;
    text-align: center;
    white-space: nowrap;
}

.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.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.miElementMainCaption {
    font: var(--font-normal);
    line-height: 25px;
    color: var(--color-card-font);
}

p.miElementBottomCaption {
    font: var(--font-small);
    color: var(--color-card-font);
    opacity: 0.8;
    text-align: right;
}


/* Spezialfälle */

table.miEvents col.miRightColumn {
    width: 60px;
}

table.miEvents td.miElementRight {
    font-size: 15px;
    line-height: 15px;
    text-align: right;
}

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;
    color: #000000;
    opacity: 0.4;
    padding-left: 12px;
}

table.miEventsNow tr {
    background: #ffdc80;
    /* Old browsers */
    background: -moz-linear-gradient(top, #ffeab1 0%, #ffdc80 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffeab1), color-stop(100%, #ffdc80));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ffeab1 0%, #ffdc80 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ffeab1 0%, #ffdc80 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ffeab1 0%, #ffdc80 100%);
    /* IE10+ */
    background: linear-gradient(top, #ffeab1 0%, #ffdc80 100%);
    /* W3C */
}

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 span.part {
    line-height: 24px;
    font-weight: normal;
    display: inline-block;
    width: 50px;
    padding: 0 5px 0 0;
}

table.miMyProjectsStatus .miElementCell span.part:last-child {
    padding: 0 0 0 0;
}

table.miMyProjectsStatus .miElementCell span.part img {
    margin-right: 3px;
    vertical-align: top;
    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;
}

.menuOverviewItem .miContactStats {
    table-layout: auto;
}


/*
.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);
}

.fade-to-transparent{
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
}
.miElementListContainer.fade-to-transparent  {
    height: 160px;
    overflow: hidden;
}

.menuItemContent .fade-to-transparent{
    height: 180px;
}

table.miTwitter {
    table-layout: auto;
}

table.miTwitter p.miElementMainCaption {
    font-weight: normal;
    color: var(--color-card-font);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    min-height: 26px;
}

.menuItemContent table.miTwitter p.miElementMainCaption {
    font: var(--font-small);
}

.menuItemContent table.miTwitter tr:first-child p.miElementMainCaption,
.twitterPopup table.miTwitter p.miElementMainCaption {
    font: var(--font-normal);
}
table.miTwitter p.miElementBottomCaption {
    font-size: 9px;
    line-height: 9px;
    white-space: nowrap;
}

table.miTwitter td.darkBackground p.miElementCaption {
    color: #F3F3F3;
}

div.twitterPopup {
    width: 300px;
    padding: 0 10px 0 0;
    margin-bottom: 10px;
    max-height: 320px;
    overflow: scroll;
    overflow-x: hidden;
}

table.miElementList td.miElementLeft.twitterUserIcon {
    padding: 0 4px;
}

.twitterPopup table.miElementList td.miElementLeft.twitterUserIcon {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom: 1px solid #CCC;
}

.twitterUserIcon img {
    border-radius: 8px;
}

table.miElementList.miTwitter tr {
    height: auto;
}

.miTwitter tr:first-child .miElementLeft.twitterUserIcon img,
.twitterPopup .miElementLeft.twitterUserIcon img {
    height: 48px;
    width: 48px;
}

.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 .dijitTabContainerTop-tabs {
    background: transparent;
}

fp-sidebar .dijitTabContainer {
    height: 104px;
}

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.miMyTickets {
    table-layout: auto;
}

table.miFinance {
    table-layout: auto;
}

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;
}