/* D:\www\WebPatrimonio\css\css\gridsavancado.css */
/* Estilos gerais */
body {
    font-family: 'Segoe UI', sans-serif;
}

/* Estilos para a classe .dvContainer */
.dvContainer {
    background-color: #fafafa;
    border-radius: 5px;
    border: 2px solid #eaeaea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
    padding: 5px;
    margin: 5px;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
}

.dvContainer:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}

/* Estilos para a classe .divTitle */
.divTitle {
    font-weight: bold;
    color: #2a2a2a;
    border-bottom: 2px solid rgba(184, 207, 238, 0.8);
    margin-bottom: 5px;
    overflow-wrap: break-word;
}

/* Estilos para a classe .divTitleDocs */
.divTitleDocs {
    font-weight: bold;
    color: #8b0000;
    margin-bottom: 5px;
    font-size: 11px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Estilos para as classes .divSubTitle e .divCity */
.divSubTitle,
.divCity {
    color: #555;
    margin-bottom: 6px;
    transition: transform 0.3s ease;
}

/* Estilos para as classes .divNewClass1 e .divNewClass2 */
.divNewClass1,
.divNewClass2 {
    display: flex;
    flex: 1;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.divNewClass1:hover,
.divNewClass2:hover {
    transform: scale(1.1);
}

.divNewClass1 {
    color: #2c3e50;
    text-align: left;
}

.divNewClass2 {
    color: #c0392b;
    text-align: left;
}

/* Estilos para a classe .flexContainer */
.flexContainer {
    display: flex;
    justify-content: space-between;
}

/* Estilos para a classe .tableContent */
.tableContent {
    width: calc(100% - 20px);
    border-collapse: collapse;
}

/* Estilos para a classe .thumbnail */
.thumbnail {
    max-width: 70px;
    max-height: 70px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

/* Estilos para a classe .thumbnailCell */
.thumbnailCell {
    width: 80px;
    vertical-align: middle;
    text-align: center;
}

/* Estilos para as classes .labelDesc e .labelTemp */
.labelDesc,
.labelTemp {
    font-weight: bold;
    color: #007BFF;
    margin-right: 5px;
}

/* Estilos para a classe .fileLink */
.fileLink {
    cursor: pointer;
    text-align: center;
    padding: 4px;
}

/* Estilos para a classe .dvContainerFiles */
.dvContainerFiles {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
}

/* Estilos para a classe .divTitleFiles */
.divTitleFiles {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #0078D7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    overflow-wrap: break-word;
}

/* Estilos para a classe .flexContainerFiles */
.flexContainerFiles {
    display: flex;
    justify-content: space-between;
}

/* Estilos para as classes .divNewClass1Files e .divNewClass2Files */
.divNewClass1Files,
.divNewClass2Files {
    font-size: 12px;
    color: #555;
}

/* Estilos para a classe .icon */
.icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* Estilos para a classe .iconTitleContainer */
.iconTitleContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilos para a classe .iconAndSizeContainer */
.iconAndSizeContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilos para a classe .iconContainer */
.iconContainer {
    flex-shrink: 0;
}

/* Estilos para a classe .actionCell */
.actionCell {
    text-align: right;
    vertical-align: bottom;
    padding-top: 10px;
    overflow: visible;
}

/* Estilos para a classe .actionContainer */
.actionContainer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
    overflow: visible;
    flex-wrap: wrap;
}

.actionButton {
    background-color: transparent;
    border: none;
    color: #0078D7;
    padding: 3px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.3s ease-in-out, color 0.3s ease, font-weight 0.3s ease;
    position: relative;
    margin-right: 5px;
    border-radius: 4px;
}

.actionButton i {
    margin-right: 5px;
    font-size: 16px;
    vertical-align: middle;
}

.actionButton .iconText {
    margin-top: 0;
    text-align: left;
}

.actionButton:hover {
    transform: scale(1.1);
    color: red;
    font-weight: bold;
    border-color: #d1d1d1;
}

.actionButton img {
    vertical-align: middle;
    margin-right: 5px;
    width: 20px;
    height: 20px;
}

/* Estilos para a classe .iconText */
.iconText {
    display: block;
    text-align: center;
    margin-top: 5px;
}

/* Estilos para a classe .labelEsquerda */
.labelEsquerda {
    font-weight: bold;
    color: #007BFF;
    margin-right: 5px;
    text-align: left;
}

/* Estilos para a classe .show-more-link */
.show-more-link {
    display: inline-block;
    padding: 3px 8px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.show-more-link:hover {
    background-color: #0056b3;
}

/* Estilos para a classe .custom-splitter-grip */
.custom-splitter-grip {
    background: url('img/grip.png') no-repeat center center;
    background-size: 16px 16px;
    cursor: pointer;
}

/* Estilos para a classe .zoom-effect */
.zoom-effect {
    transition: transform 0.5s ease;
}

.zoom-effect:hover {
    transform: scale(1.2);
}

/* Estilos para as classes .borderedColumn e .borderedRow */
.borderedColumn {
    border: 2px solid rgba(184, 207, 238, 0.8);
}

.borderedRow {
    border-bottom: 2px solid rgba(184, 207, 238, 0.8);
}

/* START TOOLTIP STYLES */
[tooltip] {
    position: relative;
}

[tooltip]::before,
[tooltip]::after {
    text-transform: none;
    font-size: .9em;
    line-height: 1.2;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
    z-index: 1000;
}

[tooltip]::before {
    content: '';
    border: 5px solid transparent;
    z-index: 1001;
}

[tooltip]::after {
    content: attr(tooltip);
    font-family: Helvetica, sans-serif;
    text-align: left;
    min-width: 150px;
    max-width: 300px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1ch 1.5ch;
    border-radius: .3ch;
    box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
    background: #333;
    color: #fff;
}

[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #333;
    right: calc(100% + 5px);
    transform: translateY(-50%);
}

[tooltip][flow^="left"]::after {
    top: 50%;
    right: calc(100% + 10px);
    transform: translateY(-50%);
}

/* FLOW: UP */
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-top-color: #333;
    border-bottom-width: 0;
    left: 50%;
    transform: translateX(-50%);
}

[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
}

/* Animation */
@keyframes tooltips-horz {
    to {
        opacity: .9;
        transform: translateY(-50%);
    }
}

@keyframes tooltips-vert {
    to {
        opacity: .9;
        transform: translate(-50%, 0);
    }
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after {
    animation: tooltips-horz 300ms ease-out forwards;
}

[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after {
    animation: tooltips-vert 300ms ease-out forwards;
}

/* Ensure tooltip container doesn't affect layout */
.actionButton {
    position: relative;
}

.card-text {
    font-size: 12px !important; /* Garante que a fonte seja de 12px */
    color: #6c757d !important; /* Garante que a cor do texto seja aplicada */
    margin-bottom: 0 !important; /* Garante que não haja margem inferior */
}

.card-text small {
    font-size: inherit !important; /* Garante que o elemento <small> herde o tamanho de fonte de 12px */
    color: inherit !important; /* Garante que a cor do texto seja herdada */
}