﻿
.text-ellipsis {
    display: inline-block; /* Permite aplicar largura e overflow corretamente */
    max-width: 300px; /* Defina um tamanho máximo */
    white-space: nowrap; /* Evita quebra de linha */
    overflow: hidden; /* Esconde o texto excedente */
    text-overflow: ellipsis; /* Adiciona reticências (...) */
    vertical-align: middle; /* Alinha corretamente com o texto vizinho */
}

.miniatura {
    width: 100%; /* ou o tamanho desejado */
    max-height: 100px; /* Defina a altura do espaço disponível */
    position: relative; /* Para posicionamento relativo */
    overflow: hidden; /* Corta o excesso da imagem */
}

    .miniatura img {
        width: 100%; /* Ajusta a largura da imagem */
        height: 100%; /* Ajusta a altura */
        object-fit: cover; /* Preenche o espaço sem distorcer */
    }

.accordion {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.accordion-item {
    flex-grow: 1;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
}

.accordion-header {
    background: #3498db;
    color: white;
    padding: 10px;
    cursor: pointer;
    text-align: center;
}

.accordion-content {
    flex-grow: 1;
    display: none;
    padding: 20px;
    background: #f1f1f1;
}

.accordion-item.active .accordion-content {
    display: flex;
}

.layout-sub-menu {
    position: fixed;
    left: 100px;
    top: 0;
    height: 100vh;
    width: 300px;
    z-index: 999;
    border-left: 1px solid #eee;
}

.layout-config {
    position: fixed;
    left: 400px;
    top: 0;
    height: 100vh;
    z-index: 999;
    border-left: 1px solid #eee;
}

.p-ementa {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    line-break: anywhere;
}

.select-multiple{
    padding-right: 0 !important;
}
 
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

.dropdown-menu {
    z-index: 1051 !important;
}

.offcanvas-end{
    width: 50%;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.watermark {
    position: absolute;
    top: 50px;
    left: 50px;
    opacity: 0.3; /* ajuste conforme necessário */
    pointer-events: none; /* para evitar seleção de texto */
}

.vscomp-ele {
    max-width: 100%;
}
.vscomp-toggle-button {
    align-items: center;
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    position: relative;
    width: 100%;
}

.vscomp-wrapper.has-clear-button .vscomp-toggle-button {
    padding-right: 0;
}

.vscomp-wrapper.focused .vscomp-toggle-button, .vscomp-wrapper:focus .vscomp-toggle-button {
    box-shadow: none;
}

.badge-notifications {
    top: 0.5rem;
    padding: 0.2rem 0.4rem;
}

.badge.badge-notifications:not(.badge-dot) {
    
    font-size: .7rem;
    line-height: .75rem;
}

.badge.badge-notifications {
    position: absolute;
    top: auto;
    display: inline-block;
    margin: 0;
    transform: translate(-50%, -30%);
}

.card-item .card-item-dropdown {
    display: none;
    position: absolute;
    right: .75rem;
    cursor: pointer
}

.kanban-item .card-item-dropdown .dropdown-toggle:after {
    display: none
}

.card-item:hover {
    box-shadow: rgba(0,0,0,.1) 0 4px 20px 0
}

.card-item:hover .card-item-dropdown {
    display: block
}

.card-item .card-item-dropdown .dropdown-toggle:after {
    display: none
}

.card-item.gu-mirror .card-item-dropdown .dropdown-toggle:after {
    display: none
}

.popover {
    max-width: 100%; /* Max Width of the popover (depending on the container!) */
}

.card-item has-prazo {
    border-block-start: 5px solid red;
}
.w-65 {
    width: 65%;
}
.w-35{
    width: 35%;
}
