.fileinput-button {
    position: relative;
    overflow: hidden;
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: "alpha(opacity=0)";
    font-size: 200px;
    direction: ltr;
    cursor: pointer;
}
.thumb {
    height: 100%;
    width: 100%;
    border: 1px dotted #000;
}

ul.thumb-Images li {
    width: 150px;
    /*float: left;*/
    display: inline-block;
    vertical-align: top;
    /*height: 120px;*/
}

.img-wrap {
    position: relative;
    display: inline-block;
    font-size: 0;
    margin: 10px;
}

.img-wrap .close {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 100;
    background-color: #d0e5f5;
    padding: 5px 2px 2px;
    color: #000;
    font-weight: bolder;
    cursor: pointer;
    opacity: 0.5;
    font-size: 23px;
    line-height: 10px;
    border-radius: 50%;
}

.img-wrap:hover .close {
    opacity: 1;
    background-color: #ff0000;
}

.FileNameCaptionStyle {
    font-size: 12px;
}
#Filelist{
    display: flex;
    margin: 2%;
    width: 96%;
    height: 200px;
    background-color: #fff8f8;
    border: 3px dotted #000;
}
#Filelist p {
    text-align: center;
    margin: auto;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    /* Estilos adicionales para centrar el loader */
    display: none;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    /* Animación de desvanecimiento */
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
.loader.hide {
    opacity: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

