.storage-header {
	margin-bottom: 32px;
}

.storage-attachments {
	margin-bottom: 20px;
	flex-grow: 1;
	overflow-y: auto;
}

.storage-attachment {
	padding: 10px 15px;
	border-radius: 10px;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}

.storage-attachment:hover {
    background: #f7f7f7;
}

/* FILE ICON */

.attachment-icon {
	display: block;
	width: 44px;
	height: 44px;
	margin-right: 15px;
	background-image: url(/common/images/extensions/unknown.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;	
}

.attachment-icon[data-ext="pdf"] {
	background-image: url(/common/images/extensions/pdf.png);
}

.attachment-icon[data-ext="doc"], .attachment-icon[data-ext="docx"] {
	background-image: url(/common/images/extensions/doc.png);
}

.attachment-icon[data-ext="xls"], .attachment-icon[data-ext="xlsx"] {
	background-image: url(/common/images/extensions/xls.png);
}

.attachment-icon[data-ext="ppt"], .attachment-icon[data-ext="pptx"] {
	background-image: url(/common/images/extensions/ppt.png);
}

.attachment-icon[data-ext="png"] {
	background-image: url(/common/images/extensions/png.png);
}

.attachment-icon[data-ext="jpg"], .attachment-icon[data-ext="jpeg"] {
	background-image: url(/common/images/extensions/jpg.png);
}

.attachment-icon[data-ext="zip"] {
	background-image: url(/common/images/extensions/zip.png);
}

.attachment-icon[data-ext="html"] {
	background-image: url(/common/images/extensions/html.png);
}

/* ATTACHMENT LINK CONTAINER */

.attachment-link-container {
	flex-grow: 1;
}

.attachment-link {
	max-width: max-content;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
    text-decoration: none;
    color: #000;
}

/* ATTACHMENT METADATA CONTAINER */

.attachment-title {
    font-weight: bold;
    font-size: 18px;
}

.attachment-size {
    font-size: 14px;
}

/* ATTACHMENT ACTIONS */

.attachment-action-icon {
    width: 32px;
    height: 32px;
    margin: 8px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;    
}

.attachment-action-icon:hover {
	cursor: pointer;
}

.download-icon {
    background-image: url(/common/images/icons/download.svg);
}

.open-in-browser-icon {
    background-image: url(/common/images/icons/open-in-browser.svg);
}

.delete-icon {
    background-image: url(/common/images/icons/delete.svg);
}

/* LINK ATTACHMENT */

.attach-link-row {
    margin-bottom: 16px;
}

/* STORAGE BUTTONS */

.storage-buttons {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.storage-buttons button {
    margin: 5px;
    width: 200px;
}