
.fileupload .btn{
    border-radius: 0 !important;
}

.dd-handle {
    color: #777 !important;
    border: none;
    cursor: pointer;
}

    .dd-handle:hover > .editFolder {
        color: #0088CC !important;
        background: #f6f6f6;
        display: block;
    }

.selected-folder {
    color: #0088CC !important;
    background: rgb(255 255 255);
}


.editFolder {
    display: none;
}

.filesDisplay {
    display: none !important;
}

.displayHide {
    display: none !important;
}


.menu-btn-edit {
    /* background: var(--primary-color); */
    color: var(--primary-color);
    line-height: 25px;
    padding: 0;
}

    .menu-btn-edit:hover {
        color: var(--primary-color);
        background: transparent;
        text-decoration: none;
        border-bottom: 1px solid var(--primary-color) !important;
    }

    .menu-btn-edit:focus-visible {
        outline: none;
    }

.FilesaTag {
    font-size: 14px;
    color: black !important;
    text-decoration: none;
    cursor: pointer;
}

    .FilesaTag:hover {
        text-decoration: none;
        color: #0099e6 !important;
    }

    .FilesaTag:focus {
        color: #0099e6 !important;
    }

.FilesaTagDrop {
    font-size: 12px;
    color: black !important;
    text-decoration: none;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    cursor:default;
}

    .FilesaTagDrop:hover {
        text-decoration: none;
        color: #0099e6 !important;
    }

.FilesaTag:focus {
    color: #0099e6 !important;
}

.listDisplay {
    min-width: 900px !important;
    max-width: 900px !important;
    max-height: 50px !important;
}


.Dugme {
    cursor: pointer;
    background-color: white !important;
}

.dropzone.dz-clickable .Zoombtn,
.dropzone.needsclick .Zoombtn {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 0px 5px 20px 5px;
    border: none;
    background-color: #0088cccc;
    color: white;
    visibility: hidden;
    cursor: pointer;
}

    .dropzone.dz-clickable .Zoombtn i,
    .dropzone.needsclick .Zoombtn i {
        pointer-events: none;
    }

    .image-card:hover .Zoombtn {
        visibility: visible;
    }

#tagMedia {
    margin: 0px;
    padding: 0px;
}
/* (A) LIST VIEW BY DEFAULT */
#lgDemo {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 5px;
}

    /*#lgDemo .item {
            border: 1px solid #ddd;
        }*/

    #gDemo .item:nth-child(n) {
    background: #f7f7f7;
}

/* (B) TRANSFORM INTO GRID VIEW */
#lgDemo.grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

    #lgDemo.grid img {
        width: 100px;
    }

    #lgDemo.grid .item:nth-child(n) {
        background: none;
        border: none !important;
    }

    #lgDemo.grid.grid-view {
        border: 1px solid #dbd9d9;
        border-radius: 20px !important;
        min-width: 255px;
        max-width: 255px;
        margin-right: 20px;
        margin-top: 20px;
    }

.grid .list-view-names {
    display: none;
}

.card-header-edit {
    padding: 12px;
}

.dropdown-edit {
    min-width: 7rem;
    transform: translate3d(-18px, 23px, 0px);
}

.list-view-header-edit {
    font-weight: normal;
}

    .modal-body-edit img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

.modal-img {
    width: 225px;
    max-height: 300px;
    display: none;
    margin-bottom: 10px;
}

.list-names-border {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.card-img-top {
    height: 180px;
    width: 100%;
    vertical-align: middle;
    object-fit: contain;
}

.grid-card {
    padding: 20px 0 0 0;
    box-shadow: none;
    border-radius: 20px !important;
}

.dropzone.dz-clickable .deleteOption,
.dropzone.needsclick .deleteOption {
    color: black;
    font-size: 16px;
    cursor: pointer;
}

    .dropzone.dz-clickable .deleteOption i,
    .dropzone.needsclick .deleteOption i{
        pointer-events: none;
    }

.dropzone.dz-clickable .file-chbox + label,
.dropzone.needsclick .file-chbox + label {
    cursor: pointer;
}

.grid-view-edit {
    border: 1px solid #dbd9d9;
    border-radius: 20px !important;
    padding: 15px;
    width: 100%;
}

.toolbox {
    padding: 15px;
}

.displayHide {
    height: 100%;
    min-width: 100%;
}

.icon-edit {
    font-size: 110px;
    margin-top: 12%;
}

.card-title {
    max-height: 100px;
    width: 100%;
}

.card-title-two {
    max-height: 100px;
}

.listView {
    border-bottom: 1px solid #ddd;
}

.select-button{
    height:40px;
}

/*.fileupload .uneditable-input .fileupload-preview {
    border-bottom:10px solid #dbd9d9;
     display: flex; 
     height:40px;
     float: none; 
     padding: 0 0 0 0; 
     width: 100%; 
}*/

.description {
    display: block;
    width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.image-card{
    height: 180px;
    position: relative;
}

.active-state:focus{
    color: #000;
}

#mediaGallery.grid .item.grid-view .fileDetails > p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#IconInModal {
    font-size: 110px;
}

.media-modal-size {
    --bs-modal-width: 1500px;
}


.file-list-icon {
    font-size: inherit;
    padding-right: 0.25rem !important;
}

.excel-icon {
    --fa-primary-color: #1f7044 !important;
    --fa-secondary-color: #1E3050 !important;
}

.word-icon {
    --fa-primary-color: #0057bb !important;
    --fa-secondary-color: #1E3050 !important;
}

.pdf-icon {
    --fa-primary-color: #ad0b00 !important;
    --fa-secondary-color: #1E3050 !important;
}

.powerpoint-icon {
    --fa-primary-color: #ba371b !important;
    --fa-secondary-color: #1E3050 !important;
}


.uneditable-input{
    width:185px !important;
}

.fileupload .uneditable-input .fa, .fileupload .uneditable-input .fab, .fileupload .uneditable-input .fal, .fileupload .uneditable-input .far, .fileupload .uneditable-input .fas {
    left: 10px !important;
    top: 8px !important;
}

.media-dialog-size {
    --bs-modal-width: 550px;
}

.file-checkbox{
    width: 17px;
    height: 17px;
}

.file-checkbox-all {
    width: 20px;
    height: 20px;
}

.media-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.thumb-container {
    width: 70px;
    height: 70px;
}

.folder-input {
    display: block;
    font-size: 1rem;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 0px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    width: 80%;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .folder-input:focus {
        outline: none;
    }

.item-options {
    position: absolute;
    padding: 8px 0;
    right: 0;
    top: 0;
    padding-right:3px;
    opacity: 0;
    transition: opacity 0.1s ease-in;
}


.edit-options {
    position: absolute;
    padding: 10px 0;
    right: 0;
    top: 0;
    padding-right: 3px;
    transition: opacity 0.1s ease-in;
}


.folder-row:hover .item-options {
    opacity: initial;
}

.folder-row-insert {
    color: #0088CC !important;
    background: rgb(255 255 255);
}

.gallery-backdrop {
    height: 100%;
    width: 100%;
    background-color: #00000074;
    position: absolute;
    z-index: 1;
    display: none;
}


.modal-preview {
    --bs-modal-width: 1000px;

}

.preview-btn {
    transition: transform .2s;
}

.preview-btn:hover {
    cursor: pointer;
    color: #0099e6;
}

.preview-btn-icon:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.thumb-container-2 {
    /*    width: 90px;
    height: 90px;*/
    margin-right: 10px;
    cursor: pointer;
    transform-origin: center;
}

/*.icons{
    color:initial !important;
}
*/
.primary-image {
    border: 3px solid #28a745; /* Bootstrap green */
    border-radius: 15px;
}

.set-primary-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 8px;
    right: 8px;
    background-color: #28a745 !important;
}

.media-gallery-btns:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
