.attachment-list-container {
	display: flex;
	overflow: auto;
}

.attachment-list-1 {
	flex: initial;
	width: 100px;
	min-width: 80px;
}

.attachment-list-2 {
		flex: 1;
}

.attachment-list-label {
	display: inline-block;
	font-weight: bolder;
	padding: 10px 20px;
}

.attachment-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid #ccc;
	border-radius: 5px;
	background: #fff;
}

.attachment-list li {
	padding: 10px 20px;
	display: flex;
}

.attachment-list li:not(:last-child) {
	border-bottom: 1px solid #ccc;
}

.attachment-list li a {
	color: #B40404;
	font-weight: bolder;
	cursor: pointer;
}

.attachment-list li a:hover {
	text-decoration: underline;
}

.attachment-link {
	flex: 1;
}

.delete-attachment {
	color: red;
	opacity: 0.4;
	font-weight: bolder;
	cursor: pointer;
	width: 20px;
	text-align: center;
}

.delete-attachment:hover {
	opacity: 1;	
}

#attachments-list-upload-container {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-around;
	
}

#attachments-list-upload-container > .attachment-upload, 
#attachments-list-upload-container > .attachment-list-container {
	flex-basis: 50%;
	justify-content: space-around;
}

#attachments-list-upload-container > .attachment-upload {
	border-right: 1px solid #ccc;
}

#attachments-list-upload-container > .attachment-list-container > .attachment-list {
	flex-grow: 0.8;
	text-align: start;
}

#upload-progress-mask {
	display: none;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);	
	z-index: 1500;
}

#upload-progress-bar {
	position: fixed;
	top: calc(50% - 30px);
	left: 30%;
	width: 40%;
	height: 25px;
	background: #888;
	border-radius: 25px;
	padding: 10px;
}

#upload-progress-bar-content {
	display: block;
	background: #F28C41;
	height: 100%;
	width: 25%;
	border-radius: 25px;
	transition: width 0.5s;
}

#upload-progress-msg {
	display: block;
	position: absolute;
	width: 100%;
	bottom: -30px;
	color: #f0f0f0;
	font-size: 14px;
	text-align: center;	
	font-weight: bolder;
}

.view-attachment {
	width: 16px; 
	margin-left: calc(50% - 8px); 
	fill: #7479b3;
	margin-top: 3px;
}

.view-attachment:hover {
	cursor: pointer;
	fill: #000;
}