/* Buttons */
.meerknop a {
    float: right;
    margin-right: 7px;
    margin-bottom: 5px;
}

/* Additional Information */
.meerinfo {
    padding: 25px 35px 35px;
    background: #f7f7f7;
}
.meerinfo div a.first {
    margin: 5px 0px 20px;
}
.meerinfo p {
    margin: 0 0 30px;
}

/* FOLDERS */
.pagelist.sortableList {
    margin-left: -5px;
    margin-right: -5px;
}
.desco-folders {
    text-align: center;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 5px; /* Add padding between columns */
}

.desco-folders .image-block {
    border: none;
    border-radius: 0;
    padding: 0;
    transition: all 0.2s ease-in-out 0s;
}

.desco-folders .image-block img {
    width: 100%;
    max-height: 100%;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 30%);
}

.desco-folders .textcont {
    width: 100%;
}

/* Image and Thumbnail Styling */
#rz-simple-list_detail .featured img {
    height: auto;
    max-height: 400px;
    margin-bottom: 40px;
}

#rz-simple-list_detail .col-sm-5 {
    padding-left: 45px;
}

/* Video Embed Container */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    z-index: 1;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Header Styles */
#rz-oc-ifoldlist h2 {
    margin-top: 0;
    margin-bottom: 25px;
}
#rz-oc-ifoldlist h2.modal-title {
    margin-top: 0;
}

/* Thumbnail Styles */
#rz-oc-ifoldlist .thumbnail {
    margin-bottom: 0;
}
#rz-oc-ifoldlist .thumbnail > img,
#rz-oc-ifoldlist .thumbnail a > img {
    margin: 0 8px 0 0px;
}

/* Image Block Styles */
#rz-oc-ifoldlist .image-block {
    border: none;
    border-radius: 0;
    padding: 0 0 10px 0;
    transition: all 0.2s ease-in-out 0s;
}

/* List Item Styles */
#rz-oc-ifoldlist .listitem.desco-folders {
    padding: 0 10px; /* Add padding between columns */
}

/* Image Overlay and Hover */
#rz-oc-ifoldlist .image-block a .image-hover {
    display: inline;
    opacity: 0;
    position: absolute;
}

#rz-oc-ifoldlist .image-block a .image-overlay {
    display: inline;
    opacity: 1;
    text-align: center;
    position: absolute;
    background-color: rgba(0, 41, 83, 0.13);
    color: #ffffffab;
    width: 100%;
    height: 100%;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0);
    top: 0;
    left: 0;
}
#rz-oc-ifoldlist .image-overlay span {
    top: 50%;
    position: absolute;
    left: 45%;
    transform: translateY(-50%);
}

/* Image Styles within the Image Block */
.desco-folders .image-block img {
    width: 100%; /* Allow the image to scale within the column */
    max-height: 100%; /* Ensure the image respects the column height */
    box-shadow: 3px 3px 10px rgb(0 0 0 / 30%);
}

/* Video Modal Styling */
@media (min-width: 768px) {
    #videoModal .modal-dialog {
        width: 700px;
    }
    #videoModal .modal-body {
        padding: 25px;
    }
}

/* Image Overlay Icon Size for Different Screen Sizes */
@media (min-width: 768px) {
    #rz-oc-ifoldlist .image-overlay span:after {
        content: "\e635";
        font-family: 'descoico';
        font-size: 5em;
    }
}
@media (min-width: 1200px) {
    #rz-oc-ifoldlist .image-overlay span:after {
        content: "\e635";
        font-family: 'descoico';
        font-size: 8em;
    }
}

/* Maximum Height for Small Devices */
@media only screen and (max-device-width: 896px) {
    #rz-oc-ifoldlist .image-block {
        max-height: 100%;
    }
}

/* Spinner - Loader */
#rz-oc-ifoldlist .spinnerContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0 auto;
    z-index: 5000;
    display: none;
    background-color: #f5f5f5d1;
}

.spinner {
    position: absolute;
    left: 50vw;
    top: 50vw;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, 0.15);
    border-right: 6px solid rgba(0, 174, 239, 0.15);
    border-bottom: 6px solid rgba(0, 174, 239, 0.15);
    border-top: 6px solid rgba(0, 174, 239, 0.8);
    border-radius: 100%;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}


/* Media Queries for Responsive Grid Layout */
@media (min-width: 768px) {
    .sortableList {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
        gap: 10px; /* Adjust the gap between columns */
    }
}

@media (min-width: 992px) {
    .sortableList {
        grid-template-columns: repeat(3, 1fr); /* Three columns on large screens */
    }
}

@media (min-width: 1200px) {
    .sortableList {
        grid-template-columns: repeat(4, 1fr); /* Four columns on extra-large screens */
    }
}

@media (min-width: 1400px) {
    .sortableList {
        grid-template-columns: repeat(5, 1fr); /* Five columns on extra-extra-large screens */
    }
}
.sortableList::before {
    content: none; /* Clear content */
    display: none; /* Hide the pseudo-element */
    /* Reset other properties as needed */
}
