/**
 * Single post container.
 */
.imgw-post {
	background: $background-color;
	box-shadow:
		0 2px 2px 0 rgba(0, 0, 0, 0.14),
		0 3px 1px -2px rgba(0, 0, 0, 0.12),
		0 1px 5px 0 rgba(0, 0, 0, 0.2);
	margin: 0 0 2em 0;
	max-width: 100%;
	min-width: $min-width;
	width: $max-width;

	&__header {
		display: flex;
		padding: 1em .65em 1em 1em;
	}

	&__username {
		flex-grow: 1;
		font-weight: bold;

		a {
			color: inherit !important;
			text-decoration: none !important;
		}
	}

	&__image {

		img {
			display: block;
			width: 100%;
		}
	}

	&__info {
		padding: .65em 1em;

		a {
			color: rgba(0, 0, 0, .5) !important;
			font-size: .7em;
			text-decoration: none !important;
			text-transform: uppercase;
		}
	}

	&__content {
		line-height: 1.2em;
		padding: 0 .65em .65em 1em;
		position: relative;
	}

	&__caption {
		font-size: .9em;
		line-height: 1.2em;
		padding: 2px 0;
	}

	&__actions {
		position: relative;

		button {
			border: 0 none !important;
			color: inherit !important;
			margin: 0 !important;
			padding: 0 !important;

			&, &:hover {
				background: none !important;
				box-shadow: none !important;
			}

			.imgw-icon {
				display: block;
			}
		}
	}
}
