﻿
div.kSU_FileTableContainer.tableContainer {
    margin: 10px 0 0;
    width: 100%;
}
.kSU_ResumeUpload p span {
    display: inline-block;
    font-size: 13px !important;
    min-width: 130px;
    text-shadow: none;
}
div.kSU_ResumeUpload {
    background-color: white;
}
.kSU_FileTableContainer {
    border: 1px solid rgb(165, 165, 165);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}
.kSU_ResumeUpload {
    border: 1px solid rgb(165, 165, 165);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 0 0 10px;
    padding: 0px 5px;
    border-radius: 5px;
}
.kSU_dialog .ui-dialog-titlebar {
    display: none;
}
.bold {
    font-weight: bolder;
}
.kSU_Logo {
    background-image: url("images/upload.png");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: inline-block;
    float: left;
    height: 60px;
    margin-right: 35px;
    width: 60px;
    margin-top:7px;
}
.ui-progressbar .ui-progressbar-value {
    max-width: 100%;
}
.ui-progressbar {
    height: 30px;
}
.kSU_FileTable td {
    padding: 5px 5px;
}

.divFiletableBody {
    max-height: 263px;
    overflow-y: scroll;
}
div.kSU_FileTableContainer td, div.kSU_FileTableContainer th, div.kSU_FileTableContainer td div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 25%;
}
div.divFiletableHead {
    padding-right: 16px;
}
td.error {
    color: red;
    cursor: pointer;
}
.kSU_FileTable.filetableBody > tbody {
    text-align: center;
}
table.kSU_FileTable{
    width: 100%;
}
table.filetableHead th {
    text-shadow: none;
}
div.kSimpleUpload div.full-width button.ui-button {
    height: 200px;
    margin: 20px auto 20px 25%;
    width: 50%;
}
div.kSimpleUpload div.full-width button.ui-button span.ui-button-text {
    color: #222;
    font-size: 20px !important;
}
table.filetableHead {
    height: 20px;
}
div.queueimage {
    background-image: url("../../xCSS/images/Gif-loader3.gif");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    height: 16px;
    width: 100% !important;
}
table.kSU_FileTable {
    table-layout: fixed;
}

.image-gallery {
    width: 100%;
    height: 100%;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    width: 100%;
    margin:0 auto;
    height: 100%;
    overflow: hidden;
    line-height: 20px;
    background-color: whitesmoke;
    padding: 5px;
    border-radius:5px;
}
.gallery-item:hover {
    background-color: #FFF0D6;
}
.gallery-item > div{
    padding-left:5px;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .gallery-item img:hover {
            /*transform: scale(1.1);*/
        }

.delete-btn, .download-btn {
    position: absolute;
    right: 5px;
    padding: 5px;
    border: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background-position:2px;
    background-size:16px;
    background-repeat: no-repeat;
}
.delete-btn {
    top: 5px;
    background-image: url('/xCSS/images/delete.png');
}
.download-btn {
    top: 25px;
    background-image: url('/xCSS/images/icone-descargar.png');
}

.gallery-item:hover .delete-btn {
    display: block;
}

.view-options {
    display: flex;
    min-width: 100px;
}

.view-options div {
    background-repeat: no-repeat;
    background-size: 16px 16px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 5px;
    filter: brightness(0) saturate(100%) invert(73%) sepia(2%) saturate(12%) hue-rotate(48deg) brightness(107%) contrast(88%);
}

.grid-view {
    background-image: url('./images/grid-view.png');
}
.grid-view.active-view {
    background-image: url('./images/grid-view-active.png');
}

.row-view {
    background-image: url('./images/list-view.png');
}
.row-view.active-view {
    background-image: url('./images/list-view-active.png');
}

.column-view {
    background-image: url('./images/list-view.png');
    transform: rotate(90deg);
}
.column-view.active-view {
    background-image: url('./images/list-view-active.png');
    transform: rotate(90deg);
}

span.gallery-title {
    flex: 1;
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: underline;
}


.overlay {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}
.overlay .overlayContent {
    padding: 3em;
    width: fit-content;
    margin: 0 auto;
}
.overlay .overlayContent .text_plain{
    background-color:#d4d4d4;
    width: fit-content;
    margin:0 auto;
}
.overlay .overlayContent.object,
.overlay .overlayContent.object object {
    width: 100%;
    height: 100%;
}
.overlay .overlayContent.text_plain object {
    background-color: #d4d4d4;
}
.overlay .overlayContent.image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.overlay .overlayContent.image img {
    background-color:#d4d4d491;
}

.overlay .close {
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.containergalleryitem {
    padding: 0 0 2px 2px;
    flex: 1;
}

.containergalleryitem.active-option-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.containergalleryitem.active-option-row-view {
    display: block;
}

.containergalleryitem.active-option-row-view .gallery-item:not(:last-child),
.containergalleryitem.active-option-column-view .gallery-item:not(:last-child) {
    /*border-bottom: 1px dashed #898686;*/
    margin-bottom: 5px;
}
.containergalleryitem.active-option-row-view .gallery-item-img {
    display: none;
}
.active-option-row-view .gallery-item-UserName, .active-option-row-view .gallery-item-DueDate .label {
    width: 50%;
    display: inline-block;
    text-align: right;
    margin-right: 5%;
}
.active-option-row-view .gallery-item-CreateDate{
    width:40%;
    display:inline-block;
}
.gallery-item-name {
    font-weight: bold;
}
.gallery-item-name .label{
    font-weight:normal;
}
.active-option-row-view .label {
    display: none;
}
.active-option-row-view .gallery-item-DueDate .label{
    margin-right: 6%;
}
.containergalleryitem.active-option-column-view {
    display: flex;
    flex-direction: column;
}

.containergalleryitem.active-option-column-view .gallery-item-header {
    width: 70%;
}

.containergalleryitem.active-option-column-view .gallery-item-img {
    width: 24%;
    text-align:center;
}

.containergalleryitem.active-option-column-view .gallery-item > [class^="gallery-item"] {
    display: inline-block;
    vertical-align: middle;
}

.containergalleryitem.active-option-column-view .gallery-item-img img {
    width: fit-content;
}
.containergalleryitem.active-option-grid-view{
    padding: 0 0 2px 2px;
}

.containergalleryitem.active-option-grid-view span.label {
    display: none;
}
.containergalleryitem.active-option-grid-view .gallery-item-img {
    padding-right: 5px;
    padding-bottom: 20px;
    padding-top: 5px;
}
.containergalleryitem.active-option-grid-view .gallery-item-img .image {
    width: 50%;
    text-align: center;
    display: inline-block;
    margin: 0 25%;
}
.active-option-grid-view .gallery-item-DueDate {
    position: absolute;
    bottom: 0;
}
.gallery-item-DueDate.expiredDueDate,
.gallery-item-DueDate.closeExpireDueDate{
    font-weight:bold;
}
.gallery-item-DueDate.expiredDueDate {
    color: red;
}
.gallery-item-DueDate.closeExpireDueDate {
    color: #f29a2a;
}

/* div.containergalleryitem:empty::after {
  content: "Sin imagen";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
} */
div.containergalleryitem:empty {
    /* position: relative; */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("../../xCSS/images/svg/no-image.svg");
}