@mixin card() {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
}

@mixin wp-post-image() {
	img {
		max-width: 100%;
		height: auto;

		&.alignright {
			padding: 4px;
			margin: 0 0 2px 7px;
			display: inline;
		}

		&.alignleft {
			padding: 4px;
			margin: 0 7px 2px 0;
			display: inline;
		}

		&.centered {
			display: block;
			margin-left: auto;
			margin-right: auto;
		}
	}
	.aligncenter {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.alignright {
		float: right;
	}
	.alignleft {
		float: left;
	}
	.wp-caption {
		max-width: 100%;
	}
}

@mixin alert() {
	border: 1px solid transparent;
	padding: 10px;
	border-radius: $border-radius;
}

@mixin alert-warning() {
	@include alert();
	background-color: #FFFDE4;
	border-color: #F6E8A1;
	color: #A37731;
}

@mixin account-box() {
	background-color: #FFF !important;
	padding: 20px;
	overflow: hidden;
	border-radius: $border-radius;
	@media (min-width: 992px) {
		-webkit-box-shadow: 0 12px 12px 0 hsla(0, 0%, 71%, .11);
		box-shadow: 0 12px 12px 0 hsla(0, 0%, 71%, .11);
		border: 1px solid #ececec;
	}
	@media (max-width: 992px) {
		-webkit-box-shadow: 0 12px 12px 0 hsla(0, 0%, 71%, .11);
		box-shadow: 0 12px 12px 0 hsla(0, 0%, 71%, .11);
	}
}

@mixin box() {
	background-color: #FFF;
	-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .03);
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .03);
	border: 1px solid #E4E4E4;
	padding: 15px;
}