#projekt-app .tabs {
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
	margin-bottom: 1.5rem;
}

#projekt-app .tabs ul {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    justify-content: flex-start;
	
}

#projekt-app ul {
    list-style: none;
	margin-left: 0px;
}

#projekt-app .tabs.is-boxed li.is-active a {
    background-color: #fff;
    border-color: #dbdbdb;
    border-bottom-color: transparent !important;
}

#projekt-app .tabs li.is-active a {
    border-bottom-color: #485fc7;
    color: #485fc7;
}

#projekt-app .tabs.is-boxed a {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

#projekt-app .tabs a {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #4a4a4a;
    display: flex;
    justify-content: center;
    margin-bottom: -1px;
    padding: .5em 1em;
    vertical-align: top;
}

#projekt-app .box {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
    color: #4a4a4a;
    display: block;
    padding: 1.25rem;
}

#projekt-upload-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#projekt-upload-list .media {
    align-items: flex-start;
    display: flex;
    text-align: inherit;
}

#projekt-upload-list .media-left {
    margin-right: 2rem;
}

#projekt-upload-list .media-left, .media-right {
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
}

#projekt-upload-list .media-content {
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    text-align: inherit;
}

#projekt-app .pagination {
    margin-bottom: 0;
    margin-top: 0;
	align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
	font-size: 1rem;
    margin: -.25rem;
}

#projekt-app .pagination-link.is-current {
    background-color: #485fc7;
    border-color: #485fc7;
    color: #fff;
}

#projekt-app .pagination-link {
	display: block;
    color: #363636;
    min-width: 2.5em;
	border: 1px solid #dbdbdb;
    border-radius: 4px;
}

#projekt-app .pagination-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

#myplugin-toast-container {
    position: fixed;
    top: 40px; /* Etwas tiefer */
    right: 20px;
    z-index: 99999;
}
.myplugin-toast {
    padding: 12px 18px;
    margin-top: 12px;
    border-radius: 6px;
    font-weight: 500;
    color: #fff;
    opacity: 0.95;
    animation: fadeout 4s forwards;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.myplugin-toast.success {
    background-color: #28a745; /* Grün */
}
.myplugin-toast.error {
    background-color: #dc3545; /* Rot */
}
.no-hover:hover {
    background: inherit !important;
    border-color: inherit !important;
    color: inherit !important;
    cursor: not-allowed !important;
}
@keyframes fadeout {
    0% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

.clamped-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* Show 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
.expanded-description {
    -webkit-line-clamp: unset;
    max-height: none;
}

.pdf-wrapper {
    width: 64px;
    height: 64px;
    overflow: hidden;
    position: relative;
  }
  
  .pdf-wrapper embed {
    width: 300px;            
    height: 400px;           
    transform: scale(0.20);  
    transform-origin: top left;
    pointer-events: none;    
    border: none;
    display: block;
    position: absolute;
    top: -12px;              
    left: 0;
  }