/*** Dashboard block Documents ***/
.documentContainer {
	display: flex;
	flex-direction: column;
	}
	.documentItem {
		display: flex;
		justify-content: space-between;
		}			
		.documentInfo {
			flex: 0 1 auto;
			width: 90%;
			}
			.documentName {
				display:flex;
				flex-wrap:nowrap;
				}
				.documentName .fa-fw {
					line-height:1.5;
					}
				.documentName a {
					display: block;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
					width:100%;
					}
		.documentAction {
			flex: 0 1 auto;
			}

.imageContainer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	}
	.imageItem {
		flex: 0 1 auto;
		width: 100%;
		max-width: calc(200px + 1em);
		display: flex;
		flex-direction: column;
		}
		.imageItem a {
			display: block;
			height: 200px;
			}

			
/* documents actions: upload, delete */
.doc_addrule b:first-child {
	margin-right: 52px;
}

.doc_addrule input {
	margin-left:13px;
}

.doc_delete {
	position: relative;
	top:-5px;
}

/* document default */
.doc_default {
	margin-left:10px;
}

/* attachements, f.e. used on invoice main block */
.attachments {
	display: flex;
	flex-wrap:wrap;
	width:100%;
	}
	.attachments_link {
		flex:0 1 auto;
		padding-right:1em;
		display:flex;
		flex-wrap:nowrap;
		max-width:100%;
		}
		.attachments_link .fa-fw {
			line-height:1.5;
			}
		.attachments_link a {
			display: block;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			width:100%;
			}