.content {
    background: #fff;
    height: 100%;
    padding: 0 5px 40px 5px;
    /*position: relative;*/
}
.upload-wrap {
    display: flex;
    height: calc(100vh - 10px);
    width: 100%;
    position: relative;
}
#imgfolder, #upload-content {
    overflow: auto;
}

#foldertree {
    position: relative;
    left: -18px;
    top: -12px;
}
#foldertree span.folder.select {
    color:red
}

.imgfolder {
    background: #fff;
    width: 200px;
}
.imgfolder::-webkit-scrollbar {
    width: 6px; /* Width of the scrollbar */
}

.imgfolder::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
}

.imgfolder::-webkit-scrollbar-thumb {
    background-color: #888;
    border: 1px solid #f1f1f1;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}

.imgfolder::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Thumb color on hover */
}

.resize-handle {
    width: 4px;
    background-color: #ecebeb;
    cursor: ew-resize;
}
#upload-content {
    width: calc(100% - 200px);
    flex-grow: 1;
    background-color: #ecebeb;
    overflow: auto;
}
#upload-content::-webkit-scrollbar {
    width: 6px; /* Width of the scrollbar */
}

#upload-content::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
}

#upload-content::-webkit-scrollbar-thumb {
    background-color: #888;
    border: 1px solid #f1f1f1;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}

#upload-content::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Thumb color on hover */
}
#imgfolder, #upload-content {
    overflow: auto;
}
.filebrowse {
    background: #f5f5f5;
    height: 100%;
    overflow: auto;
}

#imglist {
    padding: 5px 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.imgcontent:first-child {
    margin-left: -10px;
}
.imgcontent {
    background: #fff;
    border: 2px solid #eaeaea;
    color: #666;
    cursor: pointer;
    line-height: 16px;
    margin-bottom: 2px;
 
    padding: 5px;
    text-align: center;
    width: 112px;
    position: relative;
    z-index: 10;

}
#imglist .imgcontent:nth-child(2n) {
    background: #fbfbfb;
}
.imgsel, .imgtempsel {
    background: #fd8 !important;
    border-color: #fb0;
    color: #333;
}
.imgIcon {
    width: 100px;
    height: 86px;
    display: table-cell;
    vertical-align: middle;
}
.imgInfo {
    font-size: 10px;
    line-height: 12px;
    height: 30px;
}
.imgInfo .nameSort {
    display: block;
}

.imgInfo .nameLong, .imgInfo .update {
    display: none;
}

/* Preview image */

#imgpreview {
    overflow: auto;
    display: none;
    text-align: center;
}

#imgpreview .file-title {
    font-weight: bold;
}

#imgpreview .file-content {
    margin: 10px 0;
}

#imgpreview .file-content img {
    border: 2px #dadada solid;
}

#imgpreview .file-detail {
    font-size: 11px;
}

#fileView.zoomin img {
    cursor: zoom-in;
}

#fileInfoLink label {
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 70%);
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease-out;
}
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.expand-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: white;
    max-height: 100vh;
    overflow-y: auto;
    height: auto;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform .5s ease, opacity .5s ease;
}
.expand-box.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.expand-box .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #fff;
}
 
.expand-fullbox {
    position: fixed;
    top: 0;
    left: 0;
    transform: scale(0);
    background-color: white;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transition: transform .5s ease,opacity .5s ease
}

.expand-fullbox.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto
}

.expand-fullbox .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #fff
}

#expand-fullbox {
    overflow: hidden
}


#boxContent {
    overflow-x: hidden;

}
.reviewfile {
	text-align:center
}
/* .reviewfile img{
	width:100%;
	height:100%;
} */
.upload-hide {
    display: none;
}
.fixpagination {
    width: 100%;
    clear: both;
    display: block;
    position: relative;
    z-index: 10;
}
#boxceatefolder {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100vh;
    height: 100%;
    width: 100%;
} 
#imglist.view-detail {
    display: block !important;
}
.view-detail .imgcontent:first-child {
    margin-left: 0px;
}
.view-detail .imgcontent {
    background: #fff;
    border: 0;
    border-bottom: 1px #eaeaea solid;
    color: #666;
    cursor: pointer;
    float: none;
    height: 30px;
    line-height: 30px;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 0 10px;
    text-align: left;
    width: 100%;
    overflow: hidden;
    display: block;
}
.view-detail .imgIcon {
    width: 40px;
    height: 30px;
    display: inherit;
    vertical-align: middle;
    float: left;
}
.view-detail .imgInfo {
    font-size: inherit;
    line-height: 12px;
    height: 30px;
    line-height: 30px;
	display: flow-root;
}
.view-detail .imgInfo .nameLong {
    display: block;
    width: 300px;
	overflow: hidden;
}
.view-detail .imgInfo span {
    float: left;
}
.view-detail .imgInfo .filesize{
	padding-left: 30px;
}
.view-detail .imgInfo .nameSort {
    display:none
}
.view-detail .imgInfo .nameLong, .view-detail .imgInfo .update {
    display:block
}
.view-detail img.previewimg, .view-detail img.previewfolder {
    background: #fff !important;
    border: 0 !important;
    width: 30px !important;
    height: auto !important;
    padding: 2px;
}

@media screen and (max-width: 424.98px) 
{
	.upload-wrap{
		display: block;
		
	}
	.resize-handle{
		display: block;
		
	}
	#imgfolder, #upload-content{
		width:100%;
	}
}

/* .df-sheet .df-page:before { opacity: 0.5;}section.linkAnnotation a, a.linkAnnotation, .buttonWidgetAnnotation a, a.customLinkAnnotation, .customHtmlAnnotation, .customVideoAnnotation, a.df-autolink{background-color: #ff0; opacity: 0.2;} */
/* section.linkAnnotation a:hover, a.linkAnnotation:hover, .buttonWidgetAnnotation a:hover, a.customLinkAnnotation:hover, .customHtmlAnnotation:hover, .customVideoAnnotation:hover, a.df-autolink:hover{background-color: #2196F3; opacity: 0.5;}.df-icon-play-popup:before{background-color: rgb(51,133,209);} */
/* .df-icon-play-popup:before{color: #fff;}.df-lightbox-bg{opacity: .8;} */
/* .df-lightbox-wrapper .df-bg {background-color: transparent;} */
/* .df-container.df-transparent.df-fullscreen{background-color: #eee;}  */

