/* ************************************************************************
* File: upload.css
*
* Purpose: File upload stylesheet
*
* This file is part of a software by Jens Gienau.
* (c)1999 - 2025 year Jens Gienau / www.gienau.com / mail@gienau.com
************************************************************************ */

form label.upload-container {
	width: 100%;
	display: block;
}

form label.upload-container .preview {
	margin-top:.5rem;
	margin-bottom:1rem;
	border: 1px solid #B8B8B8;
	height:200px;
	width:200px;
	background:url(./../img/pixel.png), #F0F0F0; 
	background-repeat: no-repeat;
	background-size: contain;
	background-position:center center;
}

form label.upload-container .upload-field {
	display: block;

	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: .375rem;
	background-image: url('./../img/icon-upload-cloud.png');
	background-size: 30px 30px;
	background-repeat: no-repeat;
	background-position: 6px;
	cursor: pointer;
	overflow: hidden;
	position: relative;

}

form label.upload-container.is-invalid .upload-field {
	border-color:red;
}
form label.upload-container .upload-field .file-delete {
	text-align: center;
	position: absolute;
	bottom: 3px;
	right: 6px;
	color: #fff;
	background-color:rgba(0, 0, 0, 0.4);
	padding: 2px 4px;
	height: 26px;
	width: 26px;
	line-height: 26px;
	font-size: 14px;
	border-radius: 50%;
	display: block;
	margin: 2px;
}
form label.upload-container .upload-field .file-delete:hover {
	background-color: #e32;
}



