.file {display:none;}
.imgSize{border:1px solid #afa9a9; padding:0px 5px; background:#ddd; position:absolute; top:2px; left:2px; opacity:0.8; font-size:11px;}
.addfile2{position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); z-index:1; width:100%; text-align:center;}
.delfile2{position:absolute; top:2px; right:2px; z-index:1; display:none; width:22px; cursor:pointer;}
.previewboxB{width:245px; height:245px; position:relative; border:1px solid #ddd; text-align:center;}
.previewboxSP{display:inline-block; float:left; margin-left:2px; width:calc(100% - 250px);}
.previewboxS{float:left; width:117px; height:117px; position:relative; margin-left:2px; border:1px solid #ddd; text-align:center; background-color:#fff !important;}
.previewboxB .preview{width:245px; height:245px; display:none;}
.previewboxS .preview{width:117px; height:117px; display:none;}

.producttable img {
	-webkit-user-drag:none;
	-khtml-user-drag:none;
	-moz-user-drag:none;
	-o-user-drag:none;
	user-drag:none;
}

.previewboxS:first-child, .previewboxS:nth-child(11){margin-left:0;}

.previewboxS{
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-khtml-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
}

#blackbg{display:none; background:rgb(76 76 76 / 68%); position:fixed; top:0; left:0; width:100%; height:100%; z-index:2;}
#previewPop{display:none; box-shadow:rgb(66, 64, 64) 1px 1px 10px; position:fixed; /*top:50%; left:50%; transform:translate(-50%, -50%);*/ background:#fff; min-width:45px; min-height:45px; z-index:2; border-radius:10px; padding:10px;}
#imgbox{max-height:90vh; overflow-y:scroll;}
#imgbox img{max-width:80vw;}
#closeBtnbox{text-align:center; margin-top:10px;}
#closeBtnbox input[type=button]{
	cursor:pointer;
	border:0;
	padding:5px 20px;
	color:white;
	background:#000000;
	vertical-align:middle;
	outline:0;
}

#previewPop #imgbox::-webkit-scrollbar {
	width:5px;
	height:10px;
}
#previewPop #imgbox::-webkit-scrollbar-thumb {
	background-color:#333;
	width:20px;
	border-radius:8px;
}
#previewPop #imgbox::-webkit-scrollbar-track {
	background-color:#ddd;
	border-radius:5px;
}